diff --git a/assets/build/api/docs.jsonopenapi.json b/assets/build/api/docs.jsonopenapi.json index aa4f43c370..9160b7c2ab 100644 --- a/assets/build/api/docs.jsonopenapi.json +++ b/assets/build/api/docs.jsonopenapi.json @@ -1 +1 @@ -{"openapi":"3.1.0","info":{"title":"Studio Backend API","description":"API for Studio generated by OpenApi Generator via zircote\/swagger-php","license":{"name":"Pimcore Open Core License (POCL)","url":"https:\/\/github.com\/pimcore\/pimcore\/blob\/12.x\/LICENSE.md"},"version":"0.4.30"},"paths":{"\/pimcore-studio\/api\/assets\/{id}\/clone\/{parentId}":{"post":{"tags":["Assets"],"summary":"Clone a specific asset","description":"Clones a specific asset with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be a folder\n","operationId":"asset_clone","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}},{"name":"parentId","in":"path","description":"ParentId of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully copied asset"},"201":{"description":"Successfully copied parent asset and created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for copying child assets","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/custom-settings":{"get":{"tags":["Assets"],"summary":"Get custom settings of an asset by ID","description":"Retrieves custom settings based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset\n","operationId":"asset_custom_settings_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved custom settings as JSON","content":{"application\/json":{"schema":{"properties":{"items":{"$ref":"#\/components\/schemas\/CustomSettings"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/text":{"get":{"tags":["Assets"],"summary":"Get asset data in text UTF8 representation by ID","description":"Retrieves the text data in UTF8 representation of the asset based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset.\n","operationId":"asset_get_text_data_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved UTF8 encoded text data of asset","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"UTF 8 encoded text data","type":"string","example":"Test content"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/document\/stream\/pdf-preview":{"get":{"tags":["Assets"],"summary":"Stream asset document PDF preview by ID","description":"Stream asset document PDF preview based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset document\n","operationId":"asset_document_stream_preview","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Asset PDF preview stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"application\/pdf":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"202 - Not Completed\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/download\/zip\/{jobRunId}":{"get":{"tags":["Assets"],"summary":"Download ZIP archive for assets","description":"Download the ZIP archive with assets based on the given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create zip endpoint\n","operationId":"asset_download_zip","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"ZIP archive as attachment","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/zip":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Assets"],"summary":"Delete asset ZIP file based on jobRunId","description":"Delete the ZIP file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create zip endpoint\n","operationId":"asset_delete_zip","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/download":{"get":{"tags":["Assets"],"summary":"Download asset by ID","description":"Download the original asset stream based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"asset_download_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Original asset binary file","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/export\/zip\/asset":{"post":{"tags":["Assets"],"summary":"Creating ZIP file for assets","description":"Creating a ZIP file for assets based on the provided asset IDs in \u003Cstrong\u003E{assets}\u003C\/strong\u003E parameter. \u003Cbr\u003E\nDownload has to be triggered separately via the zip download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"asset_export_zip_asset","requestBody":{"content":{"application\/json":{"schema":{"properties":{"assets":{"type":"array","items":{"type":"integer"}}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for zip export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E413 - Max File Size Exceeded\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/export\/zip\/folder":{"post":{"tags":["Assets"],"summary":"Creating ZIP file assets based on folder","description":"Creating a ZIP file for assets based on the provided folder IDs in \u003Cstrong\u003E{folders}\u003C\/strong\u003E parameter. \u003Cbr\u003E\nFilter assets from folder based on the grid filter schema. \u003Cbr\u003E\nDownload has to be triggered separately via the zip download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"asset_export_zip_folder","requestBody":{"content":{"application\/json":{"schema":{"properties":{"folders":{"type":"array","items":{"type":"integer"},"example":[83]},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for zip export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E413 - Max File Size Exceeded\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}":{"get":{"tags":["Assets"],"summary":"Get asset by ID","description":"Retrieves a specific asset data based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset.\n","operationId":"asset_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved one of asset type data as JSON","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/Image"},{"$ref":"#\/components\/schemas\/AssetDocument"},{"$ref":"#\/components\/schemas\/Audio"},{"$ref":"#\/components\/schemas\/Video"},{"$ref":"#\/components\/schemas\/Archive"},{"$ref":"#\/components\/schemas\/Text"},{"$ref":"#\/components\/schemas\/AssetFolder"},{"$ref":"#\/components\/schemas\/Unknown"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Assets"],"summary":"Update an asset by ID","description":"Update needs to have the complete data present. \u003Cbr\u003E You can create\/update\/delete list entries like metadata, custom settings and properties. \u003Cbr\u003E E.g. if you want to remove an entry from metadata simply do not include this entry in the update. \u003Cbr\u003E If you want to update only a single field, use the PATCH method.\n","operationId":"asset_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"properties":{"parentId":{"type":["integer","null"],"minimum":1},"key":{"type":["string","null"]},"locked":{"type":["string","null"]},"data":{"type":["string","null"]},"dataUri":{"type":["string","null"]},"metadata":{"type":["array","null"],"items":{"$ref":"#\/components\/schemas\/UpdateCustomMetadata"}},"customSettings":{"type":["array","null"],"items":{"$ref":"#\/components\/schemas\/UpdateCustomSettings"}},"properties":{"type":["array","null"],"items":{"$ref":"#\/components\/schemas\/UpdateElementProperty"}},"image":{"oneOf":[{"$ref":"#\/components\/schemas\/ImageData"},{"type":"null"}],"type":"object"}},"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"One of asset types","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/Image"},{"$ref":"#\/components\/schemas\/AssetDocument"},{"$ref":"#\/components\/schemas\/Audio"},{"$ref":"#\/components\/schemas\/Video"},{"$ref":"#\/components\/schemas\/Archive"},{"$ref":"#\/components\/schemas\/Text"},{"$ref":"#\/components\/schemas\/AssetFolder"},{"$ref":"#\/components\/schemas\/Unknown"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/{configurationId}":{"delete":{"tags":["Asset Grid"],"summary":"Delete grid configuration for a specific folder and given configuration ID","description":"Delete grid configuration for a specific folder and given configuration ID \u003Cstrong\u003E{configurationId}\u003C\/strong\u003E\n","operationId":"asset_delete_grid_configuration_by_configurationId","parameters":[{"name":"configurationId","in":"path","description":"ConfigurationId of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedConfiguration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/available-columns":{"get":{"tags":["Asset Grid"],"summary":"Get available grid column configurations","description":"Get all available grid columns for assets\n","operationId":"asset_get_available_grid_columns","responses":{"200":{"description":"All available grid column configurations for assets","content":{"application\/json":{"schema":{"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnConfiguration"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/{folderId}":{"get":{"tags":["Asset Grid"],"summary":"Get asset grid configuration for a specific folder","description":"Get asset saved grid configuration by \u003Cstrong\u003E{folderId}\u003C\/strong\u003E if a configuration-id is set, otherwise get the default configuration will be returned.\n","operationId":"asset_get_grid_configuration_by_folderId","parameters":[{"name":"folderId","in":"path","description":"FolderId of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"configurationId","in":"query","description":"Configuration ID","required":false,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Asset grid configuration","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedConfiguration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configurations":{"get":{"tags":["Asset Grid"],"summary":"Get all saved grid configurations for assets of the given folder","description":"Get all saved grid configurations for assets of the given folder for the current user and shared configurations for this user\n","operationId":"asset_get_saved_grid_configurations","responses":{"200":{"description":"List of saved grid configurations for the given folder","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Configuration"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/save":{"post":{"tags":["Asset Grid"],"summary":"Save asset grid configuration for a specific folder\n","description":"Save asset grid configuration for a specific folder\n","operationId":"asset_save_grid_configuration","parameters":[{"name":"folderId","in":"path","description":"FolderId of the folder","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","pageSize","name","description","columns"],"properties":{"folderId":{"type":"integer","example":1},"pageSize":{"type":"integer","example":1},"name":{"type":"string"},"description":{"type":"string"},"shareGlobal":{"type":"boolean","example":true},"setAsFavorite":{"type":"boolean","example":true},"saveFilter":{"type":"boolean","example":true},"sharedUsers":{"type":"object","example":[42,1337]},"sharedRoles":{"type":"object","example":[42,1337]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnSchema"}},"filter":{"oneOf":[{"$ref":"#\/components\/schemas\/Filter"},{"type":"null"}],"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Asset grid configuration saved successfully","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/set-as-favorite\/{configurationId}\/{folderId}":{"post":{"tags":["Asset Grid"],"summary":"Set asset grid configuration as favorite for a specific folder","description":"Set asset grid configuration as favorite for the current user for a specific folder\n","operationId":"asset_set_grid_configuration_as_favorite","parameters":[{"name":"configurationId","in":"path","description":"ConfigurationId of the configurationId","required":true,"schema":{"type":"integer","example":83}},{"name":"folderId","in":"path","description":"FolderId of the folderId","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"asset_set_grid_configuration_as_favorite_response"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/update\/{configurationId}":{"put":{"tags":["Asset Grid"],"summary":"Update asset grid configuration for a specific folder","description":"Update asset grid configuration for a specific folder and given configuration ID \u003Cstrong\u003E{configurationId}\u003C\/strong\u003E\n","operationId":"asset_update_grid_configuration","parameters":[{"name":"configurationId","in":"path","description":"ConfigurationId of the configurationId","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","pageSize","name","description","columns"],"properties":{"folderId":{"type":"integer","example":1},"pageSize":{"type":"integer","example":1},"name":{"type":"string"},"description":{"type":"string"},"shareGlobal":{"type":"boolean","example":true},"setAsFavorite":{"type":"boolean","example":true},"saveFilter":{"type":"boolean","example":true},"sharedUsers":{"type":"object","example":[42,1337]},"sharedRoles":{"type":"object","example":[42,1337]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnSchema"}},"filter":{"oneOf":[{"$ref":"#\/components\/schemas\/Filter"},{"type":"null"}],"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Asset grid configuration updated successfully"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid":{"post":{"tags":["Asset Grid"],"summary":"Get asset data for grid","description":"Retrieve assets data for grid. \u003Cbr\u003E\nYou can use different query parameters to filter the asset data: \u003Cbr\u003E\n\u003Cul\u003E\n\u003Cli\u003E\u003Cstrong\u003EfolderId\u003C\/strong\u003E: ID of parent folder\u003C\/li\u003E\n\u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: To see the full description of request fields see the schema \u003Cstrong\u003EGrid Column Request\u003C\/strong\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Cstrong\u003Efilters\u003C\/strong\u003E: To see the full description of request fields see the schema \u003Cstrong\u003EGrid Filter\u003C\/strong\u003E\u003C\/li\u003E\n\u003C\/ul\u003E\n","operationId":"asset_get_grid","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","columns"],"properties":{"folderId":{"type":"integer","example":1},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"200":{"description":"Asset grid data","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"required":["id","columns","isLocked","permissions"],"type":"array","items":{"properties":{"id":{"type":"integer"},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnData"}},"isLocked":{"type":"boolean"},"permissions":{"$ref":"#\/components\/schemas\/Permissions"}},"type":"object"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/download\/custom":{"get":{"tags":["Assets"],"summary":"Download custom image by ID and configuration","description":"Download the custom image based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and configuration parameters. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image\n","operationId":"asset_image_download_custom","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}},{"name":"mimeType","in":"query","description":"Mime type of downloaded image.","required":true,"schema":{"type":"string","enum":["JPEG","PNG"],"example":"JPEG"}},{"name":"resizeMode","in":"query","description":"Resize mode of downloaded image.","required":true,"schema":{"type":"string","enum":["resize","scaleByWidth","scaleByHeight"],"example":"scaleByWidth"}},{"name":"width","in":"query","description":"Width of downloaded image","schema":{"type":"integer","example":140}},{"name":"height","in":"query","description":"Height of downloaded image","schema":{"type":"integer","example":140}},{"name":"quality","in":"query","description":"Quality of downloaded image","schema":{"type":"integer","example":80}},{"name":"dpi","in":"query","description":"Dpi of downloaded image","schema":{"type":"integer","example":300}}],"responses":{"200":{"description":"Custom image binary file","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"image\/jpeg":{"schema":{"type":"string","format":"binary"}},"image\/png":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/stream\/custom":{"get":{"tags":["Assets"],"summary":"Stream custom image thumbnail by ID and configuration","description":"Stream image asset thumbnail based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and configuration parameters. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image\n","operationId":"asset_image_stream_custom","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}},{"name":"mimeType","in":"query","description":"Mime type of downloaded image.","required":true,"schema":{"type":"string","enum":["JPEG","PNG"],"example":"PNG"}},{"name":"resizeMode","in":"query","description":"Resize mode of downloaded image.","required":true,"schema":{"type":"string","enum":["scaleByHeight","scaleByWidth","resize","none"],"example":"none"}},{"name":"width","in":"query","description":"Width of downloaded image","schema":{"type":"integer","example":140}},{"name":"height","in":"query","description":"Height of downloaded image","schema":{"type":"integer","example":null}},{"name":"quality","in":"query","description":"Quality of downloaded image","schema":{"type":"integer","example":85}},{"name":"dpi","in":"query","description":"Dpi of downloaded image","schema":{"type":"integer","example":null}},{"name":"contain","in":"query","description":"Contain","schema":{"type":"boolean","example":null}},{"name":"frame","in":"query","description":"Frame","schema":{"type":"boolean","example":null}},{"name":"cover","in":"query","description":"Cover","schema":{"type":"boolean","example":null}},{"name":"forceResize","in":"query","description":"ForceResize","schema":{"type":"boolean","example":null}},{"name":"cropPercent","in":"query","description":"","required":false,"schema":{"type":"boolean","example":false}},{"name":"cropWidth","in":"query","description":"CropWidth of downloaded image","schema":{"type":"integer","example":null}},{"name":"cropHeight","in":"query","description":"CropHeight of downloaded image","schema":{"type":"integer","example":null}},{"name":"cropTop","in":"query","description":"CropTop of downloaded image","schema":{"type":"integer","example":null}},{"name":"cropLeft","in":"query","description":"CropLeft of downloaded image","schema":{"type":"integer","example":null}}],"responses":{"200":{"description":"Image asset stream based on custom thumbnail configuration","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/download\/format\/{format}":{"get":{"tags":["Assets"],"summary":"Download image asset by ID and format","description":"asset_image_download_by_format_description","operationId":"asset_image_download_by_format","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}},{"name":"format","in":"path","description":"Find asset by matching format type.","required":true,"schema":{"type":"string","enum":["office","print","web"],"example":"web"}}],"responses":{"200":{"description":"Image asset binary file based on format","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"image\/jpeg":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/stream\/preview":{"get":{"tags":["Assets"],"summary":"Stream image asset preview by ID","description":"Stream image asset preview based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image\n","operationId":"asset_image_stream_preview","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Image preview stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/stream":{"get":{"tags":["Assets"],"summary":"Stream original image asset by ID","description":"Stream original image asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image\n","operationId":"asset_image_stream","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Stream of an original image asset","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/download\/thumbnail\/{thumbnailName}":{"get":{"tags":["Assets"],"summary":"Download image asset by ID and thumbnail name","description":"Download the image asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{thumbnailName}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image \u003Cbr\u003E\nList of downloadable \u003Cb\u003Ethumbnail names\u003C\/b\u003E can be obtained via the thumbnail image collection endpoint\n","operationId":"asset_image_download_by_thumbnail","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}},{"name":"thumbnailName","in":"path","description":"Find asset by matching thumbnail name.","required":true,"schema":{"type":"string","example":"pimcore-system-treepreview"}}],"responses":{"200":{"description":"Image asset binary file based on thumbnail name","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets":{"patch":{"tags":["Assets"],"summary":"Patch assets by ID","description":"Patching assets based on the given ID and data. \u003Cbr\u003E Patching can be used for updating single or multiple fields. \u003Cbr\u003E If single element is being patched, operation is executed synchronously. Multiple elements are patched asynchronously.\n","operationId":"asset_patch_by_id","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"type":"array","items":{"required":["id"],"properties":{"id":{"description":"Asset ID","type":"integer","example":83},"parentId":{"type":["integer","null"],"minimum":1},"key":{"type":["string","null"]},"locked":{"type":["string","null"]},"metadata":{"type":["array","null"],"items":{"$ref":"#\/components\/schemas\/PatchCustomMetadata"}}},"type":"object"}}},"type":"object"}}}},"responses":{"200":{"description":"Successfully patched asset"},"201":{"description":"Successfully created jobRun for patching multiple assets","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/folder":{"patch":{"tags":["Assets"],"summary":"Patch all assets based on folder ID and filters","description":"Patching assets based on the given folder ID and data. \u003Cbr\u003E Patching on folders will be done asynchronously. \u003Cbr\u003E\nYou can also use filters and sorting. Filter assets from folder based on the grid filter schema\n","operationId":"asset_patch_folder_by_id","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"type":"array","items":{"required":["folderId"],"properties":{"folderId":{"description":"Folder ID","type":"integer","example":83},"parentId":{"type":["integer","null"],"minimum":1},"key":{"type":["string","null"]},"locked":{"type":["string","null"]},"metadata":{"type":["array","null"],"items":{"$ref":"#\/components\/schemas\/PatchCustomMetadata"}}},"type":"object"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created jobRun for patching multiple assets","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/thumbnail\/clear":{"delete":{"tags":["Assets"],"summary":"Clear image thumbnail by ID","description":"Clear the image thumbnail based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing asset image, video or pdf\n","operationId":"asset_clear_thumbnail","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/tree":{"get":{"tags":["Assets"],"summary":"Get all asset data for the tree","description":"Listing of all assets and asset folders in the system. \u003Cbr\u003E\nReturns only data which are relevant for the tree \u003Cbr\u003E\nYou can use different query parameters to filter the assets and it is possible to exclude folders from the result completely\n","operationId":"asset_get_tree","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"parentId","in":"query","description":"Filter assets by parent id.","required":false,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"idSearchTerm","in":"query","description":"Filter assets\/data-objects by matching ids. As a wildcard * can be used","required":false,"schema":{"type":"string","example":83}},{"name":"pqlQuery","in":"query","description":"Pql query filter","required":false,"schema":{"type":"string","example":"id = 69"}},{"name":"excludeFolders","in":"query","description":"Filter folders from result.","required":false,"schema":{"type":"boolean","example":false}},{"name":"path","in":"query","description":"Filter by path.","required":false,"schema":{"type":"string","example":"\/path\/to\/folder"}},{"name":"pathIncludeParent","in":"query","description":"Include the parent item in the result.","required":false,"schema":{"type":"boolean","example":true}},{"name":"pathIncludeDescendants","in":"query","description":"Include all descendants in the result.","required":false,"schema":{"type":"boolean","example":true}}],"responses":{"200":{"description":"asset_get_tree_success_description","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/Image"},{"$ref":"#\/components\/schemas\/AssetDocument"},{"$ref":"#\/components\/schemas\/Audio"},{"$ref":"#\/components\/schemas\/Video"},{"$ref":"#\/components\/schemas\/Archive"},{"$ref":"#\/components\/schemas\/Text"},{"$ref":"#\/components\/schemas\/AssetFolder"},{"$ref":"#\/components\/schemas\/Unknown"}]}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/add\/{parentId}":{"post":{"tags":["Assets"],"summary":"Add a new asset","description":"Add a new asset based on the binary \u003Cstrong\u003E{file}\u003C\/strong\u003E to the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of existing folder.\n","operationId":"asset_add","parameters":[{"name":"parentId","in":"path","description":"ParentId of the asset","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["file"],"properties":{"file":{"description":"File to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"200":{"description":"ID of successfully uploaded new asset","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of created asset","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/exists\/{parentId}":{"get":{"tags":["Assets"],"summary":"Get information if asset already exists","description":"Get information if asset already exists based on the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E and \u003Cstrong\u003E{fileName}\u003C\/strong\u003E query parameter.\n","operationId":"asset_upload_info","parameters":[{"name":"parentId","in":"path","description":"ParentId of the asset","required":true,"schema":{"type":"integer","example":83}},{"name":"fileName","in":"query","description":"Name of the file to upload","required":true,"schema":{"type":"string","example":"file.jpg"}}],"responses":{"200":{"description":"Returns true if asset with the same name and in the same path already exists, false otherwise","content":{"application\/json":{"schema":{"required":["exists"],"properties":{"exists":{"title":"exists","description":"True if asset exists, false otherwise","type":"boolean","example":true}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/replace":{"post":{"tags":["Assets"],"summary":"Replace existing asset binary","description":"Replace the existing asset binary based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E with the provided {file} binary. \u003Cbr\u003E \nThe new asset binary mime type must be the same as the existing asset binary mime type.\n","operationId":"asset_replace","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["file"],"properties":{"file":{"description":"File to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"200":{"description":"File name of the successfully replaced asset","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"new file name of the asset","type":"string","example":"image.jpg"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/add-zip\/{parentId}":{"post":{"tags":["Assets"],"summary":"Add new assets via ZIP archive","description":"Upload a ZIP archive with assets to the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of existing folder.\nZip archive is extracted and assets are uploaded on the background. \u003Cbr\u003E The jobRun ID is returned in the response\n","operationId":"asset_upload_zip","parameters":[{"name":"parentId","in":"path","description":"ParentId of the asset","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["zipFile"],"properties":{"zipFile":{"description":"Zip file to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created jobRun ID to upload multiple assets","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/video\/stream\/image-thumbnail":{"get":{"tags":["Assets"],"summary":"Stream video image thumbnail by ID and configuration","description":"Stream the video image thumbnail based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and configuration parameters. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset video \u003Cbr\u003E\n","operationId":"asset_video_image_thumbnail_stream","parameters":[{"name":"id","in":"path","description":"Id of the video","required":true,"schema":{"type":"integer","example":83}},{"name":"width","in":"query","description":"Width of the video image thumbnail","schema":{"type":"integer","example":265}},{"name":"height","in":"query","description":"Height of the video image thumbnail","schema":{"type":"integer","example":265}},{"name":"aspectRatio","in":"query","description":"Aspect ratio of the video image thumbnail","schema":{"type":"boolean","example":false}},{"name":"frame","in":"query","description":"Frame of the video image thumbnail","schema":{"type":"boolean","example":true}},{"name":"async","in":"query","description":"Generate the asset asynchronously","schema":{"type":"boolean","example":false}}],"responses":{"200":{"description":"Video image thumbnail stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/video\/download\/{thumbnailName}":{"get":{"tags":["Assets"],"summary":"Download video asset by ID and thumbnail name","description":"Download the video asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{thumbnailName}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset video \u003Cbr\u003E\nList of \u003Cb\u003Ethumbnail names\u003C\/b\u003E can be obtained via the thumbnail video collection endpoint\n","operationId":"asset_video_download_by_thumbnail","parameters":[{"name":"id","in":"path","description":"Id of the video","required":true,"schema":{"type":"integer","example":83}},{"name":"thumbnailName","in":"path","description":"Find asset by matching thumbnail name.","required":true,"schema":{"type":"string","example":"pimcore-system-treepreview"}}],"responses":{"200":{"description":"Video binary file based on thumbnail name","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"video\/mp4":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/video\/stream\/{thumbnailName}":{"get":{"tags":["Assets"],"summary":"Stream video asset by ID and thumbnail name","description":"Stream the video asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{thumbnailName}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset video \u003Cbr\u003E\nList of \u003Cb\u003Ethumbnail names\u003C\/b\u003E can be obtained via the thumbnail video collection endpoint\n","operationId":"asset_video_stream_by_thumbnail","parameters":[{"name":"id","in":"path","description":"Id of the video","required":true,"schema":{"type":"integer","example":83}},{"name":"thumbnailName","in":"path","description":"Find asset by matching thumbnail name.","required":true,"schema":{"type":"string","example":"pimcore-system-treepreview"}}],"responses":{"200":{"description":"Video stream based on thumbnail name","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"video\/mp4":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/login":{"post":{"tags":["Authorization"],"summary":"Session-based login with user credentials.","description":"Logs in a user with the provided credentials and returns the user information.","operationId":"login","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Credentials"}}}},"responses":{"200":{"description":"Login successful.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserInformation"}}}},"401":{"description":"Invalid credentials Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InvalidCredentials"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/logout":{"post":{"tags":["Authorization"],"summary":"Logout and invalidate current session for active user.","description":"Logout and invalidate current session for active user.","operationId":"logout","responses":{"200":{"description":"Logout successful."}}}},"\/pimcore-studio\/api\/class\/collection":{"get":{"tags":["Class Definition"],"summary":"Get class definitions collection","description":"Get collection of all class definitions","operationId":"class_definition_collection","responses":{"200":{"description":"List of class definitions","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/ClassDefinitionList"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/custom-layout\/collection\/{dataObjectClass}":{"get":{"tags":["Class Definition"],"summary":"Get custom layout collection for data object class","description":"Get custom layout collection for the given data object class.","operationId":"class_custom_layout_collection","parameters":[{"name":"dataObjectClass","in":"path","description":"Data object class","required":true,"schema":{"type":"string","example":"CAR"}}],"responses":{"200":{"description":"List of custom layouts for the given data object class in a simple and compact format for listings.\n","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/CustomLayoutCompact"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/{customLayoutId}":{"post":{"tags":["Class Definition"],"summary":"Create custom layout","description":"Create custom layout","operationId":"pimcore_studio_api_class_custom_layout_create","parameters":[{"name":"customLayoutId","in":"path","description":"Id of custom layout","required":true,"schema":{"type":"string","example":"CarTodo"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CustomLayoutNew"}}}},"responses":{"200":{"description":"Custom layout created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CustomLayout"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/custom-layout\/{customLayoutId}":{"get":{"tags":["Class Definition"],"summary":"Get custom layout by given id","description":"Get custom layout by given id","operationId":"pimcore_studio_api_class_custom_layout_get","parameters":[{"name":"customLayoutId","in":"path","description":"Id of custom layout","required":true,"schema":{"type":"string","example":"CarTodo"}}],"responses":{"200":{"description":"Custom layout data","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CustomLayout"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Class Definition"],"summary":"Update custom layout by given id","description":"Update custom layout by given id","operationId":"pimcore_studio_api_class_custom_layout_update","parameters":[{"name":"customLayoutId","in":"path","description":"Id of custom layout","required":true,"schema":{"type":"string","example":"CarTodo"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CustomLayoutUpdate"}}}},"responses":{"200":{"description":"Custom layout updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CustomLayout"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Class Definition"],"summary":"Delete custom layout by given id","description":"Delete custom layout by given id","operationId":"pimcore_studio_api_class_custom_layout_delete","parameters":[{"name":"customLayoutId","in":"path","description":"Id of custom layout","required":true,"schema":{"type":"string","example":"CarTodo"}}],"responses":{"200":{"description":"Custom layout deleted"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/custom-layout\/editor\/collection\/{objectId}":{"get":{"tags":["Class Definition"],"summary":"Get custom layout collection for the data object","description":"Get custom layout collection based on the \u003Cstrong\u003E{objectId}\u003C\/strong\u003E and current user permissions. \u003Cbr\u003E\nThe \u003Cstrong\u003E{objectId}\u003C\/strong\u003E must be an ID of an existing object.\n","operationId":"class_custom_layout_editor_collection","parameters":[{"name":"objectId","in":"path","description":"ObjectId of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of custom layouts for the given data object id","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/CustomLayoutCompact"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/custom-layout\/export\/{customLayoutId}":{"get":{"tags":["Class Definition"],"summary":"Export custom layout by given id as JSON","description":"Export custom layout by given id as JSON","operationId":"pimcore_studio_api_class_custom_layout_export","parameters":[{"name":"customLayoutId","in":"path","description":"Id of custom layout","required":true,"schema":{"type":"string","example":"CarTodo"}}],"responses":{"200":{"description":"Custom layout data as JSON","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022custom_definition_CarToDo_export.json\u0022"}}},"content":{"application\/json":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/custom-layout\/import\/{customLayoutId}":{"post":{"tags":["Class Definition"],"summary":"Import custom layout","description":"Import custom layout using a previously exported JSON.","operationId":"pimcore_studio_api_class_custom_layout_import","parameters":[{"name":"customLayoutId","in":"path","description":"Id of custom layout","required":true,"schema":{"type":"string","example":"CarTodo"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["file"],"properties":{"file":{"description":"Import file to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"200":{"description":"Http status code","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CustomLayout"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/field-collection\/{objectId}\/object\/layout":{"get":{"tags":["Class Definition"],"summary":"Get all layouts from the field collection for an given object","description":"Get all layouts from the field collection for an given object\n","operationId":"class_field_collection_object_layout","parameters":[{"name":"objectId","in":"path","description":"ObjectId of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of layouts","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/FieldCollectionLayoutDefinition"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/folder\/{folderId}":{"get":{"tags":["Class Definition"],"summary":"Get list of all data object classes in a folder","description":"Get list of all data object classes in a folder","operationId":"class_definition_folder_collection","parameters":[{"name":"folderId","in":"path","description":"FolderId of the data-object","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of all data object classes in a folder","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/ClassDefinitionFolderItem"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/definition\/{dataObjectClass}":{"get":{"tags":["Class Definition"],"summary":"Get class definition for data object class","description":"Get class definition for the given data object class","operationId":"class_definition_get","parameters":[{"name":"dataObjectClass","in":"path","description":"Data object class","required":true,"schema":{"type":"string","example":"CAR"}}],"responses":{"200":{"description":"Class definition","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ClassDefinition"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/object-brick\/{objectId}\/object\/layout":{"get":{"tags":["Class Definition"],"summary":"Get all layouts from the object bricks for an given object","description":"Get all layouts from the object bricks for an given object\n","operationId":"class_object_brick_object_layout","parameters":[{"name":"objectId","in":"path","description":"ObjectId of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of layouts","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/ObjectBrickLayoutDefinition"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/classification-store\/collections":{"get":{"tags":["Classification Store"],"summary":"Get all classification store collections for given fieldName","description":"Get all classification store collections for given fieldName","operationId":"classification_store_get_collections","parameters":[{"name":"storeId","in":"query","description":"Classification Store ID","required":true,"schema":{"type":"integer","example":83}},{"name":"objectId","in":"query","description":"object ID","required":false,"schema":{"type":"integer","example":83}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"fieldName","in":"query","description":"Field Name","required":true,"schema":{"type":"string","example":"technicalAttributes"}},{"name":"searchTerm","in":"query","description":"Search Term","required":false,"schema":{"type":"string","example":"search term"}}],"responses":{"200":{"description":"List of classification store collections","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Collection"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/classification-store\/groups":{"get":{"tags":["Classification Store"],"summary":"Get all classification store groups for given fieldName","description":"Get all classification store groups for given fieldName","operationId":"classification_store_get_groups","parameters":[{"name":"storeId","in":"query","description":"Classification Store ID","required":true,"schema":{"type":"integer","example":83}},{"name":"objectId","in":"query","description":"object ID","required":false,"schema":{"type":"integer","example":83}},{"name":"searchTerm","in":"query","description":"Search Term","required":false,"schema":{"type":"string","example":"search term"}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"fieldName","in":"query","description":"Field Name","required":true,"schema":{"type":"string","example":"technicalAttributes"}}],"responses":{"200":{"description":"List of classification store groups","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Group"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/classification-store\/key-group-relations":{"get":{"tags":["Classification Store"],"summary":"Get all classification store key group relations for given fieldName","description":"Get all classification store key group relations for given fieldName","operationId":"classification_store_get_key_group_relations","parameters":[{"name":"storeId","in":"query","description":"Classification Store ID","required":true,"schema":{"type":"integer","example":83}},{"name":"objectId","in":"query","description":"object ID","required":false,"schema":{"type":"integer","example":83}},{"name":"searchTerm","in":"query","description":"Search Term","required":false,"schema":{"type":"string","example":"search term"}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"fieldName","in":"query","description":"Field Name","required":true,"schema":{"type":"string","example":"technicalAttributes"}}],"responses":{"200":{"description":"List of classification store key group relations","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/KeyGroupRelation"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/classification-store\/layout-by-collection\/{collectionId}":{"get":{"tags":["Classification Store"],"summary":"Get Layout definition for given collection","description":"Get Layout definition for given collection","operationId":"classification_store_get_layout_by_collection","parameters":[{"name":"objectId","in":"query","description":"object ID","required":true,"schema":{"type":"integer","example":83}},{"name":"collectionId","in":"path","description":"CollectionId of the Collection ID","required":true,"schema":{"type":"integer","example":83}},{"name":"fieldName","in":"query","description":"Field Name","required":true,"schema":{"type":"string","example":"technicalAttributes"}}],"responses":{"200":{"description":"Layout definition","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectionLayout"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/classification-store\/layout-by-group\/{groupId}":{"get":{"tags":["Classification Store"],"summary":"Get Layout definition for given group","description":"Get Layout definition for given group","operationId":"classification_store_get_layout_by_group","parameters":[{"name":"objectId","in":"query","description":"object ID","required":true,"schema":{"type":"integer","example":83}},{"name":"groupId","in":"path","description":"GroupId of the Group ID","required":true,"schema":{"type":"integer","example":83}},{"name":"fieldName","in":"query","description":"Field Name","required":true,"schema":{"type":"string","example":"technicalAttributes"}}],"responses":{"200":{"description":"Layout definition","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GroupLayout"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/custom-reports\/chart\/{name}":{"get":{"tags":["Custom Reports"],"summary":"Get chart data for a specific report","operationId":"custom_reports_chart","parameters":[{"name":"name","in":"path","description":"Name of the report","required":true,"schema":{"type":"string","example":"Quality_Attributes"}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"sortOrder","in":"query","description":"Sort order (asc or desc).","required":false,"schema":{"type":"string","enum":["ASC","DESC"],"example":"ASC"}},{"name":"sortBy","in":"query","description":"Sort by column parameter","required":false,"schema":{"type":"string","example":""}},{"name":"filter","in":"query","description":"Filter for chart data","required":false,"schema":{"type":"string","example":""}},{"name":"reportOffset","in":"query","description":"Offset of the report data","required":false,"schema":{"type":"int","example":null}},{"name":"reportLimit","in":"query","description":"Limit of the report data","required":false,"schema":{"type":"int","example":null}}],"responses":{"200":{"description":"Chart data as JSON. The actual data depends on the selected adapter in the report configuration.","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/CustomReportChartData"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/custom-reports\/tree\/config":{"get":{"tags":["Custom Reports"],"summary":"All reports for the current user to display in configuration tree.","description":"Get all reports for the current user to display in configuration tree.","operationId":"custom_reports_config_get_tree","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}}],"responses":{"200":{"description":"Get all reports for the current user to display in configuration tree.","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/CustomReportTreeConfigNode"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/custom-report\/export\/csv":{"post":{"tags":["Custom Reports"],"summary":"Export report data as CSV","description":"Creating the CSV file for custom reports. \u003Cbr\u003E Parameters are: \u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Ename\u003C\/strong\u003E: Name of custom report\u003C\/li\u003E \n \u003Cli\u003E\u003Cstrong\u003EsortOrder\u003C\/strong\u003E: Sort order (ASC\/DESC)\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003EsortBy\u003C\/strong\u003E: Column name to sort the data by\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Efilter\u003C\/strong\u003E: Filter to filter the data\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003EreportLimit\u003C\/strong\u003E: Limit returned data\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003EreportOffset\u003C\/strong\u003E: Offset, can be used in combination with reportLimit\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003EincludeHeaders\u003C\/strong\u003E: Include headers\u003C\/li\u003E\n \u003C\/ul\u003E Delimiter can be set to anything, but the default is a \u003Cstrong\u003Esemicolon\u003C\/strong\u003E. \u003Cbr\u003E \nDownload has to be triggered separately via the csv download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"custom_report_export_csv","requestBody":{"content":{"application\/json":{"schema":{"properties":{"name":{"type":"string","example":"Quality_Attributes"},"sortOrder":{"type":"string","example":"ASC"},"sortBy":{"type":"string","example":null},"filter":{"type":"string","example":null},"reportLimit":{"type":"integer","example":null},"reportOffset":{"type":"integer","example":null},"includeHeaders":{"type":"boolean","example":false}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for csv export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/custom-reports\/report\/{name}":{"get":{"tags":["Custom Reports"],"summary":"Get detailed configuration for a specific report by name","operationId":"custom_reports_report","parameters":[{"name":"name","in":"path","description":"Name of the report","required":true,"schema":{"type":"string","example":"Quality_Attributes"}}],"responses":{"200":{"description":"Report data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CustomReportDetails"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/custom-reports\/tree":{"get":{"tags":["Custom Reports"],"summary":"All reports for the current user to display in tree.","description":"Get all reports for the current user to display in tree.","operationId":"custom_reports_get_tree","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}}],"responses":{"200":{"description":"Get all reports for the current user to display in tree.","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/CustomReportTreeNode"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/add\/{parentId}":{"post":{"tags":["Data Objects"],"summary":"Successfully added a new data object","description":"Add a new data object to the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of a folder or another data object. See the full description of request fields with the schema \u003Cstrong\u003EDataObjectAdd\u003C\/strong\u003E\n","operationId":"data_object_add","parameters":[{"name":"parentId","in":"path","description":"ParentId of the data-object","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DataObjectAddParameters"}}}},"responses":{"200":{"description":"ID of added data object","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of created data object","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/{id}\/clone\/{parentId}":{"post":{"tags":["Data Objects"],"summary":"Clone a specific data object","description":"Clones a specific data object with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be a folder or another data object\n","operationId":"data_object_clone","parameters":[{"name":"id","in":"path","description":"Id of the data-object","required":true,"schema":{"type":"integer","example":83}},{"name":"parentId","in":"path","description":"ParentId of the data-object","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CloneParameters"}}}},"responses":{"200":{"description":"Successfully copied data object"},"201":{"description":"Successfully copied parent data object and created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for copying child objects","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/{id}":{"get":{"tags":["Data Objects"],"summary":"Get a specific data object by ID","description":"Retrieves a specific data object based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing data object or folder.\n","operationId":"data_object_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the data-object","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved data object data as JSON","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/DataObject"},{"$ref":"#\/components\/schemas\/DataObjectFolder"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Data Objects"],"summary":"Update a data object by ID","description":"You can create\/update\/delete list entries like properties or data object editable fields. \u003Cbr\u003E If you want to update (add\/remove) only some data of a field (e.g data of multi-relation fields), use the PATCH method.\n","operationId":"data_object_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the data-object","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"properties":{"parentId":{"type":["integer","null"],"minimum":1},"index":{"type":["integer","null"],"minimum":0},"key":{"type":["string","null"]},"useDraftData":{"type":["boolean","null"]},"task":{"type":"string","enum":["autoSave","publish","save","unpublish","version"]},"locked":{"type":["string","null"]},"childrenSortBy":{"type":["string","null"]},"childrenSortOrder":{"type":["string","null"]},"published":{"type":["boolean","null"]},"editableData":{"type":["object","null"],"example":"{ \u0022someFieldKey\u0022: \u0022someValue\u0022 }"},"properties":{"type":["array","null"],"items":{"$ref":"#\/components\/schemas\/UpdateElementProperty"}}},"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Successfully updated data object","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/DataObject"},{"$ref":"#\/components\/schemas\/DataObjectFolder"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/grid\/preview":{"post":{"tags":["Data Object Grid"],"summary":"Get a preview of an Advanced Column Grid for a given Data Object.","description":"Gives you a preview of an Advanced Column Grid for a given Data Object.","operationId":"data_object_get_grid_preview","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["objectId","column"],"properties":{"objectId":{"type":"integer","example":1},"column":{"$ref":"#\/components\/schemas\/Column"}},"type":"object"}}}},"responses":{"200":{"description":"Preview of an Advanced Column Grid for a given Data Object.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ColumnData"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/configuration\/{configurationId}":{"delete":{"tags":["Data Object Grid"],"summary":"Delete grid configuration for a given configuration ID","description":"Delete grid configuration for a given configuration ID \u003Cstrong\u003E{configurationId}\u003C\/strong\u003E\n","operationId":"data_object_delete_grid_configuration_by_configurationId","parameters":[{"name":"configurationId","in":"path","description":"ConfigurationId of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedConfiguration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/configuration\/{folderId}\/{classId}":{"get":{"tags":["Data Object Grid"],"summary":"Get data object grid configuration for a specific folder and class-id","description":"Get data object saved grid configuration by \u003Cstrong\u003E{folderId}\u003C\/strong\u003E \u003Cstrong\u003E{classId}\u003C\/strong\u003E if a configuration-id is set, otherwise get the default configuration will be returned.\n","operationId":"data_object_get_grid_configuration","parameters":[{"name":"folderId","in":"path","description":"FolderId of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"classId","in":"path","description":"Class Id of the data object","required":true,"schema":{"type":"string","example":"EV"}},{"name":"configurationId","in":"query","description":"Configuration ID","required":false,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"data_object_get_grid_configuration_success_response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedConfiguration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/configurations\/{classId}":{"get":{"tags":["Data Object Grid"],"summary":"List all saved grid configurations for data objects","description":"List all saved grid configurations for data objects for given class ID\n","operationId":"data_object_list_saved_grid_configurations","parameters":[{"name":"classId","in":"path","description":"Class Id of the data object","required":true,"schema":{"type":"string","example":"EV"}}],"responses":{"200":{"description":"List of saved grid configurations for data objects","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Configuration"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/configuration\/save\/{classId}":{"post":{"tags":["Data Object Grid"],"summary":"Save Data Object grid configuration for a specific folder","description":"Save Data Object grid configuration for a specific Class ID \u003Cstrong\u003E{classId}\u003C\/strong\u003E\n","operationId":"data_object_save_grid_configuration","parameters":[{"name":"classId","in":"path","description":"Class Id of the data object","required":true,"schema":{"type":"string","example":"EV"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","pageSize","name","description","columns"],"properties":{"folderId":{"type":"integer","example":1},"pageSize":{"type":"integer","example":1},"name":{"type":"string"},"description":{"type":"string"},"shareGlobal":{"type":"boolean","example":true},"setAsFavorite":{"type":"boolean","example":true},"saveFilter":{"type":"boolean","example":true},"sharedUsers":{"type":"object","example":[42,1337]},"sharedRoles":{"type":"object","example":[42,1337]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnSchema"}},"filter":{"oneOf":[{"$ref":"#\/components\/schemas\/Filter"},{"type":"null"}],"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Data Object grid configuration saved successfully","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/configuration\/set-as-favorite\/{configurationId}\/{folderId}":{"post":{"tags":["Data Object Grid"],"summary":"Set data object grid configuration as favorite for a specific folder","description":"Set data object grid configuration as favorite for the current user for a specific folder\n","operationId":"data_object_set_grid_configuration_as_favorite","parameters":[{"name":"configurationId","in":"path","description":"ConfigurationId of the configurationId","required":true,"schema":{"type":"integer","example":83}},{"name":"folderId","in":"path","description":"FolderId of the folderId","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"data_object_set_grid_configuration_as_favorite_response"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/configuration\/update\/{configurationId}":{"put":{"tags":["Data Object Grid"],"summary":"Update data object grid configuration for a specific folder","description":"Update data object grid configuration for a specific folder and given configuration ID \u003Cstrong\u003E{configurationId}\u003C\/strong\u003E\n","operationId":"data_object_update_grid_configuration","parameters":[{"name":"configurationId","in":"path","description":"ConfigurationId of the configurationId","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","pageSize","name","description","columns"],"properties":{"folderId":{"type":"integer","example":1},"pageSize":{"type":"integer","example":1},"name":{"type":"string"},"description":{"type":"string"},"shareGlobal":{"type":"boolean","example":true},"setAsFavorite":{"type":"boolean","example":true},"saveFilter":{"type":"boolean","example":true},"sharedUsers":{"type":"object","example":[42,1337]},"sharedRoles":{"type":"object","example":[42,1337]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnSchema"}},"filter":{"oneOf":[{"$ref":"#\/components\/schemas\/Filter"},{"type":"null"}],"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Data Object grid configuration updated successfully"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/available-columns":{"get":{"tags":["Data Object Grid"],"summary":"Get all available grid columns for data objects","description":"Get all available grid columns for data objects\n","operationId":"data_object_get_available_grid_columns","parameters":[{"name":"classId","in":"query","description":"Identifies the class name for which the columns should be retrieved.","required":false,"schema":{"type":"string","example":"EV"}},{"name":"folderId","in":"query","description":"folderId","required":false,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of available grid columns for data objects","content":{"application\/json":{"schema":{"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnConfiguration"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/grid\/{classId}":{"post":{"tags":["Data Object Grid"],"summary":"Get data object data for grid","description":"Retrieve data objects data for grid. \u003Cbr\u003E\nYou can use different query parameters to filter the data objects data: \u003Cbr\u003E\n\u003Cul\u003E\n\u003Cli\u003E\u003Cstrong\u003EfolderId\u003C\/strong\u003E: ID of parent folder\u003C\/li\u003E\n\u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: To see the full description of request fields see the schema \u003Cstrong\u003EGrid Column Request\u003C\/strong\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Cstrong\u003Efilters\u003C\/strong\u003E: To see the full description of request fields see the schema \u003Cstrong\u003EGrid Filter\u003C\/strong\u003E\u003C\/li\u003E\n\u003C\/ul\u003E\n","operationId":"data_object_get_grid","parameters":[{"name":"classId","in":"path","description":"Identifies the class name for which the the grid should be build.","required":true,"schema":{"type":"string","example":"EV"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","columns"],"properties":{"folderId":{"type":"integer","example":1},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"200":{"description":"Data object grid data","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"required":["id","columns","isLocked","permissions"],"type":"array","items":{"properties":{"id":{"type":"integer"},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnData"}},"isLocked":{"type":"boolean"},"permissions":{"$ref":"#\/components\/schemas\/Permissions"}},"type":"object"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/{id}\/layout\/{layoutId}":{"get":{"tags":["Data Objects"],"summary":"Get layout of a data object by ID","description":"Retrieves the layout of a specific data object based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing data object.\n","operationId":"data_object_get_layout_by_id","parameters":[{"name":"id","in":"path","description":"Id of the data-object","required":true,"schema":{"type":"integer","example":83}},{"name":"layoutId","in":"path","description":"ID to get specific layout","required":false,"schema":{"type":"string","example":"Todo"}}],"responses":{"200":{"description":"Successfully retrieved data object layout data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Layout"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects":{"patch":{"tags":["Data Objects"],"summary":"Patch data objects by ID","description":"Patching data objects based on the given ID and data. \u003Cbr\u003E Patching can be used for updating single or multiple fields. \u003Cbr\u003E If single element is being patched, operation is executed synchronously. Multiple elements are patched asynchronously.\n","operationId":"data_object_patch_by_id","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"type":"array","items":{"required":["id"],"properties":{"id":{"description":"Data Object ID","type":"integer","example":83},"parentId":{"type":["integer","null"],"minimum":1},"index":{"type":["integer","null"],"minimum":0},"key":{"type":["string","null"]},"task":{"type":"string","enum":["autoSave","publish","save","unpublish","version"]},"locked":{"type":["string","null"]},"childrenSortBy":{"type":["string","null"]},"childrenSortOrder":{"type":["string","null"]},"published":{"type":["boolean","null"]},"editableData":{"type":["object","null"],"example":"{ \u0022someFieldKey\u0022: \u0022someValue\u0022 }"}},"type":"object"}}},"type":"object"}}}},"responses":{"200":{"description":"Successfully patched data object"},"201":{"description":"Successfully created jobRun for patching multiple data objects","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/folder":{"patch":{"tags":["Data Objects"],"summary":"Patch all data objects based on folder ID and filters","description":"Patching data objects based on the given folder ID, filters and data. \u003Cbr\u003E Patching on folders will be done asynchronously. \u003Cbr\u003E\nYou can also use filters and sorting. Filter data objects from folder based on the grid filter schema\n","operationId":"data_object_patch_folder_by_id","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"type":"array","items":{"required":["folderId"],"properties":{"folderId":{"description":"Folder ID","type":"integer","example":2},"parentId":{"type":["integer","null"],"minimum":1},"index":{"type":["integer","null"],"minimum":0},"key":{"type":["string","null"]},"locked":{"type":["string","null"]},"childrenSortBy":{"type":["string","null"]},"childrenSortOrder":{"type":["string","null"]},"published":{"type":["boolean","null"]},"editableData":{"type":["object","null"],"example":"{ \u0022someFieldKey\u0022: \u0022someValue\u0022 }"}},"type":"object"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created jobRun for patching multiple data objects","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/format-path":{"post":{"tags":["Data Objects"],"summary":"Format the path of the data","description":"Format the path of the data given by the \u003Cstrong\u003E{targets}\u003C\/strong\u003E option.\n","operationId":"data_object_format_path","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["objectId","targets","context"],"properties":{"objectId":{"type":"integer","example":1},"targets":{"type":"object","example":"{\u0022object_10\u0022:{\u0022id\u0022:10,\u0022type\u0022:\u0022object\u0022,\u0022label\u0022:\u0022\/Product\n Data\/Cars\/jaguar\/E-Type\/coup\u00e9\u0022,\u0022path\u0022:\u0022\/Product Data\/Cars\/jaguar\/E-Type\/coup\u00e9\u0022,\n \u0022nicePathKey\u0022:\u0022object_10\u0022}}"},"fieldName":{"description":"Fieldname for the PathFormatter. Given as Dot Notation","type":"string","example":"attributes.Bodywork.numberOfDoors"}},"type":"object"}}}},"responses":{"200":{"description":"Formatted path of the objects","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/FormatedPath"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/preview\/{id}":{"get":{"tags":["Data Objects"],"summary":"Preview data object by ID and site","description":"Preview data object by ID and site. Data Object must be stored in the session first to be able to preview it.\n","operationId":"data_object_preview_by_id","parameters":[{"name":"id","in":"path","description":"Id of the data object","required":true,"schema":{"type":"integer","example":83}},{"name":"site","in":"query","description":"Site ID","required":false,"schema":{"type":"int","example":null}}],"responses":{"302":{"description":"Redirect to preview URL","headers":{"Location":{"description":"Redirect location","required":true,"schema":{"type":"string","format":"uri"}}}},"default":{"description":"302 - Redirect\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/{sourceId}\/replace\/{targetId}":{"post":{"tags":["Data Objects"],"summary":"Replace content of a data object","description":"Replace the content of the data object with the given \u003Cstrong\u003E{targetId}\u003C\/strong\u003E with the content of the data object matching the \u003Cstrong\u003E{sourceId}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{targetId}\u003C\/strong\u003E and \u003Cstrong\u003E{sourceId}\u003C\/strong\u003E must be an ID of existing data objects\n","operationId":"data_object_replace_content","parameters":[{"name":"sourceId","in":"path","description":"SourceId of the data-object","required":true,"schema":{"type":"integer","example":83}},{"name":"targetId","in":"path","description":"TargetId of the data-object","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully replaced content of data object"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/select-options":{"post":{"tags":["Data Objects"],"summary":"Get all dynamic select options for data objects","description":"Get all dynamic select options for data objects for given field\n","operationId":"data_object_get_select_options","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["objectId","fieldName","context"],"properties":{"objectId":{"type":"integer","example":1},"fieldName":{"type":"string"},"changedData":{"type":"object","example":"{\u0022Input\u0022:\u0022new value\u0022}"},"context":{"type":"object","example":"{\u0022containerType\u0022:\u0022object\u0022,\u0022fieldname\u0022:\u0022select\u0022,\u0022objectId\u0022:40,\u0022layoutId\u0022:\u00220\u0022}"}},"type":"object"}}}},"responses":{"200":{"description":"List of dynamic select options","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/SelectOption"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/tree":{"get":{"tags":["Data Objects"],"summary":"Get all data object data for the tree","description":"Listing of all data objects and data object folders in the system. \u003Cbr\u003E\nReturns only data which are relevant for the tree \u003Cbr\u003E\nYou can use different query parameters to filter the data objects and it is possible to exclude folders from the result completely\n","operationId":"data_object_get_tree","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"parentId","in":"query","description":"Filter data objects by parent id.","required":false,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"idSearchTerm","in":"query","description":"Filter assets\/data-objects by matching ids. As a wildcard * can be used","required":false,"schema":{"type":"string","example":83}},{"name":"pqlQuery","in":"query","description":"Pql query filter","required":false,"schema":{"type":"string","example":"series = empty AND color=\u0022red\u0022"}},{"name":"excludeFolders","in":"query","description":"Filter folders from result.","required":false,"schema":{"type":"boolean","example":false}},{"name":"path","in":"query","description":"Filter by path.","required":false,"schema":{"type":"string","example":"\/path\/to\/folder"}},{"name":"pathIncludeParent","in":"query","description":"Include the parent item in the result.","required":false,"schema":{"type":"boolean","example":true}},{"name":"pathIncludeDescendants","in":"query","description":"Include all descendants in the result.","required":false,"schema":{"type":"boolean","example":true}},{"name":"className","in":"query","description":"When provided, the search is executed on the specific data object class index.","required":false,"schema":{"type":"string","example":"Car"}},{"name":"classIds","in":"query","description":"Filter results based on the provided class IDs.","required":false,"schema":{"type":"string","example":"[\u0022Car\u0022]"}}],"responses":{"200":{"description":"Paginated data objects with total count as header param as JSON","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/DataObject"},{"$ref":"#\/components\/schemas\/DataObjectFolder"}]}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/dependencies\/{elementType}\/{id}":{"get":{"tags":["Dependencies"],"summary":"Get all dependencies for provided element.","description":"Get paginated dependencies.\n Pass dependency mode to get either all elements that depend on the provided element\n or all dependencies for the provided element.","operationId":"dependency_get_collection_by_element_type","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"dependencyMode","in":"query","description":"Dependency mode","required":true,"schema":{"type":"string","enum":["required_by","requires"],"example":"required_by"}}],"responses":{"200":{"description":"Paginated dependencies with total count as header param","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/Dependency"}]}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/add\/{parentId}":{"post":{"tags":["Documents"],"summary":"Add a new document","description":"Add a new data object to the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of a folder or another data object. See the full description of request fields with the schema \u003Cstrong\u003EDocumentAdd\u003C\/strong\u003E\n","operationId":"document_add","parameters":[{"name":"parentId","in":"path","description":"ParentId of the document","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocumentAddParameters"}}}},"responses":{"200":{"description":"ID of added document","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of created document element","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E409 - Conflict\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/{id}\/clone\/{parentId}":{"post":{"tags":["Documents"],"summary":"Clone a specific document","description":"Clones a specific document with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be a folder or another document. See the full description of request fields with the schema \u003Cstrong\u003EDocument Clone Parameters\u003C\/strong\u003E\n","operationId":"document_clone","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}},{"name":"parentId","in":"path","description":"ParentId of the document","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocumentCloneParameters"}}}},"responses":{"200":{"description":"Successfully copied documents"},"201":{"description":"Successfully copied parent document and created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for copying children","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/{id}\/convert\/{type}":{"post":{"tags":["Documents"],"summary":"Change document type","description":"Change the \u003Cstrong\u003E{type}\u003C\/strong\u003E of a specific document with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \n\u003Cbr\u003EThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing document or folder and the \u003Cstrong\u003E{type}\u003C\/strong\u003E must be an existing Document Type type.\n","operationId":"document_convert","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}},{"name":"type","in":"path","description":"Document type to convert to","required":true,"schema":{"type":"string","example":"page"}}],"responses":{"200":{"description":"Successfully changed document type"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/doc-types\/add":{"post":{"tags":["Documents"],"summary":"Add a new document DocType","description":"Add a new document \u003Cstrong\u003EDocType\u003C\/string\u003E. \u003Cbr\u003E See the full description of request fields with the schema \u003Cstrong\u003EDocTypeAdd\u003C\/strong\u003E\n","operationId":"document_doc_type_add","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocTypeAddParameters"}}}},"responses":{"200":{"description":"New DocType data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocType"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/doc-types\/{id}":{"put":{"tags":["Documents"],"summary":"Update a document DocType by ID","description":"Update the DocType with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing DocType. \u003Cbr\u003E\nPlease note that \u003Cstrong\u003Eall fields\u003Cstrong\u003E have to be provided.\n","operationId":"document_doc_type_update_by_id","parameters":[{"name":"id","in":"path","description":"The Id of the DocType to update","required":true,"schema":{"type":"string","example":"1"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocTypeUpdateParameters"}}}},"responses":{"200":{"description":"Successfully updated DocType","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocType"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Documents"],"summary":"Delete an existing document DocType by ID","description":"Delete the existing document \u003Cstrong\u003EDocType\u003C\/strong\u003E with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing DocType.\n","operationId":"document_doc_type_delete","parameters":[{"name":"id","in":"path","description":"The Id of the DocType to delete","required":true,"schema":{"type":"string","example":"1"}}],"responses":{"200":{"description":"Successfully deleted document DocType"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/doc-types\/types":{"get":{"tags":["Documents"],"summary":"List DocType types","description":"List all available types for DocType.\n","operationId":"document_doc_type_type_list","responses":{"200":{"description":"List of available DocType types","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocTypeType"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/doc-types":{"get":{"tags":["Documents"],"summary":"List all document DocTypes","description":"List all DocTypes. Results can be filtered based on the given \u003Cstrong\u003E{type}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{type}\u003C\/strong\u003E must be an existing DocType type.\n","operationId":"document_doc_type_list","parameters":[{"name":"type","in":"query","description":"Filter results by docType type","required":false,"schema":{"type":"string","example":"page"}}],"responses":{"200":{"description":"List of all DocTypes","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocType"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/{id}":{"get":{"tags":["Documents"],"summary":"Get a specific document by ID","description":"Retrieves a specific document based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing document or folder.\n","operationId":"document_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved document data as JSON","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/Document"},{"$ref":"#\/components\/schemas\/DocumentFolder"},{"$ref":"#\/components\/schemas\/Email"},{"$ref":"#\/components\/schemas\/Hardlink"},{"$ref":"#\/components\/schemas\/Link"},{"$ref":"#\/components\/schemas\/Page"},{"$ref":"#\/components\/schemas\/Snippet"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Documents"],"summary":"Update a document by ID","description":"You can create\/update\/delete list entries like properties, settings or editable fields.\n","operationId":"document_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"properties":{"parentId":{"type":["integer","null"],"minimum":1},"index":{"type":["integer","null"],"minimum":0},"key":{"type":["string","null"]},"task":{"type":"string","enum":["autoSave","publish","save","unpublish","version"]},"locked":{"type":["string","null"]},"published":{"type":["boolean","null"]},"editableData":{"type":["object","null"],"example":"{ \u0022someFieldKey\u0022: \u0022someValue\u0022 }"},"settingsData":{"type":["object","null"],"example":"{ \u0022someFieldKey\u0022: \u0022someValue\u0022 }"},"missingRequiredEditable":{"type":["boolean","null"]},"properties":{"type":["array","null"],"items":{"$ref":"#\/components\/schemas\/UpdateElementProperty"}}},"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Successfully updated document","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/Document"},{"$ref":"#\/components\/schemas\/DocumentFolder"},{"$ref":"#\/components\/schemas\/Email"},{"$ref":"#\/components\/schemas\/Hardlink"},{"$ref":"#\/components\/schemas\/Link"},{"$ref":"#\/components\/schemas\/Page"},{"$ref":"#\/components\/schemas\/Snippet"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/{id}\/page\/stream\/preview":{"get":{"tags":["Documents"],"summary":"Stream page document preview by ID","description":"Stream page document PDF preview based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing page\n","operationId":"document_page_stream_preview","parameters":[{"name":"id","in":"path","description":"Id of the page","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Page preview stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/jpeg":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/get-available-controllers":{"get":{"tags":["Documents"],"summary":"List document controllers","description":"List all available controllers for documents.\n","operationId":"document_available_controllers_list","responses":{"200":{"description":"document_available_controllers_list_success_response","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Document Controller"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/get-available-templates":{"get":{"tags":["Documents"],"summary":"List document templates","description":"List all available templates for documents.\n","operationId":"document_available_templates_list","responses":{"200":{"description":"document_available_templates_list_success_response","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Document Template"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/{sourceId}\/replace\/{targetId}":{"post":{"tags":["Documents"],"summary":"Replace content of a document","description":"Replace the content of the document with the given \u003Cstrong\u003E{targetId}\u003C\/strong\u003E with the content of the document matching the \u003Cstrong\u003E{sourceId}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{targetId}\u003C\/strong\u003E and \u003Cstrong\u003E{sourceId}\u003C\/strong\u003E must be an ID of existing document\n","operationId":"document_replace_content","parameters":[{"name":"sourceId","in":"path","description":"SourceId of the document","required":true,"schema":{"type":"integer","example":83}},{"name":"targetId","in":"path","description":"TargetId of the document","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully replaced contents of the document"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/sites\/list-available":{"get":{"tags":["Documents"],"summary":"List all available sites","description":"List all available sites\n","operationId":"documents_list_available_sites","parameters":[{"name":"excludeMainSite","in":"query","description":"Exclude main site from the list","schema":{"type":"boolean","example":false}}],"responses":{"200":{"description":"List of available sites","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Site"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/site\/{id}":{"post":{"tags":["Documents"],"summary":"Use document as a site or update the existing site","description":"Use document as a site or update the existing site by the given document \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing document\n","operationId":"document_update_site","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Update Site"}}}},"responses":{"200":{"description":"Successfully created\/updated site"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Documents"],"summary":"Delete the existing site by its document ID","description":"Delete the existing site by the given document \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing document\n","operationId":"document_delete_site","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully deleted site"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/translations\/{id}\/add\/{translationId}":{"post":{"tags":["Documents"],"summary":"Link a new translation document to the existing document","description":"Link a new translation document (by \u003Cstrong\u003E{translationId}\u003C\/strong\u003E) to the given document with \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{translationId}\u003C\/strong\u003E must be an ID of existing documents.\n","operationId":"document_add_translation","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}},{"name":"translationId","in":"path","description":"TranslationId of the document","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully linked translation document"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/translations\/{id}\/delete\/{translationId}":{"delete":{"tags":["Documents"],"summary":"Delete a translation document from the existing document","description":"Delete the translation document with the given \u003Cstrong\u003E{translationId}\u003C\/strong\u003E from the given document with \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{translationId}\u003C\/strong\u003E must be an ID of existing documents.\n","operationId":"document_delete_translation","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}},{"name":"translationId","in":"path","description":"TranslationId of the document","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully deleted translation document"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/translations\/{id}":{"get":{"tags":["Documents"],"summary":"Get all existing translations of the document","description":"Get all existing translations of the document with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing document.\n","operationId":"document_get_translations","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Get all existing translations","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Document Translation Links"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/translations\/{id}\/get-parent\/{language}":{"get":{"tags":["Documents"],"summary":"Get the parent translation document data by language","description":"Get the parent translation document of the document with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E by \u003Cstrong\u003E{language}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing document and the \u003Cstrong\u003E{language}\u003C\/strong\u003E must be a valid language code.\n","operationId":"document_get_translation_parent_by_language","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}},{"name":"language","in":"path","description":"Language code for the translation parent","required":true,"schema":{"type":"string","example":"en"}}],"responses":{"200":{"description":"Parent translation document data","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Document Translation Parent"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/tree":{"get":{"tags":["Documents"],"summary":"Get all document data for the tree","description":"Listing of all documents and document folders in the system. \u003Cbr\u003E\nReturns only data which are relevant for the tree \u003Cbr\u003E\nYou can use different query parameters to filter the assets and it is possible to exclude folders from the result completely\n","operationId":"document_get_tree","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"parentId","in":"query","description":"Filter documents by parent id.","required":false,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"idSearchTerm","in":"query","description":"Filter assets\/data-objects by matching ids. As a wildcard * can be used","required":false,"schema":{"type":"string","example":83}},{"name":"pqlQuery","in":"query","description":"Pql query filter","required":false,"schema":{"type":"string","example":"id = 69"}},{"name":"excludeFolders","in":"query","description":"Filter folders from result.","required":false,"schema":{"type":"boolean","example":false}},{"name":"path","in":"query","description":"Filter by path.","required":false,"schema":{"type":"string","example":"\/path\/to\/folder"}},{"name":"pathIncludeParent","in":"query","description":"Include the parent item in the result.","required":false,"schema":{"type":"boolean","example":true}},{"name":"pathIncludeDescendants","in":"query","description":"Include all descendants in the result.","required":false,"schema":{"type":"boolean","example":true}}],"responses":{"200":{"description":"Paginated documents with total count as header param as JSON","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/Document"},{"$ref":"#\/components\/schemas\/DocumentFolder"},{"$ref":"#\/components\/schemas\/Email"},{"$ref":"#\/components\/schemas\/Hardlink"},{"$ref":"#\/components\/schemas\/Link"},{"$ref":"#\/components\/schemas\/Page"},{"$ref":"#\/components\/schemas\/Snippet"}]}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/delete\/{id}":{"delete":{"tags":["Elements"],"summary":"Delete a specific element and its children","description":"Deletes a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E. \u003Cbr\u003E If element is a folder, all child elements will be deleted as well. Elements are moved into the Recycle Bin before deletion.\n","operationId":"element_delete","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Successfully deleted element"},"201":{"description":"Successfully created jobRun for deleting element and its children","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/delete-info\/{id}":{"get":{"tags":["Elements"],"summary":"Get delete info of the element by id and element type path parameter","description":"Get delete info for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an existing ID of an element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"element_get_delete_info","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Get delete info for an element","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeleteInfo"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/folder\/{parentId}":{"post":{"tags":["Elements"],"summary":"Create a new element folder","description":"Creating a new folder by \u003Cstrong\u003E{parentId}\u003C\/strong\u003E and \u003Cstrong\u003E{elementType}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of an existing folder or element. \u003Cbr\u003E\nFor additional body parameters see the schema \u003Cstrong\u003EFolderData\u003C\/strong\u003E\n","operationId":"element_folder_create","parameters":[{"name":"parentId","in":"path","description":"ParentId of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FolderData"}}}},"responses":{"200":{"description":"Successfully created folder"},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/context-permissions\/":{"get":{"tags":["Elements"],"summary":"Get context permissions for the element type path parameter","description":"Get the context permission list relevant for the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"element_get_context_permissions","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Context permission list","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/AssetContextPermissions"},{"$ref":"#\/components\/schemas\/DataObjectContextPermissions"},{"$ref":"#\/components\/schemas\/DocumentContextPermissions"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/location\/{id}\/{perspectiveId}":{"get":{"tags":["Elements"],"summary":"Get location data of the element by id, element type and perspective id path parameter","description":"Get the location data of the element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E, \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{perspectiveId}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{ids}\u003C\/strong\u003E must be an existing ID of an element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and existing perspective ID.\n","operationId":"element_get_tree_location","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"perspectiveId","in":"path","description":"Get perspective by matching Id","required":true,"schema":{"type":"string","example":"d061699e_da42_4075_b504_c2c93c687819"}}],"responses":{"200":{"description":"Location data of the element","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/LocationData"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/path":{"get":{"tags":["Elements"],"summary":"Get ID of the element by path query parameter and element type path parameter","description":"Get the element ID based on the given \u003Cstrong\u003E{path}\u003C\/strong\u003E and \u003Cstrong\u003E{elementType}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{path}\u003C\/strong\u003E must be a valid path of an existing element with provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E\n","operationId":"element_get_id_by_path","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"elementPath","in":"query","description":"Filter elements by matching element path.","required":true,"schema":{"type":"string","example":"path\/to\/element"}}],"responses":{"200":{"description":"element_get_id_by_path_response_description","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of the element","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/subtype\/{id}":{"get":{"tags":["Elements"],"summary":"Get subtype of the element by id and element type path parameter","description":"Get the subtype of the element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an existing ID of an element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"element_get_subtype","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Subtype of the element","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Subtype"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/resolve":{"get":{"tags":["Elements"],"summary":"Get ID of the element with given search term","description":"Get the element ID based on the given \u003Cstrong\u003E{searchTerm}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{searchTerm}\u003C\/strong\u003E must be a valid ID or Path of an existing element. \u003Cbr\u003E The \u003Cstrong\u003E{searchTerm}\u003C\/strong\u003E can be modified via the \u003Cstrong\u003EElementResolveEvent\u003C\/strong\u003E.\n","operationId":"element_resolve_by_search_term","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"searchTerm","in":"query","description":"Search term to filter elements by.","required":true,"schema":{"type":"string","example":"83"}}],"responses":{"200":{"description":"ID of the element with given search term","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of the element","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/blocklist":{"get":{"tags":["E-Mails"],"summary":"Get paginated collection of blocklist entries","description":"Get paginated E-Mail blocklist entries. \u003Cbr\u003E\nYou can use different query parameters to filter the E-Mail blocklist\n","operationId":"email_blocklist_get_collection","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"email","in":"query","description":"Email address to be filtered by","required":false,"schema":{"type":"string","example":"mail@mail.com"}}],"responses":{"200":{"description":"Paginated E-Mail blocklist entries with total count as header param","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/BlocklistEntry"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["E-Mails"],"summary":"Add an E-mail address to the blocklist","description":"Add an E-mail address to the blocklist. \u003Cbr\u003E The E-mail address has to be compliant with the PHP validate filter.\n","operationId":"email_blocklist_add","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmailAddressParameter"}}}},"responses":{"200":{"description":"Successfully added E-mail address to blocklist"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["E-Mails"],"summary":"Delete an E-mail address from the blocklist","description":"Delete an E-mail address from the blocklist with the given \u003Cstrong\u003E{email}\u003C\/strong\u003E \u003Cbr\u003E The E-mail address has to be present in the blocklist.\n","operationId":"email_blocklist_delete","parameters":[{"name":"email","in":"query","description":"Email address to be deleted from blocklist","required":false,"schema":{"type":"string","example":"mail@mail.com"}}],"responses":{"200":{"description":"Successfully deleted E-mail address from blocklist"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails":{"get":{"tags":["E-Mails"],"summary":"Get paginated collection of E-Mail log entries","description":"Get paginated E-Mail log entries. \u003Cbr\u003E\nYou can use different query parameters to filter the E-Mail logs\n","operationId":"email_log_get_collection","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}}],"responses":{"200":{"description":"Paginated E-Mail log entries with total count as header param","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/EmailLogEntry"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}":{"get":{"tags":["E-Mails"],"summary":"Get an E-Mail log entry by ID","description":"Get the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"E-Mail log entry data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmailLogEntryDetail"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["E-Mails"],"summary":"Delete E-Mail log entry","description":"Delete the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_delete","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully deleted E-Mail log entry"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/html":{"get":{"tags":["E-Mails"],"summary":"Get HTML content of an E-Mail log entry by ID","description":"Get the HTML content of the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_get_html","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"HTML content of the E-Mail log entry","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Email log entry HTML data.","type":"string","example":"\u003Cp\u003ESome email HTML content\u003C\/p\u003E"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/params":{"get":{"tags":["E-Mails"],"summary":"Get parameters of an E-Mail log entry by ID","description":"Get the parameters of the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_get_params","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Parameters of the E-Mail log entry","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Email log entry parameters","type":"array","items":{"$ref":"#\/components\/schemas\/EmailLogEntryParameter"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/text":{"get":{"tags":["E-Mails"],"summary":"Get text content of an E-Mail log entry by ID","description":"Get the text content of the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_get_text","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Text content of the E-Mail log entry","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Email log entry text data.","type":"string","example":"Some email text content"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/forward":{"post":{"tags":["E-Mails"],"summary":"Forward and existing E-Mail log entry","description":"Forward the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E to the given \u003Cstrong\u003E{email}\u003C\/strong\u003E\n","operationId":"email_log_forward_by_id","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmailAddressParameter"}}}},"responses":{"200":{"description":"E-Mail was successfully forwarded"},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/resend":{"post":{"tags":["E-Mails"],"summary":"Resend an existing E-Mail log entry","description":"Resend the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_resend_by_id","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"E-Mail was successfully resent"},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/test":{"post":{"tags":["E-Mails"],"summary":"Send a test E-Mail","description":"Send a test E-Mail based on the provided query parameters. \u003Cbr\u003E See the full description of request fields with the schema \u003Cstrong\u003ESendEmailParameters\u003C\/strong\u003E\n","operationId":"email_send_test","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SendEmailParameters"}}}},"responses":{"200":{"description":"E-Mail was successfully sent"},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/execution-engine\/abort\/{jobRunId}":{"post":{"tags":["Execution Engine"],"summary":"Abort Job Run by Id","description":"Abort Job Run","operationId":"execution_engine_abort_job_run_by_id","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/export\/download\/csv\/{jobRunId}":{"get":{"tags":["Export"],"summary":"Download CSV file for job run id","description":"Download the CSV file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create csv endpoint\n","operationId":"export_download_csv","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"CSV File as attachment","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/csv":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Export"],"summary":"Delete CSV export file based on jobRunId","description":"Delete the CSV file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create csv endpoint\n","operationId":"export_delete_csv","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/export\/csv":{"post":{"tags":["Export"],"summary":"Creating CSV file for elements","description":"Creating the CSV file for elements. \u003Cbr\u003E Parameters are: \u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Eelements\u003C\/strong\u003E: Array of element ids\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: Describes the columns that should be exported. Can be obtained via the grid endpoint\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Econfig\u003C\/strong\u003E: Delimiter and header options\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003EelementType\u003C\/strong\u003E: Type of element that should be exported\u003C\/li\u003E\n\u003C\/ul\u003E \nDelimiter can be set to anything, but the default is a \u003Cstrong\u003Esemicolon\u003C\/strong\u003E \u003Cbr\u003E \nHeader options are: \u003Cstrong\u003Eno_header\u003C\/strong\u003E, \u003Cstrong\u003Etitle\u003C\/strong\u003E and \u003Cstrong\u003Ename\u003C\/strong\u003E\u003Cbr\u003E\nDownload has to be triggered separately via the csv download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"export_csv","requestBody":{"content":{"application\/json":{"schema":{"properties":{"elements":{"type":"array","items":{"type":"integer"},"example":[83]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"config":{"properties":{"header":{"type":"string","enum":["id","custom_report_config","custom_report_to_export","element_to_export","element_type","folder_to_export","grid_export_data","grid_export_data_info","config","columns","filters","delimiter","header","no_header","title","name","\r\n","array","int","string","bool"],"example":"title"},"delimiter":{"type":"string","example":";"}},"type":"object"},"elementType":{"type":"string","enum":["data-object","object","asset","document"],"example":"asset"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for csv export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/export\/csv\/folder":{"post":{"tags":["Export"],"summary":"Creating CSV file for elements based on folder","description":"Creating the CSV file for elements based on the folder. \u003Cbr\u003E Parameters are: \u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Efolders\u003C\/strong\u003E: Array of folder ids\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: Describes the columns that should be exported. Can be obtained via the grid endpoint. For folders you can also use filters and sorting\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Efilters\u003C\/strong\u003E: Filter elements from folder based on the grid filter schema\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Econfig\u003C\/strong\u003E: Delimiter and header options\u003C\/li\u003E\n\u003C\/ul\u003E \nDelimiter can be set to anything, but the default is a \u003Cstrong\u003Esemicolon\u003C\/strong\u003E \u003Cbr\u003E \nHeader options are: \u003Cstrong\u003Eno_header\u003C\/strong\u003E, \u003Cstrong\u003Etitle\u003C\/strong\u003E and \u003Cstrong\u003Ename\u003C\/strong\u003E\u003Cbr\u003E\nDownload has to be triggered separately via the csv download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"export_csv_folder","requestBody":{"content":{"application\/json":{"schema":{"properties":{"folders":{"type":"array","items":{"type":"integer"},"example":[1]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"},"config":{"properties":{"header":{"type":"string","enum":["id","custom_report_config","custom_report_to_export","element_to_export","element_type","folder_to_export","grid_export_data","grid_export_data_info","config","columns","filters","delimiter","header","no_header","title","name","\r\n","array","int","string","bool"],"example":"title"},"delimiter":{"type":"string","example":";"}},"type":"object"},"elementType":{"type":"string","enum":["data-object","object","asset","document"],"example":"asset"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for csv export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/export\/download\/xlsx\/{jobRunId}":{"get":{"tags":["Export"],"summary":"Download XLSX file for job run id","description":"Download the XLSX file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create export endpoint\n","operationId":"export_download_xlsx","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"XLSX File as attachment","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Export"],"summary":"Delete XLSX export file based on jobRunId","description":"Delete the XLSX file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create export endpoint\n","operationId":"export_delete_xlsx","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/export\/xlsx":{"post":{"tags":["Export"],"summary":"Creating XLSX file export for elements","description":"Creating the XLSX file for elements. \u003Cbr\u003E Parameters are: \u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Eelements\u003C\/strong\u003E: Array of element ids\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: Describes the columns that should be exported. Can be obtained via the grid endpoint\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Econfig\u003C\/strong\u003E: Header options\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003EelementType\u003C\/strong\u003E: Type of element that should be exported\u003C\/li\u003E\n\u003C\/ul\u003E\nHeader options are: \u003Cstrong\u003Eno_header\u003C\/strong\u003E, \u003Cstrong\u003Etitle\u003C\/strong\u003E and \u003Cstrong\u003Ename\u003C\/strong\u003E\u003Cbr\u003E\nDownload has to be triggered separately via the xlsx download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"export_xlsx","requestBody":{"content":{"application\/json":{"schema":{"properties":{"elements":{"type":"array","items":{"type":"integer"},"example":[83]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"config":{"properties":{"header":{"type":"string","enum":["id","custom_report_config","custom_report_to_export","element_to_export","element_type","folder_to_export","grid_export_data","grid_export_data_info","config","columns","filters","delimiter","header","no_header","title","name","\r\n","array","int","string","bool"],"example":"title"}},"type":"object"},"elementType":{"type":"string","enum":["data-object","object","asset","document"],"example":"asset"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for XLSX export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/export\/xlsx\/folder":{"post":{"tags":["Export"],"summary":"Creating XLSX file for elements based on folder","description":"Creating the XLSX file for elements based on the folder. \u003Cbr\u003E Parameters are: \u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Efolders\u003C\/strong\u003E: Array of folder ids\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: Describes the columns that should be exported. Can be obtained via the grid endpoint. For folders you can also use filters and sorting\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Efilters\u003C\/strong\u003E: Filter elements from folder based on the grid filter schema\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Econfig\u003C\/strong\u003E: Header options\u003C\/li\u003E\n\u003C\/ul\u003E \nHeader options are: \u003Cstrong\u003Eno_header\u003C\/strong\u003E, \u003Cstrong\u003Etitle\u003C\/strong\u003E and \u003Cstrong\u003Ename\u003C\/strong\u003E\u003Cbr\u003E\nDownload has to be triggered separately via the xlsx download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"export_xlsx_folder","requestBody":{"content":{"application\/json":{"schema":{"properties":{"folders":{"type":"array","items":{"type":"integer"},"example":[1]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"},"config":{"properties":{"header":{"type":"string","enum":["id","custom_report_config","custom_report_to_export","element_to_export","element_type","folder_to_export","grid_export_data","grid_export_data_info","config","columns","filters","delimiter","header","no_header","title","name","\r\n","array","int","string","bool"],"example":"title"}},"type":"object"},"elementType":{"type":"string","enum":["data-object","object","asset","document"],"example":"asset"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for XLSX export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/mercure\/auth":{"post":{"tags":["Mercure"],"summary":"Retrieve JWT token for Mercure hub as cookie","description":"Retrieve JWT token for Mercure hub as cookie","operationId":"mercure_create_cookie","responses":{"200":{"description":"Retrieve JWT token for Mercure hub as cookie"},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/custom-metadata":{"get":{"tags":["Metadata"],"summary":"Get custom metadata of an asset by ID","description":"Retrieves custom metadata based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset\n","operationId":"asset_custom_metadata_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved custom metadata as JSON","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/CustomMetadata"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/metadata":{"post":{"tags":["Metadata"],"summary":"Get predefined metadata collection","description":"Get predefined metadata collection with basic filter options","operationId":"metadata_get_collection","requestBody":{"required":false,"content":{"application\/json":{"schema":{"properties":{"filter":{"type":["string","null"],"example":"author"}},"type":"object"}}}},"responses":{"200":{"description":"Predefined metadata collection","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/PredefinedMetadata"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notes":{"post":{"tags":["Notes"],"summary":"Get paginated notes","description":"Get paginated notes. \u003Cbr\u003E\nYou can use different query parameters to filter the notes\n","operationId":"note_get_collection","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["page","pageSize"],"properties":{"page":{"type":"integer","example":1},"pageSize":{"type":"integer","example":50},"sortOrder":{"description":"Sort order (asc or desc).","type":"string","enum":["ASC","DESC"],"example":"ASC"},"sortBy":{"description":"Sort by field. Only works in combination with sortOrder.","type":"string","enum":["id","type","cId","cType","cPath","date","title","description","locked"],"example":"id"},"filter":{"description":"Filter for notes","type":"string","example":""},"fieldFilters":{"description":"Filter for specific fields, will be json decoded to an array. e.g.\n [{\u0022operator\u0022:\u0022like\u0022,\u0022value\u0022:\u0022John\u0022,\u0022field\u0022:\u0022name\u0022,\u0022type\u0022:\u0022string\u0022}]","type":"object","example":"[{\u0022operator\u0022:\u0022like\u0022,\u0022value\u0022:\u0022consent-given\u0022,\u0022field\u0022:\u0022type\u0022,\u0022type\u0022:\u0022string\u0022}]"}},"type":"object"}}}},"responses":{"200":{"description":"Paginated notes with total count","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Note"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notes\/{id}":{"delete":{"tags":["Notes"],"summary":"Delete note with given id","description":"Delete the note with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"note_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"note_delete_by_id_success_description"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notes\/{elementType}\/{id}":{"get":{"tags":["Notes"],"summary":"Get paginated notes for an element by id","description":"Get paginated notes for a specific element by its \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nYou can use different query parameters to filter the notes\n","operationId":"note_element_get_collection","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":50}},{"name":"sortBy","in":"query","description":"Sort by field. Only works in combination with sortOrder.","required":false,"schema":{"type":"string","enum":["id","type","cId","cType","cPath","date","title","description","locked"],"example":"id"}},{"name":"sortOrder","in":"query","description":"Sort order (asc or desc).","required":false,"schema":{"type":"string","enum":["ASC","DESC"],"example":"ASC"}},{"name":"filter","in":"query","description":"Filter for notes","required":false,"schema":{"type":"string","example":"notes"}},{"name":"fieldFilters","in":"query","description":"Filter for specific fields, will be json decoded to an array. e.g.\n [{\u0022operator\u0022:\u0022like\u0022,\u0022value\u0022:\u0022John\u0022,\u0022field\u0022:\u0022name\u0022,\u0022type\u0022:\u0022string\u0022}]","required":false,"schema":{"type":"string","example":"[{\u0022operator\u0022:\u0022like\u0022,\u0022value\u0022:\u0022John\u0022,\u0022field\u0022:\u0022name\u0022, \u0022type\u0022:\u0022string\u0022}]"}}],"responses":{"200":{"description":"Paginated notes with total count","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Note"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Notes"],"summary":"Create a new note for element with given id","description":"Create a new note for the element with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe note will be created for the current user.\n","operationId":"note_element_create","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateNote"}}}},"responses":{"200":{"description":"Created note for element","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Note"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notes\/type\/{elementType}":{"get":{"tags":["Notes"],"summary":"Get note types","description":"Get note types collection by \u003Cstrong\u003E{elementType}\u003C\/strong\u003E","operationId":"note_element_get_type_collection","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Note types collection","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/NoteType"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notifications":{"post":{"tags":["Notifications"],"summary":"Get paginated notifications","description":"Get all paginated notifications for current user. \u003Cbr\u003E You can specify different filters in your request body. Available filters are: \u003Cbr\u003E\n\u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Etitle\u003C\/strong\u003E: Filter by title string\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003EcreationDate\u003C\/strong\u003E: Filter by creation date (on, from, to)\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Epage\u003C\/strong\u003E: Used for offset calculation in pagination. To be used, needs to be defined together with the page.size\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Epage.size\u003C\/strong\u003E: Used for limiting the result numbers per page. To be used, needs to be defined together with the page\u003C\/li\u003E\n\u003C\/ul\u003E\n","operationId":"notification_get_collection","requestBody":{"required":true,"content":{"application\/json":{"schema":{"properties":{"filters":{"properties":{"page":{"type":"integer","example":1},"pageSize":{"type":"integer","example":50},"includeDescendants":{"type":"boolean","example":false},"columnFilters":{"type":"object","example":"[{\u0022key\u0022:\u0022creationDate\u0022, \u0022type\u0022:\u0022date\u0022, \u0022filterValue\u0022:{\u0022operator\u0022: \u0022on\u0022, \u0022value\u0022: \u002208\/20\/2024\u0022}},{\u0022key\u0022:\u0022title\u0022, \u0022type\u0022:\u0022like\u0022, \u0022filterValue\u0022: \u0022notification\u0022},{\u0022key\u0022:\u0022type\u0022, \u0022type\u0022:\u0022equals\u0022, \u0022filterValue\u0022: \u0022info\u0022}]"},"sortFilter":{"type":"object","example":"{\u0022key\u0022:\u0022creationDate\u0022, \u0022direction\u0022:\u0022DESC\u0022}"}},"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Paginated notifications with total count","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/NotificationListItem"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Notifications"],"summary":"Delete all user notifications","description":"Delete all notifications for the current user","operationId":"notification_delete_all","responses":{"200":{"description":"Successfully deleted all notifications"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notifications\/{id}":{"get":{"tags":["Notifications"],"summary":"Get notification by ID","description":"Get the notification with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E Current user can only get notifications, where he is the recipient.\n","operationId":"notification_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the notification","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Notification data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Notification"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Notifications"],"summary":"Mark notification as read","description":"Mark the notification with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E as read. \u003Cbr\u003E Current user can only mark notifications as read, where he is the recipient.\n","operationId":"notification_read_by_id","parameters":[{"name":"id","in":"path","description":"Id of the notification","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully marked notification as read"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Notifications"],"summary":"Delete notification with given id","description":"Delete the notification with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E Current user can only delete notifications, where he is the recipient.\n","operationId":"notification_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the notification","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully deleted notification"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notifications\/send":{"post":{"tags":["Notifications"],"summary":"Send a notification","description":"Send a notification to the given \u003Cstrong\u003E{recipientId}\u003C\/strong\u003E. \u003Cbr\u003E See the full description of request fields with the schema \u003Cstrong\u003ESendNotificationParameters\u003C\/strong\u003E\n","operationId":"notification_send","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SendNotificationParameters"}}}},"responses":{"200":{"description":"Successfully sent notification"},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/perspectives\/configuration":{"post":{"tags":["Perspectives"],"summary":"Create a new perspective","description":"Create a new perspective with default values.\n","operationId":"perspective_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AddPerspectiveConfig"}}}},"responses":{"200":{"description":"Id of the new perspective"},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/perspectives\/configurations":{"get":{"tags":["Perspectives"],"summary":"Get all perspective configurations","description":"Listing of all available perspectives","operationId":"perspective_get_config_collection","responses":{"200":{"description":"List of perspective configurations","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/PerspectiveConfig"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/perspectives\/configuration\/{perspectiveId}":{"get":{"tags":["Perspectives"],"summary":"Get perspective configuration by ID","description":"Get the perspective configuration with the given \u003Cstrong\u003E{perspectiveId}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{perspectiveId}\u003C\/strong\u003E must be an ID of an existing perspective.\n","operationId":"perspective_get_config_by_id","parameters":[{"name":"perspectiveId","in":"path","description":"Get perspective by matching Id","required":true,"schema":{"type":"string","example":"studio_default_perspective"}}],"responses":{"200":{"description":"Perspective configuration data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PerspectiveConfigDetail"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Perspectives"],"summary":"Update widget configuration by id and type","description":"Update the perspective configuration with the given \u003Cstrong\u003E{perspectiveId}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{perspectiveId}\u003C\/strong\u003E must be an ID of an existing perspective. \u003Cbr\u003E\nPlease note that \u003Cstrong\u003Eall configuration fields\u003Cstrong\u003E have to be provided.\n","operationId":"perspective_update_config_by_id","parameters":[{"name":"perspectiveId","in":"path","description":"Update perspective by matching Id","required":true,"schema":{"type":"string","example":"d061699e_da42_4075_b504_c2c93c687819"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SavePerspectiveConfig"}}}},"responses":{"200":{"description":"Successfully updated perspective configuration"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Perspectives"],"summary":"Delete perspective by given id","description":"Delete the perspective with the given \u003Cstrong\u003E{perspectiveId}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{perspectiveId}\u003C\/strong\u003E must be an ID of an existing perspective.\n","operationId":"perspective_delete","parameters":[{"name":"perspectiveId","in":"path","description":"Get perspective by matching Id","required":true,"schema":{"type":"string","example":"d061699e_da42_4075_b504_c2c93c687819"}}],"responses":{"200":{"description":"Successfully deleted perspective"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/perspectives\/widgets\/{widgetType}\/configuration":{"post":{"tags":["Perspectives"],"summary":"Create a new widget","description":"Create a new widget with default values based on the provided \u003Cstrong\u003E{widgetType}\u003C\/strong\u003E.\n\u003Cbr\u003E The widget type has to be registered via Symfony Configuration.\n\u003Cbr\u003E Please note that \u003Cstrong\u003E{name}\u003C\/strong\u003E has to be provided.\n","operationId":"perspective_widget_create","parameters":[{"name":"widgetType","in":"path","description":"Create widget by matching widget type","required":true,"schema":{"type":"string","example":"element_tree"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"properties":{"name":{"type":["string","null"]}},"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Id of the new widget"},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/perspectives\/widgets\/configurations":{"get":{"tags":["Perspectives"],"summary":"Get all widget configurations","description":"Listing of all available widget configurations","operationId":"perspective_widget_get_config_collection","responses":{"200":{"description":"List of widget configurations","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/WidgetConfig"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/perspectives\/widgets\/{widgetType}\/configuration\/{widgetId}":{"get":{"tags":["Perspectives"],"summary":"Get widget configuration by id and type","description":"Get the widget configuration with the given \u003Cstrong\u003E{widgetId}\u003C\/strong\u003E and \u003Cstrong\u003E{widgetType}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{widgetId}\u003C\/strong\u003E must be an ID of an existing widget. The widget type has to be registered via Symfony Configuration.\n","operationId":"perspective_widget_get_config_by_id","parameters":[{"name":"widgetId","in":"path","description":"Filter widgets by matching widget Id","required":true,"schema":{"type":"string","example":"d061699e_da42_4075_b504_c2c93c687819"}},{"name":"widgetType","in":"path","description":"Filter widgets by matching widget type","required":true,"schema":{"type":"string","example":"element_tree"}}],"responses":{"200":{"description":"Widget configuration data as JSON","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Data of the widget configuration","type":"string","example":"Test content"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Perspectives"],"summary":"Update widget configuration by id and type","description":"Update the widget configuration with the given \u003Cstrong\u003E{widgetId}\u003C\/strong\u003E and \u003Cstrong\u003E{widgetType}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{widgetId}\u003C\/strong\u003E must be an ID of an existing widget. The widget type has to be registered via Symfony Configuration. \u003Cbr\u003E\nPlease note that \u003Cstrong\u003Eall configuration fields\u003Cstrong\u003E have to be provided.\n","operationId":"perspective_widget_update_config_by_id","parameters":[{"name":"widgetId","in":"path","description":"Update widget by matching widget Id","required":true,"schema":{"type":"string","example":"d061699e_da42_4075_b504_c2c93c687819"}},{"name":"widgetType","in":"path","description":"Update widget by matching widget type","required":true,"schema":{"type":"string","example":"element_tree"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"properties":{"name":{"type":["string","null"]}},"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Successfully updated widget configuration"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Perspectives"],"summary":"Delete widget with given id and type","description":"Delete the widget with the given \u003Cstrong\u003E{widgetId}\u003C\/strong\u003E and \u003Cstrong\u003E{widgetType}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{widgetId}\u003C\/strong\u003E must be an ID of an existing widget. The widget type has to be registered via Symfony Configuration.\n","operationId":"perspective_widget_delete","parameters":[{"name":"widgetId","in":"path","description":"Filter widgets by matching widget Id","required":true,"schema":{"type":"string","example":"d061699e_da42_4075_b504_c2c93c687819"}},{"name":"widgetType","in":"path","description":"Filter widgets by matching widget type","required":true,"schema":{"type":"string","example":"element_tree"}}],"responses":{"200":{"description":"Successfully deleted widget"},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/perspectives\/widgets\/types":{"get":{"tags":["Perspectives"],"summary":"Get widget types","description":"Get widget types collection","operationId":"perspective_widget_get_type_collection","responses":{"200":{"description":"List of widget types","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/WidgetType"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/properties":{"get":{"tags":["Properties"],"summary":"Get all predefined properties. You can filter by type and query","description":"Listing all the predefined properties that are currently stored in the system. \u003Cbr\u003E\nTo list specific properties for a type you can use the \u003Cstrong\u003EelementType\u003C\/strong\u003E query parameter.\u003Cbr\u003E\nYou can also created element type specific listings for this, to show in the context of the element. \u003Cbr\u003E\nThe \u003Cstrong\u003Efilter\u003C\/strong\u003E query parameter is applied on the name of the property. \u003Cbr\u003E\nKeep in mind that the name is language specific.\n","operationId":"property_get_collection","parameters":[{"name":"elementType","in":"query","description":"Filter elements by matching element type.","required":false,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"filter","in":"query","description":"Filter for properties","required":false,"schema":{"type":"string","example":"properties"}}],"responses":{"200":{"description":"Predefined properties filtered based on type and query parameters","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/PredefinedProperty"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/property":{"post":{"tags":["Properties"],"summary":"Creating new property with default values","description":"Creating the property with default values. \u003Cbr\u003E\n\u003Cul\u003E\n \u003Cli\u003EName: New Property\u003C\/li\u003E\n \u003Cli\u003EKey: new_key\u003C\/li\u003E\n \u003Cli\u003EType: Text\u003C\/li\u003E\n \u003Cli\u003EElement Type: Document (Ctype)\u003C\/li\u003E\n\u003C\/ul\u003E\n","operationId":"property_create","responses":{"200":{"description":"Created predefined property with default values","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PredefinedProperty"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/properties\/{id}":{"put":{"tags":["Properties"],"summary":"Updating a property","description":"Updating the property with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nSee the full description of updatable fields with the schema \u003Cstrong\u003EUpdatePredefinedProperty\u003C\/strong\u003E\n","operationId":"property_update","parameters":[{"name":"id","in":"path","description":"Id of the property","required":true,"schema":{"type":"string","example":"alpha-numerical"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdatePredefinedProperty"}}}},"responses":{"200":{"description":"Updated predefined property","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PredefinedProperty"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Properties"],"summary":"Delete property with given id","description":"Deleting the property with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nIf the property is used in any element, it will not be deleted.\n","operationId":"property_delete","parameters":[{"name":"id","in":"path","description":"Id of the property","required":true,"schema":{"type":"string","example":"alpha-numerical"}}],"responses":{"200":{"description":"Successfully deleted property with given id"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/properties\/{elementType}\/{id}":{"get":{"tags":["Properties"],"summary":"Get properties for an element based on the element type and the element id","description":"List all the saved properties of the element. \u003Cbr\u003E\nKeep in mind that inherited properties should not be send back in an update request. \u003Cbr\u003E\nThis will result in the loss of the inheritance. \u003Cbr\u003E\n","operationId":"property_get_collection_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Element Properties data as json","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/ElementProperty"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role\/clone\/{id}":{"post":{"tags":["Role Management"],"summary":"Clone a specific Role.","operationId":"role_clone_by_id","parameters":[{"name":"id","in":"path","description":"Id of the role","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"properties":{"name":{"type":"string","example":"Cloned Role"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the cloned Role.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role\/folder":{"post":{"tags":["Role Management"],"summary":"Create a new role folder.","operationId":"role_folder_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["parentId","name"],"properties":{"parentId":{"type":["integer","null"],"minimum":1},"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the new created Folder","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role":{"post":{"tags":["Role Management"],"summary":"Create a new role.","operationId":"role_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["parentId","name"],"properties":{"parentId":{"type":["integer","null"],"minimum":1},"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the new created Role.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role\/folder\/{id}":{"delete":{"tags":["Role Management"],"summary":"Delete a specific folder with all sub roles.","operationId":"role_folder_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the folder","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role\/{id}":{"get":{"tags":["Role Management"],"summary":"Get all available user roles.","operationId":"role_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the role","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of available user roles.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedRole"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Role Management"],"summary":"Update role by id.","operationId":"role_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the Role","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateRole"}}}},"responses":{"200":{"description":"Updated data.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedRole"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Role Management"],"summary":"Delete a specific role.","operationId":"role_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the role","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/roles":{"get":{"tags":["Role Management"],"summary":"Get all available roles.","description":"Get all available roles with basic information","operationId":"role_get_collection","responses":{"200":{"description":"List of available roles.","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/SimpleRole"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/roles\/tree":{"get":{"tags":["Role Management"],"summary":"Get collection of roles for tree view.","operationId":"role_get_tree","parameters":[{"name":"parentId","in":"query","description":"Filter roles by parent id.","required":true,"schema":{"type":"integer","minimum":0,"example":0}}],"responses":{"200":{"description":"Collection of roles including folders for the given parent id.","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/TreeNode"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/schedules\/{id}":{"delete":{"tags":["Schedule"],"summary":"Delete schedule with given id","description":"Deletes a specific schedule based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E.\n","operationId":"schedule_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the schedule","required":true,"schema":{"type":"integer","example":123}}],"responses":{"200":{"description":"Successfully deleted schedule"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/schedules\/{elementType}\/{id}":{"get":{"tags":["Schedule"],"summary":"Get schedules for an element","description":"Get all schedules for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\n","operationId":"schedule_get_collection_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of schedules for element","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Schedule"],"summary":"Update schedules for an element","description":"Update schedules for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nSee the full description of updatable fields with the schema \u003Cstrong\u003EUpdateSchedule\u003C\/strong\u003E\n","operationId":"schedule_update_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateSchedule"}}},"type":"object"}}}},"responses":{"200":{"description":"List of updated schedules","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Schedule"],"summary":"Create a schedule for element","description":"Create a new schedule with default values for the element with the given type \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe schedule will be created for the current user.\n","operationId":"schedule_create_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Created schedule for element","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/search\/configuration\/assets":{"get":{"tags":["Search"],"summary":"Get asset search configuration","description":"Get asset configuration","operationId":"asset_get_search_configuration","responses":{"200":{"description":"Asset search configuration","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedConfiguration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/search\/assets":{"post":{"tags":["Search"],"summary":"Get asset data for search","description":"Asset grid for search","operationId":"asset_get_search","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["columns"],"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"200":{"description":"Assets for search grid","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"required":["id","columns","isLocked","permissions"],"type":"array","items":{"properties":{"id":{"type":"integer"},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnData"}},"isLocked":{"type":"boolean"},"permissions":{"$ref":"#\/components\/schemas\/Permissions"}},"type":"object"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/search\/configuration\/data-objects":{"get":{"tags":["Search"],"summary":"Get data object search configuration","description":"Get data object search configuration","operationId":"data_object_get_search_configuration","parameters":[{"name":"classId","in":"query","description":"Class Id of the data object","required":false,"schema":{"type":"string","example":"EV"}}],"responses":{"200":{"description":"Data object search configuration","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedConfiguration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/search\/data-objects":{"post":{"tags":["Search"],"summary":"Get data object search results","description":"Get data object search results","operationId":"data_object_get_search","parameters":[{"name":"classId","in":"query","description":"Class Id of the data object","required":false,"schema":{"type":"string","example":"EV"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["columns"],"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"200":{"description":"Data object search results","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"required":["id","columns","isLocked","permissions"],"type":"array","items":{"properties":{"id":{"type":"integer"},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnData"}},"isLocked":{"type":"boolean"},"permissions":{"$ref":"#\/components\/schemas\/Permissions"}},"type":"object"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/search\/preview\/{elementType}\/{id}":{"get":{"tags":["Search"],"summary":"Preview for element search result","description":"Returns search preview for elements based on the given type \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"simple_search_preview_get","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Simple search results preview for elements","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/AssetSearchPreview"},{"$ref":"#\/components\/schemas\/DataObjectSearchPreview"},{"$ref":"#\/components\/schemas\/DocumentSearchPreview"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/search":{"get":{"tags":["Search"],"summary":"Search for elements","description":"Search for elements based on the given \u003Cstrong\u003E{search term}\u003C\/strong\u003E. \u003Cbr\u003E\nElements are searched with the fulltext filter applied via Generic Data Index. \u003Cbr\u003E\n","operationId":"simple_search_get","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"searchTerm","in":"query","description":"Search term","required":false,"schema":{"type":"string","example":null}}],"responses":{"200":{"description":"Search results for elements","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/SimpleSearchResult"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/settings":{"get":{"tags":["Settings"],"summary":"Get system settings","description":"Get system settings from different providers. \u003Cbr\u003E\nSystem settings are public and need no login.\n","operationId":"system_settings_get","responses":{"200":{"description":"System settings data","content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags":{"get":{"tags":["Tags"],"summary":"Get all tags for a parent","description":"Get all tags for a \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E\nYou can use different query parameters to filter the tags\n","operationId":"tag_get_collection","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"elementType","in":"query","description":"Filter elements by matching element type.","required":false,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"filter","in":"query","description":"Filter for properties","required":false,"schema":{"type":"string","example":"properties"}},{"name":"parentId","in":"query","description":"Filter tags by parent id.","required":false,"schema":{"type":"integer","minimum":0,"example":1}}],"responses":{"200":{"description":"All tags for a parent filtered based on type and query parameters","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Tag"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tag":{"post":{"tags":["Tags"],"summary":"Create a new tag","description":"Create a new tag. \u003Cbr\u003E See the full description of request fields with the schema \u003Cstrong\u003ECreate Tag Parameters\u003C\/strong\u003E\n","operationId":"tag_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateTagParameters"}}}},"responses":{"200":{"description":"tag_create_success_description","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Tag"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/{id}":{"get":{"tags":["Tags"],"summary":"Get a tag by ID","description":"Retrieves a specific tag data based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"tag_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the tag","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved tag data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Tag"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Tags"],"summary":"Update a tag by ID","description":"Update a specific tag based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nSee the full description of updatable fields with the schema \u003Cstrong\u003EChange Tag Parameters\u003C\/strong\u003E\n","operationId":"tag_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the tag","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateTagParameters"}}}},"responses":{"200":{"description":"Successfully updated tag data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Tag"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Tags"],"summary":"Delete a specific tag","description":"Delete a specific tag based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"tag_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the tag","required":true,"schema":{"type":"integer","example":10}}],"responses":{"200":{"description":"ID of successfully deleted tag","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of deleted tag","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/assign\/{elementType}\/{id}\/{tagId}":{"post":{"tags":["Tags for Element"],"summary":"Assign a tag to an element","description":"Assign a specific tag based on the given \u003Cstrong\u003E{tagId}\u003C\/strong\u003E to an element based on \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"tag_assign_to_element","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"tagId","in":"path","description":"TagId of the tag","required":true,"schema":{"type":"integer","example":83}}],"responses":{"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/batch\/{operation}\/{elementType}\/{id}":{"post":{"tags":["Tags for Element"],"summary":"Batch assign\/replace tags for children elements","description":"Batch assign\/replace multiple tags of the given parent based on the \u003Cstrong\u003E{elementId}\u003C\/strong\u003E and \u003Cstrong\u003E{elementType}\u003C\/strong\u003E to the children. \u003Cbr\u003E\nOperation parameter \u003Cstrong\u003E{operation}\u003C\/strong\u003E must be one of the \u003Cstrong\u003Eassign\u003C\/strong or \u003Cstrong\u003Ereplace\u003C\/strong\u003E.\n","operationId":"tag_batch_operation_to_elements_by_type_and_id","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"operation","in":"path","description":"Execute operation based on provided type.","required":true,"schema":{"type":"string","enum":["assign","replace"],"example":"assign"}}],"responses":{"201":{"description":"Successfully created jobRun for batch tag assignment\/replacement","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/{elementType}\/{id}":{"get":{"tags":["Tags for Element"],"summary":"Get tags for an element","description":"Get paginated tag collection for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"tag_get_collection_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Paginated tags for element","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Tag"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/{elementType}\/{id}\/{tagId}":{"delete":{"tags":["Tags for Element"],"summary":"Unassign a tag from an element","description":"Unassign a specific tag based on the given \u003Cstrong\u003E{tagId}\u003C\/strong\u003E from an element based on \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"tag_unassign_from_element","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"tagId","in":"path","description":"TagId of the tag","required":true,"schema":{"type":"integer","example":83}}],"responses":{"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/thumbnails\/image":{"get":{"tags":["Asset Thumbnails"],"summary":"Get collection of thumbnails for images","description":"Get collection of thumbnails for images. \u003Cbr\u003E\nThe thumbnails have to be defined as downloadable in order to be listed in the collection.\n","operationId":"thumbnail_image_get_collection","responses":{"200":{"description":"All downloadable image thumbnails","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Thumbnail"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/thumbnails\/video":{"get":{"tags":["Asset Thumbnails"],"summary":"Get collection of thumbnails for videos","description":"Get collection of all thumbnails for videos.\n","operationId":"thumbnail_video_get_collection","responses":{"200":{"description":"All video thumbnails","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Thumbnail"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/translations\/create":{"post":{"tags":["Translation"],"summary":"Create translations","description":"Add new translation entries for given translation key\n","operationId":"translation_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateTranslation"}}}},"responses":{"200":{"description":"Successfully created translations"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/translations\/{key}":{"delete":{"tags":["Translation"],"summary":"Delete translations","description":"Delete translations for given translation key","operationId":"translation_delete_by_key","parameters":[{"name":"key","in":"path","description":"Delete translations by matching key","required":true,"schema":{"type":"string","example":"some_key"}}],"responses":{"200":{"description":"translation_delete_by_key_success_description"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/translations":{"put":{"tags":["Translation"],"summary":"Update translations","description":"Update translations for given translation data and locale.The \u003Cstrong\u003E{key}\u003C\/strong\u003E must be an existing translation key. \u003Cbr\u003E \nSee the full description of updatable translation data fields with the schema \u003Cstrong\u003ETranslationData\u003C\/strong\u003E\n","operationId":"translation_update","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateTranslation"}}}},"responses":{"200":{"description":"Successfully updated translations"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Translation"],"summary":"Get translations","description":"Get translations for given keys and locale","operationId":"translation_get_collection","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Translation"}}}},"responses":{"200":{"description":"Key value pairs for given keys and locale","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Translation"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/unit\/quantity-value\/convert-all":{"get":{"tags":["Units"],"summary":"Convert quantity value from one unit to all other related units","description":"Convert quantity \u003Cstrong\u003E{value}\u003C\/strong\u003E from one unit to all other available units based on the given \u003Cstrong\u003E{fromUnitId}\u003C\/strong\u003E. \u003Cbr\u003E\nUnits have to have \u003Cstrong\u003E{fromUnitId}\u003C\/strong\u003E defined as base unit to be considered for conversion.\n","operationId":"unit_quantity_value_convert_all","parameters":[{"name":"fromUnitId","in":"query","description":"Id of the unit to convert from","required":true,"schema":{"type":"string","example":null}},{"name":"value","in":"query","description":"Value to convert.","required":true,"schema":{"anyOf":[{"type":"integer","format":"int32"},{"type":"number","format":"float"}]},"example":5}],"responses":{"200":{"description":"Converted quantity value","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConvertedQuantityValues"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/unit\/quantity-value\/convert":{"get":{"tags":["Units"],"summary":"Convert quantity value from one unit to another","description":"Convert quantity \u003Cstrong\u003E{value}\u003C\/strong\u003E from one unit to another based on the given \u003Cstrong\u003E{fromUnitId}\u003C\/strong\u003E and \u003Cstrong\u003E{toUnitId}\u003C\/strong\u003E\n","operationId":"unit_quantity_value_convert","parameters":[{"name":"fromUnitId","in":"query","description":"Id of the unit to convert from","required":true,"schema":{"type":"string","example":null}},{"name":"toUnitId","in":"query","description":"Id of the unit to convert to","required":true,"schema":{"type":"string","example":null}},{"name":"value","in":"query","description":"Value to convert.","required":true,"schema":{"anyOf":[{"type":"integer","format":"int32"},{"type":"number","format":"float"}]},"example":5}],"responses":{"200":{"description":"Converted quantity value","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Converted value","example":2,"anyOf":[{"type":"float"},{"type":"integer"}]}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/unit\/quantity-value\/unit-list":{"get":{"tags":["Units"],"summary":"List of available quantity value units","description":"List of available quantity value units\n","operationId":"unit_quantity_value_list","responses":{"200":{"description":"List of quantity value units","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/QuantityValueUnit"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/clone\/{id}":{"post":{"tags":["User Management"],"summary":"Clone a specific user.","operationId":"user_clone_by_id","parameters":[{"name":"id","in":"path","description":"Id of the user","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"properties":{"name":{"type":"string","example":"Cloned User"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the cloned user.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/":{"post":{"tags":["User Management"],"summary":"Create a new user.","operationId":"user_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["parentId","name"],"properties":{"parentId":{"type":["integer","null"],"minimum":1},"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the new created User.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/folder":{"post":{"tags":["User Management"],"summary":"Create a new user folder.","operationId":"user_folder_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["parentId","name"],"properties":{"parentId":{"type":["integer","null"],"minimum":1},"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the new created Folder.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/current-user-information":{"get":{"tags":["User Management"],"summary":"Retrieve information\u0027s about the current logged in user.","operationId":"user_get_current_information","responses":{"200":{"description":"Current user information\u0027s.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserInformation"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/{id}":{"get":{"tags":["User Management"],"summary":"Retrieve a specific user by ID.","operationId":"user_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the user","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Node of the requested user.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["User Management"],"summary":"Update user by id.","operationId":"user_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the User","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateUser"}}}},"responses":{"200":{"description":"Updated data.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["User Management"],"summary":"Delete a specific user.","operationId":"user_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the user","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/folder\/{id}":{"delete":{"tags":["User Management"],"summary":"Delete a specific user folder with all users in this folder.","operationId":"user_folder_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the user-folder","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/users\/default-key-bindings":{"get":{"tags":["User Management"],"summary":"Get default key bindings","description":"Get default key bindings for user management\n","operationId":"user_default_key_bindings","responses":{"200":{"description":"List of default key bindings","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/KeyBinding"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/available-permissions":{"get":{"tags":["User Management"],"summary":"Get all available user permissions.","operationId":"user_get_available_permissions","responses":{"200":{"description":"List of available user permissions.","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/UserPermission"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/users":{"get":{"tags":["User Management"],"summary":"Get all users","description":"Get all users with basic information","operationId":"user_get_collection","responses":{"200":{"description":"List of users","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/SimpleUser"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/reset-password":{"post":{"tags":["User Management"],"summary":"Sending username to reset password.","operationId":"user_reset_password","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ResetPassword"}}}},"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E429 - Too Many Requests","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/search":{"get":{"tags":["User Management"],"summary":"Search for users by query. The query can be a part of the username, first name, last name, email or user ID.","operationId":"pimcore_studio_api_user_search","parameters":[{"name":"searchQuery","in":"query","description":"Query to search for an user. This can be a part of username, firstname, lastname, email or id.","required":false,"schema":{"type":"string","example":null}}],"responses":{"200":{"description":"user_search_summary_response","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/SimpleUser"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/active-perspective\/{perspectiveId}":{"put":{"tags":["User Management"],"summary":"Update the active perspective for the current user.","operationId":"user_update_active_perspective","parameters":[{"name":"perspectiveId","in":"path","description":"Set active perspective by Id","required":true,"schema":{"type":"string","example":"d061699e_da42_4075_b504_c2c93c687819"}}],"responses":{"200":{"description":"Updated active perspective for the current user."},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/{id}\/password":{"put":{"tags":["User Management"],"summary":"Update password for a User by the User id.","operationId":"user_update_password_by_id","parameters":[{"name":"id","in":"path","description":"Id of the User","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["password","passwordConfirmation"],"properties":{"password":{"type":"string"},"passwordConfirmation":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/update-profile":{"put":{"tags":["User Management"],"summary":"Update the current user profile","description":"Update the current user profile. \u003Cbr\u003E See the full description of updatable fields with the schema \u003Cstrong\u003EUpdateUserProfile\u003C\/strong\u003E\n","operationId":"user_update_profile","requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateUserProfile"}}}},"responses":{"200":{"description":"Successfully updated user profile","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserInformation"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/upload-image\/{id}":{"post":{"tags":["User Management"],"summary":"Upload user image","operationId":"user_upload_image","parameters":[{"name":"id","in":"path","description":"Id of the User","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["userImage"],"properties":{"userImage":{"description":"User image to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/image\/{id}":{"get":{"tags":["User Management"],"summary":"Get user profile image","operationId":"user_get_image","parameters":[{"name":"id","in":"path","description":"Id of the User","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"User profile image","content":{"image\/png":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/users\/tree":{"get":{"tags":["User Management"],"summary":"Get collection of users for tree view.","operationId":"user_get_tree","parameters":[{"name":"parentId","in":"query","description":"Filter users by parent id.","required":true,"schema":{"type":"integer","minimum":0,"example":0}}],"responses":{"200":{"description":"Collection of users including folders for the given parent id.","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/TreeNode"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{id}\/asset\/download":{"get":{"tags":["Versions"],"summary":"Download asset version by ID","description":"Download the asset version based on the provided version \u003Cstrong\u003E{id}\u003C\/strong\u003E.\n","operationId":"version_asset_download_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Asset version binary file","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{id}\/image\/stream":{"get":{"tags":["Versions"],"summary":"Stream image version thumbnail by ID","description":"Stream the image version thumbnail based on the provided version \u003Cstrong\u003E{id}\u003C\/strong\u003E.\n","operationId":"version_image_stream_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Image thumbnail version stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{id}\/pdf\/stream":{"get":{"tags":["Versions"],"summary":"Stream PDF version by ID","description":"Stream the PDF version based on the provided version \u003Cstrong\u003E{id}\u003C\/strong\u003E.\n","operationId":"version_pdf_stream_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"PDF version stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"application\/pdf":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"202 - Not Completed\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{id}":{"get":{"tags":["Versions"],"summary":"Get a specific version by ID","description":"Retrieves a specific version data based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an id of existing version.\n","operationId":"version_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved version data as JSON","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/AssetVersion"},{"$ref":"#\/components\/schemas\/DataObjectVersion"},{"$ref":"#\/components\/schemas\/DocumentVersion"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Versions"],"summary":"Update a version by ID","description":"Updates a version based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an id of existing version. \u003Cbr\u003E See the full description of updatable fields with the schema \u003Cstrong\u003EUpdateVersion\u003C\/strong\u003E\n","operationId":"version_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateVersion"}}}},"responses":{"200":{"description":"Successfully updated version"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Versions"],"summary":"Publish a specific version by ID","description":"Publishes a specific version based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an id of existing version.\n","operationId":"version_publish_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"ID of the published version","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of published version","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Versions"],"summary":"Delete a specific version","description":"Deletes a specific version based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an id of existing version.\n","operationId":"version_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully deleted version"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{elementType}\/{id}":{"get":{"tags":["Versions"],"summary":"Get versions for an element","description":"List all the versions of the element. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"version_get_collection_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}}],"responses":{"200":{"description":"Paginated element Versions data as JSON with total count as header param","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Version"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Versions"],"summary":"Cleanup all versions for an element","description":"Cleans up all versions for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"version_cleanup_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the ID of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"IDs of the removed versions","content":{"application\/json":{"schema":{"required":["ids"],"properties":{"ids":{"title":"IDs","description":"IDs of deleted versions","type":"array","items":{"type":"integer","example":420}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/workflows\/details":{"get":{"tags":["Workflows"],"summary":"Get all workflow details of an element","description":"Get details of the element workflows based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{elementId}\u003C\/strong\u003E.\n","operationId":"workflow_get_details","parameters":[{"name":"elementId","in":"query","description":"ID of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"query","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Detail data of element workflows","content":{"application\/json":{"schema":{"required":["items","layoutId"],"properties":{"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowDetails"}},"layoutId":{"title":"layoutId","type":"string"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/workflows\/action":{"post":{"tags":["Workflows"],"summary":"Submit workflow action","description":"Submit action based on the workflow name, action name and action type.","operationId":"workflow_action_submit","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SubmitAction"}}}},"responses":{"200":{"description":"Json encoded name of workflow, name and type of submitted action.","content":{"application\/json":{"schema":{"properties":{"workflowName":{"title":"workflowName","type":"string","example":"MyAwesomeWorkflow"},"actionName":{"title":"actionName","type":"string","example":"MyAwesomeAction"},"actionType":{"title":"actionType","type":"string","example":"transition"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/bundle\/amdcd\/configs\/list":{"get":{"tags":["Bundle Asset Metadata Class Definitions"],"summary":"Get all available configs for editor","description":"Get all available configs for editor to be able to add asset metadata class definitions to the asset","operationId":"bundle_amdcd_configs_list","responses":{"200":{"description":"Successfully retrieved listing of all available configs","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/AMDCDListConfig"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/bundle\/amdcd\/configs\/tree":{"get":{"tags":["Bundle Asset Metadata Class Definitions"],"summary":"Get all available configs for tree","description":"Get all available configs for tree based on the \u0022Bundle AMDCD SimpleConfig\u0022","operationId":"bundle_amdcd_configs_tree","responses":{"200":{"description":"Successfully retrieved config data","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/AMDCDSimpleConfig"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}}},"components":{"schemas":{"Document Translation Link":{"required":["language","documentId"],"properties":{"language":{"description":"Language","type":"string","example":"en"},"documentId":{"description":"Document Id","type":"integer","example":83}},"type":"object"},"Document Translation Links":{"required":["language","documentId"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"language":{"description":"Language","type":"string","example":"en"},"translationLinks":{"description":"Translation links","type":"array","items":{"$ref":"#\/components\/schemas\/Document Translation Link"}}},"type":"object"},"Document Translation Parent":{"required":["id","fullPath"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Document Id","type":"integer","example":83},"fullPath":{"description":"Document full path","type":"string","example":"\/path\/to\/document"}},"type":"object"},"Update Site":{"required":["mainDomain","domains","errorDocument","localizedErrorDocuments","redirectToMainDomain"],"properties":{"mainDomain":{"description":"Main domain","type":"string","example":"main_site"},"domains":{"description":"Domains","type":"array","items":{"type":"string"},"example":["other_domain"]},"errorDocument":{"description":"Error document","type":"string","example":"path\/to\/error\/document"},"localizedErrorDocuments":{"description":"Localized error documents","type":"object","example":{"en":"path\/to\/en\/error\/document","de":"path\/to\/de\/error\/document"}},"redirectToMainDomain":{"description":"Redirect to main domain","type":"boolean","example":false}},"type":"object"},"AMDCDLayout":{"title":"AMDCD_Layout","required":["name","dataType","type","region","title","width","height","collapsible","collapsed","bodyStyle","children"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"Name","type":["string","null"],"example":"pimcore_root"},"dataType":{"description":"Data Type","type":"string","example":"layout"},"type":{"description":"Type","type":["string","null"],"example":null},"region":{"description":"Region","type":["string","null"],"example":"center"},"title":{"description":"Title","type":["string","null"],"example":"MyLayout"},"width":{"description":"Width","type":"integer","example":0},"height":{"description":"Height","type":"integer","example":0},"collapsible":{"description":"Collapsible","type":"boolean","example":false},"collapsed":{"description":"Collapsed","type":"boolean","example":false},"bodyStyle":{"description":"Body Style","type":["string","null"],"example":"(float: left;)"},"children":{"description":"Children","type":"array","items":{"type":"object"},"example":"[{id: 1}]"}},"type":"object"},"AMDCDListConfig":{"title":"AMDCD_ListConfig","description":"List version of config","required":["name","title","prefix","iconCls","layoutDefinitions"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"Name","type":"string","example":"Author"},"title":{"description":"title","type":"string","example":"Name of Author"},"prefix":{"description":"Prefix","type":"string","default":"","example":"amcd"},"iconCls":{"description":"Icon Class","type":"string","default":"pimcore_icon_settings","example":"pimcore_icon_settings"},"layoutDefinitions":{"oneOf":[{"$ref":"#\/components\/schemas\/AMDCDLayout","description":"layoutDefinitions"},{"type":"null"}],"description":"layoutDefinitions"}},"type":"object"},"AMDCDSimpleConfig":{"title":"AMDCD_SimpleConfig","description":"Simple version of config","required":["id","name","text","type","iconCls","expandable","leaf"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"Name","type":"string","example":"Author"},"title":{"description":"title","type":"string","example":"Name of Author"},"type":{"description":"Type","type":"string","default":"config","example":"config"},"iconCls":{"description":"Icon Class","type":"string","default":"pimcore_icon_settings","example":"pimcore_icon_settings"},"expandable":{"description":"Is Expandable","type":"boolean","default":false,"example":false},"leaf":{"description":"Is Leaf","type":"boolean","default":true,"example":true}},"type":"object"},"AddPerspectiveConfig":{"title":"Add Perspective Config","required":["name"],"properties":{"name":{"description":"Name","type":"string","example":"Cars"}},"type":"object"},"AdvancedColumnConfig":{"title":"Advanced Column Config","required":["advancedColumns"],"properties":{"advancedColumn":{"description":"advancedColumns","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/RelationFieldConfig"},{"$ref":"#\/components\/schemas\/SimpleFieldConfig"},{"$ref":"#\/components\/schemas\/StaticTextConfig"},{"$ref":"#\/components\/schemas\/ExistingColumnConfig"}]},"example":[{"field":"name","relation":"manufacturer"},{"field":"name"},{"text":"name"}]},"concatenationSymbol":{"description":"Concatenation symbol to combine multiple columns","type":"string","example":"-"},"transformers":{"description":"List if Transformers that should be applied","type":"array","items":{"$ref":"#\/components\/schemas\/Transformer"}}},"type":"object"},"AllowedTransition":{"title":"AllowedTransition","required":["name","label","iconCls","objectLayout","unsavedChangesBehaviour","notes"],"properties":{"name":{"description":"name","type":"string","example":"start_workflow"},"label":{"description":"label","type":"string","example":"Start Workflow"},"iconCls":{"description":"iconCls","type":"string","example":"pimcore_workflow_start"},"objectLayout":{"description":"objectLayout","type":"boolean","example":false},"unsavedChangesBehaviour":{"description":"unsavedChangesBehaviour","type":"string","example":"warn"},"notes":{"description":"notes","type":"array","items":{"type":"object"},"example":{"commentEnabled":true,"commentRequired":true}}},"type":"object"},"Archive":{"title":"Archive","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"Asset":{"title":"Asset","required":["hasChildren","type","filename","mimeType","hasMetadata","hasWorkflowWithPermissions","fullPath","customAttributes","permissions","hasWorkflowAvailable"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Element"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes","description":"Custom attributes for the tree"},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"hasChildren":{"description":"Has children","required":["hasChildren"],"type":"boolean","example":false},"type":{"description":"Type","type":"string","example":"image"},"filename":{"description":"Filename","type":"string","example":"cool.jpg"},"mimeType":{"description":"Mimetype","type":["string","null"],"example":"image\/jpeg"},"hasMetadata":{"description":"Has metadata","type":"boolean","example":false},"hasWorkflowWithPermissions":{"description":"Workflow permissions","type":"boolean","example":false},"fullPath":{"description":"Full path","type":"string","example":"\/path\/to\/asset.jpg"},"permissions":{"$ref":"#\/components\/schemas\/AssetPermissions"}},"type":"object"}]},"AssetContextPermissions":{"title":"Asset Context Permissions","type":"object","allOf":[{"$ref":"#\/components\/schemas\/SaveAssetContextPermissions"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}}},"type":"object"}]},"AssetDocument":{"title":"Asset Document","required":["pageCount","imageThumbnailPath"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"},{"properties":{"pageCount":{"description":"Page count","type":["integer","null"],"example":2},"imageThumbnailPath":{"description":"Path to image thumbnail","type":["string","null"],"example":"\/path\/to\/document\/imagethumbnail.jpg"}},"type":"object"}]},"AssetFolder":{"title":"Asset Folder","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"AssetPermissions":{"title":"Asset Permissions","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Permissions"}]},"AssetVersion":{"title":"AssetVersion","required":["type","fileName","creationDate","fileSize","mimeType","metadata","dimensions"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"type":{"description":"asset type","type":"string","example":"image"},"fileName":{"description":"file name","type":"string","example":"myImageFile.png"},"creationDate":{"description":"creation date","type":"integer","example":1707312457},"modificationDate":{"description":"modification date","type":["integer","null"],"example":1707312457},"fileSize":{"description":"file size","type":"integer","example":41862},"mimeType":{"description":"mime type","type":"string","example":"image\/png"},"metadata":{"description":"Metadata","type":"array","items":{"$ref":"#\/components\/schemas\/CustomMetadataVersion"}},"dimensions":{"$ref":"#\/components\/schemas\/Dimensions","description":"dimensions"}},"type":"object"},"Audio":{"title":"Audio","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"BlocklistEntry":{"title":"Blocklist","required":["email","creationDate","modificationDate"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"email":{"description":"email address","type":"string","example":"email@pimcore.com"},"creationDate":{"description":"creation date","type":"integer","example":1707312457},"modificationDate":{"description":"modification date","type":["integer","null"],"example":1707312457}},"type":"object"},"EmailAddressParameter":{"title":"Blocklist","required":["email"],"properties":{"email":{"description":"email address","type":"string","example":"someEmail@email-domain.com"}},"type":"object"},"UpdateTagParameters":{"title":"Change Tag Parameters","description":"Parameters for changing a tag","properties":{"parentId":{"description":"Parent id","type":["integer","null"],"example":0},"name":{"description":"Tag name","type":["string","null"],"example":"tag 1"}},"type":"object"},"ClassDefinitionList":{"title":"Class Definition List Item","required":["id","name","title","icon","group"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Id of class definition","type":"string"},"name":{"description":"Name of class definition","type":"string"},"title":{"description":"Title","type":"string"},"icon":{"$ref":"#\/components\/schemas\/ElementIcon","description":"icon"},"group":{"description":"Group","type":["string","null"]}},"type":"object"},"ClassDefinitionFolderItem":{"title":"Class in data object folder","required":["id","name","inheritance"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID of class","type":"string","example":"NE"},"name":{"description":"Name of class","type":"string","example":"News"},"inheritance":{"description":"Inheritance allowed","type":"boolean","example":"true"}},"type":"object"},"ClassDefinition":{"title":"ClassDefinition","required":["id","name","title","description","creationDate","modificationDate","userOwner","parentClass","implementsInterfaces","listingParentClass","useTraits","listingUseTraits","encryption","allowInherit","allowVariants","showVariants","icon","group","showAppLoggerTab","linkGeneratorReference","previewGeneratorReference","compositeIndices","showFieldLookup","propertyVisibility","enableGridLocking","blockedVarsForExport","isWriteable"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Id of class definition","type":"string"},"name":{"description":"Name of class definition","type":"string"},"title":{"description":"Title","type":"string"},"description":{"description":"Description","type":"string"},"creationDate":{"description":"Creation date timestamp","type":["integer","null"]},"modificationDate":{"description":"Modification date timestamp","type":["integer","null"]},"userOwner":{"description":"User id of owner","type":"integer"},"parentClass":{"description":"Namespace of parent class","type":"string"},"implementsInterfaces":{"description":"Interface implementations","type":"string"},"listingParentClass":{"description":"List of parent class","type":"string"},"useTraits":{"description":"Traits usage","type":"string"},"listingUseTraits":{"description":"Traits usage listing","type":"string"},"encryption":{"description":"Whether encryption is ued","type":"boolean"},"allowInherit":{"description":"Whether inheritance is allowed","type":"boolean"},"allowVariants":{"description":"Whether variants are allowed","type":"boolean"},"showVariants":{"description":"Whether variants are visible in the tree","type":"boolean"},"icon":{"$ref":"#\/components\/schemas\/ElementIcon","description":"icon"},"showAppLoggerTab":{"description":"Show application logger tab","type":"boolean"},"linkGeneratorReference":{"description":"Namespace of link generator","type":"string"},"previewGeneratorReference":{"description":"Namespace of preview generator","type":"string"},"compositeIndices":{"description":"Composite indices","type":"array","items":[]},"showFieldLookup":{"description":"Show field lookup","type":"boolean"},"propertyVisibility":{"description":"Visibility of properties for grid, search, ...","type":"array","items":[]},"enableGridLocking":{"description":"Whether grid locking is enabled","type":"boolean"},"blockedVarsForExport":{"description":"Blocked variables for export","type":"array","items":{"type":"string"}},"isWriteable":{"description":"Whether the class definition can be written to","type":"boolean"},"group":{"description":"Group","type":["string","null"]}},"type":"object"},"Collection":{"title":"Classification Store Collection","required":["id","name"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID","type":"integer","example":42},"name":{"description":"Name","type":"string","example":"value"},"description":{"description":"Description","type":"string","example":"value"},"groups":{"description":"List of Group IDs in collection","type":"object"}},"type":"object"},"KeyLayout":{"title":"Classification Store Collection","required":["id","name","description","definition"],"properties":{"id":{"description":"ID","type":"integer","example":42},"name":{"description":"Name","type":"string","example":"value"},"description":{"description":"Description","type":"string","example":"value"},"definition":{"description":"Layout Definition","type":"object"}},"type":"object"},"Group":{"title":"Classification Store Group","required":["id","name"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID","type":"integer","example":42},"name":{"description":"Name","type":"string","example":"value"},"description":{"description":"Description","type":["string","null"],"example":"value"}},"type":"object"},"CollectionLayout":{"title":"Classification Store Group Layout","required":["groups"],"properties":{"groups":{"description":"Groups","type":"array","items":{"$ref":"#\/components\/schemas\/GroupLayout"}}},"type":"object"},"GroupLayout":{"title":"Classification Store Group Layout","required":["id","name","keys"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID","type":"integer","example":42},"name":{"description":"Name","type":"string","example":"value"},"description":{"description":"Description","type":["string","null"],"example":"value"},"keys":{"description":"Description","type":"array","items":{"$ref":"#\/components\/schemas\/KeyLayout"}}},"type":"object"},"KeyGroupRelation":{"title":"Classification Store KeyGroupRelation","required":["keyId","groupId","keyName","groupName"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"keyId":{"description":"Key ID","type":"integer","example":42},"groupId":{"description":"Group ID","type":"integer","example":42},"keyName":{"description":"Key Name","type":"string","example":"value"},"groupName":{"description":"Group Name","type":"string","example":"value"},"keyDescription":{"description":"Key Description","type":["string","null"],"example":"value"},"groupDescription":{"description":"Key Description","type":["string","null"],"example":"value"}},"type":"object"},"ColumnSchema":{"title":"Column","required":["key","locale","group"],"properties":{"key":{"description":"Key of the Column","type":"string","example":"id"},"locale":{"description":"Locale of the Column","type":["string","null"],"example":"de"},"group":{"description":"Group of the Column","type":"string","example":"system"}},"type":"object"},"ConvertedQuantityValue":{"title":"Converted quantity values","required":["originalValue","fromUnitId","convertedValues"],"properties":{"unitAbbreviation":{"description":"Unit Abbreviation","type":"string","example":"m"},"unitLongName":{"description":"Unit Long Name","type":"string","example":"Meter"},"convertedValue":{"description":"Converted Values","type":"number","format":"float","example":160}},"type":"object"},"ConvertedQuantityValues":{"title":"Converted quantity values","required":["originalValue","fromUnitId","convertedValues"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"originalValue":{"description":"Original Value","example":5,"anyOf":[{"type":"float"},{"type":"integer"}]},"fromUnitId":{"description":"From Unit Id","type":"string","example":"m"},"convertedValues":{"description":"Converted Values","type":"array","items":{"$ref":"#\/components\/schemas\/ConvertedQuantityValue"}}},"type":"object"},"SaveElementTreeWidgetConfig":{"title":"Create Element Tree Widget Config","required":["id","name","icon","contextPermissions","elementType","rootFolder","showRoot","classes","pql","pageSize"],"properties":{"id":{"description":"Widget ID","type":"string","example":"5026c239_eb75_499a_8576_841bca283350"},"name":{"description":"Name","type":"string","example":"Cars"},"icon":{"$ref":"#\/components\/schemas\/ElementIcon","description":"Icon"},"contextPermissions":{"description":"Context Permissions","type":"object","oneOf":[{"$ref":"#\/components\/schemas\/SaveAssetContextPermissions"},{"$ref":"#\/components\/schemas\/SaveDataObjectContextPermissions"},{"$ref":"#\/components\/schemas\/SaveDocumentContextPermissions"}]},"elementType":{"description":"Element Type","type":"string","example":"data-object"},"rootFolder":{"description":"Root Folder","type":"string","example":"\/Product Data\/Cars"},"showRoot":{"description":"Show Root","type":"boolean","example":false},"classes":{"description":"Classes","type":"object","example":["CAR"]},"pql":{"description":"PQL","type":["string","null"],"example":null},"pageSize":{"description":"Page size","type":["integer","null"],"example":20}},"type":"object"},"SavePerspectiveConfig":{"title":"Create Perspective Config","required":["icon","contextPermissions","widgetsLeft","widgetsRight","widgetsBottom","expandedLeft","expandedRight"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/AddPerspectiveConfig"},{"properties":{"icon":{"$ref":"#\/components\/schemas\/ElementIcon","description":"Icon"},"contextPermissions":{"description":"Context Permissions","type":"object"},"widgetsLeft":{"description":"Widgets Left","type":"object","example":{"widget_id":"widget_type"}},"widgetsRight":{"description":"Widgets Right","type":"object","example":{"widget_id":"widget_type"}},"widgetsBottom":{"description":"Widgets Bottom","type":"object","example":{"widget_id":"widget_type"}},"expandedLeft":{"description":"Left Expanded Widget","type":["string","null"],"example":"widget_id"},"expandedRight":{"description":"Right Expanded Widget","type":["string","null"],"example":"widget_id"}},"type":"object"}]},"CreateTagParameters":{"title":"Create Tag Parameters","description":"Parameters for creating a new tag","properties":{"parentId":{"description":"Parent id","type":"integer","example":0},"name":{"description":"Tag name","type":"string","example":"tag 1"}},"type":"object"},"CreateNote":{"title":"CreateNote","required":["title","description","type"],"properties":{"title":{"description":"title","type":"string","example":"Title of note"},"description":{"description":"description","type":"string","example":"Description of note"},"type":{"description":"type","type":"string","example":"Type of note"}},"type":"object"},"Credentials":{"title":"Credentials","description":"Credentials for authentication","required":["username","password"],"properties":{"username":{"description":"Username","type":"string","example":"shaquille.oatmeal"},"password":{"description":"Password","type":"string","example":"*****"}},"type":"object"},"CustomReportChartData":{"title":"Custom Report Chart Data","required":["data"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"data":{"description":"Chart data depending on the adapter in the report configuration.","type":"array","items":{"$ref":""}}},"type":"object"},"CustomReportColumnConfiguration":{"title":"Custom Report Column Configuration","properties":{"name":{"description":"Name","type":"string","example":"attributesAvailable"},"display":{"description":"Display name of column","type":"boolean","example":true},"export":{"description":"Whether the column should be included in exports","type":"boolean","example":true},"order":{"description":"Order","type":"boolean","example":true},"label":{"description":"Label\/display name of column","type":"string","example":"Attributes"},"id":{"description":"Id","type":"string","example":"401-3"}},"type":"object"},"CustomReportTreeConfigNode":{"title":"Custom Report Configuration Tree Node","required":["id","text","cls","writeable"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"string","example":"Quality_Attributes"},"text":{"description":"text","type":"string","example":"Quality_Attributes"},"cls":{"description":"css class","type":"string","example":"pimcore_treenode_disabled"},"writeable":{"description":"writeable","type":"boolean","example":true}},"type":"object"},"CustomReportDetails":{"title":"Custom Report Details","required":["name","sql","dataSourceConfig","columnConfiguration","niceName","groupIconClass","iconClass","menuShortcut","reportClass","chartType","pieColumn","pieLabelColumn","xAxis","yAxis","modificationDate","creationDate","sharedUserNames","sharedRoleNames","sharedGlobally","writeable"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"Name","type":"string","example":"Quality_Attributes"},"sql":{"description":"Sql","type":"string","example":""},"dataSourceConfig":{"description":"Configuration for data source. Content of array depends on selected adapter\/data source","type":"array","items":[],"example":"[]"},"columnConfigurations":{"description":"Configuration for columns to be displayed in report","type":"array","items":{"$ref":"#\/components\/schemas\/CustomReportColumnConfiguration"}},"niceName":{"description":"Label\/nice name of report","type":"string","example":"Attributes"},"groupIconClass":{"description":"Group icon class","type":"string","example":"pimcore_group_icon_attributes"},"iconClass":{"description":"Icon class","type":"string","example":"pimcore_icon_attributes"},"menuShortcut":{"description":"Whether the report has a shortcut in the menu","type":"boolean","example":true},"reportClass":{"description":"Report class of custom report implementation","type":"string","example":""},"chartType":{"description":"Chart type","type":"string","example":"pie"},"modificationDate":{"description":"Modification date time stamp","type":"integer","example":1736762668},"creationDate":{"description":"Creation date time stamp","type":"integer","example":1567409307},"sharedUserNames":{"description":"Array with user names the report is shared with","type":"array","items":{"type":"string"},"example":"[\u0022admin\u0022, \u0022superuser\u0022]"},"sharedRoleNames":{"description":"Array with roles the report is shared with","type":"array","items":{"type":"string"},"example":"[\u0022role\u0022, \u0022role2\u0022]"},"sharedGlobally":{"description":"Whether the report is shared globally","type":"boolean","example":false},"writeable":{"description":"Whether the report is writeable","type":"boolean","example":true},"pieColumn":{"description":"Data column for pie chart","type":["string","null"],"example":"count(*)"},"pieLabelColumn":{"description":"Label of data column for pie chart","type":["string","null"],"example":"attributesAvailable"},"xAxis":{"description":"X axis column names","type":["array","null"],"items":{"type":"string"},"example":"[\u0022attributesAvailable\u0022, \u0022count(*)\u0022]"},"yAxis":{"description":"Y axis column information","type":["array","null"],"items":{"type":"string"},"example":"[\u0022attributesAvailable\u0022]"}},"type":"object"},"CustomReportTreeNode":{"title":"Custom Report Tree Node","required":["name","niceName","iconClass","group","groupIconClass","menuShortcut","reportClass"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"report name","type":"string","example":"Quality_Attributes"},"niceName":{"description":"nice name","type":"string","example":"Attributes"},"iconClass":{"description":"icon class","type":"string","example":"pimcore_icon_attributes"},"group":{"description":"group","type":"string","example":"Quality"},"groupIconClass":{"description":"group icon class","type":"string","example":"pimcore_group_icon_attributes"},"menuShortcut":{"description":"menu shortcut","type":"boolean","example":true},"reportClass":{"description":"report class","type":"string","example":""}},"type":"object"},"CustomLayout":{"title":"Custom layouts","required":["id","name","description","creationDate","modificationDate","userOwner","classId","default","layoutDefinition"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Id of custom layout","type":"string"},"name":{"description":"Name","type":"string"},"description":{"description":"Description","type":"string"},"creationDate":{"description":"Creation date timestamp","type":"integer"},"modificationDate":{"description":"Modification date timestamp","type":"integer"},"userOwner":{"description":"User id of owner","type":"integer"},"classId":{"description":"Class id","type":"string"},"default":{"description":"Whether it is the default layout","type":"boolean"},"layoutDefinition":{"oneOf":[{"$ref":"#\/components\/schemas\/Layout","description":"Layout definitions"},{"type":"null"}],"description":"Layout definitions","type":"object"}},"type":"object"},"CustomLayoutCompact":{"title":"Custom layouts in compact format to be used for e.g. listings","required":["id","name","default"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Id of custom layout","type":"string"},"name":{"description":"Name","type":"string"},"default":{"description":"Whether it is the default layout","type":"boolean"}},"type":"object"},"CustomAttributes":{"title":"CustomAttributes","description":"Custom attributes used mainly for the tree","required":["icon","tooltip","additionalIcons","key","additionalCssClasses"],"properties":{"icon":{"oneOf":[{"$ref":"#\/components\/schemas\/ElementIcon","description":"Custom Icon"},{"type":"null"}],"description":"Custom Icon"},"tooltip":{"description":"Custom Tooltip","type":["string","null"],"example":"\u003Cb\u003EMy Tooltip\u003C\/b\u003E"},"additionalIcons":{"description":"AdditionalIcons","type":"array","items":{"type":"string","example":"some_other_icon"}},"key":{"description":"Custom Key\/Filename","type":["string","null"],"example":"my_custom_key"},"additionalCssClasses":{"description":"Additional Css Classes","type":"array","items":{"type":"string","example":"my_custom_class"}}},"type":"object"},"CustomMetadata":{"title":"CustomMetadata","required":["name","language","type","data"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":"string","example":"en"},"type":{"description":"Type","type":"string","example":"input"},"data":{"description":"Data","type":["mixed","null"],"example":"data"}},"type":"object"},"CustomMetadataVersion":{"title":"CustomMetadataVersion","required":["name","type","data"],"properties":{"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":["string","null"],"example":"en"},"type":{"description":"Type","type":"string","example":"input"},"data":{"description":"Data","type":["string","null"],"example":"data"}},"type":"object"},"CustomSettings":{"title":"CustomSettings","properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"fixedCustomSettings":{"oneOf":[{"$ref":"#\/components\/schemas\/FixedCustomSettings","description":"fixed custom settings"},{"type":"null"}],"description":"fixed custom settings","example":"{ embeddedMetadata: { FileSize: 360 KiB }, checksum: b3685e8348e7ac4d30d0268f7e58902a }"},"dynamicCustomSettings":{"description":"dynamic custom settings - can be any key-value pair","type":"array","items":{"type":"object"},"example":"[{ imageWidth: 1280 }, { imageHeight: 720 }]"}},"type":"object"},"CloneParameters":{"title":"Data Object Clone Parameters","required":["recursive","updateReferences"],"properties":{"recursive":{"description":"Recursive","type":"boolean","example":false},"updateReferences":{"description":"Update References","type":"boolean","example":false}},"type":"object"},"DataObjectContextPermissions":{"title":"Data Object Context Permissions","type":"object","allOf":[{"$ref":"#\/components\/schemas\/SaveDataObjectContextPermissions"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}}},"type":"object"}]},"DataObjectFolder":{"title":"Data Object Folder","type":"object","allOf":[{"$ref":"#\/components\/schemas\/DataObject"}]},"DataObjectPermissions":{"title":"Data Object Permissions","required":["save","unpublish","localizedEdit","localizedView"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Permissions"},{"properties":{"save":{"description":"Save","type":"boolean","example":true},"unpublish":{"description":"Unpublish","type":"boolean","example":true},"localizedEdit":{"description":"Localized Edit","type":["string","null"],"example":"default"},"localizedView":{"description":"Localized View","type":["string","null"],"example":"default"}},"type":"object"}]},"PreviewParameter":{"title":"Data Object Preview Parameters","required":["id"],"properties":{"id":{"description":"ID","type":"integer","example":83},"site":{"description":"Site","type":"integer","default":0,"example":1}},"type":"object"},"DataObject":{"title":"DataObject","required":["key","className","type","published","hasChildren","hasWorkflowWithPermissions","fullPath","customAttributes","permissions","index","childrenSortBy","childrenSortOrder","objectData","draftData","inheritanceData","allowInheritance","allowVariants","showVariants","hasPreview"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Element"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"allowInheritance":{"description":"Inheritance allowed","type":"boolean","example":false},"allowVariants":{"description":"Variants allowed","type":"boolean","example":false},"showVariants":{"description":"Show variants","type":"boolean","example":false},"hasPreview":{"description":"Has preview","type":"boolean","example":false},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes","description":"Custom attributes for the tree"},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"key":{"description":"Key","type":"string","example":"Giulietta"},"className":{"description":"Class name","type":"string","example":"car"},"type":{"description":"Type","type":"string","example":"image"},"published":{"description":"Published","type":"boolean","example":false},"hasChildren":{"description":"Has children","type":"boolean","example":false},"hasWorkflowWithPermissions":{"description":"Workflow permissions","type":"boolean","example":false},"fullPath":{"description":"Full path","type":"string","example":"\/path\/to\/dataObject"},"permissions":{"$ref":"#\/components\/schemas\/DataObjectPermissions"},"index":{"description":"Custom index","type":"integer","example":0},"childrenSortBy":{"description":"Sort mode of children","type":"string","example":"index"},"childrenSortOrder":{"description":"Sort order of children","type":"string","example":"asc"},"objectData":{"description":"Detail object data","type":"object","example":{"fieldKey":"field value"}},"inheritanceData":{"description":"Inheritance object data","type":"object","example":{"fieldKey":[]}},"draftData":{"oneOf":[{"$ref":"#\/components\/schemas\/DataObjectDraftData"},{"type":"null"}]}},"type":"object"}]},"DataObjectAddParameters":{"title":"DataObjectAdd","required":["key","classId","type"],"properties":{"key":{"description":"Key","type":"string","example":"my_new_data_object"},"classId":{"description":"Class Id","type":"string","example":"data_object_class_id"},"type":{"description":"Type","type":"string","enum":["object","variant"],"example":"object"}},"type":"object"},"DataObjectDraftData":{"title":"DataObjectDraftData","required":["id","modificationDate","isAutoSave"],"properties":{"id":{"description":"ID","type":"integer","example":83},"modificationDate":{"description":"Modification date","type":"integer","example":1634025600},"isAutoSave":{"description":"Is auto save","type":"boolean","example":false}},"type":"object"},"DataObjectVersion":{"title":"DataObjectVersion","required":["key","type","hasChildren","fullPath","index","className","published","objectData"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Element"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"allowInheritance":{"description":"Inheritance allowed","type":"boolean","example":false},"allowVariants":{"description":"Variants allowed","type":"boolean","example":false},"showVariants":{"description":"Show variants","type":"boolean","example":false},"hasPreview":{"description":"Has preview","type":"boolean","example":false},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"key":{"description":"Key","type":"string","example":"Giulietta"},"type":{"description":"Type","type":"string","example":"image"},"hasChildren":{"description":"Has children","type":"boolean","example":false},"fullPath":{"description":"Full path","type":"string","example":"\/path\/to\/dataObject"},"index":{"description":"Custom index","type":"integer","example":0},"className":{"description":"Class name","type":["string","null"],"example":"car"},"published":{"description":"Published","type":["boolean","null"],"example":false},"objectData":{"description":"Detail object data","type":"object","example":{"fieldKey":"field value"}}},"type":"object"}]},"ElementProperty":{"title":"DataProperty","required":["key","data","type","inheritable","inherited"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"key":{"description":"key","type":"string","example":"key_of_the_property"},"data":{"description":"data","type":["mixed","null"],"example":"123"},"type":{"description":"type","type":"string","example":"document"},"inheritable":{"description":"inheritable","type":"boolean","example":false},"inherited":{"description":"inherited","type":"boolean","example":false},"config":{"description":"config","type":["string","null"],"example":"comma,separated,values"},"predefinedName":{"description":"predefinedName","type":["string","null"],"example":"name of the predefined property"},"description":{"description":"description","type":["string","null"],"example":"Description of the predefined property"}},"type":"object"},"DeleteInfo":{"title":"DeleteInfo","required":["hasDependencies","canUseRecycleBin"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"hasDependencies":{"description":"hasDependencies","type":"boolean","example":true},"canUseRecycleBin":{"description":"canUseRecycleBin","type":"boolean","example":true}},"type":"object"},"Dependency":{"title":"Dependency","required":["id","path","type","subType","published"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"integer"},"path":{"description":"path","type":"string","example":"text"},"type":{"description":"type","type":"string","example":"asset"},"subType":{"description":"subType","type":"string","example":"image"},"published":{"description":"published","type":"boolean","example":"true"}},"type":"object"},"UserDependency":{"title":"Dependency to an Object","description":"Dependency to an Object","required":["id","path","subtype"],"properties":{"id":{"description":"ID of the object","type":"integer","example":42},"path":{"description":"Path to the object","type":"string","example":"\/path\/to\/object"},"subtype":{"description":"Subtype of the object","type":"string","example":"Car"}},"type":"object"},"DetailedRole":{"title":"Detailed User Role","description":"Contains all information about a role","required":["id","name","classes","parentId","permissions","docTypes","websiteTranslationLanguagesEdit","websiteTranslationLanguagesView","assetWorkspaces","dataObjectWorkspaces","documentWorkspaces","perspectives"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID of the User","type":"integer","example":"1"},"name":{"description":"Name of Folder or Role","type":["string","null"],"example":"admin"},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"parentId":{"type":["integer","null"],"example":"2"},"permissions":{"description":"List of permissions for the user","type":"object","example":["objects","documents"]},"docTypes":{"description":"List of document types for the role","type":"object","example":["1","2"]},"websiteTranslationLanguagesEdit":{"type":"object","example":["de","en"]},"websiteTranslationLanguagesView":{"type":"object","example":["de"]},"assetWorkspaces":{"description":"Asset Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"dataObjectWorkspaces":{"description":"Data Object Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"documentWorkspaces":{"description":"Document Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"perspectives":{"description":"Allowed studio perspectives","type":"array","items":{"$ref":"#\/components\/schemas\/PerspectiveConfig"}}},"type":"object"},"DevError":{"title":"DevError","description":"Error with details for developers","required":["message","details"],"properties":{"message":{"description":"Message","type":"string","example":"I got a bad feeling about this"},"details":{"description":"Details","type":"string","example":"Search your feelings. (Stack trace)"}},"type":"object"},"DocType":{"title":"DocType","required":["id","name","type","group","controller","template","priority","creationDate","modificationDate","staticGeneratorEnabled","writeable"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID","type":"string","example":"1"},"name":{"description":"Name","type":"string","example":"Default Page"},"type":{"description":"Type","type":"string","example":"page"},"group":{"description":"Group","type":["string","null"],"example":"Default"},"controller":{"description":"Controller","type":["string","null"],"example":"App\\Controller\\DefaultController::indexAction"},"template":{"description":"Template","type":["string","null"],"example":"@App\/Resources\/views\/default.html.twig"},"priority":{"description":"Priority","type":"integer","example":0},"creationDate":{"description":"Creation date","type":["integer","null"],"example":null},"modificationDate":{"description":"Modification date","type":["integer","null"],"example":null},"staticGeneratorEnabled":{"description":"Static generator enabled","type":"boolean","example":false},"writeable":{"description":"Is writeable","type":"boolean","example":false}},"type":"object"},"DocTypeType":{"title":"DocType Type","required":["id","name","type","group","controller","template","priority","creationDate","modificationDate","staticGeneratorEnabled","writeable"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"Name","type":"string","example":"page"},"validTable":{"description":"Valid table","type":"string","example":"page"},"childrenSupported":{"description":"Children supported","type":"boolean","example":false},"directRoute":{"description":"Direct route","type":"boolean","example":false},"predefinedDocumentTypes":{"description":"Predefined document types","type":"boolean","example":false},"translatable":{"description":"Translatable","type":"boolean","example":false},"translatableInheritance":{"description":"Translatable Inheritance","type":"boolean","example":false},"onlyPrintableChildren":{"description":"Only printable children","type":"boolean","example":false}},"type":"object"},"DocTypeAddParameters":{"title":"DocTypeAdd","required":["name","type"],"properties":{"name":{"description":"Name","type":"string","example":"New Document Type"},"type":{"description":"Type","type":"string","example":"page"}},"type":"object"},"DocTypeUpdateParameters":{"title":"DocTypeUpdate","required":["id","name","type","group","controller","template","priority","staticGeneratorEnabled"],"properties":{"name":{"description":"Name","type":"string","example":"My docType"},"type":{"description":"Type","type":"string","example":"page"},"group":{"description":"Group","type":["string","null"],"example":"Default"},"controller":{"description":"Controller","type":["string","null"],"example":"App\\Controller\\DefaultController::indexAction"},"template":{"description":"Template","type":["string","null"],"example":"@App\/Resources\/views\/default.html.twig"},"priority":{"description":"Priority","type":"integer","example":0},"staticGeneratorEnabled":{"description":"Static generator enabled","type":"boolean","example":false}},"type":"object"},"Document":{"title":"Document","required":["fullPath","published","type","key","index","hasChildren","hasWorkflowWithPermissions","permissions","documentDetailData","hasWorkflowAvailable"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Element"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes","description":"Custom attributes for the tree"},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"fullPath":{"description":"Full path","type":"string","example":"\/path\/to\/document"},"published":{"description":"Published","type":"boolean","example":false},"type":{"description":"Type","type":"string","example":"link"},"key":{"description":"Key","type":"string","example":"page.html"},"index":{"description":"Custom index","type":"integer","example":0},"hasChildren":{"description":"Has children","type":"boolean","example":false},"hasWorkflowWithPermissions":{"description":"Workflow permissions","type":"boolean","example":false},"permissions":{"$ref":"#\/components\/schemas\/DocumentPermissions"},"documentDetailData":{"description":"Detail document data","type":"object","example":{"fieldKey":"field value"}}},"type":"object"}]},"DocumentCloneParameters":{"title":"Document Clone Parameters","required":["language","enableInheritance","recursive","updateReferences"],"properties":{"language":{"description":"Language for the new translation","type":["string","null"],"example":"en"},"enableInheritance":{"description":"Enable Inheritance","type":"boolean","example":false},"recursive":{"description":"Recursive","type":"boolean","example":false},"updateReferences":{"description":"Update References","type":"boolean","example":false}},"type":"object"},"DocumentContextPermissions":{"title":"Document Context Permissions","type":"object","allOf":[{"$ref":"#\/components\/schemas\/SaveDocumentContextPermissions"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}}},"type":"object"}]},"Document Controller":{"title":"Document Controller","required":["name"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"Name","type":"string","example":"App\\Controller\\ContentController::indexAction"}},"type":"object"},"DocumentFolder":{"title":"Document Folder","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Document"}]},"DocumentPermissions":{"title":"Document Permissions","required":["save","unpublish"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Permissions"},{"properties":{"save":{"description":"Save","type":"boolean","example":true},"unpublish":{"description":"Unpublish","type":"boolean","example":true}},"type":"object"}]},"Document Template":{"title":"Document Template","required":["path"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"path":{"description":"Path","type":"string","example":"@App\/Resources\/views\/default.html.twig"}},"type":"object"},"DocumentAddParameters":{"title":"DocumentAdd","required":["key","type","title","navigationName","docTypeId","translationsSourceId","language","inheritanceSourceId"],"properties":{"key":{"description":"Key","type":"string","example":"my_new_document"},"type":{"description":"Type","type":"string","example":"page"},"title":{"description":"Title","type":["string","null"],"example":"Some page title"},"navigationName":{"description":"Navigation name","type":["string","null"],"example":"Some navigation name"},"docTypeId":{"description":"Document type ID","type":["string","null"],"example":"page"},"translationsSourceId":{"description":"Id of the base document for new translation","type":["integer","null"],"example":33},"language":{"description":"Document language when adding a translation","type":["string","null"],"example":"en"},"inheritanceSourceId":{"description":"Id of the base document for content","type":["integer","null"],"example":33}},"type":"object"},"DocumentVersion":{"title":"DocumentVersion","required":["modificationDate","path","published"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"modificationDate":{"description":"modification date","type":"integer","example":1712823182},"path":{"description":"path","type":"string","example":"\/path\/to\/object"},"published":{"description":"published","type":"boolean","example":true}},"type":"object"},"Element":{"title":"Element","required":["id","parentId","path","userOwner","userModification","locked","isLocked","creationDate","modificationDate","permissions"],"properties":{"id":{"description":"ID","type":"integer","example":83},"parentId":{"description":"ID of parent","type":"integer","example":1},"path":{"description":"path","type":"string","example":"\/path\/to\/element"},"icon":{"$ref":"#\/components\/schemas\/ElementIcon","description":"icon"},"userOwner":{"description":"ID of owner","type":"integer","example":1},"userModification":{"description":"User that modified the element","type":["integer","null"],"example":1},"locked":{"description":"Locked","type":["string","null"],"example":"locked"},"isLocked":{"description":"Is locked","type":"boolean","example":false},"creationDate":{"description":"Creation date","type":["integer","null"],"example":221846400},"modificationDate":{"description":"Modification date","type":["integer","null"],"example":327417600}},"type":"object"},"LocationData":{"title":"Element Location Data","required":["widgetId","treeLevelData"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"widgetId":{"description":"Widget Id","type":"string","example":"d061699e_da42_4075_b504_c2c93c687819"},"treeLevelData":{"description":"Tree level data","type":"array","items":{"$ref":"#\/components\/schemas\/TreeLevelData"}}},"type":"object"},"ElementPath":{"title":"Element Path","required":["elementPath"],"properties":{"elementPath":{"description":"Element Path","type":"string","example":"path\/to\/element"}},"type":"object"},"ElementTreeWidgetConfig":{"title":"Element Tree Widget","required":["contextPermissions","elementType","rootFolder","rootFolderId","showRoot","classes","pql","pageSize","isWriteable"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/WidgetConfig"},{"properties":{"contextPermissions":{"description":"Context Permissions","type":"object","oneOf":[{"$ref":"#\/components\/schemas\/AssetContextPermissions"},{"$ref":"#\/components\/schemas\/DataObjectContextPermissions"},{"$ref":"#\/components\/schemas\/DocumentContextPermissions"}]},"elementType":{"description":"Element Type","type":"string","example":"data-object"},"rootFolder":{"description":"Root Folder","type":"string","example":"\/Product Data\/Cars"},"rootFolderId":{"description":"Root Folder ID","type":"integer","example":2},"showRoot":{"description":"Show Root","type":"boolean","example":false},"classes":{"description":"Classes","type":"object","example":["CAR"]},"pql":{"description":"PQL","type":["string","null"],"example":null},"pageSize":{"description":"Page size","type":["integer","null"],"example":20},"isWriteable":{"description":"Is Writeable","type":"boolean","example":true}},"type":"object"}]},"ElementIcon":{"title":"ElementIcon","required":["type","value"],"properties":{"type":{"description":"Icon type","type":"string","enum":["name","path"],"example":"path"},"value":{"description":"Icon value","type":"string","example":"\/path\/to\/icon"}},"type":"object"},"Email":{"title":"Email","required":["subject","from","replyTo","to","cc","bcc","controller","template","contentMainDocumentId","supportsContentMain","missingRequiredEditable","staticGeneratorEnabled","staticGeneratorLifetime","draftData"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Document"},{"properties":{"controller":{"description":"Controller","type":"string","example":"App\\Controller\\PageController"},"template":{"description":"Template","type":"string","example":"App\\Controller\\PageController"},"contentMainDocumentId":{"description":"Main document ID","type":"integer","example":1},"supportsContentMain":{"description":"Supports main content","type":"boolean","example":false},"missingRequiredEditable":{"description":"Is missing required editable","type":"boolean","example":false},"staticGeneratorEnabled":{"description":"Is static generator enabled","type":"boolean","example":false},"staticGeneratorLifetime":{"description":"Lifetime of static generator","type":"integer","example":123456},"draftData":{"$ref":"#\/components\/schemas\/PageSnippetDraftData"},"subject":{"description":"Subject","type":"string","example":"Some subject"},"from":{"description":"From","type":"string","example":"some-sender@email"},"replyTo":{"description":"Reply to","type":"string","example":"some-reply@email"},"to":{"description":"To","type":"string","example":"some-receiver@email"},"cc":{"description":"CC","type":"string","example":"some-copy@email"},"bcc":{"description":"BCC","type":"string","example":"some-hidden-copy@email"}},"type":"object"}]},"EmailDocumentParameters":{"title":"EmailDocumentParameters","required":["key","value"],"properties":{"key":{"description":"parameter key","type":"string","example":"some_parameter_key"},"value":{"description":"parameter value","type":"mixed","example":"some_parameter_value","anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"null"}]}},"type":"object"},"EmailLogEntry":{"title":"EmailLog","required":["id","sentDate","hasHtmlLog","hasTextLog","hasError","from","to","subject"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"integer","example":23},"sentDate":{"description":"sent date","type":"integer","example":1707312457},"hasHtmlLog":{"description":"HTML log exists","type":"boolean","example":true},"hasTextLog":{"description":"Text log exists","type":"boolean","example":true},"hasError":{"description":"Error occurred","type":"boolean","example":true},"from":{"description":"from","type":["string","null"],"example":"from@pimcore.com"},"to":{"description":"to","type":["string","null"],"example":"to@pimcore.com"},"subject":{"description":"subject","type":["string","null"],"example":"E-Mail subject"}},"type":"object"},"EmailLogEntryDetail":{"title":"EmailLogDetail","required":["bcc","cc","error"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/EmailLogEntry"},{"properties":{"bcc":{"description":"bcc","type":["string","null"],"example":"email@pimcore.com"},"cc":{"description":"cc","type":["string","null"],"example":"email@pimcore.com"},"error":{"description":"error","type":["string","null"],"example":"Some error occurred"}},"type":"object"}]},"ObjectParameter":{"title":"EmailLogObjectParameterData","required":["name","value"],"properties":{"id":{"description":"id","type":"integer","example":1020},"type":{"description":"type","type":"string","example":"object"},"class":{"description":"class","type":"string","example":"AppBundle\\Model\\MyObject"},"path":{"description":"path","type":"string","example":"\/path\/to\/object"}},"type":"object"},"EmailLogEntryParameter":{"title":"EmailLogParameters","required":["name","value","objectData"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"name","type":"string","example":"myParameter"},"value":{"description":"value","type":["string","null"],"example":"Some value"},"objectData":{"oneOf":[{"$ref":"#\/components\/schemas\/ObjectParameter","description":"data for object parameters"},{"type":"null"}],"description":"data for object parameters"}},"type":"object"},"Error":{"title":"Error","description":"Bad credentials or missing token, bad request, method not allowed, etc.","required":["message"],"properties":{"message":{"description":"Message","type":"string","example":"I am an error message"}},"type":"object"},"ExistingColumnConfig":{"title":"Existing Column Config","description":"This config is used to get the date form an already configured advanced column.","required":["text"],"properties":{"existingColumnName":{"description":"Name of the existing Column","type":"string","example":"my_column"}},"type":"object"},"FieldCollectionLayoutDefinition":{"title":"Field Collection Layout Definition","required":["key","title","width","height","collapsible","collapsed","datatype","children"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"key":{"description":"Key of Field Collection","type":"string"},"datatype":{"description":"Data Type","type":"string","example":"layout"},"group":{"description":"Group","type":["string","null"],"example":"Group Name"},"name":{"description":"Name","type":["string","null"],"example":"Layout"},"type":{"description":"Type","type":["string","null"]},"region":{"description":"Region","type":["string","null"]},"title":{"description":"Title","type":["string","null"]},"width":{"description":"Width","type":"integer","example":0},"height":{"description":"Height","type":"integer","example":0},"collapsible":{"description":"Collapsible","type":"boolean","example":false},"collapsed":{"description":"collapsed","type":"boolean","example":false},"children":{"description":"Children","type":"array","items":[],"example":"[]"}},"type":"object"},"FixedCustomSettings":{"title":"FixedCustomSettings","required":["embeddedMetadata","embeddedMetadataExtracted"],"properties":{"embeddedMetadata":{"description":"embedded meta data of the asset - array of any key-value pairs","type":"array","items":{"type":"object"},"example":"{ FileSize: \u0022265 KiB\u0022, MIMEType: \u0022image\/jpeg\u0022 }"},"embeddedMetadataExtracted":{"description":"flag to indicate if the embedded meta data has been extracted from the asset","type":"boolean","example":true}},"type":"object"},"FocalPoint":{"title":"FocalPoint","required":["x","y"],"properties":{"x":{"description":"x","type":"integer","example":50},"y":{"description":"y","type":"integer","example":50}},"type":"object"},"FolderData":{"title":"Folder Data","description":"Folder Data Scheme for API","required":["folderName"],"properties":{"folderName":{"description":"Folder Name","type":"string","example":"Awesome stuff inside"}},"type":"object"},"GlobalAction":{"title":"GlobalAction","required":["name","label","iconCls","objectLayout","notes"],"properties":{"name":{"description":"name","type":"string","example":"start_workflow"},"label":{"description":"label","type":"string","example":"Start Workflow"},"iconCls":{"description":"iconCls","type":"string","example":"pimcore_workflow_start"},"objectLayout":{"description":"objectLayout","type":"boolean","example":false},"notes":{"description":"notes","type":"array","items":{"type":"object"},"example":{"commentEnabled":true,"commentRequired":true}}},"type":"object"},"Column":{"title":"Grid Column Request","description":"Contains all data that is needed to get all the data for the column.","required":["key","type","config"],"properties":{"key":{"description":"Key","type":"string","example":"id"},"locale":{"description":"Locale","type":["string","null"],"example":"en"},"type":{"description":"Type","type":"string","example":"system.id"},"group":{"description":"Group","type":["string","null"],"example":"system"},"config":{"description":"Config","type":"array","items":{"anyOf":[{"type":"string"},{"$ref":"#\/components\/schemas\/AdvancedColumnConfig"}]},"example":{"key":"value"}}},"type":"object"},"Filter":{"title":"Grid Filter","description":"Contains all data that is needed to get all the data for the column.","required":["page","pageSize","includeDescendants"],"properties":{"page":{"description":"Page","type":"integer","example":1},"pageSize":{"description":"Page Size","type":"integer","example":50},"includeDescendants":{"description":"Include Descendant Items","type":"boolean","example":false},"columnFilters":{"description":"Column Filter","type":"object","example":"[{\u0022key\u0022:\u0022name\u0022,\u0022type\u0022: \u0022metadata.object\u0022,\u0022filterValue\u0022: 1}]"},"sortFilter":{"description":"Sort Filter","type":"object","example":"{\u0022key\u0022:\u0022id\u0022,\u0022direction\u0022: \u0022ASC\u0022}"}},"type":"object"},"ColumnConfiguration":{"title":"GridColumnConfiguration","description":"Contains all data to configure a grid column","required":["key","group","sortable","editable","localizable","type","config"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"key":{"description":"Key","type":"string","example":"id"},"group":{"description":"Group","type":"string","example":"system"},"sortable":{"description":"Sortable","type":"boolean","example":true},"editable":{"description":"Editable","type":"boolean","example":false},"exportable":{"description":"Exportable","type":"boolean","example":false},"filterable":{"description":"Filterable","type":"boolean","example":false},"localizable":{"description":"Localizable","type":"boolean","example":false},"locale":{"description":"Locale","type":["string","null"],"example":"en"},"type":{"description":"Type","type":"string","example":"integer"},"frontendType":{"description":"Frontend Type","type":"string","example":"integer"},"config":{"description":"Config","type":"object","example":{"key":"value"}}},"type":"object"},"ColumnData":{"title":"GridColumnData","properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"key":{"description":"Key","type":"string","example":"id"},"locale":{"description":"Locale","type":["string","null"],"example":"en"},"value":{"description":"Value","type":["mixed","null"],"example":73},"inheritance":{"description":"inheritance","type":["object","null"],"example":{"objectId":42,"inInherited":true}}},"type":"object"},"Configuration":{"title":"GridConfiguration","description":"Contains all data to configure a grid column","required":["id","name"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID","type":"integer","example":42},"name":{"description":"Name","type":"string","example":"My Configuration"},"description":{"description":"Description","type":["string","null"],"example":"My Configuration Description"}},"type":"object"},"DetailedConfiguration":{"title":"GridDetailedConfiguration","description":"Contains all data to configure a grid column","required":["name","shareGlobal","saveFilter","setAsFavorite","sharedUsers","sharedRoles","columns","filter","pageSize"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"Name","type":"string","example":"My Configuration"},"description":{"description":"Description","type":["string","null"],"example":"My Configuration Description"},"shareGlobal":{"description":"shareGlobal","type":"boolean","example":false},"saveFilter":{"description":"saveFilter","type":"boolean","example":false},"setAsFavorite":{"description":"setAsFavorite","type":"boolean","example":false},"sharedUsers":{"description":"sharedUsers","type":"object","example":[42,1337]},"sharedRoles":{"description":"sharedRoles","type":"object","example":[42,1337]},"columns":{"description":"columns","type":"array","items":{"$ref":"#\/components\/schemas\/ColumnSchema"}},"filter":{"description":"filter","type":"array","items":{"$ref":"#\/components\/schemas\/Filter"}},"pageSize":{"description":"Page Size","type":"integer","example":42},"modificationDate":{"description":"Modification Date","type":["integer","null"],"example":1634025600},"creationDate":{"description":"Creation Date","type":["integer","null"],"example":1634025600},"ownerId":{"description":"ID of the owner","type":["integer","null"],"example":42},"id":{"description":"ID of the configuration","type":["integer","null"],"example":42}},"type":"object"},"Hardlink":{"title":"Hardlink","required":["sourceId","propertiesFromSource","childrenFromSource"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Document"},{"properties":{"sourceId":{"description":"Source ID","type":["integer","null"],"example":83},"propertiesFromSource":{"description":"Properties from source","type":"boolean","example":true},"childrenFromSource":{"description":"Children from source","type":"boolean","example":false}},"type":"object"}]},"Image":{"title":"Image","required":["format","width","height","isVectorGraphic","isAnimated","imageThumbnailPath"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"},{"properties":{"format":{"description":"Format","type":"string","example":"muhFormat"},"width":{"description":"width","type":"integer","example":666},"height":{"description":"height","type":"integer","example":333},"isVectorGraphic":{"description":"is vector graphic","type":"boolean","example":false},"isAnimated":{"description":"is animated","type":"boolean","example":false},"imageThumbnailPath":{"description":"path to thumbnail","type":"string","example":"\/path\/to\/element\/hulk-smash.jpg"}},"type":"object"}]},"ImageData":{"title":"ImageData","properties":{"focalPoint":{"$ref":"#\/components\/schemas\/FocalPoint","description":"focalPoint"}},"type":"object"},"InvalidCredentials":{"title":"Invalid Credentials","description":"Invalid credentials after login attempt","required":["error"],"properties":{"error":{"description":"Error","type":"string","example":"Invalid credentials"}},"type":"object"},"KeyBinding":{"title":"Key Binding for a User","description":"Key Binding for a User","required":["key","action","ctrl","alt","shift"],"properties":{"key":{"description":"ASCII Code for a key on the Keyboard","type":"integer","example":"83"},"action":{"description":"The action the key binding should execute","type":"string","example":"save"},"ctrl":{"description":"If CTRL key should be pressed","type":"boolean","example":"true"},"alt":{"description":"If ALT key should be pressed","type":"boolean","example":"true"},"shift":{"description":"If SHIFT key should be pressed","type":"boolean","example":"true"}},"type":"object"},"Layout":{"title":"Layout","required":["name","dataType","fieldType","type","layout","region","title","width","height","collapsible","collapsed","bodyStyle","locked","children","icon","labelAlign","labelWidth","border"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"Name","type":"string","example":"pimcore_root"},"dataType":{"description":"Data Type","type":"string","example":"layout"},"fieldType":{"description":"Field Type","type":"string","example":"panel"},"type":{"description":"Type","type":["string","null"],"example":null},"layout":{"description":"Layout","type":["string","null"],"example":null},"region":{"description":"Region","type":["string","null"],"example":"center"},"title":{"description":"Title","type":["string","null"],"example":"MyLayout"},"width":{"description":"Width","type":"integer","example":0},"height":{"description":"Height","type":"integer","example":0},"collapsible":{"description":"Collapsible","type":"boolean","example":false},"collapsed":{"description":"Collapsed","type":"boolean","example":false},"bodyStyle":{"description":"Body Style","type":["string","null"],"example":"(float: left;)"},"locked":{"description":"Locked","type":"boolean","example":false},"children":{"description":"Children","type":"array","items":{"type":"object"},"example":"[{id: 1}]"},"icon":{"oneOf":[{"$ref":"#\/components\/schemas\/ElementIcon","description":"Icon"},{"type":"null"}],"description":"Icon"},"labelAlign":{"description":"Label Align","type":"string","example":"left"},"labelWidth":{"description":"Label Width","type":"integer","example":100},"border":{"description":"Border","type":"boolean","example":false}},"type":"object"},"Link":{"title":"Link","required":["internal","internalType","direct","linkType","href"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Document"},{"properties":{"internal":{"description":"Internal ID","type":["integer","null"],"example":83},"internalType":{"description":"Internal type","type":["string","null"],"example":"asset"},"direct":{"description":"Direct","type":"string","example":"\/path\/to\/asset"},"linkType":{"description":"Link type","type":"string","example":"direct"},"href":{"description":"Href","type":"string","example":"\/path\/to\/asset"}},"type":"object"}]},"Note":{"title":"Note","required":["id","type","cId","cType","cPath","date","title","description","locked","data"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"integer","example":666},"type":{"description":"type","type":"string","example":"Type of note"},"cId":{"description":"Id of element","type":"integer","example":667},"cType":{"description":"Type of element","type":"string","example":"asset"},"cPath":{"description":"Path of element","type":"string","example":"\/path\/to\/element"},"date":{"description":"Creation date of note","type":"integer","example":1634025600},"title":{"description":"title","type":"string","example":"Title of note"},"description":{"description":"description","type":"string","example":"This is a description"},"locked":{"description":"Locked","type":"boolean","example":false},"data":{"description":"Data of note","type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]},"example":"Can be pretty much anything"},"userId":{"description":"User ID","type":["integer","null"],"example":1},"userName":{"description":"Username","type":["string","null"],"example":"shaquille.oatmeal"}},"type":"object"},"NoteType":{"title":"NoteType","required":["id"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"string","example":"info"}},"type":"object"},"NoteTypeCollection":{"title":"NoteTypeCollection","required":["items"],"properties":{"items":{"description":"items","type":"array","items":{"$ref":"#\/components\/schemas\/NoteType"}}},"type":"object"},"Notification":{"title":"Notification","required":["message","payload","attachmentType","attachmentId","attachmentFullPath"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/NotificationListItem"},{"properties":{"message":{"description":"message","type":["string","null"],"example":"Notification message"},"payload":{"description":"payload","type":["string","null"],"example":"{\u0022key\u0022: \u0022value\u0022}"},"attachmentType":{"description":"linked attachment type","type":["string","null"],"example":"object"},"attachmentId":{"description":"linked attachment ID","type":["integer","null"],"example":3669},"attachmentFullPath":{"description":"linked attachment fullPath","type":["string","null"],"example":"\/path\/to\/attachment.jpg"}},"type":"object"}]},"NotificationListItem":{"title":"NotificationListItem","required":["id","type","title","read","hasAttachment","creationDate","sender"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"integer","example":23},"type":{"description":"type","type":"string","example":"info"},"title":{"description":"title","type":"string","example":"Notification title"},"read":{"description":"read","type":"boolean","example":false},"hasAttachment":{"description":"has attachment","type":"boolean","example":true},"creationDate":{"description":"creation date","type":"integer","example":1707312457},"sender":{"description":"sender","type":["string","null"],"example":"Pimcore Admin"}},"type":"object"},"ObjectBrickLayoutDefinition":{"title":"Object Brick Layout Definition","required":["key","title","width","height","collapsible","collapsed","datatype","children"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"key":{"description":"Key of Object Brick","type":"string"},"datatype":{"description":"Data Type","type":"string","example":"layout"},"name":{"description":"Name","type":["string","null"],"example":"Layout"},"type":{"description":"Type","type":["string","null"]},"region":{"description":"Region","type":["string","null"]},"title":{"description":"Title","type":["string","null"]},"width":{"description":"Width","type":"integer","example":0},"height":{"description":"Height","type":"integer","example":0},"collapsible":{"description":"Collapsible","type":"boolean","example":false},"collapsed":{"description":"collapsed","type":"boolean","example":false},"children":{"description":"Children","type":"array","items":[],"example":"[]"}},"type":"object"},"Page":{"title":"Page","required":["title","description","prettyUrl","controller","template","contentMainDocumentId","supportsContentMain","missingRequiredEditable","staticGeneratorEnabled","staticGeneratorLifetime","draftData"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Document"},{"properties":{"controller":{"description":"Controller","type":"string","example":"App\\Controller\\PageController"},"template":{"description":"Template","type":"string","example":"App\\Controller\\PageController"},"contentMainDocumentId":{"description":"Main document ID","type":"integer","example":1},"supportsContentMain":{"description":"Supports main content","type":"boolean","example":false},"missingRequiredEditable":{"description":"Is missing required editable","type":"boolean","example":false},"staticGeneratorEnabled":{"description":"Is static generator enabled","type":"boolean","example":false},"staticGeneratorLifetime":{"description":"Lifetime of static generator","type":"integer","example":123456},"draftData":{"$ref":"#\/components\/schemas\/PageSnippetDraftData"},"title":{"description":"Title","type":["string","null"],"example":"Link Title"},"description":{"description":"Description","type":["string","null"],"example":"Link Description"},"prettyUrl":{"description":"Pretty Url","type":["string","null"],"example":"pretty\/url"}},"type":"object"}]},"PageSnippetDraftData":{"title":"PageSnippetDraftData","required":["id","modificationDate","isAutoSave"],"properties":{"id":{"description":"ID","type":"integer","example":83},"modificationDate":{"description":"Modification date","type":"integer","example":1634025600},"isAutoSave":{"description":"Is auto save","type":"boolean","example":false}},"type":"object"},"PatchCustomMetadata":{"title":"PatchCustomMetadata","required":["name","language","type","data"],"properties":{"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":["string","null"],"example":"en"},"type":{"description":"Type","type":"string","example":"input"},"data":{"description":"Data","type":["string","null"],"example":"data"}},"type":"object"},"PatchError":{"title":"PatchError","description":"Response for PATCH requests with errors","properties":{"id":{"description":"ID","type":"integer","example":83},"message":{"description":"Message","type":"string","example":"I am an error message"}},"type":"object"},"Permissions":{"title":"Permissions","required":["list","view","publish","delete","rename","create","settings","versions","properties"],"properties":{"list":{"description":"List","type":"boolean","example":true},"view":{"description":"View","type":"boolean","example":true},"publish":{"description":"Publish","type":"boolean","example":true},"delete":{"description":"Delete","type":"boolean","example":true},"rename":{"description":"Rename","type":"boolean","example":true},"create":{"description":"Create","type":"boolean","example":true},"settings":{"description":"Settings","type":"boolean","example":true},"versions":{"description":"Versions","type":"boolean","example":true},"properties":{"description":"Properties","type":"boolean","example":true}},"type":"object"},"PerspectiveConfig":{"title":"Perspective Config","required":["id","name","icon","isWriteable"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Perspective ID","type":"string","example":"5026c239_eb75_499a_8576_841bca283350"},"name":{"description":"Name","type":"string","example":"Cars"},"icon":{"$ref":"#\/components\/schemas\/ElementIcon","description":"Icon"},"isWriteable":{"description":"Is Writeable","type":"boolean","example":true}},"type":"object"},"PerspectiveConfigDetail":{"title":"Perspective Config Detail","required":["contextPermissions","widgetsLeft","widgetsRight","widgetsBottom","expandedLeft","expandedRight"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/PerspectiveConfig"},{"properties":{"contextPermissions":{"description":"Context Permissions","type":"object","example":{"permission_group":{"permission1":true,"permission2":false}}},"widgetsLeft":{"description":"Widgets Left","type":"array","items":{"$ref":"#\/components\/schemas\/ElementTreeWidgetConfig"}},"widgetsRight":{"description":"Widgets Right","type":"array","items":{"$ref":"#\/components\/schemas\/ElementTreeWidgetConfig"}},"widgetsBottom":{"description":"Widgets Bottom","type":"array","items":{"$ref":"#\/components\/schemas\/ElementTreeWidgetConfig"}},"expandedLeft":{"description":"Left Expanded Widget","type":["string","null"],"example":"widget_id"},"expandedRight":{"description":"Right Expanded Widget","type":["string","null"],"example":"widget_id"}},"type":"object"}]},"PredefinedMetadata":{"title":"PredefinedMetadata","required":["id","name","type","creationDate","modificationDate","isWriteable"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Id","type":"string","example":"1"},"name":{"description":"Name","type":"string","example":"custom_metadata"},"description":{"description":"Description","type":["string","null"],"example":"A predefined metadata"},"type":{"description":"Type","type":"string","example":"input"},"targetSubType":{"description":"Target sub type","type":["string","null"],"example":"input"},"data":{"description":"Data","type":["mixed","null"],"example":"data"},"config":{"description":"Config","type":["string","null"],"example":"config"},"language":{"description":"Language","type":["string","null"],"example":"en"},"group":{"description":"Group","type":["string","null"],"example":"group"},"creationDate":{"description":"Creation Date","type":"integer","example":1634025600},"modificationDate":{"description":"Modfication Date","type":"integer","example":1634025600},"isWriteable":{"description":"Writable","type":"boolean","example":false}},"type":"object"},"PredefinedProperty":{"title":"PredefinedProperty","required":["id","name","key","type","ctype","inheritable","creationDate","modificationDate"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"string","example":"alpha-numerical-value"},"name":{"description":"name","type":"string","example":"Mister Proper"},"description":{"description":"description","type":["string","null"],"example":"Detailed description of the property"},"key":{"description":"key","type":"string","example":"Key for referencing"},"type":{"description":"type","type":"string","example":"text"},"data":{"description":"data","type":["string","null"],"example":"test"},"config":{"description":"config","type":["string","null"],"example":"comma,separated,values"},"ctype":{"description":"ctype","type":"string","example":"document"},"inheritable":{"description":"inheritable","type":"boolean","example":false},"creationDate":{"description":"Creation date","type":"integer","example":221846400},"modificationDate":{"description":"Modification date","type":"integer","example":327417600}},"type":"object"},"QuantityValueUnit":{"title":"QuantityValueUnit","required":["id","abbreviation","group","longName","baseUnit","reference","factor","conversionOffset","converter"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID","type":["string","null"],"example":"mm"},"abbreviation":{"description":"Abbreviation","type":["string","null"],"example":"mm"},"group":{"description":"Group","type":["string","null"],"example":null},"longName":{"description":"Long Name","type":["string","null"],"example":"Millimeter"},"baseUnit":{"description":"Base Unit","type":["string","null"],"example":"m"},"reference":{"description":"Reference","type":["string","null"],"example":null},"factor":{"description":"Factor","type":["number","null"],"format":"float","example":null},"conversionOffset":{"description":"Conversion Offset","type":["number","null"],"format":"float","example":null},"converter":{"description":"Converter","type":["string","null"],"example":null}},"type":"object"},"RelationFieldConfig":{"title":"Relation Field Config","required":["relation","field"],"properties":{"relation":{"description":"Relation Getter","type":"string","example":"manufacturer"},"field":{"description":"Field getter","type":"string","example":"name"}},"type":"object"},"ResetPassword":{"title":"ResetPassword","description":"Username","required":["username"],"properties":{"username":{"description":"Username","type":"string","example":"shaquille.oatmeal"}},"type":"object"},"Progress":{"title":"SSEHandlerProgress","required":["progress","currentStep","totalSteps","jobStepName","jobName","jobRunId","user"],"properties":{"progress":{"description":"progress","type":"integer","example":69},"currentStep":{"description":"currentStep","type":"integer","example":1},"totalSteps":{"description":"totalSteps","type":"integer","example":3},"jobStepName":{"description":"jobStepName","type":"string","example":"Job Step Name"},"jobName":{"description":"jobName","type":"string","example":"Job Name"},"jobRunId":{"description":"jobRunId","type":"integer","example":73},"user":{"description":"user","type":"integer","example":2}},"type":"object"},"Finished":{"title":"SSEJobRunFinished","required":["jobRunId","jobRunName","ownerId","state","messages","notifyAll"],"properties":{"jobRunId":{"description":"jobRunId","type":"integer","example":73},"jobRunName":{"description":"jobRunName","type":"string","example":"my-job-name"},"ownerId":{"description":"ownerId","type":"integer","example":13},"status":{"description":"status","type":"string","example":"finished"},"messages":{"description":"messages","type":"array","items":{"type":"string"},"example":["Something went wrong"]},"notifyAll":{"description":"notifyAll","type":"boolean","example":false}},"type":"object"},"SaveAssetContextPermissions":{"title":"Save Asset Context Permissions","required":["hideAdd","addUpload","uploadNewVersion","addUploadZip","download","downloadZip","addFolder","copy","cut","delete","lock","lockAndPropagate","paste","pasteCut","refresh","rename","searchAndMove","unlock","unlockAndPropagate"],"properties":{"hideAdd":{"description":"Hide Add Menu","type":"boolean","example":true},"addUpload":{"description":"Add Upload","type":"boolean","example":true},"uploadNewVersion":{"description":"Upload New Version","type":"boolean","example":true},"addUploadZip":{"description":"Add Upload Zip","type":"boolean","example":true},"download":{"description":"Download","type":"boolean","example":true},"downloadZip":{"description":"Download Zip","type":"boolean","example":true},"addFolder":{"description":"Add Folder","type":"boolean","example":true},"copy":{"description":"Copy","type":"boolean","example":true},"cut":{"description":"Cut","type":"boolean","example":true},"delete":{"description":"Delete","type":"boolean","example":true},"lock":{"description":"Lock","type":"boolean","example":true},"lockAndPropagate":{"description":"Lock And Propagate","type":"boolean","example":true},"paste":{"description":"Paste","type":"boolean","example":true},"pasteCut":{"description":"Paste Cut","type":"boolean","example":true},"refresh":{"description":"Refresh","type":"boolean","example":true},"rename":{"description":"Rename","type":"boolean","example":true},"searchAndMove":{"description":"SearchAndMove","type":"boolean","example":true},"unlock":{"description":"Unlock","type":"boolean","example":true},"unlockAndPropagate":{"description":"Unlock And Propagate","type":"boolean","example":true}},"type":"object"},"SaveDataObjectContextPermissions":{"title":"Save Data Object Context Permissions","required":["add","addFolder","changeChildrenSortBy","copy","cut","delete","lock","lockAndPropagate","paste","publish","refresh","rename","searchAndMove","unlock","unlockAndPropagate","unpublish"],"properties":{"add":{"description":"Add","type":"boolean","example":true},"addFolder":{"description":"Add Folder","type":"boolean","example":true},"changeChildrenSortBy":{"description":"Change Children SortBy","type":"boolean","example":true},"copy":{"description":"Copy","type":"boolean","example":true},"cut":{"description":"Cut","type":"boolean","example":true},"delete":{"description":"Delete","type":"boolean","example":true},"lock":{"description":"Lock","type":"boolean","example":true},"lockAndPropagate":{"description":"Lock and Propagate","type":"boolean","example":true},"paste":{"description":"Paste","type":"boolean","example":true},"publish":{"description":"Publish","type":"boolean","example":true},"refresh":{"description":"Refresh","type":"boolean","example":true},"rename":{"description":"Rename","type":"boolean","example":true},"searchAndMove":{"description":"Search and Move","type":"boolean","example":true},"unlock":{"description":"Unlock","type":"boolean","example":true},"unlockAndPropagate":{"description":"Unlock and Propagate","type":"boolean","example":true},"unpublish":{"description":"Unpublish","type":"boolean","example":true}},"type":"object"},"SaveDocumentContextPermissions":{"title":"Save Document Context Permissions","required":["add","addEmail","addFolder","addHardlink","addHeadlessDocument","addLink","addNewsletter","addPrintPage","addSnippet","convert","copy","cut","delete","editSite","lock","lockAndPropagate","open","paste","pasteCut","publish","refresh","removeSite","rename","searchAndMove","unlock","unlockAndPropagate","unpublish","useAsSite"],"properties":{"add":{"description":"Add","type":"boolean","example":true},"addEmail":{"description":"Add E-Mail","type":"boolean","example":true},"addFolder":{"description":"Add Folder","type":"boolean","example":true},"addHardlink":{"description":"Add Hardlink","type":"boolean","example":true},"addHeadlessDocument":{"description":"Add Headless Document","type":"boolean","example":true},"addLink":{"description":"Add Link","type":"boolean","example":true},"addNewsletter":{"description":"Add Newsletter","type":"boolean","example":true},"addPrintPage":{"description":"Add Print Page","type":"boolean","example":true},"addSnippet":{"description":"Add Snippet","type":"boolean","example":true},"convert":{"description":"Convert","type":"boolean","example":true},"copy":{"description":"Copy","type":"boolean","example":true},"cut":{"description":"Cut","type":"boolean","example":true},"delete":{"description":"Delete","type":"boolean","example":true},"editSite":{"description":"Edit Site","type":"boolean","example":true},"lock":{"description":"Lock","type":"boolean","example":true},"lockAndPropagate":{"description":"Lock and Propagate","type":"boolean","example":true},"open":{"description":"Open","type":"boolean","example":true},"paste":{"description":"Paste","type":"boolean","example":true},"pasteCut":{"description":"Paste Cut","type":"boolean","example":true},"publish":{"description":"Publish","type":"boolean","example":true},"refresh":{"description":"Refresh","type":"boolean","example":true},"removeSite":{"description":"Remove Site","type":"boolean","example":true},"rename":{"description":"Rename","type":"boolean","example":true},"searchAndMove":{"description":"Search and Move","type":"boolean","example":true},"unlock":{"description":"Unlock","type":"boolean","example":true},"unlockAndPropagate":{"description":"Unlock and Propagate","type":"boolean","example":true},"unpublish":{"description":"Unpublish","type":"boolean","example":true},"useAsSite":{"description":"Use As Site","type":"boolean","example":true}},"type":"object"},"Schedule":{"title":"Schedule","required":["id","ctype","date","active","userId","username"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"integer","example":666},"ctype":{"description":"ctype","type":"string","example":"Type of element"},"date":{"description":"Date of schedule","type":"integer","example":1634025600},"action":{"description":"Action","type":["string","null"],"enum":["publish","delete"]},"version":{"description":"Version ID","type":["integer","null"],"example":987},"active":{"description":"Active","type":"boolean","example":true},"userId":{"description":"User ID","type":"integer","example":999},"username":{"description":"Username","type":"string","example":"shaquille.oatmeal"}},"type":"object"},"CustomLayoutNew":{"title":"Schema used to create custom layouts","required":["name","classId"],"properties":{"name":{"description":"Name","type":"string"},"classId":{"description":"Data object class id","type":"integer"}},"type":"object"},"CustomLayoutUpdate":{"title":"Schema used to update custom layouts","required":["configuration","values"],"properties":{"configuration":{"description":"Layout configuration for fields (Panel, Input, ..)","type":"object"},"values":{"description":"Values for custom layout object itself","type":"object"}},"type":"object"},"FormatedPath":{"title":"Select Option","required":["objectReference","formatedPath"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"objectReference":{"description":"Object Reference","type":"string","example":"object_11"},"formatedPath":{"description":"Formated Path","type":"string","example":"nice\/path"}},"type":"object"},"SelectOption":{"title":"Select Option","required":["key","value"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"key":{"description":"Key","type":"string","example":"key"},"value":{"description":"Value","type":"string","example":"value"}},"type":"object"},"SendEmailParameters":{"title":"SendEmailParameters","required":["from","to","subject","contentType"],"properties":{"from":{"description":"from email address(es)","type":"string","example":"from@sender.com"},"to":{"description":"to email address(es)","type":"string","example":"to@receiver.com"},"subject":{"description":"email subject","type":"string","example":"My email subject"},"contentType":{"description":"email content type","type":"string","enum":["document","html","text"],"example":"text"},"content":{"description":"email content","type":["string","null"],"example":"My email message"},"documentPath":{"description":"path to the email document","type":["string","null"],"example":"\/path\/to\/document"},"documentParameters":{"description":"email document parameters","type":"array","items":{"$ref":"#\/components\/schemas\/EmailDocumentParameters"}},"attachmentId":{"description":"id of the asset attachment","type":["integer","null"],"example":83}},"type":"object"},"SendNotificationParameters":{"title":"SendEmailParameters","required":["recipientId","title","message"],"properties":{"recipientId":{"description":"recipient ID","type":"integer","example":"33"},"title":{"description":"title","type":"string","example":"New notification"},"message":{"description":"message","type":"string","example":"My notification message"},"attachmentType":{"description":"type of the attachment","type":["string","null"],"enum":["asset","document","object"],"example":null},"attachmentId":{"description":"ID of the attachment","type":["integer","null"],"example":83}},"type":"object"},"SimpleFieldConfig":{"title":"Simple Field Config","required":["field"],"properties":{"field":{"description":"Field getter","type":"string","example":"name"}},"type":"object"},"SimpleUser":{"title":"Simple User","description":"A user with the most imported information.","required":["id","name"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID of the User","type":"integer","example":"1"},"username":{"description":"Name of the User","type":"string","example":"role"}},"type":"object"},"SimpleRole":{"title":"Simple User Role","description":"A user role which is a combination of permissions and settings.","required":["id","category"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID of the Role","type":"integer","example":"1"},"name":{"description":"Name of the Role","type":"string","example":"role"}},"type":"object"},"AssetSearchPreview":{"title":"SimpleSearchAssetDetail","required":["mimeType","thumbnail"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/SimpleSearchPreview"},{"properties":{"mimeType":{"description":"Mimetype","type":["string","null"],"example":"image\/jpeg"},"thumbnail":{"description":"Thumbnail path","type":["string","null"],"example":"path\/to\/thumbnail"}},"type":"object"}]},"DataObjectSearchPreview":{"title":"SimpleSearchDataObjectDetail","required":["class","objectData"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/SimpleSearchPreview"},{"properties":{"class":{"description":"Class name and Id","type":["string","null"],"example":"Car [CAR]"},"objectData":{"description":"Detail object data","type":"object","example":{"fieldKey":"field value"}}},"type":"object"}]},"SimpleSearchPreview":{"title":"SimpleSearchDetail","required":["id","elementType","type","userOwner","userOwnerName","userModification","userModificationName","creationDate","modificationDate"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Id","type":"integer","example":"74"},"elementType":{"description":"elementType","type":"string","example":"asset"},"type":{"description":"Type","type":"string","example":"image"},"userOwner":{"description":"Id of owner","type":["integer","null"],"example":1},"userOwnerName":{"description":"Name of owner","type":["string","null"],"example":"admin"},"userModification":{"description":"Id of the user that modified the element","type":["integer","null"],"example":1},"userModificationName":{"description":"Name of the user that modified the element","type":["integer","null"],"example":"admin"},"creationDate":{"description":"Creation date","type":["integer","null"],"example":221846400},"modificationDate":{"description":"Modification date","type":["integer","null"],"example":327417600}},"type":"object"},"DocumentSearchPreview":{"title":"SimpleSearchDocumentDetail","required":["language","documentData"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/SimpleSearchPreview"},{"properties":{"language":{"description":"Document Language","type":["string","null"],"example":"English"},"documentData":{"oneOf":[{"$ref":"#\/components\/schemas\/PageSearchPreview","description":"Page document data"},{"type":"null"}],"description":"Page document data"}},"type":"object"}]},"PageSearchPreview":{"title":"SimpleSearchPageDetail","required":["title","description","name","$hasPreviewImage"],"properties":{"title":{"description":"Title","type":["string","null"],"example":"Page"},"description":{"description":"Description","type":["string","null"],"example":"This is some page"},"name":{"description":"Navigation name","type":["string","null"],"example":"Awesome Page"},"hasPreviewImage":{"description":"Has Preview image","type":"boolean","example":false}},"type":"object"},"SimpleSearchResult":{"title":"SimpleSearchResult","required":["id","elementType","type","path","icon"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes","description":"Custom attributes for the tree"},"id":{"description":"id","type":"integer","example":"74"},"elementType":{"description":"elementType","type":"string","example":"asset"},"type":{"description":"type","type":"string","example":"image"},"path":{"description":"path","type":"string","example":"\/path\/to\/asset"},"icon":{"$ref":"#\/components\/schemas\/ElementIcon","description":"icon"}},"type":"object"},"Site":{"title":"Site","required":["id","domains","domain","rootId","rootPath"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID","type":"integer","example":0},"domains":{"description":"Domains","type":"array","items":{"type":"string"},"example":["other_domain"]},"domain":{"description":"Domain","type":"string","example":"main_site"},"rootId":{"description":"ID of the root","type":["integer","null"],"example":1},"rootPath":{"description":"Root path","type":["string","null"],"example":"\/"}},"type":"object"},"Snippet":{"title":"Snippet","required":["controller","template","contentMainDocumentId","supportsContentMain","missingRequiredEditable","staticGeneratorEnabled","staticGeneratorLifetime","draftData"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Document"},{"properties":{"controller":{"description":"Controller","type":"string","example":"App\\Controller\\PageController"},"template":{"description":"Template","type":"string","example":"App\\Controller\\PageController"},"contentMainDocumentId":{"description":"Main document ID","type":"integer","example":1},"supportsContentMain":{"description":"Supports main content","type":"boolean","example":false},"missingRequiredEditable":{"description":"Is missing required editable","type":"boolean","example":false},"staticGeneratorEnabled":{"description":"Is static generator enabled","type":"boolean","example":false},"staticGeneratorLifetime":{"description":"Lifetime of static generator","type":"integer","example":123456},"draftData":{"$ref":"#\/components\/schemas\/PageSnippetDraftData"}},"type":"object"}]},"StaticTextConfig":{"title":"Static Text Config","required":["text"],"properties":{"text":{"description":"Static Text","type":"string","example":"My Text"}},"type":"object"},"SubmitAction":{"title":"SubmitAction","description":"Schema for submission of workflow action","required":["actionType","elementId","elementType","workflowName","transition","workflowOptions"],"properties":{"actionType":{"description":"type of the action","type":"string","example":"transition"},"elementId":{"description":"Id of the element","type":"integer","example":50},"elementType":{"description":"Type of the element","type":"string","example":"data-object"},"workflowId":{"description":"Id of the workflow","type":"string","example":"my_first_workflow"},"transitionId":{"description":"Id of the transition","type":"string","example":"start_workflow"},"workflowOptions":{"description":"workflowOptions","type":"object","example":"{\u0022notes\u0022: \u0022Some note I want to write\u0022}"}},"type":"object"},"Subtype":{"title":"Subtype","required":["elementId","elementType","elementSubtype"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"elementId":{"description":"Element Id","type":"integer","example":14},"elementType":{"description":"Element Type","type":"string","example":"asset"},"elementSubtype":{"description":"Element Subtype","type":"string","example":"image"}},"type":"object"},"Tag":{"title":"Tag","required":["id","parentId","text","path","hasChildren","iconName"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"tag ID","type":"integer","example":2},"parentId":{"description":"parent tag ID","type":"integer","example":0},"text":{"description":"tag text","type":"string","example":"Tag 1"},"path":{"description":"path","type":"string","example":"\/test"},"hasChildren":{"description":"has children","type":"boolean","example":false},"iconName":{"description":"IconName","type":"string","example":"pimcore_icon_pdf"},"children":{"description":"children","type":"array","items":{"$ref":"#\/components\/schemas\/Tag"}}},"type":"object"},"Text":{"title":"Text","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"Thumbnail":{"title":"Thumbnail","required":["id","text"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"string","example":"pimcore_system_treepreview"},"text":{"description":"text","type":"string","example":"original"}},"type":"object"},"ThumbnailCollection":{"title":"ThumbnailCollection","required":["items"],"properties":{"items":{"description":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Thumbnail"}}},"type":"object"},"Transformer":{"title":"Transformer","required":["key"],"properties":{"key":{"description":"Key of the Transformer","type":"string","example":"uppercase"}},"type":"object"},"Translation":{"title":"Translation","description":"Translation Scheme for API","required":["locale","keys"],"properties":{"locale":{"description":"Locale","type":"string","example":"en"},"keys":{"description":"Keys for Translation - Fallback will be applied to all Keys automatically","type":"array","items":{"type":"string","example":"not_your_typical_key"}},"useFallback":{"description":"Apply Fallback Language. Used only if no keys are defined","type":"boolean","example":true}},"type":"object"},"CreateTranslation":{"title":"Translation Create","description":"Translation Crete Scheme for API","required":["translationData"],"properties":{"translationData":{"description":"Translation Data","type":"array","items":{"$ref":"#\/components\/schemas\/CreateTranslationData"}}},"type":"object"},"TranslationData":{"title":"Translation Data","description":"Translation Data Scheme for API","required":["key","translation","type"],"properties":{"key":{"description":"Key","type":"string","example":"my_translation_key"},"translation":{"description":"Translation","type":"string","example":"some_translated_string"},"type":{"description":"Type","type":"string","example":"simple"}},"type":"object"},"CreateTranslationData":{"title":"Translation Data for create","description":"Translation Data Scheme for create endpoint of the API","required":["key","type"],"properties":{"key":{"description":"Key","type":"string","example":"my_translation_key"},"type":{"description":"Type","type":"string","example":"simple"}},"type":"object"},"UpdateTranslation":{"title":"Translation Update","description":"Translation Update Scheme for API","required":["locale","translationData"],"properties":{"locale":{"description":"Locale","type":"string","example":"en"},"translationData":{"description":"Translation Data","type":"array","items":{"$ref":"#\/components\/schemas\/TranslationData"}}},"type":"object"},"TreeLevelData":{"title":"Tree Level Data","required":["level","elementId","pageNumber"],"properties":{"parentId":{"description":"Parent ID","type":"integer","example":1},"elementId":{"description":"Element ID","type":"integer","example":66},"pageNumber":{"description":"Page Number","type":"integer","example":1}},"type":"object"},"TreeNode":{"title":"Tree Node","description":"One node in the a tree","required":["id","name","type","hasChildren"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Unique Identifier","type":"integer","example":"1"},"name":{"description":"Name of the tree node","type":"string","example":"admin"},"type":{"description":"Is ether folder or a specific item in the folder","type":"string","example":"user"},"hasChildren":{"description":"If a folder has sub items","type":"boolean","example":true}},"type":"object"},"TwoFactorAuth":{"title":"Two Factor Authentication Data","description":"Two Factor Authentication Data for a User","required":["required","enabled","type","active"],"properties":{"required":{"description":"Required","type":"boolean","example":true},"enabled":{"description":"Enabled","type":"boolean","example":true},"type":{"description":"Type","type":"string","example":"totp"},"active":{"description":"Active","type":"boolean","example":true}},"type":"object"},"ConvertParameters":{"title":"Unit Convert Parameters","required":["fromUnitId","toUnitId","value"],"properties":{"fromUnitId":{"description":"From Unit Id","type":"string","example":"m"},"toUnitId":{"description":"To Unit Id","type":"string","example":"mm"},"value":{"description":"Value","example":5,"anyOf":[{"type":"float"},{"type":"integer"}]}},"type":"object"},"Unknown":{"title":"Unknown","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"UpdateRole":{"title":"Update User Role","description":"Contains all information about a role that can be updated.","required":["name","classes","parentId","permissions","docTypes","websiteTranslationLanguagesEdit","websiteTranslationLanguagesView","assetWorkspaces","dataObjectWorkspaces","documentWorkspaces","perspectives"],"properties":{"name":{"description":"Name of Folder or Role","type":["string","null"],"example":"admin"},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"parentId":{"type":["integer","null"],"example":"2"},"permissions":{"description":"List of permissions for the user","type":"object","example":["objects","documents"]},"docTypes":{"description":"List of document types for the role","type":"object","example":["1","2"]},"websiteTranslationLanguagesEdit":{"type":"object","example":["de","en"]},"websiteTranslationLanguagesView":{"type":"object","example":["de"]},"assetWorkspaces":{"description":"Asset Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"dataObjectWorkspaces":{"description":"Data Object Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"documentWorkspaces":{"description":"Document Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"perspectives":{"description":"Allowed studio perspectives","type":"object","example":["studio_default_perspective","some_otherPerspective_Id"]}},"type":"object"},"UpdateCustomMetadata":{"title":"UpdateCustomMetadata","required":["name","language","type","data"],"properties":{"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":"string","example":"en"},"type":{"description":"Type","type":"string","example":"input"},"data":{"description":"Data","type":["mixed","null"],"example":"data"}},"type":"object"},"UpdateCustomSettings":{"title":"UpdateCustomSettings","required":["key","value"],"properties":{"key":{"description":"Key","type":"string","example":"my_custom_setting_key"},"value":{"description":"Value","type":["mixed","null"],"example":"data"}},"type":"object"},"UpdateElementProperty":{"title":"UpdateDataProperty","required":["key","data","type","inheritable"],"properties":{"key":{"description":"key","type":"string","example":"Mister Proper"},"data":{"description":"data","type":["mixed","null"],"example":"123"},"type":{"description":"type","type":"string","example":"document"},"inheritable":{"description":"inheritable","type":"boolean","example":false}},"type":"object"},"UpdatePredefinedProperty":{"title":"UpdatePredefinedProperty","required":["name","key","type","ctype","inheritable"],"properties":{"name":{"description":"name","type":"string","example":"Mister Proper"},"description":{"description":"description","type":["string","null"],"example":"Detailed description of the property"},"key":{"description":"key","type":"string","example":"Key for referencing"},"type":{"description":"type","type":"string","example":"text"},"data":{"description":"data","type":["string","null"],"example":"test"},"config":{"description":"config","type":["string","null"],"example":"comma,separated,values"},"ctype":{"description":"ctype","type":"string","example":"document"},"inheritable":{"description":"inheritable","type":"boolean","example":false}},"type":"object"},"UpdateSchedule":{"title":"UpdateSchedule","required":["id","date","active"],"properties":{"id":{"description":"Id of schedule, if null a new one will be created","type":["integer","null"],"example":666},"date":{"description":"Date of schedule","type":"integer","example":1634025600},"action":{"description":"Action","type":["string","null"],"enum":["publish","delete"]},"version":{"description":"Version ID","type":["integer","null"],"example":987},"active":{"description":"Active","type":"boolean","example":true}},"type":"object"},"UpdateVersion":{"title":"UpdateVersion","properties":{"public":{"description":"Public","type":["boolean","null"],"example":null},"note":{"description":"Note","type":["string","null"],"example":null}},"type":"object"},"UpdateUser":{"title":"User","description":"User Schema to update a User.","required":["active","classes","closeWarning","allowDirtyClose","contentLanguages","keyBindings","language","memorizeTabs","parentId","permissions","roles","twoFactorAuthenticationEnabled","websiteTranslationLanguagesEdit","websiteTranslationLanguagesView","welcomeScreen","assetWorkspaces","dataObjectWorkspaces","documentWorkspaces","perspectives"],"properties":{"email":{"description":"Email of the User","type":["string","null"],"example":""},"firstname":{"description":"Firstname of the User","type":["string","null"],"example":""},"lastname":{"description":"Lastname of the User","type":["string","null"],"example":""},"admin":{"description":"If User is admin","type":"boolean","example":false},"active":{"description":"If User is active","type":"boolean","example":true},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"closeWarning":{"type":"boolean","example":true},"allowDirtyClose":{"type":"boolean","example":true},"contentLanguages":{"description":"List of available content Language already sorted.","type":"object","example":["de","en"]},"keyBindings":{"description":"Key Bindings","type":"array","items":{"$ref":"#\/components\/schemas\/KeyBinding"}},"language":{"description":"Language of the User","type":"string","example":"de"},"memorizeTabs":{"type":"boolean","example":true},"parentId":{"type":"integer","example":"2"},"permissions":{"description":"List of permissions for the user","type":"object","example":["objects","documents"]},"roles":{"description":"ID List of roles the user is assigned","type":"object","example":[12,14]},"twoFactorAuthenticationEnabled":{"type":"boolean","example":false},"websiteTranslationLanguagesEdit":{"type":"object","example":["de","en"]},"websiteTranslationLanguagesView":{"type":"object","example":["de"]},"welcomeScreen":{"type":"boolean","example":true},"assetWorkspaces":{"description":"Asset Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"dataObjectWorkspaces":{"description":"Data Object Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"documentWorkspaces":{"description":"Document Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"perspectives":{"description":"Allowed studio perspectives","type":"object","example":["studio_default_perspective","some_otherPerspective_Id"]}},"type":"object"},"User":{"title":"User","description":"Contains all information about a user","required":["id","active","admin","classes","closeWarning","allowDirtyClose","contentLanguages","hasImage","keyBindings","language","memorizeTabs","parentId","permissions","roles","twoFactorAuthenticationEnabled","websiteTranslationLanguagesEdit","websiteTranslationLanguagesView","welcomeScreen","assetWorkspaces","dataObjectWorkspaces","documentWorkspaces","objectDependencies","perspectives"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID of the User","type":"integer","example":"1"},"name":{"description":"Name of Folder or User","type":["string","null"],"example":"admin"},"email":{"description":"Email of the User","type":["string","null"],"example":""},"firstname":{"description":"Firstname of the User","type":["string","null"],"example":""},"lastname":{"description":"Lastname of the User","type":["string","null"],"example":""},"active":{"description":"If a User is active","type":"boolean","example":true},"admin":{"description":"If User is admin","type":"boolean","example":false},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"closeWarning":{"type":"boolean","example":true},"allowDirtyClose":{"type":"boolean","example":true},"contentLanguages":{"description":"List of available content Language already sorted.","type":"object","example":["de","en"]},"hasImage":{"type":"boolean","example":true},"keyBindings":{"description":"Key Bindings","type":"array","items":{"$ref":"#\/components\/schemas\/KeyBinding"}},"language":{"description":"Language of the User","type":"string","example":"de"},"lastLogin":{"description":"Timestamp of the last login","type":["integer","null"],"example":"1718757677"},"memorizeTabs":{"type":"boolean","example":true},"parentId":{"type":["integer","null"],"example":"2"},"permissions":{"description":"List of permissions for the user","type":"object","example":["objects","documents"]},"roles":{"description":"ID List of roles the user is assigned","type":"object","example":[12,14]},"twoFactorAuthenticationEnabled":{"type":"boolean","example":false},"websiteTranslationLanguagesEdit":{"type":"object","example":["de","en"]},"websiteTranslationLanguagesView":{"type":"object","example":["de"]},"welcomeScreen":{"type":"boolean","example":true},"assetWorkspaces":{"description":"Asset Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"dataObjectWorkspaces":{"description":"Data Object Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"documentWorkspaces":{"description":"Document Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"objectDependencies":{"$ref":"#\/components\/schemas\/ObjectDependencies","description":"Object Dependencies"},"perspectives":{"description":"Allowed studio perspectives","type":"array","items":{"$ref":"#\/components\/schemas\/PerspectiveConfig"}}},"type":"object"},"UserInformation":{"title":"User Information","description":"Information about the user","required":["id","username","email","firstname","lastname","permissions","isAdmin","classes","docTypes","language","dateTimeLocale","welcomeScreen","memorizeTabs","hasImage","contentLanguages","keyBindings","activePerspective","perspectives"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"User ID","type":"integer","example":1},"username":{"description":"Username","type":"string","example":"admin"},"email":{"description":"Email","type":["string","null"],"example":""},"firstname":{"description":"Firstname","type":["string","null"],"example":""},"lastname":{"description":"Lastname","type":["string","null"],"example":""},"permissions":{"description":"Permissions","type":"array","items":{"type":"string","example":"clear_cache"}},"isAdmin":{"description":"If user is an admin user","type":"boolean","example":false},"classes":{"description":"Allowed classes to create","type":"array","items":{"type":"string"}},"docTypes":{"description":"Allowed doc types to create","type":"array","items":{"type":"string"}},"language":{"description":"User Language","type":"string","example":"en"},"dateTimeLocale":{"description":"Locale for dateTime","type":["string","null"],"example":""},"welcomeScreen":{"description":"Welcome Screen","type":"boolean","example":true},"memorizeTabs":{"description":"Memorize Tabs","type":"boolean","example":true},"hasImage":{"description":"Has Image","type":"boolean","example":true},"contentLanguages":{"description":"List of available content Language already sorted.","type":"object","example":["de","en"]},"keyBindings":{"description":"Key Bindings","type":"array","items":{"$ref":"#\/components\/schemas\/KeyBinding"}},"twoFactorAuthentication":{"description":"Two Factor Authentication","type":"array","items":{"$ref":"#\/components\/schemas\/TwoFactorAuth"}},"activePerspective":{"description":"Active studio perspective ID","type":["string","null"],"example":"studio_default_perspective"},"perspectives":{"description":"Allowed studio perspectives","type":"array","items":{"$ref":"#\/components\/schemas\/PerspectiveConfig"}}},"type":"object"},"ObjectDependencies":{"title":"User Object Dependencies","description":"User Object Dependencies","required":["hasHidden","dependencies"],"properties":{"dependencies":{"description":"Dependencies to objects","type":"array","items":{"$ref":"#\/components\/schemas\/UserDependency"}},"hasHidden":{"description":"If is has hidden dependencies","type":"boolean","example":true}},"type":"object"},"UserPermission":{"title":"User Permission","description":"A permission for a user or role","required":["key","category"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"key":{"description":"Key of the Permission","type":"string","example":"objects"},"category":{"description":"Category og the Permission","type":"string","example":"Datahub"}},"type":"object"},"UpdateUserProfile":{"title":"User Profile","description":"Schema to update a current User Profile.","required":["firstname","lastname","email","language","dateTimeLocale","welcomeScreen","memorizeTabs","contentLanguages","keyBindings"],"properties":{"firstname":{"description":"Firstname of the User","type":["string","null"],"example":""},"lastname":{"description":"Lastname of the User","type":["string","null"],"example":""},"email":{"description":"Email of the User","type":["string","null"],"example":""},"language":{"description":"Language of the User","type":"string","example":"de"},"dateTimeLocale":{"description":"Date Time Locale for the User","type":"string","example":""},"welcomeScreen":{"type":"boolean","example":true},"memorizeTabs":{"type":"boolean","example":true},"contentLanguages":{"description":"List of available content Language already sorted.","type":"object","example":["de","en"]},"keyBindings":{"description":"Key Bindings","type":"array","items":{"$ref":"#\/components\/schemas\/KeyBinding"}}},"type":"object"},"UserWorkspace":{"title":"User Workspace","description":"Workspace of a user","required":["cid","cpath","list","view","publish","delete","rename","create","settings","versions","properties"],"properties":{"cid":{"description":"ID of the element","type":"integer","example":"1"},"cpath":{"description":"Path of the element","type":"string","example":"\/path\/to\/element"},"list":{"description":"List Permission","type":"boolean","example":true},"view":{"description":"View Permission","type":"boolean","example":true},"publish":{"description":"Publish Permission","type":"boolean","example":true},"delete":{"description":"Delete Permission","type":"boolean","example":true},"rename":{"description":"Rename Permission","type":"boolean","example":true},"create":{"description":"Create Permission","type":"boolean","example":true},"settings":{"description":"Settings Permission","type":"boolean","example":true},"versions":{"description":"Versions Permission","type":"boolean","example":true},"properties":{"description":"Properties Permission","type":"boolean","example":true}},"type":"object"},"Version":{"title":"Version","required":["id","cid","ctype","note","date","public","published","versionCount","autosave","user"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"version ID","type":"integer","example":2},"cid":{"description":"element ID","type":"integer","example":10},"ctype":{"description":"element type","type":"string","example":"object"},"note":{"description":"note","type":"string","example":"some note"},"date":{"description":"date","type":"integer","example":1712823182},"public":{"description":"public","type":"boolean","example":false},"published":{"description":"published","type":"boolean","example":false},"versionCount":{"description":"version count","type":"integer","example":10},"autosave":{"description":"autosave","type":"boolean","example":false},"user":{"$ref":"#\/components\/schemas\/VersionUser","description":"user"},"scheduled":{"description":"scheduled","type":["integer","null"],"example":null}},"type":"object"},"Dimensions":{"title":"VersionDimensions","properties":{"width":{"description":"width","type":["integer","null"],"example":1920},"height":{"description":"height","type":["integer","null"],"example":1080}},"type":"object"},"VersionUser":{"title":"VersionUser","properties":{"id":{"description":"ID","type":["integer","null"],"example":2},"name":{"description":"name","type":["string","null"],"example":"John Doe"}},"type":"object"},"Video":{"title":"Video","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"},{"properties":{"duration":{"description":"Duration","type":["number","null"],"format":"float","example":43560.5},"width":{"description":"Width","type":["integer","null"],"example":1920},"height":{"description":"Height","type":["integer","null"],"example":1080},"imageThumbnailPath":{"description":"Path to Image Thumbnail","type":["string","null"],"example":"\/path\/to\/video\/imagethumbnail.jpg"}},"type":"object"}]},"WidgetConfig":{"title":"Widget Config","required":["id","name","widgetType","icon"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Widget ID","type":"string","example":"5026c239_eb75_499a_8576_841bca283350"},"name":{"description":"Name","type":"string","example":"Cars"},"widgetType":{"description":"Widget Type","type":"string","example":"element_trees"},"icon":{"$ref":"#\/components\/schemas\/ElementIcon","description":"Icon"}},"type":"object"},"WidgetType":{"title":"WidgetType","required":["id"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"string","example":"info"}},"type":"object"},"WorkflowDetails":{"title":"WorkflowDetails","required":["workflowName","workflowLabel","workflowStatus","graph","workflowLayoutId","allowedTransitions","globalActions"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"workflowName":{"description":"workflowName","type":"string","example":"simple_asset"},"workflowLabel":{"description":"workflowLabel","type":"string","example":"Sample Asset Workflow"},"workflowStatus":{"description":"workflowStatus","type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowStatus"}},"graph":{"description":"graph","type":"string","example":"\u003Csvg\u003E...\u003C\/svg\u003E"},"workflowLayoutId":{"description":"workflowLayoutId","type":["string","null"],"example":"someWorkflowLayoutId"},"allowedTransitions":{"description":"allowedTransitions","type":"array","items":{"$ref":"#\/components\/schemas\/AllowedTransition"}},"globalActions":{"description":"globalActions","type":"array","items":{"$ref":"#\/components\/schemas\/GlobalAction"}}},"type":"object"},"WorkflowStatus":{"title":"WorkflowStatus","required":["color","colorInverted","title","label","layoutId","visibleInDetail"],"properties":{"color":{"description":"color","type":"string","example":"#3572b0"},"colorInverted":{"description":"colorInverted","type":"boolean","example":false},"title":{"description":"borderColor","type":"string","example":"#ffa500"},"label":{"description":"label","type":"string","example":"Edit Images"},"layoutId":{"description":"layoutId","type":["string","null"],"example":"someStatusLayoutId"},"visibleInDetail":{"description":"visibleInDetail","type":"boolean","example":true}},"type":"object"}}},"tags":[{"name":"Assets","description":"Asset operations to get\/update\/create\/delete assets"},{"name":"Asset Grid","description":"Asset Grid operations"},{"name":"Asset Thumbnails","description":"List thumbnails for assets like videos and images"},{"name":"Authorization","description":"Session-based login via username and password or logout and invalidate the session"},{"name":"Class Definition","description":"Class definition operations"},{"name":"Classification Store","description":"Classification store operations"},{"name":"Custom Reports","description":"List custom reports"},{"name":"Data Objects","description":"DataObject operations to get\/update\/create\/delete data objects"},{"name":"Data Object Grid","description":"DataObject Grid operations"},{"name":"Dependencies","description":"Get dependencies for a single element"},{"name":"Documents","description":"Document operations to get\/update\/create\/delete documents"},{"name":"Elements","description":"Get element properties for a single element based on its type and provided parameters"},{"name":"Execution Engine","description":"Execution engine operations related to job runs"},{"name":"E-Mails","description":"E-mail operations to get\/update\/create\/delete\/test emails and E-mail blocklist"},{"name":"Export","description":"Export"},{"name":"Mercure","description":"Retrieve JWT token for Mercure hub as cookie"},{"name":"Metadata","description":"Metadata operations to get\/update\/create\/delete metadata"},{"name":"Notes","description":"Note operations to list\/delete notes"},{"name":"Notifications","description":"Notification operations to get\/delete\/send notifications"},{"name":"Perspectives","description":"Operations to get\/update\/create\/delete properties and widgets"},{"name":"Properties","description":"Property operations to get\/update\/create\/delete properties"},{"name":"Role Management","description":"Role Management operations"},{"name":"Schedule","description":"Get schedules for an element"},{"name":"Search","description":"Operations to get search configuration, search elements and get search result previews"},{"name":"Settings","description":"Get System Settings"},{"name":"Tags","description":"Tag operations to get\/list\/create\/update\/delete tags"},{"name":"Tags for Element","description":"Tag operations to get tags for an element"},{"name":"Translation","description":"Get translations either for a single key or multiple keys"},{"name":"Units","description":"Units operations like convert and get all units"},{"name":"User Management","description":"User Management operations"},{"name":"Versions","description":"Versions operations to get\/list\/publish\/delete and cleanup versions"},{"name":"Workflows","description":"Workflows operations to get element workflow details"},{"name":"Bundle Asset Metadata Class Definitions","description":"Get\/update\/delete configs and metadata"}]} +{"openapi":"3.1.0","info":{"title":"Studio Backend API","description":"API for Studio generated by OpenApi Generator via zircote\/swagger-php","license":{"name":"Pimcore Open Core License (POCL)","url":"https:\/\/github.com\/pimcore\/pimcore\/blob\/12.x\/LICENSE.md"},"version":"0.4.30"},"paths":{"\/pimcore-studio\/api\/assets\/{id}\/clone\/{parentId}":{"post":{"tags":["Assets"],"summary":"Clone a specific asset","description":"Clones a specific asset with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be a folder\n","operationId":"asset_clone","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}},{"name":"parentId","in":"path","description":"ParentId of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully copied asset"},"201":{"description":"Successfully copied parent asset and created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for copying child assets","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/custom-settings":{"get":{"tags":["Assets"],"summary":"Get custom settings of an asset by ID","description":"Retrieves custom settings based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset\n","operationId":"asset_custom_settings_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved custom settings as JSON","content":{"application\/json":{"schema":{"properties":{"items":{"$ref":"#\/components\/schemas\/CustomSettings"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/text":{"get":{"tags":["Assets"],"summary":"Get asset data in text UTF8 representation by ID","description":"Retrieves the text data in UTF8 representation of the asset based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset.\n","operationId":"asset_get_text_data_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved UTF8 encoded text data of asset","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"UTF 8 encoded text data","type":"string","example":"Test content"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/document\/stream\/pdf-preview":{"get":{"tags":["Assets"],"summary":"Stream asset document PDF preview by ID","description":"Stream asset document PDF preview based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset document\n","operationId":"asset_document_stream_preview","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Asset PDF preview stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"application\/pdf":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"202 - Not Completed\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/download\/zip\/{jobRunId}":{"get":{"tags":["Assets"],"summary":"Download ZIP archive for assets","description":"Download the ZIP archive with assets based on the given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create zip endpoint\n","operationId":"asset_download_zip","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"ZIP archive as attachment","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/zip":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Assets"],"summary":"Delete asset ZIP file based on jobRunId","description":"Delete the ZIP file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create zip endpoint\n","operationId":"asset_delete_zip","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/download":{"get":{"tags":["Assets"],"summary":"Download asset by ID","description":"Download the original asset stream based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"asset_download_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Original asset binary file","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/export\/zip\/asset":{"post":{"tags":["Assets"],"summary":"Creating ZIP file for assets","description":"Creating a ZIP file for assets based on the provided asset IDs in \u003Cstrong\u003E{assets}\u003C\/strong\u003E parameter. \u003Cbr\u003E\nDownload has to be triggered separately via the zip download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"asset_export_zip_asset","requestBody":{"content":{"application\/json":{"schema":{"properties":{"assets":{"type":"array","items":{"type":"integer"}}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for zip export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E413 - Max File Size Exceeded\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/export\/zip\/folder":{"post":{"tags":["Assets"],"summary":"Creating ZIP file assets based on folder","description":"Creating a ZIP file for assets based on the provided folder IDs in \u003Cstrong\u003E{folders}\u003C\/strong\u003E parameter. \u003Cbr\u003E\nFilter assets from folder based on the grid filter schema. \u003Cbr\u003E\nDownload has to be triggered separately via the zip download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"asset_export_zip_folder","requestBody":{"content":{"application\/json":{"schema":{"properties":{"folders":{"type":"array","items":{"type":"integer"},"example":[83]},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for zip export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E413 - Max File Size Exceeded\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}":{"get":{"tags":["Assets"],"summary":"Get asset by ID","description":"Retrieves a specific asset data based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset.\n","operationId":"asset_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved one of asset type data as JSON","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/Image"},{"$ref":"#\/components\/schemas\/AssetDocument"},{"$ref":"#\/components\/schemas\/Audio"},{"$ref":"#\/components\/schemas\/Video"},{"$ref":"#\/components\/schemas\/Archive"},{"$ref":"#\/components\/schemas\/Text"},{"$ref":"#\/components\/schemas\/AssetFolder"},{"$ref":"#\/components\/schemas\/Unknown"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Assets"],"summary":"Update an asset by ID","description":"Update needs to have the complete data present. \u003Cbr\u003E You can create\/update\/delete list entries like metadata, custom settings and properties. \u003Cbr\u003E E.g. if you want to remove an entry from metadata simply do not include this entry in the update. \u003Cbr\u003E If you want to update only a single field, use the PATCH method.\n","operationId":"asset_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"properties":{"parentId":{"type":["integer","null"],"minimum":1},"key":{"type":["string","null"]},"locked":{"type":["string","null"]},"data":{"type":["string","null"]},"dataUri":{"type":["string","null"]},"metadata":{"type":["array","null"],"items":{"$ref":"#\/components\/schemas\/UpdateCustomMetadata"}},"customSettings":{"type":["array","null"],"items":{"$ref":"#\/components\/schemas\/UpdateCustomSettings"}},"properties":{"type":["array","null"],"items":{"$ref":"#\/components\/schemas\/UpdateElementProperty"}},"image":{"oneOf":[{"$ref":"#\/components\/schemas\/ImageData"},{"type":"null"}],"type":"object"}},"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"One of asset types","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/Image"},{"$ref":"#\/components\/schemas\/AssetDocument"},{"$ref":"#\/components\/schemas\/Audio"},{"$ref":"#\/components\/schemas\/Video"},{"$ref":"#\/components\/schemas\/Archive"},{"$ref":"#\/components\/schemas\/Text"},{"$ref":"#\/components\/schemas\/AssetFolder"},{"$ref":"#\/components\/schemas\/Unknown"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/{configurationId}":{"delete":{"tags":["Asset Grid"],"summary":"Delete grid configuration for a specific folder and given configuration ID","description":"Delete grid configuration for a specific folder and given configuration ID \u003Cstrong\u003E{configurationId}\u003C\/strong\u003E\n","operationId":"asset_delete_grid_configuration_by_configurationId","parameters":[{"name":"configurationId","in":"path","description":"ConfigurationId of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedConfiguration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/available-columns":{"get":{"tags":["Asset Grid"],"summary":"Get available grid column configurations","description":"Get all available grid columns for assets\n","operationId":"asset_get_available_grid_columns","responses":{"200":{"description":"All available grid column configurations for assets","content":{"application\/json":{"schema":{"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnConfiguration"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/{folderId}":{"get":{"tags":["Asset Grid"],"summary":"Get asset grid configuration for a specific folder","description":"Get asset saved grid configuration by \u003Cstrong\u003E{folderId}\u003C\/strong\u003E if a configuration-id is set, otherwise get the default configuration will be returned.\n","operationId":"asset_get_grid_configuration_by_folderId","parameters":[{"name":"folderId","in":"path","description":"FolderId of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"configurationId","in":"query","description":"Configuration ID","required":false,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Asset grid configuration","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedConfiguration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configurations":{"get":{"tags":["Asset Grid"],"summary":"Get all saved grid configurations for assets of the given folder","description":"Get all saved grid configurations for assets of the given folder for the current user and shared configurations for this user\n","operationId":"asset_get_saved_grid_configurations","responses":{"200":{"description":"List of saved grid configurations for the given folder","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Configuration"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/save":{"post":{"tags":["Asset Grid"],"summary":"Save asset grid configuration for a specific folder\n","description":"Save asset grid configuration for a specific folder\n","operationId":"asset_save_grid_configuration","parameters":[{"name":"folderId","in":"path","description":"FolderId of the folder","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","pageSize","name","description","columns"],"properties":{"folderId":{"type":"integer","example":1},"pageSize":{"type":"integer","example":1},"name":{"type":"string"},"description":{"type":"string"},"shareGlobal":{"type":"boolean","example":true},"setAsFavorite":{"type":"boolean","example":true},"saveFilter":{"type":"boolean","example":true},"sharedUsers":{"type":"object","example":[42,1337]},"sharedRoles":{"type":"object","example":[42,1337]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnSchema"}},"filter":{"oneOf":[{"$ref":"#\/components\/schemas\/Filter"},{"type":"null"}],"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Asset grid configuration saved successfully","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/set-as-favorite\/{configurationId}\/{folderId}":{"post":{"tags":["Asset Grid"],"summary":"Set asset grid configuration as favorite for a specific folder","description":"Set asset grid configuration as favorite for the current user for a specific folder\n","operationId":"asset_set_grid_configuration_as_favorite","parameters":[{"name":"configurationId","in":"path","description":"ConfigurationId of the configurationId","required":true,"schema":{"type":"integer","example":83}},{"name":"folderId","in":"path","description":"FolderId of the folderId","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"asset_set_grid_configuration_as_favorite_response"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/update\/{configurationId}":{"put":{"tags":["Asset Grid"],"summary":"Update asset grid configuration for a specific folder","description":"Update asset grid configuration for a specific folder and given configuration ID \u003Cstrong\u003E{configurationId}\u003C\/strong\u003E\n","operationId":"asset_update_grid_configuration","parameters":[{"name":"configurationId","in":"path","description":"ConfigurationId of the configurationId","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","pageSize","name","description","columns"],"properties":{"folderId":{"type":"integer","example":1},"pageSize":{"type":"integer","example":1},"name":{"type":"string"},"description":{"type":"string"},"shareGlobal":{"type":"boolean","example":true},"setAsFavorite":{"type":"boolean","example":true},"saveFilter":{"type":"boolean","example":true},"sharedUsers":{"type":"object","example":[42,1337]},"sharedRoles":{"type":"object","example":[42,1337]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnSchema"}},"filter":{"oneOf":[{"$ref":"#\/components\/schemas\/Filter"},{"type":"null"}],"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Asset grid configuration updated successfully"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid":{"post":{"tags":["Asset Grid"],"summary":"Get asset data for grid","description":"Retrieve assets data for grid. \u003Cbr\u003E\nYou can use different query parameters to filter the asset data: \u003Cbr\u003E\n\u003Cul\u003E\n\u003Cli\u003E\u003Cstrong\u003EfolderId\u003C\/strong\u003E: ID of parent folder\u003C\/li\u003E\n\u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: To see the full description of request fields see the schema \u003Cstrong\u003EGrid Column Request\u003C\/strong\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Cstrong\u003Efilters\u003C\/strong\u003E: To see the full description of request fields see the schema \u003Cstrong\u003EGrid Filter\u003C\/strong\u003E\u003C\/li\u003E\n\u003C\/ul\u003E\n","operationId":"asset_get_grid","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","columns"],"properties":{"folderId":{"type":"integer","example":1},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"200":{"description":"Asset grid data","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"required":["id","columns","isLocked","permissions"],"type":"array","items":{"properties":{"id":{"type":"integer"},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnData"}},"isLocked":{"type":"boolean"},"permissions":{"$ref":"#\/components\/schemas\/Permissions"}},"type":"object"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/download\/custom":{"get":{"tags":["Assets"],"summary":"Download custom image by ID and configuration","description":"Download the custom image based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and configuration parameters. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image\n","operationId":"asset_image_download_custom","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}},{"name":"mimeType","in":"query","description":"Mime type of downloaded image.","required":true,"schema":{"type":"string","enum":["JPEG","PNG"],"example":"JPEG"}},{"name":"resizeMode","in":"query","description":"Resize mode of downloaded image.","required":true,"schema":{"type":"string","enum":["resize","scaleByWidth","scaleByHeight"],"example":"scaleByWidth"}},{"name":"width","in":"query","description":"Width of downloaded image","schema":{"type":"integer","example":140}},{"name":"height","in":"query","description":"Height of downloaded image","schema":{"type":"integer","example":140}},{"name":"quality","in":"query","description":"Quality of downloaded image","schema":{"type":"integer","example":80}},{"name":"dpi","in":"query","description":"Dpi of downloaded image","schema":{"type":"integer","example":300}}],"responses":{"200":{"description":"Custom image binary file","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"image\/jpeg":{"schema":{"type":"string","format":"binary"}},"image\/png":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/stream\/custom":{"get":{"tags":["Assets"],"summary":"Stream custom image thumbnail by ID and configuration","description":"Stream image asset thumbnail based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and configuration parameters. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image\n","operationId":"asset_image_stream_custom","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}},{"name":"mimeType","in":"query","description":"Mime type of downloaded image.","required":true,"schema":{"type":"string","enum":["JPEG","PNG"],"example":"PNG"}},{"name":"resizeMode","in":"query","description":"Resize mode of downloaded image.","required":true,"schema":{"type":"string","enum":["scaleByHeight","scaleByWidth","resize","none"],"example":"none"}},{"name":"width","in":"query","description":"Width of downloaded image","schema":{"type":"integer","example":140}},{"name":"height","in":"query","description":"Height of downloaded image","schema":{"type":"integer","example":null}},{"name":"quality","in":"query","description":"Quality of downloaded image","schema":{"type":"integer","example":85}},{"name":"dpi","in":"query","description":"Dpi of downloaded image","schema":{"type":"integer","example":null}},{"name":"contain","in":"query","description":"Contain","schema":{"type":"boolean","example":null}},{"name":"frame","in":"query","description":"Frame","schema":{"type":"boolean","example":null}},{"name":"cover","in":"query","description":"Cover","schema":{"type":"boolean","example":null}},{"name":"forceResize","in":"query","description":"ForceResize","schema":{"type":"boolean","example":null}},{"name":"cropPercent","in":"query","description":"","required":false,"schema":{"type":"boolean","example":false}},{"name":"cropWidth","in":"query","description":"CropWidth of downloaded image","schema":{"type":"integer","example":null}},{"name":"cropHeight","in":"query","description":"CropHeight of downloaded image","schema":{"type":"integer","example":null}},{"name":"cropTop","in":"query","description":"CropTop of downloaded image","schema":{"type":"integer","example":null}},{"name":"cropLeft","in":"query","description":"CropLeft of downloaded image","schema":{"type":"integer","example":null}}],"responses":{"200":{"description":"Image asset stream based on custom thumbnail configuration","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/download\/format\/{format}":{"get":{"tags":["Assets"],"summary":"Download image asset by ID and format","description":"asset_image_download_by_format_description","operationId":"asset_image_download_by_format","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}},{"name":"format","in":"path","description":"Find asset by matching format type.","required":true,"schema":{"type":"string","enum":["office","print","web"],"example":"web"}}],"responses":{"200":{"description":"Image asset binary file based on format","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"image\/jpeg":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/stream\/preview":{"get":{"tags":["Assets"],"summary":"Stream image asset preview by ID","description":"Stream image asset preview based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image\n","operationId":"asset_image_stream_preview","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Image preview stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/stream":{"get":{"tags":["Assets"],"summary":"Stream original image asset by ID","description":"Stream original image asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image\n","operationId":"asset_image_stream","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Stream of an original image asset","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/download\/thumbnail\/{thumbnailName}":{"get":{"tags":["Assets"],"summary":"Download image asset by ID and thumbnail name","description":"Download the image asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{thumbnailName}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image \u003Cbr\u003E\nList of downloadable \u003Cb\u003Ethumbnail names\u003C\/b\u003E can be obtained via the thumbnail image collection endpoint\n","operationId":"asset_image_download_by_thumbnail","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}},{"name":"thumbnailName","in":"path","description":"Find asset by matching thumbnail name.","required":true,"schema":{"type":"string","example":"pimcore-system-treepreview"}}],"responses":{"200":{"description":"Image asset binary file based on thumbnail name","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets":{"patch":{"tags":["Assets"],"summary":"Patch assets by ID","description":"Patching assets based on the given ID and data. \u003Cbr\u003E Patching can be used for updating single or multiple fields. \u003Cbr\u003E If single element is being patched, operation is executed synchronously. Multiple elements are patched asynchronously.\n","operationId":"asset_patch_by_id","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"type":"array","items":{"required":["id"],"properties":{"id":{"description":"Asset ID","type":"integer","example":83},"parentId":{"type":["integer","null"],"minimum":1},"key":{"type":["string","null"]},"locked":{"type":["string","null"]},"metadata":{"type":["array","null"],"items":{"$ref":"#\/components\/schemas\/PatchCustomMetadata"}}},"type":"object"}}},"type":"object"}}}},"responses":{"200":{"description":"Successfully patched asset"},"201":{"description":"Successfully created jobRun for patching multiple assets","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/folder":{"patch":{"tags":["Assets"],"summary":"Patch all assets based on folder ID and filters","description":"Patching assets based on the given folder ID and data. \u003Cbr\u003E Patching on folders will be done asynchronously. \u003Cbr\u003E\nYou can also use filters and sorting. Filter assets from folder based on the grid filter schema\n","operationId":"asset_patch_folder_by_id","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"type":"array","items":{"required":["folderId"],"properties":{"folderId":{"description":"Folder ID","type":"integer","example":83},"parentId":{"type":["integer","null"],"minimum":1},"key":{"type":["string","null"]},"locked":{"type":["string","null"]},"metadata":{"type":["array","null"],"items":{"$ref":"#\/components\/schemas\/PatchCustomMetadata"}}},"type":"object"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created jobRun for patching multiple assets","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/thumbnail\/clear":{"delete":{"tags":["Assets"],"summary":"Clear image thumbnail by ID","description":"Clear the image thumbnail based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing asset image, video or pdf\n","operationId":"asset_clear_thumbnail","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/tree":{"get":{"tags":["Assets"],"summary":"Get all asset data for the tree","description":"Listing of all assets and asset folders in the system. \u003Cbr\u003E\nReturns only data which are relevant for the tree \u003Cbr\u003E\nYou can use different query parameters to filter the assets and it is possible to exclude folders from the result completely\n","operationId":"asset_get_tree","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"parentId","in":"query","description":"Filter assets by parent id.","required":false,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"idSearchTerm","in":"query","description":"Filter assets\/data-objects by matching ids. As a wildcard * can be used","required":false,"schema":{"type":"string","example":83}},{"name":"pqlQuery","in":"query","description":"Pql query filter","required":false,"schema":{"type":"string","example":"id = 69"}},{"name":"excludeFolders","in":"query","description":"Filter folders from result.","required":false,"schema":{"type":"boolean","example":false}},{"name":"path","in":"query","description":"Filter by path.","required":false,"schema":{"type":"string","example":"\/path\/to\/folder"}},{"name":"pathIncludeParent","in":"query","description":"Include the parent item in the result.","required":false,"schema":{"type":"boolean","example":true}},{"name":"pathIncludeDescendants","in":"query","description":"Include all descendants in the result.","required":false,"schema":{"type":"boolean","example":true}}],"responses":{"200":{"description":"asset_get_tree_success_description","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/Image"},{"$ref":"#\/components\/schemas\/AssetDocument"},{"$ref":"#\/components\/schemas\/Audio"},{"$ref":"#\/components\/schemas\/Video"},{"$ref":"#\/components\/schemas\/Archive"},{"$ref":"#\/components\/schemas\/Text"},{"$ref":"#\/components\/schemas\/AssetFolder"},{"$ref":"#\/components\/schemas\/Unknown"}]}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/add\/{parentId}":{"post":{"tags":["Assets"],"summary":"Add a new asset","description":"Add a new asset based on the binary \u003Cstrong\u003E{file}\u003C\/strong\u003E to the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of existing folder.\n","operationId":"asset_add","parameters":[{"name":"parentId","in":"path","description":"ParentId of the asset","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["file"],"properties":{"file":{"description":"File to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"200":{"description":"ID of successfully uploaded new asset","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of created asset","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/exists\/{parentId}":{"get":{"tags":["Assets"],"summary":"Get information if asset already exists","description":"Get information if asset already exists based on the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E and \u003Cstrong\u003E{fileName}\u003C\/strong\u003E query parameter.\n","operationId":"asset_upload_info","parameters":[{"name":"parentId","in":"path","description":"ParentId of the asset","required":true,"schema":{"type":"integer","example":83}},{"name":"fileName","in":"query","description":"Name of the file to upload","required":true,"schema":{"type":"string","example":"file.jpg"}}],"responses":{"200":{"description":"Returns true if asset with the same name and in the same path already exists, false otherwise","content":{"application\/json":{"schema":{"required":["exists"],"properties":{"exists":{"title":"exists","description":"True if asset exists, false otherwise","type":"boolean","example":true}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/replace":{"post":{"tags":["Assets"],"summary":"Replace existing asset binary","description":"Replace the existing asset binary based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E with the provided {file} binary. \u003Cbr\u003E \nThe new asset binary mime type must be the same as the existing asset binary mime type.\n","operationId":"asset_replace","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["file"],"properties":{"file":{"description":"File to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"200":{"description":"File name of the successfully replaced asset","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"new file name of the asset","type":"string","example":"image.jpg"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/add-zip\/{parentId}":{"post":{"tags":["Assets"],"summary":"Add new assets via ZIP archive","description":"Upload a ZIP archive with assets to the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of existing folder.\nZip archive is extracted and assets are uploaded on the background. \u003Cbr\u003E The jobRun ID is returned in the response\n","operationId":"asset_upload_zip","parameters":[{"name":"parentId","in":"path","description":"ParentId of the asset","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["zipFile"],"properties":{"zipFile":{"description":"Zip file to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created jobRun ID to upload multiple assets","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/video\/stream\/image-thumbnail":{"get":{"tags":["Assets"],"summary":"Stream video image thumbnail by ID and configuration","description":"Stream the video image thumbnail based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and configuration parameters. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset video \u003Cbr\u003E\n","operationId":"asset_video_image_thumbnail_stream","parameters":[{"name":"id","in":"path","description":"Id of the video","required":true,"schema":{"type":"integer","example":83}},{"name":"width","in":"query","description":"Width of the video image thumbnail","schema":{"type":"integer","example":265}},{"name":"height","in":"query","description":"Height of the video image thumbnail","schema":{"type":"integer","example":265}},{"name":"aspectRatio","in":"query","description":"Aspect ratio of the video image thumbnail","schema":{"type":"boolean","example":false}},{"name":"frame","in":"query","description":"Frame of the video image thumbnail","schema":{"type":"boolean","example":true}},{"name":"async","in":"query","description":"Generate the asset asynchronously","schema":{"type":"boolean","example":false}}],"responses":{"200":{"description":"Video image thumbnail stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/video\/download\/{thumbnailName}":{"get":{"tags":["Assets"],"summary":"Download video asset by ID and thumbnail name","description":"Download the video asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{thumbnailName}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset video \u003Cbr\u003E\nList of \u003Cb\u003Ethumbnail names\u003C\/b\u003E can be obtained via the thumbnail video collection endpoint\n","operationId":"asset_video_download_by_thumbnail","parameters":[{"name":"id","in":"path","description":"Id of the video","required":true,"schema":{"type":"integer","example":83}},{"name":"thumbnailName","in":"path","description":"Find asset by matching thumbnail name.","required":true,"schema":{"type":"string","example":"pimcore-system-treepreview"}}],"responses":{"200":{"description":"Video binary file based on thumbnail name","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"video\/mp4":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/video\/stream\/{thumbnailName}":{"get":{"tags":["Assets"],"summary":"Stream video asset by ID and thumbnail name","description":"Stream the video asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{thumbnailName}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset video \u003Cbr\u003E\nList of \u003Cb\u003Ethumbnail names\u003C\/b\u003E can be obtained via the thumbnail video collection endpoint\n","operationId":"asset_video_stream_by_thumbnail","parameters":[{"name":"id","in":"path","description":"Id of the video","required":true,"schema":{"type":"integer","example":83}},{"name":"thumbnailName","in":"path","description":"Find asset by matching thumbnail name.","required":true,"schema":{"type":"string","example":"pimcore-system-treepreview"}}],"responses":{"200":{"description":"Video stream based on thumbnail name","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"video\/mp4":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/login":{"post":{"tags":["Authorization"],"summary":"Session-based login with user credentials.","description":"Logs in a user with the provided credentials and returns the user information.","operationId":"login","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Credentials"}}}},"responses":{"200":{"description":"Login successful.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserInformation"}}}},"401":{"description":"Invalid credentials Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InvalidCredentials"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/logout":{"post":{"tags":["Authorization"],"summary":"Logout and invalidate current session for active user.","description":"Logout and invalidate current session for active user.","operationId":"logout","responses":{"200":{"description":"Logout successful."}}}},"\/pimcore-studio\/api\/class\/collection":{"get":{"tags":["Class Definition"],"summary":"Get class definitions collection","description":"Get collection of all class definitions","operationId":"class_definition_collection","responses":{"200":{"description":"List of class definitions","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/ClassDefinitionList"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/custom-layout\/collection\/{dataObjectClass}":{"get":{"tags":["Class Definition"],"summary":"Get custom layout collection for data object class","description":"Get custom layout collection for the given data object class.","operationId":"class_custom_layout_collection","parameters":[{"name":"dataObjectClass","in":"path","description":"Data object class","required":true,"schema":{"type":"string","example":"CAR"}}],"responses":{"200":{"description":"List of custom layouts for the given data object class in a simple and compact format for listings.\n","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/CustomLayoutCompact"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/{customLayoutId}":{"post":{"tags":["Class Definition"],"summary":"Create custom layout","description":"Create custom layout","operationId":"pimcore_studio_api_class_custom_layout_create","parameters":[{"name":"customLayoutId","in":"path","description":"Id of custom layout","required":true,"schema":{"type":"string","example":"CarTodo"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CustomLayoutNew"}}}},"responses":{"200":{"description":"Custom layout created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CustomLayout"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/custom-layout\/{customLayoutId}":{"get":{"tags":["Class Definition"],"summary":"Get custom layout by given id","description":"Get custom layout by given id","operationId":"pimcore_studio_api_class_custom_layout_get","parameters":[{"name":"customLayoutId","in":"path","description":"Id of custom layout","required":true,"schema":{"type":"string","example":"CarTodo"}}],"responses":{"200":{"description":"Custom layout data","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CustomLayout"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Class Definition"],"summary":"Update custom layout by given id","description":"Update custom layout by given id","operationId":"pimcore_studio_api_class_custom_layout_update","parameters":[{"name":"customLayoutId","in":"path","description":"Id of custom layout","required":true,"schema":{"type":"string","example":"CarTodo"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CustomLayoutUpdate"}}}},"responses":{"200":{"description":"Custom layout updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CustomLayout"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Class Definition"],"summary":"Delete custom layout by given id","description":"Delete custom layout by given id","operationId":"pimcore_studio_api_class_custom_layout_delete","parameters":[{"name":"customLayoutId","in":"path","description":"Id of custom layout","required":true,"schema":{"type":"string","example":"CarTodo"}}],"responses":{"200":{"description":"Custom layout deleted"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/custom-layout\/editor\/collection\/{objectId}":{"get":{"tags":["Class Definition"],"summary":"Get custom layout collection for the data object","description":"Get custom layout collection based on the \u003Cstrong\u003E{objectId}\u003C\/strong\u003E and current user permissions. \u003Cbr\u003E\nThe \u003Cstrong\u003E{objectId}\u003C\/strong\u003E must be an ID of an existing object.\n","operationId":"class_custom_layout_editor_collection","parameters":[{"name":"objectId","in":"path","description":"ObjectId of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of custom layouts for the given data object id","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/CustomLayoutCompact"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/custom-layout\/export\/{customLayoutId}":{"get":{"tags":["Class Definition"],"summary":"Export custom layout by given id as JSON","description":"Export custom layout by given id as JSON","operationId":"pimcore_studio_api_class_custom_layout_export","parameters":[{"name":"customLayoutId","in":"path","description":"Id of custom layout","required":true,"schema":{"type":"string","example":"CarTodo"}}],"responses":{"200":{"description":"Custom layout data as JSON","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022custom_definition_CarToDo_export.json\u0022"}}},"content":{"application\/json":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/custom-layout\/import\/{customLayoutId}":{"post":{"tags":["Class Definition"],"summary":"Import custom layout","description":"Import custom layout using a previously exported JSON.","operationId":"pimcore_studio_api_class_custom_layout_import","parameters":[{"name":"customLayoutId","in":"path","description":"Id of custom layout","required":true,"schema":{"type":"string","example":"CarTodo"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["file"],"properties":{"file":{"description":"Import file to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"200":{"description":"Http status code","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CustomLayout"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/field-collection\/{objectId}\/object\/layout":{"get":{"tags":["Class Definition"],"summary":"Get all layouts from the field collection for an given object","description":"Get all layouts from the field collection for an given object\n","operationId":"class_field_collection_object_layout","parameters":[{"name":"objectId","in":"path","description":"ObjectId of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of layouts","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/FieldCollectionLayoutDefinition"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/folder\/{folderId}":{"get":{"tags":["Class Definition"],"summary":"Get list of all data object classes in a folder","description":"Get list of all data object classes in a folder","operationId":"class_definition_folder_collection","parameters":[{"name":"folderId","in":"path","description":"FolderId of the data-object","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of all data object classes in a folder","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/ClassDefinitionFolderItem"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/definition\/{dataObjectClass}":{"get":{"tags":["Class Definition"],"summary":"Get class definition for data object class","description":"Get class definition for the given data object class","operationId":"class_definition_get","parameters":[{"name":"dataObjectClass","in":"path","description":"Data object class","required":true,"schema":{"type":"string","example":"CAR"}}],"responses":{"200":{"description":"Class definition","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ClassDefinition"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/object-brick\/{objectId}\/object\/layout":{"get":{"tags":["Class Definition"],"summary":"Get all layouts from the object bricks for an given object","description":"Get all layouts from the object bricks for an given object\n","operationId":"class_object_brick_object_layout","parameters":[{"name":"objectId","in":"path","description":"ObjectId of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of layouts","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/ObjectBrickLayoutDefinition"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/classification-store\/collections":{"get":{"tags":["Classification Store"],"summary":"Get all classification store collections for given fieldName","description":"Get all classification store collections for given fieldName","operationId":"classification_store_get_collections","parameters":[{"name":"storeId","in":"query","description":"Classification Store ID","required":true,"schema":{"type":"integer","example":83}},{"name":"objectId","in":"query","description":"object ID","required":false,"schema":{"type":"integer","example":83}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"fieldName","in":"query","description":"Field Name","required":true,"schema":{"type":"string","example":"technicalAttributes"}},{"name":"searchTerm","in":"query","description":"Search Term","required":false,"schema":{"type":"string","example":"search term"}}],"responses":{"200":{"description":"List of classification store collections","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Collection"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/classification-store\/groups":{"get":{"tags":["Classification Store"],"summary":"Get all classification store groups for given fieldName","description":"Get all classification store groups for given fieldName","operationId":"classification_store_get_groups","parameters":[{"name":"storeId","in":"query","description":"Classification Store ID","required":true,"schema":{"type":"integer","example":83}},{"name":"objectId","in":"query","description":"object ID","required":false,"schema":{"type":"integer","example":83}},{"name":"searchTerm","in":"query","description":"Search Term","required":false,"schema":{"type":"string","example":"search term"}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"fieldName","in":"query","description":"Field Name","required":true,"schema":{"type":"string","example":"technicalAttributes"}}],"responses":{"200":{"description":"List of classification store groups","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Group"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/classification-store\/key-group-relations":{"get":{"tags":["Classification Store"],"summary":"Get all classification store key group relations for given fieldName","description":"Get all classification store key group relations for given fieldName","operationId":"classification_store_get_key_group_relations","parameters":[{"name":"storeId","in":"query","description":"Classification Store ID","required":true,"schema":{"type":"integer","example":83}},{"name":"objectId","in":"query","description":"object ID","required":false,"schema":{"type":"integer","example":83}},{"name":"searchTerm","in":"query","description":"Search Term","required":false,"schema":{"type":"string","example":"search term"}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"fieldName","in":"query","description":"Field Name","required":true,"schema":{"type":"string","example":"technicalAttributes"}}],"responses":{"200":{"description":"List of classification store key group relations","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/KeyGroupRelation"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/classification-store\/layout-by-collection\/{collectionId}":{"get":{"tags":["Classification Store"],"summary":"Get Layout definition for given collection","description":"Get Layout definition for given collection","operationId":"classification_store_get_layout_by_collection","parameters":[{"name":"objectId","in":"query","description":"object ID","required":true,"schema":{"type":"integer","example":83}},{"name":"collectionId","in":"path","description":"CollectionId of the Collection ID","required":true,"schema":{"type":"integer","example":83}},{"name":"fieldName","in":"query","description":"Field Name","required":true,"schema":{"type":"string","example":"technicalAttributes"}}],"responses":{"200":{"description":"Layout definition","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectionLayout"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/classification-store\/layout-by-group\/{groupId}":{"get":{"tags":["Classification Store"],"summary":"Get Layout definition for given group","description":"Get Layout definition for given group","operationId":"classification_store_get_layout_by_group","parameters":[{"name":"objectId","in":"query","description":"object ID","required":true,"schema":{"type":"integer","example":83}},{"name":"groupId","in":"path","description":"GroupId of the Group ID","required":true,"schema":{"type":"integer","example":83}},{"name":"fieldName","in":"query","description":"Field Name","required":true,"schema":{"type":"string","example":"technicalAttributes"}}],"responses":{"200":{"description":"Layout definition","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GroupLayout"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/custom-reports\/chart\/{name}":{"get":{"tags":["Custom Reports"],"summary":"Get chart data for a specific report","operationId":"custom_reports_chart","parameters":[{"name":"name","in":"path","description":"Name of the report","required":true,"schema":{"type":"string","example":"Quality_Attributes"}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"sortOrder","in":"query","description":"Sort order (asc or desc).","required":false,"schema":{"type":"string","enum":["ASC","DESC"],"example":"ASC"}},{"name":"sortBy","in":"query","description":"Sort by column parameter","required":false,"schema":{"type":"string","example":""}},{"name":"filter","in":"query","description":"Filter for chart data","required":false,"schema":{"type":"string","example":""}},{"name":"reportOffset","in":"query","description":"Offset of the report data","required":false,"schema":{"type":"int","example":null}},{"name":"reportLimit","in":"query","description":"Limit of the report data","required":false,"schema":{"type":"int","example":null}}],"responses":{"200":{"description":"Chart data as JSON. The actual data depends on the selected adapter in the report configuration.","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/CustomReportChartData"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/custom-reports\/tree\/config":{"get":{"tags":["Custom Reports"],"summary":"All reports for the current user to display in configuration tree.","description":"Get all reports for the current user to display in configuration tree.","operationId":"custom_reports_config_get_tree","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}}],"responses":{"200":{"description":"Get all reports for the current user to display in configuration tree.","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/CustomReportTreeConfigNode"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/custom-report\/export\/csv":{"post":{"tags":["Custom Reports"],"summary":"Export report data as CSV","description":"Creating the CSV file for custom reports. \u003Cbr\u003E Parameters are: \u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Ename\u003C\/strong\u003E: Name of custom report\u003C\/li\u003E \n \u003Cli\u003E\u003Cstrong\u003EsortOrder\u003C\/strong\u003E: Sort order (ASC\/DESC)\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003EsortBy\u003C\/strong\u003E: Column name to sort the data by\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Efilter\u003C\/strong\u003E: Filter to filter the data\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003EreportLimit\u003C\/strong\u003E: Limit returned data\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003EreportOffset\u003C\/strong\u003E: Offset, can be used in combination with reportLimit\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003EincludeHeaders\u003C\/strong\u003E: Include headers\u003C\/li\u003E\n \u003C\/ul\u003E Delimiter can be set to anything, but the default is a \u003Cstrong\u003Esemicolon\u003C\/strong\u003E. \u003Cbr\u003E \nDownload has to be triggered separately via the csv download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"custom_report_export_csv","requestBody":{"content":{"application\/json":{"schema":{"properties":{"name":{"type":"string","example":"Quality_Attributes"},"sortOrder":{"type":"string","example":"ASC"},"sortBy":{"type":"string","example":null},"filter":{"type":"string","example":null},"reportLimit":{"type":"integer","example":null},"reportOffset":{"type":"integer","example":null},"includeHeaders":{"type":"boolean","example":false}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for csv export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/custom-reports\/report\/{name}":{"get":{"tags":["Custom Reports"],"summary":"Get detailed configuration for a specific report by name","operationId":"custom_reports_report","parameters":[{"name":"name","in":"path","description":"Name of the report","required":true,"schema":{"type":"string","example":"Quality_Attributes"}}],"responses":{"200":{"description":"Report data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CustomReportDetails"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/custom-reports\/tree":{"get":{"tags":["Custom Reports"],"summary":"All reports for the current user to display in tree.","description":"Get all reports for the current user to display in tree.","operationId":"custom_reports_get_tree","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}}],"responses":{"200":{"description":"Get all reports for the current user to display in tree.","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/CustomReportTreeNode"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/add\/{parentId}":{"post":{"tags":["Data Objects"],"summary":"Successfully added a new data object","description":"Add a new data object to the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of a folder or another data object. See the full description of request fields with the schema \u003Cstrong\u003EDataObjectAdd\u003C\/strong\u003E\n","operationId":"data_object_add","parameters":[{"name":"parentId","in":"path","description":"ParentId of the data-object","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DataObjectAddParameters"}}}},"responses":{"200":{"description":"ID of added data object","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of created data object","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/{id}\/clone\/{parentId}":{"post":{"tags":["Data Objects"],"summary":"Clone a specific data object","description":"Clones a specific data object with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be a folder or another data object\n","operationId":"data_object_clone","parameters":[{"name":"id","in":"path","description":"Id of the data-object","required":true,"schema":{"type":"integer","example":83}},{"name":"parentId","in":"path","description":"ParentId of the data-object","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CloneParameters"}}}},"responses":{"200":{"description":"Successfully copied data object"},"201":{"description":"Successfully copied parent data object and created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for copying child objects","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/{id}":{"get":{"tags":["Data Objects"],"summary":"Get a specific data object by ID","description":"Retrieves a specific data object based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing data object or folder.\n","operationId":"data_object_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the data-object","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved data object data as JSON","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/DataObject"},{"$ref":"#\/components\/schemas\/DataObjectFolder"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Data Objects"],"summary":"Update a data object by ID","description":"You can create\/update\/delete list entries like properties or data object editable fields. \u003Cbr\u003E If you want to update (add\/remove) only some data of a field (e.g data of multi-relation fields), use the PATCH method.\n","operationId":"data_object_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the data-object","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"properties":{"parentId":{"type":["integer","null"],"minimum":1},"index":{"type":["integer","null"],"minimum":0},"key":{"type":["string","null"]},"useDraftData":{"type":["boolean","null"]},"task":{"type":"string","enum":["autoSave","publish","save","unpublish","version"]},"locked":{"type":["string","null"]},"childrenSortBy":{"type":["string","null"]},"childrenSortOrder":{"type":["string","null"]},"published":{"type":["boolean","null"]},"editableData":{"type":["object","null"],"example":"{ \u0022someFieldKey\u0022: \u0022someValue\u0022 }"},"properties":{"type":["array","null"],"items":{"$ref":"#\/components\/schemas\/UpdateElementProperty"}}},"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Successfully updated data object","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/DataObject"},{"$ref":"#\/components\/schemas\/DataObjectFolder"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/grid\/preview":{"post":{"tags":["Data Object Grid"],"summary":"Get a preview of an Advanced Column Grid for a given Data Object.","description":"Gives you a preview of an Advanced Column Grid for a given Data Object.","operationId":"data_object_get_grid_preview","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["objectId","column"],"properties":{"objectId":{"type":"integer","example":1},"column":{"$ref":"#\/components\/schemas\/Column"}},"type":"object"}}}},"responses":{"200":{"description":"Preview of an Advanced Column Grid for a given Data Object.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ColumnData"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/configuration\/{configurationId}":{"delete":{"tags":["Data Object Grid"],"summary":"Delete grid configuration for a given configuration ID","description":"Delete grid configuration for a given configuration ID \u003Cstrong\u003E{configurationId}\u003C\/strong\u003E\n","operationId":"data_object_delete_grid_configuration_by_configurationId","parameters":[{"name":"configurationId","in":"path","description":"ConfigurationId of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedConfiguration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/configuration\/{folderId}\/{classId}":{"get":{"tags":["Data Object Grid"],"summary":"Get data object grid configuration for a specific folder and class-id","description":"Get data object saved grid configuration by \u003Cstrong\u003E{folderId}\u003C\/strong\u003E \u003Cstrong\u003E{classId}\u003C\/strong\u003E if a configuration-id is set, otherwise get the default configuration will be returned.\n","operationId":"data_object_get_grid_configuration","parameters":[{"name":"folderId","in":"path","description":"FolderId of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"classId","in":"path","description":"Class Id of the data object","required":true,"schema":{"type":"string","example":"EV"}},{"name":"configurationId","in":"query","description":"Configuration ID","required":false,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"data_object_get_grid_configuration_success_response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedConfiguration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/configurations\/{classId}":{"get":{"tags":["Data Object Grid"],"summary":"List all saved grid configurations for data objects","description":"List all saved grid configurations for data objects for given class ID\n","operationId":"data_object_list_saved_grid_configurations","parameters":[{"name":"classId","in":"path","description":"Class Id of the data object","required":true,"schema":{"type":"string","example":"EV"}}],"responses":{"200":{"description":"List of saved grid configurations for data objects","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Configuration"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/configuration\/save\/{classId}":{"post":{"tags":["Data Object Grid"],"summary":"Save Data Object grid configuration for a specific folder","description":"Save Data Object grid configuration for a specific Class ID \u003Cstrong\u003E{classId}\u003C\/strong\u003E\n","operationId":"data_object_save_grid_configuration","parameters":[{"name":"classId","in":"path","description":"Class Id of the data object","required":true,"schema":{"type":"string","example":"EV"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","pageSize","name","description","columns"],"properties":{"folderId":{"type":"integer","example":1},"pageSize":{"type":"integer","example":1},"name":{"type":"string"},"description":{"type":"string"},"shareGlobal":{"type":"boolean","example":true},"setAsFavorite":{"type":"boolean","example":true},"saveFilter":{"type":"boolean","example":true},"sharedUsers":{"type":"object","example":[42,1337]},"sharedRoles":{"type":"object","example":[42,1337]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnSchema"}},"filter":{"oneOf":[{"$ref":"#\/components\/schemas\/Filter"},{"type":"null"}],"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Data Object grid configuration saved successfully","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/configuration\/set-as-favorite\/{configurationId}\/{folderId}":{"post":{"tags":["Data Object Grid"],"summary":"Set data object grid configuration as favorite for a specific folder","description":"Set data object grid configuration as favorite for the current user for a specific folder\n","operationId":"data_object_set_grid_configuration_as_favorite","parameters":[{"name":"configurationId","in":"path","description":"ConfigurationId of the configurationId","required":true,"schema":{"type":"integer","example":83}},{"name":"folderId","in":"path","description":"FolderId of the folderId","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"data_object_set_grid_configuration_as_favorite_response"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/configuration\/update\/{configurationId}":{"put":{"tags":["Data Object Grid"],"summary":"Update data object grid configuration for a specific folder","description":"Update data object grid configuration for a specific folder and given configuration ID \u003Cstrong\u003E{configurationId}\u003C\/strong\u003E\n","operationId":"data_object_update_grid_configuration","parameters":[{"name":"configurationId","in":"path","description":"ConfigurationId of the configurationId","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","pageSize","name","description","columns"],"properties":{"folderId":{"type":"integer","example":1},"pageSize":{"type":"integer","example":1},"name":{"type":"string"},"description":{"type":"string"},"shareGlobal":{"type":"boolean","example":true},"setAsFavorite":{"type":"boolean","example":true},"saveFilter":{"type":"boolean","example":true},"sharedUsers":{"type":"object","example":[42,1337]},"sharedRoles":{"type":"object","example":[42,1337]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnSchema"}},"filter":{"oneOf":[{"$ref":"#\/components\/schemas\/Filter"},{"type":"null"}],"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Data Object grid configuration updated successfully"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/available-columns":{"get":{"tags":["Data Object Grid"],"summary":"Get all available grid columns for data objects","description":"Get all available grid columns for data objects\n","operationId":"data_object_get_available_grid_columns","parameters":[{"name":"classId","in":"query","description":"Identifies the class name for which the columns should be retrieved.","required":false,"schema":{"type":"string","example":"EV"}},{"name":"folderId","in":"query","description":"folderId","required":false,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of available grid columns for data objects","content":{"application\/json":{"schema":{"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnConfiguration"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/grid\/{classId}":{"post":{"tags":["Data Object Grid"],"summary":"Get data object data for grid","description":"Retrieve data objects data for grid. \u003Cbr\u003E\nYou can use different query parameters to filter the data objects data: \u003Cbr\u003E\n\u003Cul\u003E\n\u003Cli\u003E\u003Cstrong\u003EfolderId\u003C\/strong\u003E: ID of parent folder\u003C\/li\u003E\n\u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: To see the full description of request fields see the schema \u003Cstrong\u003EGrid Column Request\u003C\/strong\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Cstrong\u003Efilters\u003C\/strong\u003E: To see the full description of request fields see the schema \u003Cstrong\u003EGrid Filter\u003C\/strong\u003E\u003C\/li\u003E\n\u003C\/ul\u003E\n","operationId":"data_object_get_grid","parameters":[{"name":"classId","in":"path","description":"Identifies the class name for which the the grid should be build.","required":true,"schema":{"type":"string","example":"EV"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","columns"],"properties":{"folderId":{"type":"integer","example":1},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"200":{"description":"Data object grid data","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"required":["id","columns","isLocked","permissions"],"type":"array","items":{"properties":{"id":{"type":"integer"},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnData"}},"isLocked":{"type":"boolean"},"permissions":{"$ref":"#\/components\/schemas\/Permissions"}},"type":"object"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/{id}\/layout\/{layoutId}":{"get":{"tags":["Data Objects"],"summary":"Get layout of a data object by ID","description":"Retrieves the layout of a specific data object based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing data object.\n","operationId":"data_object_get_layout_by_id","parameters":[{"name":"id","in":"path","description":"Id of the data-object","required":true,"schema":{"type":"integer","example":83}},{"name":"layoutId","in":"path","description":"ID to get specific layout","required":false,"schema":{"type":"string","example":"Todo"}}],"responses":{"200":{"description":"Successfully retrieved data object layout data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Layout"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects":{"patch":{"tags":["Data Objects"],"summary":"Patch data objects by ID","description":"Patching data objects based on the given ID and data. \u003Cbr\u003E Patching can be used for updating single or multiple fields. \u003Cbr\u003E If single element is being patched, operation is executed synchronously. Multiple elements are patched asynchronously.\n","operationId":"data_object_patch_by_id","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"type":"array","items":{"required":["id"],"properties":{"id":{"description":"Data Object ID","type":"integer","example":83},"parentId":{"type":["integer","null"],"minimum":1},"index":{"type":["integer","null"],"minimum":0},"key":{"type":["string","null"]},"task":{"type":"string","enum":["autoSave","publish","save","unpublish","version"]},"locked":{"type":["string","null"]},"childrenSortBy":{"type":["string","null"]},"childrenSortOrder":{"type":["string","null"]},"published":{"type":["boolean","null"]},"editableData":{"type":["object","null"],"example":"{ \u0022someFieldKey\u0022: \u0022someValue\u0022 }"}},"type":"object"}}},"type":"object"}}}},"responses":{"200":{"description":"Successfully patched data object"},"201":{"description":"Successfully created jobRun for patching multiple data objects","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/folder":{"patch":{"tags":["Data Objects"],"summary":"Patch all data objects based on folder ID and filters","description":"Patching data objects based on the given folder ID, filters and data. \u003Cbr\u003E Patching on folders will be done asynchronously. \u003Cbr\u003E\nYou can also use filters and sorting. Filter data objects from folder based on the grid filter schema\n","operationId":"data_object_patch_folder_by_id","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"type":"array","items":{"required":["folderId"],"properties":{"folderId":{"description":"Folder ID","type":"integer","example":2},"parentId":{"type":["integer","null"],"minimum":1},"index":{"type":["integer","null"],"minimum":0},"key":{"type":["string","null"]},"locked":{"type":["string","null"]},"childrenSortBy":{"type":["string","null"]},"childrenSortOrder":{"type":["string","null"]},"published":{"type":["boolean","null"]},"editableData":{"type":["object","null"],"example":"{ \u0022someFieldKey\u0022: \u0022someValue\u0022 }"}},"type":"object"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created jobRun for patching multiple data objects","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/format-path":{"post":{"tags":["Data Objects"],"summary":"Format the path of the data","description":"Format the path of the data given by the \u003Cstrong\u003E{targets}\u003C\/strong\u003E option.\n","operationId":"data_object_format_path","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["objectId","targets","context"],"properties":{"objectId":{"type":"integer","example":1},"targets":{"type":"object","example":"{\u0022object_10\u0022:{\u0022id\u0022:10,\u0022type\u0022:\u0022object\u0022,\u0022label\u0022:\u0022\/Product\n Data\/Cars\/jaguar\/E-Type\/coup\u00e9\u0022,\u0022path\u0022:\u0022\/Product Data\/Cars\/jaguar\/E-Type\/coup\u00e9\u0022,\n \u0022nicePathKey\u0022:\u0022object_10\u0022}}"},"fieldName":{"description":"Fieldname for the PathFormatter. Given as Dot Notation","type":"string","example":"attributes.Bodywork.numberOfDoors"}},"type":"object"}}}},"responses":{"200":{"description":"Formatted path of the objects","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/FormatedPath"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/preview\/{id}":{"get":{"tags":["Data Objects"],"summary":"Preview data object by ID and site","description":"Preview data object by ID and site. Data Object must be stored in the session first to be able to preview it.\n","operationId":"data_object_preview_by_id","parameters":[{"name":"id","in":"path","description":"Id of the data object","required":true,"schema":{"type":"integer","example":83}},{"name":"site","in":"query","description":"Site ID","required":false,"schema":{"type":"int","example":null}}],"responses":{"302":{"description":"Redirect to preview URL","headers":{"Location":{"description":"Redirect location","required":true,"schema":{"type":"string","format":"uri"}}}},"default":{"description":"302 - Redirect\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/{sourceId}\/replace\/{targetId}":{"post":{"tags":["Data Objects"],"summary":"Replace content of a data object","description":"Replace the content of the data object with the given \u003Cstrong\u003E{targetId}\u003C\/strong\u003E with the content of the data object matching the \u003Cstrong\u003E{sourceId}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{targetId}\u003C\/strong\u003E and \u003Cstrong\u003E{sourceId}\u003C\/strong\u003E must be an ID of existing data objects\n","operationId":"data_object_replace_content","parameters":[{"name":"sourceId","in":"path","description":"SourceId of the data-object","required":true,"schema":{"type":"integer","example":83}},{"name":"targetId","in":"path","description":"TargetId of the data-object","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully replaced content of data object"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/select-options":{"post":{"tags":["Data Objects"],"summary":"Get all dynamic select options for data objects","description":"Get all dynamic select options for data objects for given field\n","operationId":"data_object_get_select_options","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["objectId","fieldName","context"],"properties":{"objectId":{"type":"integer","example":1},"fieldName":{"type":"string"},"changedData":{"type":"object","example":"{\u0022Input\u0022:\u0022new value\u0022}"},"context":{"type":"object","example":"{\u0022containerType\u0022:\u0022object\u0022,\u0022fieldname\u0022:\u0022select\u0022,\u0022objectId\u0022:40,\u0022layoutId\u0022:\u00220\u0022}"}},"type":"object"}}}},"responses":{"200":{"description":"List of dynamic select options","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/SelectOption"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/tree":{"get":{"tags":["Data Objects"],"summary":"Get all data object data for the tree","description":"Listing of all data objects and data object folders in the system. \u003Cbr\u003E\nReturns only data which are relevant for the tree \u003Cbr\u003E\nYou can use different query parameters to filter the data objects and it is possible to exclude folders from the result completely\n","operationId":"data_object_get_tree","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"parentId","in":"query","description":"Filter data objects by parent id.","required":false,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"idSearchTerm","in":"query","description":"Filter assets\/data-objects by matching ids. As a wildcard * can be used","required":false,"schema":{"type":"string","example":83}},{"name":"pqlQuery","in":"query","description":"Pql query filter","required":false,"schema":{"type":"string","example":"series = empty AND color=\u0022red\u0022"}},{"name":"excludeFolders","in":"query","description":"Filter folders from result.","required":false,"schema":{"type":"boolean","example":false}},{"name":"path","in":"query","description":"Filter by path.","required":false,"schema":{"type":"string","example":"\/path\/to\/folder"}},{"name":"pathIncludeParent","in":"query","description":"Include the parent item in the result.","required":false,"schema":{"type":"boolean","example":true}},{"name":"pathIncludeDescendants","in":"query","description":"Include all descendants in the result.","required":false,"schema":{"type":"boolean","example":true}},{"name":"className","in":"query","description":"When provided, the search is executed on the specific data object class index.","required":false,"schema":{"type":"string","example":"Car"}},{"name":"classIds","in":"query","description":"Filter results based on the provided class IDs.","required":false,"schema":{"type":"string","example":"[\u0022Car\u0022]"}}],"responses":{"200":{"description":"Paginated data objects with total count as header param as JSON","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/DataObject"},{"$ref":"#\/components\/schemas\/DataObjectFolder"}]}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/dependencies\/{elementType}\/{id}":{"get":{"tags":["Dependencies"],"summary":"Get all dependencies for provided element.","description":"Get paginated dependencies.\n Pass dependency mode to get either all elements that depend on the provided element\n or all dependencies for the provided element.","operationId":"dependency_get_collection_by_element_type","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"dependencyMode","in":"query","description":"Dependency mode","required":true,"schema":{"type":"string","enum":["required_by","requires"],"example":"required_by"}}],"responses":{"200":{"description":"Paginated dependencies with total count as header param","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/Dependency"}]}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/add\/{parentId}":{"post":{"tags":["Documents"],"summary":"Add a new document","description":"Add a new data object to the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of a folder or another data object. See the full description of request fields with the schema \u003Cstrong\u003EDocumentAdd\u003C\/strong\u003E\n","operationId":"document_add","parameters":[{"name":"parentId","in":"path","description":"ParentId of the document","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocumentAddParameters"}}}},"responses":{"200":{"description":"ID of added document","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of created document element","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E409 - Conflict\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/{id}\/clone\/{parentId}":{"post":{"tags":["Documents"],"summary":"Clone a specific document","description":"Clones a specific document with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be a folder or another document. See the full description of request fields with the schema \u003Cstrong\u003EDocument Clone Parameters\u003C\/strong\u003E\n","operationId":"document_clone","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}},{"name":"parentId","in":"path","description":"ParentId of the document","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocumentCloneParameters"}}}},"responses":{"200":{"description":"Successfully copied documents"},"201":{"description":"Successfully copied parent document and created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for copying children","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/{id}\/convert\/{type}":{"post":{"tags":["Documents"],"summary":"Change document type","description":"Change the \u003Cstrong\u003E{type}\u003C\/strong\u003E of a specific document with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \n\u003Cbr\u003EThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing document or folder and the \u003Cstrong\u003E{type}\u003C\/strong\u003E must be an existing Document Type type.\n","operationId":"document_convert","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}},{"name":"type","in":"path","description":"Document type to convert to","required":true,"schema":{"type":"string","example":"page"}}],"responses":{"200":{"description":"Successfully changed document type"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/doc-types\/add":{"post":{"tags":["Documents"],"summary":"Add a new document DocType","description":"Add a new document \u003Cstrong\u003EDocType\u003C\/string\u003E. \u003Cbr\u003E See the full description of request fields with the schema \u003Cstrong\u003EDocTypeAdd\u003C\/strong\u003E\n","operationId":"document_doc_type_add","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocTypeAddParameters"}}}},"responses":{"200":{"description":"New DocType data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocType"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/doc-types\/{id}":{"put":{"tags":["Documents"],"summary":"Update a document DocType by ID","description":"Update the DocType with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing DocType. \u003Cbr\u003E\nPlease note that \u003Cstrong\u003Eall fields\u003Cstrong\u003E have to be provided.\n","operationId":"document_doc_type_update_by_id","parameters":[{"name":"id","in":"path","description":"The Id of the DocType to update","required":true,"schema":{"type":"string","example":"1"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocTypeUpdateParameters"}}}},"responses":{"200":{"description":"Successfully updated DocType","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocType"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Documents"],"summary":"Delete an existing document DocType by ID","description":"Delete the existing document \u003Cstrong\u003EDocType\u003C\/strong\u003E with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing DocType.\n","operationId":"document_doc_type_delete","parameters":[{"name":"id","in":"path","description":"The Id of the DocType to delete","required":true,"schema":{"type":"string","example":"1"}}],"responses":{"200":{"description":"Successfully deleted document DocType"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/doc-types\/types":{"get":{"tags":["Documents"],"summary":"List DocType types","description":"List all available types for DocType.\n","operationId":"document_doc_type_type_list","responses":{"200":{"description":"List of available DocType types","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocTypeType"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/doc-types":{"get":{"tags":["Documents"],"summary":"List all document DocTypes","description":"List all DocTypes. Results can be filtered based on the given \u003Cstrong\u003E{type}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{type}\u003C\/strong\u003E must be an existing DocType type.\n","operationId":"document_doc_type_list","parameters":[{"name":"type","in":"query","description":"Filter results by docType type","required":false,"schema":{"type":"string","example":"page"}}],"responses":{"200":{"description":"List of all DocTypes","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocType"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/{id}":{"get":{"tags":["Documents"],"summary":"Get a specific document by ID","description":"Retrieves a specific document based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing document or folder.\n","operationId":"document_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved document data as JSON","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/Document"},{"$ref":"#\/components\/schemas\/DocumentFolder"},{"$ref":"#\/components\/schemas\/Email"},{"$ref":"#\/components\/schemas\/Hardlink"},{"$ref":"#\/components\/schemas\/Link"},{"$ref":"#\/components\/schemas\/Page"},{"$ref":"#\/components\/schemas\/Snippet"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Documents"],"summary":"Update a document by ID","description":"You can create\/update\/delete list entries like properties, settings or editable fields.\n","operationId":"document_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"properties":{"parentId":{"type":["integer","null"],"minimum":1},"index":{"type":["integer","null"],"minimum":0},"key":{"type":["string","null"]},"task":{"type":"string","enum":["autoSave","publish","save","unpublish","version"]},"locked":{"type":["string","null"]},"published":{"type":["boolean","null"]},"editableData":{"type":["object","null"],"example":"{ \u0022someFieldKey\u0022: \u0022someValue\u0022 }"},"settingsData":{"type":["object","null"],"example":"{ \u0022someFieldKey\u0022: \u0022someValue\u0022 }"},"missingRequiredEditable":{"type":["boolean","null"]},"properties":{"type":["array","null"],"items":{"$ref":"#\/components\/schemas\/UpdateElementProperty"}}},"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Successfully updated document","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/Document"},{"$ref":"#\/components\/schemas\/DocumentFolder"},{"$ref":"#\/components\/schemas\/Email"},{"$ref":"#\/components\/schemas\/Hardlink"},{"$ref":"#\/components\/schemas\/Link"},{"$ref":"#\/components\/schemas\/Page"},{"$ref":"#\/components\/schemas\/Snippet"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/{id}\/page\/stream\/preview":{"get":{"tags":["Documents"],"summary":"Stream page document preview by ID","description":"Stream page document PDF preview based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing page\n","operationId":"document_page_stream_preview","parameters":[{"name":"id","in":"path","description":"Id of the page","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Page preview stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/jpeg":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/get-available-controllers":{"get":{"tags":["Documents"],"summary":"List document controllers","description":"List all available controllers for documents.\n","operationId":"document_available_controllers_list","responses":{"200":{"description":"document_available_controllers_list_success_response","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Document Controller"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/get-available-templates":{"get":{"tags":["Documents"],"summary":"List document templates","description":"List all available templates for documents.\n","operationId":"document_available_templates_list","responses":{"200":{"description":"document_available_templates_list_success_response","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Document Template"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/{sourceId}\/replace\/{targetId}":{"post":{"tags":["Documents"],"summary":"Replace content of a document","description":"Replace the content of the document with the given \u003Cstrong\u003E{targetId}\u003C\/strong\u003E with the content of the document matching the \u003Cstrong\u003E{sourceId}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{targetId}\u003C\/strong\u003E and \u003Cstrong\u003E{sourceId}\u003C\/strong\u003E must be an ID of existing document\n","operationId":"document_replace_content","parameters":[{"name":"sourceId","in":"path","description":"SourceId of the document","required":true,"schema":{"type":"integer","example":83}},{"name":"targetId","in":"path","description":"TargetId of the document","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully replaced contents of the document"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/sites\/list-available":{"get":{"tags":["Documents"],"summary":"List all available sites","description":"List all available sites\n","operationId":"documents_list_available_sites","parameters":[{"name":"excludeMainSite","in":"query","description":"Exclude main site from the list","schema":{"type":"boolean","example":false}}],"responses":{"200":{"description":"List of available sites","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Site"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/site\/{id}":{"post":{"tags":["Documents"],"summary":"Use document as a site or update the existing site","description":"Use document as a site or update the existing site by the given document \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing document\n","operationId":"document_update_site","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Update Site"}}}},"responses":{"200":{"description":"Successfully created\/updated site"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Documents"],"summary":"Delete the existing site by its document ID","description":"Delete the existing site by the given document \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing document\n","operationId":"document_delete_site","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully deleted site"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/translations\/{id}\/add\/{translationId}":{"post":{"tags":["Documents"],"summary":"Link a new translation document to the existing document","description":"Link a new translation document (by \u003Cstrong\u003E{translationId}\u003C\/strong\u003E) to the given document with \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{translationId}\u003C\/strong\u003E must be an ID of existing documents.\n","operationId":"document_add_translation","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}},{"name":"translationId","in":"path","description":"TranslationId of the document","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully linked translation document"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/translations\/{id}\/delete\/{translationId}":{"delete":{"tags":["Documents"],"summary":"Delete a translation document from the existing document","description":"Delete the translation document with the given \u003Cstrong\u003E{translationId}\u003C\/strong\u003E from the given document with \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{translationId}\u003C\/strong\u003E must be an ID of existing documents.\n","operationId":"document_delete_translation","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}},{"name":"translationId","in":"path","description":"TranslationId of the document","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully deleted translation document"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/translations\/{id}":{"get":{"tags":["Documents"],"summary":"Get all existing translations of the document","description":"Get all existing translations of the document with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing document.\n","operationId":"document_get_translations","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Get all existing translations","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Document Translation Links"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/translations\/{id}\/get-parent\/{language}":{"get":{"tags":["Documents"],"summary":"Get the parent translation document data by language","description":"Get the parent translation document of the document with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E by \u003Cstrong\u003E{language}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing document and the \u003Cstrong\u003E{language}\u003C\/strong\u003E must be a valid language code.\n","operationId":"document_get_translation_parent_by_language","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}},{"name":"language","in":"path","description":"Language code for the translation parent","required":true,"schema":{"type":"string","example":"en"}}],"responses":{"200":{"description":"Parent translation document data","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Document Translation Parent"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/documents\/tree":{"get":{"tags":["Documents"],"summary":"Get all document data for the tree","description":"Listing of all documents and document folders in the system. \u003Cbr\u003E\nReturns only data which are relevant for the tree \u003Cbr\u003E\nYou can use different query parameters to filter the assets and it is possible to exclude folders from the result completely\n","operationId":"document_get_tree","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"parentId","in":"query","description":"Filter documents by parent id.","required":false,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"idSearchTerm","in":"query","description":"Filter assets\/data-objects by matching ids. As a wildcard * can be used","required":false,"schema":{"type":"string","example":83}},{"name":"pqlQuery","in":"query","description":"Pql query filter","required":false,"schema":{"type":"string","example":"id = 69"}},{"name":"excludeFolders","in":"query","description":"Filter folders from result.","required":false,"schema":{"type":"boolean","example":false}},{"name":"path","in":"query","description":"Filter by path.","required":false,"schema":{"type":"string","example":"\/path\/to\/folder"}},{"name":"pathIncludeParent","in":"query","description":"Include the parent item in the result.","required":false,"schema":{"type":"boolean","example":true}},{"name":"pathIncludeDescendants","in":"query","description":"Include all descendants in the result.","required":false,"schema":{"type":"boolean","example":true}}],"responses":{"200":{"description":"Paginated documents with total count as header param as JSON","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/Document"},{"$ref":"#\/components\/schemas\/DocumentFolder"},{"$ref":"#\/components\/schemas\/Email"},{"$ref":"#\/components\/schemas\/Hardlink"},{"$ref":"#\/components\/schemas\/Link"},{"$ref":"#\/components\/schemas\/Page"},{"$ref":"#\/components\/schemas\/Snippet"}]}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/delete\/{id}":{"delete":{"tags":["Elements"],"summary":"Delete a specific element and its children","description":"Deletes a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E. \u003Cbr\u003E If element is a folder, all child elements will be deleted as well. Elements are moved into the Recycle Bin before deletion.\n","operationId":"element_delete","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Successfully deleted element"},"201":{"description":"Successfully created jobRun for deleting element and its children","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/delete-info\/{id}":{"get":{"tags":["Elements"],"summary":"Get delete info of the element by id and element type path parameter","description":"Get delete info for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an existing ID of an element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"element_get_delete_info","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Get delete info for an element","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeleteInfo"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/folder\/{parentId}":{"post":{"tags":["Elements"],"summary":"Create a new element folder","description":"Creating a new folder by \u003Cstrong\u003E{parentId}\u003C\/strong\u003E and \u003Cstrong\u003E{elementType}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of an existing folder or element. \u003Cbr\u003E\nFor additional body parameters see the schema \u003Cstrong\u003EFolderData\u003C\/strong\u003E\n","operationId":"element_folder_create","parameters":[{"name":"parentId","in":"path","description":"ParentId of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FolderData"}}}},"responses":{"200":{"description":"Successfully created folder"},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/context-permissions\/":{"get":{"tags":["Elements"],"summary":"Get context permissions for the element type path parameter","description":"Get the context permission list relevant for the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"element_get_context_permissions","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Context permission list","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/AssetContextPermissions"},{"$ref":"#\/components\/schemas\/DataObjectContextPermissions"},{"$ref":"#\/components\/schemas\/DocumentContextPermissions"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/location\/{id}\/{perspectiveId}":{"get":{"tags":["Elements"],"summary":"Get location data of the element by id, element type and perspective id path parameter","description":"Get the location data of the element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E, \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{perspectiveId}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{ids}\u003C\/strong\u003E must be an existing ID of an element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and existing perspective ID.\n","operationId":"element_get_tree_location","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"perspectiveId","in":"path","description":"Get perspective by matching Id","required":true,"schema":{"type":"string","example":"d061699e_da42_4075_b504_c2c93c687819"}}],"responses":{"200":{"description":"Location data of the element","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/LocationData"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/path":{"get":{"tags":["Elements"],"summary":"Get ID of the element by path query parameter and element type path parameter","description":"Get the element ID based on the given \u003Cstrong\u003E{path}\u003C\/strong\u003E and \u003Cstrong\u003E{elementType}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{path}\u003C\/strong\u003E must be a valid path of an existing element with provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E\n","operationId":"element_get_id_by_path","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"elementPath","in":"query","description":"Filter elements by matching element path.","required":true,"schema":{"type":"string","example":"path\/to\/element"}}],"responses":{"200":{"description":"element_get_id_by_path_response_description","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of the element","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/subtype\/{id}":{"get":{"tags":["Elements"],"summary":"Get subtype of the element by id and element type path parameter","description":"Get the subtype of the element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an existing ID of an element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"element_get_subtype","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Subtype of the element","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Subtype"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/resolve":{"get":{"tags":["Elements"],"summary":"Get ID of the element with given search term","description":"Get the element ID based on the given \u003Cstrong\u003E{searchTerm}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{searchTerm}\u003C\/strong\u003E must be a valid ID or Path of an existing element. \u003Cbr\u003E The \u003Cstrong\u003E{searchTerm}\u003C\/strong\u003E can be modified via the \u003Cstrong\u003EElementResolveEvent\u003C\/strong\u003E.\n","operationId":"element_resolve_by_search_term","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"searchTerm","in":"query","description":"Search term to filter elements by.","required":true,"schema":{"type":"string","example":"83"}}],"responses":{"200":{"description":"ID of the element with given search term","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of the element","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/blocklist":{"get":{"tags":["E-Mails"],"summary":"Get paginated collection of blocklist entries","description":"Get paginated E-Mail blocklist entries. \u003Cbr\u003E\nYou can use different query parameters to filter the E-Mail blocklist\n","operationId":"email_blocklist_get_collection","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"email","in":"query","description":"Email address to be filtered by","required":false,"schema":{"type":"string","example":"mail@mail.com"}}],"responses":{"200":{"description":"Paginated E-Mail blocklist entries with total count as header param","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/BlocklistEntry"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["E-Mails"],"summary":"Add an E-mail address to the blocklist","description":"Add an E-mail address to the blocklist. \u003Cbr\u003E The E-mail address has to be compliant with the PHP validate filter.\n","operationId":"email_blocklist_add","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmailAddressParameter"}}}},"responses":{"200":{"description":"Successfully added E-mail address to blocklist"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["E-Mails"],"summary":"Delete an E-mail address from the blocklist","description":"Delete an E-mail address from the blocklist with the given \u003Cstrong\u003E{email}\u003C\/strong\u003E \u003Cbr\u003E The E-mail address has to be present in the blocklist.\n","operationId":"email_blocklist_delete","parameters":[{"name":"email","in":"query","description":"Email address to be deleted from blocklist","required":false,"schema":{"type":"string","example":"mail@mail.com"}}],"responses":{"200":{"description":"Successfully deleted E-mail address from blocklist"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails":{"get":{"tags":["E-Mails"],"summary":"Get paginated collection of E-Mail log entries","description":"Get paginated E-Mail log entries. \u003Cbr\u003E\nYou can use different query parameters to filter the E-Mail logs\n","operationId":"email_log_get_collection","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}}],"responses":{"200":{"description":"Paginated E-Mail log entries with total count as header param","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/EmailLogEntry"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}":{"get":{"tags":["E-Mails"],"summary":"Get an E-Mail log entry by ID","description":"Get the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"E-Mail log entry data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmailLogEntryDetail"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["E-Mails"],"summary":"Delete E-Mail log entry","description":"Delete the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_delete","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully deleted E-Mail log entry"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/html":{"get":{"tags":["E-Mails"],"summary":"Get HTML content of an E-Mail log entry by ID","description":"Get the HTML content of the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_get_html","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"HTML content of the E-Mail log entry","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Email log entry HTML data.","type":"string","example":"\u003Cp\u003ESome email HTML content\u003C\/p\u003E"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/params":{"get":{"tags":["E-Mails"],"summary":"Get parameters of an E-Mail log entry by ID","description":"Get the parameters of the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_get_params","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Parameters of the E-Mail log entry","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Email log entry parameters","type":"array","items":{"$ref":"#\/components\/schemas\/EmailLogEntryParameter"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/text":{"get":{"tags":["E-Mails"],"summary":"Get text content of an E-Mail log entry by ID","description":"Get the text content of the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_get_text","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Text content of the E-Mail log entry","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Email log entry text data.","type":"string","example":"Some email text content"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/forward":{"post":{"tags":["E-Mails"],"summary":"Forward and existing E-Mail log entry","description":"Forward the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E to the given \u003Cstrong\u003E{email}\u003C\/strong\u003E\n","operationId":"email_log_forward_by_id","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmailAddressParameter"}}}},"responses":{"200":{"description":"E-Mail was successfully forwarded"},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/resend":{"post":{"tags":["E-Mails"],"summary":"Resend an existing E-Mail log entry","description":"Resend the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_resend_by_id","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"E-Mail was successfully resent"},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/test":{"post":{"tags":["E-Mails"],"summary":"Send a test E-Mail","description":"Send a test E-Mail based on the provided query parameters. \u003Cbr\u003E See the full description of request fields with the schema \u003Cstrong\u003ESendEmailParameters\u003C\/strong\u003E\n","operationId":"email_send_test","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SendEmailParameters"}}}},"responses":{"200":{"description":"E-Mail was successfully sent"},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/execution-engine\/abort\/{jobRunId}":{"post":{"tags":["Execution Engine"],"summary":"Abort Job Run by Id","description":"Abort Job Run","operationId":"execution_engine_abort_job_run_by_id","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/export\/download\/csv\/{jobRunId}":{"get":{"tags":["Export"],"summary":"Download CSV file for job run id","description":"Download the CSV file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create csv endpoint\n","operationId":"export_download_csv","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"CSV File as attachment","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/csv":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Export"],"summary":"Delete CSV export file based on jobRunId","description":"Delete the CSV file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create csv endpoint\n","operationId":"export_delete_csv","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/export\/csv":{"post":{"tags":["Export"],"summary":"Creating CSV file for elements","description":"Creating the CSV file for elements. \u003Cbr\u003E Parameters are: \u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Eelements\u003C\/strong\u003E: Array of element ids\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: Describes the columns that should be exported. Can be obtained via the grid endpoint\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Econfig\u003C\/strong\u003E: Delimiter and header options\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003EelementType\u003C\/strong\u003E: Type of element that should be exported\u003C\/li\u003E\n\u003C\/ul\u003E \nDelimiter can be set to anything, but the default is a \u003Cstrong\u003Esemicolon\u003C\/strong\u003E \u003Cbr\u003E \nHeader options are: \u003Cstrong\u003Eno_header\u003C\/strong\u003E, \u003Cstrong\u003Etitle\u003C\/strong\u003E and \u003Cstrong\u003Ename\u003C\/strong\u003E\u003Cbr\u003E\nDownload has to be triggered separately via the csv download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"export_csv","requestBody":{"content":{"application\/json":{"schema":{"properties":{"elements":{"type":"array","items":{"type":"integer"},"example":[83]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"config":{"properties":{"header":{"type":"string","enum":["id","custom_report_config","custom_report_to_export","element_to_export","element_type","folder_to_export","grid_export_data","grid_export_data_info","config","columns","filters","delimiter","header","no_header","title","name","\r\n","array","int","string","bool"],"example":"title"},"delimiter":{"type":"string","example":";"}},"type":"object"},"elementType":{"type":"string","enum":["data-object","object","asset","document"],"example":"asset"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for csv export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/export\/csv\/folder":{"post":{"tags":["Export"],"summary":"Creating CSV file for elements based on folder","description":"Creating the CSV file for elements based on the folder. \u003Cbr\u003E Parameters are: \u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Efolders\u003C\/strong\u003E: Array of folder ids\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: Describes the columns that should be exported. Can be obtained via the grid endpoint. For folders you can also use filters and sorting\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Efilters\u003C\/strong\u003E: Filter elements from folder based on the grid filter schema\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Econfig\u003C\/strong\u003E: Delimiter and header options\u003C\/li\u003E\n\u003C\/ul\u003E \nDelimiter can be set to anything, but the default is a \u003Cstrong\u003Esemicolon\u003C\/strong\u003E \u003Cbr\u003E \nHeader options are: \u003Cstrong\u003Eno_header\u003C\/strong\u003E, \u003Cstrong\u003Etitle\u003C\/strong\u003E and \u003Cstrong\u003Ename\u003C\/strong\u003E\u003Cbr\u003E\nDownload has to be triggered separately via the csv download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"export_csv_folder","requestBody":{"content":{"application\/json":{"schema":{"properties":{"folders":{"type":"array","items":{"type":"integer"},"example":[1]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"},"config":{"properties":{"header":{"type":"string","enum":["id","custom_report_config","custom_report_to_export","element_to_export","element_type","folder_to_export","grid_export_data","grid_export_data_info","config","columns","filters","delimiter","header","no_header","title","name","\r\n","array","int","string","bool"],"example":"title"},"delimiter":{"type":"string","example":";"}},"type":"object"},"elementType":{"type":"string","enum":["data-object","object","asset","document"],"example":"asset"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for csv export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/export\/download\/xlsx\/{jobRunId}":{"get":{"tags":["Export"],"summary":"Download XLSX file for job run id","description":"Download the XLSX file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create export endpoint\n","operationId":"export_download_xlsx","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"XLSX File as attachment","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Export"],"summary":"Delete XLSX export file based on jobRunId","description":"Delete the XLSX file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create export endpoint\n","operationId":"export_delete_xlsx","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/export\/xlsx":{"post":{"tags":["Export"],"summary":"Creating XLSX file export for elements","description":"Creating the XLSX file for elements. \u003Cbr\u003E Parameters are: \u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Eelements\u003C\/strong\u003E: Array of element ids\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: Describes the columns that should be exported. Can be obtained via the grid endpoint\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Econfig\u003C\/strong\u003E: Header options\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003EelementType\u003C\/strong\u003E: Type of element that should be exported\u003C\/li\u003E\n\u003C\/ul\u003E\nHeader options are: \u003Cstrong\u003Eno_header\u003C\/strong\u003E, \u003Cstrong\u003Etitle\u003C\/strong\u003E and \u003Cstrong\u003Ename\u003C\/strong\u003E\u003Cbr\u003E\nDownload has to be triggered separately via the xlsx download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"export_xlsx","requestBody":{"content":{"application\/json":{"schema":{"properties":{"elements":{"type":"array","items":{"type":"integer"},"example":[83]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"config":{"properties":{"header":{"type":"string","enum":["id","custom_report_config","custom_report_to_export","element_to_export","element_type","folder_to_export","grid_export_data","grid_export_data_info","config","columns","filters","delimiter","header","no_header","title","name","\r\n","array","int","string","bool"],"example":"title"}},"type":"object"},"elementType":{"type":"string","enum":["data-object","object","asset","document"],"example":"asset"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for XLSX export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/export\/xlsx\/folder":{"post":{"tags":["Export"],"summary":"Creating XLSX file for elements based on folder","description":"Creating the XLSX file for elements based on the folder. \u003Cbr\u003E Parameters are: \u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Efolders\u003C\/strong\u003E: Array of folder ids\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: Describes the columns that should be exported. Can be obtained via the grid endpoint. For folders you can also use filters and sorting\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Efilters\u003C\/strong\u003E: Filter elements from folder based on the grid filter schema\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Econfig\u003C\/strong\u003E: Header options\u003C\/li\u003E\n\u003C\/ul\u003E \nHeader options are: \u003Cstrong\u003Eno_header\u003C\/strong\u003E, \u003Cstrong\u003Etitle\u003C\/strong\u003E and \u003Cstrong\u003Ename\u003C\/strong\u003E\u003Cbr\u003E\nDownload has to be triggered separately via the xlsx download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"export_xlsx_folder","requestBody":{"content":{"application\/json":{"schema":{"properties":{"folders":{"type":"array","items":{"type":"integer"},"example":[1]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"},"config":{"properties":{"header":{"type":"string","enum":["id","custom_report_config","custom_report_to_export","element_to_export","element_type","folder_to_export","grid_export_data","grid_export_data_info","config","columns","filters","delimiter","header","no_header","title","name","\r\n","array","int","string","bool"],"example":"title"}},"type":"object"},"elementType":{"type":"string","enum":["data-object","object","asset","document"],"example":"asset"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for XLSX export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/mercure\/auth":{"post":{"tags":["Mercure"],"summary":"Retrieve JWT token for Mercure hub as cookie","description":"Retrieve JWT token for Mercure hub as cookie","operationId":"mercure_create_cookie","responses":{"200":{"description":"Retrieve JWT token for Mercure hub as cookie"},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/custom-metadata":{"get":{"tags":["Metadata"],"summary":"Get custom metadata of an asset by ID","description":"Retrieves custom metadata based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset\n","operationId":"asset_custom_metadata_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved custom metadata as JSON","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/CustomMetadata"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/metadata":{"post":{"tags":["Metadata"],"summary":"Get predefined metadata collection","description":"Get predefined metadata collection with basic filter options","operationId":"metadata_get_collection","requestBody":{"required":false,"content":{"application\/json":{"schema":{"properties":{"filter":{"type":["string","null"],"example":"author"}},"type":"object"}}}},"responses":{"200":{"description":"Predefined metadata collection","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/PredefinedMetadata"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notes":{"post":{"tags":["Notes"],"summary":"Get paginated notes","description":"Get paginated notes. \u003Cbr\u003E\nYou can use different query parameters to filter the notes\n","operationId":"note_get_collection","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["page","pageSize"],"properties":{"page":{"type":"integer","example":1},"pageSize":{"type":"integer","example":50},"sortOrder":{"description":"Sort order (asc or desc).","type":"string","enum":["ASC","DESC"],"example":"ASC"},"sortBy":{"description":"Sort by field. Only works in combination with sortOrder.","type":"string","enum":["id","type","cId","cType","cPath","date","title","description","locked"],"example":"id"},"filter":{"description":"Filter for notes","type":"string","example":""},"fieldFilters":{"description":"Filter for specific fields, will be json decoded to an array. e.g.\n [{\u0022operator\u0022:\u0022like\u0022,\u0022value\u0022:\u0022John\u0022,\u0022field\u0022:\u0022name\u0022,\u0022type\u0022:\u0022string\u0022}]","type":"object","example":"[{\u0022operator\u0022:\u0022like\u0022,\u0022value\u0022:\u0022consent-given\u0022,\u0022field\u0022:\u0022type\u0022,\u0022type\u0022:\u0022string\u0022}]"}},"type":"object"}}}},"responses":{"200":{"description":"Paginated notes with total count","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Note"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notes\/{id}":{"delete":{"tags":["Notes"],"summary":"Delete note with given id","description":"Delete the note with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"note_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"note_delete_by_id_success_description"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notes\/{elementType}\/{id}":{"get":{"tags":["Notes"],"summary":"Get paginated notes for an element by id","description":"Get paginated notes for a specific element by its \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nYou can use different query parameters to filter the notes\n","operationId":"note_element_get_collection","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":50}},{"name":"sortBy","in":"query","description":"Sort by field. Only works in combination with sortOrder.","required":false,"schema":{"type":"string","enum":["id","type","cId","cType","cPath","date","title","description","locked"],"example":"id"}},{"name":"sortOrder","in":"query","description":"Sort order (asc or desc).","required":false,"schema":{"type":"string","enum":["ASC","DESC"],"example":"ASC"}},{"name":"filter","in":"query","description":"Filter for notes","required":false,"schema":{"type":"string","example":"notes"}},{"name":"fieldFilters","in":"query","description":"Filter for specific fields, will be json decoded to an array. e.g.\n [{\u0022operator\u0022:\u0022like\u0022,\u0022value\u0022:\u0022John\u0022,\u0022field\u0022:\u0022name\u0022,\u0022type\u0022:\u0022string\u0022}]","required":false,"schema":{"type":"string","example":"[{\u0022operator\u0022:\u0022like\u0022,\u0022value\u0022:\u0022John\u0022,\u0022field\u0022:\u0022name\u0022, \u0022type\u0022:\u0022string\u0022}]"}}],"responses":{"200":{"description":"Paginated notes with total count","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Note"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Notes"],"summary":"Create a new note for element with given id","description":"Create a new note for the element with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe note will be created for the current user.\n","operationId":"note_element_create","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateNote"}}}},"responses":{"200":{"description":"Created note for element","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Note"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notes\/type\/{elementType}":{"get":{"tags":["Notes"],"summary":"Get note types","description":"Get note types collection by \u003Cstrong\u003E{elementType}\u003C\/strong\u003E","operationId":"note_element_get_type_collection","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Note types collection","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/NoteType"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notifications":{"post":{"tags":["Notifications"],"summary":"Get paginated notifications","description":"Get all paginated notifications for current user. \u003Cbr\u003E You can specify different filters in your request body. Available filters are: \u003Cbr\u003E\n\u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Etitle\u003C\/strong\u003E: Filter by title string\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003EcreationDate\u003C\/strong\u003E: Filter by creation date (on, from, to)\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Epage\u003C\/strong\u003E: Used for offset calculation in pagination. To be used, needs to be defined together with the page.size\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Epage.size\u003C\/strong\u003E: Used for limiting the result numbers per page. To be used, needs to be defined together with the page\u003C\/li\u003E\n\u003C\/ul\u003E\n","operationId":"notification_get_collection","requestBody":{"required":true,"content":{"application\/json":{"schema":{"properties":{"filters":{"properties":{"page":{"type":"integer","example":1},"pageSize":{"type":"integer","example":50},"includeDescendants":{"type":"boolean","example":false},"columnFilters":{"type":"object","example":"[{\u0022key\u0022:\u0022creationDate\u0022, \u0022type\u0022:\u0022date\u0022, \u0022filterValue\u0022:{\u0022operator\u0022: \u0022on\u0022, \u0022value\u0022: \u002208\/20\/2024\u0022}},{\u0022key\u0022:\u0022title\u0022, \u0022type\u0022:\u0022like\u0022, \u0022filterValue\u0022: \u0022notification\u0022},{\u0022key\u0022:\u0022type\u0022, \u0022type\u0022:\u0022equals\u0022, \u0022filterValue\u0022: \u0022info\u0022}]"},"sortFilter":{"type":"object","example":"{\u0022key\u0022:\u0022creationDate\u0022, \u0022direction\u0022:\u0022DESC\u0022}"}},"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Paginated notifications with total count","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/NotificationListItem"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Notifications"],"summary":"Delete all user notifications","description":"Delete all notifications for the current user","operationId":"notification_delete_all","responses":{"200":{"description":"Successfully deleted all notifications"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notifications\/{id}":{"get":{"tags":["Notifications"],"summary":"Get notification by ID","description":"Get the notification with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E Current user can only get notifications, where he is the recipient.\n","operationId":"notification_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the notification","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Notification data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Notification"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Notifications"],"summary":"Mark notification as read","description":"Mark the notification with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E as read. \u003Cbr\u003E Current user can only mark notifications as read, where he is the recipient.\n","operationId":"notification_read_by_id","parameters":[{"name":"id","in":"path","description":"Id of the notification","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully marked notification as read"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Notifications"],"summary":"Delete notification with given id","description":"Delete the notification with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E Current user can only delete notifications, where he is the recipient.\n","operationId":"notification_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the notification","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully deleted notification"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notifications\/send":{"post":{"tags":["Notifications"],"summary":"Send a notification","description":"Send a notification to the given \u003Cstrong\u003E{recipientId}\u003C\/strong\u003E. \u003Cbr\u003E See the full description of request fields with the schema \u003Cstrong\u003ESendNotificationParameters\u003C\/strong\u003E\n","operationId":"notification_send","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SendNotificationParameters"}}}},"responses":{"200":{"description":"Successfully sent notification"},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/perspectives\/configuration":{"post":{"tags":["Perspectives"],"summary":"Create a new perspective","description":"Create a new perspective with default values.\n","operationId":"perspective_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AddPerspectiveConfig"}}}},"responses":{"200":{"description":"Id of the new perspective"},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/perspectives\/configurations":{"get":{"tags":["Perspectives"],"summary":"Get all perspective configurations","description":"Listing of all available perspectives","operationId":"perspective_get_config_collection","responses":{"200":{"description":"List of perspective configurations","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/PerspectiveConfig"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/perspectives\/configuration\/{perspectiveId}":{"get":{"tags":["Perspectives"],"summary":"Get perspective configuration by ID","description":"Get the perspective configuration with the given \u003Cstrong\u003E{perspectiveId}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{perspectiveId}\u003C\/strong\u003E must be an ID of an existing perspective.\n","operationId":"perspective_get_config_by_id","parameters":[{"name":"perspectiveId","in":"path","description":"Get perspective by matching Id","required":true,"schema":{"type":"string","example":"studio_default_perspective"}}],"responses":{"200":{"description":"Perspective configuration data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PerspectiveConfigDetail"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Perspectives"],"summary":"Update widget configuration by id and type","description":"Update the perspective configuration with the given \u003Cstrong\u003E{perspectiveId}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{perspectiveId}\u003C\/strong\u003E must be an ID of an existing perspective. \u003Cbr\u003E\nPlease note that \u003Cstrong\u003Eall configuration fields\u003Cstrong\u003E have to be provided.\n","operationId":"perspective_update_config_by_id","parameters":[{"name":"perspectiveId","in":"path","description":"Update perspective by matching Id","required":true,"schema":{"type":"string","example":"d061699e_da42_4075_b504_c2c93c687819"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SavePerspectiveConfig"}}}},"responses":{"200":{"description":"Successfully updated perspective configuration"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Perspectives"],"summary":"Delete perspective by given id","description":"Delete the perspective with the given \u003Cstrong\u003E{perspectiveId}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{perspectiveId}\u003C\/strong\u003E must be an ID of an existing perspective.\n","operationId":"perspective_delete","parameters":[{"name":"perspectiveId","in":"path","description":"Get perspective by matching Id","required":true,"schema":{"type":"string","example":"d061699e_da42_4075_b504_c2c93c687819"}}],"responses":{"200":{"description":"Successfully deleted perspective"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/perspectives\/widgets\/{widgetType}\/configuration":{"post":{"tags":["Perspectives"],"summary":"Create a new widget","description":"Create a new widget with default values based on the provided \u003Cstrong\u003E{widgetType}\u003C\/strong\u003E.\n\u003Cbr\u003E The widget type has to be registered via Symfony Configuration.\n\u003Cbr\u003E Please note that \u003Cstrong\u003E{name}\u003C\/strong\u003E has to be provided.\n","operationId":"perspective_widget_create","parameters":[{"name":"widgetType","in":"path","description":"Create widget by matching widget type","required":true,"schema":{"type":"string","example":"element_tree"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"properties":{"name":{"type":["string","null"]}},"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Id of the new widget"},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/perspectives\/widgets\/configurations":{"get":{"tags":["Perspectives"],"summary":"Get all widget configurations","description":"Listing of all available widget configurations","operationId":"perspective_widget_get_config_collection","responses":{"200":{"description":"List of widget configurations","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/WidgetConfig"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/perspectives\/widgets\/{widgetType}\/configuration\/{widgetId}":{"get":{"tags":["Perspectives"],"summary":"Get widget configuration by id and type","description":"Get the widget configuration with the given \u003Cstrong\u003E{widgetId}\u003C\/strong\u003E and \u003Cstrong\u003E{widgetType}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{widgetId}\u003C\/strong\u003E must be an ID of an existing widget. The widget type has to be registered via Symfony Configuration.\n","operationId":"perspective_widget_get_config_by_id","parameters":[{"name":"widgetId","in":"path","description":"Filter widgets by matching widget Id","required":true,"schema":{"type":"string","example":"d061699e_da42_4075_b504_c2c93c687819"}},{"name":"widgetType","in":"path","description":"Filter widgets by matching widget type","required":true,"schema":{"type":"string","example":"element_tree"}}],"responses":{"200":{"description":"Widget configuration data as JSON","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Data of the widget configuration","type":"string","example":"Test content"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Perspectives"],"summary":"Update widget configuration by id and type","description":"Update the widget configuration with the given \u003Cstrong\u003E{widgetId}\u003C\/strong\u003E and \u003Cstrong\u003E{widgetType}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{widgetId}\u003C\/strong\u003E must be an ID of an existing widget. The widget type has to be registered via Symfony Configuration. \u003Cbr\u003E\nPlease note that \u003Cstrong\u003Eall configuration fields\u003Cstrong\u003E have to be provided.\n","operationId":"perspective_widget_update_config_by_id","parameters":[{"name":"widgetId","in":"path","description":"Update widget by matching widget Id","required":true,"schema":{"type":"string","example":"d061699e_da42_4075_b504_c2c93c687819"}},{"name":"widgetType","in":"path","description":"Update widget by matching widget type","required":true,"schema":{"type":"string","example":"element_tree"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"properties":{"name":{"type":["string","null"]}},"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Successfully updated widget configuration"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Perspectives"],"summary":"Delete widget with given id and type","description":"Delete the widget with the given \u003Cstrong\u003E{widgetId}\u003C\/strong\u003E and \u003Cstrong\u003E{widgetType}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{widgetId}\u003C\/strong\u003E must be an ID of an existing widget. The widget type has to be registered via Symfony Configuration.\n","operationId":"perspective_widget_delete","parameters":[{"name":"widgetId","in":"path","description":"Filter widgets by matching widget Id","required":true,"schema":{"type":"string","example":"d061699e_da42_4075_b504_c2c93c687819"}},{"name":"widgetType","in":"path","description":"Filter widgets by matching widget type","required":true,"schema":{"type":"string","example":"element_tree"}}],"responses":{"200":{"description":"Successfully deleted widget"},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/perspectives\/widgets\/types":{"get":{"tags":["Perspectives"],"summary":"Get widget types","description":"Get widget types collection","operationId":"perspective_widget_get_type_collection","responses":{"200":{"description":"List of widget types","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/WidgetType"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/properties":{"get":{"tags":["Properties"],"summary":"Get all predefined properties. You can filter by type and query","description":"Listing all the predefined properties that are currently stored in the system. \u003Cbr\u003E\nTo list specific properties for a type you can use the \u003Cstrong\u003EelementType\u003C\/strong\u003E query parameter.\u003Cbr\u003E\nYou can also created element type specific listings for this, to show in the context of the element. \u003Cbr\u003E\nThe \u003Cstrong\u003Efilter\u003C\/strong\u003E query parameter is applied on the name of the property. \u003Cbr\u003E\nKeep in mind that the name is language specific.\n","operationId":"property_get_collection","parameters":[{"name":"elementType","in":"query","description":"Filter elements by matching element type.","required":false,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"filter","in":"query","description":"Filter for properties","required":false,"schema":{"type":"string","example":"properties"}}],"responses":{"200":{"description":"Predefined properties filtered based on type and query parameters","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/PredefinedProperty"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/property":{"post":{"tags":["Properties"],"summary":"Creating new property with default values","description":"Creating the property with default values. \u003Cbr\u003E\n\u003Cul\u003E\n \u003Cli\u003EName: New Property\u003C\/li\u003E\n \u003Cli\u003EKey: new_key\u003C\/li\u003E\n \u003Cli\u003EType: Text\u003C\/li\u003E\n \u003Cli\u003EElement Type: Document (Ctype)\u003C\/li\u003E\n\u003C\/ul\u003E\n","operationId":"property_create","responses":{"200":{"description":"Created predefined property with default values","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PredefinedProperty"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/properties\/{id}":{"put":{"tags":["Properties"],"summary":"Updating a property","description":"Updating the property with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nSee the full description of updatable fields with the schema \u003Cstrong\u003EUpdatePredefinedProperty\u003C\/strong\u003E\n","operationId":"property_update","parameters":[{"name":"id","in":"path","description":"Id of the property","required":true,"schema":{"type":"string","example":"alpha-numerical"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdatePredefinedProperty"}}}},"responses":{"200":{"description":"Updated predefined property","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PredefinedProperty"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Properties"],"summary":"Delete property with given id","description":"Deleting the property with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nIf the property is used in any element, it will not be deleted.\n","operationId":"property_delete","parameters":[{"name":"id","in":"path","description":"Id of the property","required":true,"schema":{"type":"string","example":"alpha-numerical"}}],"responses":{"200":{"description":"Successfully deleted property with given id"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/properties\/{elementType}\/{id}":{"get":{"tags":["Properties"],"summary":"Get properties for an element based on the element type and the element id","description":"List all the saved properties of the element. \u003Cbr\u003E\nKeep in mind that inherited properties should not be send back in an update request. \u003Cbr\u003E\nThis will result in the loss of the inheritance. \u003Cbr\u003E\n","operationId":"property_get_collection_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Element Properties data as json","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/ElementProperty"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role\/clone\/{id}":{"post":{"tags":["Role Management"],"summary":"Clone a specific Role.","operationId":"role_clone_by_id","parameters":[{"name":"id","in":"path","description":"Id of the role","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"properties":{"name":{"type":"string","example":"Cloned Role"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the cloned Role.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role\/folder":{"post":{"tags":["Role Management"],"summary":"Create a new role folder.","operationId":"role_folder_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["parentId","name"],"properties":{"parentId":{"type":["integer","null"],"minimum":1},"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the new created Folder","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role":{"post":{"tags":["Role Management"],"summary":"Create a new role.","operationId":"role_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["parentId","name"],"properties":{"parentId":{"type":["integer","null"],"minimum":1},"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the new created Role.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role\/folder\/{id}":{"delete":{"tags":["Role Management"],"summary":"Delete a specific folder with all sub roles.","operationId":"role_folder_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the folder","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role\/{id}":{"get":{"tags":["Role Management"],"summary":"Get all available user roles.","operationId":"role_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the role","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of available user roles.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedRole"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Role Management"],"summary":"Update role by id.","operationId":"role_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the Role","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateRole"}}}},"responses":{"200":{"description":"Updated data.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedRole"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Role Management"],"summary":"Delete a specific role.","operationId":"role_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the role","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/roles":{"get":{"tags":["Role Management"],"summary":"Get all available roles.","description":"Get all available roles with basic information","operationId":"role_get_collection","responses":{"200":{"description":"List of available roles.","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/SimpleRole"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/roles\/tree":{"get":{"tags":["Role Management"],"summary":"Get collection of roles for tree view.","operationId":"role_get_tree","parameters":[{"name":"parentId","in":"query","description":"Filter roles by parent id.","required":true,"schema":{"type":"integer","minimum":0,"example":0}}],"responses":{"200":{"description":"Collection of roles including folders for the given parent id.","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/TreeNode"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/schedules\/{id}":{"delete":{"tags":["Schedule"],"summary":"Delete schedule with given id","description":"Deletes a specific schedule based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E.\n","operationId":"schedule_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the schedule","required":true,"schema":{"type":"integer","example":123}}],"responses":{"200":{"description":"Successfully deleted schedule"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/schedules\/{elementType}\/{id}":{"get":{"tags":["Schedule"],"summary":"Get schedules for an element","description":"Get all schedules for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\n","operationId":"schedule_get_collection_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of schedules for element","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Schedule"],"summary":"Update schedules for an element","description":"Update schedules for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nSee the full description of updatable fields with the schema \u003Cstrong\u003EUpdateSchedule\u003C\/strong\u003E\n","operationId":"schedule_update_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateSchedule"}}},"type":"object"}}}},"responses":{"200":{"description":"List of updated schedules","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Schedule"],"summary":"Create a schedule for element","description":"Create a new schedule with default values for the element with the given type \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe schedule will be created for the current user.\n","operationId":"schedule_create_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Created schedule for element","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/search\/configuration\/assets":{"get":{"tags":["Search"],"summary":"Get asset search configuration","description":"Get asset configuration","operationId":"asset_get_search_configuration","responses":{"200":{"description":"Asset search configuration","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedConfiguration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/search\/assets":{"post":{"tags":["Search"],"summary":"Get asset data for search","description":"Asset grid for search","operationId":"asset_get_search","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["columns"],"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"200":{"description":"Assets for search grid","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"required":["id","columns","isLocked","permissions"],"type":"array","items":{"properties":{"id":{"type":"integer"},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnData"}},"isLocked":{"type":"boolean"},"permissions":{"$ref":"#\/components\/schemas\/Permissions"}},"type":"object"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/search\/configuration\/data-objects":{"get":{"tags":["Search"],"summary":"Get data object search configuration","description":"Get data object search configuration","operationId":"data_object_get_search_configuration","parameters":[{"name":"classId","in":"query","description":"Class Id of the data object","required":false,"schema":{"type":"string","example":"EV"}}],"responses":{"200":{"description":"Data object search configuration","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedConfiguration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/search\/data-objects":{"post":{"tags":["Search"],"summary":"Get data object search results","description":"Get data object search results","operationId":"data_object_get_search","parameters":[{"name":"classId","in":"query","description":"Class Id of the data object","required":false,"schema":{"type":"string","example":"EV"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["columns"],"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"200":{"description":"Data object search results","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"required":["id","columns","isLocked","permissions"],"type":"array","items":{"properties":{"id":{"type":"integer"},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnData"}},"isLocked":{"type":"boolean"},"permissions":{"$ref":"#\/components\/schemas\/Permissions"}},"type":"object"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/search\/preview\/{elementType}\/{id}":{"get":{"tags":["Search"],"summary":"Preview for element search result","description":"Returns search preview for elements based on the given type \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"simple_search_preview_get","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Simple search results preview for elements","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/AssetSearchPreview"},{"$ref":"#\/components\/schemas\/DataObjectSearchPreview"},{"$ref":"#\/components\/schemas\/DocumentSearchPreview"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/search":{"get":{"tags":["Search"],"summary":"Search for elements","description":"Search for elements based on the given \u003Cstrong\u003E{search term}\u003C\/strong\u003E. \u003Cbr\u003E\nElements are searched with the fulltext filter applied via Generic Data Index. \u003Cbr\u003E\n","operationId":"simple_search_get","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"searchTerm","in":"query","description":"Search term","required":false,"schema":{"type":"string","example":null}}],"responses":{"200":{"description":"Search results for elements","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/SimpleSearchResult"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/settings":{"get":{"tags":["Settings"],"summary":"Get system settings","description":"Get system settings from different providers. \u003Cbr\u003E\nSystem settings are public and need no login.\n","operationId":"system_settings_get","responses":{"200":{"description":"System settings data","content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags":{"get":{"tags":["Tags"],"summary":"Get all tags for a parent","description":"Get all tags for a \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E\nYou can use different query parameters to filter the tags\n","operationId":"tag_get_collection","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"elementType","in":"query","description":"Filter elements by matching element type.","required":false,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"filter","in":"query","description":"Filter for properties","required":false,"schema":{"type":"string","example":"properties"}},{"name":"parentId","in":"query","description":"Filter tags by parent id.","required":false,"schema":{"type":"integer","minimum":0,"example":1}}],"responses":{"200":{"description":"All tags for a parent filtered based on type and query parameters","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Tag"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tag":{"post":{"tags":["Tags"],"summary":"Create a new tag","description":"Create a new tag. \u003Cbr\u003E See the full description of request fields with the schema \u003Cstrong\u003ECreate Tag Parameters\u003C\/strong\u003E\n","operationId":"tag_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateTagParameters"}}}},"responses":{"200":{"description":"tag_create_success_description","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Tag"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/{id}":{"get":{"tags":["Tags"],"summary":"Get a tag by ID","description":"Retrieves a specific tag data based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"tag_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the tag","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved tag data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Tag"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Tags"],"summary":"Update a tag by ID","description":"Update a specific tag based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nSee the full description of updatable fields with the schema \u003Cstrong\u003EChange Tag Parameters\u003C\/strong\u003E\n","operationId":"tag_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the tag","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateTagParameters"}}}},"responses":{"200":{"description":"Successfully updated tag data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Tag"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Tags"],"summary":"Delete a specific tag","description":"Delete a specific tag based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"tag_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the tag","required":true,"schema":{"type":"integer","example":10}}],"responses":{"200":{"description":"ID of successfully deleted tag","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of deleted tag","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/assign\/{elementType}\/{id}\/{tagId}":{"post":{"tags":["Tags for Element"],"summary":"Assign a tag to an element","description":"Assign a specific tag based on the given \u003Cstrong\u003E{tagId}\u003C\/strong\u003E to an element based on \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"tag_assign_to_element","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"tagId","in":"path","description":"TagId of the tag","required":true,"schema":{"type":"integer","example":83}}],"responses":{"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/batch\/{operation}\/{elementType}\/{id}":{"post":{"tags":["Tags for Element"],"summary":"Batch assign\/replace tags for children elements","description":"Batch assign\/replace multiple tags of the given parent based on the \u003Cstrong\u003E{elementId}\u003C\/strong\u003E and \u003Cstrong\u003E{elementType}\u003C\/strong\u003E to the children. \u003Cbr\u003E\nOperation parameter \u003Cstrong\u003E{operation}\u003C\/strong\u003E must be one of the \u003Cstrong\u003Eassign\u003C\/strong or \u003Cstrong\u003Ereplace\u003C\/strong\u003E.\n","operationId":"tag_batch_operation_to_elements_by_type_and_id","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"operation","in":"path","description":"Execute operation based on provided type.","required":true,"schema":{"type":"string","enum":["assign","replace"],"example":"assign"}}],"responses":{"201":{"description":"Successfully created jobRun for batch tag assignment\/replacement","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/{elementType}\/{id}":{"get":{"tags":["Tags for Element"],"summary":"Get tags for an element","description":"Get paginated tag collection for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"tag_get_collection_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Paginated tags for element","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Tag"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/{elementType}\/{id}\/{tagId}":{"delete":{"tags":["Tags for Element"],"summary":"Unassign a tag from an element","description":"Unassign a specific tag based on the given \u003Cstrong\u003E{tagId}\u003C\/strong\u003E from an element based on \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"tag_unassign_from_element","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"tagId","in":"path","description":"TagId of the tag","required":true,"schema":{"type":"integer","example":83}}],"responses":{"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/thumbnails\/image":{"get":{"tags":["Asset Thumbnails"],"summary":"Get collection of thumbnails for images","description":"Get collection of thumbnails for images. \u003Cbr\u003E\nThe thumbnails have to be defined as downloadable in order to be listed in the collection.\n","operationId":"thumbnail_image_get_collection","responses":{"200":{"description":"All downloadable image thumbnails","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Thumbnail"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/thumbnails\/video":{"get":{"tags":["Asset Thumbnails"],"summary":"Get collection of thumbnails for videos","description":"Get collection of all thumbnails for videos.\n","operationId":"thumbnail_video_get_collection","responses":{"200":{"description":"All video thumbnails","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Thumbnail"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/translations\/create":{"post":{"tags":["Translation"],"summary":"Create translations","description":"Add new translation entries for given translation key\n","operationId":"translation_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateTranslation"}}}},"responses":{"200":{"description":"Successfully created translations"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/translations\/{key}":{"delete":{"tags":["Translation"],"summary":"Delete translations","description":"Delete translations for given translation key","operationId":"translation_delete_by_key","parameters":[{"name":"key","in":"path","description":"Delete translations by matching key","required":true,"schema":{"type":"string","example":"some_key"}}],"responses":{"200":{"description":"translation_delete_by_key_success_description"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/translations":{"put":{"tags":["Translation"],"summary":"Update translations","description":"Update translations for given translation data and locale.The \u003Cstrong\u003E{key}\u003C\/strong\u003E must be an existing translation key. \u003Cbr\u003E \nSee the full description of updatable translation data fields with the schema \u003Cstrong\u003ETranslationData\u003C\/strong\u003E\n","operationId":"translation_update","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateTranslation"}}}},"responses":{"200":{"description":"Successfully updated translations"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Translation"],"summary":"Get translations","description":"Get translations for given keys and locale","operationId":"translation_get_collection","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Translation"}}}},"responses":{"200":{"description":"Key value pairs for given keys and locale","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Translation"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/unit\/quantity-value\/convert-all":{"get":{"tags":["Units"],"summary":"Convert quantity value from one unit to all other related units","description":"Convert quantity \u003Cstrong\u003E{value}\u003C\/strong\u003E from one unit to all other available units based on the given \u003Cstrong\u003E{fromUnitId}\u003C\/strong\u003E. \u003Cbr\u003E\nUnits have to have \u003Cstrong\u003E{fromUnitId}\u003C\/strong\u003E defined as base unit to be considered for conversion.\n","operationId":"unit_quantity_value_convert_all","parameters":[{"name":"fromUnitId","in":"query","description":"Id of the unit to convert from","required":true,"schema":{"type":"string","example":null}},{"name":"value","in":"query","description":"Value to convert.","required":true,"schema":{"anyOf":[{"type":"integer","format":"int32"},{"type":"number","format":"float"}]},"example":5}],"responses":{"200":{"description":"Converted quantity value","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConvertedQuantityValues"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/unit\/quantity-value\/convert":{"get":{"tags":["Units"],"summary":"Convert quantity value from one unit to another","description":"Convert quantity \u003Cstrong\u003E{value}\u003C\/strong\u003E from one unit to another based on the given \u003Cstrong\u003E{fromUnitId}\u003C\/strong\u003E and \u003Cstrong\u003E{toUnitId}\u003C\/strong\u003E\n","operationId":"unit_quantity_value_convert","parameters":[{"name":"fromUnitId","in":"query","description":"Id of the unit to convert from","required":true,"schema":{"type":"string","example":null}},{"name":"toUnitId","in":"query","description":"Id of the unit to convert to","required":true,"schema":{"type":"string","example":null}},{"name":"value","in":"query","description":"Value to convert.","required":true,"schema":{"anyOf":[{"type":"integer","format":"int32"},{"type":"number","format":"float"}]},"example":5}],"responses":{"200":{"description":"Converted quantity value","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Converted value","example":2,"anyOf":[{"type":"float"},{"type":"integer"}]}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/unit\/quantity-value\/unit-list":{"get":{"tags":["Units"],"summary":"List of available quantity value units","description":"List of available quantity value units\n","operationId":"unit_quantity_value_list","responses":{"200":{"description":"List of quantity value units","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/QuantityValueUnit"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/clone\/{id}":{"post":{"tags":["User Management"],"summary":"Clone a specific user.","operationId":"user_clone_by_id","parameters":[{"name":"id","in":"path","description":"Id of the user","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"properties":{"name":{"type":"string","example":"Cloned User"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the cloned user.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/":{"post":{"tags":["User Management"],"summary":"Create a new user.","operationId":"user_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["parentId","name"],"properties":{"parentId":{"type":["integer","null"],"minimum":1},"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the new created User.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/folder":{"post":{"tags":["User Management"],"summary":"Create a new user folder.","operationId":"user_folder_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["parentId","name"],"properties":{"parentId":{"type":["integer","null"],"minimum":1},"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the new created Folder.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/current-user-information":{"get":{"tags":["User Management"],"summary":"Retrieve information\u0027s about the current logged in user.","operationId":"user_get_current_information","responses":{"200":{"description":"Current user information\u0027s.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserInformation"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/{id}":{"get":{"tags":["User Management"],"summary":"Retrieve a specific user by ID.","operationId":"user_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the user","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Node of the requested user.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["User Management"],"summary":"Update user by id.","operationId":"user_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the User","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateUser"}}}},"responses":{"200":{"description":"Updated data.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["User Management"],"summary":"Delete a specific user.","operationId":"user_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the user","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/folder\/{id}":{"delete":{"tags":["User Management"],"summary":"Delete a specific user folder with all users in this folder.","operationId":"user_folder_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the user-folder","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/users\/default-key-bindings":{"get":{"tags":["User Management"],"summary":"Get default key bindings","description":"Get default key bindings for user management\n","operationId":"user_default_key_bindings","responses":{"200":{"description":"List of default key bindings","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/KeyBinding"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/available-permissions":{"get":{"tags":["User Management"],"summary":"Get all available user permissions.","operationId":"user_get_available_permissions","responses":{"200":{"description":"List of available user permissions.","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/UserPermission"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/users":{"get":{"tags":["User Management"],"summary":"Get all users","description":"Get all users with basic information","operationId":"user_get_collection","responses":{"200":{"description":"List of users","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/SimpleUser"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/reset-password":{"post":{"tags":["User Management"],"summary":"Sending username to reset password.","operationId":"user_reset_password","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ResetPassword"}}}},"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E429 - Too Many Requests","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/search":{"get":{"tags":["User Management"],"summary":"Search for users by query. The query can be a part of the username, first name, last name, email or user ID.","operationId":"pimcore_studio_api_user_search","parameters":[{"name":"searchQuery","in":"query","description":"Query to search for an user. This can be a part of username, firstname, lastname, email or id.","required":false,"schema":{"type":"string","example":null}}],"responses":{"200":{"description":"user_search_summary_response","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/SimpleUser"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/active-perspective\/{perspectiveId}":{"put":{"tags":["User Management"],"summary":"Update the active perspective for the current user.","operationId":"user_update_active_perspective","parameters":[{"name":"perspectiveId","in":"path","description":"Set active perspective by Id","required":true,"schema":{"type":"string","example":"d061699e_da42_4075_b504_c2c93c687819"}}],"responses":{"200":{"description":"Updated active perspective for the current user."},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/{id}\/password":{"put":{"tags":["User Management"],"summary":"Update password for a User by the User id.","operationId":"user_update_password_by_id","parameters":[{"name":"id","in":"path","description":"Id of the User","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["password","passwordConfirmation"],"properties":{"password":{"type":"string"},"passwordConfirmation":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/update-profile":{"put":{"tags":["User Management"],"summary":"Update the current user profile","description":"Update the current user profile. \u003Cbr\u003E See the full description of updatable fields with the schema \u003Cstrong\u003EUpdateUserProfile\u003C\/strong\u003E\n","operationId":"user_update_profile","requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateUserProfile"}}}},"responses":{"200":{"description":"Successfully updated user profile","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserInformation"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/upload-image\/{id}":{"post":{"tags":["User Management"],"summary":"Upload user image","operationId":"user_upload_image","parameters":[{"name":"id","in":"path","description":"Id of the User","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["userImage"],"properties":{"userImage":{"description":"User image to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/image\/{id}":{"get":{"tags":["User Management"],"summary":"Get user profile image","operationId":"user_get_image","parameters":[{"name":"id","in":"path","description":"Id of the User","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"User profile image","content":{"image\/png":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/users\/tree":{"get":{"tags":["User Management"],"summary":"Get collection of users for tree view.","operationId":"user_get_tree","parameters":[{"name":"parentId","in":"query","description":"Filter users by parent id.","required":true,"schema":{"type":"integer","minimum":0,"example":0}}],"responses":{"200":{"description":"Collection of users including folders for the given parent id.","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/TreeNode"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{id}\/asset\/download":{"get":{"tags":["Versions"],"summary":"Download asset version by ID","description":"Download the asset version based on the provided version \u003Cstrong\u003E{id}\u003C\/strong\u003E.\n","operationId":"version_asset_download_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Asset version binary file","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{id}\/image\/stream":{"get":{"tags":["Versions"],"summary":"Stream image version thumbnail by ID","description":"Stream the image version thumbnail based on the provided version \u003Cstrong\u003E{id}\u003C\/strong\u003E.\n","operationId":"version_image_stream_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Image thumbnail version stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{id}\/pdf\/stream":{"get":{"tags":["Versions"],"summary":"Stream PDF version by ID","description":"Stream the PDF version based on the provided version \u003Cstrong\u003E{id}\u003C\/strong\u003E.\n","operationId":"version_pdf_stream_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"PDF version stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"application\/pdf":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"202 - Not Completed\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{id}":{"get":{"tags":["Versions"],"summary":"Get a specific version by ID","description":"Retrieves a specific version data based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an id of existing version.\n","operationId":"version_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved version data as JSON","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/AssetVersion"},{"$ref":"#\/components\/schemas\/DataObjectVersion"},{"$ref":"#\/components\/schemas\/DocumentVersion"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Versions"],"summary":"Update a version by ID","description":"Updates a version based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an id of existing version. \u003Cbr\u003E See the full description of updatable fields with the schema \u003Cstrong\u003EUpdateVersion\u003C\/strong\u003E\n","operationId":"version_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateVersion"}}}},"responses":{"200":{"description":"Successfully updated version"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Versions"],"summary":"Publish a specific version by ID","description":"Publishes a specific version based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an id of existing version.\n","operationId":"version_publish_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"ID of the published version","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of published version","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Versions"],"summary":"Delete a specific version","description":"Deletes a specific version based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an id of existing version.\n","operationId":"version_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully deleted version"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{elementType}\/{id}":{"get":{"tags":["Versions"],"summary":"Get versions for an element","description":"List all the versions of the element. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"version_get_collection_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}}],"responses":{"200":{"description":"Paginated element Versions data as JSON with total count as header param","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Version"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Versions"],"summary":"Cleanup all versions for an element","description":"Cleans up all versions for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"version_cleanup_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the ID of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"IDs of the removed versions","content":{"application\/json":{"schema":{"required":["ids"],"properties":{"ids":{"title":"IDs","description":"IDs of deleted versions","type":"array","items":{"type":"integer","example":420}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/workflows\/details":{"get":{"tags":["Workflows"],"summary":"Get all workflow details of an element","description":"Get details of the element workflows based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{elementId}\u003C\/strong\u003E.\n","operationId":"workflow_get_details","parameters":[{"name":"elementId","in":"query","description":"ID of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"query","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Detail data of element workflows","content":{"application\/json":{"schema":{"required":["items","layoutId"],"properties":{"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowDetails"}},"layoutId":{"title":"layoutId","type":"string"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/workflows\/action":{"post":{"tags":["Workflows"],"summary":"Submit workflow action","description":"Submit action based on the workflow name, action name and action type.","operationId":"workflow_action_submit","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SubmitAction"}}}},"responses":{"200":{"description":"Json encoded name of workflow, name and type of submitted action.","content":{"application\/json":{"schema":{"properties":{"workflowName":{"title":"workflowName","type":"string","example":"MyAwesomeWorkflow"},"actionName":{"title":"actionName","type":"string","example":"MyAwesomeAction"},"actionType":{"title":"actionType","type":"string","example":"transition"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}}},"components":{"schemas":{"Document Translation Link":{"required":["language","documentId"],"properties":{"language":{"description":"Language","type":"string","example":"en"},"documentId":{"description":"Document Id","type":"integer","example":83}},"type":"object"},"Document Translation Links":{"required":["language","documentId"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"language":{"description":"Language","type":"string","example":"en"},"translationLinks":{"description":"Translation links","type":"array","items":{"$ref":"#\/components\/schemas\/Document Translation Link"}}},"type":"object"},"Document Translation Parent":{"required":["id","fullPath"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Document Id","type":"integer","example":83},"fullPath":{"description":"Document full path","type":"string","example":"\/path\/to\/document"}},"type":"object"},"Update Site":{"required":["mainDomain","domains","errorDocument","localizedErrorDocuments","redirectToMainDomain"],"properties":{"mainDomain":{"description":"Main domain","type":"string","example":"main_site"},"domains":{"description":"Domains","type":"array","items":{"type":"string"},"example":["other_domain"]},"errorDocument":{"description":"Error document","type":"string","example":"path\/to\/error\/document"},"localizedErrorDocuments":{"description":"Localized error documents","type":"object","example":{"en":"path\/to\/en\/error\/document","de":"path\/to\/de\/error\/document"}},"redirectToMainDomain":{"description":"Redirect to main domain","type":"boolean","example":false}},"type":"object"},"AddPerspectiveConfig":{"title":"Add Perspective Config","required":["name"],"properties":{"name":{"description":"Name","type":"string","example":"Cars"}},"type":"object"},"AdvancedColumnConfig":{"title":"Advanced Column Config","required":["advancedColumns"],"properties":{"advancedColumn":{"description":"advancedColumns","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/RelationFieldConfig"},{"$ref":"#\/components\/schemas\/SimpleFieldConfig"},{"$ref":"#\/components\/schemas\/StaticTextConfig"},{"$ref":"#\/components\/schemas\/ExistingColumnConfig"}]},"example":[{"field":"name","relation":"manufacturer"},{"field":"name"},{"text":"name"}]},"concatenationSymbol":{"description":"Concatenation symbol to combine multiple columns","type":"string","example":"-"},"transformers":{"description":"List if Transformers that should be applied","type":"array","items":{"$ref":"#\/components\/schemas\/Transformer"}}},"type":"object"},"AllowedTransition":{"title":"AllowedTransition","required":["name","label","iconCls","objectLayout","unsavedChangesBehaviour","notes"],"properties":{"name":{"description":"name","type":"string","example":"start_workflow"},"label":{"description":"label","type":"string","example":"Start Workflow"},"iconCls":{"description":"iconCls","type":"string","example":"pimcore_workflow_start"},"objectLayout":{"description":"objectLayout","type":"boolean","example":false},"unsavedChangesBehaviour":{"description":"unsavedChangesBehaviour","type":"string","example":"warn"},"notes":{"description":"notes","type":"array","items":{"type":"object"},"example":{"commentEnabled":true,"commentRequired":true}}},"type":"object"},"Archive":{"title":"Archive","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"Asset":{"title":"Asset","required":["hasChildren","type","filename","mimeType","hasMetadata","hasWorkflowWithPermissions","fullPath","customAttributes","permissions","hasWorkflowAvailable"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Element"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes","description":"Custom attributes for the tree"},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"hasChildren":{"description":"Has children","required":["hasChildren"],"type":"boolean","example":false},"type":{"description":"Type","type":"string","example":"image"},"filename":{"description":"Filename","type":"string","example":"cool.jpg"},"mimeType":{"description":"Mimetype","type":["string","null"],"example":"image\/jpeg"},"hasMetadata":{"description":"Has metadata","type":"boolean","example":false},"hasWorkflowWithPermissions":{"description":"Workflow permissions","type":"boolean","example":false},"fullPath":{"description":"Full path","type":"string","example":"\/path\/to\/asset.jpg"},"permissions":{"$ref":"#\/components\/schemas\/AssetPermissions"}},"type":"object"}]},"AssetContextPermissions":{"title":"Asset Context Permissions","type":"object","allOf":[{"$ref":"#\/components\/schemas\/SaveAssetContextPermissions"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}}},"type":"object"}]},"AssetDocument":{"title":"Asset Document","required":["pageCount","imageThumbnailPath"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"},{"properties":{"pageCount":{"description":"Page count","type":["integer","null"],"example":2},"imageThumbnailPath":{"description":"Path to image thumbnail","type":["string","null"],"example":"\/path\/to\/document\/imagethumbnail.jpg"}},"type":"object"}]},"AssetFolder":{"title":"Asset Folder","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"AssetPermissions":{"title":"Asset Permissions","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Permissions"}]},"AssetVersion":{"title":"AssetVersion","required":["type","fileName","creationDate","fileSize","mimeType","metadata","dimensions"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"type":{"description":"asset type","type":"string","example":"image"},"fileName":{"description":"file name","type":"string","example":"myImageFile.png"},"creationDate":{"description":"creation date","type":"integer","example":1707312457},"modificationDate":{"description":"modification date","type":["integer","null"],"example":1707312457},"fileSize":{"description":"file size","type":"integer","example":41862},"mimeType":{"description":"mime type","type":"string","example":"image\/png"},"metadata":{"description":"Metadata","type":"array","items":{"$ref":"#\/components\/schemas\/CustomMetadataVersion"}},"dimensions":{"$ref":"#\/components\/schemas\/Dimensions","description":"dimensions"}},"type":"object"},"Audio":{"title":"Audio","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"BlocklistEntry":{"title":"Blocklist","required":["email","creationDate","modificationDate"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"email":{"description":"email address","type":"string","example":"email@pimcore.com"},"creationDate":{"description":"creation date","type":"integer","example":1707312457},"modificationDate":{"description":"modification date","type":["integer","null"],"example":1707312457}},"type":"object"},"EmailAddressParameter":{"title":"Blocklist","required":["email"],"properties":{"email":{"description":"email address","type":"string","example":"someEmail@email-domain.com"}},"type":"object"},"UpdateTagParameters":{"title":"Change Tag Parameters","description":"Parameters for changing a tag","properties":{"parentId":{"description":"Parent id","type":["integer","null"],"example":0},"name":{"description":"Tag name","type":["string","null"],"example":"tag 1"}},"type":"object"},"ClassDefinitionList":{"title":"Class Definition List Item","required":["id","name","title","icon","group"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Id of class definition","type":"string"},"name":{"description":"Name of class definition","type":"string"},"title":{"description":"Title","type":"string"},"icon":{"$ref":"#\/components\/schemas\/ElementIcon","description":"icon"},"group":{"description":"Group","type":["string","null"]}},"type":"object"},"ClassDefinitionFolderItem":{"title":"Class in data object folder","required":["id","name","inheritance"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID of class","type":"string","example":"NE"},"name":{"description":"Name of class","type":"string","example":"News"},"inheritance":{"description":"Inheritance allowed","type":"boolean","example":"true"}},"type":"object"},"ClassDefinition":{"title":"ClassDefinition","required":["id","name","title","description","creationDate","modificationDate","userOwner","parentClass","implementsInterfaces","listingParentClass","useTraits","listingUseTraits","encryption","allowInherit","allowVariants","showVariants","icon","group","showAppLoggerTab","linkGeneratorReference","previewGeneratorReference","compositeIndices","showFieldLookup","propertyVisibility","enableGridLocking","blockedVarsForExport","isWriteable"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Id of class definition","type":"string"},"name":{"description":"Name of class definition","type":"string"},"title":{"description":"Title","type":"string"},"description":{"description":"Description","type":"string"},"creationDate":{"description":"Creation date timestamp","type":["integer","null"]},"modificationDate":{"description":"Modification date timestamp","type":["integer","null"]},"userOwner":{"description":"User id of owner","type":"integer"},"parentClass":{"description":"Namespace of parent class","type":"string"},"implementsInterfaces":{"description":"Interface implementations","type":"string"},"listingParentClass":{"description":"List of parent class","type":"string"},"useTraits":{"description":"Traits usage","type":"string"},"listingUseTraits":{"description":"Traits usage listing","type":"string"},"encryption":{"description":"Whether encryption is ued","type":"boolean"},"allowInherit":{"description":"Whether inheritance is allowed","type":"boolean"},"allowVariants":{"description":"Whether variants are allowed","type":"boolean"},"showVariants":{"description":"Whether variants are visible in the tree","type":"boolean"},"icon":{"$ref":"#\/components\/schemas\/ElementIcon","description":"icon"},"showAppLoggerTab":{"description":"Show application logger tab","type":"boolean"},"linkGeneratorReference":{"description":"Namespace of link generator","type":"string"},"previewGeneratorReference":{"description":"Namespace of preview generator","type":"string"},"compositeIndices":{"description":"Composite indices","type":"array","items":[]},"showFieldLookup":{"description":"Show field lookup","type":"boolean"},"propertyVisibility":{"description":"Visibility of properties for grid, search, ...","type":"array","items":[]},"enableGridLocking":{"description":"Whether grid locking is enabled","type":"boolean"},"blockedVarsForExport":{"description":"Blocked variables for export","type":"array","items":{"type":"string"}},"isWriteable":{"description":"Whether the class definition can be written to","type":"boolean"},"group":{"description":"Group","type":["string","null"]}},"type":"object"},"Collection":{"title":"Classification Store Collection","required":["id","name"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID","type":"integer","example":42},"name":{"description":"Name","type":"string","example":"value"},"description":{"description":"Description","type":"string","example":"value"},"groups":{"description":"List of Group IDs in collection","type":"object"}},"type":"object"},"KeyLayout":{"title":"Classification Store Collection","required":["id","name","description","definition"],"properties":{"id":{"description":"ID","type":"integer","example":42},"name":{"description":"Name","type":"string","example":"value"},"description":{"description":"Description","type":"string","example":"value"},"definition":{"description":"Layout Definition","type":"object"}},"type":"object"},"Group":{"title":"Classification Store Group","required":["id","name"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID","type":"integer","example":42},"name":{"description":"Name","type":"string","example":"value"},"description":{"description":"Description","type":["string","null"],"example":"value"}},"type":"object"},"CollectionLayout":{"title":"Classification Store Group Layout","required":["groups"],"properties":{"groups":{"description":"Groups","type":"array","items":{"$ref":"#\/components\/schemas\/GroupLayout"}}},"type":"object"},"GroupLayout":{"title":"Classification Store Group Layout","required":["id","name","keys"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID","type":"integer","example":42},"name":{"description":"Name","type":"string","example":"value"},"description":{"description":"Description","type":["string","null"],"example":"value"},"keys":{"description":"Description","type":"array","items":{"$ref":"#\/components\/schemas\/KeyLayout"}}},"type":"object"},"KeyGroupRelation":{"title":"Classification Store KeyGroupRelation","required":["keyId","groupId","keyName","groupName"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"keyId":{"description":"Key ID","type":"integer","example":42},"groupId":{"description":"Group ID","type":"integer","example":42},"keyName":{"description":"Key Name","type":"string","example":"value"},"groupName":{"description":"Group Name","type":"string","example":"value"},"keyDescription":{"description":"Key Description","type":["string","null"],"example":"value"},"groupDescription":{"description":"Key Description","type":["string","null"],"example":"value"}},"type":"object"},"ColumnSchema":{"title":"Column","required":["key","locale","group"],"properties":{"key":{"description":"Key of the Column","type":"string","example":"id"},"locale":{"description":"Locale of the Column","type":["string","null"],"example":"de"},"group":{"description":"Group of the Column","type":"string","example":"system"}},"type":"object"},"ConvertedQuantityValue":{"title":"Converted quantity values","required":["originalValue","fromUnitId","convertedValues"],"properties":{"unitAbbreviation":{"description":"Unit Abbreviation","type":"string","example":"m"},"unitLongName":{"description":"Unit Long Name","type":"string","example":"Meter"},"convertedValue":{"description":"Converted Values","type":"number","format":"float","example":160}},"type":"object"},"ConvertedQuantityValues":{"title":"Converted quantity values","required":["originalValue","fromUnitId","convertedValues"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"originalValue":{"description":"Original Value","example":5,"anyOf":[{"type":"float"},{"type":"integer"}]},"fromUnitId":{"description":"From Unit Id","type":"string","example":"m"},"convertedValues":{"description":"Converted Values","type":"array","items":{"$ref":"#\/components\/schemas\/ConvertedQuantityValue"}}},"type":"object"},"SaveElementTreeWidgetConfig":{"title":"Create Element Tree Widget Config","required":["id","name","icon","contextPermissions","elementType","rootFolder","showRoot","classes","pql","pageSize"],"properties":{"id":{"description":"Widget ID","type":"string","example":"5026c239_eb75_499a_8576_841bca283350"},"name":{"description":"Name","type":"string","example":"Cars"},"icon":{"$ref":"#\/components\/schemas\/ElementIcon","description":"Icon"},"contextPermissions":{"description":"Context Permissions","type":"object","oneOf":[{"$ref":"#\/components\/schemas\/SaveAssetContextPermissions"},{"$ref":"#\/components\/schemas\/SaveDataObjectContextPermissions"},{"$ref":"#\/components\/schemas\/SaveDocumentContextPermissions"}]},"elementType":{"description":"Element Type","type":"string","example":"data-object"},"rootFolder":{"description":"Root Folder","type":"string","example":"\/Product Data\/Cars"},"showRoot":{"description":"Show Root","type":"boolean","example":false},"classes":{"description":"Classes","type":"object","example":["CAR"]},"pql":{"description":"PQL","type":["string","null"],"example":null},"pageSize":{"description":"Page size","type":["integer","null"],"example":20}},"type":"object"},"SavePerspectiveConfig":{"title":"Create Perspective Config","required":["icon","contextPermissions","widgetsLeft","widgetsRight","widgetsBottom","expandedLeft","expandedRight"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/AddPerspectiveConfig"},{"properties":{"icon":{"$ref":"#\/components\/schemas\/ElementIcon","description":"Icon"},"contextPermissions":{"description":"Context Permissions","type":"object"},"widgetsLeft":{"description":"Widgets Left","type":"object","example":{"widget_id":"widget_type"}},"widgetsRight":{"description":"Widgets Right","type":"object","example":{"widget_id":"widget_type"}},"widgetsBottom":{"description":"Widgets Bottom","type":"object","example":{"widget_id":"widget_type"}},"expandedLeft":{"description":"Left Expanded Widget","type":["string","null"],"example":"widget_id"},"expandedRight":{"description":"Right Expanded Widget","type":["string","null"],"example":"widget_id"}},"type":"object"}]},"CreateTagParameters":{"title":"Create Tag Parameters","description":"Parameters for creating a new tag","properties":{"parentId":{"description":"Parent id","type":"integer","example":0},"name":{"description":"Tag name","type":"string","example":"tag 1"}},"type":"object"},"CreateNote":{"title":"CreateNote","required":["title","description","type"],"properties":{"title":{"description":"title","type":"string","example":"Title of note"},"description":{"description":"description","type":"string","example":"Description of note"},"type":{"description":"type","type":"string","example":"Type of note"}},"type":"object"},"Credentials":{"title":"Credentials","description":"Credentials for authentication","required":["username","password"],"properties":{"username":{"description":"Username","type":"string","example":"shaquille.oatmeal"},"password":{"description":"Password","type":"string","example":"*****"}},"type":"object"},"CustomReportChartData":{"title":"Custom Report Chart Data","required":["data"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"data":{"description":"Chart data depending on the adapter in the report configuration.","type":"array","items":{"$ref":""}}},"type":"object"},"CustomReportColumnConfiguration":{"title":"Custom Report Column Configuration","properties":{"name":{"description":"Name","type":"string","example":"attributesAvailable"},"display":{"description":"Display name of column","type":"boolean","example":true},"export":{"description":"Whether the column should be included in exports","type":"boolean","example":true},"order":{"description":"Order","type":"boolean","example":true},"label":{"description":"Label\/display name of column","type":"string","example":"Attributes"},"id":{"description":"Id","type":"string","example":"401-3"}},"type":"object"},"CustomReportTreeConfigNode":{"title":"Custom Report Configuration Tree Node","required":["id","text","cls","writeable"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"string","example":"Quality_Attributes"},"text":{"description":"text","type":"string","example":"Quality_Attributes"},"cls":{"description":"css class","type":"string","example":"pimcore_treenode_disabled"},"writeable":{"description":"writeable","type":"boolean","example":true}},"type":"object"},"CustomReportDetails":{"title":"Custom Report Details","required":["name","sql","dataSourceConfig","columnConfiguration","niceName","groupIconClass","iconClass","menuShortcut","reportClass","chartType","pieColumn","pieLabelColumn","xAxis","yAxis","modificationDate","creationDate","sharedUserNames","sharedRoleNames","sharedGlobally","writeable"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"Name","type":"string","example":"Quality_Attributes"},"sql":{"description":"Sql","type":"string","example":""},"dataSourceConfig":{"description":"Configuration for data source. Content of array depends on selected adapter\/data source","type":"array","items":[],"example":"[]"},"columnConfigurations":{"description":"Configuration for columns to be displayed in report","type":"array","items":{"$ref":"#\/components\/schemas\/CustomReportColumnConfiguration"}},"niceName":{"description":"Label\/nice name of report","type":"string","example":"Attributes"},"groupIconClass":{"description":"Group icon class","type":"string","example":"pimcore_group_icon_attributes"},"iconClass":{"description":"Icon class","type":"string","example":"pimcore_icon_attributes"},"menuShortcut":{"description":"Whether the report has a shortcut in the menu","type":"boolean","example":true},"reportClass":{"description":"Report class of custom report implementation","type":"string","example":""},"chartType":{"description":"Chart type","type":"string","example":"pie"},"modificationDate":{"description":"Modification date time stamp","type":"integer","example":1736762668},"creationDate":{"description":"Creation date time stamp","type":"integer","example":1567409307},"sharedUserNames":{"description":"Array with user names the report is shared with","type":"array","items":{"type":"string"},"example":"[\u0022admin\u0022, \u0022superuser\u0022]"},"sharedRoleNames":{"description":"Array with roles the report is shared with","type":"array","items":{"type":"string"},"example":"[\u0022role\u0022, \u0022role2\u0022]"},"sharedGlobally":{"description":"Whether the report is shared globally","type":"boolean","example":false},"writeable":{"description":"Whether the report is writeable","type":"boolean","example":true},"pieColumn":{"description":"Data column for pie chart","type":["string","null"],"example":"count(*)"},"pieLabelColumn":{"description":"Label of data column for pie chart","type":["string","null"],"example":"attributesAvailable"},"xAxis":{"description":"X axis column names","type":["array","null"],"items":{"type":"string"},"example":"[\u0022attributesAvailable\u0022, \u0022count(*)\u0022]"},"yAxis":{"description":"Y axis column information","type":["array","null"],"items":{"type":"string"},"example":"[\u0022attributesAvailable\u0022]"}},"type":"object"},"CustomReportTreeNode":{"title":"Custom Report Tree Node","required":["name","niceName","iconClass","group","groupIconClass","menuShortcut","reportClass"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"report name","type":"string","example":"Quality_Attributes"},"niceName":{"description":"nice name","type":"string","example":"Attributes"},"iconClass":{"description":"icon class","type":"string","example":"pimcore_icon_attributes"},"group":{"description":"group","type":"string","example":"Quality"},"groupIconClass":{"description":"group icon class","type":"string","example":"pimcore_group_icon_attributes"},"menuShortcut":{"description":"menu shortcut","type":"boolean","example":true},"reportClass":{"description":"report class","type":"string","example":""}},"type":"object"},"CustomLayout":{"title":"Custom layouts","required":["id","name","description","creationDate","modificationDate","userOwner","classId","default","layoutDefinition"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Id of custom layout","type":"string"},"name":{"description":"Name","type":"string"},"description":{"description":"Description","type":"string"},"creationDate":{"description":"Creation date timestamp","type":"integer"},"modificationDate":{"description":"Modification date timestamp","type":"integer"},"userOwner":{"description":"User id of owner","type":"integer"},"classId":{"description":"Class id","type":"string"},"default":{"description":"Whether it is the default layout","type":"boolean"},"layoutDefinition":{"oneOf":[{"$ref":"#\/components\/schemas\/Layout","description":"Layout definitions"},{"type":"null"}],"description":"Layout definitions","type":"object"}},"type":"object"},"CustomLayoutCompact":{"title":"Custom layouts in compact format to be used for e.g. listings","required":["id","name","default"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Id of custom layout","type":"string"},"name":{"description":"Name","type":"string"},"default":{"description":"Whether it is the default layout","type":"boolean"}},"type":"object"},"CustomAttributes":{"title":"CustomAttributes","description":"Custom attributes used mainly for the tree","required":["icon","tooltip","additionalIcons","key","additionalCssClasses"],"properties":{"icon":{"oneOf":[{"$ref":"#\/components\/schemas\/ElementIcon","description":"Custom Icon"},{"type":"null"}],"description":"Custom Icon"},"tooltip":{"description":"Custom Tooltip","type":["string","null"],"example":"\u003Cb\u003EMy Tooltip\u003C\/b\u003E"},"additionalIcons":{"description":"AdditionalIcons","type":"array","items":{"type":"string","example":"some_other_icon"}},"key":{"description":"Custom Key\/Filename","type":["string","null"],"example":"my_custom_key"},"additionalCssClasses":{"description":"Additional Css Classes","type":"array","items":{"type":"string","example":"my_custom_class"}}},"type":"object"},"CustomMetadata":{"title":"CustomMetadata","required":["name","language","type","data"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":"string","example":"en"},"type":{"description":"Type","type":"string","example":"input"},"data":{"description":"Data","type":["mixed","null"],"example":"data"}},"type":"object"},"CustomMetadataVersion":{"title":"CustomMetadataVersion","required":["name","type","data"],"properties":{"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":["string","null"],"example":"en"},"type":{"description":"Type","type":"string","example":"input"},"data":{"description":"Data","type":["string","null"],"example":"data"}},"type":"object"},"CustomSettings":{"title":"CustomSettings","properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"fixedCustomSettings":{"oneOf":[{"$ref":"#\/components\/schemas\/FixedCustomSettings","description":"fixed custom settings"},{"type":"null"}],"description":"fixed custom settings","example":"{ embeddedMetadata: { FileSize: 360 KiB }, checksum: b3685e8348e7ac4d30d0268f7e58902a }"},"dynamicCustomSettings":{"description":"dynamic custom settings - can be any key-value pair","type":"array","items":{"type":"object"},"example":"[{ imageWidth: 1280 }, { imageHeight: 720 }]"}},"type":"object"},"CloneParameters":{"title":"Data Object Clone Parameters","required":["recursive","updateReferences"],"properties":{"recursive":{"description":"Recursive","type":"boolean","example":false},"updateReferences":{"description":"Update References","type":"boolean","example":false}},"type":"object"},"DataObjectContextPermissions":{"title":"Data Object Context Permissions","type":"object","allOf":[{"$ref":"#\/components\/schemas\/SaveDataObjectContextPermissions"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}}},"type":"object"}]},"DataObjectFolder":{"title":"Data Object Folder","type":"object","allOf":[{"$ref":"#\/components\/schemas\/DataObject"}]},"DataObjectPermissions":{"title":"Data Object Permissions","required":["save","unpublish","localizedEdit","localizedView"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Permissions"},{"properties":{"save":{"description":"Save","type":"boolean","example":true},"unpublish":{"description":"Unpublish","type":"boolean","example":true},"localizedEdit":{"description":"Localized Edit","type":["string","null"],"example":"default"},"localizedView":{"description":"Localized View","type":["string","null"],"example":"default"}},"type":"object"}]},"PreviewParameter":{"title":"Data Object Preview Parameters","required":["id"],"properties":{"id":{"description":"ID","type":"integer","example":83},"site":{"description":"Site","type":"integer","default":0,"example":1}},"type":"object"},"DataObject":{"title":"DataObject","required":["key","className","type","published","hasChildren","hasWorkflowWithPermissions","fullPath","customAttributes","permissions","index","childrenSortBy","childrenSortOrder","objectData","draftData","inheritanceData","allowInheritance","allowVariants","showVariants","hasPreview"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Element"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"allowInheritance":{"description":"Inheritance allowed","type":"boolean","example":false},"allowVariants":{"description":"Variants allowed","type":"boolean","example":false},"showVariants":{"description":"Show variants","type":"boolean","example":false},"hasPreview":{"description":"Has preview","type":"boolean","example":false},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes","description":"Custom attributes for the tree"},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"key":{"description":"Key","type":"string","example":"Giulietta"},"className":{"description":"Class name","type":"string","example":"car"},"type":{"description":"Type","type":"string","example":"image"},"published":{"description":"Published","type":"boolean","example":false},"hasChildren":{"description":"Has children","type":"boolean","example":false},"hasWorkflowWithPermissions":{"description":"Workflow permissions","type":"boolean","example":false},"fullPath":{"description":"Full path","type":"string","example":"\/path\/to\/dataObject"},"permissions":{"$ref":"#\/components\/schemas\/DataObjectPermissions"},"index":{"description":"Custom index","type":"integer","example":0},"childrenSortBy":{"description":"Sort mode of children","type":"string","example":"index"},"childrenSortOrder":{"description":"Sort order of children","type":"string","example":"asc"},"objectData":{"description":"Detail object data","type":"object","example":{"fieldKey":"field value"}},"inheritanceData":{"description":"Inheritance object data","type":"object","example":{"fieldKey":[]}},"draftData":{"oneOf":[{"$ref":"#\/components\/schemas\/DataObjectDraftData"},{"type":"null"}]}},"type":"object"}]},"DataObjectAddParameters":{"title":"DataObjectAdd","required":["key","classId","type"],"properties":{"key":{"description":"Key","type":"string","example":"my_new_data_object"},"classId":{"description":"Class Id","type":"string","example":"data_object_class_id"},"type":{"description":"Type","type":"string","enum":["object","variant"],"example":"object"}},"type":"object"},"DataObjectDraftData":{"title":"DataObjectDraftData","required":["id","modificationDate","isAutoSave"],"properties":{"id":{"description":"ID","type":"integer","example":83},"modificationDate":{"description":"Modification date","type":"integer","example":1634025600},"isAutoSave":{"description":"Is auto save","type":"boolean","example":false}},"type":"object"},"DataObjectVersion":{"title":"DataObjectVersion","required":["key","type","hasChildren","fullPath","index","className","published","objectData"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Element"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"allowInheritance":{"description":"Inheritance allowed","type":"boolean","example":false},"allowVariants":{"description":"Variants allowed","type":"boolean","example":false},"showVariants":{"description":"Show variants","type":"boolean","example":false},"hasPreview":{"description":"Has preview","type":"boolean","example":false},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"key":{"description":"Key","type":"string","example":"Giulietta"},"type":{"description":"Type","type":"string","example":"image"},"hasChildren":{"description":"Has children","type":"boolean","example":false},"fullPath":{"description":"Full path","type":"string","example":"\/path\/to\/dataObject"},"index":{"description":"Custom index","type":"integer","example":0},"className":{"description":"Class name","type":["string","null"],"example":"car"},"published":{"description":"Published","type":["boolean","null"],"example":false},"objectData":{"description":"Detail object data","type":"object","example":{"fieldKey":"field value"}}},"type":"object"}]},"ElementProperty":{"title":"DataProperty","required":["key","data","type","inheritable","inherited"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"key":{"description":"key","type":"string","example":"key_of_the_property"},"data":{"description":"data","type":["mixed","null"],"example":"123"},"type":{"description":"type","type":"string","example":"document"},"inheritable":{"description":"inheritable","type":"boolean","example":false},"inherited":{"description":"inherited","type":"boolean","example":false},"config":{"description":"config","type":["string","null"],"example":"comma,separated,values"},"predefinedName":{"description":"predefinedName","type":["string","null"],"example":"name of the predefined property"},"description":{"description":"description","type":["string","null"],"example":"Description of the predefined property"}},"type":"object"},"DeleteInfo":{"title":"DeleteInfo","required":["hasDependencies","canUseRecycleBin"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"hasDependencies":{"description":"hasDependencies","type":"boolean","example":true},"canUseRecycleBin":{"description":"canUseRecycleBin","type":"boolean","example":true}},"type":"object"},"Dependency":{"title":"Dependency","required":["id","path","type","subType","published"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"integer"},"path":{"description":"path","type":"string","example":"text"},"type":{"description":"type","type":"string","example":"asset"},"subType":{"description":"subType","type":"string","example":"image"},"published":{"description":"published","type":"boolean","example":"true"}},"type":"object"},"UserDependency":{"title":"Dependency to an Object","description":"Dependency to an Object","required":["id","path","subtype"],"properties":{"id":{"description":"ID of the object","type":"integer","example":42},"path":{"description":"Path to the object","type":"string","example":"\/path\/to\/object"},"subtype":{"description":"Subtype of the object","type":"string","example":"Car"}},"type":"object"},"DetailedRole":{"title":"Detailed User Role","description":"Contains all information about a role","required":["id","name","classes","parentId","permissions","docTypes","websiteTranslationLanguagesEdit","websiteTranslationLanguagesView","assetWorkspaces","dataObjectWorkspaces","documentWorkspaces","perspectives"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID of the User","type":"integer","example":"1"},"name":{"description":"Name of Folder or Role","type":["string","null"],"example":"admin"},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"parentId":{"type":["integer","null"],"example":"2"},"permissions":{"description":"List of permissions for the user","type":"object","example":["objects","documents"]},"docTypes":{"description":"List of document types for the role","type":"object","example":["1","2"]},"websiteTranslationLanguagesEdit":{"type":"object","example":["de","en"]},"websiteTranslationLanguagesView":{"type":"object","example":["de"]},"assetWorkspaces":{"description":"Asset Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"dataObjectWorkspaces":{"description":"Data Object Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"documentWorkspaces":{"description":"Document Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"perspectives":{"description":"Allowed studio perspectives","type":"array","items":{"$ref":"#\/components\/schemas\/PerspectiveConfig"}}},"type":"object"},"DevError":{"title":"DevError","description":"Error with details for developers","required":["message","details"],"properties":{"message":{"description":"Message","type":"string","example":"I got a bad feeling about this"},"details":{"description":"Details","type":"string","example":"Search your feelings. (Stack trace)"}},"type":"object"},"DocType":{"title":"DocType","required":["id","name","type","group","controller","template","priority","creationDate","modificationDate","staticGeneratorEnabled","writeable"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID","type":"string","example":"1"},"name":{"description":"Name","type":"string","example":"Default Page"},"type":{"description":"Type","type":"string","example":"page"},"group":{"description":"Group","type":["string","null"],"example":"Default"},"controller":{"description":"Controller","type":["string","null"],"example":"App\\Controller\\DefaultController::indexAction"},"template":{"description":"Template","type":["string","null"],"example":"@App\/Resources\/views\/default.html.twig"},"priority":{"description":"Priority","type":"integer","example":0},"creationDate":{"description":"Creation date","type":["integer","null"],"example":null},"modificationDate":{"description":"Modification date","type":["integer","null"],"example":null},"staticGeneratorEnabled":{"description":"Static generator enabled","type":"boolean","example":false},"writeable":{"description":"Is writeable","type":"boolean","example":false}},"type":"object"},"DocTypeType":{"title":"DocType Type","required":["id","name","type","group","controller","template","priority","creationDate","modificationDate","staticGeneratorEnabled","writeable"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"Name","type":"string","example":"page"},"validTable":{"description":"Valid table","type":"string","example":"page"},"childrenSupported":{"description":"Children supported","type":"boolean","example":false},"directRoute":{"description":"Direct route","type":"boolean","example":false},"predefinedDocumentTypes":{"description":"Predefined document types","type":"boolean","example":false},"translatable":{"description":"Translatable","type":"boolean","example":false},"translatableInheritance":{"description":"Translatable Inheritance","type":"boolean","example":false},"onlyPrintableChildren":{"description":"Only printable children","type":"boolean","example":false}},"type":"object"},"DocTypeAddParameters":{"title":"DocTypeAdd","required":["name","type"],"properties":{"name":{"description":"Name","type":"string","example":"New Document Type"},"type":{"description":"Type","type":"string","example":"page"}},"type":"object"},"DocTypeUpdateParameters":{"title":"DocTypeUpdate","required":["id","name","type","group","controller","template","priority","staticGeneratorEnabled"],"properties":{"name":{"description":"Name","type":"string","example":"My docType"},"type":{"description":"Type","type":"string","example":"page"},"group":{"description":"Group","type":["string","null"],"example":"Default"},"controller":{"description":"Controller","type":["string","null"],"example":"App\\Controller\\DefaultController::indexAction"},"template":{"description":"Template","type":["string","null"],"example":"@App\/Resources\/views\/default.html.twig"},"priority":{"description":"Priority","type":"integer","example":0},"staticGeneratorEnabled":{"description":"Static generator enabled","type":"boolean","example":false}},"type":"object"},"Document":{"title":"Document","required":["fullPath","published","type","key","index","hasChildren","hasWorkflowWithPermissions","permissions","documentDetailData","hasWorkflowAvailable"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Element"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes","description":"Custom attributes for the tree"},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"fullPath":{"description":"Full path","type":"string","example":"\/path\/to\/document"},"published":{"description":"Published","type":"boolean","example":false},"type":{"description":"Type","type":"string","example":"link"},"key":{"description":"Key","type":"string","example":"page.html"},"index":{"description":"Custom index","type":"integer","example":0},"hasChildren":{"description":"Has children","type":"boolean","example":false},"hasWorkflowWithPermissions":{"description":"Workflow permissions","type":"boolean","example":false},"permissions":{"$ref":"#\/components\/schemas\/DocumentPermissions"},"documentDetailData":{"description":"Detail document data","type":"object","example":{"fieldKey":"field value"}}},"type":"object"}]},"DocumentCloneParameters":{"title":"Document Clone Parameters","required":["language","enableInheritance","recursive","updateReferences"],"properties":{"language":{"description":"Language for the new translation","type":["string","null"],"example":"en"},"enableInheritance":{"description":"Enable Inheritance","type":"boolean","example":false},"recursive":{"description":"Recursive","type":"boolean","example":false},"updateReferences":{"description":"Update References","type":"boolean","example":false}},"type":"object"},"DocumentContextPermissions":{"title":"Document Context Permissions","type":"object","allOf":[{"$ref":"#\/components\/schemas\/SaveDocumentContextPermissions"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}}},"type":"object"}]},"Document Controller":{"title":"Document Controller","required":["name"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"Name","type":"string","example":"App\\Controller\\ContentController::indexAction"}},"type":"object"},"DocumentFolder":{"title":"Document Folder","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Document"}]},"DocumentPermissions":{"title":"Document Permissions","required":["save","unpublish"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Permissions"},{"properties":{"save":{"description":"Save","type":"boolean","example":true},"unpublish":{"description":"Unpublish","type":"boolean","example":true}},"type":"object"}]},"Document Template":{"title":"Document Template","required":["path"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"path":{"description":"Path","type":"string","example":"@App\/Resources\/views\/default.html.twig"}},"type":"object"},"DocumentAddParameters":{"title":"DocumentAdd","required":["key","type","title","navigationName","docTypeId","translationsSourceId","language","inheritanceSourceId"],"properties":{"key":{"description":"Key","type":"string","example":"my_new_document"},"type":{"description":"Type","type":"string","example":"page"},"title":{"description":"Title","type":["string","null"],"example":"Some page title"},"navigationName":{"description":"Navigation name","type":["string","null"],"example":"Some navigation name"},"docTypeId":{"description":"Document type ID","type":["string","null"],"example":"page"},"translationsSourceId":{"description":"Id of the base document for new translation","type":["integer","null"],"example":33},"language":{"description":"Document language when adding a translation","type":["string","null"],"example":"en"},"inheritanceSourceId":{"description":"Id of the base document for content","type":["integer","null"],"example":33}},"type":"object"},"DocumentVersion":{"title":"DocumentVersion","required":["modificationDate","path","published"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"modificationDate":{"description":"modification date","type":"integer","example":1712823182},"path":{"description":"path","type":"string","example":"\/path\/to\/object"},"published":{"description":"published","type":"boolean","example":true}},"type":"object"},"Element":{"title":"Element","required":["id","parentId","path","userOwner","userModification","locked","isLocked","creationDate","modificationDate","permissions"],"properties":{"id":{"description":"ID","type":"integer","example":83},"parentId":{"description":"ID of parent","type":"integer","example":1},"path":{"description":"path","type":"string","example":"\/path\/to\/element"},"icon":{"$ref":"#\/components\/schemas\/ElementIcon","description":"icon"},"userOwner":{"description":"ID of owner","type":"integer","example":1},"userModification":{"description":"User that modified the element","type":["integer","null"],"example":1},"locked":{"description":"Locked","type":["string","null"],"example":"locked"},"isLocked":{"description":"Is locked","type":"boolean","example":false},"creationDate":{"description":"Creation date","type":["integer","null"],"example":221846400},"modificationDate":{"description":"Modification date","type":["integer","null"],"example":327417600}},"type":"object"},"LocationData":{"title":"Element Location Data","required":["widgetId","treeLevelData"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"widgetId":{"description":"Widget Id","type":"string","example":"d061699e_da42_4075_b504_c2c93c687819"},"treeLevelData":{"description":"Tree level data","type":"array","items":{"$ref":"#\/components\/schemas\/TreeLevelData"}}},"type":"object"},"ElementPath":{"title":"Element Path","required":["elementPath"],"properties":{"elementPath":{"description":"Element Path","type":"string","example":"path\/to\/element"}},"type":"object"},"ElementTreeWidgetConfig":{"title":"Element Tree Widget","required":["contextPermissions","elementType","rootFolder","rootFolderId","showRoot","classes","pql","pageSize","isWriteable"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/WidgetConfig"},{"properties":{"contextPermissions":{"description":"Context Permissions","type":"object","oneOf":[{"$ref":"#\/components\/schemas\/AssetContextPermissions"},{"$ref":"#\/components\/schemas\/DataObjectContextPermissions"},{"$ref":"#\/components\/schemas\/DocumentContextPermissions"}]},"elementType":{"description":"Element Type","type":"string","example":"data-object"},"rootFolder":{"description":"Root Folder","type":"string","example":"\/Product Data\/Cars"},"rootFolderId":{"description":"Root Folder ID","type":"integer","example":2},"showRoot":{"description":"Show Root","type":"boolean","example":false},"classes":{"description":"Classes","type":"object","example":["CAR"]},"pql":{"description":"PQL","type":["string","null"],"example":null},"pageSize":{"description":"Page size","type":["integer","null"],"example":20},"isWriteable":{"description":"Is Writeable","type":"boolean","example":true}},"type":"object"}]},"ElementIcon":{"title":"ElementIcon","required":["type","value"],"properties":{"type":{"description":"Icon type","type":"string","enum":["name","path"],"example":"path"},"value":{"description":"Icon value","type":"string","example":"\/path\/to\/icon"}},"type":"object"},"Email":{"title":"Email","required":["subject","from","replyTo","to","cc","bcc","controller","template","contentMainDocumentId","supportsContentMain","missingRequiredEditable","staticGeneratorEnabled","staticGeneratorLifetime","draftData"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Document"},{"properties":{"controller":{"description":"Controller","type":"string","example":"App\\Controller\\PageController"},"template":{"description":"Template","type":"string","example":"App\\Controller\\PageController"},"contentMainDocumentId":{"description":"Main document ID","type":"integer","example":1},"supportsContentMain":{"description":"Supports main content","type":"boolean","example":false},"missingRequiredEditable":{"description":"Is missing required editable","type":"boolean","example":false},"staticGeneratorEnabled":{"description":"Is static generator enabled","type":"boolean","example":false},"staticGeneratorLifetime":{"description":"Lifetime of static generator","type":"integer","example":123456},"draftData":{"$ref":"#\/components\/schemas\/PageSnippetDraftData"},"subject":{"description":"Subject","type":"string","example":"Some subject"},"from":{"description":"From","type":"string","example":"some-sender@email"},"replyTo":{"description":"Reply to","type":"string","example":"some-reply@email"},"to":{"description":"To","type":"string","example":"some-receiver@email"},"cc":{"description":"CC","type":"string","example":"some-copy@email"},"bcc":{"description":"BCC","type":"string","example":"some-hidden-copy@email"}},"type":"object"}]},"EmailDocumentParameters":{"title":"EmailDocumentParameters","required":["key","value"],"properties":{"key":{"description":"parameter key","type":"string","example":"some_parameter_key"},"value":{"description":"parameter value","type":"mixed","example":"some_parameter_value","anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"null"}]}},"type":"object"},"EmailLogEntry":{"title":"EmailLog","required":["id","sentDate","hasHtmlLog","hasTextLog","hasError","from","to","subject"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"integer","example":23},"sentDate":{"description":"sent date","type":"integer","example":1707312457},"hasHtmlLog":{"description":"HTML log exists","type":"boolean","example":true},"hasTextLog":{"description":"Text log exists","type":"boolean","example":true},"hasError":{"description":"Error occurred","type":"boolean","example":true},"from":{"description":"from","type":["string","null"],"example":"from@pimcore.com"},"to":{"description":"to","type":["string","null"],"example":"to@pimcore.com"},"subject":{"description":"subject","type":["string","null"],"example":"E-Mail subject"}},"type":"object"},"EmailLogEntryDetail":{"title":"EmailLogDetail","required":["bcc","cc","error"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/EmailLogEntry"},{"properties":{"bcc":{"description":"bcc","type":["string","null"],"example":"email@pimcore.com"},"cc":{"description":"cc","type":["string","null"],"example":"email@pimcore.com"},"error":{"description":"error","type":["string","null"],"example":"Some error occurred"}},"type":"object"}]},"ObjectParameter":{"title":"EmailLogObjectParameterData","required":["name","value"],"properties":{"id":{"description":"id","type":"integer","example":1020},"type":{"description":"type","type":"string","example":"object"},"class":{"description":"class","type":"string","example":"AppBundle\\Model\\MyObject"},"path":{"description":"path","type":"string","example":"\/path\/to\/object"}},"type":"object"},"EmailLogEntryParameter":{"title":"EmailLogParameters","required":["name","value","objectData"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"name","type":"string","example":"myParameter"},"value":{"description":"value","type":["string","null"],"example":"Some value"},"objectData":{"oneOf":[{"$ref":"#\/components\/schemas\/ObjectParameter","description":"data for object parameters"},{"type":"null"}],"description":"data for object parameters"}},"type":"object"},"Error":{"title":"Error","description":"Bad credentials or missing token, bad request, method not allowed, etc.","required":["message"],"properties":{"message":{"description":"Message","type":"string","example":"I am an error message"}},"type":"object"},"ExistingColumnConfig":{"title":"Existing Column Config","description":"This config is used to get the date form an already configured advanced column.","required":["text"],"properties":{"existingColumnName":{"description":"Name of the existing Column","type":"string","example":"my_column"}},"type":"object"},"FieldCollectionLayoutDefinition":{"title":"Field Collection Layout Definition","required":["key","title","width","height","collapsible","collapsed","datatype","children"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"key":{"description":"Key of Field Collection","type":"string"},"datatype":{"description":"Data Type","type":"string","example":"layout"},"group":{"description":"Group","type":["string","null"],"example":"Group Name"},"name":{"description":"Name","type":["string","null"],"example":"Layout"},"type":{"description":"Type","type":["string","null"]},"region":{"description":"Region","type":["string","null"]},"title":{"description":"Title","type":["string","null"]},"width":{"description":"Width","type":"integer","example":0},"height":{"description":"Height","type":"integer","example":0},"collapsible":{"description":"Collapsible","type":"boolean","example":false},"collapsed":{"description":"collapsed","type":"boolean","example":false},"children":{"description":"Children","type":"array","items":[],"example":"[]"}},"type":"object"},"FixedCustomSettings":{"title":"FixedCustomSettings","required":["embeddedMetadata","embeddedMetadataExtracted"],"properties":{"embeddedMetadata":{"description":"embedded meta data of the asset - array of any key-value pairs","type":"array","items":{"type":"object"},"example":"{ FileSize: \u0022265 KiB\u0022, MIMEType: \u0022image\/jpeg\u0022 }"},"embeddedMetadataExtracted":{"description":"flag to indicate if the embedded meta data has been extracted from the asset","type":"boolean","example":true}},"type":"object"},"FocalPoint":{"title":"FocalPoint","required":["x","y"],"properties":{"x":{"description":"x","type":"integer","example":50},"y":{"description":"y","type":"integer","example":50}},"type":"object"},"FolderData":{"title":"Folder Data","description":"Folder Data Scheme for API","required":["folderName"],"properties":{"folderName":{"description":"Folder Name","type":"string","example":"Awesome stuff inside"}},"type":"object"},"GlobalAction":{"title":"GlobalAction","required":["name","label","iconCls","objectLayout","notes"],"properties":{"name":{"description":"name","type":"string","example":"start_workflow"},"label":{"description":"label","type":"string","example":"Start Workflow"},"iconCls":{"description":"iconCls","type":"string","example":"pimcore_workflow_start"},"objectLayout":{"description":"objectLayout","type":"boolean","example":false},"notes":{"description":"notes","type":"array","items":{"type":"object"},"example":{"commentEnabled":true,"commentRequired":true}}},"type":"object"},"Column":{"title":"Grid Column Request","description":"Contains all data that is needed to get all the data for the column.","required":["key","type","config"],"properties":{"key":{"description":"Key","type":"string","example":"id"},"locale":{"description":"Locale","type":["string","null"],"example":"en"},"type":{"description":"Type","type":"string","example":"system.id"},"group":{"description":"Group","type":["string","null"],"example":"system"},"config":{"description":"Config","type":"array","items":{"anyOf":[{"type":"string"},{"$ref":"#\/components\/schemas\/AdvancedColumnConfig"}]},"example":{"key":"value"}}},"type":"object"},"Filter":{"title":"Grid Filter","description":"Contains all data that is needed to get all the data for the column.","required":["page","pageSize","includeDescendants"],"properties":{"page":{"description":"Page","type":"integer","example":1},"pageSize":{"description":"Page Size","type":"integer","example":50},"includeDescendants":{"description":"Include Descendant Items","type":"boolean","example":false},"columnFilters":{"description":"Column Filter","type":"object","example":"[{\u0022key\u0022:\u0022name\u0022,\u0022type\u0022: \u0022metadata.object\u0022,\u0022filterValue\u0022: 1}]"},"sortFilter":{"description":"Sort Filter","type":"object","example":"{\u0022key\u0022:\u0022id\u0022,\u0022direction\u0022: \u0022ASC\u0022}"}},"type":"object"},"ColumnConfiguration":{"title":"GridColumnConfiguration","description":"Contains all data to configure a grid column","required":["key","group","sortable","editable","localizable","type","config"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"key":{"description":"Key","type":"string","example":"id"},"group":{"description":"Group","type":"string","example":"system"},"sortable":{"description":"Sortable","type":"boolean","example":true},"editable":{"description":"Editable","type":"boolean","example":false},"exportable":{"description":"Exportable","type":"boolean","example":false},"filterable":{"description":"Filterable","type":"boolean","example":false},"localizable":{"description":"Localizable","type":"boolean","example":false},"locale":{"description":"Locale","type":["string","null"],"example":"en"},"type":{"description":"Type","type":"string","example":"integer"},"frontendType":{"description":"Frontend Type","type":"string","example":"integer"},"config":{"description":"Config","type":"object","example":{"key":"value"}}},"type":"object"},"ColumnData":{"title":"GridColumnData","properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"key":{"description":"Key","type":"string","example":"id"},"locale":{"description":"Locale","type":["string","null"],"example":"en"},"value":{"description":"Value","type":["mixed","null"],"example":73},"inheritance":{"description":"inheritance","type":["object","null"],"example":{"objectId":42,"inInherited":true}}},"type":"object"},"Configuration":{"title":"GridConfiguration","description":"Contains all data to configure a grid column","required":["id","name"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID","type":"integer","example":42},"name":{"description":"Name","type":"string","example":"My Configuration"},"description":{"description":"Description","type":["string","null"],"example":"My Configuration Description"}},"type":"object"},"DetailedConfiguration":{"title":"GridDetailedConfiguration","description":"Contains all data to configure a grid column","required":["name","shareGlobal","saveFilter","setAsFavorite","sharedUsers","sharedRoles","columns","filter","pageSize"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"Name","type":"string","example":"My Configuration"},"description":{"description":"Description","type":["string","null"],"example":"My Configuration Description"},"shareGlobal":{"description":"shareGlobal","type":"boolean","example":false},"saveFilter":{"description":"saveFilter","type":"boolean","example":false},"setAsFavorite":{"description":"setAsFavorite","type":"boolean","example":false},"sharedUsers":{"description":"sharedUsers","type":"object","example":[42,1337]},"sharedRoles":{"description":"sharedRoles","type":"object","example":[42,1337]},"columns":{"description":"columns","type":"array","items":{"$ref":"#\/components\/schemas\/ColumnSchema"}},"filter":{"description":"filter","type":"array","items":{"$ref":"#\/components\/schemas\/Filter"}},"pageSize":{"description":"Page Size","type":"integer","example":42},"modificationDate":{"description":"Modification Date","type":["integer","null"],"example":1634025600},"creationDate":{"description":"Creation Date","type":["integer","null"],"example":1634025600},"ownerId":{"description":"ID of the owner","type":["integer","null"],"example":42},"id":{"description":"ID of the configuration","type":["integer","null"],"example":42}},"type":"object"},"Hardlink":{"title":"Hardlink","required":["sourceId","propertiesFromSource","childrenFromSource"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Document"},{"properties":{"sourceId":{"description":"Source ID","type":["integer","null"],"example":83},"propertiesFromSource":{"description":"Properties from source","type":"boolean","example":true},"childrenFromSource":{"description":"Children from source","type":"boolean","example":false}},"type":"object"}]},"Image":{"title":"Image","required":["format","width","height","isVectorGraphic","isAnimated","imageThumbnailPath"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"},{"properties":{"format":{"description":"Format","type":"string","example":"muhFormat"},"width":{"description":"width","type":"integer","example":666},"height":{"description":"height","type":"integer","example":333},"isVectorGraphic":{"description":"is vector graphic","type":"boolean","example":false},"isAnimated":{"description":"is animated","type":"boolean","example":false},"imageThumbnailPath":{"description":"path to thumbnail","type":"string","example":"\/path\/to\/element\/hulk-smash.jpg"}},"type":"object"}]},"ImageData":{"title":"ImageData","properties":{"focalPoint":{"$ref":"#\/components\/schemas\/FocalPoint","description":"focalPoint"}},"type":"object"},"InvalidCredentials":{"title":"Invalid Credentials","description":"Invalid credentials after login attempt","required":["error"],"properties":{"error":{"description":"Error","type":"string","example":"Invalid credentials"}},"type":"object"},"KeyBinding":{"title":"Key Binding for a User","description":"Key Binding for a User","required":["key","action","ctrl","alt","shift"],"properties":{"key":{"description":"ASCII Code for a key on the Keyboard","type":"integer","example":"83"},"action":{"description":"The action the key binding should execute","type":"string","example":"save"},"ctrl":{"description":"If CTRL key should be pressed","type":"boolean","example":"true"},"alt":{"description":"If ALT key should be pressed","type":"boolean","example":"true"},"shift":{"description":"If SHIFT key should be pressed","type":"boolean","example":"true"}},"type":"object"},"Layout":{"title":"Layout","required":["name","dataType","fieldType","type","layout","region","title","width","height","collapsible","collapsed","bodyStyle","locked","children","icon","labelAlign","labelWidth","border"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"name":{"description":"Name","type":"string","example":"pimcore_root"},"dataType":{"description":"Data Type","type":"string","example":"layout"},"fieldType":{"description":"Field Type","type":"string","example":"panel"},"type":{"description":"Type","type":["string","null"],"example":null},"layout":{"description":"Layout","type":["string","null"],"example":null},"region":{"description":"Region","type":["string","null"],"example":"center"},"title":{"description":"Title","type":["string","null"],"example":"MyLayout"},"width":{"description":"Width","type":"integer","example":0},"height":{"description":"Height","type":"integer","example":0},"collapsible":{"description":"Collapsible","type":"boolean","example":false},"collapsed":{"description":"Collapsed","type":"boolean","example":false},"bodyStyle":{"description":"Body Style","type":["string","null"],"example":"(float: left;)"},"locked":{"description":"Locked","type":"boolean","example":false},"children":{"description":"Children","type":"array","items":{"type":"object"},"example":"[{id: 1}]"},"icon":{"oneOf":[{"$ref":"#\/components\/schemas\/ElementIcon","description":"Icon"},{"type":"null"}],"description":"Icon"},"labelAlign":{"description":"Label Align","type":"string","example":"left"},"labelWidth":{"description":"Label Width","type":"integer","example":100},"border":{"description":"Border","type":"boolean","example":false}},"type":"object"},"Link":{"title":"Link","required":["internal","internalType","direct","linkType","href"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Document"},{"properties":{"internal":{"description":"Internal ID","type":["integer","null"],"example":83},"internalType":{"description":"Internal type","type":["string","null"],"example":"asset"},"direct":{"description":"Direct","type":"string","example":"\/path\/to\/asset"},"linkType":{"description":"Link type","type":"string","example":"direct"},"href":{"description":"Href","type":"string","example":"\/path\/to\/asset"}},"type":"object"}]},"Note":{"title":"Note","required":["id","type","cId","cType","cPath","date","title","description","locked","data"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"integer","example":666},"type":{"description":"type","type":"string","example":"Type of note"},"cId":{"description":"Id of element","type":"integer","example":667},"cType":{"description":"Type of element","type":"string","example":"asset"},"cPath":{"description":"Path of element","type":"string","example":"\/path\/to\/element"},"date":{"description":"Creation date of note","type":"integer","example":1634025600},"title":{"description":"title","type":"string","example":"Title of note"},"description":{"description":"description","type":"string","example":"This is a description"},"locked":{"description":"Locked","type":"boolean","example":false},"data":{"description":"Data of note","type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]},"example":"Can be pretty much anything"},"userId":{"description":"User ID","type":["integer","null"],"example":1},"userName":{"description":"Username","type":["string","null"],"example":"shaquille.oatmeal"}},"type":"object"},"NoteType":{"title":"NoteType","required":["id"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"string","example":"info"}},"type":"object"},"NoteTypeCollection":{"title":"NoteTypeCollection","required":["items"],"properties":{"items":{"description":"items","type":"array","items":{"$ref":"#\/components\/schemas\/NoteType"}}},"type":"object"},"Notification":{"title":"Notification","required":["message","payload","attachmentType","attachmentId","attachmentFullPath"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/NotificationListItem"},{"properties":{"message":{"description":"message","type":["string","null"],"example":"Notification message"},"payload":{"description":"payload","type":["string","null"],"example":"{\u0022key\u0022: \u0022value\u0022}"},"attachmentType":{"description":"linked attachment type","type":["string","null"],"example":"object"},"attachmentId":{"description":"linked attachment ID","type":["integer","null"],"example":3669},"attachmentFullPath":{"description":"linked attachment fullPath","type":["string","null"],"example":"\/path\/to\/attachment.jpg"}},"type":"object"}]},"NotificationListItem":{"title":"NotificationListItem","required":["id","type","title","read","hasAttachment","creationDate","sender"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"integer","example":23},"type":{"description":"type","type":"string","example":"info"},"title":{"description":"title","type":"string","example":"Notification title"},"read":{"description":"read","type":"boolean","example":false},"hasAttachment":{"description":"has attachment","type":"boolean","example":true},"creationDate":{"description":"creation date","type":"integer","example":1707312457},"sender":{"description":"sender","type":["string","null"],"example":"Pimcore Admin"}},"type":"object"},"ObjectBrickLayoutDefinition":{"title":"Object Brick Layout Definition","required":["key","title","width","height","collapsible","collapsed","datatype","children"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"key":{"description":"Key of Object Brick","type":"string"},"datatype":{"description":"Data Type","type":"string","example":"layout"},"name":{"description":"Name","type":["string","null"],"example":"Layout"},"type":{"description":"Type","type":["string","null"]},"region":{"description":"Region","type":["string","null"]},"title":{"description":"Title","type":["string","null"]},"width":{"description":"Width","type":"integer","example":0},"height":{"description":"Height","type":"integer","example":0},"collapsible":{"description":"Collapsible","type":"boolean","example":false},"collapsed":{"description":"collapsed","type":"boolean","example":false},"children":{"description":"Children","type":"array","items":[],"example":"[]"}},"type":"object"},"Page":{"title":"Page","required":["title","description","prettyUrl","controller","template","contentMainDocumentId","supportsContentMain","missingRequiredEditable","staticGeneratorEnabled","staticGeneratorLifetime","draftData"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Document"},{"properties":{"controller":{"description":"Controller","type":"string","example":"App\\Controller\\PageController"},"template":{"description":"Template","type":"string","example":"App\\Controller\\PageController"},"contentMainDocumentId":{"description":"Main document ID","type":"integer","example":1},"supportsContentMain":{"description":"Supports main content","type":"boolean","example":false},"missingRequiredEditable":{"description":"Is missing required editable","type":"boolean","example":false},"staticGeneratorEnabled":{"description":"Is static generator enabled","type":"boolean","example":false},"staticGeneratorLifetime":{"description":"Lifetime of static generator","type":"integer","example":123456},"draftData":{"$ref":"#\/components\/schemas\/PageSnippetDraftData"},"title":{"description":"Title","type":["string","null"],"example":"Link Title"},"description":{"description":"Description","type":["string","null"],"example":"Link Description"},"prettyUrl":{"description":"Pretty Url","type":["string","null"],"example":"pretty\/url"}},"type":"object"}]},"PageSnippetDraftData":{"title":"PageSnippetDraftData","required":["id","modificationDate","isAutoSave"],"properties":{"id":{"description":"ID","type":"integer","example":83},"modificationDate":{"description":"Modification date","type":"integer","example":1634025600},"isAutoSave":{"description":"Is auto save","type":"boolean","example":false}},"type":"object"},"PatchCustomMetadata":{"title":"PatchCustomMetadata","required":["name","language","type","data"],"properties":{"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":["string","null"],"example":"en"},"type":{"description":"Type","type":"string","example":"input"},"data":{"description":"Data","type":["string","null"],"example":"data"}},"type":"object"},"PatchError":{"title":"PatchError","description":"Response for PATCH requests with errors","properties":{"id":{"description":"ID","type":"integer","example":83},"message":{"description":"Message","type":"string","example":"I am an error message"}},"type":"object"},"Permissions":{"title":"Permissions","required":["list","view","publish","delete","rename","create","settings","versions","properties"],"properties":{"list":{"description":"List","type":"boolean","example":true},"view":{"description":"View","type":"boolean","example":true},"publish":{"description":"Publish","type":"boolean","example":true},"delete":{"description":"Delete","type":"boolean","example":true},"rename":{"description":"Rename","type":"boolean","example":true},"create":{"description":"Create","type":"boolean","example":true},"settings":{"description":"Settings","type":"boolean","example":true},"versions":{"description":"Versions","type":"boolean","example":true},"properties":{"description":"Properties","type":"boolean","example":true}},"type":"object"},"PerspectiveConfig":{"title":"Perspective Config","required":["id","name","icon","isWriteable"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Perspective ID","type":"string","example":"5026c239_eb75_499a_8576_841bca283350"},"name":{"description":"Name","type":"string","example":"Cars"},"icon":{"$ref":"#\/components\/schemas\/ElementIcon","description":"Icon"},"isWriteable":{"description":"Is Writeable","type":"boolean","example":true}},"type":"object"},"PerspectiveConfigDetail":{"title":"Perspective Config Detail","required":["contextPermissions","widgetsLeft","widgetsRight","widgetsBottom","expandedLeft","expandedRight"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/PerspectiveConfig"},{"properties":{"contextPermissions":{"description":"Context Permissions","type":"object","example":{"permission_group":{"permission1":true,"permission2":false}}},"widgetsLeft":{"description":"Widgets Left","type":"array","items":{"$ref":"#\/components\/schemas\/ElementTreeWidgetConfig"}},"widgetsRight":{"description":"Widgets Right","type":"array","items":{"$ref":"#\/components\/schemas\/ElementTreeWidgetConfig"}},"widgetsBottom":{"description":"Widgets Bottom","type":"array","items":{"$ref":"#\/components\/schemas\/ElementTreeWidgetConfig"}},"expandedLeft":{"description":"Left Expanded Widget","type":["string","null"],"example":"widget_id"},"expandedRight":{"description":"Right Expanded Widget","type":["string","null"],"example":"widget_id"}},"type":"object"}]},"PredefinedMetadata":{"title":"PredefinedMetadata","required":["id","name","type","creationDate","modificationDate","isWriteable"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Id","type":"string","example":"1"},"name":{"description":"Name","type":"string","example":"custom_metadata"},"description":{"description":"Description","type":["string","null"],"example":"A predefined metadata"},"type":{"description":"Type","type":"string","example":"input"},"targetSubType":{"description":"Target sub type","type":["string","null"],"example":"input"},"data":{"description":"Data","type":["mixed","null"],"example":"data"},"config":{"description":"Config","type":["string","null"],"example":"config"},"language":{"description":"Language","type":["string","null"],"example":"en"},"group":{"description":"Group","type":["string","null"],"example":"group"},"creationDate":{"description":"Creation Date","type":"integer","example":1634025600},"modificationDate":{"description":"Modfication Date","type":"integer","example":1634025600},"isWriteable":{"description":"Writable","type":"boolean","example":false}},"type":"object"},"PredefinedProperty":{"title":"PredefinedProperty","required":["id","name","key","type","ctype","inheritable","creationDate","modificationDate"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"string","example":"alpha-numerical-value"},"name":{"description":"name","type":"string","example":"Mister Proper"},"description":{"description":"description","type":["string","null"],"example":"Detailed description of the property"},"key":{"description":"key","type":"string","example":"Key for referencing"},"type":{"description":"type","type":"string","example":"text"},"data":{"description":"data","type":["string","null"],"example":"test"},"config":{"description":"config","type":["string","null"],"example":"comma,separated,values"},"ctype":{"description":"ctype","type":"string","example":"document"},"inheritable":{"description":"inheritable","type":"boolean","example":false},"creationDate":{"description":"Creation date","type":"integer","example":221846400},"modificationDate":{"description":"Modification date","type":"integer","example":327417600}},"type":"object"},"QuantityValueUnit":{"title":"QuantityValueUnit","required":["id","abbreviation","group","longName","baseUnit","reference","factor","conversionOffset","converter"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID","type":["string","null"],"example":"mm"},"abbreviation":{"description":"Abbreviation","type":["string","null"],"example":"mm"},"group":{"description":"Group","type":["string","null"],"example":null},"longName":{"description":"Long Name","type":["string","null"],"example":"Millimeter"},"baseUnit":{"description":"Base Unit","type":["string","null"],"example":"m"},"reference":{"description":"Reference","type":["string","null"],"example":null},"factor":{"description":"Factor","type":["number","null"],"format":"float","example":null},"conversionOffset":{"description":"Conversion Offset","type":["number","null"],"format":"float","example":null},"converter":{"description":"Converter","type":["string","null"],"example":null}},"type":"object"},"RelationFieldConfig":{"title":"Relation Field Config","required":["relation","field"],"properties":{"relation":{"description":"Relation Getter","type":"string","example":"manufacturer"},"field":{"description":"Field getter","type":"string","example":"name"}},"type":"object"},"ResetPassword":{"title":"ResetPassword","description":"Username","required":["username"],"properties":{"username":{"description":"Username","type":"string","example":"shaquille.oatmeal"}},"type":"object"},"Progress":{"title":"SSEHandlerProgress","required":["progress","currentStep","totalSteps","jobStepName","jobName","jobRunId","user"],"properties":{"progress":{"description":"progress","type":"integer","example":69},"currentStep":{"description":"currentStep","type":"integer","example":1},"totalSteps":{"description":"totalSteps","type":"integer","example":3},"jobStepName":{"description":"jobStepName","type":"string","example":"Job Step Name"},"jobName":{"description":"jobName","type":"string","example":"Job Name"},"jobRunId":{"description":"jobRunId","type":"integer","example":73},"user":{"description":"user","type":"integer","example":2}},"type":"object"},"Finished":{"title":"SSEJobRunFinished","required":["jobRunId","jobRunName","ownerId","state","messages","notifyAll"],"properties":{"jobRunId":{"description":"jobRunId","type":"integer","example":73},"jobRunName":{"description":"jobRunName","type":"string","example":"my-job-name"},"ownerId":{"description":"ownerId","type":"integer","example":13},"status":{"description":"status","type":"string","example":"finished"},"messages":{"description":"messages","type":"array","items":{"type":"string"},"example":["Something went wrong"]},"notifyAll":{"description":"notifyAll","type":"boolean","example":false}},"type":"object"},"SaveAssetContextPermissions":{"title":"Save Asset Context Permissions","required":["hideAdd","addUpload","uploadNewVersion","addUploadZip","download","downloadZip","addFolder","copy","cut","delete","lock","lockAndPropagate","paste","pasteCut","refresh","rename","searchAndMove","unlock","unlockAndPropagate"],"properties":{"hideAdd":{"description":"Hide Add Menu","type":"boolean","example":true},"addUpload":{"description":"Add Upload","type":"boolean","example":true},"uploadNewVersion":{"description":"Upload New Version","type":"boolean","example":true},"addUploadZip":{"description":"Add Upload Zip","type":"boolean","example":true},"download":{"description":"Download","type":"boolean","example":true},"downloadZip":{"description":"Download Zip","type":"boolean","example":true},"addFolder":{"description":"Add Folder","type":"boolean","example":true},"copy":{"description":"Copy","type":"boolean","example":true},"cut":{"description":"Cut","type":"boolean","example":true},"delete":{"description":"Delete","type":"boolean","example":true},"lock":{"description":"Lock","type":"boolean","example":true},"lockAndPropagate":{"description":"Lock And Propagate","type":"boolean","example":true},"paste":{"description":"Paste","type":"boolean","example":true},"pasteCut":{"description":"Paste Cut","type":"boolean","example":true},"refresh":{"description":"Refresh","type":"boolean","example":true},"rename":{"description":"Rename","type":"boolean","example":true},"searchAndMove":{"description":"SearchAndMove","type":"boolean","example":true},"unlock":{"description":"Unlock","type":"boolean","example":true},"unlockAndPropagate":{"description":"Unlock And Propagate","type":"boolean","example":true}},"type":"object"},"SaveDataObjectContextPermissions":{"title":"Save Data Object Context Permissions","required":["add","addFolder","changeChildrenSortBy","copy","cut","delete","lock","lockAndPropagate","paste","publish","refresh","rename","searchAndMove","unlock","unlockAndPropagate","unpublish"],"properties":{"add":{"description":"Add","type":"boolean","example":true},"addFolder":{"description":"Add Folder","type":"boolean","example":true},"changeChildrenSortBy":{"description":"Change Children SortBy","type":"boolean","example":true},"copy":{"description":"Copy","type":"boolean","example":true},"cut":{"description":"Cut","type":"boolean","example":true},"delete":{"description":"Delete","type":"boolean","example":true},"lock":{"description":"Lock","type":"boolean","example":true},"lockAndPropagate":{"description":"Lock and Propagate","type":"boolean","example":true},"paste":{"description":"Paste","type":"boolean","example":true},"publish":{"description":"Publish","type":"boolean","example":true},"refresh":{"description":"Refresh","type":"boolean","example":true},"rename":{"description":"Rename","type":"boolean","example":true},"searchAndMove":{"description":"Search and Move","type":"boolean","example":true},"unlock":{"description":"Unlock","type":"boolean","example":true},"unlockAndPropagate":{"description":"Unlock and Propagate","type":"boolean","example":true},"unpublish":{"description":"Unpublish","type":"boolean","example":true}},"type":"object"},"SaveDocumentContextPermissions":{"title":"Save Document Context Permissions","required":["add","addEmail","addFolder","addHardlink","addHeadlessDocument","addLink","addNewsletter","addPrintPage","addSnippet","convert","copy","cut","delete","editSite","lock","lockAndPropagate","open","paste","pasteCut","publish","refresh","removeSite","rename","searchAndMove","unlock","unlockAndPropagate","unpublish","useAsSite"],"properties":{"add":{"description":"Add","type":"boolean","example":true},"addEmail":{"description":"Add E-Mail","type":"boolean","example":true},"addFolder":{"description":"Add Folder","type":"boolean","example":true},"addHardlink":{"description":"Add Hardlink","type":"boolean","example":true},"addHeadlessDocument":{"description":"Add Headless Document","type":"boolean","example":true},"addLink":{"description":"Add Link","type":"boolean","example":true},"addNewsletter":{"description":"Add Newsletter","type":"boolean","example":true},"addPrintPage":{"description":"Add Print Page","type":"boolean","example":true},"addSnippet":{"description":"Add Snippet","type":"boolean","example":true},"convert":{"description":"Convert","type":"boolean","example":true},"copy":{"description":"Copy","type":"boolean","example":true},"cut":{"description":"Cut","type":"boolean","example":true},"delete":{"description":"Delete","type":"boolean","example":true},"editSite":{"description":"Edit Site","type":"boolean","example":true},"lock":{"description":"Lock","type":"boolean","example":true},"lockAndPropagate":{"description":"Lock and Propagate","type":"boolean","example":true},"open":{"description":"Open","type":"boolean","example":true},"paste":{"description":"Paste","type":"boolean","example":true},"pasteCut":{"description":"Paste Cut","type":"boolean","example":true},"publish":{"description":"Publish","type":"boolean","example":true},"refresh":{"description":"Refresh","type":"boolean","example":true},"removeSite":{"description":"Remove Site","type":"boolean","example":true},"rename":{"description":"Rename","type":"boolean","example":true},"searchAndMove":{"description":"Search and Move","type":"boolean","example":true},"unlock":{"description":"Unlock","type":"boolean","example":true},"unlockAndPropagate":{"description":"Unlock and Propagate","type":"boolean","example":true},"unpublish":{"description":"Unpublish","type":"boolean","example":true},"useAsSite":{"description":"Use As Site","type":"boolean","example":true}},"type":"object"},"Schedule":{"title":"Schedule","required":["id","ctype","date","active","userId","username"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"integer","example":666},"ctype":{"description":"ctype","type":"string","example":"Type of element"},"date":{"description":"Date of schedule","type":"integer","example":1634025600},"action":{"description":"Action","type":["string","null"],"enum":["publish","delete"]},"version":{"description":"Version ID","type":["integer","null"],"example":987},"active":{"description":"Active","type":"boolean","example":true},"userId":{"description":"User ID","type":"integer","example":999},"username":{"description":"Username","type":"string","example":"shaquille.oatmeal"}},"type":"object"},"CustomLayoutNew":{"title":"Schema used to create custom layouts","required":["name","classId"],"properties":{"name":{"description":"Name","type":"string"},"classId":{"description":"Data object class id","type":"integer"}},"type":"object"},"CustomLayoutUpdate":{"title":"Schema used to update custom layouts","required":["configuration","values"],"properties":{"configuration":{"description":"Layout configuration for fields (Panel, Input, ..)","type":"object"},"values":{"description":"Values for custom layout object itself","type":"object"}},"type":"object"},"FormatedPath":{"title":"Select Option","required":["objectReference","formatedPath"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"objectReference":{"description":"Object Reference","type":"string","example":"object_11"},"formatedPath":{"description":"Formated Path","type":"string","example":"nice\/path"}},"type":"object"},"SelectOption":{"title":"Select Option","required":["key","value"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"key":{"description":"Key","type":"string","example":"key"},"value":{"description":"Value","type":"string","example":"value"}},"type":"object"},"SendEmailParameters":{"title":"SendEmailParameters","required":["from","to","subject","contentType"],"properties":{"from":{"description":"from email address(es)","type":"string","example":"from@sender.com"},"to":{"description":"to email address(es)","type":"string","example":"to@receiver.com"},"subject":{"description":"email subject","type":"string","example":"My email subject"},"contentType":{"description":"email content type","type":"string","enum":["document","html","text"],"example":"text"},"content":{"description":"email content","type":["string","null"],"example":"My email message"},"documentPath":{"description":"path to the email document","type":["string","null"],"example":"\/path\/to\/document"},"documentParameters":{"description":"email document parameters","type":"array","items":{"$ref":"#\/components\/schemas\/EmailDocumentParameters"}},"attachmentId":{"description":"id of the asset attachment","type":["integer","null"],"example":83}},"type":"object"},"SendNotificationParameters":{"title":"SendEmailParameters","required":["recipientId","title","message"],"properties":{"recipientId":{"description":"recipient ID","type":"integer","example":"33"},"title":{"description":"title","type":"string","example":"New notification"},"message":{"description":"message","type":"string","example":"My notification message"},"attachmentType":{"description":"type of the attachment","type":["string","null"],"enum":["asset","document","object"],"example":null},"attachmentId":{"description":"ID of the attachment","type":["integer","null"],"example":83}},"type":"object"},"SimpleFieldConfig":{"title":"Simple Field Config","required":["field"],"properties":{"field":{"description":"Field getter","type":"string","example":"name"}},"type":"object"},"SimpleUser":{"title":"Simple User","description":"A user with the most imported information.","required":["id","name"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID of the User","type":"integer","example":"1"},"username":{"description":"Name of the User","type":"string","example":"role"}},"type":"object"},"SimpleRole":{"title":"Simple User Role","description":"A user role which is a combination of permissions and settings.","required":["id","category"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID of the Role","type":"integer","example":"1"},"name":{"description":"Name of the Role","type":"string","example":"role"}},"type":"object"},"AssetSearchPreview":{"title":"SimpleSearchAssetDetail","required":["mimeType","thumbnail"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/SimpleSearchPreview"},{"properties":{"mimeType":{"description":"Mimetype","type":["string","null"],"example":"image\/jpeg"},"thumbnail":{"description":"Thumbnail path","type":["string","null"],"example":"path\/to\/thumbnail"}},"type":"object"}]},"DataObjectSearchPreview":{"title":"SimpleSearchDataObjectDetail","required":["class","objectData"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/SimpleSearchPreview"},{"properties":{"class":{"description":"Class name and Id","type":["string","null"],"example":"Car [CAR]"},"objectData":{"description":"Detail object data","type":"object","example":{"fieldKey":"field value"}}},"type":"object"}]},"SimpleSearchPreview":{"title":"SimpleSearchDetail","required":["id","elementType","type","userOwner","userOwnerName","userModification","userModificationName","creationDate","modificationDate"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Id","type":"integer","example":"74"},"elementType":{"description":"elementType","type":"string","example":"asset"},"type":{"description":"Type","type":"string","example":"image"},"userOwner":{"description":"Id of owner","type":["integer","null"],"example":1},"userOwnerName":{"description":"Name of owner","type":["string","null"],"example":"admin"},"userModification":{"description":"Id of the user that modified the element","type":["integer","null"],"example":1},"userModificationName":{"description":"Name of the user that modified the element","type":["integer","null"],"example":"admin"},"creationDate":{"description":"Creation date","type":["integer","null"],"example":221846400},"modificationDate":{"description":"Modification date","type":["integer","null"],"example":327417600}},"type":"object"},"DocumentSearchPreview":{"title":"SimpleSearchDocumentDetail","required":["language","documentData"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/SimpleSearchPreview"},{"properties":{"language":{"description":"Document Language","type":["string","null"],"example":"English"},"documentData":{"oneOf":[{"$ref":"#\/components\/schemas\/PageSearchPreview","description":"Page document data"},{"type":"null"}],"description":"Page document data"}},"type":"object"}]},"PageSearchPreview":{"title":"SimpleSearchPageDetail","required":["title","description","name","$hasPreviewImage"],"properties":{"title":{"description":"Title","type":["string","null"],"example":"Page"},"description":{"description":"Description","type":["string","null"],"example":"This is some page"},"name":{"description":"Navigation name","type":["string","null"],"example":"Awesome Page"},"hasPreviewImage":{"description":"Has Preview image","type":"boolean","example":false}},"type":"object"},"SimpleSearchResult":{"title":"SimpleSearchResult","required":["id","elementType","type","path","icon"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes","description":"Custom attributes for the tree"},"id":{"description":"id","type":"integer","example":"74"},"elementType":{"description":"elementType","type":"string","example":"asset"},"type":{"description":"type","type":"string","example":"image"},"path":{"description":"path","type":"string","example":"\/path\/to\/asset"},"icon":{"$ref":"#\/components\/schemas\/ElementIcon","description":"icon"}},"type":"object"},"Site":{"title":"Site","required":["id","domains","domain","rootId","rootPath"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID","type":"integer","example":0},"domains":{"description":"Domains","type":"array","items":{"type":"string"},"example":["other_domain"]},"domain":{"description":"Domain","type":"string","example":"main_site"},"rootId":{"description":"ID of the root","type":["integer","null"],"example":1},"rootPath":{"description":"Root path","type":["string","null"],"example":"\/"}},"type":"object"},"Snippet":{"title":"Snippet","required":["controller","template","contentMainDocumentId","supportsContentMain","missingRequiredEditable","staticGeneratorEnabled","staticGeneratorLifetime","draftData"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Document"},{"properties":{"controller":{"description":"Controller","type":"string","example":"App\\Controller\\PageController"},"template":{"description":"Template","type":"string","example":"App\\Controller\\PageController"},"contentMainDocumentId":{"description":"Main document ID","type":"integer","example":1},"supportsContentMain":{"description":"Supports main content","type":"boolean","example":false},"missingRequiredEditable":{"description":"Is missing required editable","type":"boolean","example":false},"staticGeneratorEnabled":{"description":"Is static generator enabled","type":"boolean","example":false},"staticGeneratorLifetime":{"description":"Lifetime of static generator","type":"integer","example":123456},"draftData":{"$ref":"#\/components\/schemas\/PageSnippetDraftData"}},"type":"object"}]},"StaticTextConfig":{"title":"Static Text Config","required":["text"],"properties":{"text":{"description":"Static Text","type":"string","example":"My Text"}},"type":"object"},"SubmitAction":{"title":"SubmitAction","description":"Schema for submission of workflow action","required":["actionType","elementId","elementType","workflowName","transition","workflowOptions"],"properties":{"actionType":{"description":"type of the action","type":"string","example":"transition"},"elementId":{"description":"Id of the element","type":"integer","example":50},"elementType":{"description":"Type of the element","type":"string","example":"data-object"},"workflowId":{"description":"Id of the workflow","type":"string","example":"my_first_workflow"},"transitionId":{"description":"Id of the transition","type":"string","example":"start_workflow"},"workflowOptions":{"description":"workflowOptions","type":"object","example":"{\u0022notes\u0022: \u0022Some note I want to write\u0022}"}},"type":"object"},"Subtype":{"title":"Subtype","required":["elementId","elementType","elementSubtype"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"elementId":{"description":"Element Id","type":"integer","example":14},"elementType":{"description":"Element Type","type":"string","example":"asset"},"elementSubtype":{"description":"Element Subtype","type":"string","example":"image"}},"type":"object"},"Tag":{"title":"Tag","required":["id","parentId","text","path","hasChildren","iconName"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"tag ID","type":"integer","example":2},"parentId":{"description":"parent tag ID","type":"integer","example":0},"text":{"description":"tag text","type":"string","example":"Tag 1"},"path":{"description":"path","type":"string","example":"\/test"},"hasChildren":{"description":"has children","type":"boolean","example":false},"iconName":{"description":"IconName","type":"string","example":"pimcore_icon_pdf"},"children":{"description":"children","type":"array","items":{"$ref":"#\/components\/schemas\/Tag"}}},"type":"object"},"Text":{"title":"Text","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"Thumbnail":{"title":"Thumbnail","required":["id","text"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"string","example":"pimcore_system_treepreview"},"text":{"description":"text","type":"string","example":"original"}},"type":"object"},"ThumbnailCollection":{"title":"ThumbnailCollection","required":["items"],"properties":{"items":{"description":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Thumbnail"}}},"type":"object"},"Transformer":{"title":"Transformer","required":["key"],"properties":{"key":{"description":"Key of the Transformer","type":"string","example":"uppercase"}},"type":"object"},"Translation":{"title":"Translation","description":"Translation Scheme for API","required":["locale","keys"],"properties":{"locale":{"description":"Locale","type":"string","example":"en"},"keys":{"description":"Keys for Translation - Fallback will be applied to all Keys automatically","type":"array","items":{"type":"string","example":"not_your_typical_key"}},"useFallback":{"description":"Apply Fallback Language. Used only if no keys are defined","type":"boolean","example":true}},"type":"object"},"CreateTranslation":{"title":"Translation Create","description":"Translation Crete Scheme for API","required":["translationData"],"properties":{"translationData":{"description":"Translation Data","type":"array","items":{"$ref":"#\/components\/schemas\/CreateTranslationData"}}},"type":"object"},"TranslationData":{"title":"Translation Data","description":"Translation Data Scheme for API","required":["key","translation","type"],"properties":{"key":{"description":"Key","type":"string","example":"my_translation_key"},"translation":{"description":"Translation","type":"string","example":"some_translated_string"},"type":{"description":"Type","type":"string","example":"simple"}},"type":"object"},"CreateTranslationData":{"title":"Translation Data for create","description":"Translation Data Scheme for create endpoint of the API","required":["key","type"],"properties":{"key":{"description":"Key","type":"string","example":"my_translation_key"},"type":{"description":"Type","type":"string","example":"simple"}},"type":"object"},"UpdateTranslation":{"title":"Translation Update","description":"Translation Update Scheme for API","required":["locale","translationData"],"properties":{"locale":{"description":"Locale","type":"string","example":"en"},"translationData":{"description":"Translation Data","type":"array","items":{"$ref":"#\/components\/schemas\/TranslationData"}}},"type":"object"},"TreeLevelData":{"title":"Tree Level Data","required":["level","elementId","pageNumber"],"properties":{"parentId":{"description":"Parent ID","type":"integer","example":1},"elementId":{"description":"Element ID","type":"integer","example":66},"pageNumber":{"description":"Page Number","type":"integer","example":1}},"type":"object"},"TreeNode":{"title":"Tree Node","description":"One node in the a tree","required":["id","name","type","hasChildren"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Unique Identifier","type":"integer","example":"1"},"name":{"description":"Name of the tree node","type":"string","example":"admin"},"type":{"description":"Is ether folder or a specific item in the folder","type":"string","example":"user"},"hasChildren":{"description":"If a folder has sub items","type":"boolean","example":true}},"type":"object"},"TwoFactorAuth":{"title":"Two Factor Authentication Data","description":"Two Factor Authentication Data for a User","required":["required","enabled","type","active"],"properties":{"required":{"description":"Required","type":"boolean","example":true},"enabled":{"description":"Enabled","type":"boolean","example":true},"type":{"description":"Type","type":"string","example":"totp"},"active":{"description":"Active","type":"boolean","example":true}},"type":"object"},"ConvertParameters":{"title":"Unit Convert Parameters","required":["fromUnitId","toUnitId","value"],"properties":{"fromUnitId":{"description":"From Unit Id","type":"string","example":"m"},"toUnitId":{"description":"To Unit Id","type":"string","example":"mm"},"value":{"description":"Value","example":5,"anyOf":[{"type":"float"},{"type":"integer"}]}},"type":"object"},"Unknown":{"title":"Unknown","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"UpdateRole":{"title":"Update User Role","description":"Contains all information about a role that can be updated.","required":["name","classes","parentId","permissions","docTypes","websiteTranslationLanguagesEdit","websiteTranslationLanguagesView","assetWorkspaces","dataObjectWorkspaces","documentWorkspaces","perspectives"],"properties":{"name":{"description":"Name of Folder or Role","type":["string","null"],"example":"admin"},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"parentId":{"type":["integer","null"],"example":"2"},"permissions":{"description":"List of permissions for the user","type":"object","example":["objects","documents"]},"docTypes":{"description":"List of document types for the role","type":"object","example":["1","2"]},"websiteTranslationLanguagesEdit":{"type":"object","example":["de","en"]},"websiteTranslationLanguagesView":{"type":"object","example":["de"]},"assetWorkspaces":{"description":"Asset Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"dataObjectWorkspaces":{"description":"Data Object Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"documentWorkspaces":{"description":"Document Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"perspectives":{"description":"Allowed studio perspectives","type":"object","example":["studio_default_perspective","some_otherPerspective_Id"]}},"type":"object"},"UpdateCustomMetadata":{"title":"UpdateCustomMetadata","required":["name","language","type","data"],"properties":{"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":"string","example":"en"},"type":{"description":"Type","type":"string","example":"input"},"data":{"description":"Data","type":["mixed","null"],"example":"data"}},"type":"object"},"UpdateCustomSettings":{"title":"UpdateCustomSettings","required":["key","value"],"properties":{"key":{"description":"Key","type":"string","example":"my_custom_setting_key"},"value":{"description":"Value","type":["mixed","null"],"example":"data"}},"type":"object"},"UpdateElementProperty":{"title":"UpdateDataProperty","required":["key","data","type","inheritable"],"properties":{"key":{"description":"key","type":"string","example":"Mister Proper"},"data":{"description":"data","type":["mixed","null"],"example":"123"},"type":{"description":"type","type":"string","example":"document"},"inheritable":{"description":"inheritable","type":"boolean","example":false}},"type":"object"},"UpdatePredefinedProperty":{"title":"UpdatePredefinedProperty","required":["name","key","type","ctype","inheritable"],"properties":{"name":{"description":"name","type":"string","example":"Mister Proper"},"description":{"description":"description","type":["string","null"],"example":"Detailed description of the property"},"key":{"description":"key","type":"string","example":"Key for referencing"},"type":{"description":"type","type":"string","example":"text"},"data":{"description":"data","type":["string","null"],"example":"test"},"config":{"description":"config","type":["string","null"],"example":"comma,separated,values"},"ctype":{"description":"ctype","type":"string","example":"document"},"inheritable":{"description":"inheritable","type":"boolean","example":false}},"type":"object"},"UpdateSchedule":{"title":"UpdateSchedule","required":["id","date","active"],"properties":{"id":{"description":"Id of schedule, if null a new one will be created","type":["integer","null"],"example":666},"date":{"description":"Date of schedule","type":"integer","example":1634025600},"action":{"description":"Action","type":["string","null"],"enum":["publish","delete"]},"version":{"description":"Version ID","type":["integer","null"],"example":987},"active":{"description":"Active","type":"boolean","example":true}},"type":"object"},"UpdateVersion":{"title":"UpdateVersion","properties":{"public":{"description":"Public","type":["boolean","null"],"example":null},"note":{"description":"Note","type":["string","null"],"example":null}},"type":"object"},"UpdateUser":{"title":"User","description":"User Schema to update a User.","required":["active","classes","closeWarning","allowDirtyClose","contentLanguages","keyBindings","language","memorizeTabs","parentId","permissions","roles","twoFactorAuthenticationEnabled","websiteTranslationLanguagesEdit","websiteTranslationLanguagesView","welcomeScreen","assetWorkspaces","dataObjectWorkspaces","documentWorkspaces","perspectives"],"properties":{"email":{"description":"Email of the User","type":["string","null"],"example":""},"firstname":{"description":"Firstname of the User","type":["string","null"],"example":""},"lastname":{"description":"Lastname of the User","type":["string","null"],"example":""},"admin":{"description":"If User is admin","type":"boolean","example":false},"active":{"description":"If User is active","type":"boolean","example":true},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"closeWarning":{"type":"boolean","example":true},"allowDirtyClose":{"type":"boolean","example":true},"contentLanguages":{"description":"List of available content Language already sorted.","type":"object","example":["de","en"]},"keyBindings":{"description":"Key Bindings","type":"array","items":{"$ref":"#\/components\/schemas\/KeyBinding"}},"language":{"description":"Language of the User","type":"string","example":"de"},"memorizeTabs":{"type":"boolean","example":true},"parentId":{"type":"integer","example":"2"},"permissions":{"description":"List of permissions for the user","type":"object","example":["objects","documents"]},"roles":{"description":"ID List of roles the user is assigned","type":"object","example":[12,14]},"twoFactorAuthenticationEnabled":{"type":"boolean","example":false},"websiteTranslationLanguagesEdit":{"type":"object","example":["de","en"]},"websiteTranslationLanguagesView":{"type":"object","example":["de"]},"welcomeScreen":{"type":"boolean","example":true},"assetWorkspaces":{"description":"Asset Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"dataObjectWorkspaces":{"description":"Data Object Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"documentWorkspaces":{"description":"Document Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"perspectives":{"description":"Allowed studio perspectives","type":"object","example":["studio_default_perspective","some_otherPerspective_Id"]}},"type":"object"},"User":{"title":"User","description":"Contains all information about a user","required":["id","active","admin","classes","closeWarning","allowDirtyClose","contentLanguages","hasImage","keyBindings","language","memorizeTabs","parentId","permissions","roles","twoFactorAuthenticationEnabled","websiteTranslationLanguagesEdit","websiteTranslationLanguagesView","welcomeScreen","assetWorkspaces","dataObjectWorkspaces","documentWorkspaces","objectDependencies","perspectives"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"ID of the User","type":"integer","example":"1"},"name":{"description":"Name of Folder or User","type":["string","null"],"example":"admin"},"email":{"description":"Email of the User","type":["string","null"],"example":""},"firstname":{"description":"Firstname of the User","type":["string","null"],"example":""},"lastname":{"description":"Lastname of the User","type":["string","null"],"example":""},"active":{"description":"If a User is active","type":"boolean","example":true},"admin":{"description":"If User is admin","type":"boolean","example":false},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"closeWarning":{"type":"boolean","example":true},"allowDirtyClose":{"type":"boolean","example":true},"contentLanguages":{"description":"List of available content Language already sorted.","type":"object","example":["de","en"]},"hasImage":{"type":"boolean","example":true},"keyBindings":{"description":"Key Bindings","type":"array","items":{"$ref":"#\/components\/schemas\/KeyBinding"}},"language":{"description":"Language of the User","type":"string","example":"de"},"lastLogin":{"description":"Timestamp of the last login","type":["integer","null"],"example":"1718757677"},"memorizeTabs":{"type":"boolean","example":true},"parentId":{"type":["integer","null"],"example":"2"},"permissions":{"description":"List of permissions for the user","type":"object","example":["objects","documents"]},"roles":{"description":"ID List of roles the user is assigned","type":"object","example":[12,14]},"twoFactorAuthenticationEnabled":{"type":"boolean","example":false},"websiteTranslationLanguagesEdit":{"type":"object","example":["de","en"]},"websiteTranslationLanguagesView":{"type":"object","example":["de"]},"welcomeScreen":{"type":"boolean","example":true},"assetWorkspaces":{"description":"Asset Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"dataObjectWorkspaces":{"description":"Data Object Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"documentWorkspaces":{"description":"Document Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"objectDependencies":{"$ref":"#\/components\/schemas\/ObjectDependencies","description":"Object Dependencies"},"perspectives":{"description":"Allowed studio perspectives","type":"array","items":{"$ref":"#\/components\/schemas\/PerspectiveConfig"}}},"type":"object"},"UserInformation":{"title":"User Information","description":"Information about the user","required":["id","username","email","firstname","lastname","permissions","isAdmin","classes","docTypes","language","dateTimeLocale","welcomeScreen","memorizeTabs","hasImage","contentLanguages","keyBindings","activePerspective","perspectives"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"User ID","type":"integer","example":1},"username":{"description":"Username","type":"string","example":"admin"},"email":{"description":"Email","type":["string","null"],"example":""},"firstname":{"description":"Firstname","type":["string","null"],"example":""},"lastname":{"description":"Lastname","type":["string","null"],"example":""},"permissions":{"description":"Permissions","type":"array","items":{"type":"string","example":"clear_cache"}},"isAdmin":{"description":"If user is an admin user","type":"boolean","example":false},"classes":{"description":"Allowed classes to create","type":"array","items":{"type":"string"}},"docTypes":{"description":"Allowed doc types to create","type":"array","items":{"type":"string"}},"language":{"description":"User Language","type":"string","example":"en"},"dateTimeLocale":{"description":"Locale for dateTime","type":["string","null"],"example":""},"welcomeScreen":{"description":"Welcome Screen","type":"boolean","example":true},"memorizeTabs":{"description":"Memorize Tabs","type":"boolean","example":true},"hasImage":{"description":"Has Image","type":"boolean","example":true},"contentLanguages":{"description":"List of available content Language already sorted.","type":"object","example":["de","en"]},"keyBindings":{"description":"Key Bindings","type":"array","items":{"$ref":"#\/components\/schemas\/KeyBinding"}},"twoFactorAuthentication":{"description":"Two Factor Authentication","type":"array","items":{"$ref":"#\/components\/schemas\/TwoFactorAuth"}},"activePerspective":{"description":"Active studio perspective ID","type":["string","null"],"example":"studio_default_perspective"},"perspectives":{"description":"Allowed studio perspectives","type":"array","items":{"$ref":"#\/components\/schemas\/PerspectiveConfig"}}},"type":"object"},"ObjectDependencies":{"title":"User Object Dependencies","description":"User Object Dependencies","required":["hasHidden","dependencies"],"properties":{"dependencies":{"description":"Dependencies to objects","type":"array","items":{"$ref":"#\/components\/schemas\/UserDependency"}},"hasHidden":{"description":"If is has hidden dependencies","type":"boolean","example":true}},"type":"object"},"UserPermission":{"title":"User Permission","description":"A permission for a user or role","required":["key","category"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"key":{"description":"Key of the Permission","type":"string","example":"objects"},"category":{"description":"Category og the Permission","type":"string","example":"Datahub"}},"type":"object"},"UpdateUserProfile":{"title":"User Profile","description":"Schema to update a current User Profile.","required":["firstname","lastname","email","language","dateTimeLocale","welcomeScreen","memorizeTabs","contentLanguages","keyBindings"],"properties":{"firstname":{"description":"Firstname of the User","type":["string","null"],"example":""},"lastname":{"description":"Lastname of the User","type":["string","null"],"example":""},"email":{"description":"Email of the User","type":["string","null"],"example":""},"language":{"description":"Language of the User","type":"string","example":"de"},"dateTimeLocale":{"description":"Date Time Locale for the User","type":"string","example":""},"welcomeScreen":{"type":"boolean","example":true},"memorizeTabs":{"type":"boolean","example":true},"contentLanguages":{"description":"List of available content Language already sorted.","type":"object","example":["de","en"]},"keyBindings":{"description":"Key Bindings","type":"array","items":{"$ref":"#\/components\/schemas\/KeyBinding"}}},"type":"object"},"UserWorkspace":{"title":"User Workspace","description":"Workspace of a user","required":["cid","cpath","list","view","publish","delete","rename","create","settings","versions","properties"],"properties":{"cid":{"description":"ID of the element","type":"integer","example":"1"},"cpath":{"description":"Path of the element","type":"string","example":"\/path\/to\/element"},"list":{"description":"List Permission","type":"boolean","example":true},"view":{"description":"View Permission","type":"boolean","example":true},"publish":{"description":"Publish Permission","type":"boolean","example":true},"delete":{"description":"Delete Permission","type":"boolean","example":true},"rename":{"description":"Rename Permission","type":"boolean","example":true},"create":{"description":"Create Permission","type":"boolean","example":true},"settings":{"description":"Settings Permission","type":"boolean","example":true},"versions":{"description":"Versions Permission","type":"boolean","example":true},"properties":{"description":"Properties Permission","type":"boolean","example":true}},"type":"object"},"Version":{"title":"Version","required":["id","cid","ctype","note","date","public","published","versionCount","autosave","user"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"version ID","type":"integer","example":2},"cid":{"description":"element ID","type":"integer","example":10},"ctype":{"description":"element type","type":"string","example":"object"},"note":{"description":"note","type":"string","example":"some note"},"date":{"description":"date","type":"integer","example":1712823182},"public":{"description":"public","type":"boolean","example":false},"published":{"description":"published","type":"boolean","example":false},"versionCount":{"description":"version count","type":"integer","example":10},"autosave":{"description":"autosave","type":"boolean","example":false},"user":{"$ref":"#\/components\/schemas\/VersionUser","description":"user"},"scheduled":{"description":"scheduled","type":["integer","null"],"example":null}},"type":"object"},"Dimensions":{"title":"VersionDimensions","properties":{"width":{"description":"width","type":["integer","null"],"example":1920},"height":{"description":"height","type":["integer","null"],"example":1080}},"type":"object"},"VersionUser":{"title":"VersionUser","properties":{"id":{"description":"ID","type":["integer","null"],"example":2},"name":{"description":"name","type":["string","null"],"example":"John Doe"}},"type":"object"},"Video":{"title":"Video","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"},{"properties":{"duration":{"description":"Duration","type":["number","null"],"format":"float","example":43560.5},"width":{"description":"Width","type":["integer","null"],"example":1920},"height":{"description":"Height","type":["integer","null"],"example":1080},"imageThumbnailPath":{"description":"Path to Image Thumbnail","type":["string","null"],"example":"\/path\/to\/video\/imagethumbnail.jpg"}},"type":"object"}]},"WidgetConfig":{"title":"Widget Config","required":["id","name","widgetType","icon"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"Widget ID","type":"string","example":"5026c239_eb75_499a_8576_841bca283350"},"name":{"description":"Name","type":"string","example":"Cars"},"widgetType":{"description":"Widget Type","type":"string","example":"element_trees"},"icon":{"$ref":"#\/components\/schemas\/ElementIcon","description":"Icon"}},"type":"object"},"WidgetType":{"title":"WidgetType","required":["id"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"id":{"description":"id","type":"string","example":"info"}},"type":"object"},"WorkflowDetails":{"title":"WorkflowDetails","required":["workflowName","workflowLabel","workflowStatus","graph","workflowLayoutId","allowedTransitions","globalActions"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"}]}},"workflowName":{"description":"workflowName","type":"string","example":"simple_asset"},"workflowLabel":{"description":"workflowLabel","type":"string","example":"Sample Asset Workflow"},"workflowStatus":{"description":"workflowStatus","type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowStatus"}},"graph":{"description":"graph","type":"string","example":"\u003Csvg\u003E...\u003C\/svg\u003E"},"workflowLayoutId":{"description":"workflowLayoutId","type":["string","null"],"example":"someWorkflowLayoutId"},"allowedTransitions":{"description":"allowedTransitions","type":"array","items":{"$ref":"#\/components\/schemas\/AllowedTransition"}},"globalActions":{"description":"globalActions","type":"array","items":{"$ref":"#\/components\/schemas\/GlobalAction"}}},"type":"object"},"WorkflowStatus":{"title":"WorkflowStatus","required":["color","colorInverted","title","label","layoutId","visibleInDetail"],"properties":{"color":{"description":"color","type":"string","example":"#3572b0"},"colorInverted":{"description":"colorInverted","type":"boolean","example":false},"title":{"description":"borderColor","type":"string","example":"#ffa500"},"label":{"description":"label","type":"string","example":"Edit Images"},"layoutId":{"description":"layoutId","type":["string","null"],"example":"someStatusLayoutId"},"visibleInDetail":{"description":"visibleInDetail","type":"boolean","example":true}},"type":"object"}}},"tags":[{"name":"Assets","description":"Asset operations to get\/update\/create\/delete assets"},{"name":"Asset Grid","description":"Asset Grid operations"},{"name":"Asset Thumbnails","description":"List thumbnails for assets like videos and images"},{"name":"Authorization","description":"Session-based login via username and password or logout and invalidate the session"},{"name":"Class Definition","description":"Class definition operations"},{"name":"Classification Store","description":"Classification store operations"},{"name":"Custom Reports","description":"List custom reports"},{"name":"Data Objects","description":"DataObject operations to get\/update\/create\/delete data objects"},{"name":"Data Object Grid","description":"DataObject Grid operations"},{"name":"Dependencies","description":"Get dependencies for a single element"},{"name":"Documents","description":"Document operations to get\/update\/create\/delete documents"},{"name":"Elements","description":"Get element properties for a single element based on its type and provided parameters"},{"name":"Execution Engine","description":"Execution engine operations related to job runs"},{"name":"E-Mails","description":"E-mail operations to get\/update\/create\/delete\/test emails and E-mail blocklist"},{"name":"Export","description":"Export"},{"name":"Mercure","description":"Retrieve JWT token for Mercure hub as cookie"},{"name":"Metadata","description":"Metadata operations to get\/update\/create\/delete metadata"},{"name":"Notes","description":"Note operations to list\/delete notes"},{"name":"Notifications","description":"Notification operations to get\/delete\/send notifications"},{"name":"Perspectives","description":"Operations to get\/update\/create\/delete properties and widgets"},{"name":"Properties","description":"Property operations to get\/update\/create\/delete properties"},{"name":"Role Management","description":"Role Management operations"},{"name":"Schedule","description":"Get schedules for an element"},{"name":"Search","description":"Operations to get search configuration, search elements and get search result previews"},{"name":"Settings","description":"Get System Settings"},{"name":"Tags","description":"Tag operations to get\/list\/create\/update\/delete tags"},{"name":"Tags for Element","description":"Tag operations to get tags for an element"},{"name":"Translation","description":"Get translations either for a single key or multiple keys"},{"name":"Units","description":"Units operations like convert and get all units"},{"name":"User Management","description":"User Management operations"},{"name":"Versions","description":"Versions operations to get\/list\/publish\/delete and cleanup versions"},{"name":"Workflows","description":"Workflows operations to get element workflow details"}]} \ No newline at end of file diff --git a/assets/js/src/core/app/api/pimcore/tags.ts b/assets/js/src/core/app/api/pimcore/tags.ts index be922c8a35..4c15d3f6c0 100644 --- a/assets/js/src/core/app/api/pimcore/tags.ts +++ b/assets/js/src/core/app/api/pimcore/tags.ts @@ -32,6 +32,7 @@ export const tagNames = { DOCUMENT: 'DOCUMENT', DOCUMENT_DETAIL: 'DOCUMENT_DETAIL', DOCUMENT_TREE: 'DOCUMENT_TREE', + DOCUMENT_TYPES: 'DOCUMENT_TYPES', WORKFLOW: 'WORKFLOW', VERSIONS: 'VERSION', PROPERTIES: 'PROPERTIES', @@ -74,6 +75,7 @@ export const providingTags = { DATA_OBJECT_GRID_ID: (id: number) => [tagNames.DATA_OBJECT, { type: tagNames.DATA_OBJECT_GRID, id }], DOCUMENT_DETAIL: () => [tagNames.DOCUMENT, tagNames.DOCUMENT_DETAIL], DOCUMENT_DETAIL_ID: (id: number) => [tagNames.DOCUMENT, { type: tagNames.DOCUMENT_DETAIL, id }], + DOCUMENT_TYPES: () => [tagNames.DOCUMENT_TYPES], DOCUMENT_TREE: () => [tagNames.DOCUMENT, tagNames.DOCUMENT_TREE], DOCUMENT_TREE_ID: (id: number) => [tagNames.DOCUMENT, { type: tagNames.DOCUMENT_TREE, id }], ELEMENT_DEPENDENCIES: (elementType: ElementType, id: number) => [getElementDetailTag(elementType, id), getElementSpecificTag(tagNames.DEPENDENCIES, elementType, id)], @@ -116,6 +118,7 @@ export const invalidatingTags = { DOCUMENT: () => [tagNames.DOCUMENT], DOCUMENT_DETAIL: () => [tagNames.DOCUMENT_DETAIL], DOCUMENT_DETAIL_ID: (id: number) => [{ type: tagNames.DOCUMENT_DETAIL, id }, elementUnspecificDataTag], + DOCUMENT_TYPES: () => [tagNames.DOCUMENT_TYPES], DOCUMENT_TREE: () => [tagNames.DOCUMENT_TREE], DOCUMENT_TREE_ID: (id: number) => [{ type: tagNames.DOCUMENT_TREE, id }], ELEMENT_DEPENDENCIES: (elementType: ElementType, id: number) => [getElementSpecificTag(tagNames.DEPENDENCIES, elementType, id)], diff --git a/assets/js/src/core/assets/icons/document-types.inline.svg b/assets/js/src/core/assets/icons/document-types.inline.svg new file mode 100644 index 0000000000..daf83bdaf7 --- /dev/null +++ b/assets/js/src/core/assets/icons/document-types.inline.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/js/src/core/bootstrap.ts b/assets/js/src/core/bootstrap.ts index 0b5036740b..1fb514eb08 100644 --- a/assets/js/src/core/bootstrap.ts +++ b/assets/js/src/core/bootstrap.ts @@ -27,6 +27,7 @@ import '@Pimcore/modules/user' import '@Pimcore/modules/tags' import '@Pimcore/modules/predefined-properties' import '@Pimcore/modules/notes-and-events' +import '@Pimcore/modules/document-types' import '@Pimcore/modules/open-element' import '@Pimcore/modules/wysiwyg' import 'flexlayout-react/style/light.css' diff --git a/assets/js/src/core/modules/auth/enums/user-permission.ts b/assets/js/src/core/modules/auth/enums/user-permission.ts index 670874c302..be64a02adb 100644 --- a/assets/js/src/core/modules/auth/enums/user-permission.ts +++ b/assets/js/src/core/modules/auth/enums/user-permission.ts @@ -11,6 +11,7 @@ export enum UserPermission { NotesAndEvents = 'notes_events', Documents = 'documents', + DocumentTypes = 'document_types', Objects = 'objects', Assets = 'assets', TagsConfiguration = 'tags_configuration', diff --git a/assets/js/src/core/modules/document-types/document-types-container.tsx b/assets/js/src/core/modules/document-types/document-types-container.tsx new file mode 100644 index 0000000000..6cc671bead --- /dev/null +++ b/assets/js/src/core/modules/document-types/document-types-container.tsx @@ -0,0 +1,130 @@ +/** + * This source file is available under the terms of the + * Pimcore Open Core License (POCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. + * + * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) + * @license Pimcore Open Core License (POCL) + */ + +import React, { useEffect, useState } from 'react' +import { t } from 'i18next' +import trackError, { ApiError } from '../app/error-handler' +import { useAppDispatch } from '@sdk/app' +import { useDocumentDocTypeListQuery } from '../document/document-api-slice-enhanced' +import { DocumentTypeRow, useDocumentType } from './hooks/use-document-type' +import { useDocumentConfig } from './hooks/use-document-config' +import { ContentLayout } from '@Pimcore/components/content-layout/content-layout' +import { Toolbar } from '@Pimcore/components/toolbar/toolbar' +import { Flex } from '@Pimcore/components/flex/flex' +import { Title } from '@Pimcore/components/title/title' +import { Content } from '@Pimcore/components/content/content' +import { Box, IconButton, IconTextButton } from '@sdk/components' +import { invalidatingTags } from '@Pimcore/app/api/pimcore/tags' +import { uuid } from '@sdk/utils' +import { isUndefined } from 'lodash' +import { Table } from './table/table' +import { api } from '@sdk/api/documents' + + +export const DocumentTypesContainer = (): React.JSX.Element => { + const dispatch = useAppDispatch() + const { createNewDocumentType, createLoading } = useDocumentType() + const config = useDocumentConfig() + + const { data, isLoading: documentTypesLoading, isFetching: documentTypesFetching, isError, error } = useDocumentDocTypeListQuery({}) + + const [documentTypeRows, setDocumentTypeRows] = useState([]) + + const documentTypes = data?.items ?? []; + +const sortedRows = [...documentTypeRows].sort((a, b) => { + const dateA = a.creationDate ?? 0 + const dateB = b.creationDate ?? 0 + return dateB - dateA +}) + useEffect(() => { + if (!isUndefined(documentTypes)) { + setDocumentTypeRows( + documentTypes.map(item => ({ ...item, rowId: uuid() })) + ) + } + }, [documentTypes]) + + const onCreateDocumentType = async (): Promise => { + const { success, data } = await createNewDocumentType() + if (success && data !== undefined) { + setDocumentTypeRows(prev => + [ + { ...data, rowId: uuid() }, + ...prev + ] + ) + } + } + + useEffect(() => { + if (isError) { + trackError(new ApiError(error)) + } + }, [isError]) + + return ( + + + dispatch( + api.util.invalidateTags( + invalidatingTags.DOCUMENT_TYPES() + ) + ) + }> + } + renderTopBar={ + + + {t('widget.document-types')} + {t('document-types.new')} + + + }> + + + + + + ) +} diff --git a/assets/js/src/core/modules/document-types/hooks/use-document-config.tsx b/assets/js/src/core/modules/document-types/hooks/use-document-config.tsx new file mode 100644 index 0000000000..648460f742 --- /dev/null +++ b/assets/js/src/core/modules/document-types/hooks/use-document-config.tsx @@ -0,0 +1,54 @@ +/** + * This source file is available under the terms of the + * Pimcore Open Core License (POCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. + * + * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) + * @license Pimcore Open Core License (POCL) + */ + +import { DocType, DocTypeType, DocumentController, DocumentTemplate,} from '@Pimcore/modules/document/document-api-slice.gen' +import { useDocumentAvailableControllersListQuery,useDocumentDocTypeTypeListQuery, useDocumentAvailableTemplatesListQuery} from '@Pimcore/modules/document/document-api-slice-enhanced' +import trackError, { ApiError } from '../../app/error-handler' +import { isUndefined } from 'lodash' +import { useEffect } from 'react' + + +export type DocumentTypeRow = DocType & { rowId: string } + +interface UseDocumentConfigReturn { +controllers: DocumentController[] +templates: DocumentTemplate[] +docTypes: DocTypeType[] +} + +export const useDocumentConfig = (): UseDocumentConfigReturn => { + const {data: controllers, isError: isControllerError, error: controllerError } = useDocumentAvailableControllersListQuery() + const {data: templates, isError: isTemplatesError, error: templatesError } = useDocumentAvailableTemplatesListQuery() + const {data: docTypes, isError: isDocTypesError, error: docTypeError} = useDocumentDocTypeTypeListQuery() + + useEffect(() => { + if (isControllerError) { + trackError(new ApiError(controllerError)) + } + }, [isControllerError]) + + useEffect(() => { + if (isTemplatesError) { + trackError(new ApiError(templatesError)) + } + }, [isTemplatesError]) + + useEffect(() => { + if (isDocTypesError) { + trackError(new ApiError(docTypeError)) + } + }, [isDocTypesError]) + + return { + controllers: !isUndefined(controllers) ? controllers?.items : [], + templates: !isUndefined(templates) ? templates?.items : [], + docTypes:!isUndefined(docTypes) ? docTypes?.items : [], + } +} \ No newline at end of file diff --git a/assets/js/src/core/modules/document-types/hooks/use-document-type.tsx b/assets/js/src/core/modules/document-types/hooks/use-document-type.tsx new file mode 100644 index 0000000000..877b9738e5 --- /dev/null +++ b/assets/js/src/core/modules/document-types/hooks/use-document-type.tsx @@ -0,0 +1,101 @@ +/** + * This source file is available under the terms of the + * Pimcore Open Core License (POCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. + * + * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) + * @license Pimcore Open Core License (POCL) + */ + +import trackError, { GeneralError, ApiError } from '@Pimcore/modules/app/error-handler' +import { DocType, DocTypeUpdate, DocumentDocTypeAddApiArg, useDocumentDocTypeAddMutation, useDocumentDocTypeDeleteMutation, useDocumentDocTypeUpdateByIdMutation } from '@Pimcore/modules/document/document-api-slice.gen' +import { isUndefined } from 'lodash' + + +export type DocumentTypeRow = DocType & { rowId: string } + +interface UseDocumentTypeReturn { + createNewDocumentType: () => Promise<{ success: boolean, data?: DocType }> + createLoading: boolean + deleteDocumentTypeById: (id: string) => Promise<{ success: boolean }> + deleteLoading: boolean + updateDocumentTypeById: (id: string, row: DocumentTypeRow) => Promise<{ success: boolean }> + updateLoading: boolean +} + +export const useDocumentType = (): UseDocumentTypeReturn => { + const [createDocumentType, { isLoading: createLoading }] = useDocumentDocTypeAddMutation() + const [deleteDocumentType, { isLoading: deleteLoading }] = useDocumentDocTypeDeleteMutation() + const [updateDocumentType, { isLoading: updateLoading }] = useDocumentDocTypeUpdateByIdMutation() + + const dummyDocumentType: DocumentDocTypeAddApiArg = { + docTypeAddParameters: { + name: "New Document Type", + type: "page"} +} + const createNewDocumentType = async (): Promise<{ success: boolean, data?: DocType }> => { + try { + const result = await createDocumentType(dummyDocumentType) + + if (!isUndefined(result.error)) { + trackError(new ApiError(result.error)) + } + + if ('data' in result) { + return { success: true, data: result.data } + } + } catch { + trackError(new GeneralError('Was not able to create DocumentType')) + } + return { success: false } + } + + const deleteDocumentTypeById = async (id: string): Promise<{ success: boolean }> => { + try { + const result = await deleteDocumentType({ id }) + + if (!isUndefined(result.error)) { + trackError(new ApiError(result.error)) + } + + return { success: 'data' in result } + } catch { + trackError(new GeneralError('Was not able to delete DocumentType')) + return { success: false } + } + } + + const toApiDocumentType = (row: DocumentTypeRow): DocTypeUpdate => ({ + name: row.name ?? '', + type: row.type ?? '', + group: row.group ?? '', + controller: row.controller ?? '', + template: row.template ?? '', + priority: row.priority ?? 0 , + staticGeneratorEnabled: row.staticGeneratorEnabled ?? false + }) + + const updateDocumentTypeById = async (id: string, row: DocumentTypeRow): Promise<{ success: boolean }> => { + try { + const result = await updateDocumentType({ id, docTypeUpdateParameters: toApiDocumentType(row) }) + + if (!isUndefined(result.error)) { + trackError(new ApiError(result.error)) + } + return { success: 'data' in result } + } catch { + trackError(new GeneralError('Was not able to update DocumentType')) + return { success: false } + } + } + + return { + createNewDocumentType, + createLoading, + deleteDocumentTypeById, + deleteLoading, + updateDocumentTypeById, + updateLoading + } +} \ No newline at end of file diff --git a/assets/js/src/core/modules/document-types/index.ts b/assets/js/src/core/modules/document-types/index.ts new file mode 100644 index 0000000000..b2856f3412 --- /dev/null +++ b/assets/js/src/core/modules/document-types/index.ts @@ -0,0 +1,51 @@ +/** + * This source file is available under the terms of the + * Pimcore Open Core License (POCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. + * + * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) + * @license Pimcore Open Core License (POCL) + */ + +import { type WidgetRegistry } from '@Pimcore/modules/widget-manager/services/widget-registry' +import { container } from '@Pimcore/app/depency-injection' +import { serviceIds } from '@Pimcore/app/config/services/service-ids' +import { moduleSystem } from '@Pimcore/app/module-system/module-system' +import { type MainNavRegistry } from '../app/base-layout/main-nav/services/main-nav-registry' +import { NavPermission } from '../perspectives/enums/nav-permission' +import { UserPermission } from '../auth/enums/user-permission' +import { DocumentTypesContainer } from './document-types-container' + +moduleSystem.registerModule({ + onInit: () => { + const mainNavRegistryService = container.get(serviceIds.mainNavRegistry) + + mainNavRegistryService.registerMainNavItem({ + path: 'Settings/Document Types', + label: 'navigation.document-types', + className: 'item-style-modifier', + permission: UserPermission.DocumentTypes, + perspectivePermission: NavPermission.DocumentTypes, + widgetConfig: { + name: 'Document Types', + id: 'document-types', + component: 'document-types', + config: { + translationKey: 'widget.document-types', + icon: { + type: 'name', + value: 'document-types' + } + } + } + }) + + const widgetRegistryService = container.get(serviceIds.widgetManager) + + widgetRegistryService.registerWidget({ + name: 'document-types', + component: DocumentTypesContainer + }) + } +}) \ No newline at end of file diff --git a/assets/js/src/core/modules/document-types/table/actions-cell.tsx b/assets/js/src/core/modules/document-types/table/actions-cell.tsx new file mode 100644 index 0000000000..2d21bfe07c --- /dev/null +++ b/assets/js/src/core/modules/document-types/table/actions-cell.tsx @@ -0,0 +1,48 @@ +/** + * This source file is available under the terms of the + * Pimcore Open Core License (POCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. + * + * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) + * @license Pimcore Open Core License (POCL) + */ + +import React from 'react' +import { type CellContext } from '@tanstack/react-table' +import { IconButton } from '@sdk/components' +import { DocumentTypeRow, useDocumentType } from '../hooks/use-document-type' +import { type DocumentTypesWithActions } from './table' + +interface ActionsCellProps { + info: CellContext + setDocumentTypeRows: React.Dispatch> +} + +export const ActionsCell = ({ info, setDocumentTypeRows }: ActionsCellProps): JSX.Element => { + const id = info.row.original.id + const { deleteDocumentTypeById, deleteLoading } = useDocumentType() + + const handleDelete = async (): Promise => { + const { success } = await deleteDocumentTypeById(id) + if (success) { + setDocumentTypeRows(prev => prev.filter(row => row.id !== id)) + } + } + + return ( +
+ { console.log('Open Translate View') } } + type="link" + /> + +
+ ) +} diff --git a/assets/js/src/core/modules/document-types/table/table.tsx b/assets/js/src/core/modules/document-types/table/table.tsx new file mode 100644 index 0000000000..37933b7ce4 --- /dev/null +++ b/assets/js/src/core/modules/document-types/table/table.tsx @@ -0,0 +1,144 @@ +/** + * This source file is available under the terms of the + * Pimcore Open Core License (POCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. + * + * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) + * @license Pimcore Open Core License (POCL) + */ + +import React, { useState } from 'react' +import { Grid } from '@Pimcore/components/grid/grid' +import { createColumnHelper } from '@tanstack/react-table' +import { useTranslation } from 'react-i18next' +import { type ModifiedCells } from '@sdk/modules/element' +import { ActionsCell } from './actions-cell' +import { DocumentTypeRow, useDocumentType } from '../hooks/use-document-type' + + +export type DocumentTypeWithActions = DocumentType & { actions: React.ReactNode } + +interface TableProps { + documentTypeRows: DocumentTypeRow[] + setDocumentTypeRows: React.Dispatch> + config: { + controllers: DocumentController[] + templates: DocumentTemplate[] + docTypes: DocTypeType[] + } +} + +export const Table = ({ documentTypeRows, setDocumentTypeRows, config }: TableProps): React.JSX.Element => { + const { t } = useTranslation() + const { updateDocumentTypeById } = useDocumentType() + const { controllers, templates, docTypes } = config + + const [modifiedCells, setModifiedCells] = useState ([]) + + const controllerNames = controllers.map(item => item.name); + const templatePaths = templates.map(template => template.path); + const docTypeNames = docTypes.map(template => template.name); + + const columnHelper = createColumnHelper() + + const tableColumns = [ + columnHelper.accessor('name', { + header: t('document-types.columns.name'), + meta: { editable: true }, + size: 200 + }), + columnHelper.accessor('group', { + header: t('document-types.columns.group'), + meta: { editable: true }, + size: 100 + }), + columnHelper.accessor('controller', { + header: t('document-types.columns.controller'), + meta: { type: 'select', editable: true, config: { options: Object.values(controllerNames) } }, + size: 200 + }), + columnHelper.accessor('template', { + header: t('document-types.columns.template'), + meta: { type: 'select', editable: true, config: { options: Object.values(templatePaths) } }, + size: 150 + }), + columnHelper.accessor('type', { + header: t('document-types.columns.type'), + meta: { type: 'select', editable: true, config: { options: Object.values(docTypeNames) } }, + size: 80 + }), + columnHelper.accessor('staticGeneratorEnabled', { + header: t('document-types.columns.static'), + size: 70, + meta: { type: 'checkbox', editable: true, config: { align: 'center' } } + }), + columnHelper.accessor('priority', { + header: t('document-types.columns.priority'), + meta: { type: 'number', editable: true }, + size: 80 + }), + columnHelper.accessor('creationDate', { + header: t('document-types.columns.creation-date'), + meta: { type: 'date'}, + size: 150 + }), + columnHelper.accessor('modificationDate', { + header: t('document-types.columns.modification-date'), + meta: { type: 'date' }, + size: 150 + }), + columnHelper.accessor('actions', { + header: t('document-types.columns.actions'), + size: 80, + cell: (info) => ActionsCell({info, setDocumentTypeRows}) + }) + ] + + const onUpdateCellData = async ({ + columnId, + value, + rowData + }: { + columnId: string + value: unknown + rowData: DocumentTypeRow + }): Promise => { + const rowId = rowData.rowId + const updatedRow: DocumentTypeRow = { ...rowData, [columnId]: value } + + setDocumentTypeRows(prev => + prev.map(row => + row.rowId === rowId ? updatedRow : row + ) + ) + + setModifiedCells([{ columnId, rowIndex: rowId }]) + + const { success } = await updateDocumentTypeById(updatedRow.id, updatedRow) + + if (success) setModifiedCells([]) + else { + setDocumentTypeRows(prev => + prev.map(row => + row.rowId === rowId ? rowData : row + ) + ) + } + } + + return ( +
+ row.rowId } + /> +
+ ) +} diff --git a/assets/js/src/core/modules/document/document-api-slice-enhanced.ts b/assets/js/src/core/modules/document/document-api-slice-enhanced.ts index 07de6dc341..5fcf282d1d 100644 --- a/assets/js/src/core/modules/document/document-api-slice-enhanced.ts +++ b/assets/js/src/core/modules/document/document-api-slice-enhanced.ts @@ -12,7 +12,7 @@ import { providingTags, tagNames } from '@Pimcore/app/api/pimcore/tags' import { api as baseApi } from './document-api-slice.gen' const api = baseApi.enhanceEndpoints({ - addTagTypes: [tagNames.DOCUMENT, tagNames.DOCUMENT_TREE, tagNames.DOCUMENT_DETAIL], + addTagTypes: [tagNames.DOCUMENT, tagNames.DOCUMENT_TREE, tagNames.DOCUMENT_DETAIL, tagNames.DOCUMENT_TYPES], endpoints: { // documentClone: { @@ -25,6 +25,22 @@ const api = baseApi.enhanceEndpoints({ documentGetTree: { providesTags: (result, error, args) => args.parentId !== undefined ? providingTags.DOCUMENT_TREE_ID(args.parentId) : providingTags.DOCUMENT_TREE() + }, + + documentDocTypeList: { + providesTags: (result, error, args) => providingTags.DOCUMENT_TYPES() + }, + + documentDocTypeDelete: { + invalidatesTags: () => [] + }, + + documentDocTypeUpdateById: { + invalidatesTags: () => [] + }, + + documentDocTypeAdd: { + invalidatesTags: () => [] } // documentUpdateById: { @@ -44,7 +60,14 @@ export const { // useDocumentCloneMutation, useDocumentGetByIdQuery, // useDocumentUpdateByIdMutation, - useDocumentGetTreeQuery + useDocumentGetTreeQuery, + useDocumentAvailableTemplatesListQuery, + useDocumentDocTypeListQuery, + useDocumentDocTypeTypeListQuery, + useDocumentAvailableControllersListQuery, + useDocumentDocTypeAddMutation, + useDocumentDocTypeUpdateByIdMutation, + useDocumentDocTypeDeleteMutation } = api export { api } diff --git a/assets/js/src/core/modules/icon-library/index.ts b/assets/js/src/core/modules/icon-library/index.ts index c861bb1288..7efd9bb40b 100644 --- a/assets/js/src/core/modules/icon-library/index.ts +++ b/assets/js/src/core/modules/icon-library/index.ts @@ -1,11 +1,14 @@ /** - * This source file is available under the terms of the - * Pimcore Open Core License (POCL) + * Pimcore + * + * This source file is available under two different licenses: + * - Pimcore Open Core License (POCL) + * - Pimcore Commercial License (PCL) * Full copyright and license information is available in * LICENSE.md which is distributed with this source code. * - * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * @license Pimcore Open Core License (POCL) + * @copyright Copyright (c) Pimcore GmbH + * @license https://github.com/pimcore/studio-ui-bundle/blob/1.x/LICENSE.md POCL and PCL */ /* eslint-disable max-lines */ @@ -74,6 +77,7 @@ import deleteColumn from '@Pimcore/assets/icons/delete-column.inline.svg?react' import deleteRow from '@Pimcore/assets/icons/delete-row.inline.svg?react' import dependencies from '@Pimcore/assets/icons/dependencies.inline.svg?react' import details from '@Pimcore/assets/icons/details.inline.svg?react' +import documentTypes from '@Pimcore/assets/icons/document-types.inline.svg?react' import document from '@Pimcore/assets/icons/document.inline.svg?react' import doubleArrowDown from '@Pimcore/assets/icons/double-arrow-down.inline.svg?react' import doubleArrowLeft from '@Pimcore/assets/icons/double-arrow-left.inline.svg?react' @@ -220,7 +224,7 @@ import xlsxCsv from '@Pimcore/assets/icons/xlsx-csv.inline.svg?react' moduleSystem.registerModule({ onInit: () => { - const iconLibrary = container.get(serviceIds.iconLibrary) + const iconLibrary = container.get(serviceIds.iconLibrary); iconLibrary.register({ name: 'accessory', component: accessory @@ -457,6 +461,10 @@ moduleSystem.registerModule({ name: 'details', component: details }) + iconLibrary.register({ + name: 'document-types', + component: documentTypes + }) iconLibrary.register({ name: 'document', component: document @@ -1030,4 +1038,4 @@ moduleSystem.registerModule({ component: xlsxCsv }) } -}) +}) \ No newline at end of file diff --git a/assets/js/src/core/modules/perspectives/enums/nav-permission.ts b/assets/js/src/core/modules/perspectives/enums/nav-permission.ts index b944a4897b..68f989b537 100644 --- a/assets/js/src/core/modules/perspectives/enums/nav-permission.ts +++ b/assets/js/src/core/modules/perspectives/enums/nav-permission.ts @@ -19,6 +19,7 @@ export enum NavPermission { SettingsHidden = 'settings.hidden', TagConfiguration = 'settings.tagConfiguration', + DocumentTypes = 'settings.documentTypes', PredefinedProperties = 'settings.predefinedProperties', UsersHidden = 'settings.users_hidden', Users = 'settings.users_users', diff --git a/assets/js/src/core/modules/predefined-properties/table/table.styles.ts b/assets/js/src/core/modules/predefined-properties/table/table.styles.ts deleted file mode 100644 index a9f8f6bc86..0000000000 --- a/assets/js/src/core/modules/predefined-properties/table/table.styles.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * This source file is available under the terms of the - * Pimcore Open Core License (POCL) - * Full copyright and license information is available in - * LICENSE.md which is distributed with this source code. - * - * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * @license Pimcore Open Core License (POCL) - */ - -import { createStyles } from 'antd-style' - -export const useStyles = createStyles(({ token, css }) => { - return { - table: css` - .ant-table { - .ant-table-tbody { - - .properties-table--actions-column { - align-items: center; - - .ant-btn-icon { - color: ${token.colorPrimary}; - - &:hover { - color: ${token.colorPrimaryHover}; - } - } - } - } - } - - .headline { - padding: ${token.paddingXS}px; - margin: 0; - } - ` - } -}) diff --git a/assets/js/src/core/modules/predefined-properties/table/table.tsx b/assets/js/src/core/modules/predefined-properties/table/table.tsx index eaced12d6b..812403de7b 100644 --- a/assets/js/src/core/modules/predefined-properties/table/table.tsx +++ b/assets/js/src/core/modules/predefined-properties/table/table.tsx @@ -12,7 +12,6 @@ import React, { useState } from 'react' import { Grid } from '@Pimcore/components/grid/grid' import { createColumnHelper } from '@tanstack/react-table' import { useTranslation } from 'react-i18next' -import { useStyles } from './table.styles' import { type DataProperty } from '@Pimcore/modules/element/draft/hooks/use-properties' import { type PredefinedProperty } from '@Pimcore/modules/element/editor/shared-tab-manager/tabs/properties/properties-api-slice-enhanced' import { type PredefinedPropertyRow, usePredefinedProperty } from '../hooks/use-predefined-property' @@ -29,7 +28,6 @@ interface TableProps { export const Table = ({ predefinedPropertyRows, setPredefinedPropertyRows }: TableProps): React.JSX.Element => { const { t } = useTranslation() - const { styles } = useStyles() const { updatePropertyById } = usePredefinedProperty() const [modifiedCells, setModifiedCells] = useState ([]) @@ -121,7 +119,7 @@ export const Table = ({ predefinedPropertyRows, setPredefinedPropertyRows }: Tab } return ( -
+
Rsbuild App
\ No newline at end of file diff --git a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/entrypoints.json b/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/entrypoints.json deleted file mode 100644 index b3ae68dc0b..0000000000 --- a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/entrypoints.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "entrypoints": { - "main": { - "js": [ - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/772.a5df2f14.js", - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/main.cb5eeb12.js" - ], - "css": [] - }, - "documentEditorIframe": { - "js": [ - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/772.a5df2f14.js", - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/documentEditorIframe.52abb870.js" - ], - "css": [] - }, - "exposeRemote": { - "js": [ - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/exposeRemote.js" - ], - "css": [] - } - } -} \ No newline at end of file diff --git a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/exposeRemote.js b/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/exposeRemote.js deleted file mode 100644 index 9d7f6f5613..0000000000 --- a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/exposeRemote.js +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/main.html b/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/main.html deleted file mode 100644 index 149bc72184..0000000000 --- a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/main.html +++ /dev/null @@ -1 +0,0 @@ -Rsbuild App
\ No newline at end of file diff --git a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/manifest.json b/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/manifest.json deleted file mode 100644 index b333735807..0000000000 --- a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/manifest.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "allFiles": [ - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/main.cb5eeb12.js", - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/documentEditorIframe.52abb870.js", - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/772.a5df2f14.js", - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/mf-stats.json", - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/mf-manifest.json", - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/documentEditorIframe.html", - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/main.html" - ], - "entries": { - "main": { - "html": [ - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/main.html" - ], - "initial": { - "js": [ - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/772.a5df2f14.js", - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/main.cb5eeb12.js" - ] - } - }, - "documentEditorIframe": { - "html": [ - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/documentEditorIframe.html" - ], - "initial": { - "js": [ - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/772.a5df2f14.js", - "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/documentEditorIframe.52abb870.js" - ] - } - } - } -} \ No newline at end of file diff --git a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/mf-manifest.json b/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/mf-manifest.json deleted file mode 100644 index 53717f6dfe..0000000000 --- a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/mf-manifest.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "id": "pimcore_studio_ui_bundle_core", - "name": "pimcore_studio_ui_bundle_core", - "metaData": { - "name": "pimcore_studio_ui_bundle_core", - "type": "app", - "buildInfo": { - "buildVersion": "0.0.1", - "buildName": "@pimcore/studio-ui-bundle" - }, - "remoteEntry": { - "name": "", - "path": "", - "type": "global" - }, - "types": { - "path": "", - "name": "", - "zip": "", - "api": "" - }, - "globalName": "pimcore_studio_ui_bundle_core", - "pluginVersion": "0.13.1", - "prefetchInterface": false, - "publicPath": "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/" - }, - "shared": [], - "remotes": [ - { - "federationContainerName": "promise new Promise(resolve => {\n const studioUIBundleRemoteUrl = window.StudioUIBundleRemoteUrl\n const script = document.createElement('script')\n script.src = studioUIBundleRemoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "_internal_/mf-bootstrap", - "alias": "@sdk", - "entry": "*" - }, - { - "federationContainerName": "promise new Promise(resolve => {\n const studioUIBundleRemoteUrl = window.StudioUIBundleRemoteUrl\n const script = document.createElement('script')\n script.src = studioUIBundleRemoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "_internal_/mf-bootstrap-document-editor-iframe", - "alias": "@sdk", - "entry": "*" - } - ], - "exposes": [] -} \ No newline at end of file diff --git a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/mf-stats.json b/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/mf-stats.json deleted file mode 100644 index 21bd26791b..0000000000 --- a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/mf-stats.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "pimcore_studio_ui_bundle_core", - "name": "pimcore_studio_ui_bundle_core", - "metaData": { - "name": "pimcore_studio_ui_bundle_core", - "type": "app", - "buildInfo": { - "buildVersion": "0.0.1", - "buildName": "@pimcore/studio-ui-bundle" - }, - "remoteEntry": { - "name": "", - "path": "", - "type": "global" - }, - "types": { - "path": "", - "name": "", - "zip": "", - "api": "" - }, - "globalName": "pimcore_studio_ui_bundle_core", - "pluginVersion": "0.13.1", - "prefetchInterface": false, - "publicPath": "/bundles/pimcorestudioui/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/" - }, - "shared": [], - "remotes": [ - { - "alias": "@sdk", - "consumingFederationContainerName": "pimcore_studio_ui_bundle_core", - "federationContainerName": "promise new Promise(resolve => {\n const studioUIBundleRemoteUrl = window.StudioUIBundleRemoteUrl\n const script = document.createElement('script')\n script.src = studioUIBundleRemoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "_internal_/mf-bootstrap", - "usedIn": [ - "js/src/core/main.ts" - ], - "version": "*" - }, - { - "alias": "@sdk", - "consumingFederationContainerName": "pimcore_studio_ui_bundle_core", - "federationContainerName": "promise new Promise(resolve => {\n const studioUIBundleRemoteUrl = window.StudioUIBundleRemoteUrl\n const script = document.createElement('script')\n script.src = studioUIBundleRemoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "_internal_/mf-bootstrap-document-editor-iframe", - "usedIn": [ - "js/src/core/modules/document/editor/shared-tab-manager/tabs/edit/iframe-app/main.ts" - ], - "version": "*" - } - ], - "exposes": [] -} \ No newline at end of file diff --git a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/772.a5df2f14.js b/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/772.a5df2f14.js deleted file mode 100644 index 0e12fb6116..0000000000 --- a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/772.a5df2f14.js +++ /dev/null @@ -1,6 +0,0 @@ -/*! For license information please see 772.a5df2f14.js.LICENSE.txt */ -"use strict";(self.webpackChunkpimcore_studio_ui_bundle_core=self.webpackChunkpimcore_studio_ui_bundle_core||[]).push([["772"],{51:function(e,t){let r="RUNTIME-001",n="RUNTIME-002",o="RUNTIME-003",i="RUNTIME-004",a="RUNTIME-005",s="RUNTIME-006",l="RUNTIME-007",c="RUNTIME-008",u="TYPE-001",h="BUILD-001",f=e=>{let t=e.split("-")[0].toLowerCase();return`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${t}/${e}`},d=(e,t,r,n)=>{let o=[`${[t[e]]} #${e}`];return r&&o.push(`args: ${JSON.stringify(r)}`),o.push(f(e)),n&&o.push(`Original Error Message: - ${n}`),o.join("\n")};function p(){return(p=Object.assign||function(e){for(var t=1;te===t)&&e.push(t),e}function f(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function d(e){return void 0!==e.entry}function p(e){return!e.entry.includes(".json")&&e.entry.includes(".js")}async function m(e,t){try{return await e()}catch(e){t||u(e);return}}function _(e){return e&&"object"==typeof e}let y=Object.prototype.toString;function g(e){return"[object Object]"===y.call(e)}function E(e,t){let r=/^(https?:)?\/\//i;return e.replace(r,"").replace(/\/$/,"")===t.replace(r,"").replace(/\/$/,"")}function S(e){return Array.isArray(e)?e:[e]}function b(e){let t={url:"",type:"global",globalName:""};return o.isBrowserEnv()||o.isReactNativeEnv()?"remoteEntry"in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:t:"ssrRemoteEntry"in e?{url:e.ssrRemoteEntry||t.url,type:e.ssrRemoteEntryType||t.type,globalName:e.globalName}:t}let v=(e,t)=>{let r;return r=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),r+=t},R="object"==typeof globalThis?globalThis:window,I=(()=>{try{return document.defaultView}catch(e){return R}})(),N=I;function $(e,t,r){Object.defineProperty(e,t,{value:r,configurable:!1,writable:!0})}function O(e,t){return Object.hasOwnProperty.call(e,t)}O(R,"__GLOBAL_LOADING_REMOTE_ENTRY__")||$(R,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});let A=R.__GLOBAL_LOADING_REMOTE_ENTRY__;function M(e){var t,r,n,o,i,a,s,l,c,u,h,f;O(e,"__VMOK__")&&!O(e,"__FEDERATION__")&&$(e,"__FEDERATION__",e.__VMOK__),O(e,"__FEDERATION__")||($(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),$(e,"__VMOK__",e.__FEDERATION__)),null!=(s=(t=e.__FEDERATION__).__GLOBAL_PLUGIN__)||(t.__GLOBAL_PLUGIN__=[]),null!=(l=(r=e.__FEDERATION__).__INSTANCES__)||(r.__INSTANCES__=[]),null!=(c=(n=e.__FEDERATION__).moduleInfo)||(n.moduleInfo={}),null!=(u=(o=e.__FEDERATION__).__SHARE__)||(o.__SHARE__={}),null!=(h=(i=e.__FEDERATION__).__MANIFEST_LOADING__)||(i.__MANIFEST_LOADING__={}),null!=(f=(a=e.__FEDERATION__).__PRELOADED_MAP__)||(a.__PRELOADED_MAP__=new Map)}function w(){R.__FEDERATION__.__GLOBAL_PLUGIN__=[],R.__FEDERATION__.__INSTANCES__=[],R.__FEDERATION__.moduleInfo={},R.__FEDERATION__.__SHARE__={},R.__FEDERATION__.__MANIFEST_LOADING__={},Object.keys(A).forEach(e=>{delete A[e]})}function T(e){R.__FEDERATION__.__INSTANCES__.push(e)}function k(){return R.__FEDERATION__.__DEBUG_CONSTRUCTOR__}function P(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.isDebugMode();t&&(R.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,R.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.13.1")}function D(e,t){if("string"==typeof t){if(e[t])return{value:e[t],key:t};for(let r of Object.keys(e)){let[n,o]=r.split(":"),i=`${n}:${t}`,a=e[i];if(a)return{value:a,key:i}}return{value:void 0,key:t}}throw Error("key must be string")}M(R),M(I);let L=()=>I.__FEDERATION__.moduleInfo,x=(e,t)=>{let r=D(t,f(e)).value;if(r&&!r.version&&"version"in e&&e.version&&(r.version=e.version),r)return r;if("version"in e&&e.version){let{version:t}=e,r=f(n._object_without_properties_loose(e,["version"])),o=D(I.__FEDERATION__.moduleInfo,r).value;if((null==o?void 0:o.version)===t)return o}},F=e=>x(e,I.__FEDERATION__.moduleInfo),H=(e,t)=>{let r=f(e);return I.__FEDERATION__.moduleInfo[r]=t,I.__FEDERATION__.moduleInfo},j=e=>(I.__FEDERATION__.moduleInfo=n._extends({},I.__FEDERATION__.moduleInfo,e),()=>{for(let t of Object.keys(e))delete I.__FEDERATION__.moduleInfo[t]}),C=(e,t)=>{let r=t||`__FEDERATION_${e}:custom__`,n=R[r];return{remoteEntryKey:r,entryExports:n}},U=e=>{let{__GLOBAL_PLUGIN__:t}=I.__FEDERATION__;e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):u(`The plugin ${e.name} has been registered.`)})},G=()=>I.__FEDERATION__.__GLOBAL_PLUGIN__,B=e=>R.__FEDERATION__.__PRELOADED_MAP__.get(e),W=e=>R.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),V="default",q="global",z="[0-9A-Za-z-]+",K=`(?:\\+(${z}(?:\\.${z})*))`,Y="0|[1-9]\\d*",X="[0-9]+",J="\\d*[a-zA-Z-][a-zA-Z0-9-]*",Z=`(?:${X}|${J})`,Q=`(?:-?(${Z}(?:\\.${Z})*))`,ee=`(?:${Y}|${J})`,et=`(?:-(${ee}(?:\\.${ee})*))`,er=`${Y}|x|X|\\*`,en=`[v=\\s]*(${er})(?:\\.(${er})(?:\\.(${er})(?:${et})?${K}?)?)?`,eo=`^\\s*(${en})\\s+-\\s+(${en})\\s*$`,ei=`(${X})\\.(${X})\\.(${X})`,ea=`[v=\\s]*${ei}${Q}?${K}?`,es="((?:<|>)?=?)",el=`(\\s*)${es}\\s*(${ea}|${en})`,ec="(?:~>?)",eu=`(\\s*)${ec}\\s+`,eh="(?:\\^)",ef=`(\\s*)${eh}\\s+`,ed="(<|>)?=?\\s*\\*",ep=`^${eh}${en}$`,em=`(${Y})\\.(${Y})\\.(${Y})`,e_=`v?${em}${et}?${K}?`,ey=`^${ec}${en}$`,eg=`^${es}\\s*${en}$`,eE=`^${es}\\s*(${e_})$|^$`,eS="^\\s*>=\\s*0.0.0\\s*$";function eb(e){return new RegExp(e)}function ev(e){return!e||"x"===e.toLowerCase()||"*"===e}function eR(){for(var e=arguments.length,t=Array(e),r=0;rt.reduce((e,t)=>t(e),e)}function eI(e){return e.match(eb(eE))}function eN(e,t,r,n){let o=`${e}.${t}.${r}`;return n?`${o}-${n}`:o}function e$(e){return e.replace(eb(eo),(e,t,r,n,o,i,a,s,l,c,u,h)=>(t=ev(r)?"":ev(n)?`>=${r}.0.0`:ev(o)?`>=${r}.${n}.0`:`>=${t}`,s=ev(l)?"":ev(c)?`<${Number(l)+1}.0.0-0`:ev(u)?`<${l}.${Number(c)+1}.0-0`:h?`<=${l}.${c}.${u}-${h}`:`<=${s}`,`${t} ${s}`.trim()))}function eO(e){return e.replace(eb(el),"$1$2$3")}function eA(e){return e.replace(eb(eu),"$1~")}function eM(e){return e.replace(eb(ef),"$1^")}function ew(e){return e.trim().split(/\s+/).map(e=>e.replace(eb(ep),(e,t,r,n,o)=>{if(ev(t))return"";if(ev(r))return`>=${t}.0.0 <${Number(t)+1}.0.0-0`;if(ev(n))if("0"===t)return`>=${t}.${r}.0 <${t}.${Number(r)+1}.0-0`;else return`>=${t}.${r}.0 <${Number(t)+1}.0.0-0`;if(o)if("0"!==t)return`>=${t}.${r}.${n}-${o} <${Number(t)+1}.0.0-0`;else if("0"===r)return`>=${t}.${r}.${n}-${o} <${t}.${r}.${Number(n)+1}-0`;else return`>=${t}.${r}.${n}-${o} <${t}.${Number(r)+1}.0-0`;if("0"===t)if("0"===r)return`>=${t}.${r}.${n} <${t}.${r}.${Number(n)+1}-0`;else return`>=${t}.${r}.${n} <${t}.${Number(r)+1}.0-0`;return`>=${t}.${r}.${n} <${Number(t)+1}.0.0-0`})).join(" ")}function eT(e){return e.trim().split(/\s+/).map(e=>e.replace(eb(ey),(e,t,r,n,o)=>ev(t)?"":ev(r)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:ev(n)?`>=${t}.${r}.0 <${t}.${Number(r)+1}.0-0`:o?`>=${t}.${r}.${n}-${o} <${t}.${Number(r)+1}.0-0`:`>=${t}.${r}.${n} <${t}.${Number(r)+1}.0-0`)).join(" ")}function ek(e){return e.split(/\s+/).map(e=>e.trim().replace(eb(eg),(e,t,r,n,o,i)=>{let a=ev(r),s=a||ev(n),l=s||ev(o);if("="===t&&l&&(t=""),i="",a)if(">"===t||"<"===t)return"<0.0.0-0";else return"*";return t&&l?(s&&(n=0),o=0,">"===t?(t=">=",s?(r=Number(r)+1,n=0):n=Number(n)+1,o=0):"<="===t&&(t="<",s?r=Number(r)+1:n=Number(n)+1),"<"===t&&(i="-0"),`${t+r}.${n}.${o}${i}`):s?`>=${r}.0.0${i} <${Number(r)+1}.0.0-0`:l?`>=${r}.${n}.0${i} <${r}.${Number(n)+1}.0-0`:e})).join(" ")}function eP(e){return e.trim().replace(eb(ed),"")}function eD(e){return e.trim().replace(eb(eS),"")}function eL(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function ex(e,t){let{preRelease:r}=e,{preRelease:n}=t;if(void 0===r&&n)return 1;if(r&&void 0===n)return -1;if(void 0===r&&void 0===n)return 0;for(let e=0,t=r.length;e<=t;e++){let t=r[e],o=n[e];if(t!==o){if(void 0===t&&void 0===o)return 0;if(!t)return 1;if(!o)return -1;return eL(t,o)}}return 0}function eF(e,t){return eL(e.major,t.major)||eL(e.minor,t.minor)||eL(e.patch,t.patch)||ex(e,t)}function eH(e,t){return e.version===t.version}function ej(e,t){switch(e.operator){case"":case"=":return eH(e,t);case">":return 0>eF(e,t);case">=":return eH(e,t)||0>eF(e,t);case"<":return eF(e,t)>0;case"<=":return eH(e,t)||eF(e,t)>0;case void 0:return!0;default:return!1}}function eC(e){return eR(ew,eT,ek,eP)(e)}function eU(e){return eR(e$,eO,eA,eM)(e.trim()).split(/\s+/).join(" ")}function eG(e,t){if(!e)return!1;let r=eU(t).split(" ").map(e=>eC(e)).join(" ").split(/\s+/).map(e=>eD(e)),n=eI(e);if(!n)return!1;let[,o,,i,a,s,l]=n,c={operator:o,version:eN(i,a,s,l),major:i,minor:a,patch:s,preRelease:null==l?void 0:l.split(".")};for(let e of r){let t=eI(e);if(!t)return!1;let[,r,,n,o,i,a]=t;if(!ej({operator:r,version:eN(n,o,i,a),major:n,minor:o,patch:i,preRelease:null==a?void 0:a.split(".")},c))return!1}return!0}function eB(e,t,r,o){var i,a,s;let l;return l="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{throw Error(`Can not get shared '${r}'!`)}),n._extends({deps:[],useIn:[],from:t,loading:null},e,{shareConfig:n._extends({requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1},e.shareConfig),get:l,loaded:null!=e&&!!e.loaded||"lib"in e||void 0,version:null!=(i=e.version)?i:"0",scope:Array.isArray(e.scope)?e.scope:[null!=(a=e.scope)?a:"default"],strategy:(null!=(s=e.strategy)?s:o)||"version-first"})}function eW(e,t){let r=t.shared||{},o=t.name,i=Object.keys(r).reduce((e,n)=>{let i=S(r[n]);return e[n]=e[n]||[],i.forEach(r=>{e[n].push(eB(r,o,n,t.shareStrategy))}),e},{}),a=n._extends({},e.shared);return Object.keys(i).forEach(e=>{a[e]?i[e].forEach(t=>{a[e].find(e=>e.version===t.version)||a[e].push(t)}):a[e]=i[e]}),{shared:a,shareInfos:i}}function eV(e,t){let r=e=>{if(!Number.isNaN(Number(e))){let t=e.split("."),r=e;for(let e=0;e<3-t.length;e++)r+=".0";return r}return e};return!!eG(r(e),`<=${r(t)}`)}let eq=(e,t)=>{let r=t||function(e,t){return eV(e,t)};return Object.keys(e).reduce((e,t)=>!e||r(e,t)||"0"===e?t:e,0)},ez=e=>!!e.loaded||"function"==typeof e.lib,eK=e=>!!e.loading;function eY(e,t,r){let n=e[t][r],o=function(e,t){return!ez(n[e])&&eV(e,t)};return eq(e[t][r],o)}function eX(e,t,r){let n=e[t][r],o=function(e,t){let r=e=>ez(e)||eK(e);if(r(n[t]))if(r(n[e]))return!!eV(e,t);else return!0;return!r(n[e])&&eV(e,t)};return eq(e[t][r],o)}function eJ(e){return"loaded-first"===e?eX:eY}function eZ(e,t,r,n){if(!e)return;let{shareConfig:o,scope:i=V,strategy:a}=r;for(let s of Array.isArray(i)?i:[i])if(o&&e[s]&&e[s][t]){let{requiredVersion:i}=o,l=eJ(a)(e,s,t),h=()=>{if(o.singleton){if("string"==typeof i&&!eG(l,i)){let n=`Version ${l} from ${l&&e[s][t][l].from} of shared singleton module ${t} does not satisfy the requirement of ${r.from} which needs ${i})`;o.strictVersion?c(n):u(n)}return e[s][t][l]}if(!1===i||"*"===i||eG(l,i))return e[s][t][l];for(let[r,n]of Object.entries(e[s][t]))if(eG(r,i))return n},f={shareScopeMap:e,scope:s,pkgName:t,version:l,GlobalFederation:N.__FEDERATION__,resolver:h};return(n.emit(f)||f).resolver()}}function eQ(){return N.__FEDERATION__.__SHARE__}function e0(e){var t;let{pkgName:r,extraOptions:n,shareInfos:o}=e,i=e=>{if(!e)return;let t={};e.forEach(e=>{t[e.version]=e});let r=function(e,r){return!ez(t[e])&&eV(e,r)},n=eq(t,r);return t[n]};return Object.assign({},(null!=(t=null==n?void 0:n.resolver)?t:i)(o[r]),null==n?void 0:n.customShareInfo)}var e1={global:{Global:N,nativeGlobal:I,resetFederationGlobalInfo:w,setGlobalFederationInstance:T,getGlobalFederationConstructor:k,setGlobalFederationConstructor:P,getInfoWithoutType:D,getGlobalSnapshot:L,getTargetSnapshotInfoByModuleInfo:x,getGlobalSnapshotInfoByModuleInfo:F,setGlobalSnapshotInfoByModuleInfo:H,addGlobalSnapshot:j,getRemoteEntryExports:C,registerGlobalPlugins:U,getGlobalHostPlugins:G,getPreloaded:B,setPreloaded:W},share:{getRegisteredShare:eZ,getGlobalShareScope:eQ}};function e2(){return"pimcore_studio_ui_bundle_core:0.0.1"}function e3(e,t){for(let r of e){let e=t.startsWith(r.name),n=t.replace(r.name,"");if(e){if(n.startsWith("/"))return{pkgNameOrAlias:r.name,expose:n=`.${n}`,remote:r};else if(""===n)return{pkgNameOrAlias:r.name,expose:".",remote:r}}let o=r.alias&&t.startsWith(r.alias),i=r.alias&&t.replace(r.alias,"");if(r.alias&&o){if(i&&i.startsWith("/"))return{pkgNameOrAlias:r.alias,expose:i=`.${i}`,remote:r};else if(""===i)return{pkgNameOrAlias:r.alias,expose:".",remote:r}}}}function e5(e,t){for(let r of e)if(t===r.name||r.alias&&t===r.alias)return r}function e8(e,t){let r=G();return r.length>0&&r.forEach(t=>{(null==e?void 0:e.find(e=>e.name!==t.name))&&e.push(t)}),e&&e.length>0&&e.forEach(e=>{t.forEach(t=>{t.applyPlugin(e)})}),e}async function e9(e){let{entry:t,remoteEntryExports:r}=e;return new Promise((e,n)=>{try{r?e(r):"undefined"!=typeof FEDERATION_ALLOW_NEW_FUNCTION?Function("callbacks",`import("${t}").then(callbacks[0]).catch(callbacks[1])`)([e,n]):import(t).then(e).catch(n)}catch(e){n(e)}})}async function e4(e){let{entry:t,remoteEntryExports:r}=e;return new Promise((e,n)=>{try{r?e(r):Function("callbacks",`System.import("${t}").then(callbacks[0]).catch(callbacks[1])`)([e,n])}catch(e){n(e)}})}async function e7(e){let{name:t,globalName:r,entry:n,loaderHook:a}=e,{entryExports:s}=C(t,r);return s||o.loadScript(n,{attrs:{},createScriptHook:(e,t)=>{let r=a.lifecycle.createScript.emit({url:e,attrs:t});if(r&&(r instanceof HTMLScriptElement||"script"in r||"timeout"in r))return r}}).then(()=>{let{remoteEntryKey:e,entryExports:o}=C(t,r);return l(o,i.getShortErrorMsg(i.RUNTIME_001,i.runtimeDescMap,{remoteName:t,remoteEntryUrl:n,remoteEntryKey:e})),o}).catch(e=>{throw l(void 0,i.getShortErrorMsg(i.RUNTIME_008,i.runtimeDescMap,{remoteName:t,resourceUrl:n})),e})}async function e6(e){let{remoteInfo:t,remoteEntryExports:r,loaderHook:n}=e,{entry:o,entryGlobalName:i,name:a,type:s}=t;switch(s){case"esm":case"module":return e9({entry:o,remoteEntryExports:r});case"system":return e4({entry:o,remoteEntryExports:r});default:return e7({entry:o,globalName:i,name:a,loaderHook:n})}}async function te(e){let{remoteInfo:t,loaderHook:r}=e,{entry:n,entryGlobalName:a,name:s,type:c}=t,{entryExports:u}=C(s,a);return u||o.loadScriptNode(n,{attrs:{name:s,globalName:a,type:c},loaderHook:{createScriptHook:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.lifecycle.createScript.emit({url:e,attrs:t});if(n&&"url"in n)return n}}}).then(()=>{let{remoteEntryKey:e,entryExports:t}=C(s,a);return l(t,i.getShortErrorMsg(i.RUNTIME_001,i.runtimeDescMap,{remoteName:s,remoteEntryUrl:n,remoteEntryKey:e})),t}).catch(e=>{throw e})}function tt(e){let{entry:t,name:r}=e;return o.composeKeyWithSeparator(r,t)}async function tr(e){let{origin:t,remoteEntryExports:r,remoteInfo:n}=e,i=tt(n);if(r)return r;if(!A[i]){let e=t.remoteHandler.hooks.lifecycle.loadEntry,a=t.loaderHook;A[i]=e.emit({loaderHook:a,remoteInfo:n,remoteEntryExports:r}).then(e=>e||(o.isBrowserEnv()?e6({remoteInfo:n,remoteEntryExports:r,loaderHook:a}):te({remoteInfo:n,loaderHook:a})))}return A[i]}function tn(e){return n._extends({},e,{entry:"entry"in e?e.entry:"",type:e.type||q,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||V})}let to=class{async getEntry(){let e;if(this.remoteEntryExports)return this.remoteEntryExports;try{e=await tr({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports})}catch(r){let t=tt(this.remoteInfo);e=await this.host.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:tr,origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports,globalLoading:A,uniqueKey:t})}return l(e,`remoteEntryExports is undefined - ${o.safeToString(this.remoteInfo)}`),this.remoteEntryExports=e,this.remoteEntryExports}async get(e,t,r,o){let a,{loadFactory:s=!0}=r||{loadFactory:!0},u=await this.getEntry();if(!this.inited){let t=this.host.shareScopeMap,r=Array.isArray(this.remoteInfo.shareScope)?this.remoteInfo.shareScope:[this.remoteInfo.shareScope];r.length||r.push("default"),r.forEach(e=>{t[e]||(t[e]={})});let a=t[r[0]],s=[],l={version:this.remoteInfo.version||"",shareScopeKeys:Array.isArray(this.remoteInfo.shareScope)?r:this.remoteInfo.shareScope||"default"};Object.defineProperty(l,"shareScopeMap",{value:t,enumerable:!1});let h=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:a,remoteEntryInitOptions:l,initScope:s,remoteInfo:this.remoteInfo,origin:this.host});void 0===(null==u?void 0:u.init)&&c(i.getShortErrorMsg(i.RUNTIME_002,i.runtimeDescMap,{remoteName:name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName})),await u.init(h.shareScope,h.initScope,h.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit(n._extends({},h,{id:e,remoteSnapshot:o,remoteEntryExports:u}))}this.lib=u,this.inited=!0,(a=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:u,expose:t,moduleInfo:this.remoteInfo}))||(a=await u.get(t)),l(a,`${f(this.remoteInfo)} remote don't export ${t}.`);let h=v(this.remoteInfo.name,t),d=this.wraperFactory(a,h);return s?await d():d}wraperFactory(e,t){function r(e,t){e&&"object"==typeof e&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for("mf_module_id"))&&Object.defineProperty(e,Symbol.for("mf_module_id"),{value:t,enumerable:!1})}return e instanceof Promise?async()=>{let n=await e();return r(n,t),n}:()=>{let n=e();return r(n,t),n}}constructor({remoteInfo:e,host:t}){this.inited=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}};class ti{on(e){"function"==typeof e&&this.listeners.add(e)}once(e){let t=this;this.on(function r(){for(var n=arguments.length,o=Array(n),i=0;i0&&this.listeners.forEach(t=>{e=t(...r)}),e}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}}class ta extends ti{emit(){let e;for(var t=arguments.length,r=Array(t),n=0;n0){let t=0,n=e=>!1!==e&&(t0){let r=0,n=t=>(u(t),this.onerror(t),e),o=i=>{if(ts(e,i)){if(e=i,r{let r=e[t];r&&this.lifecycle[t].on(r)}))}removePlugin(e){l(e,"A name is required.");let t=this.registerPlugins[e];l(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(t[e])})}inherit(e){let{lifecycle:t,registerPlugins:r}=e;Object.keys(t).forEach(e=>{l(!this.lifecycle[e],`The hook "${e}" has a conflict and cannot be inherited.`),this.lifecycle[e]=t[e]}),Object.keys(r).forEach(e=>{l(!this.registerPlugins[e],`The plugin "${e}" has a conflict and cannot be inherited.`),this.applyPlugin(r[e])})}constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}}function th(e){return n._extends({resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1},e)}function tf(e,t){return t.map(t=>{let r=e5(e,t.nameOrAlias);return l(r,`Unable to preload ${t.nameOrAlias} as it is not included in ${!r&&o.safeToString({remoteInfo:r,remotes:e})}`),{remote:r,preloadConfig:th(t)}})}function td(e){return e?e.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[]}function tp(e,t,r){let n=!(arguments.length>3)||void 0===arguments[3]||arguments[3],{cssAssets:i,jsAssetsWithoutEntry:a,entryAssets:s}=r;if(t.options.inBrowser){if(s.forEach(r=>{let{moduleInfo:n}=r,o=t.moduleCache.get(e.name);o?tr({origin:t,remoteInfo:n,remoteEntryExports:o.remoteEntryExports}):tr({origin:t,remoteInfo:n,remoteEntryExports:void 0})}),n){let e={rel:"preload",as:"style"};i.forEach(r=>{let{link:n,needAttach:i}=o.createLink({url:r,cb:()=>{},attrs:e,createLinkHook:(e,r)=>{let n=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:r});if(n instanceof HTMLLinkElement)return n}});i&&document.head.appendChild(n)})}else{let e={rel:"stylesheet",type:"text/css"};i.forEach(r=>{let{link:n,needAttach:i}=o.createLink({url:r,cb:()=>{},attrs:e,createLinkHook:(e,r)=>{let n=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:r});if(n instanceof HTMLLinkElement)return n},needDeleteLink:!1});i&&document.head.appendChild(n)})}if(n){let e={rel:"preload",as:"script"};a.forEach(r=>{let{link:n,needAttach:i}=o.createLink({url:r,cb:()=>{},attrs:e,createLinkHook:(e,r)=>{let n=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:r});if(n instanceof HTMLLinkElement)return n}});i&&document.head.appendChild(n)})}else{let r={fetchpriority:"high",type:(null==e?void 0:e.type)==="module"?"module":"text/javascript"};a.forEach(e=>{let{script:n,needAttach:i}=o.createScript({url:e,cb:()=>{},attrs:r,createScriptHook:(e,r)=>{let n=t.loaderHook.lifecycle.createScript.emit({url:e,attrs:r});if(n instanceof HTMLScriptElement)return n},needDeleteScript:!0});i&&document.head.appendChild(n)})}}}function tm(e,t){let r=b(t);r.url||c(`The attribute remoteEntry of ${e.name} must not be undefined.`);let n=o.getResourceUrl(t,r.url);o.isBrowserEnv()||n.startsWith("http")||(n=`https:${n}`),e.type=r.type,e.entryGlobalName=r.globalName,e.entry=n,e.version=t.version,e.buildVersion=t.buildVersion}function t_(){return{name:"snapshot-plugin",async afterResolve(e){let{remote:t,pkgNameOrAlias:r,expose:o,origin:i,remoteInfo:a}=e;if(!d(t)||!p(t)){let{remoteSnapshot:s,globalSnapshot:l}=await i.snapshotHandler.loadRemoteSnapshotInfo(t);tm(a,s);let c={remote:t,preloadConfig:{nameOrAlias:r,exposes:[o],resourceCategory:"sync",share:!1,depsRemote:!1}},u=await i.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:i,preloadOptions:c,remoteInfo:a,remote:t,remoteSnapshot:s,globalSnapshot:l});return u&&tp(a,i,u,!1),n._extends({},e,{remoteSnapshot:s})}return e}}}function ty(e){let t=e.split(":");return 1===t.length?{name:t[0],version:void 0}:2===t.length?{name:t[0],version:t[1]}:{name:t[1],version:t[2]}}function tg(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5?arguments[5]:void 0,{value:s}=D(e,f(t)),l=a||s;if(l&&!o.isManifestProvider(l)&&(r(l,t,n),l.remotesInfo))for(let t of Object.keys(l.remotesInfo)){if(i[t])continue;i[t]=!0;let n=ty(t),o=l.remotesInfo[t];tg(e,{name:n.name,version:o.matchedVersion},r,!1,i,void 0)}}let tE=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function tS(e,t,r,n,i){let a=[],s=[],l=[],c=new Set,u=new Set,{options:h}=e,{preloadConfig:f}=t,{depsRemote:d}=f;if(tg(n,r,(t,r,n)=>{let i;if(n)i=f;else if(Array.isArray(d)){let e=d.find(e=>e.nameOrAlias===r.name||e.nameOrAlias===r.alias);if(!e)return;i=th(e)}else{if(!0!==d)return;i=f}let c=o.getResourceUrl(t,b(t).url);c&&l.push({name:r.name,moduleInfo:{name:r.name,entry:c,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:r.name,shareScope:"",version:"version"in t?t.version:void 0},url:c});let u="modules"in t?t.modules:[],h=td(i.exposes);if(h.length&&"modules"in t){var p;u=null==t||null==(p=t.modules)?void 0:p.reduce((e,t)=>((null==h?void 0:h.indexOf(t.moduleName))!==-1&&e.push(t),e),[])}function m(e){let r=e.map(e=>o.getResourceUrl(t,e));return i.filter?r.filter(i.filter):r}if(u){let n=u.length;for(let o=0;o{let n=eZ(e.shareScopeMap,r.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare);n&&"function"==typeof n.lib&&(r.assets.js.sync.forEach(e=>{c.add(e)}),r.assets.css.sync.forEach(e=>{u.add(e)}))};i.shared.forEach(e=>{var r;let n=null==(r=h.shared)?void 0:r[e.sharedName];if(!n)return;let o=e.version?n.find(t=>t.version===e.version):n;o&&S(o).forEach(r=>{t(r,e)})})}let p=s.filter(e=>!c.has(e)&&!tE("script",e));return{cssAssets:a.filter(e=>!u.has(e)&&!tE("link",e)),jsAssetsWithoutEntry:p,entryAssets:l.filter(e=>!tE("script",e.url))}}let tb=function(){return{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){let{origin:t,preloadOptions:r,remoteInfo:n,remote:i,globalSnapshot:a,remoteSnapshot:s}=e;return o.isBrowserEnv()?d(i)&&p(i)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:i.name,url:i.entry,moduleInfo:{name:n.name,entry:i.entry,type:n.type||"global",entryGlobalName:"",shareScope:""}}]}:(tm(n,s),tS(t,r,n,a,s)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}};function tv(e,t){let r=F({name:t.options.name,version:t.options.version}),n=r&&"remotesInfo"in r&&r.remotesInfo&&D(r.remotesInfo,e.name).value;return n&&n.matchedVersion?{hostGlobalSnapshot:r,globalSnapshot:L(),remoteSnapshot:F({name:e.name,version:n.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:L(),remoteSnapshot:F({name:e.name,version:"version"in e?e.version:void 0})}}class tR{async loadSnapshot(e){let{options:t}=this.HostInstance,{hostGlobalSnapshot:r,remoteSnapshot:n,globalSnapshot:o}=this.getGlobalRemoteInfo(e),{remoteSnapshot:i,globalSnapshot:a}=await this.hooks.lifecycle.loadSnapshot.emit({options:t,moduleInfo:e,hostGlobalSnapshot:r,remoteSnapshot:n,globalSnapshot:o});return{remoteSnapshot:i,globalSnapshot:a}}async loadRemoteSnapshotInfo(e){let t,r,{options:a}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:a,moduleInfo:e});let s=F({name:this.HostInstance.options.name,version:this.HostInstance.options.version});s||(s={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},j({[this.HostInstance.options.name]:s})),s&&"remotesInfo"in s&&!D(s.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(s.remotesInfo=n._extends({},null==s?void 0:s.remotesInfo,{[e.name]:{matchedVersion:"version"in e?e.version:e.entry}}));let{hostGlobalSnapshot:l,remoteSnapshot:u,globalSnapshot:h}=this.getGlobalRemoteInfo(e),{remoteSnapshot:f,globalSnapshot:p}=await this.hooks.lifecycle.loadSnapshot.emit({options:a,moduleInfo:e,hostGlobalSnapshot:l,remoteSnapshot:u,globalSnapshot:h});if(f)if(o.isManifestProvider(f)){let i=o.isBrowserEnv()?f.remoteEntry:f.ssrRemoteEntry||f.remoteEntry||"",a=await this.getManifestJson(i,e,{}),s=H(n._extends({},e,{entry:i}),a);t=a,r=s}else{let{remoteSnapshot:n}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:f,from:"global"});t=n,r=p}else if(d(e)){let n=await this.getManifestJson(e.entry,e,{}),o=H(e,n),{remoteSnapshot:i}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:n,from:"global"});t=i,r=o}else c(i.getShortErrorMsg(i.RUNTIME_007,i.runtimeDescMap,{hostName:e.name,hostVersion:e.version,globalSnapshot:JSON.stringify(p)}));return await this.hooks.lifecycle.afterLoadSnapshot.emit({options:a,moduleInfo:e,remoteSnapshot:t}),{remoteSnapshot:t,globalSnapshot:r}}getGlobalRemoteInfo(e){return tv(e,this.HostInstance)}async getManifestJson(e,t,r){let n=async()=>{let r=this.manifestCache.get(e);if(r)return r;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{});t&&t instanceof Response||(t=await fetch(e,{})),r=await t.json()}catch(n){(r=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:n,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance}))||(delete this.manifestLoading[e],c(i.getShortErrorMsg(i.RUNTIME_003,i.runtimeDescMap,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${n}`)))}return l(r.metaData&&r.exposes&&r.shared,`${e} is not a federation manifest`),this.manifestCache.set(e,r),r},a=async()=>{let r=await n(),i=o.generateSnapshotFromManifest(r,{version:e}),{remoteSnapshot:a}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:r,remoteSnapshot:i,manifestUrl:e,from:"manifest"});return a};return this.manifestLoading[e]||(this.manifestLoading[e]=a().then(e=>e)),this.manifestLoading[e]}constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new tu({beforeLoadRemoteSnapshot:new ta("beforeLoadRemoteSnapshot"),loadSnapshot:new tc("loadGlobalSnapshot"),loadRemoteSnapshot:new tc("loadRemoteSnapshot"),afterLoadSnapshot:new tc("afterLoadSnapshot")}),this.manifestLoading=N.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}}class tI{registerShared(e,t){let{shareInfos:r,shared:n}=eW(e,t);return Object.keys(r).forEach(e=>{r[e].forEach(r=>{!eZ(this.shareScopeMap,e,r,this.hooks.lifecycle.resolveShare)&&r&&r.lib&&this.setShared({pkgName:e,lib:r.lib,get:r.get,loaded:!0,shared:r,from:t.name})})}),{shareInfos:r,shared:n}}async loadShare(e,t){let{host:r}=this,n=e0({pkgName:e,extraOptions:t,shareInfos:r.options.shared});(null==n?void 0:n.scope)&&await Promise.all(n.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:n.strategy}))}));let{shareInfo:o}=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:n,shared:r.options.shared,origin:r});l(o,`Cannot find ${e} Share in the ${r.options.name}. Please ensure that the ${e} Share parameters have been injected`);let i=eZ(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare),a=e=>{e.useIn||(e.useIn=[]),h(e.useIn,r.options.name)};if(i&&i.lib)return a(i),i.lib;if(i&&i.loading&&!i.loaded){let e=await i.loading;return i.loaded=!0,i.lib||(i.lib=e),a(i),e}if(i){let t=(async()=>{let t=await i.get();o.lib=t,o.loaded=!0,a(o);let r=eZ(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare);return r&&(r.lib=t,r.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:i,from:r.options.name,lib:null,loading:t}),t}{if(null==t?void 0:t.customShareInfo)return!1;let n=(async()=>{let t=await o.get();o.lib=t,o.loaded=!0,a(o);let r=eZ(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare);return r&&(r.lib=t,r.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:o,from:r.options.name,lib:null,loading:n}),n}}initializeSharing(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:V,t=arguments.length>1?arguments[1]:void 0,{host:r}=this,n=null==t?void 0:t.from,o=null==t?void 0:t.strategy,i=null==t?void 0:t.initScope,a=[];if("build"!==n){let{initTokens:t}=this;i||(i=[]);let r=t[e];if(r||(r=t[e]={from:this.host.name}),i.indexOf(r)>=0)return a;i.push(r)}let s=this.shareScopeMap,l=r.options.name;s[e]||(s[e]={});let c=s[e],u=(e,t)=>{var r;let{version:n,eager:o}=t;c[e]=c[e]||{};let i=c[e],a=i[n],s=!!(a&&(a.eager||(null==(r=a.shareConfig)?void 0:r.eager)));(!a||"loaded-first"!==a.strategy&&!a.loaded&&(!o!=!s?o:l>a.from))&&(i[n]=t)},h=t=>t&&t.init&&t.init(s[e],i),f=async e=>{let{module:t}=await r.remoteHandler.getRemoteModuleAndOptions({id:e});if(t.getEntry){let n;try{n=await t.getEntry()}catch(t){n=await r.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:t,from:"runtime",lifecycle:"beforeLoadShare",origin:r})}t.inited||(await h(n),t.inited=!0)}};return Object.keys(r.options.shared).forEach(t=>{r.options.shared[t].forEach(r=>{r.scope.includes(e)&&u(t,r)})}),("version-first"===r.options.shareStrategy||"version-first"===o)&&r.options.remotes.forEach(t=>{t.shareScope===e&&a.push(f(t.name))}),a}loadShareSync(e,t){let{host:r}=this,n=e0({pkgName:e,extraOptions:t,shareInfos:r.options.shared});(null==n?void 0:n.scope)&&n.scope.forEach(e=>{this.initializeSharing(e,{strategy:n.strategy})});let o=eZ(this.shareScopeMap,e,n,this.hooks.lifecycle.resolveShare),a=e=>{e.useIn||(e.useIn=[]),h(e.useIn,r.options.name)};if(o){if("function"==typeof o.lib)return a(o),o.loaded||(o.loaded=!0,o.from===r.options.name&&(n.loaded=!0)),o.lib;if("function"==typeof o.get){let t=o.get();if(!(t instanceof Promise))return a(o),this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:t,shared:o}),t}}if(n.lib)return n.loaded||(n.loaded=!0),n.lib;if(n.get){let o=n.get();if(o instanceof Promise){let n=(null==t?void 0:t.from)==="build"?i.RUNTIME_005:i.RUNTIME_006;throw Error(i.getShortErrorMsg(n,i.runtimeDescMap,{hostName:r.options.name,sharedPkgName:e}))}return n.lib=o,this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:n.lib,shared:n}),n.lib}throw Error(i.getShortErrorMsg(i.RUNTIME_006,i.runtimeDescMap,{hostName:r.options.name,sharedPkgName:e}))}initShareScopeMap(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{host:n}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:n.options,origin:n,scopeName:e,hostShareScopeMap:r.hostShareScopeMap})}setShared(e){let{pkgName:t,shared:r,from:o,lib:i,loading:a,loaded:s,get:l}=e,{version:c,scope:u="default"}=r,h=n._object_without_properties_loose(r,["version","scope"]);(Array.isArray(u)?u:[u]).forEach(e=>{if(this.shareScopeMap[e]||(this.shareScopeMap[e]={}),this.shareScopeMap[e][t]||(this.shareScopeMap[e][t]={}),!this.shareScopeMap[e][t][c]){this.shareScopeMap[e][t][c]=n._extends({version:c,scope:["default"]},h,{lib:i,loaded:s,loading:a}),l&&(this.shareScopeMap[e][t][c].get=l);return}let r=this.shareScopeMap[e][t][c];a&&!r.loading&&(r.loading=a)})}_setGlobalShareScopeMap(e){let t=eQ(),r=e.id||e.name;r&&!t[r]&&(t[r]=this.shareScopeMap)}constructor(e){this.hooks=new tu({afterResolve:new tc("afterResolve"),beforeLoadShare:new tc("beforeLoadShare"),loadShare:new ta,resolveShare:new tl("resolveShare"),initContainerShareScopeMap:new tl("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}}class tN{formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((e,t)=>(this.registerRemote(t,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,t){let{remote:r,expose:n}=t,{name:o,alias:i}=r;if(this.idToRemoteMap[e]={name:r.name,expose:n},i&&e.startsWith(o)){let t=e.replace(o,i);this.idToRemoteMap[t]={name:r.name,expose:n};return}if(i&&e.startsWith(i)){let t=e.replace(i,o);this.idToRemoteMap[t]={name:r.name,expose:n}}}async loadRemote(e,t){let{host:r}=this;try{let{loadFactory:n=!0}=t||{loadFactory:!0},{module:o,moduleOptions:i,remoteMatchInfo:a}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:s,remote:l,expose:c,id:u,remoteSnapshot:h}=a,f=await o.get(u,c,t,h),d=await this.hooks.lifecycle.onLoad.emit({id:u,pkgNameOrAlias:s,expose:c,exposeModule:n?f:void 0,exposeModuleFactory:n?void 0:f,remote:l,options:i,moduleInstance:o,origin:r});if(this.setIdToRemoteMap(e,a),"function"==typeof d)return d;return f}catch(i){let{from:n="runtime"}=t||{from:"runtime"},o=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:i,from:n,lifecycle:"onLoad",origin:r});if(!o)throw i;return o}}async preloadRemote(e){let{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});let r=tf(t.options.remotes,e);await Promise.all(r.map(async e=>{let{remote:r}=e,n=tn(r),{globalSnapshot:o,remoteSnapshot:i}=await t.snapshotHandler.loadRemoteSnapshotInfo(r),a=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:r,remoteInfo:n,globalSnapshot:o,remoteSnapshot:i});a&&tp(n,t,a)}))}registerRemotes(e,t){let{host:r}=this;e.forEach(e=>{this.registerRemote(e,r.options.remotes,{force:null==t?void 0:t.force})})}async getRemoteModuleAndOptions(e){let t,{host:r}=this,{id:o}=e;try{t=await this.hooks.lifecycle.beforeRequest.emit({id:o,options:r.options,origin:r})}catch(e){if(!(t=await this.hooks.lifecycle.errorLoadRemote.emit({id:o,options:r.options,origin:r,from:"runtime",error:e,lifecycle:"beforeRequest"})))throw e}let{id:a}=t,s=e3(r.options.remotes,a);l(s,i.getShortErrorMsg(i.RUNTIME_004,i.runtimeDescMap,{hostName:r.options.name,requestId:a}));let{remote:c}=s,u=tn(c),h=await r.sharedHandler.hooks.lifecycle.afterResolve.emit(n._extends({id:a},s,{options:r.options,origin:r,remoteInfo:u})),{remote:f,expose:d}=h;l(f&&d,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${a}.`);let p=r.moduleCache.get(f.name),m={host:r,remoteInfo:u};return p||(p=new to(m),r.moduleCache.set(f.name,p)),{module:p,moduleOptions:m,remoteMatchInfo:h}}registerRemote(e,t,r){let{host:n}=this,i=()=>{if(e.alias){let r=t.find(t=>{var r;return e.alias&&(t.name.startsWith(e.alias)||(null==(r=t.alias)?void 0:r.startsWith(e.alias)))});l(!r,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${r&&r.name} name or alias`)}"entry"in e&&o.isBrowserEnv()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=V),e.type||(e.type=q)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:n});let a=t.find(t=>t.name===e.name);if(a){let s=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];(null==r?void 0:r.force)&&(this.removeRemote(a),i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:n}),o.warn(s.join(" ")))}else i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:n})}removeRemote(e){try{let{host:r}=this,{name:n}=e,i=r.options.remotes.findIndex(e=>e.name===n);-1!==i&&r.options.remotes.splice(i,1);let a=r.moduleCache.get(e.name);if(a){let n=a.remoteInfo,i=n.entryGlobalName;if(R[i]){var t;(null==(t=Object.getOwnPropertyDescriptor(R,i))?void 0:t.configurable)?delete R[i]:R[i]=void 0}let s=tt(a.remoteInfo);A[s]&&delete A[s],r.snapshotHandler.manifestCache.delete(n.entry);let l=n.buildVersion?o.composeKeyWithSeparator(n.name,n.buildVersion):n.name,c=R.__FEDERATION__.__INSTANCES__.findIndex(e=>n.buildVersion?e.options.id===l:e.name===l);if(-1!==c){let e=R.__FEDERATION__.__INSTANCES__[c];l=e.options.id||l;let t=eQ(),r=!0,o=[];Object.keys(t).forEach(e=>{let i=t[e];i&&Object.keys(i).forEach(t=>{let a=i[t];a&&Object.keys(a).forEach(i=>{let s=a[i];s&&Object.keys(s).forEach(a=>{let l=s[a];l&&"object"==typeof l&&l.from===n.name&&(l.loaded||l.loading?(l.useIn=l.useIn.filter(e=>e!==n.name),l.useIn.length?r=!1:o.push([e,t,i,a])):o.push([e,t,i,a]))})})})}),r&&(e.shareScopeMap={},delete t[l]),o.forEach(e=>{var r,n,o;let[i,a,s,l]=e;null==(o=t[i])||null==(n=o[a])||null==(r=n[s])||delete r[l]}),R.__FEDERATION__.__INSTANCES__.splice(c,1)}let{hostGlobalSnapshot:u}=tv(e,r);if(u){let t=u&&"remotesInfo"in u&&u.remotesInfo&&D(u.remotesInfo,e.name).key;t&&(delete u.remotesInfo[t],N.__FEDERATION__.__MANIFEST_LOADING__[t]&&delete N.__FEDERATION__.__MANIFEST_LOADING__[t])}r.moduleCache.delete(e.name)}}catch(e){s.log("removeRemote fail: ",e)}}constructor(e){this.hooks=new tu({beforeRegisterRemote:new tl("beforeRegisterRemote"),registerRemote:new tl("registerRemote"),beforeRequest:new tc("beforeRequest"),onLoad:new ta("onLoad"),handlePreloadModule:new ti("handlePreloadModule"),errorLoadRemote:new ta("errorLoadRemote"),beforePreloadRemote:new ta("beforePreloadRemote"),generatePreloadAssets:new ta("generatePreloadAssets"),afterPreloadRemote:new ta,loadEntry:new ta}),this.host=e,this.idToRemoteMap={}}}class t${initOptions(e){this.registerPlugins(e.plugins);let t=this.formatOptions(this.options,e);return this.options=t,t}async loadShare(e,t){return this.sharedHandler.loadShare(e,t)}loadShareSync(e,t){return this.sharedHandler.loadShareSync(e,t)}initializeSharing(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:V,t=arguments.length>1?arguments[1]:void 0;return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,r){let n=new to({host:this,remoteInfo:tn({name:e,entry:t})});return n.remoteEntryExports=r,this.moduleCache.set(e,n),n}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.sharedHandler.initShareScopeMap(e,t,r)}formatOptions(e,t){let{shared:r}=eW(e,t),{userOptions:o,options:i}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:r}),a=this.remoteHandler.formatAndRegisterRemote(i,o),{shared:s}=this.sharedHandler.registerShared(i,o),l=[...i.plugins];o.plugins&&o.plugins.forEach(e=>{l.includes(e)||l.push(e)});let c=n._extends({},e,t,{plugins:l,remotes:a,shared:s});return this.hooks.lifecycle.init.emit({origin:this,options:c}),c}registerPlugins(e){let t=e8(e,[this.hooks,this.remoteHandler.hooks,this.sharedHandler.hooks,this.snapshotHandler.hooks,this.loaderHook,this.bridgeHook]);this.options.plugins=this.options.plugins.reduce((e,t)=>(t&&e&&!e.find(e=>e.name===t.name)&&e.push(t),e),t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}constructor(e){this.hooks=new tu({beforeInit:new tl("beforeInit"),init:new ti,beforeInitContainer:new tc("beforeInitContainer"),initContainer:new tc("initContainer")}),this.version="0.13.1",this.moduleCache=new Map,this.loaderHook=new tu({getModuleInfo:new ti,createScript:new ti,createLink:new ti,fetch:new ta,loadEntryError:new ta,getModuleFactory:new ta}),this.bridgeHook=new tu({beforeBridgeRender:new ti,afterBridgeRender:new ti,beforeBridgeDestroy:new ti,afterBridgeDestroy:new ti});let t={id:e2(),name:e.name,plugins:[t_(),tb()],remotes:[],shared:{},inBrowser:o.isBrowserEnv()};this.name=e.name,this.options=t,this.snapshotHandler=new tR(this),this.sharedHandler=new tI(this),this.remoteHandler=new tN(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...t.plugins,...e.plugins||[]]),this.options=this.formatOptions(t,e)}}var tO=Object.freeze({__proto__:null});t.loadScript=o.loadScript,t.loadScriptNode=o.loadScriptNode,t.CurrentGlobal=R,t.FederationHost=t$,t.Global=N,t.Module=to,t.addGlobalSnapshot=j,t.assert=l,t.getGlobalFederationConstructor=k,t.getGlobalSnapshot=L,t.getInfoWithoutType=D,t.getRegisteredShare=eZ,t.getRemoteEntry=tr,t.getRemoteInfo=tn,t.helpers=e1,t.isStaticResourcesEqual=E,t.matchRemoteWithNameAndExpose=e3,t.registerGlobalPlugins=U,t.resetFederationGlobalInfo=w,t.safeWrapper=m,t.satisfy=eG,t.setGlobalFederationConstructor=P,t.setGlobalFederationInstance=T,t.types=tO},538:function(e,t){function r(){return(r=Object.assign||function(e){for(var t=1;t=0||(o[r]=e[r]);return o}t._extends=r,t._object_without_properties_loose=n},364:function(e,t,r){var n=r(921),o=r(858);let i=null;function a(e){let t=o.getGlobalFederationInstance(e.name,e.version);return t?(t.initOptions(e),i||(i=t),t):(i=new(n.getGlobalFederationConstructor()||n.FederationHost)(e),n.setGlobalFederationInstance(i),i)}function s(){for(var e=arguments.length,t=Array(e),r=0;r!!r&&n.options.id===o()||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}},322:function(__unused_webpack_module,exports,__webpack_require__){var polyfills=__webpack_require__(877);let FederationModuleManifest="federation-manifest.json",MANIFEST_EXT=".json",BROWSER_LOG_KEY="FEDERATION_DEBUG",BROWSER_LOG_VALUE="1",NameTransformSymbol={AT:"@",HYPHEN:"-",SLASH:"/"},NameTransformMap={[NameTransformSymbol.AT]:"scope_",[NameTransformSymbol.HYPHEN]:"_",[NameTransformSymbol.SLASH]:"__"},EncodedNameTransformMap={[NameTransformMap[NameTransformSymbol.AT]]:NameTransformSymbol.AT,[NameTransformMap[NameTransformSymbol.HYPHEN]]:NameTransformSymbol.HYPHEN,[NameTransformMap[NameTransformSymbol.SLASH]]:NameTransformSymbol.SLASH},SEPARATOR=":",ManifestFileName="mf-manifest.json",StatsFileName="mf-stats.json",MFModuleType={NPM:"npm",APP:"app"},MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX",TEMP_DIR=".federation",MFPrefetchCommon={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"};var ContainerPlugin=Object.freeze({__proto__:null}),ContainerReferencePlugin=Object.freeze({__proto__:null}),ModuleFederationPlugin=Object.freeze({__proto__:null}),SharePlugin=Object.freeze({__proto__:null});function isBrowserEnv(){return"undefined"!=typeof window&&void 0!==window.document}function isReactNativeEnv(){var e;return"undefined"!=typeof navigator&&(null==(e=navigator)?void 0:e.product)==="ReactNative"}function isBrowserDebug(){try{if(isBrowserEnv()&&window.localStorage)return localStorage.getItem(BROWSER_LOG_KEY)===BROWSER_LOG_VALUE}catch(e){}return!1}function isDebugMode(){return"undefined"!=typeof process&&process.env&&process.env.FEDERATION_DEBUG?!!process.env.FEDERATION_DEBUG:!!("undefined"!=typeof FEDERATION_DEBUG&&FEDERATION_DEBUG)||isBrowserDebug()}let getProcessEnv=function(){return"undefined"!=typeof process&&process.env?process.env:{}},LOG_CATEGORY="[ Federation Runtime ]",parseEntry=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:SEPARATOR,n=e.split(r),o="development"===getProcessEnv().NODE_ENV&&t,i="*",a=e=>e.startsWith("http")||e.includes(MANIFEST_EXT);if(n.length>=2){let[t,...s]=n;e.startsWith(r)&&(t=n.slice(0,2).join(r),s=[o||n.slice(2).join(r)]);let l=o||s.join(r);return a(l)?{name:t,entry:l}:{name:t,version:l||i}}if(1===n.length){let[e]=n;return o&&a(o)?{name:e,entry:o}:{name:e,version:o||i}}throw`Invalid entry value: ${e}`},composeKeyWithSeparator=function(){for(var e=arguments.length,t=Array(e),r=0;rt?e?`${e}${SEPARATOR}${t}`:t:e,""):""},encodeName=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{let n=r?".js":"";return`${t}${e.replace(RegExp(`${NameTransformSymbol.AT}`,"g"),NameTransformMap[NameTransformSymbol.AT]).replace(RegExp(`${NameTransformSymbol.HYPHEN}`,"g"),NameTransformMap[NameTransformSymbol.HYPHEN]).replace(RegExp(`${NameTransformSymbol.SLASH}`,"g"),NameTransformMap[NameTransformSymbol.SLASH])}${n}`}catch(e){throw e}},decodeName=function(e,t,r){try{let n=e;if(t){if(!n.startsWith(t))return n;n=n.replace(RegExp(t,"g"),"")}return n=n.replace(RegExp(`${NameTransformMap[NameTransformSymbol.AT]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.SLASH]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.HYPHEN]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]),r&&(n=n.replace(".js","")),n}catch(e){throw e}},generateExposeFilename=(e,t)=>{if(!e)return"";let r=e;return"."===r&&(r="default_export"),r.startsWith("./")&&(r=r.replace("./","")),encodeName(r,"__federation_expose_",t)},generateShareFilename=(e,t)=>e?encodeName(e,"__federation_shared_",t):"",getResourceUrl=(e,t)=>{if("getPublicPath"in e){let r;return r=e.getPublicPath.startsWith("function")?Function("return "+e.getPublicPath)()():Function(e.getPublicPath)(),`${r}${t}`}return"publicPath"in e?!isBrowserEnv()&&!isReactNativeEnv()&&"ssrPublicPath"in e?`${e.ssrPublicPath}${t}`:`${e.publicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},assert=(e,t)=>{e||error(t)},error=e=>{throw Error(`${LOG_CATEGORY}: ${e}`)},warn=e=>{console.warn(`${LOG_CATEGORY}: ${e}`)};function safeToString(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}let VERSION_PATTERN_REGEXP=/^([\d^=v<>~]|[*xX]$)/;function isRequiredVersion(e){return VERSION_PATTERN_REGEXP.test(e)}let simpleJoinRemoteEntry=(e,t)=>{if(!e)return t;let r=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){let t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return r?r.endsWith("/")?`${r}${t}`:`${r}/${t}`:t};function inferAutoPublicPath(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(e){var t,r,n;let o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{remotes:a={},overrides:s={},version:l}=i,c=()=>"publicPath"in e.metaData?"auto"===e.metaData.publicPath&&l?inferAutoPublicPath(l):e.metaData.publicPath:e.metaData.getPublicPath,u=Object.keys(s),h={};Object.keys(a).length||(h=(null==(n=e.remotes)?void 0:n.reduce((e,t)=>{let r,n=t.federationContainerName;return r=u.includes(n)?s[n]:"version"in t?t.version:t.entry,e[n]={matchedVersion:r},e},{}))||{}),Object.keys(a).forEach(e=>h[e]={matchedVersion:u.includes(e)?s[e]:a[e]});let{remoteEntry:{path:f,name:d,type:p},types:m,buildInfo:{buildVersion:_},globalName:y,ssrRemoteEntry:g}=e.metaData,{exposes:E}=e,S={version:l||"",buildVersion:_,globalName:y,remoteEntry:simpleJoinRemoteEntry(f,d),remoteEntryType:p,remoteTypes:simpleJoinRemoteEntry(m.path,m.name),remoteTypesZip:m.zip||"",remoteTypesAPI:m.api||"",remotesInfo:h,shared:null==e?void 0:e.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version})),modules:null==E?void 0:E.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if(null==(t=e.metaData)?void 0:t.prefetchInterface){let t=e.metaData.prefetchInterface;S=polyfills._({},S,{prefetchInterface:t})}if(null==(r=e.metaData)?void 0:r.prefetchEntry){let{path:t,name:r,type:n}=e.metaData.prefetchEntry;S=polyfills._({},S,{prefetchEntry:simpleJoinRemoteEntry(t,r),prefetchEntryType:n})}return o="publicPath"in e.metaData?polyfills._({},S,{publicPath:c(),ssrPublicPath:e.metaData.ssrPublicPath}):polyfills._({},S,{getPublicPath:c()}),g&&(o.ssrRemoteEntry=simpleJoinRemoteEntry(g.path,g.name),o.ssrRemoteEntryType=g.type||"commonjs-module"),o}function isManifestProvider(e){return!!("remoteEntry"in e&&e.remoteEntry.includes(MANIFEST_EXT))}let PREFIX="[ Module Federation ]",Logger=class{setPrefix(e){this.prefix=e}log(){for(var e=arguments.length,t=Array(e),r=0;r{r&&("async"===e||"defer"===e?r[e]=n[e]:r.getAttribute(e)||r.setAttribute(e,n[e]))})}let a=async(n,o)=>{clearTimeout(t);let i=()=>{(null==o?void 0:o.type)==="error"?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(o)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(r&&(r.onerror=null,r.onload=null,safeWrapper(()=>{let{needDeleteScript:t=!0}=e;t&&(null==r?void 0:r.parentNode)&&r.parentNode.removeChild(r)}),n&&"function"==typeof n)){let e=n(o);if(e instanceof Promise){let t=await e;return i(),t}return i(),e}i()};return r.onerror=a.bind(null,r.onerror),r.onload=a.bind(null,r.onload),t=setTimeout(()=>{a(null,Error(`Remote script "${e.url}" time-outed.`))},o),{script:r,needAttach:n}}function createLink(e){let t=null,r=!0,n=document.getElementsByTagName("link");for(let o=0;o{t&&!t.getAttribute(e)&&t.setAttribute(e,n[e])})}let o=(r,n)=>{let o=()=>{(null==n?void 0:n.type)==="error"?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(n)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(t&&(t.onerror=null,t.onload=null,safeWrapper(()=>{let{needDeleteLink:r=!0}=e;r&&(null==t?void 0:t.parentNode)&&t.parentNode.removeChild(t)}),r)){let e=r(n);return o(),e}o()};return t.onerror=o.bind(null,t.onerror),t.onload=o.bind(null,t.onload),{link:t,needAttach:r}}function loadScript(e,t){let{attrs:r={},createScriptHook:n}=t;return new Promise((t,o)=>{let{script:i,needAttach:a}=createScript({url:e,cb:t,onErrorCallback:o,attrs:polyfills._({fetchpriority:"high"},r),createScriptHook:n,needDeleteScript:!0});a&&document.head.appendChild(i)})}function importNodeModule(e){if(!e)throw Error("import specifier is required");return Function("name","return import(name)")(e).then(e=>e).catch(t=>{throw console.error(`Error importing module ${e}:`,t),t})}let loadNodeFetch=async()=>{let e=await importNodeModule("node-fetch");return e.default||e},lazyLoaderHookFetch=async(e,t,r)=>{let n=(e,t)=>r.lifecycle.fetch.emit(e,t),o=await n(e,t||{});return o&&o instanceof Response?o:("undefined"==typeof fetch?await loadNodeFetch():fetch)(e,t||{})};function createScriptNode(url,cb,attrs,loaderHook){let urlObj;if(null==loaderHook?void 0:loaderHook.createScriptHook){let hookResult=loaderHook.createScriptHook(url);hookResult&&"object"==typeof hookResult&&"url"in hookResult&&(url=hookResult.url)}try{urlObj=new URL(url)}catch(e){console.error("Error constructing URL:",e),cb(Error(`Invalid URL: ${e}`));return}let getFetch=async()=>(null==loaderHook?void 0:loaderHook.fetch)?(e,t)=>lazyLoaderHookFetch(e,t,loaderHook):"undefined"==typeof fetch?loadNodeFetch():fetch,handleScriptFetch=async(f,urlObj)=>{try{var _vm_constants,_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER;let res=await f(urlObj.href),data=await res.text(),[path,vm]=await Promise.all([importNodeModule("path"),importNodeModule("vm")]),scriptContext={exports:{},module:{exports:{}}},urlDirname=urlObj.pathname.split("/").slice(0,-1).join("/"),filename=path.basename(urlObj.pathname),script=new vm.Script(`(function(exports, module, require, __dirname, __filename) {${data} -})`,{filename,importModuleDynamically:null!=(_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER=null==(_vm_constants=vm.constants)?void 0:_vm_constants.USE_MAIN_CONTEXT_DEFAULT_LOADER)?_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER:importNodeModule});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);let exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs.globalName){let container=exportedInterface[attrs.globalName]||exportedInterface;cb(void 0,container);return}cb(void 0,exportedInterface)}catch(e){cb(e instanceof Error?e:Error(`Script execution error: ${e}`))}};getFetch().then(async e=>{if((null==attrs?void 0:attrs.type)==="esm"||(null==attrs?void 0:attrs.type)==="module")return loadModule(urlObj.href,{fetch:e,vm:await importNodeModule("vm")}).then(async e=>{await e.evaluate(),cb(void 0,e.namespace)}).catch(e=>{cb(e instanceof Error?e:Error(`Script execution error: ${e}`))});handleScriptFetch(e,urlObj)}).catch(e=>{cb(e)})}function loadScriptNode(e,t){return new Promise((r,n)=>{createScriptNode(e,(e,o)=>{if(e)n(e);else{var i,a;let e=(null==t||null==(i=t.attrs)?void 0:i.globalName)||`__FEDERATION_${null==t||null==(a=t.attrs)?void 0:a.name}:custom__`;r(globalThis[e]=o)}},t.attrs,t.loaderHook)})}async function loadModule(e,t){let{fetch:r,vm:n}=t,o=await r(e),i=await o.text(),a=new n.SourceTextModule(i,{importModuleDynamically:async(r,n)=>loadModule(new URL(r,e).href,t)});return await a.link(async r=>{let n=new URL(r,e).href;return await loadModule(n,t)}),a}function normalizeOptions(e,t,r){return function(n){if(!1===n)return!1;if(void 0===n)if(e)return t;else return!1;if(!0===n)return t;if(n&&"object"==typeof n)return polyfills._({},t,n);throw Error(`Unexpected type for \`${r}\`, expect boolean/undefined/object, got: ${typeof n}`)}}exports.BROWSER_LOG_KEY=BROWSER_LOG_KEY,exports.BROWSER_LOG_VALUE=BROWSER_LOG_VALUE,exports.ENCODE_NAME_PREFIX=ENCODE_NAME_PREFIX,exports.EncodedNameTransformMap=EncodedNameTransformMap,exports.FederationModuleManifest=FederationModuleManifest,exports.MANIFEST_EXT=MANIFEST_EXT,exports.MFModuleType=MFModuleType,exports.MFPrefetchCommon=MFPrefetchCommon,exports.MODULE_DEVTOOL_IDENTIFIER=MODULE_DEVTOOL_IDENTIFIER,exports.ManifestFileName=ManifestFileName,exports.NameTransformMap=NameTransformMap,exports.NameTransformSymbol=NameTransformSymbol,exports.SEPARATOR=SEPARATOR,exports.StatsFileName=StatsFileName,exports.TEMP_DIR=TEMP_DIR,exports.assert=assert,exports.composeKeyWithSeparator=composeKeyWithSeparator,exports.containerPlugin=ContainerPlugin,exports.containerReferencePlugin=ContainerReferencePlugin,exports.createLink=createLink,exports.createLogger=createLogger,exports.createScript=createScript,exports.createScriptNode=createScriptNode,exports.decodeName=decodeName,exports.encodeName=encodeName,exports.error=error,exports.generateExposeFilename=generateExposeFilename,exports.generateShareFilename=generateShareFilename,exports.generateSnapshotFromManifest=generateSnapshotFromManifest,exports.getProcessEnv=getProcessEnv,exports.getResourceUrl=getResourceUrl,exports.inferAutoPublicPath=inferAutoPublicPath,exports.isBrowserEnv=isBrowserEnv,exports.isDebugMode=isDebugMode,exports.isManifestProvider=isManifestProvider,exports.isReactNativeEnv=isReactNativeEnv,exports.isRequiredVersion=isRequiredVersion,exports.isStaticResourcesEqual=isStaticResourcesEqual,exports.loadScript=loadScript,exports.loadScriptNode=loadScriptNode,exports.logger=logger,exports.moduleFederationPlugin=ModuleFederationPlugin,exports.normalizeOptions=normalizeOptions,exports.parseEntry=parseEntry,exports.safeToString=safeToString,exports.safeWrapper=safeWrapper,exports.sharePlugin=SharePlugin,exports.simpleJoinRemoteEntry=simpleJoinRemoteEntry,exports.warn=warn},877:function(e,t){function r(){return(r=Object.assign||function(e){for(var t=1;t{let t=l.R;t||(t=[]);let n=s[e],a=c[e];if(t.indexOf(n)>=0)return;if(t.push(n),n.p)return r.push(n.p);let u=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=` -while loading "${n[1]}" from ${n[2]}`),l.m[e]=()=>{throw t},n.p=0},h=(e,t,o,i,a,s)=>{try{let l=e(t,o);if(!l||!l.then)return a(l,i,s);{let e=l.then(e=>a(e,i),u);if(!s)return e;r.push(n.p=e)}}catch(e){u(e)}},f=(e,t,r)=>e?h(l.I,n[0],0,e,d,r):u();var d=(e,r,o)=>h(r.get,n[1],t,0,p,o),p=t=>{n.p=1,l.m[e]=e=>{e.exports=t()}};let m=()=>{try{let e=i.decodeName(a[0].name,i.ENCODE_NAME_PREFIX)+n[1].slice(1),t=l.federation.instance,r=()=>l.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy)return Promise.all(t.sharedHandler.initializeSharing(n[0])).then(()=>r());return r()}catch(e){u(e)}};1===a.length&&o.FEDERATION_SUPPORTED_TYPES.includes(a[0].externalType)&&a[0].name?h(m,n[2],0,0,p,1):h(l,n[2],0,0,f,1)})}function l(e){let{chunkId:t,promises:r,chunkMapping:n,installedModules:o,moduleToHandlerMapping:i,webpackRequire:s}=e;a(s),s.o(n,t)&&n[t].forEach(e=>{if(s.o(o,e))return r.push(o[e]);let t=t=>{o[e]=0,s.m[e]=r=>{delete s.c[e],r.exports=t()}},n=t=>{delete o[e],s.m[e]=r=>{throw delete s.c[e],t}};try{let a=s.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:l,getter:c,shareInfo:u}=i[e],h=a.loadShare(l,{customShareInfo:u}).then(e=>!1===e?c():e);h.then?r.push(o[e]=h.then(t).catch(n)):t(h)}catch(e){n(e)}})}function c(e){let{shareScopeName:t,webpackRequire:r,initPromises:n,initTokens:i,initScope:s}=e,l=Array.isArray(t)?t:[t];var c=[],u=function(e){s||(s=[]);let l=r.federation.instance;var c=i[e];if(c||(c=i[e]={from:l.name}),s.indexOf(c)>=0)return;s.push(c);let u=n[e];if(u)return u;var h=e=>"undefined"!=typeof console&&console.warn&&console.warn(e),f=n=>{var o=e=>h("Initialization of sharing external failed: "+e);try{var i=r(n);if(!i)return;var a=n=>n&&n.init&&n.init(r.S[e],s,{shareScopeMap:r.S||{},shareScopeKeys:t});if(i.then)return d.push(i.then(a,o));var l=a(i);if(l&&"boolean"!=typeof l&&l.then)return d.push(l.catch(o))}catch(e){o(e)}};let d=l.initializeSharing(e,{strategy:l.options.shareStrategy,initScope:s,from:"build"});a(r);let p=r.federation.bundlerRuntimeOptions.remotes;return(p&&Object.keys(p.idToRemoteMap).forEach(e=>{let t=p.idToRemoteMap[e],r=p.idToExternalAndNameMapping[e][2];if(t.length>1)f(r);else if(1===t.length){let e=t[0];o.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||f(r)}}),d.length)?n[e]=Promise.all(d).then(()=>n[e]=!0):n[e]=!0};return l.forEach(e=>{c.push(u(e))}),Promise.all(c).then(()=>!0)}function u(e){let{moduleId:t,moduleToHandlerMapping:r,webpackRequire:n}=e,o=n.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:i,shareInfo:a}=r[t];try{return o.loadShareSync(i,{customShareInfo:a})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}function h(e){let{moduleToHandlerMapping:t,webpackRequire:r,installedModules:n,initialConsumes:o}=e;o.forEach(e=>{r.m[e]=o=>{n[e]=0,delete r.c[e];let i=u({moduleId:e,moduleToHandlerMapping:t,webpackRequire:r});if("function"!=typeof i)throw Error(`Shared module is not available for eager consumption: ${e}`);o.exports=i()}})}function f(){return(f=Object.assign||function(e){for(var t=1;t{if(!s||!l)return void a.initShareScopeMap(e,r,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}});l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}})});else{let e=o||"default";Array.isArray(s)?s.forEach(e=>{l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}})}):a.initShareScopeMap(e,r,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),"function"==typeof t.federation.prefetch&&t.federation.prefetch(),Array.isArray(o))?t.federation.initOptions.shared?t.I(o,n):Promise.all(o.map(e=>t.I(e,n))).then(()=>!0):t.I(o||"default",n)}e.exports={runtime:function(e){var t=Object.create(null);if(e)for(var r in e)t[r]=e[r];return t.default=e,Object.freeze(t)}(n),instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:s,consumes:l,I:c,S:{},installInitialConsumes:h,initContainerEntry:d},attachShareScopeMap:a,bundlerRuntimeOptions:{}}},196:function(e,t,r){var n,o,i,a,s,l,c,u,h,f,d,p,m=r(950),_=r.n(m);let y=[],g={"@sdk":[{alias:"@sdk",externalType:"promise",shareScope:"default"}]},E="pimcore_studio_ui_bundle_core",S="version-first";if((r.initializeSharingData||r.initializeExposesData)&&r.federation){let e=(e,t,r)=>{e&&e[t]&&(e[t]=r)},t=(e,t,r)=>{var n,o,i,a,s,l;let c=r();Array.isArray(c)?(null!=(i=(n=e)[o=t])||(n[o]=[]),e[t].push(...c)):"object"==typeof c&&null!==c&&(null!=(l=(a=e)[s=t])||(a[s]={}),Object.assign(e[t],c))},m=(e,t,r)=>{var n,o,i;null!=(i=(n=e)[o=t])||(n[o]=r())},b=null!=(u=null==(n=r.remotesLoadingData)?void 0:n.chunkMapping)?u:{},v=null!=(h=null==(o=r.remotesLoadingData)?void 0:o.moduleIdToRemoteDataMapping)?h:{},R=null!=(f=null==(i=r.initializeSharingData)?void 0:i.scopeToSharingDataMapping)?f:{},I=null!=(d=null==(a=r.consumesLoadingData)?void 0:a.chunkMapping)?d:{},N=null!=(p=null==(s=r.consumesLoadingData)?void 0:s.moduleIdToConsumeDataMapping)?p:{},$={},O=[],A={},M=null==(l=r.initializeExposesData)?void 0:l.shareScope;for(let e in _())r.federation[e]=_()[e];m(r.federation,"consumesLoadingModuleToHandlerMapping",()=>{let e={};for(let[t,r]of Object.entries(N))e[t]={getter:r.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:r.requiredVersion,strictVersion:r.strictVersion,singleton:r.singleton,eager:r.eager},scope:[r.shareScope]},shareKey:r.shareKey};return e}),m(r.federation,"initOptions",()=>({})),m(r.federation.initOptions,"name",()=>E),m(r.federation.initOptions,"shareStrategy",()=>S),m(r.federation.initOptions,"shared",()=>{let e={};for(let[t,r]of Object.entries(R))for(let n of r)if("object"==typeof n&&null!==n){let{name:r,version:o,factory:i,eager:a,singleton:s,requiredVersion:l,strictVersion:c}=n,u={},h=function(e){return void 0!==e};h(s)&&(u.singleton=s),h(l)&&(u.requiredVersion=l),h(a)&&(u.eager=a),h(c)&&(u.strictVersion=c);let f={version:o,scope:[t],shareConfig:u,get:i};e[r]?e[r].push(f):e[r]=[f]}return e}),t(r.federation.initOptions,"remotes",()=>Object.values(g).flat().filter(e=>"script"===e.externalType)),t(r.federation.initOptions,"plugins",()=>y),m(r.federation,"bundlerRuntimeOptions",()=>({})),m(r.federation.bundlerRuntimeOptions,"remotes",()=>({})),m(r.federation.bundlerRuntimeOptions.remotes,"chunkMapping",()=>b),m(r.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",()=>{let e={};for(let[t,r]of Object.entries(v))e[t]=[r.shareScope,r.name,r.externalModuleId,r.remoteName];return e}),m(r.federation.bundlerRuntimeOptions.remotes,"webpackRequire",()=>r),t(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",()=>{let e={};for(let[t,r]of Object.entries(v)){let n=g[r.remoteName];n&&(e[t]=n)}return e}),e(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),e(r.f,"remotes",(e,t)=>r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:b,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})),e(r.f,"consumes",(e,t)=>r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:I,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:$,webpackRequire:r})),e(r,"I",(e,t)=>r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:O,initTokens:A,webpackRequire:r})),e(r,"initContainer",(e,t,n)=>r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:M,webpackRequire:r})),e(r,"getContainer",(e,t)=>{var n=r.initializeExposesData.moduleMap;return r.R=t,t=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(()=>{throw Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t}),r.federation.instance=r.federation.runtime.init(r.federation.initOptions),(null==(c=r.consumesLoadingData)?void 0:c.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:$,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}}}]); \ No newline at end of file diff --git a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/772.a5df2f14.js.LICENSE.txt b/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/772.a5df2f14.js.LICENSE.txt deleted file mode 100644 index 8693fb8316..0000000000 --- a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/772.a5df2f14.js.LICENSE.txt +++ /dev/null @@ -1,13 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ \ No newline at end of file diff --git a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/documentEditorIframe.52abb870.js b/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/documentEditorIframe.52abb870.js deleted file mode 100644 index 47af080076..0000000000 --- a/public/build/17d12fee-58d2-4d1f-bb4e-ae75c1505016/static/js/documentEditorIframe.52abb870.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see documentEditorIframe.52abb870.js.LICENSE.txt */ -(()=>{var e={814:function(e,r,t){t.e("256").then(t.t.bind(t,39,23))},408:function(e){"use strict";e.exports=new Promise(e=>{let r=window.StudioUIBundleRemoteUrl,t=document.createElement("script");t.src=r,t.onload=()=>{e({get:e=>window.pimcore_studio_ui_bundle.get(e),init:(...e)=>{try{return window.pimcore_studio_ui_bundle.init(...e)}catch(e){console.log("remote container already initialized")}}})},document.head.appendChild(t)})}},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var i=r[o]={exports:{}};return e[o](i,i.exports,t),i.exports}t.m=e,t.c=r,t.federation||(t.federation={chunkMatcher:function(e){return 256!=e},rootOutputDir:"../../"}),t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},(()=>{var e,r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;t.t=function(o,n){if(1&n&&(o=this(o)),8&n||"object"==typeof o&&o&&(4&n&&o.__esModule||16&n&&"function"==typeof o.then))return o;var i=Object.create(null);t.r(i);var a={};e=e||[null,r({}),r([]),r(r)];for(var u=2&n&&o;"object"==typeof u&&!~e.indexOf(u);u=r(u))Object.getOwnPropertyNames(u).forEach(e=>{a[e]=()=>o[e]});return a.default=()=>o,t.d(i,a),i}})(),t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>""+e+".javascript",t.miniCssF=e=>""+e+".css",t.h=()=>"0a05719595126fce",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={},r="pimcore_studio_ui_bundle_core:";t.l=function(o,n,i,a){if(e[o])return void e[o].push(n);if(void 0!==i)for(var u,d,c=document.getElementsByTagName("script"),l=0;l{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e=[];t.O=(r,o,n,i)=>{if(o){i=i||0;for(var a=e.length;a>0&&e[a-1][2]>i;a--)e[a]=e[a-1];e[a]=[o,n,i];return}for(var u=1/0,a=0;a=i)&&Object.keys(t.O).every(e=>t.O[e](o[c]))?o.splice(c--,1):(d=!1,i"1.3.12",t.S={},t.initializeSharingData={scopeToSharingDataMapping:{default:[408]},uniqueName:"pimcore_studio_ui_bundle_core"},t.I=t.I||function(){throw Error("should have __webpack_require__.I")},(()=>{var e={473:0};t.f.j=function(r,o){var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else if(256!=r){var i=new Promise((t,o)=>n=e[r]=[t,o]);o.push(n[2]=i);var a=t.p+t.u(r),u=Error();t.l(a,function(o){if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var i=o&&("load"===o.type?"missing":o.type),a=o&&o.target&&o.target.src;u.message="Loading chunk "+r+" failed.\n("+i+": "+a+")",u.name="ChunkLoadError",u.type=i,u.request=a,n[1](u)}},"chunk-"+r,r)}else e[r]=0},t.O.j=r=>0===e[r];var r=(r,o)=>{var n,i,[a,u,d]=o,c=0;if(a.some(r=>0!==e[r])){for(n in u)t.o(u,n)&&(t.m[n]=u[n]);if(d)var l=d(t)}for(r&&r(o);c{var e={987:function(e,r,t){t.e("765").then(t.t.bind(t,439,23))},408:function(e){"use strict";e.exports=new Promise(e=>{let r=window.StudioUIBundleRemoteUrl,t=document.createElement("script");t.src=r,t.onload=()=>{e({get:e=>window.pimcore_studio_ui_bundle.get(e),init:(...e)=>{try{return window.pimcore_studio_ui_bundle.init(...e)}catch(e){console.log("remote container already initialized")}}})},document.head.appendChild(t)})}},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var i=r[o]={exports:{}};return e[o](i,i.exports,t),i.exports}t.m=e,t.c=r,t.federation||(t.federation={chunkMatcher:function(e){return 765!=e},rootOutputDir:"../../"}),t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},(()=>{var e,r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;t.t=function(o,n){if(1&n&&(o=this(o)),8&n||"object"==typeof o&&o&&(4&n&&o.__esModule||16&n&&"function"==typeof o.then))return o;var i=Object.create(null);t.r(i);var a={};e=e||[null,r({}),r([]),r(r)];for(var u=2&n&&o;"object"==typeof u&&!~e.indexOf(u);u=r(u))Object.getOwnPropertyNames(u).forEach(e=>{a[e]=()=>o[e]});return a.default=()=>o,t.d(i,a),i}})(),t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>""+e+".javascript",t.miniCssF=e=>""+e+".css",t.h=()=>"0a05719595126fce",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={},r="pimcore_studio_ui_bundle_core:";t.l=function(o,n,i,a){if(e[o])return void e[o].push(n);if(void 0!==i)for(var u,d,c=document.getElementsByTagName("script"),l=0;l{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e=[];t.O=(r,o,n,i)=>{if(o){i=i||0;for(var a=e.length;a>0&&e[a-1][2]>i;a--)e[a]=e[a-1];e[a]=[o,n,i];return}for(var u=1/0,a=0;a=i)&&Object.keys(t.O).every(e=>t.O[e](o[c]))?o.splice(c--,1):(d=!1,i"1.3.12",t.S={},t.initializeSharingData={scopeToSharingDataMapping:{default:[408]},uniqueName:"pimcore_studio_ui_bundle_core"},t.I=t.I||function(){throw Error("should have __webpack_require__.I")},(()=>{var e={909:0};t.f.j=function(r,o){var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else if(765!=r){var i=new Promise((t,o)=>n=e[r]=[t,o]);o.push(n[2]=i);var a=t.p+t.u(r),u=Error();t.l(a,function(o){if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var i=o&&("load"===o.type?"missing":o.type),a=o&&o.target&&o.target.src;u.message="Loading chunk "+r+" failed.\n("+i+": "+a+")",u.name="ChunkLoadError",u.type=i,u.request=a,n[1](u)}},"chunk-"+r,r)}else e[r]=0},t.O.j=r=>0===e[r];var r=(r,o)=>{var n,i,[a,u,d]=o,c=0;if(a.some(r=>0!==e[r])){for(n in u)t.o(u,n)&&(t.m[n]=u[n]);if(d)var l=d(t)}for(r&&r(o);cRsbuild App
\ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/manifest.json b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/manifest.json deleted file mode 100644 index 3d83a7a3d8..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/manifest.json +++ /dev/null @@ -1,389 +0,0 @@ -{ - "allFiles": [ - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5402.277643cf.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1888.71926ec6.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4650.2e475083.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4854.58d64832.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1567.c410da58.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7981.970f7b9e.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/8385.2a34f10f.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3969.2cf8ec77.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5435.f7ef0649.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7830.a6bff57b.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/8360.37dcc5f2.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1778.a1f5a658.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5639.5ee87fc3.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/281.5cceb334.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3948.ca4bddea.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4374.c99deb71.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/6565.565c63bb.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7700.6fde9ad3.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3956.c2c369d8.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5853.e0681c6c.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4876.35267c1f.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5991.735b928d.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/6671.78f65d14.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1447.13bc4d3d.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/448.3498365b.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1595.3793e4f4.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_modules__class_definitions.d4cb21eb.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_modules__icon_library.43a2c8cb.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__version.684ede24.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_modules__wysiwyg.c676fcab.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/css/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.f1ed34c6.css", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.5d4485bb.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api.46234726.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__custom_metadata.f5874161.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_default_export.b3f494c2.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__workflow.736afce0.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__role.1226ef66.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__metadata.cd14d866.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__translations.0483ea62.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__documents.59c9fc3e.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/remoteEntry.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__data_object.7d999b9b.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_app.9a6b0474.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__thumbnails.a2f2ee78.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_modules__data_object.8da9275a.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_modules__asset.8fe72e5e.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__schedule.688ff643.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_modules__user.4067a3c6.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_utils.6ea8070a.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__settings.d9c7cef6.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__dependencies.f881ac9d.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__user.1e7a9397.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__properties.ffe62ecf.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__perspectives.c562c1e2.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/index.eefe833d.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__elements.202a64c7.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/css/async/__federation_expose__internal___mf_bootstrap.f1ed34c6.css", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose__internal___mf_bootstrap.4a90ac4c.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__tags.3d78c211.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/8526.4e934ad8.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1047.12877d03.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/css/async/9469.25a232f9.css", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/9469.52343c9f.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7599.f501b0a1.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/1150.4a6b0826.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7448.b6c4afec.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7577.8bcede34.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1869.de93aa94.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7230.e367c350.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/6570.6a6f07f5.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/6046.859a0f48.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3066.9cd9ccd8.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/rs.inline.689a8671.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/do.inline.264768fd.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/me.inline.db16b5ec.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/es.inline.408c4329.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/sv.inline.753cddcc.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/va.inline.405dc2da.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/bt.inline.47a891b1.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/af.inline.fec1a548.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/hr.inline.9f3eb9c7.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/sh.inline.7f6e59d0.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/mx.inline.bdf8bbb3.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Light.bec6f0ae.ttf", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Regular.4291f48c.ttf", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/tm.inline.ce53d7e3.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Bold.2c00c297.ttf", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/gt.inline.79c6d996.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/ad.inline.5718e36e.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/ai.inline.f1f4c108.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/bz.inline.85c81fc9.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/om.inline.0bf08070.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/vg.inline.ddc1f05b.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/mp.inline.4d37bdb2.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/gs.inline.50e91486.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/ir.inline.6c41123a.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/ky.inline.2ce3f34c.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/fk.inline.2907e14d.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/mf-stats.json", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/io.inline.3716e200.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/ec.inline.f4507970.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/sm.inline.bcf311fd.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/mf-manifest.json", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/ar.inline.cc32239a.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/bm.inline.b55e10b1.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/py.inline.c62aae82.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/ni.inline.33e210d8.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/sx.inline.912210d5.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/pn.inline.c1f0d0cf.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/us.inline.390d8624.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/um.inline.38c1c6d2.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/fj.inline.18618864.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/tc.inline.d0f5e3ec.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/bn.inline.07cc7c59.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/mt.inline.3dee1168.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/sa.inline.561ca0e8.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/gi.inline.2a5c3fff.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/kz.inline.67362c3d.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/dm.inline.54d1489b.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/kh.inline.f914e95d.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/md.inline.2a1436bb.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/gq.inline.7e38dd34.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/lk.inline.835822d4.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/eg.inline.6db7b891.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/im.inline.194dc918.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/nf.inline.ffbdef72.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/aw.inline.8b05932f.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/gb-wls.inline.995b3f62.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/sz.inline.59ad5eb7.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/vi.inline.d0ea2e5b.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/br.inline.694e855a.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/li.inline.b4e109c9.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/pt.inline.2ddb5f4f.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/as.inline.5fb74fc4.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/uy.inline.4efdfc41.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/je.inline.c93fbc52.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/zm.inline.9f49d90d.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/pf.inline.a66b3945.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/ms.inline.a58e4e36.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/cy.inline.df5b101e.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/by.inline.c9762012.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/ki.inline.36212d50.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/mw.inline.46d38d19.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/lb.inline.48e2d5f7.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/vu.inline.b3ca5243.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/ug.inline.b5df8cbf.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/gu.inline.3f389729.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/tj.inline.4f38d2da.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/kg.inline.c2720d50.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/ls.inline.c4c9c030.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/zw.inline.36270d52.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/nz.inline.e2df336b.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/spritesheet.ac8b36fa.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/iq.inline.6cf09cce.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/mz.inline.5d303717.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/tv.inline.e8951bab.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/er.inline.2e140c5e.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/hk.inline.2e214129.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/al.inline.7d3468f5.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/ph.inline.efb11f77.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/pg.inline.20b3476e.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/aq.inline.e3ff2bd6.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/cc.inline.d0755117.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/kr.inline.3a674081.svg", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/index.html" - ], - "entries": { - "pimcore_studio_ui_bundle": { - "assets": [ - "static/font/Lato-Light.bec6f0ae.ttf", - "static/font/Lato-Regular.4291f48c.ttf", - "static/font/Lato-Bold.2c00c297.ttf", - "static/svg/spritesheet.ac8b36fa.svg", - "static/svg/va.inline.405dc2da.svg", - "static/svg/uy.inline.4efdfc41.svg", - "static/svg/mx.inline.bdf8bbb3.svg", - "static/svg/gb-wls.inline.995b3f62.svg", - "static/svg/kh.inline.f914e95d.svg", - "static/svg/tv.inline.e8951bab.svg", - "static/svg/md.inline.2a1436bb.svg", - "static/svg/us.inline.390d8624.svg", - "static/svg/ky.inline.2ce3f34c.svg", - "static/svg/er.inline.2e140c5e.svg", - "static/svg/iq.inline.6cf09cce.svg", - "static/svg/sa.inline.561ca0e8.svg", - "static/svg/sv.inline.753cddcc.svg", - "static/svg/fj.inline.18618864.svg", - "static/svg/zw.inline.36270d52.svg", - "static/svg/py.inline.c62aae82.svg", - "static/svg/tc.inline.d0f5e3ec.svg", - "static/svg/cc.inline.d0755117.svg", - "static/svg/ki.inline.36212d50.svg", - "static/svg/ph.inline.efb11f77.svg", - "static/svg/bt.inline.47a891b1.svg", - "static/svg/vi.inline.d0ea2e5b.svg", - "static/svg/ec.inline.f4507970.svg", - "static/svg/mz.inline.5d303717.svg", - "static/svg/bn.inline.07cc7c59.svg", - "static/svg/gs.inline.50e91486.svg", - "static/svg/as.inline.5fb74fc4.svg", - "static/svg/br.inline.694e855a.svg", - "static/svg/ir.inline.6c41123a.svg", - "static/svg/mt.inline.3dee1168.svg", - "static/svg/pf.inline.a66b3945.svg", - "static/svg/me.inline.db16b5ec.svg", - "static/svg/nz.inline.e2df336b.svg", - "static/svg/zm.inline.9f49d90d.svg", - "static/svg/pg.inline.20b3476e.svg", - "static/svg/cy.inline.df5b101e.svg", - "static/svg/kg.inline.c2720d50.svg", - "static/svg/ms.inline.a58e4e36.svg", - "static/svg/kz.inline.67362c3d.svg", - "static/svg/gu.inline.3f389729.svg", - "static/svg/af.inline.fec1a548.svg", - "static/svg/by.inline.c9762012.svg", - "static/svg/gq.inline.7e38dd34.svg", - "static/svg/hr.inline.9f3eb9c7.svg", - "static/svg/gi.inline.2a5c3fff.svg", - "static/svg/im.inline.194dc918.svg", - "static/svg/om.inline.0bf08070.svg", - "static/svg/eg.inline.6db7b891.svg", - "static/svg/ad.inline.5718e36e.svg", - "static/svg/mw.inline.46d38d19.svg", - "static/svg/li.inline.b4e109c9.svg", - "static/svg/gt.inline.79c6d996.svg", - "static/svg/sx.inline.912210d5.svg", - "static/svg/al.inline.7d3468f5.svg", - "static/svg/nf.inline.ffbdef72.svg", - "static/svg/bz.inline.85c81fc9.svg", - "static/svg/je.inline.c93fbc52.svg", - "static/svg/sh.inline.7f6e59d0.svg", - "static/svg/um.inline.38c1c6d2.svg", - "static/svg/lk.inline.835822d4.svg", - "static/svg/pt.inline.2ddb5f4f.svg", - "static/svg/es.inline.408c4329.svg", - "static/svg/kr.inline.3a674081.svg", - "static/svg/io.inline.3716e200.svg", - "static/svg/vg.inline.ddc1f05b.svg", - "static/svg/ni.inline.33e210d8.svg", - "static/svg/sz.inline.59ad5eb7.svg", - "static/svg/vu.inline.b3ca5243.svg", - "static/svg/ai.inline.f1f4c108.svg", - "static/svg/ug.inline.b5df8cbf.svg", - "static/svg/hk.inline.2e214129.svg", - "static/svg/ls.inline.c4c9c030.svg", - "static/svg/mp.inline.4d37bdb2.svg", - "static/svg/tm.inline.ce53d7e3.svg", - "static/svg/fk.inline.2907e14d.svg", - "static/svg/bm.inline.b55e10b1.svg", - "static/svg/aq.inline.e3ff2bd6.svg", - "static/svg/sm.inline.bcf311fd.svg", - "static/svg/ar.inline.cc32239a.svg", - "static/svg/rs.inline.689a8671.svg", - "static/svg/dm.inline.54d1489b.svg", - "static/svg/pn.inline.c1f0d0cf.svg", - "static/svg/lb.inline.48e2d5f7.svg", - "static/svg/tj.inline.4f38d2da.svg", - "static/svg/aw.inline.8b05932f.svg", - "static/svg/do.inline.264768fd.svg" - ], - "initial": { - "js": [ - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/remoteEntry.js" - ] - }, - "async": { - "js": [ - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3066.9cd9ccd8.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/6046.859a0f48.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/6570.6a6f07f5.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7230.e367c350.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1869.de93aa94.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7577.8bcede34.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7448.b6c4afec.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7599.f501b0a1.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/9469.52343c9f.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1047.12877d03.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/8526.4e934ad8.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__tags.3d78c211.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose__internal___mf_bootstrap.4a90ac4c.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__elements.202a64c7.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__perspectives.c562c1e2.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__properties.ffe62ecf.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__user.1e7a9397.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__dependencies.f881ac9d.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__settings.d9c7cef6.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_utils.6ea8070a.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_modules__user.4067a3c6.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__schedule.688ff643.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_modules__asset.8fe72e5e.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_modules__data_object.8da9275a.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__thumbnails.a2f2ee78.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_app.9a6b0474.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__data_object.7d999b9b.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__documents.59c9fc3e.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__translations.0483ea62.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__metadata.cd14d866.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__role.1226ef66.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__workflow.736afce0.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_default_export.b3f494c2.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__custom_metadata.f5874161.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api.46234726.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.5d4485bb.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_modules__wysiwyg.c676fcab.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_api__version.684ede24.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_modules__icon_library.43a2c8cb.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/__federation_expose_modules__class_definitions.d4cb21eb.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1595.3793e4f4.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/448.3498365b.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1447.13bc4d3d.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/6671.78f65d14.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5991.735b928d.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4876.35267c1f.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5853.e0681c6c.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3956.c2c369d8.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7700.6fde9ad3.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/6565.565c63bb.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4374.c99deb71.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3948.ca4bddea.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/281.5cceb334.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5639.5ee87fc3.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1778.a1f5a658.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/8360.37dcc5f2.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7830.a6bff57b.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5435.f7ef0649.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3969.2cf8ec77.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/8385.2a34f10f.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7981.970f7b9e.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1567.c410da58.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4854.58d64832.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4650.2e475083.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1888.71926ec6.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5402.277643cf.js" - ], - "css": [ - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/css/async/9469.25a232f9.css", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/css/async/__federation_expose__internal___mf_bootstrap.f1ed34c6.css", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/css/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.f1ed34c6.css" - ] - } - }, - "index": { - "html": [ - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/index.html" - ], - "initial": { - "js": [ - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/1150.4a6b0826.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/index.eefe833d.js" - ] - }, - "async": { - "js": [ - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7577.8bcede34.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7448.b6c4afec.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7599.f501b0a1.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/8526.4e934ad8.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1595.3793e4f4.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/448.3498365b.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1447.13bc4d3d.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/6671.78f65d14.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5991.735b928d.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4876.35267c1f.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5853.e0681c6c.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3956.c2c369d8.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7700.6fde9ad3.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/6565.565c63bb.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4374.c99deb71.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3948.ca4bddea.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/281.5cceb334.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5639.5ee87fc3.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1778.a1f5a658.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/8360.37dcc5f2.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7830.a6bff57b.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5435.f7ef0649.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3969.2cf8ec77.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/8385.2a34f10f.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/7981.970f7b9e.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1567.c410da58.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4854.58d64832.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4650.2e475083.js", - "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1888.71926ec6.js" - ] - } - } - } -} \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/mf-manifest.json b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/mf-manifest.json deleted file mode 100644 index 46aa3f4c17..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/mf-manifest.json +++ /dev/null @@ -1,1363 +0,0 @@ -{ - "id": "pimcore_studio_ui_bundle", - "name": "pimcore_studio_ui_bundle", - "metaData": { - "name": "pimcore_studio_ui_bundle", - "type": "app", - "buildInfo": { - "buildVersion": "0.0.1", - "buildName": "@pimcore/studio-ui-bundle" - }, - "remoteEntry": { - "name": "static/js/remoteEntry.js", - "path": "", - "type": "global" - }, - "types": { - "path": "", - "name": "", - "zip": "", - "api": "" - }, - "globalName": "pimcore_studio_ui_bundle", - "pluginVersion": "0.13.1", - "prefetchInterface": false, - "publicPath": "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/" - }, - "shared": [ - { - "id": "pimcore_studio_ui_bundle:react-i18next", - "name": "react-i18next", - "version": "14.1.3", - "singleton": true, - "requiredVersion": "^14.1.3", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/4650.2e475083.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:react", - "name": "react", - "version": "18.3.x", - "singleton": true, - "requiredVersion": "18.3.x", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/1150.4a6b0826.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:classnames", - "name": "classnames", - "version": "2.5.1", - "singleton": true, - "requiredVersion": "^2.5.1", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/1150.4a6b0826.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:reflect-metadata", - "name": "reflect-metadata", - "version": "*", - "singleton": true, - "requiredVersion": "^*", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/1150.4a6b0826.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:antd", - "name": "antd", - "version": "5.22.x", - "singleton": true, - "requiredVersion": "5.22.x", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/1150.4a6b0826.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:@codemirror/lang-html", - "name": "@codemirror/lang-html", - "version": "^6.4.9", - "singleton": true, - "requiredVersion": "^6.4.9", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/7577.8bcede34.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:@codemirror/lang-css", - "name": "@codemirror/lang-css", - "version": "^6.3.0", - "singleton": true, - "requiredVersion": "^6.3.0", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/8360.37dcc5f2.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:@codemirror/lang-javascript", - "name": "@codemirror/lang-javascript", - "version": "^6.2.2", - "singleton": true, - "requiredVersion": "^6.2.2", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/7700.6fde9ad3.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:@dnd-kit/core", - "name": "@dnd-kit/core", - "version": "^6.1.0", - "singleton": true, - "requiredVersion": "^6.1.0", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/4854.58d64832.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:inversify", - "name": "inversify", - "version": "6.1.x", - "singleton": true, - "requiredVersion": "^undefined", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/1150.4a6b0826.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:lodash", - "name": "lodash", - "version": "4.17.21", - "singleton": true, - "requiredVersion": "^4.17.21", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/3948.ca4bddea.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:antd-style", - "name": "antd-style", - "version": "3.7.x", - "singleton": true, - "requiredVersion": "3.7.x", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/7448.b6c4afec.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:i18next", - "name": "i18next", - "version": "23.16.8", - "singleton": true, - "requiredVersion": "^23.16.8", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/1567.c410da58.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:framer-motion", - "name": "framer-motion", - "version": "11.11.17", - "singleton": true, - "requiredVersion": "^11.11.17", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/3956.c2c369d8.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:@reduxjs/toolkit", - "name": "@reduxjs/toolkit", - "version": "^2.3.0", - "singleton": true, - "requiredVersion": "^2.3.0", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/448.3498365b.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:react-redux", - "name": "react-redux", - "version": "9.1.2", - "singleton": true, - "requiredVersion": "^9.1.2", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/7981.970f7b9e.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:react-router-dom", - "name": "react-router-dom", - "version": "6.28.0", - "singleton": true, - "requiredVersion": "^6.28.0", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/5853.e0681c6c.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:uuid", - "name": "uuid", - "version": "10.0.0", - "singleton": true, - "requiredVersion": "^10.0.0", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/1888.71926ec6.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:flexlayout-react", - "name": "flexlayout-react", - "version": "0.7.15", - "singleton": true, - "requiredVersion": "^0.7.15", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/5435.f7ef0649.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:react-draggable", - "name": "react-draggable", - "version": "4.4.6", - "singleton": true, - "requiredVersion": "^4.4.6", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/1778.a1f5a658.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:@tanstack/react-table", - "name": "@tanstack/react-table", - "version": "^8.20.5", - "singleton": true, - "requiredVersion": "^8.20.5", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/281.5cceb334.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:@dnd-kit/sortable", - "name": "@dnd-kit/sortable", - "version": "^8.0.0", - "singleton": true, - "requiredVersion": "^8.0.0", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/1595.3793e4f4.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:dompurify", - "name": "dompurify", - "version": "3.2.1", - "singleton": true, - "requiredVersion": "^3.2.1", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/7830.a6bff57b.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:leaflet", - "name": "leaflet", - "version": "1.9.4", - "singleton": true, - "requiredVersion": "^1.9.4", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/4876.35267c1f.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:leaflet-draw", - "name": "leaflet-draw", - "version": "1.0.4", - "singleton": true, - "requiredVersion": "^1.0.4", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/6565.565c63bb.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:@uiw/react-codemirror", - "name": "@uiw/react-codemirror", - "version": "^4.23.6", - "singleton": true, - "requiredVersion": "^4.23.6", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/1150.4a6b0826.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:@codemirror/lang-json", - "name": "@codemirror/lang-json", - "version": "^6.0.1", - "singleton": true, - "requiredVersion": "^6.0.1", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/5639.5ee87fc3.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:@codemirror/lang-xml", - "name": "@codemirror/lang-xml", - "version": "^6.1.0", - "singleton": true, - "requiredVersion": "^6.1.0", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/8385.2a34f10f.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:@codemirror/lang-sql", - "name": "@codemirror/lang-sql", - "version": "^6.8.0", - "singleton": true, - "requiredVersion": "^6.8.0", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/3969.2cf8ec77.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:@codemirror/lang-markdown", - "name": "@codemirror/lang-markdown", - "version": "^6.3.1", - "singleton": true, - "requiredVersion": "^6.3.1", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/1447.13bc4d3d.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:react-dom", - "name": "react-dom", - "version": "18.3.x", - "singleton": true, - "requiredVersion": "18.3.x", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/1150.4a6b0826.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_ui_bundle:immer", - "name": "immer", - "version": "10.1.1", - "singleton": true, - "requiredVersion": "^10.1.1", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/4374.c99deb71.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - } - ], - "remotes": [], - "exposes": [ - { - "id": "pimcore_studio_ui_bundle:.", - "name": ".", - "assets": { - "js": { - "sync": [ - "static/js/async/__federation_expose_default_export.b3f494c2.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "." - }, - { - "id": "pimcore_studio_ui_bundle:_internal_/mf-bootstrap", - "name": "_internal_/mf-bootstrap", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/9469.52343c9f.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_app.9a6b0474.js", - "static/js/async/6570.6a6f07f5.js", - "static/js/async/6046.859a0f48.js", - "static/js/async/__federation_expose_modules__asset.8fe72e5e.js", - "static/js/async/3066.9cd9ccd8.js", - "static/js/async/__federation_expose__internal___mf_bootstrap.4a90ac4c.js" - ], - "async": [ - "static/js/async/7599.f501b0a1.js", - "static/js/async/5402.277643cf.js" - ] - }, - "css": { - "sync": [ - "static/css/async/9469.25a232f9.css", - "static/css/async/__federation_expose__internal___mf_bootstrap.f1ed34c6.css" - ], - "async": [] - } - }, - "path": "./_internal_/mf-bootstrap" - }, - { - "id": "pimcore_studio_ui_bundle:_internal_/mf-bootstrap-document-editor-iframe", - "name": "_internal_/mf-bootstrap-document-editor-iframe", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/9469.52343c9f.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_app.9a6b0474.js", - "static/js/async/6570.6a6f07f5.js", - "static/js/async/6046.859a0f48.js", - "static/js/async/__federation_expose_modules__asset.8fe72e5e.js", - "static/js/async/3066.9cd9ccd8.js", - "static/js/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.5d4485bb.js" - ], - "async": [ - "static/js/async/7599.f501b0a1.js", - "static/js/async/5402.277643cf.js" - ] - }, - "css": { - "sync": [ - "static/css/async/9469.25a232f9.css", - "static/css/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.f1ed34c6.css" - ], - "async": [] - } - }, - "path": "./_internal_/mf-bootstrap-document-editor-iframe" - }, - { - "id": "pimcore_studio_ui_bundle:components", - "name": "components", - "assets": { - "js": { - "sync": [], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./components" - }, - { - "id": "pimcore_studio_ui_bundle:app", - "name": "app", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/9469.52343c9f.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_app.9a6b0474.js", - "static/js/async/6570.6a6f07f5.js", - "static/js/async/6046.859a0f48.js", - "static/js/async/__federation_expose_modules__asset.8fe72e5e.js", - "static/js/async/3066.9cd9ccd8.js", - "static/js/async/__federation_expose__internal___mf_bootstrap.4a90ac4c.js", - "static/js/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.5d4485bb.js", - "static/js/async/__federation_expose_modules__data_object.8da9275a.js", - "static/js/async/__federation_expose_modules__user.4067a3c6.js", - "static/js/async/__federation_expose_modules__wysiwyg.c676fcab.js" - ], - "async": [ - "static/js/async/7599.f501b0a1.js", - "static/js/async/5402.277643cf.js" - ] - }, - "css": { - "sync": [ - "static/css/async/9469.25a232f9.css", - "static/css/async/__federation_expose__internal___mf_bootstrap.f1ed34c6.css", - "static/css/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.f1ed34c6.css" - ], - "async": [] - } - }, - "path": "./app" - }, - { - "id": "pimcore_studio_ui_bundle:api/role", - "name": "api/role", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/__federation_expose_api__role.1226ef66.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api/role" - }, - { - "id": "pimcore_studio_ui_bundle:api", - "name": "api", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api.46234726.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api" - }, - { - "id": "pimcore_studio_ui_bundle:api/custom-metadata", - "name": "api/custom-metadata", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__custom_metadata.f5874161.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api/custom-metadata" - }, - { - "id": "pimcore_studio_ui_bundle:api/data-object", - "name": "api/data-object", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__data_object.7d999b9b.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api/data-object" - }, - { - "id": "pimcore_studio_ui_bundle:api/dependencies", - "name": "api/dependencies", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__dependencies.f881ac9d.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api/dependencies" - }, - { - "id": "pimcore_studio_ui_bundle:api/documents", - "name": "api/documents", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__documents.59c9fc3e.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api/documents" - }, - { - "id": "pimcore_studio_ui_bundle:api/elements", - "name": "api/elements", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__elements.202a64c7.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api/elements" - }, - { - "id": "pimcore_studio_ui_bundle:api/metadata", - "name": "api/metadata", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__metadata.cd14d866.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api/metadata" - }, - { - "id": "pimcore_studio_ui_bundle:api/perspectives", - "name": "api/perspectives", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__perspectives.c562c1e2.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api/perspectives" - }, - { - "id": "pimcore_studio_ui_bundle:api/properties", - "name": "api/properties", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__properties.ffe62ecf.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api/properties" - }, - { - "id": "pimcore_studio_ui_bundle:api/schedule", - "name": "api/schedule", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__schedule.688ff643.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api/schedule" - }, - { - "id": "pimcore_studio_ui_bundle:api/settings", - "name": "api/settings", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__settings.d9c7cef6.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api/settings" - }, - { - "id": "pimcore_studio_ui_bundle:api/tags", - "name": "api/tags", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__tags.3d78c211.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api/tags" - }, - { - "id": "pimcore_studio_ui_bundle:api/thumbnails", - "name": "api/thumbnails", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__thumbnails.a2f2ee78.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api/thumbnails" - }, - { - "id": "pimcore_studio_ui_bundle:api/translations", - "name": "api/translations", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__translations.0483ea62.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api/translations" - }, - { - "id": "pimcore_studio_ui_bundle:api/user", - "name": "api/user", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__user.1e7a9397.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api/user" - }, - { - "id": "pimcore_studio_ui_bundle:api/version", - "name": "api/version", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__version.684ede24.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api/version" - }, - { - "id": "pimcore_studio_ui_bundle:api/workflow", - "name": "api/workflow", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__workflow.736afce0.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./api/workflow" - }, - { - "id": "pimcore_studio_ui_bundle:modules/app", - "name": "modules/app", - "assets": { - "js": { - "sync": [], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./modules/app" - }, - { - "id": "pimcore_studio_ui_bundle:modules/asset", - "name": "modules/asset", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/9469.52343c9f.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_app.9a6b0474.js", - "static/js/async/6570.6a6f07f5.js", - "static/js/async/6046.859a0f48.js", - "static/js/async/__federation_expose_modules__asset.8fe72e5e.js", - "static/js/async/3066.9cd9ccd8.js", - "static/js/async/__federation_expose__internal___mf_bootstrap.4a90ac4c.js", - "static/js/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.5d4485bb.js" - ], - "async": [ - "static/js/async/7599.f501b0a1.js", - "static/js/async/5402.277643cf.js" - ] - }, - "css": { - "sync": [ - "static/css/async/9469.25a232f9.css", - "static/css/async/__federation_expose__internal___mf_bootstrap.f1ed34c6.css", - "static/css/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.f1ed34c6.css" - ], - "async": [] - } - }, - "path": "./modules/asset" - }, - { - "id": "pimcore_studio_ui_bundle:modules/class-definitions", - "name": "modules/class-definitions", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_modules__class_definitions.d4cb21eb.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./modules/class-definitions" - }, - { - "id": "pimcore_studio_ui_bundle:modules/data-object", - "name": "modules/data-object", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/9469.52343c9f.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_app.9a6b0474.js", - "static/js/async/6570.6a6f07f5.js", - "static/js/async/__federation_expose_modules__data_object.8da9275a.js" - ], - "async": [ - "static/js/async/7599.f501b0a1.js" - ] - }, - "css": { - "sync": [ - "static/css/async/9469.25a232f9.css" - ], - "async": [] - } - }, - "path": "./modules/data-object" - }, - { - "id": "pimcore_studio_ui_bundle:modules/element", - "name": "modules/element", - "assets": { - "js": { - "sync": [], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./modules/element" - }, - { - "id": "pimcore_studio_ui_bundle:modules/icon-library", - "name": "modules/icon-library", - "assets": { - "js": { - "sync": [ - "static/js/async/__federation_expose_modules__icon_library.43a2c8cb.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./modules/icon-library" - }, - { - "id": "pimcore_studio_ui_bundle:modules/user", - "name": "modules/user", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/9469.52343c9f.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_app.9a6b0474.js", - "static/js/async/6046.859a0f48.js", - "static/js/async/__federation_expose_modules__user.4067a3c6.js" - ], - "async": [ - "static/js/async/7599.f501b0a1.js" - ] - }, - "css": { - "sync": [ - "static/css/async/9469.25a232f9.css" - ], - "async": [] - } - }, - "path": "./modules/user" - }, - { - "id": "pimcore_studio_ui_bundle:modules/widget-manager", - "name": "modules/widget-manager", - "assets": { - "js": { - "sync": [], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "./modules/widget-manager" - }, - { - "id": "pimcore_studio_ui_bundle:modules/wysiwyg", - "name": "modules/wysiwyg", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/9469.52343c9f.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_app.9a6b0474.js", - "static/js/async/__federation_expose_modules__wysiwyg.c676fcab.js" - ], - "async": [ - "static/js/async/7599.f501b0a1.js" - ] - }, - "css": { - "sync": [ - "static/css/async/9469.25a232f9.css" - ], - "async": [] - } - }, - "path": "./modules/wysiwyg" - }, - { - "id": "pimcore_studio_ui_bundle:utils", - "name": "utils", - "assets": { - "js": { - "sync": [ - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_utils.6ea8070a.js" - ], - "async": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/9469.52343c9f.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_app.9a6b0474.js", - "static/js/async/6570.6a6f07f5.js", - "static/js/async/6046.859a0f48.js", - "static/js/async/__federation_expose_modules__asset.8fe72e5e.js", - "static/js/async/3066.9cd9ccd8.js", - "static/js/async/__federation_expose__internal___mf_bootstrap.4a90ac4c.js", - "static/js/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.5d4485bb.js", - "static/js/async/__federation_expose_modules__data_object.8da9275a.js", - "static/js/async/__federation_expose_modules__user.4067a3c6.js", - "static/js/async/__federation_expose_modules__wysiwyg.c676fcab.js" - ] - }, - "css": { - "sync": [], - "async": [ - "static/css/async/9469.25a232f9.css", - "static/css/async/__federation_expose__internal___mf_bootstrap.f1ed34c6.css", - "static/css/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.f1ed34c6.css" - ] - } - }, - "path": "./utils" - } - ] -} \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/mf-stats.json b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/mf-stats.json deleted file mode 100644 index f7988922b4..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/mf-stats.json +++ /dev/null @@ -1,1585 +0,0 @@ -{ - "id": "pimcore_studio_ui_bundle", - "name": "pimcore_studio_ui_bundle", - "metaData": { - "name": "pimcore_studio_ui_bundle", - "type": "app", - "buildInfo": { - "buildVersion": "0.0.1", - "buildName": "@pimcore/studio-ui-bundle" - }, - "remoteEntry": { - "name": "static/js/remoteEntry.js", - "path": "", - "type": "global" - }, - "types": { - "path": "", - "name": "", - "zip": "", - "api": "" - }, - "globalName": "pimcore_studio_ui_bundle", - "pluginVersion": "0.13.1", - "prefetchInterface": false, - "publicPath": "/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/" - }, - "shared": [ - { - "singleton": true, - "requiredVersion": "^14.1.3", - "shareScope": "default", - "import": "react-i18next", - "name": "react-i18next", - "version": "14.1.3", - "eager": false, - "id": "pimcore_studio_ui_bundle:react-i18next", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/4650.2e475083.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [ - "./app", - "./modules/element" - ] - }, - { - "singleton": true, - "requiredVersion": "18.3.x", - "shareScope": "default", - "eager": true, - "name": "react", - "version": "18.3.x", - "id": "pimcore_studio_ui_bundle:react", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/1150.4a6b0826.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [ - "./components", - "./modules/data-object", - "./modules/element" - ] - }, - { - "singleton": true, - "requiredVersion": "^2.5.1", - "shareScope": "default", - "eager": true, - "name": "classnames", - "version": "2.5.1", - "id": "pimcore_studio_ui_bundle:classnames", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/1150.4a6b0826.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [ - "./modules/element" - ] - }, - { - "singleton": true, - "requiredVersion": "^*", - "shareScope": "default", - "eager": true, - "name": "reflect-metadata", - "version": "*", - "id": "pimcore_studio_ui_bundle:reflect-metadata", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/1150.4a6b0826.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "5.22.x", - "shareScope": "default", - "eager": true, - "name": "antd", - "version": "5.22.x", - "id": "pimcore_studio_ui_bundle:antd", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/1150.4a6b0826.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [ - "./components" - ] - }, - { - "singleton": true, - "requiredVersion": "^6.4.9", - "shareScope": "default", - "import": "@codemirror/lang-html", - "name": "@codemirror/lang-html", - "version": "^6.4.9", - "eager": false, - "id": "pimcore_studio_ui_bundle:@codemirror/lang-html", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/7577.8bcede34.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^6.3.0", - "shareScope": "default", - "import": "@codemirror/lang-css", - "name": "@codemirror/lang-css", - "version": "^6.3.0", - "eager": false, - "id": "pimcore_studio_ui_bundle:@codemirror/lang-css", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/8360.37dcc5f2.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^6.2.2", - "shareScope": "default", - "import": "@codemirror/lang-javascript", - "name": "@codemirror/lang-javascript", - "version": "^6.2.2", - "eager": false, - "id": "pimcore_studio_ui_bundle:@codemirror/lang-javascript", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/7700.6fde9ad3.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^6.1.0", - "shareScope": "default", - "import": "@dnd-kit/core", - "name": "@dnd-kit/core", - "version": "^6.1.0", - "eager": false, - "id": "pimcore_studio_ui_bundle:@dnd-kit/core", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/4854.58d64832.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [ - "./components" - ] - }, - { - "singleton": true, - "requiredVersion": "^undefined", - "shareScope": "default", - "eager": true, - "version": "6.1.x", - "name": "inversify", - "id": "pimcore_studio_ui_bundle:inversify", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/1150.4a6b0826.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [ - "./modules/data-object" - ] - }, - { - "singleton": true, - "requiredVersion": "^4.17.21", - "shareScope": "default", - "import": "lodash", - "name": "lodash", - "version": "4.17.21", - "eager": false, - "id": "pimcore_studio_ui_bundle:lodash", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/3948.ca4bddea.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "3.7.x", - "shareScope": "default", - "import": "antd-style", - "name": "antd-style", - "version": "3.7.x", - "eager": false, - "id": "pimcore_studio_ui_bundle:antd-style", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/7448.b6c4afec.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [ - "./components" - ] - }, - { - "singleton": true, - "requiredVersion": "^23.16.8", - "shareScope": "default", - "import": "i18next", - "name": "i18next", - "version": "23.16.8", - "eager": false, - "id": "pimcore_studio_ui_bundle:i18next", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/1567.c410da58.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [ - "./utils" - ] - }, - { - "singleton": true, - "requiredVersion": "^11.11.17", - "shareScope": "default", - "import": "framer-motion", - "name": "framer-motion", - "version": "11.11.17", - "eager": false, - "id": "pimcore_studio_ui_bundle:framer-motion", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/3956.c2c369d8.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^2.3.0", - "shareScope": "default", - "import": "@reduxjs/toolkit", - "name": "@reduxjs/toolkit", - "version": "^2.3.0", - "eager": false, - "id": "pimcore_studio_ui_bundle:@reduxjs/toolkit", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/448.3498365b.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^9.1.2", - "shareScope": "default", - "import": "react-redux", - "name": "react-redux", - "version": "9.1.2", - "eager": false, - "id": "pimcore_studio_ui_bundle:react-redux", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/7981.970f7b9e.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^6.28.0", - "shareScope": "default", - "import": "react-router-dom", - "name": "react-router-dom", - "version": "6.28.0", - "eager": false, - "id": "pimcore_studio_ui_bundle:react-router-dom", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/5853.e0681c6c.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^10.0.0", - "shareScope": "default", - "import": "uuid", - "name": "uuid", - "version": "10.0.0", - "eager": false, - "id": "pimcore_studio_ui_bundle:uuid", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/1888.71926ec6.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^0.7.15", - "shareScope": "default", - "import": "flexlayout-react", - "name": "flexlayout-react", - "version": "0.7.15", - "eager": false, - "id": "pimcore_studio_ui_bundle:flexlayout-react", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/5435.f7ef0649.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^4.4.6", - "shareScope": "default", - "import": "react-draggable", - "name": "react-draggable", - "version": "4.4.6", - "eager": false, - "id": "pimcore_studio_ui_bundle:react-draggable", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/1778.a1f5a658.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^8.20.5", - "shareScope": "default", - "import": "@tanstack/react-table", - "name": "@tanstack/react-table", - "version": "^8.20.5", - "eager": false, - "id": "pimcore_studio_ui_bundle:@tanstack/react-table", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/281.5cceb334.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^8.0.0", - "shareScope": "default", - "import": "@dnd-kit/sortable", - "name": "@dnd-kit/sortable", - "version": "^8.0.0", - "eager": false, - "id": "pimcore_studio_ui_bundle:@dnd-kit/sortable", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/1595.3793e4f4.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^3.2.1", - "shareScope": "default", - "import": "dompurify", - "name": "dompurify", - "version": "3.2.1", - "eager": false, - "id": "pimcore_studio_ui_bundle:dompurify", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/7830.a6bff57b.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^1.9.4", - "shareScope": "default", - "import": "leaflet", - "name": "leaflet", - "version": "1.9.4", - "eager": false, - "id": "pimcore_studio_ui_bundle:leaflet", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/4876.35267c1f.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^1.0.4", - "shareScope": "default", - "import": "leaflet-draw", - "name": "leaflet-draw", - "version": "1.0.4", - "eager": false, - "id": "pimcore_studio_ui_bundle:leaflet-draw", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/6565.565c63bb.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^4.23.6", - "shareScope": "default", - "eager": true, - "version": "^4.23.6", - "name": "@uiw/react-codemirror", - "id": "pimcore_studio_ui_bundle:@uiw/react-codemirror", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/1150.4a6b0826.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^6.0.1", - "shareScope": "default", - "import": "@codemirror/lang-json", - "name": "@codemirror/lang-json", - "version": "^6.0.1", - "eager": false, - "id": "pimcore_studio_ui_bundle:@codemirror/lang-json", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/5639.5ee87fc3.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^6.1.0", - "shareScope": "default", - "import": "@codemirror/lang-xml", - "name": "@codemirror/lang-xml", - "version": "^6.1.0", - "eager": false, - "id": "pimcore_studio_ui_bundle:@codemirror/lang-xml", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/8385.2a34f10f.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^6.8.0", - "shareScope": "default", - "import": "@codemirror/lang-sql", - "name": "@codemirror/lang-sql", - "version": "^6.8.0", - "eager": false, - "id": "pimcore_studio_ui_bundle:@codemirror/lang-sql", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/3969.2cf8ec77.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^6.3.1", - "shareScope": "default", - "import": "@codemirror/lang-markdown", - "name": "@codemirror/lang-markdown", - "version": "^6.3.1", - "eager": false, - "id": "pimcore_studio_ui_bundle:@codemirror/lang-markdown", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/1447.13bc4d3d.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "18.3.x", - "shareScope": "default", - "eager": true, - "name": "react-dom", - "version": "18.3.x", - "id": "pimcore_studio_ui_bundle:react-dom", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/1150.4a6b0826.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - }, - { - "singleton": true, - "requiredVersion": "^10.1.1", - "shareScope": "default", - "import": "immer", - "name": "immer", - "version": "10.1.1", - "eager": false, - "id": "pimcore_studio_ui_bundle:immer", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/async/4374.c99deb71.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - } - ], - "remotes": [], - "exposes": [ - { - "path": ".", - "id": "pimcore_studio_ui_bundle:.", - "name": ".", - "requires": [], - "file": "js/src/sdk/main.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/__federation_expose_default_export.b3f494c2.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./_internal_/mf-bootstrap", - "id": "pimcore_studio_ui_bundle:_internal_/mf-bootstrap", - "name": "_internal_/mf-bootstrap", - "requires": [], - "file": "js/src/sdk/_internal_/mf-bootstrap.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/9469.52343c9f.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_app.9a6b0474.js", - "static/js/async/6570.6a6f07f5.js", - "static/js/async/6046.859a0f48.js", - "static/js/async/__federation_expose_modules__asset.8fe72e5e.js", - "static/js/async/3066.9cd9ccd8.js", - "static/js/async/__federation_expose__internal___mf_bootstrap.4a90ac4c.js" - ], - "async": [ - "static/js/async/7599.f501b0a1.js", - "static/js/async/5402.277643cf.js" - ] - }, - "css": { - "sync": [ - "static/css/async/9469.25a232f9.css", - "static/css/async/__federation_expose__internal___mf_bootstrap.f1ed34c6.css" - ], - "async": [] - } - } - }, - { - "path": "./_internal_/mf-bootstrap-document-editor-iframe", - "id": "pimcore_studio_ui_bundle:_internal_/mf-bootstrap-document-editor-iframe", - "name": "_internal_/mf-bootstrap-document-editor-iframe", - "requires": [], - "file": "js/src/sdk/_internal_/mf-bootstrap-document-editor-iframe.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/9469.52343c9f.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_app.9a6b0474.js", - "static/js/async/6570.6a6f07f5.js", - "static/js/async/6046.859a0f48.js", - "static/js/async/__federation_expose_modules__asset.8fe72e5e.js", - "static/js/async/3066.9cd9ccd8.js", - "static/js/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.5d4485bb.js" - ], - "async": [ - "static/js/async/7599.f501b0a1.js", - "static/js/async/5402.277643cf.js" - ] - }, - "css": { - "sync": [ - "static/css/async/9469.25a232f9.css", - "static/css/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.f1ed34c6.css" - ], - "async": [] - } - } - }, - { - "path": "./components", - "id": "pimcore_studio_ui_bundle:components", - "name": "components", - "requires": [ - "react", - "antd", - "@dnd-kit/core", - "antd-style" - ], - "file": "js/src/sdk/components/index.ts", - "assets": { - "js": { - "sync": [], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./app", - "id": "pimcore_studio_ui_bundle:app", - "name": "app", - "requires": [ - "react-i18next" - ], - "file": "js/src/sdk/app/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/9469.52343c9f.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_app.9a6b0474.js", - "static/js/async/6570.6a6f07f5.js", - "static/js/async/6046.859a0f48.js", - "static/js/async/__federation_expose_modules__asset.8fe72e5e.js", - "static/js/async/3066.9cd9ccd8.js", - "static/js/async/__federation_expose__internal___mf_bootstrap.4a90ac4c.js", - "static/js/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.5d4485bb.js", - "static/js/async/__federation_expose_modules__data_object.8da9275a.js", - "static/js/async/__federation_expose_modules__user.4067a3c6.js", - "static/js/async/__federation_expose_modules__wysiwyg.c676fcab.js" - ], - "async": [ - "static/js/async/7599.f501b0a1.js", - "static/js/async/5402.277643cf.js" - ] - }, - "css": { - "sync": [ - "static/css/async/9469.25a232f9.css", - "static/css/async/__federation_expose__internal___mf_bootstrap.f1ed34c6.css", - "static/css/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.f1ed34c6.css" - ], - "async": [] - } - } - }, - { - "path": "./api/role", - "id": "pimcore_studio_ui_bundle:api/role", - "name": "api/role", - "requires": [], - "file": "js/src/sdk/api/asset/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/__federation_expose_api__role.1226ef66.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./api", - "id": "pimcore_studio_ui_bundle:api", - "name": "api", - "requires": [], - "file": "js/src/sdk/api/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api.46234726.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./api/custom-metadata", - "id": "pimcore_studio_ui_bundle:api/custom-metadata", - "name": "api/custom-metadata", - "requires": [], - "file": "js/src/sdk/api/custom-metadata/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__custom_metadata.f5874161.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./api/data-object", - "id": "pimcore_studio_ui_bundle:api/data-object", - "name": "api/data-object", - "requires": [], - "file": "js/src/sdk/api/data-object/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__data_object.7d999b9b.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./api/dependencies", - "id": "pimcore_studio_ui_bundle:api/dependencies", - "name": "api/dependencies", - "requires": [], - "file": "js/src/sdk/api/dependencies/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__dependencies.f881ac9d.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./api/documents", - "id": "pimcore_studio_ui_bundle:api/documents", - "name": "api/documents", - "requires": [], - "file": "js/src/sdk/api/documents/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__documents.59c9fc3e.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./api/elements", - "id": "pimcore_studio_ui_bundle:api/elements", - "name": "api/elements", - "requires": [], - "file": "js/src/sdk/api/elements/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__elements.202a64c7.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./api/metadata", - "id": "pimcore_studio_ui_bundle:api/metadata", - "name": "api/metadata", - "requires": [], - "file": "js/src/sdk/api/metadata/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__metadata.cd14d866.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./api/perspectives", - "id": "pimcore_studio_ui_bundle:api/perspectives", - "name": "api/perspectives", - "requires": [], - "file": "js/src/sdk/api/perspectives/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__perspectives.c562c1e2.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./api/properties", - "id": "pimcore_studio_ui_bundle:api/properties", - "name": "api/properties", - "requires": [], - "file": "js/src/sdk/api/properties/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__properties.ffe62ecf.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./api/schedule", - "id": "pimcore_studio_ui_bundle:api/schedule", - "name": "api/schedule", - "requires": [], - "file": "js/src/sdk/api/schedule/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__schedule.688ff643.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./api/settings", - "id": "pimcore_studio_ui_bundle:api/settings", - "name": "api/settings", - "requires": [], - "file": "js/src/sdk/api/settings/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__settings.d9c7cef6.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./api/tags", - "id": "pimcore_studio_ui_bundle:api/tags", - "name": "api/tags", - "requires": [], - "file": "js/src/sdk/api/tags/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__tags.3d78c211.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./api/thumbnails", - "id": "pimcore_studio_ui_bundle:api/thumbnails", - "name": "api/thumbnails", - "requires": [], - "file": "js/src/sdk/api/thumbnails/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__thumbnails.a2f2ee78.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./api/translations", - "id": "pimcore_studio_ui_bundle:api/translations", - "name": "api/translations", - "requires": [], - "file": "js/src/sdk/api/translations/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__translations.0483ea62.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./api/user", - "id": "pimcore_studio_ui_bundle:api/user", - "name": "api/user", - "requires": [], - "file": "js/src/sdk/api/user/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__user.1e7a9397.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./api/version", - "id": "pimcore_studio_ui_bundle:api/version", - "name": "api/version", - "requires": [], - "file": "js/src/sdk/api/version/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__version.684ede24.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./api/workflow", - "id": "pimcore_studio_ui_bundle:api/workflow", - "name": "api/workflow", - "requires": [], - "file": "js/src/sdk/api/workflow/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_api__workflow.736afce0.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./modules/app", - "id": "pimcore_studio_ui_bundle:modules/app", - "name": "modules/app", - "requires": [], - "file": "js/src/sdk/modules/app/index.ts", - "assets": { - "js": { - "sync": [], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./modules/asset", - "id": "pimcore_studio_ui_bundle:modules/asset", - "name": "modules/asset", - "requires": [], - "file": "js/src/sdk/modules/asset/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/9469.52343c9f.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_app.9a6b0474.js", - "static/js/async/6570.6a6f07f5.js", - "static/js/async/6046.859a0f48.js", - "static/js/async/__federation_expose_modules__asset.8fe72e5e.js", - "static/js/async/3066.9cd9ccd8.js", - "static/js/async/__federation_expose__internal___mf_bootstrap.4a90ac4c.js", - "static/js/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.5d4485bb.js" - ], - "async": [ - "static/js/async/7599.f501b0a1.js", - "static/js/async/5402.277643cf.js" - ] - }, - "css": { - "sync": [ - "static/css/async/9469.25a232f9.css", - "static/css/async/__federation_expose__internal___mf_bootstrap.f1ed34c6.css", - "static/css/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.f1ed34c6.css" - ], - "async": [] - } - } - }, - { - "path": "./modules/class-definitions", - "id": "pimcore_studio_ui_bundle:modules/class-definitions", - "name": "modules/class-definitions", - "requires": [], - "file": "js/src/sdk/modules/class-definitions/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/__federation_expose_modules__class_definitions.d4cb21eb.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./modules/data-object", - "id": "pimcore_studio_ui_bundle:modules/data-object", - "name": "modules/data-object", - "requires": [ - "react", - "inversify" - ], - "file": "js/src/sdk/modules/data-object/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/9469.52343c9f.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_app.9a6b0474.js", - "static/js/async/6570.6a6f07f5.js", - "static/js/async/__federation_expose_modules__data_object.8da9275a.js" - ], - "async": [ - "static/js/async/7599.f501b0a1.js" - ] - }, - "css": { - "sync": [ - "static/css/async/9469.25a232f9.css" - ], - "async": [] - } - } - }, - { - "path": "./modules/element", - "id": "pimcore_studio_ui_bundle:modules/element", - "name": "modules/element", - "requires": [ - "react-i18next", - "react", - "classnames" - ], - "file": "js/src/sdk/modules/element/index.ts", - "assets": { - "js": { - "sync": [], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./modules/icon-library", - "id": "pimcore_studio_ui_bundle:modules/icon-library", - "name": "modules/icon-library", - "requires": [], - "file": "js/src/sdk/modules/icon-library/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/__federation_expose_modules__icon_library.43a2c8cb.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./modules/user", - "id": "pimcore_studio_ui_bundle:modules/user", - "name": "modules/user", - "requires": [], - "file": "js/src/sdk/modules/user/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/9469.52343c9f.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_app.9a6b0474.js", - "static/js/async/6046.859a0f48.js", - "static/js/async/__federation_expose_modules__user.4067a3c6.js" - ], - "async": [ - "static/js/async/7599.f501b0a1.js" - ] - }, - "css": { - "sync": [ - "static/css/async/9469.25a232f9.css" - ], - "async": [] - } - } - }, - { - "path": "./modules/widget-manager", - "id": "pimcore_studio_ui_bundle:modules/widget-manager", - "name": "modules/widget-manager", - "requires": [], - "file": "js/src/sdk/modules/widget-manager/index.ts", - "assets": { - "js": { - "sync": [], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - }, - { - "path": "./modules/wysiwyg", - "id": "pimcore_studio_ui_bundle:modules/wysiwyg", - "name": "modules/wysiwyg", - "requires": [], - "file": "js/src/sdk/modules/wysiwyg/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/9469.52343c9f.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_app.9a6b0474.js", - "static/js/async/__federation_expose_modules__wysiwyg.c676fcab.js" - ], - "async": [ - "static/js/async/7599.f501b0a1.js" - ] - }, - "css": { - "sync": [ - "static/css/async/9469.25a232f9.css" - ], - "async": [] - } - } - }, - { - "path": "./utils", - "id": "pimcore_studio_ui_bundle:utils", - "name": "utils", - "requires": [ - "i18next" - ], - "file": "js/src/sdk/utils/index.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_utils.6ea8070a.js" - ], - "async": [ - "static/js/async/8526.4e934ad8.js", - "static/js/async/1047.12877d03.js", - "static/js/async/9469.52343c9f.js", - "static/js/async/1869.de93aa94.js", - "static/js/async/7230.e367c350.js", - "static/js/async/__federation_expose_app.9a6b0474.js", - "static/js/async/6570.6a6f07f5.js", - "static/js/async/6046.859a0f48.js", - "static/js/async/__federation_expose_modules__asset.8fe72e5e.js", - "static/js/async/3066.9cd9ccd8.js", - "static/js/async/__federation_expose__internal___mf_bootstrap.4a90ac4c.js", - "static/js/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.5d4485bb.js", - "static/js/async/__federation_expose_modules__data_object.8da9275a.js", - "static/js/async/__federation_expose_modules__user.4067a3c6.js", - "static/js/async/__federation_expose_modules__wysiwyg.c676fcab.js" - ] - }, - "css": { - "sync": [], - "async": [ - "static/css/async/9469.25a232f9.css", - "static/css/async/__federation_expose__internal___mf_bootstrap.f1ed34c6.css", - "static/css/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.f1ed34c6.css" - ] - } - } - } - ] -} \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/css/async/9469.25a232f9.css b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/css/async/9469.25a232f9.css deleted file mode 100644 index 6eac968edb..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/css/async/9469.25a232f9.css +++ /dev/null @@ -1,14 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ -.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;top:0;left:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:0 0}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{-webkit-transform-origin:0 0;width:1600px;height:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{width:auto;padding:0;max-width:none!important;max-height:none!important}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:#33b5e566}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;z-index:800;width:0;height:0}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{z-index:800;pointer-events:visiblePainted;pointer-events:auto;position:relative}.leaflet-top,.leaflet-bottom{z-index:1000;pointer-events:none;position:absolute}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{outline-offset:1px;background:#ddd}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:#ffffff80;border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px #000000a6}.leaflet-bar a{text-align:center;color:#000;background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;text-decoration:none;display:block}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.leaflet-bar a.leaflet-disabled{cursor:default;color:#bbb;background-color:#f4f4f4}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{text-indent:1px;font:700 18px Lucida Console,Monaco,monospace}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px #0006}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{color:#333;background:#fff;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{padding-right:5px;overflow:hidden scroll}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{font-size:1.08333em;display:block}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;padding:0 5px;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{width:1em;height:.6669em;vertical-align:baseline!important;display:inline!important}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{white-space:nowrap;box-sizing:border-box;text-shadow:1px 1px #fff;background:#fffc;border:2px solid #777;border-top:none;padding:2px 5px 1px;line-height:1.1}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{background-clip:padding-box;border:2px solid #0003}.leaflet-popup{text-align:center;margin-bottom:20px;position:absolute}.leaflet-popup-content-wrapper{text-align:left;border-radius:12px;padding:1px}.leaflet-popup-content{min-height:1px;margin:13px 24px 13px 20px;font-size:1.08333em;line-height:1.3}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{pointer-events:none;width:40px;height:20px;margin-top:-1px;margin-left:-20px;position:absolute;left:50%;overflow:hidden}.leaflet-popup-tip{pointer-events:auto;width:17px;height:17px;margin:-10px auto 0;padding:1px;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{color:#333;background:#fff;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{text-align:center;color:#757575;background:0 0;border:none;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;text-decoration:none;position:absolute;top:0;right:0}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";width:24px;filter:progid:DXImageTransform.Microsoft.Matrix(M11=.707107,M12=.707107,M21=-.707107,M22=.707107);margin:0 auto}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{color:#222;white-space:nowrap;-webkit-user-select:none;user-select:none;pointer-events:none;background-color:#fff;border:1px solid #fff;border-radius:3px;padding:6px;position:absolute;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{pointer-events:none;content:"";background:0 0;border:6px solid #0000;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{margin-left:-6px;left:50%}.leaflet-tooltip-top:before{border-top-color:#fff;margin-bottom:-12px;bottom:0}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-top:-12px;margin-left:-6px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;margin-left:-12px;left:0}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.leaflet-draw-section{position:relative}.leaflet-draw-toolbar{margin-top:12px}.leaflet-draw-toolbar-top{margin-top:0}.leaflet-draw-toolbar-notop a:first-child{border-top-right-radius:0}.leaflet-draw-toolbar-nobottom a:last-child{border-bottom-right-radius:0}.leaflet-draw-toolbar a{background-image:linear-gradient(#0000,#0000),url(/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/spritesheet.ac8b36fa.svg);background-repeat:no-repeat;background-size:300px 30px;background-clip:padding-box}.leaflet-retina .leaflet-draw-toolbar a{background-image:linear-gradient(#0000,#0000),url(/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/svg/spritesheet.ac8b36fa.svg)}.leaflet-draw a{text-align:center;text-decoration:none;display:block}.leaflet-draw a .sr-only{clip:rect(0,0,0,0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.leaflet-draw-actions{white-space:nowrap;margin:0;padding:0;list-style:none;display:none;position:absolute;top:0;left:26px}.leaflet-touch .leaflet-draw-actions{left:32px}.leaflet-right .leaflet-draw-actions{left:auto;right:26px}.leaflet-touch .leaflet-right .leaflet-draw-actions{left:auto;right:32px}.leaflet-draw-actions li{display:inline-block}.leaflet-draw-actions li:first-child a{border-left:0}.leaflet-draw-actions li:last-child a{border-radius:0 4px 4px 0}.leaflet-right .leaflet-draw-actions li:last-child a{border-radius:0}.leaflet-right .leaflet-draw-actions li:first-child a{border-radius:4px 0 0 4px}.leaflet-draw-actions a{color:#fff;background-color:#919187;border-left:1px solid #aaa;height:28px;padding-left:10px;padding-right:10px;font:11px/28px Helvetica Neue,Arial,Helvetica,sans-serif;text-decoration:none}.leaflet-touch .leaflet-draw-actions a{height:30px;font-size:12px;line-height:30px}.leaflet-draw-actions-bottom{margin-top:0}.leaflet-draw-actions-top{margin-top:1px}.leaflet-draw-actions-top a,.leaflet-draw-actions-bottom a{height:27px;line-height:27px}.leaflet-draw-actions a:hover{background-color:#a0a098}.leaflet-draw-actions-top.leaflet-draw-actions-bottom a{height:26px;line-height:26px}.leaflet-draw-toolbar .leaflet-draw-draw-polyline{background-position:-2px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polyline{background-position:0 -1px}.leaflet-draw-toolbar .leaflet-draw-draw-polygon{background-position:-31px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polygon{background-position:-29px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-rectangle{background-position:-62px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-rectangle{background-position:-60px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-circle{background-position:-92px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circle{background-position:-90px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-marker{background-position:-122px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-marker{background-position:-120px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-circlemarker{background-position:-273px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circlemarker{background-position:-271px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-edit{background-position:-152px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit{background-position:-150px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-remove{background-position:-182px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-remove{background-position:-180px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled{background-position:-212px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled{background-position:-210px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled{background-position:-242px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled{background-position:-240px -2px}.leaflet-mouse-marker{cursor:crosshair;background-color:#fff}.leaflet-draw-tooltip{color:#fff;visibility:hidden;white-space:nowrap;z-index:6;background:#00000080;border:1px solid #0000;border-radius:4px;margin-top:-21px;margin-left:20px;padding:4px 8px;font:12px/18px Helvetica Neue,Arial,Helvetica,sans-serif;position:absolute}.leaflet-draw-tooltip:before{content:"";border-top:6px solid #0000;border-bottom:6px solid #0000;border-right:6px solid #00000080;position:absolute;top:7px;left:-7px}.leaflet-error-draw-tooltip{color:#b94a48;background-color:#f2dede;border:1px solid #e6b6bd}.leaflet-error-draw-tooltip:before{border-right-color:#e6b6bd}.leaflet-draw-tooltip-single{margin-top:-12px}.leaflet-draw-tooltip-subtext{color:#f8d5e4}.leaflet-draw-guide-dash{opacity:.6;width:5px;height:5px;font-size:1%;position:absolute}.leaflet-edit-marker-selected{box-sizing:content-box;background-color:#fe57a11a;border:4px dashed #fe57a199;border-radius:4px}.leaflet-edit-move{cursor:move}.leaflet-edit-resize{cursor:pointer}.leaflet-oldie .leaflet-draw-toolbar{border:1px solid #999} \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/css/async/__federation_expose__internal___mf_bootstrap.f1ed34c6.css b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/css/async/__federation_expose__internal___mf_bootstrap.f1ed34c6.css deleted file mode 100644 index e84ee36d52..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/css/async/__federation_expose__internal___mf_bootstrap.f1ed34c6.css +++ /dev/null @@ -1,14 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ -.flexlayout__layout{--color-text:black;--color-background:white;--color-base:white;--color-1:#f7f7f7;--color-2:#f0f0f0;--color-3:#e9e9e9;--color-4:#e2e2e2;--color-5:#dbdbdb;--color-6:#d4d4d4;--color-drag1:#5f86c4;--color-drag2:#77a677;--color-drag1-background:#5f86c41a;--color-drag2-background:#77a67713;--font-size:medium;--font-family:Roboto,Arial,sans-serif;--color-overflow:gray;--color-icon:gray;--color-tabset-background:var(--color-background);--color-tabset-background-selected:var(--color-1);--color-tabset-background-maximized:var(--color-6);--color-tabset-divider-line:var(--color-4);--color-tabset-header-background:var(--color-background);--color-tabset-header:var(--color-text);--color-border-background:var(--color-background);--color-border-divider-line:var(--color-4);--color-tab-selected:var(--color-text);--color-tab-selected-background:var(--color-4);--color-tab-unselected:gray;--color-tab-unselected-background:transparent;--color-tab-textbox:var(--color-text);--color-tab-textbox-background:var(--color-3);--color-border-tab-selected:var(--color-text);--color-border-tab-selected-background:var(--color-4);--color-border-tab-unselected:gray;--color-border-tab-unselected-background:var(--color-2);--color-splitter:var(--color-1);--color-splitter-hover:var(--color-4);--color-splitter-drag:var(--color-4);--color-drag-rect-border:var(--color-6);--color-drag-rect-background:var(--color-4);--color-drag-rect:var(--color-text);--color-popup-border:var(--color-6);--color-popup-unselected:var(--color-text);--color-popup-unselected-background:white;--color-popup-selected:var(--color-text);--color-popup-selected-background:var(--color-3);--color-edge-marker:#aaa;--color-edge-icon:#555;position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.flexlayout__splitter{background-color:var(--color-splitter)}@media (hover:hover){.flexlayout__splitter:hover{background-color:var(--color-splitter-hover);transition:background-color .1s ease-in 50ms}}.flexlayout__splitter_border{z-index:10}.flexlayout__splitter_drag{z-index:1000;background-color:var(--color-splitter-drag)}.flexlayout__splitter_extra{background-color:#0000}.flexlayout__outline_rect{pointer-events:none;box-sizing:border-box;border:2px solid var(--color-drag1);background:var(--color-drag1-background);z-index:1000;border-radius:5px;position:absolute}.flexlayout__outline_rect_edge{pointer-events:none;border:2px solid var(--color-drag2);background:var(--color-drag2-background);z-index:1000;box-sizing:border-box;border-radius:5px}.flexlayout__edge_rect{z-index:1000;background-color:var(--color-edge-marker);pointer-events:none;justify-content:center;align-items:center;display:flex;position:absolute}.flexlayout__drag_rect{cursor:move;color:var(--color-drag-rect);background-color:var(--color-drag-rect-background);border:2px solid var(--color-drag-rect-border);z-index:1000;box-sizing:border-box;opacity:.9;text-align:center;word-wrap:break-word;font-size:var(--font-size);font-family:var(--font-family);border-radius:5px;flex-direction:column;justify-content:center;padding:.3em 1em;display:flex;position:absolute;overflow:hidden}.flexlayout__tabset{background-color:var(--color-tabset-background);box-sizing:border-box;font-size:var(--font-size);font-family:var(--font-family);flex-direction:column;display:flex;overflow:hidden}.flexlayout__tabset_tab_divider{width:4px}.flexlayout__tabset_content{flex-grow:1;justify-content:center;align-items:center;display:flex}.flexlayout__tabset_header{box-sizing:border-box;border-bottom:1px solid var(--color-tabset-divider-line);color:var(--color-tabset-header);background-color:var(--color-tabset-header-background);align-items:center;padding:3px 3px 3px 5px;display:flex}.flexlayout__tabset_header_content{flex-grow:1}.flexlayout__tabset_tabbar_outer{box-sizing:border-box;background-color:var(--color-tabset-background);display:flex;overflow:hidden}.flexlayout__tabset_tabbar_outer_top{border-bottom:1px solid var(--color-tabset-divider-line)}.flexlayout__tabset_tabbar_outer_bottom{border-top:1px solid var(--color-tabset-divider-line)}.flexlayout__tabset_tabbar_inner{box-sizing:border-box;flex-grow:1;display:flex;position:relative;overflow:hidden}.flexlayout__tabset_tabbar_inner_tab_container{box-sizing:border-box;width:10000px;padding-left:4px;padding-right:4px;display:flex;position:absolute;top:0;bottom:0}.flexlayout__tabset_tabbar_inner_tab_container_top{border-top:2px solid #0000}.flexlayout__tabset_tabbar_inner_tab_container_bottom{border-bottom:2px solid #0000}.flexlayout__tabset-selected{background-color:var(--color-tabset-background-selected)}.flexlayout__tabset-maximized{background-color:var(--color-tabset-background-maximized)}.flexlayout__tab_button_stamp{white-space:nowrap;box-sizing:border-box;align-items:center;gap:.3em;display:inline-flex}.flexlayout__tab{box-sizing:border-box;background-color:var(--color-background);color:var(--color-text);position:absolute;overflow:auto}.flexlayout__tab_button{box-sizing:border-box;cursor:pointer;align-items:center;gap:.3em;padding:3px .5em;display:flex}.flexlayout__tab_button_stretch{color:var(--color-tab-selected);text-wrap:nowrap;box-sizing:border-box;cursor:pointer;background-color:#0000;align-items:center;gap:.3em;width:100%;padding:3px 0;display:flex}@media (hover:hover){.flexlayout__tab_button_stretch:hover{color:var(--color-tab-selected)}}.flexlayout__tab_button--selected{background-color:var(--color-tab-selected-background);color:var(--color-tab-selected)}@media (hover:hover){.flexlayout__tab_button:hover{background-color:var(--color-tab-selected-background);color:var(--color-tab-selected)}}.flexlayout__tab_button--unselected{background-color:var(--color-tab-unselected-background);color:gray}.flexlayout__tab_button_leading,.flexlayout__tab_button_content{display:flex}.flexlayout__tab_button_textbox{font-family:var(--font-family);font-size:var(--font-size);color:var(--color-tab-textbox);background-color:var(--color-tab-textbox-background);border:none;border:1px inset var(--color-1);border-radius:3px;width:10em}.flexlayout__tab_button_textbox:focus{outline:none}.flexlayout__tab_button_trailing{visibility:hidden;border-radius:4px;display:flex}.flexlayout__tab_button_trailing:hover{background-color:var(--color-3)}@media (hover:hover){.flexlayout__tab_button:hover .flexlayout__tab_button_trailing{visibility:visible}}.flexlayout__tab_button--selected .flexlayout__tab_button_trailing{visibility:visible}.flexlayout__tab_button_overflow{color:var(--color-overflow);font-size:inherit;background-color:#0000;border:none;align-items:center;display:flex}.flexlayout__tab_toolbar{align-items:center;gap:.3em;padding-left:.5em;padding-right:.3em;display:flex}.flexlayout__tab_toolbar_button{font-size:inherit;background-color:#0000;border:none;border-radius:4px;outline:none;margin:0;padding:1px}@media (hover:hover){.flexlayout__tab_toolbar_button:hover{background-color:var(--color-2)}}.flexlayout__tab_toolbar_sticky_buttons_container{align-items:center;gap:.3em;padding-left:5px;display:flex}.flexlayout__tab_floating{box-sizing:border-box;color:var(--color-text);background-color:var(--color-background);justify-content:center;align-items:center;display:flex;position:absolute;overflow:auto}.flexlayout__tab_floating_inner{flex-direction:column;justify-content:center;align-items:center;display:flex;overflow:auto}.flexlayout__tab_floating_inner div{text-align:center;margin-bottom:5px}.flexlayout__tab_floating_inner div a{color:#4169e1}.flexlayout__border{box-sizing:border-box;font-size:var(--font-size);font-family:var(--font-family);color:var(--color-border);background-color:var(--color-border-background);display:flex;overflow:hidden}.flexlayout__border_top{border-bottom:1px solid var(--color-border-divider-line);align-items:center}.flexlayout__border_bottom{border-top:1px solid var(--color-border-divider-line);align-items:center}.flexlayout__border_left{border-right:1px solid var(--color-border-divider-line);flex-direction:column;align-content:center}.flexlayout__border_right{border-left:1px solid var(--color-border-divider-line);flex-direction:column;align-content:center}.flexlayout__border_inner{box-sizing:border-box;flex-grow:1;display:flex;position:relative;overflow:hidden}.flexlayout__border_inner_tab_container{white-space:nowrap;box-sizing:border-box;width:10000px;padding-left:2px;padding-right:2px;display:flex;position:absolute;top:0;bottom:0}.flexlayout__border_inner_tab_container_right{transform-origin:0 0;transform:rotate(90deg)}.flexlayout__border_inner_tab_container_left{transform-origin:100% 0;flex-direction:row-reverse;transform:rotate(-90deg)}.flexlayout__border_tab_divider{width:4px}.flexlayout__border_button{cursor:pointer;box-sizing:border-box;white-space:nowrap;align-items:center;gap:.3em;margin:2px 0;padding:3px .5em;display:flex}.flexlayout__border_button--selected{background-color:var(--color-border-tab-selected-background);color:var(--color-border-tab-selected)}@media (hover:hover){.flexlayout__border_button:hover{background-color:var(--color-border-tab-selected-background);color:var(--color-border-tab-selected)}}.flexlayout__border_button--unselected{background-color:var(--color-border-tab-unselected-background);color:var(--color-border-tab-unselected)}.flexlayout__border_button_leading,.flexlayout__border_button_content{display:flex}.flexlayout__border_button_trailing{visibility:hidden;border-radius:4px;display:flex}.flexlayout__border_button_trailing:hover{background-color:var(--color-3)}@media (hover:hover){.flexlayout__border_button:hover .flexlayout__border_button_trailing{visibility:visible}}.flexlayout__border_button--selected .flexlayout__border_button_trailing{visibility:visible}.flexlayout__border_toolbar{align-items:center;gap:.3em;display:flex}.flexlayout__border_toolbar_left,.flexlayout__border_toolbar_right{flex-direction:column;padding-top:.5em;padding-bottom:.3em}.flexlayout__border_toolbar_top,.flexlayout__border_toolbar_bottom{padding-left:.5em;padding-right:.3em}.flexlayout__border_toolbar_button{font-size:inherit;background-color:#0000;border:none;border-radius:4px;outline:none;padding:1px}@media (hover:hover){.flexlayout__border_toolbar_button:hover{background-color:var(--color-2)}}.flexlayout__border_toolbar_button_overflow{color:var(--color-overflow);font-size:inherit;background-color:#0000;border:none;align-items:center;display:flex}.flexlayout__popup_menu{font-size:var(--font-size);font-family:var(--font-family)}.flexlayout__popup_menu_item{white-space:nowrap;cursor:pointer;border-radius:2px;padding:2px .5em}@media (hover:hover){.flexlayout__popup_menu_item:hover{background-color:var(--color-6)}}.flexlayout__popup_menu_container{border:1px solid var(--color-popup-border);color:var(--color-popup-unselected);background:var(--color-popup-unselected-background);z-index:1000;border-radius:3px;min-width:100px;max-height:50%;padding:2px;position:absolute;overflow:auto;box-shadow:inset 0 0 5px #00000026}.flexlayout__floating_window _body{height:100%}.flexlayout__floating_window_content{position:absolute;top:0;bottom:0;left:0;right:0}.flexlayout__floating_window_tab{box-sizing:border-box;background-color:var(--color-background);color:var(--color-text);position:absolute;top:0;bottom:0;left:0;right:0;overflow:auto}.flexlayout__error_boundary_container{justify-content:center;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.flexlayout__error_boundary_content{align-items:center;display:flex}.flexlayout__tabset_sizer{font-size:var(--font-size);font-family:var(--font-family);padding-top:5px;padding-bottom:3px}.flexlayout__tabset_header_sizer{font-size:var(--font-size);font-family:var(--font-family);padding-top:3px;padding-bottom:3px}.flexlayout__border_sizer{font-size:var(--font-size);font-family:var(--font-family);padding-top:6px;padding-bottom:5px}@font-face{font-family:Lato;src:url(/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Regular.4291f48c.ttf)}@font-face{font-family:Lato;src:url(/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Light.bec6f0ae.ttf);font-weight:300}@font-face{font-family:Lato;src:url(/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Bold.2c00c297.ttf);font-weight:700} \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/css/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.f1ed34c6.css b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/css/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.f1ed34c6.css deleted file mode 100644 index e84ee36d52..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/css/async/__federation_expose__internal___mf_bootstrap_document_editor_iframe.f1ed34c6.css +++ /dev/null @@ -1,14 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ -.flexlayout__layout{--color-text:black;--color-background:white;--color-base:white;--color-1:#f7f7f7;--color-2:#f0f0f0;--color-3:#e9e9e9;--color-4:#e2e2e2;--color-5:#dbdbdb;--color-6:#d4d4d4;--color-drag1:#5f86c4;--color-drag2:#77a677;--color-drag1-background:#5f86c41a;--color-drag2-background:#77a67713;--font-size:medium;--font-family:Roboto,Arial,sans-serif;--color-overflow:gray;--color-icon:gray;--color-tabset-background:var(--color-background);--color-tabset-background-selected:var(--color-1);--color-tabset-background-maximized:var(--color-6);--color-tabset-divider-line:var(--color-4);--color-tabset-header-background:var(--color-background);--color-tabset-header:var(--color-text);--color-border-background:var(--color-background);--color-border-divider-line:var(--color-4);--color-tab-selected:var(--color-text);--color-tab-selected-background:var(--color-4);--color-tab-unselected:gray;--color-tab-unselected-background:transparent;--color-tab-textbox:var(--color-text);--color-tab-textbox-background:var(--color-3);--color-border-tab-selected:var(--color-text);--color-border-tab-selected-background:var(--color-4);--color-border-tab-unselected:gray;--color-border-tab-unselected-background:var(--color-2);--color-splitter:var(--color-1);--color-splitter-hover:var(--color-4);--color-splitter-drag:var(--color-4);--color-drag-rect-border:var(--color-6);--color-drag-rect-background:var(--color-4);--color-drag-rect:var(--color-text);--color-popup-border:var(--color-6);--color-popup-unselected:var(--color-text);--color-popup-unselected-background:white;--color-popup-selected:var(--color-text);--color-popup-selected-background:var(--color-3);--color-edge-marker:#aaa;--color-edge-icon:#555;position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.flexlayout__splitter{background-color:var(--color-splitter)}@media (hover:hover){.flexlayout__splitter:hover{background-color:var(--color-splitter-hover);transition:background-color .1s ease-in 50ms}}.flexlayout__splitter_border{z-index:10}.flexlayout__splitter_drag{z-index:1000;background-color:var(--color-splitter-drag)}.flexlayout__splitter_extra{background-color:#0000}.flexlayout__outline_rect{pointer-events:none;box-sizing:border-box;border:2px solid var(--color-drag1);background:var(--color-drag1-background);z-index:1000;border-radius:5px;position:absolute}.flexlayout__outline_rect_edge{pointer-events:none;border:2px solid var(--color-drag2);background:var(--color-drag2-background);z-index:1000;box-sizing:border-box;border-radius:5px}.flexlayout__edge_rect{z-index:1000;background-color:var(--color-edge-marker);pointer-events:none;justify-content:center;align-items:center;display:flex;position:absolute}.flexlayout__drag_rect{cursor:move;color:var(--color-drag-rect);background-color:var(--color-drag-rect-background);border:2px solid var(--color-drag-rect-border);z-index:1000;box-sizing:border-box;opacity:.9;text-align:center;word-wrap:break-word;font-size:var(--font-size);font-family:var(--font-family);border-radius:5px;flex-direction:column;justify-content:center;padding:.3em 1em;display:flex;position:absolute;overflow:hidden}.flexlayout__tabset{background-color:var(--color-tabset-background);box-sizing:border-box;font-size:var(--font-size);font-family:var(--font-family);flex-direction:column;display:flex;overflow:hidden}.flexlayout__tabset_tab_divider{width:4px}.flexlayout__tabset_content{flex-grow:1;justify-content:center;align-items:center;display:flex}.flexlayout__tabset_header{box-sizing:border-box;border-bottom:1px solid var(--color-tabset-divider-line);color:var(--color-tabset-header);background-color:var(--color-tabset-header-background);align-items:center;padding:3px 3px 3px 5px;display:flex}.flexlayout__tabset_header_content{flex-grow:1}.flexlayout__tabset_tabbar_outer{box-sizing:border-box;background-color:var(--color-tabset-background);display:flex;overflow:hidden}.flexlayout__tabset_tabbar_outer_top{border-bottom:1px solid var(--color-tabset-divider-line)}.flexlayout__tabset_tabbar_outer_bottom{border-top:1px solid var(--color-tabset-divider-line)}.flexlayout__tabset_tabbar_inner{box-sizing:border-box;flex-grow:1;display:flex;position:relative;overflow:hidden}.flexlayout__tabset_tabbar_inner_tab_container{box-sizing:border-box;width:10000px;padding-left:4px;padding-right:4px;display:flex;position:absolute;top:0;bottom:0}.flexlayout__tabset_tabbar_inner_tab_container_top{border-top:2px solid #0000}.flexlayout__tabset_tabbar_inner_tab_container_bottom{border-bottom:2px solid #0000}.flexlayout__tabset-selected{background-color:var(--color-tabset-background-selected)}.flexlayout__tabset-maximized{background-color:var(--color-tabset-background-maximized)}.flexlayout__tab_button_stamp{white-space:nowrap;box-sizing:border-box;align-items:center;gap:.3em;display:inline-flex}.flexlayout__tab{box-sizing:border-box;background-color:var(--color-background);color:var(--color-text);position:absolute;overflow:auto}.flexlayout__tab_button{box-sizing:border-box;cursor:pointer;align-items:center;gap:.3em;padding:3px .5em;display:flex}.flexlayout__tab_button_stretch{color:var(--color-tab-selected);text-wrap:nowrap;box-sizing:border-box;cursor:pointer;background-color:#0000;align-items:center;gap:.3em;width:100%;padding:3px 0;display:flex}@media (hover:hover){.flexlayout__tab_button_stretch:hover{color:var(--color-tab-selected)}}.flexlayout__tab_button--selected{background-color:var(--color-tab-selected-background);color:var(--color-tab-selected)}@media (hover:hover){.flexlayout__tab_button:hover{background-color:var(--color-tab-selected-background);color:var(--color-tab-selected)}}.flexlayout__tab_button--unselected{background-color:var(--color-tab-unselected-background);color:gray}.flexlayout__tab_button_leading,.flexlayout__tab_button_content{display:flex}.flexlayout__tab_button_textbox{font-family:var(--font-family);font-size:var(--font-size);color:var(--color-tab-textbox);background-color:var(--color-tab-textbox-background);border:none;border:1px inset var(--color-1);border-radius:3px;width:10em}.flexlayout__tab_button_textbox:focus{outline:none}.flexlayout__tab_button_trailing{visibility:hidden;border-radius:4px;display:flex}.flexlayout__tab_button_trailing:hover{background-color:var(--color-3)}@media (hover:hover){.flexlayout__tab_button:hover .flexlayout__tab_button_trailing{visibility:visible}}.flexlayout__tab_button--selected .flexlayout__tab_button_trailing{visibility:visible}.flexlayout__tab_button_overflow{color:var(--color-overflow);font-size:inherit;background-color:#0000;border:none;align-items:center;display:flex}.flexlayout__tab_toolbar{align-items:center;gap:.3em;padding-left:.5em;padding-right:.3em;display:flex}.flexlayout__tab_toolbar_button{font-size:inherit;background-color:#0000;border:none;border-radius:4px;outline:none;margin:0;padding:1px}@media (hover:hover){.flexlayout__tab_toolbar_button:hover{background-color:var(--color-2)}}.flexlayout__tab_toolbar_sticky_buttons_container{align-items:center;gap:.3em;padding-left:5px;display:flex}.flexlayout__tab_floating{box-sizing:border-box;color:var(--color-text);background-color:var(--color-background);justify-content:center;align-items:center;display:flex;position:absolute;overflow:auto}.flexlayout__tab_floating_inner{flex-direction:column;justify-content:center;align-items:center;display:flex;overflow:auto}.flexlayout__tab_floating_inner div{text-align:center;margin-bottom:5px}.flexlayout__tab_floating_inner div a{color:#4169e1}.flexlayout__border{box-sizing:border-box;font-size:var(--font-size);font-family:var(--font-family);color:var(--color-border);background-color:var(--color-border-background);display:flex;overflow:hidden}.flexlayout__border_top{border-bottom:1px solid var(--color-border-divider-line);align-items:center}.flexlayout__border_bottom{border-top:1px solid var(--color-border-divider-line);align-items:center}.flexlayout__border_left{border-right:1px solid var(--color-border-divider-line);flex-direction:column;align-content:center}.flexlayout__border_right{border-left:1px solid var(--color-border-divider-line);flex-direction:column;align-content:center}.flexlayout__border_inner{box-sizing:border-box;flex-grow:1;display:flex;position:relative;overflow:hidden}.flexlayout__border_inner_tab_container{white-space:nowrap;box-sizing:border-box;width:10000px;padding-left:2px;padding-right:2px;display:flex;position:absolute;top:0;bottom:0}.flexlayout__border_inner_tab_container_right{transform-origin:0 0;transform:rotate(90deg)}.flexlayout__border_inner_tab_container_left{transform-origin:100% 0;flex-direction:row-reverse;transform:rotate(-90deg)}.flexlayout__border_tab_divider{width:4px}.flexlayout__border_button{cursor:pointer;box-sizing:border-box;white-space:nowrap;align-items:center;gap:.3em;margin:2px 0;padding:3px .5em;display:flex}.flexlayout__border_button--selected{background-color:var(--color-border-tab-selected-background);color:var(--color-border-tab-selected)}@media (hover:hover){.flexlayout__border_button:hover{background-color:var(--color-border-tab-selected-background);color:var(--color-border-tab-selected)}}.flexlayout__border_button--unselected{background-color:var(--color-border-tab-unselected-background);color:var(--color-border-tab-unselected)}.flexlayout__border_button_leading,.flexlayout__border_button_content{display:flex}.flexlayout__border_button_trailing{visibility:hidden;border-radius:4px;display:flex}.flexlayout__border_button_trailing:hover{background-color:var(--color-3)}@media (hover:hover){.flexlayout__border_button:hover .flexlayout__border_button_trailing{visibility:visible}}.flexlayout__border_button--selected .flexlayout__border_button_trailing{visibility:visible}.flexlayout__border_toolbar{align-items:center;gap:.3em;display:flex}.flexlayout__border_toolbar_left,.flexlayout__border_toolbar_right{flex-direction:column;padding-top:.5em;padding-bottom:.3em}.flexlayout__border_toolbar_top,.flexlayout__border_toolbar_bottom{padding-left:.5em;padding-right:.3em}.flexlayout__border_toolbar_button{font-size:inherit;background-color:#0000;border:none;border-radius:4px;outline:none;padding:1px}@media (hover:hover){.flexlayout__border_toolbar_button:hover{background-color:var(--color-2)}}.flexlayout__border_toolbar_button_overflow{color:var(--color-overflow);font-size:inherit;background-color:#0000;border:none;align-items:center;display:flex}.flexlayout__popup_menu{font-size:var(--font-size);font-family:var(--font-family)}.flexlayout__popup_menu_item{white-space:nowrap;cursor:pointer;border-radius:2px;padding:2px .5em}@media (hover:hover){.flexlayout__popup_menu_item:hover{background-color:var(--color-6)}}.flexlayout__popup_menu_container{border:1px solid var(--color-popup-border);color:var(--color-popup-unselected);background:var(--color-popup-unselected-background);z-index:1000;border-radius:3px;min-width:100px;max-height:50%;padding:2px;position:absolute;overflow:auto;box-shadow:inset 0 0 5px #00000026}.flexlayout__floating_window _body{height:100%}.flexlayout__floating_window_content{position:absolute;top:0;bottom:0;left:0;right:0}.flexlayout__floating_window_tab{box-sizing:border-box;background-color:var(--color-background);color:var(--color-text);position:absolute;top:0;bottom:0;left:0;right:0;overflow:auto}.flexlayout__error_boundary_container{justify-content:center;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.flexlayout__error_boundary_content{align-items:center;display:flex}.flexlayout__tabset_sizer{font-size:var(--font-size);font-family:var(--font-family);padding-top:5px;padding-bottom:3px}.flexlayout__tabset_header_sizer{font-size:var(--font-size);font-family:var(--font-family);padding-top:3px;padding-bottom:3px}.flexlayout__border_sizer{font-size:var(--font-size);font-family:var(--font-family);padding-top:6px;padding-bottom:5px}@font-face{font-family:Lato;src:url(/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Regular.4291f48c.ttf)}@font-face{font-family:Lato;src:url(/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Light.bec6f0ae.ttf);font-weight:300}@font-face{font-family:Lato;src:url(/bundles/pimcorestudioui/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Bold.2c00c297.ttf);font-weight:700} \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Bold.2c00c297.ttf b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Bold.2c00c297.ttf deleted file mode 100644 index 016068b486..0000000000 Binary files a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Bold.2c00c297.ttf and /dev/null differ diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Light.bec6f0ae.ttf b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Light.bec6f0ae.ttf deleted file mode 100644 index dfa72ce808..0000000000 Binary files a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Light.bec6f0ae.ttf and /dev/null differ diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Regular.4291f48c.ttf b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Regular.4291f48c.ttf deleted file mode 100644 index bb2e8875a9..0000000000 Binary files a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/font/Lato-Regular.4291f48c.ttf and /dev/null differ diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/1150.4a6b0826.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/1150.4a6b0826.js deleted file mode 100644 index f65e4b7004..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/1150.4a6b0826.js +++ /dev/null @@ -1,461 +0,0 @@ -/*! For license information please see 1150.4a6b0826.js.LICENSE.txt */ -(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["1150"],{32282:function(e,t,n){"use strict";n.d(t,{iN:()=>$,R_:()=>m,EV:()=>w,Ti:()=>N,ez:()=>g});var r=n(75752),o=2,i=.16,a=.05,l=.05,s=.15,c=5,u=4,d=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function f(e,t,n){var r;return(r=Math.round(e.h)>=60&&240>=Math.round(e.h)?n?Math.round(e.h)-o*t:Math.round(e.h)+o*t:n?Math.round(e.h)+o*t:Math.round(e.h)-o*t)<0?r+=360:r>=360&&(r-=360),r}function h(e,t,n){var r;return 0===e.h&&0===e.s?e.s:((r=n?e.s-i*t:t===u?e.s+i:e.s+a*t)>1&&(r=1),n&&t===c&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(100*r)/100)}function p(e,t,n){var r;return Math.round(100*(r=Math.max(0,Math.min(1,r=n?e.v+l*t:e.v-s*t))))/100}function m(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],o=new r.t(e),i=o.toHsv(),a=c;a>0;a-=1){var l=new r.t({h:f(i,a,!0),s:h(i,a,!0),v:p(i,a,!0)});n.push(l)}n.push(o);for(var s=1;s<=u;s+=1){var m=new r.t({h:f(i,s),s:h(i,s),v:p(i,s)});n.push(m)}return"dark"===t.theme?d.map(function(e){var o=e.index,i=e.amount;return new r.t(t.backgroundColor||"#141414").mix(n[o],i).toHexString()}):n.map(function(e){return e.toHexString()})}var g={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},v=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];v.primary=v[5];var b=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];b.primary=b[5];var y=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];y.primary=y[5];var w=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];w.primary=w[5];var x=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];x.primary=x[5];var S=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];S.primary=S[5];var k=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];k.primary=k[5];var C=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];C.primary=C[5];var $=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];$.primary=$[5];var E=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];E.primary=E[5];var O=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];O.primary=O[5];var M=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];M.primary=M[5];var I=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];I.primary=I[5];var N={red:v,volcano:b,orange:y,gold:w,yellow:x,lime:S,green:k,cyan:C,blue:$,geekblue:E,purple:O,magenta:M,grey:I},Z=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];Z.primary=Z[5];var R=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];R.primary=R[5];var T=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];T.primary=T[5];var P=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];P.primary=P[5];var j=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];j.primary=j[5];var A=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];A.primary=A[5];var D=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];D.primary=D[5];var _=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];_.primary=_[5];var z=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];z.primary=z[5];var L=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];L.primary=L[5];var B=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];B.primary=B[5];var H=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];H.primary=H[5];var F=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];F.primary=F[5]},40326:function(e,t,n){"use strict";n.d(t,{IX:()=>E,rb:()=>A});var r=n(58133),o=n(25002),i=n(17508),a=n(50324),l=n(81004),s=n.n(l),c=n(80271),u=n(46932),d=n(89526),f=n(64222),h=n(26238),p=n(90015);let m=(0,d.Z)(function e(){(0,u.Z)(this,e)});var g="CALC_UNIT",v=RegExp(g,"g");function b(e){return"number"==typeof e?"".concat(e).concat(g):e}var y=function(e){(0,h.Z)(n,e);var t=(0,p.Z)(n);function n(e,o){(0,u.Z)(this,n),a=t.call(this),(0,i.Z)((0,f.Z)(a),"result",""),(0,i.Z)((0,f.Z)(a),"unitlessCssVar",void 0),(0,i.Z)((0,f.Z)(a),"lowPriority",void 0);var a,l=(0,r.Z)(e);return a.unitlessCssVar=o,e instanceof n?a.result="(".concat(e.result,")"):"number"===l?a.result=b(e):"string"===l&&(a.result=e),a}return(0,d.Z)(n,[{key:"add",value:function(e){return e instanceof n?this.result="".concat(this.result," + ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," + ").concat(b(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof n?this.result="".concat(this.result," - ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," - ").concat(b(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," * ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," / ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,n=(e||{}).unit,r=!0;return("boolean"==typeof n?r=n:Array.from(this.unitlessCssVar).some(function(e){return t.result.includes(e)})&&(r=!1),this.result=this.result.replace(v,r?"px":""),void 0!==this.lowPriority)?"calc(".concat(this.result,")"):this.result}}]),n}(m);let w=function(e){(0,h.Z)(n,e);var t=(0,p.Z)(n);function n(e){var r;return(0,u.Z)(this,n),r=t.call(this),(0,i.Z)((0,f.Z)(r),"result",0),e instanceof n?r.result=e.result:"number"==typeof e&&(r.result=e),r}return(0,d.Z)(n,[{key:"add",value:function(e){return e instanceof n?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof n?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof n?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof n?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),n}(m),x=function(e,t){var n="css"===e?y:w;return function(e){return new n(e,t)}},S=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};n(56790);let k=function(e,t,n,r){var i=(0,a.Z)({},t[e]);null!=r&&r.deprecatedTokens&&r.deprecatedTokens.forEach(function(e){var t,n=(0,o.Z)(e,2),r=n[0],a=n[1];(null!=i&&i[r]||null!=i&&i[a])&&(null!=(t=i[a])||(i[a]=null==i?void 0:i[r]))});var l=(0,a.Z)((0,a.Z)({},n),i);return Object.keys(l).forEach(function(e){l[e]===t[e]&&delete l[e]}),l};var C="undefined"!=typeof CSSINJS_STATISTIC,$=!0;function E(){for(var e=arguments.length,t=Array(e),n=0;n1e4){var t=Date.now();this.lastAccessBeat.forEach(function(n,r){t-n>R&&(e.map.delete(r),e.lastAccessBeat.delete(r))}),this.accessBeat=0}}}]),e}());let P=function(e,t){return s().useMemo(function(){var n=T.get(t);if(n)return n;var r=e();return T.set(t,r),r},t)},j=function(){return{}},A=function(e){var t=e.useCSP,n=void 0===t?j:t,l=e.useToken,u=e.usePrefix,d=e.getResetStyles,f=e.getCommonStyle,h=e.getCompUnitless;function p(e,t,n){var r=n.unitless,o=n.injectStyle,i=void 0===o||o,a=n.prefixToken,u=n.ignore,d=function(o){var i=o.rootCls,s=o.cssVar,d=void 0===s?{}:s,f=l().realToken;return(0,c.CI)({path:[e],prefix:d.prefix,key:d.key,unitless:r,ignore:u,token:f,scope:i},function(){var r=N(e,f,t),o=k(e,f,r,{deprecatedTokens:null==n?void 0:n.deprecatedTokens});return Object.keys(r).forEach(function(e){o[a(e)]=o[e],delete o[e]}),o}),null};return function(t){var n=l().cssVar;return[function(r){return i&&n?s().createElement(s().Fragment,null,s().createElement(d,{rootCls:t,cssVar:n,component:e}),r):r},null==n?void 0:n.key]}}function m(t,i,s){var h=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},p=Array.isArray(t)?t:[t,t],m=(0,o.Z)(p,1)[0],g=p.join("-"),v=e.layer||{name:"antd"};return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=l(),p=o.theme,b=o.realToken,y=o.hashId,w=o.token,C=o.cssVar,$=u(),O=$.rootPrefixCls,M=$.iconPrefixCls,R=n(),T=C?"css":"js",j=P(function(){var e=new Set;return C&&Object.keys(h.unitless||{}).forEach(function(t){e.add((0,c.ks)(t,C.prefix)),e.add((0,c.ks)(t,S(m,C.prefix)))}),x(T,e)},[T,m,null==C?void 0:C.prefix]),A=Z(T),D=A.max,_=A.min,z={theme:p,token:w,hashId:y,nonce:function(){return R.nonce},clientOnly:h.clientOnly,layer:v,order:h.order||-999};return"function"==typeof d&&(0,c.xy)((0,a.Z)((0,a.Z)({},z),{},{clientOnly:!1,path:["Shared",O]}),function(){return d(w,{prefix:{rootPrefixCls:O,iconPrefixCls:M},csp:R})}),[(0,c.xy)((0,a.Z)((0,a.Z)({},z),{},{path:[g,e,M]}),function(){if(!1===h.injectStyle)return[];var n=I(w),o=n.token,a=n.flush,l=N(m,b,s),u=".".concat(e),d=k(m,b,l,{deprecatedTokens:h.deprecatedTokens});C&&l&&"object"===(0,r.Z)(l)&&Object.keys(l).forEach(function(e){l[e]="var(".concat((0,c.ks)(e,S(m,C.prefix)),")")});var p=E(o,{componentCls:u,prefixCls:e,iconCls:".".concat(M),antCls:".".concat(O),calc:j,max:D,min:_},C?l:d),g=i(p,{hashId:y,prefixCls:e,rootPrefixCls:O,iconPrefixCls:M});a(m,d);var v="function"==typeof f?f(p,e,t,h.resetFont):null;return[!1===h.resetStyle?null:v,g]}),y]}}return{genStyleHooks:function(e,t,n,r){var l=Array.isArray(e)?e[0]:e;function s(e){return"".concat(String(l)).concat(e.slice(0,1).toUpperCase()).concat(e.slice(1))}var c=(null==r?void 0:r.unitless)||{},u="function"==typeof h?h(e):{},d=(0,a.Z)((0,a.Z)({},u),{},(0,i.Z)({},s("zIndexPopup"),!0));Object.keys(c).forEach(function(e){d[s(e)]=c[e]});var f=(0,a.Z)((0,a.Z)({},r),{},{unitless:d,prefixToken:s}),g=m(e,t,n,f),v=p(l,n,f);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=g(e,t),r=(0,o.Z)(n,2)[1],i=v(t),a=(0,o.Z)(i,2);return[a[0],r,a[1]]}},genSubStyleComponent:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=m(e,t,n,(0,a.Z)({resetStyle:!1,order:-998},r));return function(e){var t=e.prefixCls,n=e.rootCls,r=void 0===n?t:n;return o(t,r),null}},genComponentStyleHook:m}}},80271:function(e,t,n){"use strict";n.d(t,{t2:()=>ef,EN:()=>tk,CI:()=>tw,E4:()=>tC,fp:()=>ep,Df:()=>C,ks:()=>q,jG:()=>A,xy:()=>tg,V9:()=>E,bf:()=>W});var r,o,i=n(25002),a=n(17508),l=n(98477),s=n(50324);let c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&n)*0x5bd1e995+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)};var u=n(44958),d=n(81004),f=n(77354),h=n(56982),p=n(91881),m=n(46932),g=n(89526),v="%";function b(e){return e.join(v)}let y=function(){function e(t){(0,m.Z)(this,e),(0,a.Z)(this,"instanceId",void 0),(0,a.Z)(this,"cache",new Map),this.instanceId=t}return(0,g.Z)(e,[{key:"get",value:function(e){return this.opGet(b(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(b(e),t)}},{key:"opUpdate",value:function(e,t){var n=t(this.cache.get(e));null===n?this.cache.delete(e):this.cache.set(e,n)}}]),e}();var w=["children"],x="data-token-hash",S="data-css-hash",k="__cssinjs_instance__";function C(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(S,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(t){t[k]=t[k]||e,t[k]===e&&document.head.insertBefore(t,n)});var r={};Array.from(document.querySelectorAll("style[".concat(S,"]"))).forEach(function(t){var n,o=t.getAttribute(S);r[o]?t[k]===e&&(null==(n=t.parentNode)||n.removeChild(t)):r[o]=!0})}return new y(e)}var $=d.createContext({hashPriority:"low",cache:C(),defaultCache:!0}),E=function(e){var t=e.children,n=(0,f.Z)(e,w),r=d.useContext($),o=(0,h.Z)(function(){var e=(0,s.Z)({},r);Object.keys(n).forEach(function(t){var r=n[t];void 0!==n[t]&&(e[t]=r)});var t=n.cache;return e.cache=e.cache||C(),e.defaultCache=!t&&r.defaultCache,e},[r,n],function(e,t){return!(0,p.Z)(e[0],t[0],!0)||!(0,p.Z)(e[1],t[1],!0)});return d.createElement($.Provider,{value:o},t)};let O=$;var M=n(58133),I=n(98924);function N(e,t){if(e.length!==t.length)return!1;for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach(function(e){if(o){var t;o=null==(t=o)||null==(t=t.map)?void 0:t.get(e)}else o=void 0}),null!=(t=o)&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null==(n=o)?void 0:n.value}},{key:"get",value:function(e){var t;return null==(t=this.internalGet(e,!0))?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(e,t){var n=(0,i.Z)(e,2)[1];return r.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),T+=1}return(0,g.Z)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce(function(t,n){return n(e,t)},void 0)}}]),e}(),j=new Z;function A(e){var t=Array.isArray(e)?e:[e];return j.has(t)||j.set(t,new P(t)),j.get(t)}var D=new WeakMap,_={};function z(e,t){for(var n=D,r=0;r3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(i)return e;var l=(0,s.Z)((0,s.Z)({},o),{},(r={},(0,a.Z)(r,x,t),(0,a.Z)(r,S,n),r)),c=Object.keys(l).map(function(e){var t=l[e];return t?"".concat(e,'="').concat(t,'"'):null}).filter(function(e){return e}).join(" ");return"")}var q=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},K=function(e,t,n){return Object.keys(e).length?".".concat(t).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map(function(e){var t=(0,i.Z)(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")}).join(""),"}"):""},X=function(e,t,n){var r={},o={};return Object.entries(e).forEach(function(e){var t=(0,i.Z)(e,2),a=t[0],l=t[1];if(null!=n&&null!=(s=n.preserve)&&s[a])o[a]=l;else if(("string"==typeof l||"number"==typeof l)&&!(null!=n&&null!=(c=n.ignore)&&c[a])){var s,c,u,d=q(a,null==n?void 0:n.prefix);r[d]="number"!=typeof l||null!=n&&null!=(u=n.unitless)&&u[a]?String(l):"".concat(l,"px"),o[a]="var(".concat(d,")")}}),[o,K(r,t,{scope:null==n?void 0:n.scope})]},U=n(8410),G=(0,s.Z)({},d).useInsertionEffect,Y=function(e,t,n){d.useMemo(e,n),(0,U.Z)(function(){return t(!0)},n)};let Q=G?function(e,t,n){return G(function(){return e(),t()},n)}:Y;var J=(0,s.Z)({},d).useInsertionEffect,ee=function(e){var t=[],n=!1;function r(e){n||t.push(e)}return d.useEffect(function(){return n=!1,function(){n=!0,t.length&&t.forEach(function(e){return e()})}},e),r},et=function(){return function(e){e()}};let en=void 0!==J?ee:et,er=function(){return!1};function eo(e,t,n,r,o){var a=d.useContext(O).cache,s=b([e].concat((0,l.Z)(t))),c=en([s]);er();var u=function(e){a.opUpdate(s,function(t){var r=t||[void 0,void 0],o=(0,i.Z)(r,2),a=o[0],l=[void 0===a?0:a,o[1]||n()];return e?e(l):l})};d.useMemo(function(){u()},[s]);var f=a.opGet(s)[1];return Q(function(){null==o||o(f)},function(e){return u(function(t){var n=(0,i.Z)(t,2),r=n[0],a=n[1];return e&&0===r&&(null==o||o(f)),[r+1,a]}),function(){a.opUpdate(s,function(t){var n=t||[],o=(0,i.Z)(n,2),l=o[0],u=void 0===l?0:l,d=o[1];return 0==u-1?(c(function(){(e||!a.opGet(s))&&(null==r||r(d,!1))}),null):[u-1,d]})}},[s]),f}var ei={},ea="css",el=new Map;function es(e){el.set(e,(el.get(e)||0)+1)}function ec(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(x,'="').concat(e,'"]')).forEach(function(e){if(e[k]===t){var n;null==(n=e.parentNode)||n.removeChild(e)}})}var eu=0;function ed(e,t){el.set(e,(el.get(e)||0)-1);var n=Array.from(el.keys()),r=n.filter(function(e){return 0>=(el.get(e)||0)});n.length-r.length>eu&&r.forEach(function(e){ec(e,t),el.delete(e)})}var ef=function(e,t,n,r){var o=n.getDerivativeToken(e),i=(0,s.Z)((0,s.Z)({},o),t);return r&&(i=r(i)),i},eh="token";function ep(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,d.useContext)(O),o=r.cache.instanceId,a=r.container,f=n.salt,h=void 0===f?"":f,p=n.override,m=void 0===p?ei:p,g=n.formatToken,v=n.getComputedToken,b=n.cssVar,y=z(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(t)))},t),w=B(y),C=B(m),$=b?B(b):"";return eo(eh,[h,e.id,w,C,$],function(){var t,n=v?v(y,m,e):ef(y,m,e,g),r=(0,s.Z)({},n),o="";if(b){var a=X(n,b.key,{prefix:b.prefix,ignore:b.ignore,unitless:b.unitless,preserve:b.preserve}),l=(0,i.Z)(a,2);n=l[0],o=l[1]}var u=H(n,h);n._tokenKey=u,r._tokenKey=H(r,h);var d=null!=(t=null==b?void 0:b.key)?t:u;n._themeKey=d,es(d);var f="".concat(ea,"-").concat(c(u));return n._hashId=f,[n,f,r,o,(null==b?void 0:b.key)||""]},function(e){ed(e[0]._themeKey,o)},function(e){var t=(0,i.Z)(e,4),n=t[0],r=t[3];if(b&&r){var l=(0,u.hq)(r,c("css-variables-".concat(n._themeKey)),{mark:S,prepend:"queue",attachTo:a,priority:-999});l[k]=o,l.setAttribute(x,n._themeKey)}})}var em=function(e,t,n){var r=(0,i.Z)(e,5),o=r[2],a=r[3],l=r[4],s=(n||{}).plain;if(!a)return null;var c=o._tokenKey,u=-999,d=V(a,l,c,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)},s);return[u,c,d]},eg=n(16019);let ev={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var eb="comm",ey="rule",ew="decl",ex="@import",eS="@namespace",ek="@keyframes",eC="@layer",e$=Math.abs,eE=String.fromCharCode;function eO(e){return e.trim()}function eM(e,t,n){return e.replace(t,n)}function eI(e,t,n){return e.indexOf(t,n)}function eN(e,t){return 0|e.charCodeAt(t)}function eZ(e,t,n){return e.slice(t,n)}function eR(e){return e.length}function eT(e){return e.length}function eP(e,t){return t.push(e),e}function ej(e,t){for(var n="",r=0;r0?eN(eH,--eL):0,e_--,10===eB&&(e_=1,eD--),eB}function eq(){return eB=eL2||eG(eB)>3?"":" "}function e1(e,t){for(;--t&&eq()&&!(eB<48)&&!(eB>102)&&(!(eB>57)||!(eB<65))&&(!(eB>70)||!(eB<97)););return eU(e,eX()+(t<6&&32==eK()&&32==eq()))}function e2(e){for(;eq();)switch(eB){case e:return eL;case 34:case 39:34!==e&&39!==e&&e2(eB);break;case 40:41===e&&e2(e);break;case 92:eq()}return eL}function e4(e,t){for(;eq();)if(e+eB===57)break;else if(e+eB===84&&47===eK())break;return"/*"+eU(t,eL-1)+"*"+eE(47===e?e:eq())}function e3(e){for(;!eG(eK());)eq();return eU(e,eL)}function e5(e){return eQ(e8("",null,null,null,[""],e=eY(e),0,[0],e))}function e8(e,t,n,r,o,i,a,l,s){for(var c=0,u=0,d=a,f=0,h=0,p=0,m=1,g=1,v=1,b=0,y="",w=o,x=i,S=r,k=y;g;)switch(p=b,b=eq()){case 40:if(108!=p&&58==eN(k,d-1)){-1!=eI(k+=eM(eJ(b),"&","&\f"),"&\f",e$(c?l[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:k+=eJ(b);break;case 9:case 10:case 13:case 32:k+=e0(p);break;case 92:k+=e1(eX()-1,7);continue;case 47:switch(eK()){case 42:case 47:eP(e7(e4(eq(),eX()),t,n,s),s),(5==eG(p||1)||5==eG(eK()||1))&&eR(k)&&" "!==eZ(k,-1,void 0)&&(k+=" ");break;default:k+="/"}break;case 123*m:l[c++]=eR(k)*v;case 125*m:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+u:-1==v&&(k=eM(k,/\f/g,"")),h>0&&(eR(k)-d||0===m&&47===p)&&eP(h>32?e9(k+";",r,n,d-1,s):e9(eM(k," ","")+";",r,n,d-2,s),s);break;case 59:k+=";";default:if(eP(S=e6(k,t,n,c,u,o,l,y,w=[],x=[],d,i),i),123===b)if(0===u)e8(k,t,S,S,w,i,d,l,x);else{switch(f){case 99:if(110===eN(k,3))break;case 108:if(97===eN(k,2))break;default:u=0;case 100:case 109:case 115:}u?e8(e,S,S,r&&eP(e6(e,S,S,0,0,o,l,y,o,w=[],d,x),x),o,x,d,l,r?w:x):e8(k,S,S,S,[""],x,0,l,x)}}c=u=h=0,m=v=1,y=k="",d=a;break;case 58:d=1+eR(k),h=p;default:if(m<1){if(123==b)--m;else if(125==b&&0==m++&&125==eV())continue}switch(k+=eE(b),b*m){case 38:v=u>0?1:(k+="\f",-1);break;case 44:l[c++]=(eR(k)-1)*v,v=1;break;case 64:45===eK()&&(k+=eJ(eq())),f=eK(),u=d=eR(y=k+=e3(eX())),b++;break;case 45:45===p&&2==eR(k)&&(m=0)}}return i}function e6(e,t,n,r,o,i,a,l,s,c,u,d){for(var f=o-1,h=0===o?i:[""],p=eT(h),m=0,g=0,v=0;m0?h[b]+" "+y:eM(y,/&\f/g,h[b])))&&(s[v++]=w);return eF(e,t,n,0===o?ey:l,s,c,u,d)}function e7(e,t,n,r){return eF(e,t,n,eb,eE(eW()),eZ(e,2,-2),0,r)}function e9(e,t,n,r,o){return eF(e,t,n,ew,eZ(e,0,r),eZ(e,r+1,-1),r,o)}var te="data-ant-cssinjs-cache-path",tt="_FILE_STYLE__";function tn(e){return Object.keys(e).map(function(t){var n=e[t];return"".concat(t,":").concat(n)}).join(";")}var tr=!0;function to(){if(!r&&(r={},(0,I.Z)())){var e,t=document.createElement("div");t.className=te,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);var n=getComputedStyle(t).content||"";(n=n.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(function(e){var t=e.split(":"),n=(0,i.Z)(t,2),o=n[0],a=n[1];r[o]=a});var o=document.querySelector("style[".concat(te,"]"));o&&(tr=!1,null==(e=o.parentNode)||e.removeChild(o)),document.body.removeChild(t)}}function ti(e){return to(),!!r[e]}function ta(e){var t=r[e],n=null;if(t&&(0,I.Z)())if(tr)n=tt;else{var o=document.querySelector("style[".concat(S,'="').concat(r[e],'"]'));o?n=o.innerHTML:delete r[e]}return[n,t]}var tl="_skip_check_",ts="_multi_value_";function tc(e){return ej(e5(e),eA).replace(/\{%%%\:[^;];}/g,";")}function tu(e){return"object"===(0,M.Z)(e)&&e&&(tl in e||ts in e)}function td(e,t,n){if(!t)return e;var r=".".concat(t),o="low"===n?":where(".concat(r,")"):r;return e.split(",").map(function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",i=(null==(t=r.match(/^\w+/))?void 0:t[0])||"";return[r="".concat(i).concat(o).concat(r.slice(i.length))].concat((0,l.Z)(n.slice(1))).join(" ")}).join(",")}var tf=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},o=r.root,a=r.injectHash,c=r.parentSelectors,u=n.hashId,d=n.layer,f=(n.path,n.hashPriority),h=n.transformers,p=void 0===h?[]:h,m=(n.linters,""),g={};function v(t){var r=t.getName(u);if(!g[r]){var o=e(t.style,n,{root:!1,parentSelectors:c}),a=(0,i.Z)(o,1)[0];g[r]="@keyframes ".concat(t.getName(u)).concat(a)}}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.forEach(function(e){Array.isArray(e)?b(e,t):e&&t.push(e)}),t}return b(Array.isArray(t)?t:[t]).forEach(function(t){var r="string"!=typeof t||o?t:{};if("string"==typeof r)m+="".concat(r,"\n");else if(r._keyframe)v(r);else{var d=p.reduce(function(e,t){var n;return(null==t||null==(n=t.visit)?void 0:n.call(t,e))||e},r);Object.keys(d).forEach(function(t){var r=d[t];if("object"!==(0,M.Z)(r)||!r||"animationName"===t&&r._keyframe||tu(r)){function h(e,t){var n=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),r=t;ev[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(v(t),r=t.getName(u)),m+="".concat(n,":").concat(r,";")}var p,b=null!=(p=null==r?void 0:r.value)?p:r;"object"===(0,M.Z)(r)&&null!=r&&r[ts]&&Array.isArray(b)?b.forEach(function(e){h(t,e)}):h(t,b)}else{var y=!1,w=t.trim(),x=!1;(o||a)&&u?w.startsWith("@")?y=!0:w="&"===w?td("",u,f):td(t,u,f):o&&!u&&("&"===w||""===w)&&(w="",x=!0);var S=e(r,n,{root:x,injectHash:y,parentSelectors:[].concat((0,l.Z)(c),[w])}),k=(0,i.Z)(S,2),C=k[0],$=k[1];g=(0,s.Z)((0,s.Z)({},g),$),m+="".concat(w).concat(C)}})}}),o?d&&(m&&(m="@layer ".concat(d.name," {").concat(m,"}")),d.dependencies&&(g["@layer ".concat(d.name)]=d.dependencies.map(function(e){return"@layer ".concat(e,", ").concat(d.name,";")}).join("\n"))):m="{".concat(m,"}"),[m,g]};function th(e,t){return c("".concat(e.join("%")).concat(t))}function tp(){return null}var tm="style";function tg(e,t){var n=e.token,r=e.path,o=e.hashId,c=e.layer,f=e.nonce,h=e.clientOnly,p=e.order,m=void 0===p?0:p,g=d.useContext(O),v=g.autoClear,b=(g.mock,g.defaultCache),y=g.hashPriority,w=g.container,C=g.ssrInline,$=g.transformers,E=g.linters,M=g.cache,I=g.layer,N=n._tokenKey,Z=[N];I&&Z.push("layer"),Z.push.apply(Z,(0,l.Z)(r));var R=F,T=eo(tm,Z,function(){var e=Z.join("|");if(ti(e)){var n=ta(e),a=(0,i.Z)(n,2),l=a[0],s=a[1];if(l)return[l,N,s,{},h,m]}var u=tf(t(),{hashId:o,hashPriority:y,layer:I?c:void 0,path:r.join("-"),transformers:$,linters:E}),d=(0,i.Z)(u,2),f=d[0],p=d[1],g=tc(f),v=th(Z,g);return[g,N,v,p,h,m]},function(e,t){var n=(0,i.Z)(e,3)[2];(t||v)&&F&&(0,u.jL)(n,{mark:S})},function(e){var t=(0,i.Z)(e,4),n=t[0],r=(t[1],t[2]),o=t[3];if(R&&n!==tt){var a={mark:S,prepend:!I&&"queue",attachTo:w,priority:m},l="function"==typeof f?f():f;l&&(a.csp={nonce:l});var c=[],d=[];Object.keys(o).forEach(function(e){e.startsWith("@layer")?c.push(e):d.push(e)}),c.forEach(function(e){(0,u.hq)(tc(o[e]),"_layer-".concat(e),(0,s.Z)((0,s.Z)({},a),{},{prepend:!0}))});var h=(0,u.hq)(n,r,a);h[k]=M.instanceId,h.setAttribute(x,N),d.forEach(function(e){(0,u.hq)(tc(o[e]),"_effect-".concat(e),a)})}}),P=(0,i.Z)(T,3),j=P[0],A=P[1],D=P[2];return function(e){var t,n;return t=C&&!R&&b?d.createElement("style",(0,eg.Z)({},(n={},(0,a.Z)(n,x,A),(0,a.Z)(n,S,D),n),{dangerouslySetInnerHTML:{__html:j}})):d.createElement(tp,null),d.createElement(d.Fragment,null,t,e)}}var tv=function(e,t,n){var r=(0,i.Z)(e,6),o=r[0],a=r[1],l=r[2],s=r[3],c=r[4],u=r[5],d=(n||{}).plain;if(c)return null;var f=o,h={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return f=V(o,a,l,h,d),s&&Object.keys(s).forEach(function(e){if(!t[e]){t[e]=!0;var n=V(tc(s[e]),a,"_effect-".concat(e),h,d);e.startsWith("@layer")?f=n+f:f+=n}}),[u,l,f]},tb="cssVar",ty=function(e,t,n){var r=(0,i.Z)(e,4),o=r[1],a=r[2],l=r[3],s=(n||{}).plain;if(!o)return null;var c=-999,u=V(o,l,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)},s);return[c,a,u]};let tw=function(e,t){var n=e.key,r=e.prefix,o=e.unitless,a=e.ignore,s=e.token,c=e.scope,f=void 0===c?"":c,h=(0,d.useContext)(O),p=h.cache.instanceId,m=h.container,g=s._tokenKey,v=[].concat((0,l.Z)(e.path),[n,f,g]);return eo(tb,v,function(){var e=X(t(),n,{prefix:r,unitless:o,ignore:a,scope:f}),l=(0,i.Z)(e,2),s=l[0],c=l[1],u=th(v,c);return[s,c,u,n]},function(e){var t=(0,i.Z)(e,3)[2];F&&(0,u.jL)(t,{mark:S})},function(e){var t=(0,i.Z)(e,3),r=t[1],o=t[2];if(r){var a=(0,u.hq)(r,o,{mark:S,prepend:"queue",attachTo:m,priority:-999});a[k]=p,a.setAttribute(x,n)}})};var tx=(o={},(0,a.Z)(o,tm,tv),(0,a.Z)(o,eh,em),(0,a.Z)(o,tb,ty),o);function tS(e){return null!==e}function tk(e,t){var n="boolean"==typeof t?{plain:t}:t||{},r=n.plain,o=void 0!==r&&r,l=n.types,s=void 0===l?["style","token","cssVar"]:l,c=new RegExp("^(".concat(("string"==typeof s?[s]:s).join("|"),")%")),u=Array.from(e.cache.keys()).filter(function(e){return c.test(e)}),d={},f={},h="";return u.map(function(t){var n=t.replace(c,"").replace(/%/g,"|"),r=t.split("%"),a=(0,tx[(0,i.Z)(r,1)[0]])(e.cache.get(t)[1],d,{plain:o});if(!a)return null;var l=(0,i.Z)(a,3),s=l[0],u=l[1],h=l[2];return t.startsWith("style")&&(f[n]=u),[s,h]}).filter(tS).sort(function(e,t){return(0,i.Z)(e,1)[0]-(0,i.Z)(t,1)[0]}).forEach(function(e){var t=(0,i.Z)(e,2)[1];h+=t}),h+=V(".".concat(te,'{content:"').concat(tn(f),'";}'),void 0,void 0,(0,a.Z)({},te,te),o)}let tC=function(){function e(t,n){(0,m.Z)(this,e),(0,a.Z)(this,"name",void 0),(0,a.Z)(this,"style",void 0),(0,a.Z)(this,"_keyframe",!0),this.name=t,this.style=n}return(0,g.Z)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}();function t$(e){return e.notSplit=!0,e}t$(["borderTop","borderBottom"]),t$(["borderTop"]),t$(["borderBottom"]),t$(["borderLeft","borderRight"]),t$(["borderLeft"]),t$(["borderRight"])},75752:function(e,t,n){"use strict";n.d(t,{t:()=>s});var r=n(17508);let o=Math.round;function i(e,t){let n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(e=>parseFloat(e));for(let e=0;e<3;e+=1)r[e]=t(r[e]||0,n[e]||"",e);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}let a=(e,t,n)=>0===n?e:e/100;function l(e,t){let n=t||255;return e>n?n:e<0?0:e}class s{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if((0,r.Z)(this,"isValid",!0),(0,r.Z)(this,"r",0),(0,r.Z)(this,"g",0),(0,r.Z)(this,"b",0),(0,r.Z)(this,"a",1),(0,r.Z)(this,"_h",void 0),(0,r.Z)(this,"_s",void 0),(0,r.Z)(this,"_l",void 0),(0,r.Z)(this,"_v",void 0),(0,r.Z)(this,"_max",void 0),(0,r.Z)(this,"_min",void 0),(0,r.Z)(this,"_brightness",void 0),e)if("string"==typeof e){let t=e.trim();function n(e){return t.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(t)?this.fromHexString(t):n("rgb")?this.fromRgbString(t):n("hsl")?this.fromHslString(t):(n("hsv")||n("hsb"))&&this.fromHsvString(t)}else if(e instanceof s)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=l(e.r),this.g=l(e.g),this.b=l(e.b),this.a="number"==typeof e.a?l(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else if(t("hsv"))this.fromHsv(e);else throw Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e))}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){let t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}let t=e(this.r);return .2126*t+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){let e=this.getMax()-this.getMin();0===e?this._h=0:this._h=o(60*(this.r===this.getMax()?(this.g-this.b)/e+6*(this.g1&&(r=1),this._c({h:t,s:n,l:r,a:this.a})}mix(e,t=50){let n=this._c(e),r=t/100,i=e=>(n[e]-this[e])*r+this[e],a={r:o(i("r")),g:o(i("g")),b:o(i("b")),a:o(100*i("a"))/100};return this._c(a)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){let t=this._c(e),n=this.a+t.a*(1-this.a),r=e=>o((this[e]*this.a+t[e]*t.a*(1-this.a))/n);return this._c({r:r("r"),g:r("g"),b:r("b"),a:n})}isDark(){return 128>this.getBrightness()}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#",t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;let n=(this.g||0).toString(16);e+=2===n.length?n:"0"+n;let r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){let t=o(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let e=this.getHue(),t=o(100*this.getSaturation()),n=o(100*this.getLightness());return 1!==this.a?`hsla(${e},${t}%,${n}%,${this.a})`:`hsl(${e},${t}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,n){let r=this.clone();return r[e]=l(t,n),r}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){let t=e.replace("#","");function n(e,n){return parseInt(t[e]+t[n||e],16)}t.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=t[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=t[6]?n(6,7)/255:1)}fromHsl({h:e,s:t,l:n,a:r}){if(this._h=e%360,this._s=t,this._l=n,this.a="number"==typeof r?r:1,t<=0){let e=o(255*n);this.r=e,this.g=e,this.b=e}let i=0,a=0,l=0,s=e/60,c=(1-Math.abs(2*n-1))*t,u=c*(1-Math.abs(s%2-1));s>=0&&s<1?(i=c,a=u):s>=1&&s<2?(i=u,a=c):s>=2&&s<3?(a=c,l=u):s>=3&&s<4?(a=u,l=c):s>=4&&s<5?(i=u,l=c):s>=5&&s<6&&(i=c,l=u);let d=n-c/2;this.r=o((i+d)*255),this.g=o((a+d)*255),this.b=o((l+d)*255)}fromHsv({h:e,s:t,v:n,a:r}){this._h=e%360,this._s=t,this._v=n,this.a="number"==typeof r?r:1;let i=o(255*n);if(this.r=i,this.g=i,this.b=i,t<=0)return;let a=e/60,l=Math.floor(a),s=a-l,c=o(n*(1-t)*255),u=o(n*(1-t*s)*255),d=o(n*(1-t*(1-s))*255);switch(l){case 0:this.g=d,this.b=c;break;case 1:this.r=u,this.b=c;break;case 2:this.r=c,this.b=d;break;case 3:this.r=c,this.g=u;break;case 4:this.r=d,this.g=c;break;default:this.g=c,this.b=u}}fromHsvString(e){let t=i(e,a);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){let t=i(e,a);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){let t=i(e,(e,t)=>t.includes("%")?o(e/100*255):e);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}},64632:function(e,t,n){"use strict";n.d(t,{Z:()=>D});var r=n(16019),o=n(25002),i=n(17508),a=n(77354),l=n(81004),s=n.n(l),c=n(58793),u=n.n(c),d=n(32282),f=n(63017),h=n(50324),p=n(58133),m=n(44958),g=n(27571),v=n(80334);function b(e){return e.replace(/-(.)/g,function(e,t){return t.toUpperCase()})}function y(e,t){(0,v.ZP)(e,"[@ant-design/icons] ".concat(t))}function w(e){return"object"===(0,p.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,p.Z)(e.icon)||"function"==typeof e.icon)}function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];return"class"===n?(t.className=r,delete t.class):(delete t[n],t[b(n)]=r),t},{})}function S(e,t,n){return n?s().createElement(e.tag,(0,h.Z)((0,h.Z)({key:t},x(e.attrs)),n),(e.children||[]).map(function(n,r){return S(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})):s().createElement(e.tag,(0,h.Z)({key:t},x(e.attrs)),(e.children||[]).map(function(n,r){return S(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))}function k(e){return(0,d.R_)(e)[0]}function C(e){return e?Array.isArray(e)?e:[e]:[]}var $="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",E=function(e){var t=(0,l.useContext)(f.Z),n=t.csp,r=t.prefixCls,o=t.layer,i=$;r&&(i=i.replace(/anticon/g,r)),o&&(i="@layer ".concat(o," {\n").concat(i,"\n}")),(0,l.useEffect)(function(){var t=e.current,r=(0,g.A)(t);(0,m.hq)(i,"@ant-design-icons",{prepend:!o,csp:n,attachTo:r})},[])},O=["icon","className","onClick","style","primaryColor","secondaryColor"],M={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function I(e){var t=e.primaryColor,n=e.secondaryColor;M.primaryColor=t,M.secondaryColor=n||k(t),M.calculated=!!n}function N(){return(0,h.Z)({},M)}var Z=function(e){var t=e.icon,n=e.className,r=e.onClick,o=e.style,i=e.primaryColor,s=e.secondaryColor,c=(0,a.Z)(e,O),u=l.useRef(),d=M;if(i&&(d={primaryColor:i,secondaryColor:s||k(i)}),E(u),y(w(t),"icon should be icon definiton, but got ".concat(t)),!w(t))return null;var f=t;return f&&"function"==typeof f.icon&&(f=(0,h.Z)((0,h.Z)({},f),{},{icon:f.icon(d.primaryColor,d.secondaryColor)})),S(f.icon,"svg-".concat(f.name),(0,h.Z)((0,h.Z)({className:n,onClick:r,style:o,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};Z.displayName="IconReact",Z.getTwoToneColors=N,Z.setTwoToneColors=I;let R=Z;function T(e){var t=C(e),n=(0,o.Z)(t,2),r=n[0],i=n[1];return R.setTwoToneColors({primaryColor:r,secondaryColor:i})}function P(){var e=R.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var j=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];T(d.iN.primary);var A=l.forwardRef(function(e,t){var n=e.className,s=e.icon,c=e.spin,d=e.rotate,h=e.tabIndex,p=e.onClick,m=e.twoToneColor,g=(0,a.Z)(e,j),v=l.useContext(f.Z),b=v.prefixCls,y=void 0===b?"anticon":b,w=v.rootClassName,x=u()(w,y,(0,i.Z)((0,i.Z)({},"".concat(y,"-").concat(s.name),!!s.name),"".concat(y,"-spin"),!!c||"loading"===s.name),n),S=h;void 0===S&&p&&(S=-1);var k=d?{msTransform:"rotate(".concat(d,"deg)"),transform:"rotate(".concat(d,"deg)")}:void 0,$=C(m),E=(0,o.Z)($,2),O=E[0],M=E[1];return l.createElement("span",(0,r.Z)({role:"img","aria-label":s.name},g,{ref:t,tabIndex:S,onClick:p,className:x}),l.createElement(R,{icon:s,primaryColor:O,secondaryColor:M,style:k}))});A.displayName="AntdIcon",A.getTwoToneColor=P,A.setTwoToneColor=T;let D=A},63017:function(e,t,n){"use strict";n.d(t,{Z:()=>r});let r=(0,n(81004).createContext)({})},40778:function(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n(16019),o=n(81004);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};var a=n(64632),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};let s=o.forwardRef(l)},8567:function(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n(16019),o=n(81004);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};var a=n(64632),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};let s=o.forwardRef(l)},69515:function(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n(16019),o=n(81004);let i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};var a=n(64632),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};let s=o.forwardRef(l)},69485:function(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n(16019),o=n(81004);let i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};var a=n(64632),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};let s=o.forwardRef(l)},59840:function(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n(16019),o=n(81004);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};var a=n(64632),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};let s=o.forwardRef(l)},29567:function(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n(16019),o=n(81004);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};var a=n(64632),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};let s=o.forwardRef(l)},45540:function(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n(16019),o=n(81004);let i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};var a=n(64632),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};let s=o.forwardRef(l)},73805:function(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n(16019),o=n(81004);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};var a=n(64632),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};let s=o.forwardRef(l)},49585:function(e,t,n){"use strict";function r(e,t){i(e)&&(e="100%");var n=a(e);return(e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),1e-6>Math.abs(e-t))?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)}function a(e){return"string"==typeof e&&-1!==e.indexOf("%")}function l(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function s(e){return e<=1?"".concat(100*Number(e),"%"):e}function c(e){return 1===e.length?"0"+e:String(e)}function u(e,t,n){return{r:255*r(e,255),g:255*r(t,255),b:255*r(n,255)}}function d(e,t,n){e=r(e,255);var o=Math.max(e,t=r(t,255),n=r(n,255)),i=Math.min(e,t,n),a=0,l=0,s=(o+i)/2;if(o===i)l=0,a=0;else{var c=o-i;switch(l=s>.5?c/(2-o-i):c/(o+i),o){case e:a=(t-n)/c+6*(t1&&(n-=1),n<1/6)?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function h(e,t,n){if(e=r(e,360),t=r(t,100),n=r(n,100),0===t)i=n,a=n,o=n;else{var o,i,a,l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;o=f(s,l,e+1/3),i=f(s,l,e),a=f(s,l,e-1/3)}return{r:255*o,g:255*i,b:255*a}}function p(e,t,n){e=r(e,255);var o=Math.max(e,t=r(t,255),n=r(n,255)),i=Math.min(e,t,n),a=0,l=o,s=o-i,c=0===o?0:s/o;if(o===i)a=0;else{switch(o){case e:a=(t-n)/s+6*(t>16,g:(65280&e)>>8,b:255&e}}n.d(t,{C:()=>R});var S={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function k(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,c=!1;return"string"==typeof e&&(e=N(e)),"object"==typeof e&&(Z(e.r)&&Z(e.g)&&Z(e.b)?(t=u(e.r,e.g,e.b),a=!0,c="%"===String(e.r).substr(-1)?"prgb":"rgb"):Z(e.h)&&Z(e.s)&&Z(e.v)?(r=s(e.s),o=s(e.v),t=m(e.h,r,o),a=!0,c="hsv"):Z(e.h)&&Z(e.s)&&Z(e.l)&&(r=s(e.s),i=s(e.l),t=h(e.h,r,i),a=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=l(n),{ok:a,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var C="[-\\+]?\\d+%?",$="[-\\+]?\\d*\\.\\d+%?",E="(?:".concat($,")|(?:").concat(C,")"),O="[\\s|\\(]+(".concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")\\s*\\)?"),M="[\\s|\\(]+(".concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")\\s*\\)?"),I={CSS_UNIT:new RegExp(E),rgb:RegExp("rgb"+O),rgba:RegExp("rgba"+M),hsl:RegExp("hsl"+O),hsla:RegExp("hsla"+M),hsv:RegExp("hsv"+O),hsva:RegExp("hsva"+M),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function N(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(S[e])e=S[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=I.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=I.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=I.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=I.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=I.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=I.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=I.hex8.exec(e))?{r:w(n[1]),g:w(n[2]),b:w(n[3]),a:y(n[4]),format:t?"name":"hex8"}:(n=I.hex6.exec(e))?{r:w(n[1]),g:w(n[2]),b:w(n[3]),format:t?"name":"hex"}:(n=I.hex4.exec(e))?{r:w(n[1]+n[1]),g:w(n[2]+n[2]),b:w(n[3]+n[3]),a:y(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=I.hex3.exec(e))&&{r:w(n[1]+n[1]),g:w(n[2]+n[2]),b:w(n[3]+n[3]),format:t?"name":"hex"}}function Z(e){return!!I.CSS_UNIT.exec(String(e))}var R=function(){function e(t,n){if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=x(t)),this.originalInput=t;var r,o=k(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=null!=(r=n.format)?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return 128>this.getBrightness()},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e,t,n,r=this.toRgb(),o=r.r/255,i=r.g/255,a=r.b/255;return .2126*(e=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.7152*(t=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.0722*(n=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=l(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=p(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=p(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=d(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=d(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),g(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),v(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*r(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*r(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+g(this.r,this.g,this.b,!1),t=0,n=Object.entries(S);t=0;return!t&&r&&(e.startsWith("hex")||"name"===e)?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=o(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-(t/100*255)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-(t/100*255)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-(t/100*255)))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=o(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=o(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=o(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100;return new e({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],l=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;aB,G5:()=>M,Il:()=>w});var r=n(16019),o=n(17508),i=n(25002),a=n(81004),l=n.n(a),s=n(50324),c=n(46932),u=n(89526),d=n(26238),f=n(90015),h=n(77354),p=n(58133),m=n(75752),g=["b"],v=["v"],b=function(e){return Math.round(Number(e||0))},y=function(e){if(e instanceof m.t)return e;if(e&&"object"===(0,p.Z)(e)&&"h"in e&&"b"in e){var t=e,n=t.b,r=(0,h.Z)(t,g);return(0,s.Z)((0,s.Z)({},r),{},{v:n})}return"string"==typeof e&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e},w=function(e){(0,d.Z)(n,e);var t=(0,f.Z)(n);function n(e){return(0,c.Z)(this,n),t.call(this,y(e))}return(0,u.Z)(n,[{key:"toHsbString",value:function(){var e=this.toHsb(),t=b(100*e.s),n=b(100*e.b),r=b(e.h),o=e.a,i="hsb(".concat(r,", ").concat(t,"%, ").concat(n,"%)"),a="hsba(".concat(r,", ").concat(t,"%, ").concat(n,"%, ").concat(o.toFixed(2*(0!==o)),")");return 1===o?i:a}},{key:"toHsb",value:function(){var e=this.toHsv(),t=e.v,n=(0,h.Z)(e,v);return(0,s.Z)((0,s.Z)({},n),{},{b:t,a:this.a})}}]),n}(m.t),x="rc-color-picker",S=function(e){return e instanceof w?e:new w(e)},k=S("#1677ff"),C=function(e){var t=e.offset,n=e.targetRef,r=e.containerRef,o=e.color,i=e.type,a=r.current.getBoundingClientRect(),l=a.width,c=a.height,u=n.current.getBoundingClientRect(),d=u.width,f=u.height,h=d/2,p=f/2,m=(t.x+h)/l,g=1-(t.y+p)/c,v=o.toHsb(),b=m,y=(t.x+h)/l*360;if(i)switch(i){case"hue":return S((0,s.Z)((0,s.Z)({},v),{},{h:y<=0?0:y}));case"alpha":return S((0,s.Z)((0,s.Z)({},v),{},{a:b<=0?0:b}))}return S({h:v.h,s:m<=0?0:m,b:g>=1?1:g,a:v.a})},$=function(e,t){var n=e.toHsb();switch(t){case"hue":return{x:n.h/360*100,y:50};case"alpha":return{x:100*e.a,y:50};default:return{x:100*n.s,y:(1-n.b)*100}}},E=n(58793),O=n.n(E);let M=function(e){var t=e.color,n=e.prefixCls,r=e.className,o=e.style,i=e.onClick,a="".concat(n,"-color-block");return l().createElement("div",{className:O()(a,r),style:o,onClick:i},l().createElement("div",{className:"".concat(a,"-inner"),style:{background:t}}))};function I(e){var t="touches"in e?e.touches[0]:e,n=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,r=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-n,pageY:t.pageY-r}}let N=function(e){var t=e.targetRef,n=e.containerRef,r=e.direction,o=e.onDragChange,l=e.onDragChangeComplete,s=e.calculate,c=e.color,u=e.disabledDrag,d=(0,a.useState)({x:0,y:0}),f=(0,i.Z)(d,2),h=f[0],p=f[1],m=(0,a.useRef)(null),g=(0,a.useRef)(null);(0,a.useEffect)(function(){p(s())},[c]),(0,a.useEffect)(function(){return function(){document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",g.current),document.removeEventListener("touchmove",m.current),document.removeEventListener("touchend",g.current),m.current=null,g.current=null}},[]);var v=function(e){var i=I(e),a=i.pageX,l=i.pageY,s=n.current.getBoundingClientRect(),c=s.x,u=s.y,d=s.width,f=s.height,p=t.current.getBoundingClientRect(),m=p.width,g=p.height,v=Math.max(0,Math.min(l-u,f))-g/2,b={x:Math.max(0,Math.min(a-c,d))-m/2,y:"x"===r?h.y:v};if(0===m&&0===g||m!==g)return!1;null==o||o(b)},b=function(e){e.preventDefault(),v(e)},y=function(e){e.preventDefault(),document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",g.current),document.removeEventListener("touchmove",m.current),document.removeEventListener("touchend",g.current),m.current=null,g.current=null,null==l||l()};return[h,function(e){document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",g.current),u||(v(e),document.addEventListener("mousemove",b),document.addEventListener("mouseup",y),document.addEventListener("touchmove",b),document.addEventListener("touchend",y),m.current=b,g.current=y)}]};var Z=n(56790);let R=function(e){var t=e.size,n=void 0===t?"default":t,r=e.color,i=e.prefixCls;return l().createElement("div",{className:O()("".concat(i,"-handler"),(0,o.Z)({},"".concat(i,"-handler-sm"),"small"===n)),style:{backgroundColor:r}})},T=function(e){var t=e.children,n=e.style,r=e.prefixCls;return l().createElement("div",{className:"".concat(r,"-palette"),style:(0,s.Z)({position:"relative"},n)},t)},P=(0,a.forwardRef)(function(e,t){var n=e.children,r=e.x,o=e.y;return l().createElement("div",{ref:t,style:{position:"absolute",left:"".concat(r,"%"),top:"".concat(o,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},n)}),j=function(e){var t=e.color,n=e.onChange,r=e.prefixCls,o=e.onChangeComplete,s=e.disabled,c=(0,a.useRef)(),u=(0,a.useRef)(),d=(0,a.useRef)(t),f=(0,Z.zX)(function(e){var r=C({offset:e,targetRef:u,containerRef:c,color:t});d.current=r,n(r)}),h=N({color:t,containerRef:c,targetRef:u,calculate:function(){return $(t)},onDragChange:f,onDragChangeComplete:function(){return null==o?void 0:o(d.current)},disabledDrag:s}),p=(0,i.Z)(h,2),m=p[0],g=p[1];return l().createElement("div",{ref:c,className:"".concat(r,"-select"),onMouseDown:g,onTouchStart:g},l().createElement(T,{prefixCls:r},l().createElement(P,{x:m.x,y:m.y,ref:u},l().createElement(R,{color:t.toRgbString(),prefixCls:r})),l().createElement("div",{className:"".concat(r,"-saturation"),style:{backgroundColor:"hsl(".concat(t.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},A=function(e,t){var n=(0,Z.C8)(e,{value:t}),r=(0,i.Z)(n,2),o=r[0],l=r[1];return[(0,a.useMemo)(function(){return S(o)},[o]),l]},D=function(e){var t=e.colors,n=e.children,r=e.direction,o=void 0===r?"to right":r,i=e.type,s=e.prefixCls,c=(0,a.useMemo)(function(){return t.map(function(e,n){var r=S(e);return"alpha"===i&&n===t.length-1&&(r=new w(r.setA(1))),r.toRgbString()}).join(",")},[t,i]);return l().createElement("div",{className:"".concat(s,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(o,", ").concat(c,")")}},n)},_=function(e){var t=e.prefixCls,n=e.colors,r=e.disabled,o=e.onChange,s=e.onChangeComplete,c=e.color,u=e.type,d=(0,a.useRef)(),f=(0,a.useRef)(),h=(0,a.useRef)(c),p=function(e){return"hue"===u?e.getHue():100*e.a},m=(0,Z.zX)(function(e){var t=C({offset:e,targetRef:f,containerRef:d,color:c,type:u});h.current=t,o(p(t))}),g=N({color:c,targetRef:f,containerRef:d,calculate:function(){return $(c,u)},onDragChange:m,onDragChangeComplete:function(){s(p(h.current))},direction:"x",disabledDrag:r}),v=(0,i.Z)(g,2),b=v[0],y=v[1],x=l().useMemo(function(){if("hue"===u){var e=c.toHsb();return e.s=1,e.b=1,e.a=1,new w(e)}return c},[c,u]),S=l().useMemo(function(){return n.map(function(e){return"".concat(e.color," ").concat(e.percent,"%")})},[n]);return l().createElement("div",{ref:d,className:O()("".concat(t,"-slider"),"".concat(t,"-slider-").concat(u)),onMouseDown:y,onTouchStart:y},l().createElement(T,{prefixCls:t},l().createElement(P,{x:b.x,y:b.y,ref:f},l().createElement(R,{size:"small",color:x.toHexString(),prefixCls:t})),l().createElement(D,{colors:S,type:u,prefixCls:t})))};function z(e){return a.useMemo(function(){return[(e||{}).slider||_]},[e])}var L=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}];let B=(0,a.forwardRef)(function(e,t){var n=e.value,s=e.defaultValue,c=e.prefixCls,u=void 0===c?x:c,d=e.onChange,f=e.onChangeComplete,h=e.className,p=e.style,m=e.panelRender,g=e.disabledAlpha,v=void 0!==g&&g,b=e.disabled,y=void 0!==b&&b,S=z(e.components),C=(0,i.Z)(S,1)[0],$=A(s||k,n),E=(0,i.Z)($,2),I=E[0],N=E[1],Z=(0,a.useMemo)(function(){return I.setA(1).toRgbString()},[I]),R=function(e,t){n||N(e),null==d||d(e,t)},T=function(e){return new w(I.setHue(e))},P=function(e){return new w(I.setA(e/100))},D=function(e){R(T(e),{type:"hue",value:e})},_=function(e){R(P(e),{type:"alpha",value:e})},B=function(e){f&&f(T(e))},H=function(e){f&&f(P(e))},F=O()("".concat(u,"-panel"),h,(0,o.Z)({},"".concat(u,"-panel-disabled"),y)),W={prefixCls:u,disabled:y,color:I},V=l().createElement(l().Fragment,null,l().createElement(j,(0,r.Z)({onChange:R},W,{onChangeComplete:f})),l().createElement("div",{className:"".concat(u,"-slider-container")},l().createElement("div",{className:O()("".concat(u,"-slider-group"),(0,o.Z)({},"".concat(u,"-slider-group-disabled-alpha"),v))},l().createElement(C,(0,r.Z)({},W,{type:"hue",colors:L,min:0,max:359,value:I.getHue(),onChange:D,onChangeComplete:B})),!v&&l().createElement(C,(0,r.Z)({},W,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:Z}],min:0,max:100,value:100*I.a,onChange:_,onChangeComplete:H}))),l().createElement(M,{color:I.toRgbString(),prefixCls:u})));return l().createElement("div",{className:F,style:p,ref:t},"function"==typeof m?m(V):V)})},27174:function(e,t,n){"use strict";n.d(t,{Z:()=>S});var r=n(25002),o=n(81004),i=n(3859),a=n(98924);n(80334);var l=n(42550);let s=o.createContext(null);var c=n(98477),u=n(8410),d=[];function f(e,t){var n=o.useState(function(){return(0,a.Z)()?document.createElement("div"):null}),i=(0,r.Z)(n,1)[0],l=o.useRef(!1),f=o.useContext(s),h=o.useState(d),p=(0,r.Z)(h,2),m=p[0],g=p[1],v=f||(l.current?void 0:function(e){g(function(t){return[e].concat((0,c.Z)(t))})});function b(){i.parentElement||document.body.appendChild(i),l.current=!0}function y(){var e;null==(e=i.parentElement)||e.removeChild(i),l.current=!1}return(0,u.Z)(function(){return e?f?f(b):b():y(),y},[e]),(0,u.Z)(function(){m.length&&(m.forEach(function(e){return e()}),g(d))},[m]),[i,v]}var h=n(44958),p=n(74204);function m(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var g="rc-util-locker-".concat(Date.now()),v=0;function b(e){var t=!!e,n=o.useState(function(){return v+=1,"".concat(g,"_").concat(v)}),i=(0,r.Z)(n,1)[0];(0,u.Z)(function(){if(t){var e=(0,p.o)(document.body).width,n=m();(0,h.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(n?"width: calc(100% - ".concat(e,"px);"):"","\n}"),i)}else(0,h.jL)(i);return function(){(0,h.jL)(i)}},[t,i])}var y=!1;function w(e){return"boolean"==typeof e&&(y=e),y}var x=function(e){return!1!==e&&((0,a.Z)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)};let S=o.forwardRef(function(e,t){var n=e.open,c=e.autoLock,u=e.getContainer,d=e.debug,h=e.autoDestroy,p=void 0===h||h,m=e.children,g=o.useState(n),v=(0,r.Z)(g,2),y=v[0],S=v[1],k=y||n;o.useEffect(function(){(p||n)&&S(n)},[n,p]);var C=o.useState(function(){return x(u)}),$=(0,r.Z)(C,2),E=$[0],O=$[1];o.useEffect(function(){var e=x(u);O(null!=e?e:null)});var M=f(k&&!E,d),I=(0,r.Z)(M,2),N=I[0],Z=I[1],R=null!=E?E:N;b(c&&n&&(0,a.Z)()&&(R===N||R===document.body));var T=null;m&&(0,l.Yr)(m)&&t&&(T=m.ref);var P=(0,l.x1)(T,t);if(!k||!(0,a.Z)()||void 0===E)return null;var j=!1===R||w(),A=m;return t&&(A=o.cloneElement(m,{ref:P})),o.createElement(s.Provider,{value:Z},j?A:(0,i.createPortal)(A,R))})},76582:function(e,t,n){"use strict";n.d(t,{Z:()=>K});var r=n(50324),o=n(25002),i=n(77354),a=n(27174),l=n(58793),s=n.n(l),c=n(73097),u=n(34203),d=n(27571),f=n(66680),h=n(7028),p=n(8410),m=n(31131),g=n(81004),v=n(16019),b=n(54490),y=n(42550);function w(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,i=r||{},a=i.className,l=i.content,c=o.x,u=void 0===c?0:c,d=o.y,f=void 0===d?0:d,h=g.useRef();if(!n||!n.points)return null;var p={position:"absolute"};if(!1!==n.autoArrow){var m=n.points[0],v=n.points[1],b=m[0],y=m[1],w=v[0],x=v[1];b!==w&&["t","b"].includes(b)?"t"===b?p.top=0:p.bottom=0:p.top=f,y!==x&&["l","r"].includes(y)?"l"===y?p.left=0:p.right=0:p.left=u}return g.createElement("div",{ref:h,className:s()("".concat(t,"-arrow"),a),style:p},l)}function x(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,i=e.motion;return o?g.createElement(b.ZP,(0,v.Z)({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(e){var n=e.className;return g.createElement("div",{style:{zIndex:r},className:s()("".concat(t,"-mask"),n)})}):null}let S=g.memo(function(e){return e.children},function(e,t){return t.cache}),k=g.forwardRef(function(e,t){var n=e.popup,i=e.className,a=e.prefixCls,l=e.style,u=e.target,d=e.onVisibleChanged,f=e.open,h=e.keepDom,m=e.fresh,k=e.onClick,C=e.mask,$=e.arrow,E=e.arrowPos,O=e.align,M=e.motion,I=e.maskMotion,N=e.forceRender,Z=e.getPopupContainer,R=e.autoDestroy,T=e.portal,P=e.zIndex,j=e.onMouseEnter,A=e.onMouseLeave,D=e.onPointerEnter,_=e.onPointerDownCapture,z=e.ready,L=e.offsetX,B=e.offsetY,H=e.offsetR,F=e.offsetB,W=e.onAlign,V=e.onPrepare,q=e.stretch,K=e.targetWidth,X=e.targetHeight,U="function"==typeof n?n():n,G=f||h,Y=(null==Z?void 0:Z.length)>0,Q=g.useState(!Z||!Y),J=(0,o.Z)(Q,2),ee=J[0],et=J[1];if((0,p.Z)(function(){!ee&&Y&&u&&et(!0)},[ee,Y,u]),!ee)return null;var en="auto",er={left:"-1000vw",top:"-1000vh",right:en,bottom:en};if(z||!f){var eo,ei=O.points,ea=O.dynamicInset||(null==(eo=O._experimental)?void 0:eo.dynamicInset),el=ea&&"r"===ei[0][1],es=ea&&"b"===ei[0][0];el?(er.right=H,er.left=en):(er.left=L,er.right=en),es?(er.bottom=F,er.top=en):(er.top=B,er.bottom=en)}var ec={};return q&&(q.includes("height")&&X?ec.height=X:q.includes("minHeight")&&X&&(ec.minHeight=X),q.includes("width")&&K?ec.width=K:q.includes("minWidth")&&K&&(ec.minWidth=K)),f||(ec.pointerEvents="none"),g.createElement(T,{open:N||G,getContainer:Z&&function(){return Z(u)},autoDestroy:R},g.createElement(x,{prefixCls:a,open:f,zIndex:P,mask:C,motion:I}),g.createElement(c.Z,{onResize:W,disabled:!f},function(e){return g.createElement(b.ZP,(0,v.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:N,leavedClassName:"".concat(a,"-hidden")},M,{onAppearPrepare:V,onEnterPrepare:V,visible:f,onVisibleChanged:function(e){var t;null==M||null==(t=M.onVisibleChanged)||t.call(M,e),d(e)}}),function(n,o){var c=n.className,u=n.style,d=s()(a,c,i);return g.createElement("div",{ref:(0,y.sQ)(e,t,o),className:d,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(E.x||0,"px"),"--arrow-y":"".concat(E.y||0,"px")},er),ec),u),{},{boxSizing:"border-box",zIndex:P},l),onMouseEnter:j,onMouseLeave:A,onPointerEnter:D,onClick:k,onPointerDownCapture:_},$&&g.createElement(w,{prefixCls:a,arrow:$,arrowPos:E,align:O}),g.createElement(S,{cache:!f&&!m},U))})}))}),C=g.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=(0,y.Yr)(n),i=g.useCallback(function(e){(0,y.mH)(t,r?r(e):e)},[r]),a=(0,y.x1)(i,(0,y.C4)(n));return o?g.cloneElement(n,{ref:a}):n}),$=g.createContext(null);function E(e){return e?Array.isArray(e)?e:[e]:[]}function O(e,t,n,r){return g.useMemo(function(){var o=E(null!=n?n:t),i=E(null!=r?r:t),a=new Set(o),l=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[a,l]},[e,t,n,r])}var M=n(5110);function I(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function N(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function j(e){return P(parseFloat(e),0)}function A(e,t){var n=(0,r.Z)({},e);return(t||[]).forEach(function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=R(e).getComputedStyle(e),r=t.overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,l=t.borderLeftWidth,s=t.borderRightWidth,c=e.getBoundingClientRect(),u=e.offsetHeight,d=e.clientHeight,f=e.offsetWidth,h=e.clientWidth,p=j(i),m=j(a),g=j(l),v=j(s),b=P(Math.round(c.width/f*1e3)/1e3),y=P(Math.round(c.height/u*1e3)/1e3),w=(f-h-g-v)*b,x=(u-d-p-m)*y,S=p*y,k=m*y,C=g*b,$=v*b,E=0,O=0;if("clip"===r){var M=j(o);E=M*b,O=M*y}var I=c.x+C-E,N=c.y+S-O,Z=I+c.width+2*E-C-$-w,T=N+c.height+2*O-S-k-x;n.left=Math.max(n.left,I),n.top=Math.max(n.top,N),n.right=Math.min(n.right,Z),n.bottom=Math.min(n.bottom,T)}}),n}function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function _(e,t){var n=t||[],r=(0,o.Z)(n,2),i=r[0],a=r[1];return[D(e.width,i),D(e.height,a)]}function z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function L(e,t){var n,r,o=t[0],i=t[1];return r="t"===o?e.y:"b"===o?e.y+e.height:e.y+e.height/2,{x:n="l"===i?e.x:"r"===i?e.x+e.width:e.x+e.width/2,y:r}}function B(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(e,r){return r===t?n[e]||"c":e}).join("")}function H(e,t,n,i,a,l,s){var c=g.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[i]||{}}),d=(0,o.Z)(c,2),h=d[0],m=d[1],v=g.useRef(0),b=g.useMemo(function(){return t?T(t):[]},[t]),y=g.useRef({}),w=function(){y.current={}};e||w();var x=(0,f.Z)(function(){if(t&&n&&e){var c,d,f,h,p=t,g=p.ownerDocument,v=R(p).getComputedStyle(p),w=v.width,x=v.height,S=v.position,k=p.style.left,C=p.style.top,$=p.style.right,E=p.style.bottom,O=p.style.overflow,I=(0,r.Z)((0,r.Z)({},a[i]),l),N=g.createElement("div");if(null==(Z=p.parentElement)||Z.appendChild(N),N.style.left="".concat(p.offsetLeft,"px"),N.style.top="".concat(p.offsetTop,"px"),N.style.position=S,N.style.height="".concat(p.offsetHeight,"px"),N.style.width="".concat(p.offsetWidth,"px"),p.style.left="0",p.style.top="0",p.style.right="auto",p.style.bottom="auto",p.style.overflow="hidden",Array.isArray(n))H={x:n[0],y:n[1],width:0,height:0};else{var Z,T,j,D,H,F,W,V=n.getBoundingClientRect();V.x=null!=(F=V.x)?F:V.left,V.y=null!=(W=V.y)?W:V.top,H={x:V.x,y:V.y,width:V.width,height:V.height}}var q=p.getBoundingClientRect();q.x=null!=(T=q.x)?T:q.left,q.y=null!=(j=q.y)?j:q.top;var K=g.documentElement,X=K.clientWidth,U=K.clientHeight,G=K.scrollWidth,Y=K.scrollHeight,Q=K.scrollTop,J=K.scrollLeft,ee=q.height,et=q.width,en=H.height,er=H.width,eo={left:0,top:0,right:X,bottom:U},ei={left:-J,top:-Q,right:G-J,bottom:Y-Q},ea=I.htmlRegion,el="visible",es="visibleFirst";"scroll"!==ea&&ea!==es&&(ea=el);var ec=ea===es,eu=A(ei,b),ed=A(eo,b),ef=ea===el?ed:eu,eh=ec?ed:ef;p.style.left="auto",p.style.top="auto",p.style.right="0",p.style.bottom="0";var ep=p.getBoundingClientRect();p.style.left=k,p.style.top=C,p.style.right=$,p.style.bottom=E,p.style.overflow=O,null==(D=p.parentElement)||D.removeChild(N);var em=P(Math.round(et/parseFloat(w)*1e3)/1e3),eg=P(Math.round(ee/parseFloat(x)*1e3)/1e3);if(!(0===em||0===eg||(0,u.Sh)(n)&&!(0,M.Z)(n))){var ev=I.offset,eb=I.targetOffset,ey=_(q,ev),ew=(0,o.Z)(ey,2),ex=ew[0],eS=ew[1],ek=_(H,eb),eC=(0,o.Z)(ek,2),e$=eC[0],eE=eC[1];H.x-=e$,H.y-=eE;var eO=I.points||[],eM=(0,o.Z)(eO,2),eI=eM[0],eN=eM[1],eZ=z(eN),eR=z(eI),eT=L(H,eZ),eP=L(q,eR),ej=(0,r.Z)({},I),eA=eT.x-eP.x+ex,eD=eT.y-eP.y+eS,e_=tk(eA,eD),ez=tk(eA,eD,ed),eL=L(H,["t","l"]),eB=L(q,["t","l"]),eH=L(H,["b","r"]),eF=L(q,["b","r"]),eW=I.overflow||{},eV=eW.adjustX,eq=eW.adjustY,eK=eW.shiftX,eX=eW.shiftY,eU=function(e){return"boolean"==typeof e?e:e>=0};tC();var eG=eU(eq),eY=eR[0]===eZ[0];if(eG&&"t"===eR[0]&&(d>eh.bottom||y.current.bt)){var eQ=eD;eY?eQ-=ee-en:eQ=eL.y-eF.y-eS;var eJ=tk(eA,eQ),e0=tk(eA,eQ,ed);eJ>e_||eJ===e_&&(!ec||e0>=ez)?(y.current.bt=!0,eD=eQ,eS=-eS,ej.points=[B(eR,0),B(eZ,0)]):y.current.bt=!1}if(eG&&"b"===eR[0]&&(ce_||e2===e_&&(!ec||e4>=ez)?(y.current.tb=!0,eD=e1,eS=-eS,ej.points=[B(eR,0),B(eZ,0)]):y.current.tb=!1}var e3=eU(eV),e5=eR[1]===eZ[1];if(e3&&"l"===eR[1]&&(h>eh.right||y.current.rl)){var e8=eA;e5?e8-=et-er:e8=eL.x-eF.x-ex;var e6=tk(e8,eD),e7=tk(e8,eD,ed);e6>e_||e6===e_&&(!ec||e7>=ez)?(y.current.rl=!0,eA=e8,ex=-ex,ej.points=[B(eR,1),B(eZ,1)]):y.current.rl=!1}if(e3&&"r"===eR[1]&&(fe_||te===e_&&(!ec||tt>=ez)?(y.current.lr=!0,eA=e9,ex=-ex,ej.points=[B(eR,1),B(eZ,1)]):y.current.lr=!1}tC();var tn=!0===eK?0:eK;"number"==typeof tn&&(fed.right&&(eA-=h-ed.right-ex,H.x>ed.right-tn&&(eA+=H.x-ed.right+tn)));var tr=!0===eX?0:eX;"number"==typeof tr&&(ced.bottom&&(eD-=d-ed.bottom-eS,H.y>ed.bottom-tr&&(eD+=H.y-ed.bottom+tr)));var to=q.x+eA,ti=to+et,ta=q.y+eD,tl=ta+ee,ts=H.x,tc=ts+er,tu=H.y,td=tu+en,tf=Math.max(to,ts),th=Math.min(ti,tc),tp=(tf+th)/2,tm=tp-to,tg=Math.max(ta,tu),tv=Math.min(tl,td),tb=(tg+tv)/2,ty=tb-ta;null==s||s(t,ej);var tw=ep.right-q.x-(eA+q.width),tx=ep.bottom-q.y-(eD+q.height);1===em&&(eA=Math.round(eA),tw=Math.round(tw)),1===eg&&(eD=Math.round(eD),tx=Math.round(tx));var tS={ready:!0,offsetX:eA/em,offsetY:eD/eg,offsetR:tw/em,offsetB:tx/eg,arrowX:tm/em,arrowY:ty/eg,scaleX:em,scaleY:eg,align:ej};m(tS)}function tk(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ef,r=q.x+e,o=q.y+t,i=r+et,a=o+ee,l=Math.max(r,n.left),s=Math.max(o,n.top);return Math.max(0,(Math.min(i,n.right)-l)*(Math.min(a,n.bottom)-s))}function tC(){d=(c=q.y+eD)+ee,h=(f=q.x+eA)+et}}}),S=function(){v.current+=1;var e=v.current;Promise.resolve().then(function(){v.current===e&&x()})},k=function(){m(function(e){return(0,r.Z)((0,r.Z)({},e),{},{ready:!1})})};return(0,p.Z)(k,[i]),(0,p.Z)(function(){e||k()},[e]),[h.ready,h.offsetX,h.offsetY,h.offsetR,h.offsetB,h.arrowX,h.arrowY,h.scaleX,h.scaleY,h.align,S]}var F=n(98477);function W(e,t,n,r,o){(0,p.Z)(function(){if(e&&t&&n){var i=n,a=T(t),l=T(i),s=R(i),c=new Set([s].concat((0,F.Z)(a),(0,F.Z)(l)));function u(){r(),o()}return c.forEach(function(e){e.addEventListener("scroll",u,{passive:!0})}),s.addEventListener("resize",u,{passive:!0}),r(),function(){c.forEach(function(e){e.removeEventListener("scroll",u),s.removeEventListener("resize",u)})}}},[e,t,n])}function V(e,t,n,r,o,i,a,l){var s=g.useRef(e);s.current=e;var c=g.useRef(!1);return g.useEffect(function(){if(t&&r&&(!o||i)){var e=function(){c.current=!1},u=function(e){var t;!s.current||a((null==(t=e.composedPath)||null==(t=t.call(e))?void 0:t[0])||e.target)||c.current||l(!1)},f=R(r);f.addEventListener("pointerdown",e,!0),f.addEventListener("mousedown",u,!0),f.addEventListener("contextmenu",u,!0);var h=(0,d.A)(n);return h&&(h.addEventListener("mousedown",u,!0),h.addEventListener("contextmenu",u,!0)),function(){f.removeEventListener("pointerdown",e,!0),f.removeEventListener("mousedown",u,!0),f.removeEventListener("contextmenu",u,!0),h&&(h.removeEventListener("mousedown",u,!0),h.removeEventListener("contextmenu",u,!0))}}},[t,n,r,o,i]),function(){c.current=!0}}n(80334);var q=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];let K=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Z;return g.forwardRef(function(t,n){var a,l,v=t.prefixCls,b=void 0===v?"rc-trigger-popup":v,y=t.children,w=t.action,x=void 0===w?"hover":w,S=t.showAction,E=t.hideAction,M=t.popupVisible,I=t.defaultPopupVisible,R=t.onPopupVisibleChange,T=t.afterPopupVisibleChange,P=t.mouseEnterDelay,j=t.mouseLeaveDelay,A=void 0===j?.1:j,D=t.focusDelay,_=t.blurDelay,z=t.mask,L=t.maskClosable,B=void 0===L||L,F=t.getPopupContainer,K=t.forceRender,X=t.autoDestroy,U=t.destroyPopupOnHide,G=t.popup,Y=t.popupClassName,Q=t.popupStyle,J=t.popupPlacement,ee=t.builtinPlacements,et=void 0===ee?{}:ee,en=t.popupAlign,er=t.zIndex,eo=t.stretch,ei=t.getPopupClassNameFromAlign,ea=t.fresh,el=t.alignPoint,es=t.onPopupClick,ec=t.onPopupAlign,eu=t.arrow,ed=t.popupMotion,ef=t.maskMotion,eh=t.popupTransitionName,ep=t.popupAnimation,em=t.maskTransitionName,eg=t.maskAnimation,ev=t.className,eb=t.getTriggerDOMNode,ey=(0,i.Z)(t,q),ew=X||U||!1,ex=g.useState(!1),eS=(0,o.Z)(ex,2),ek=eS[0],eC=eS[1];(0,p.Z)(function(){eC((0,m.Z)())},[]);var e$=g.useRef({}),eE=g.useContext($),eO=g.useMemo(function(){return{registerSubPopup:function(e,t){e$.current[e]=t,null==eE||eE.registerSubPopup(e,t)}}},[eE]),eM=(0,h.Z)(),eI=g.useState(null),eN=(0,o.Z)(eI,2),eZ=eN[0],eR=eN[1],eT=g.useRef(null),eP=(0,f.Z)(function(e){eT.current=e,(0,u.Sh)(e)&&eZ!==e&&eR(e),null==eE||eE.registerSubPopup(eM,e)}),ej=g.useState(null),eA=(0,o.Z)(ej,2),eD=eA[0],e_=eA[1],ez=g.useRef(null),eL=(0,f.Z)(function(e){(0,u.Sh)(e)&&eD!==e&&(e_(e),ez.current=e)}),eB=g.Children.only(y),eH=(null==eB?void 0:eB.props)||{},eF={},eW=(0,f.Z)(function(e){var t,n,r=eD;return(null==r?void 0:r.contains(e))||(null==(t=(0,d.A)(r))?void 0:t.host)===e||e===r||(null==eZ?void 0:eZ.contains(e))||(null==(n=(0,d.A)(eZ))?void 0:n.host)===e||e===eZ||Object.values(e$.current).some(function(t){return(null==t?void 0:t.contains(e))||e===t})}),eV=Z(b,ed,ep,eh),eq=Z(b,ef,eg,em),eK=g.useState(I||!1),eX=(0,o.Z)(eK,2),eU=eX[0],eG=eX[1],eY=null!=M?M:eU,eQ=(0,f.Z)(function(e){void 0===M&&eG(e)});(0,p.Z)(function(){eG(M||!1)},[M]);var eJ=g.useRef(eY);eJ.current=eY;var e0=g.useRef([]);e0.current=[];var e1=(0,f.Z)(function(e){var t;eQ(e),(null!=(t=e0.current[e0.current.length-1])?t:eY)!==e&&(e0.current.push(e),null==R||R(e))}),e2=g.useRef(),e4=function(){clearTimeout(e2.current)},e3=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e4(),0===t?e1(e):e2.current=setTimeout(function(){e1(e)},1e3*t)};g.useEffect(function(){return e4},[]);var e5=g.useState(!1),e8=(0,o.Z)(e5,2),e6=e8[0],e7=e8[1];(0,p.Z)(function(e){(!e||eY)&&e7(!0)},[eY]);var e9=g.useState(null),te=(0,o.Z)(e9,2),tt=te[0],tn=te[1],tr=g.useState(null),to=(0,o.Z)(tr,2),ti=to[0],ta=to[1],tl=function(e){ta([e.clientX,e.clientY])},ts=H(eY,eZ,el&&null!==ti?ti:eD,J,et,en,ec),tc=(0,o.Z)(ts,11),tu=tc[0],td=tc[1],tf=tc[2],th=tc[3],tp=tc[4],tm=tc[5],tg=tc[6],tv=tc[7],tb=tc[8],ty=tc[9],tw=tc[10],tx=O(ek,x,S,E),tS=(0,o.Z)(tx,2),tk=tS[0],tC=tS[1],t$=tk.has("click"),tE=tC.has("click")||tC.has("contextMenu"),tO=(0,f.Z)(function(){e6||tw()});W(eY,eD,eZ,tO,function(){eJ.current&&el&&tE&&e3(!1)}),(0,p.Z)(function(){tO()},[ti,J]),(0,p.Z)(function(){eY&&!(null!=et&&et[J])&&tO()},[JSON.stringify(en)]);var tM=g.useMemo(function(){var e=N(et,b,ty,el);return s()(e,null==ei?void 0:ei(ty))},[ty,ei,et,b,el]);g.useImperativeHandle(n,function(){return{nativeElement:ez.current,popupElement:eT.current,forceAlign:tO}});var tI=g.useState(0),tN=(0,o.Z)(tI,2),tZ=tN[0],tR=tN[1],tT=g.useState(0),tP=(0,o.Z)(tT,2),tj=tP[0],tA=tP[1],tD=function(){if(eo&&eD){var e=eD.getBoundingClientRect();tR(e.width),tA(e.height)}},t_=function(){tD(),tO()},tz=function(e){e7(!1),tw(),null==T||T(e)},tL=function(){return new Promise(function(e){tD(),tn(function(){return e})})};function tB(e,t,n,r){eF[e]=function(o){var i;null==r||r(o),e3(t,n);for(var a=arguments.length,l=Array(a>1?a-1:0),s=1;s1?n-1:0),o=1;o1?n-1:0),o=1;ol});var r=n(81004),o=n.n(r),i=n(65223),a=n(4173);let l=e=>{let{space:t,form:n,children:r}=e;if(null==r)return null;let l=r;return n&&(l=o().createElement(i.Ux,{override:!0,status:!0},l)),t&&(l=o().createElement(a.BR,null,l)),l}},98787:function(e,t,n){"use strict";n.d(t,{o2:()=>l,yT:()=>s});var r=n(98477),o=n(8796);let i=o.i.map(e=>`${e}-inverse`),a=["success","processing","error","default","warning"];function l(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return t?[].concat((0,r.Z)(i),(0,r.Z)(o.i)).includes(e):o.i.includes(e)}function s(e){return a.includes(e)}},57838:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n(81004);function o(){let[,e]=r.useReducer(e=>e+1,0);return e}},87263:function(e,t,n){"use strict";n.d(t,{Cn:()=>d,u6:()=>l});var r=n(81004),o=n.n(r),i=n(29691),a=n(43945);let l=1e3,s={Modal:100,Drawer:100,Popover:100,Popconfirm:100,Tooltip:100,Tour:100,FloatButton:100},c={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function u(e){return e in s}let d=(e,t)=>{let n,[,r]=(0,i.ZP)(),l=o().useContext(a.Z),d=u(e);if(void 0!==t)n=[t,t];else{let o=null!=l?l:0;d?o+=(l?0:r.zIndexPopupBase)+s[e]:o+=c[e],n=[void 0===l?t:o,o]}return n}},33603:function(e,t,n){"use strict";n.d(t,{Z:()=>c,m:()=>s});var r=n(53124);let o=()=>({height:0,opacity:0}),i=e=>{let{scrollHeight:t}=e;return{height:t,opacity:1}},a=e=>({height:e?e.offsetHeight:0}),l=(e,t)=>(null==t?void 0:t.deadline)===!0||"height"===t.propertyName,s=(e,t,n)=>void 0!==n?n:`${e}-${t}`,c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.Rf;return{motionName:`${e}-motion-collapse`,onAppearStart:o,onEnterStart:o,onAppearActive:i,onEnterActive:i,onLeaveStart:a,onLeaveActive:o,onAppearEnd:l,onEnterEnd:l,onLeaveEnd:l,motionDeadline:500}}},80636:function(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n(97414);function o(e,t,n,r){if(!1===r)return{adjustX:!1,adjustY:!1};let o=r&&"object"==typeof r?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=2*t.arrowOffsetHorizontal+n,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=2*t.arrowOffsetVertical+n,i.shiftX=!0,i.adjustX=!0}let a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}let i={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},a={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},l=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function s(e){let{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:s,offset:c,borderRadius:u,visibleFirst:d}=e,f=t/2,h={};return Object.keys(i).forEach(e=>{let p=Object.assign(Object.assign({},s&&a[e]||i[e]),{offset:[0,0],dynamicInset:!0});switch(h[e]=p,l.has(e)&&(p.autoArrow=!1),e){case"top":case"topLeft":case"topRight":p.offset[1]=-f-c;break;case"bottom":case"bottomLeft":case"bottomRight":p.offset[1]=f+c;break;case"left":case"leftTop":case"leftBottom":p.offset[0]=-f-c;break;case"right":case"rightTop":case"rightBottom":p.offset[0]=f+c}let m=(0,r.wZ)({contentRadius:u,limitVerticalRadius:!0});if(s)switch(e){case"topLeft":case"bottomLeft":p.offset[0]=-m.arrowOffsetHorizontal-f;break;case"topRight":case"bottomRight":p.offset[0]=m.arrowOffsetHorizontal+f;break;case"leftTop":case"rightTop":p.offset[1]=-(2*m.arrowOffsetHorizontal)+f;break;case"leftBottom":case"rightBottom":p.offset[1]=2*m.arrowOffsetHorizontal-f}p.overflow=o(e,m,t,n),d&&(p.htmlRegion="visibleFirst")}),h}},96159:function(e,t,n){"use strict";n.d(t,{M2:()=>i,Tm:()=>l,wm:()=>a});var r=n(81004),o=n.n(r);function i(e){return e&&o().isValidElement(e)&&e.type===o().Fragment}let a=(e,t,n)=>o().isValidElement(e)?o().cloneElement(e,"function"==typeof n?n(e.props||{}):n):t;function l(e,t){return a(e,e,t)}},27288:function(e,t,n){"use strict";n.d(t,{G8:()=>i,ln:()=>a});var r=n(81004);function o(){}n(80334);let i=r.createContext({}),a=()=>{let e=()=>{};return e.deprecated=o,e}},89142:function(e,t,n){"use strict";n.d(t,{Z:()=>E});var r=n(81004),o=n.n(r),i=n(58793),a=n.n(i),l=n(5110),s=n(42550),c=n(53124),u=n(96159),d=n(83559);let f=e=>{let{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:`box-shadow 0.4s ${e.motionEaseOutCirc},opacity 2s ${e.motionEaseOutCirc}`,"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut},opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}}}},h=(0,d.A1)("Wave",e=>[f(e)]);var p=n(66680),m=n(75164),g=n(29691),v=n(17415),b=n(54490),y=n(35303);function w(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function x(e){let{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return w(t)?t:w(n)?n:w(r)?r:null}function S(e){return Number.isNaN(e)?0:e}let k=e=>{let{className:t,target:n,component:o,registerUnmount:i}=e,l=r.useRef(null),c=r.useRef(null);r.useEffect(()=>{c.current=i()},[]);let[u,d]=r.useState(null),[f,h]=r.useState([]),[p,g]=r.useState(0),[y,w]=r.useState(0),[k,C]=r.useState(0),[$,E]=r.useState(0),[O,M]=r.useState(!1),I={left:p,top:y,width:k,height:$,borderRadius:f.map(e=>`${e}px`).join(" ")};function N(){let e=getComputedStyle(n);d(x(n));let t="static"===e.position,{borderLeftWidth:r,borderTopWidth:o}=e;g(t?n.offsetLeft:S(-parseFloat(r))),w(t?n.offsetTop:S(-parseFloat(o))),C(n.offsetWidth),E(n.offsetHeight);let{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:l,borderBottomRightRadius:s}=e;h([i,a,s,l].map(e=>S(parseFloat(e))))}if(u&&(I["--wave-color"]=u),r.useEffect(()=>{if(n){let e,t=(0,m.Z)(()=>{N(),M(!0)});return"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(N)).observe(n),()=>{m.Z.cancel(t),null==e||e.disconnect()}}},[]),!O)return null;let Z=("Checkbox"===o||"Radio"===o)&&(null==n?void 0:n.classList.contains(v.A));return r.createElement(b.ZP,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n,r;if(t.deadline||"opacity"===t.propertyName){let e=null==(n=l.current)?void 0:n.parentElement;null==(r=c.current)||r.call(c).then(()=>{null==e||e.remove()})}return!1}},(e,n)=>{let{className:o}=e;return r.createElement("div",{ref:(0,s.sQ)(l,n),className:a()(t,o,{"wave-quick":Z}),style:I})})},C=(e,t)=>{var n;let{component:o}=t;if("Checkbox"===o&&!(null==(n=e.querySelector("input"))?void 0:n.checked))return;let i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",null==e||e.insertBefore(i,null==e?void 0:e.firstChild);let a=(0,y.x)(),l=null;function s(){return l}l=a(r.createElement(k,Object.assign({},t,{target:e,registerUnmount:s})),i)},$=(e,t,n)=>{let{wave:o}=r.useContext(c.E_),[,i,a]=(0,g.ZP)(),l=(0,p.Z)(r=>{let l=e.current;if((null==o?void 0:o.disabled)||!l)return;let s=l.querySelector(`.${v.A}`)||l,{showEffect:c}=o||{};(c||C)(s,{className:t,token:i,component:n,event:r,hashId:a})}),s=r.useRef(null);return e=>{m.Z.cancel(s.current),s.current=(0,m.Z)(()=>{l(e)})}},E=e=>{let{children:t,disabled:n,component:i}=e,{getPrefixCls:d}=(0,r.useContext)(c.E_),f=(0,r.useRef)(null),p=d("wave"),[,m]=h(p),g=$(f,a()(p,m),i);if(o().useEffect(()=>{let e=f.current;if(!e||1!==e.nodeType||n)return;let t=t=>{!(0,l.Z)(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||g(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}},[n]),!o().isValidElement(t))return null!=t?t:null;let v=(0,s.Yr)(t)?(0,s.sQ)((0,s.C4)(t),f):f;return(0,u.Tm)(t,{ref:v})}},17415:function(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(53124);let o=`${r.Rf}-wave-target`},43945:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n(81004);let o=n.n(r)().createContext(void 0)},95658:function(e,t,n){"use strict";n.d(t,{L:()=>c,Z:()=>u});var r=n(81004),o=n(58793),i=n.n(o),a=n(53124),l=n(29691),s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let c=r.createContext(void 0),u=e=>{let{getPrefixCls:t,direction:n}=r.useContext(a.E_),{prefixCls:o,size:u,className:d}=e,f=s(e,["prefixCls","size","className"]),h=t("btn-group",o),[,,p]=(0,l.ZP)(),m="";switch(u){case"large":m="lg";break;case"small":m="sm"}let g=i()(h,{[`${h}-${m}`]:m,[`${h}-rtl`]:"rtl"===n},d,p);return r.createElement(c.Provider,{value:u},r.createElement("div",Object.assign({},f,{className:g})))}},33671:function(e,t,n){"use strict";n.d(t,{Dn:()=>u,aG:()=>l,hU:()=>f,nx:()=>s});var r=n(81004),o=n.n(r),i=n(96159);let a=/^[\u4E00-\u9FA5]{2}$/,l=a.test.bind(a);function s(e){return"danger"===e?{danger:!0}:{type:e}}function c(e){return"string"==typeof e}function u(e){return"text"===e||"link"===e}function d(e,t){if(null==e)return;let n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&c(e.type)&&l(e.props.children)?(0,i.Tm)(e,{children:e.props.children.split("").join(n)}):c(e)?l(e)?o().createElement("span",null,e.split("").join(n)):o().createElement("span",null,e):(0,i.M2)(e)?o().createElement("span",null,e):e}function f(e,t){let n=!1,r=[];return o().Children.forEach(e,e=>{let t=typeof e,o="string"===t||"number"===t;if(n&&o){let t=r.length-1,n=r[t];r[t]=`${n}${e}`}else r.push(e);n=o}),o().Children.map(r,e=>d(e,t))}},13754:function(e,t,n){"use strict";n.d(t,{ZP:()=>em});var r=n(81004),o=n.n(r),i=n(58793),a=n.n(i),l=n(98423),s=n(42550),c=n(89142),u=n(53124),d=n(98866),f=n(98675),h=n(4173),p=n(95658),m=n(33671);let g=(0,r.forwardRef)((e,t)=>{let{className:n,style:r,children:i,prefixCls:l}=e,s=a()(`${l}-icon`,n);return o().createElement("span",{ref:t,className:s,style:r},i)});var v=n(45540),b=n(54490);let y=(0,r.forwardRef)((e,t)=>{let{prefixCls:n,className:r,style:i,iconClassName:l}=e,s=a()(`${n}-loading-icon`,r);return o().createElement(g,{prefixCls:n,className:s,style:i,ref:t},o().createElement(v.Z,{className:l}))}),w=()=>({width:0,opacity:0,transform:"scale(0)"}),x=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),S=e=>{let{prefixCls:t,loading:n,existIcon:r,className:i,style:l,mount:s}=e,c=!!n;return r?o().createElement(y,{prefixCls:t,className:i,style:l}):o().createElement(b.ZP,{visible:c,motionName:`${t}-loading-icon-motion`,motionAppear:!s,motionEnter:!s,motionLeave:!s,removeOnLeave:!0,onAppearStart:w,onAppearActive:x,onEnterStart:w,onEnterActive:x,onLeaveStart:x,onLeaveActive:w},(e,n)=>{let{className:r,style:s}=e,c=Object.assign(Object.assign({},l),s);return o().createElement(y,{prefixCls:t,className:a()(i,r),style:c,ref:n})})};var k=n(80271),C=n(14747),$=n(40326),E=n(83559);let O=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),M=e=>{let{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},O(`${t}-primary`,o),O(`${t}-danger`,i)]}};var I=n(11616),N=n(71529),Z=n(51734);let R=e=>{let{paddingInline:t,onlyIconSize:n}=e;return(0,$.IX)(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n})},T=e=>{var t,n,r,o,i,a;let l=null!=(t=e.contentFontSize)?t:e.fontSize,s=null!=(n=e.contentFontSizeSM)?n:e.fontSize,c=null!=(r=e.contentFontSizeLG)?r:e.fontSizeLG,u=null!=(o=e.contentLineHeight)?o:(0,Z.D)(l),d=null!=(i=e.contentLineHeightSM)?i:(0,Z.D)(s),f=null!=(a=e.contentLineHeightLG)?a:(0,Z.D)(c),h=(0,N.U)(new I.y9(e.colorBgSolid),"#fff")?"#000":"#fff";return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:h,contentFontSize:l,contentFontSizeSM:s,contentFontSizeLG:c,contentLineHeight:u,contentLineHeightSM:d,contentLineHeightLG:f,paddingBlock:Math.max((e.controlHeight-l*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-s*d)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*f)/2-e.lineWidth,0)}},P=e=>{let{componentCls:t,iconCls:n,fontWeight:r,opacityLoading:o,motionDurationSlow:i,motionEaseInOut:a,marginXS:l,calc:s}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${(0,k.bf)(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${t}-icon > svg`]:(0,C.Ro)(),"> a":{color:"currentColor"},"&:not(:disabled)":(0,C.Qy)(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:"none"},[`&${t}-round`]:{width:"auto"}},[`&${t}-loading`]:{opacity:o,cursor:"default"},[`${t}-loading-icon`]:{transition:["width","opacity","margin"].map(e=>`${e} ${i} ${a}`).join(",")},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:s(l).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:s(l).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:s(l).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:s(l).mul(-1).equal()}}}}}},j=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),A=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),D=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),_=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),z=(e,t,n,r,o,i,a,l)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},j(e,Object.assign({background:t},a),Object.assign({background:t},l))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),L=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},_(e))}),B=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),H=(e,t,n,r)=>Object.assign(Object.assign({},(r&&["link","text"].includes(r)?B:L)(e)),j(e.componentCls,t,n)),F=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:n},H(e,r,o))}),W=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:n},H(e,r,o))}),V=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),q=(e,t,n,r)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},H(e,n,r))}),K=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-${n}`]:Object.assign({color:t,boxShadow:"none"},H(e,r,o,n))}),X=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},F(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive})),V(e)),q(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill})),K(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),z(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),U=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},W(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),V(e)),q(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder})),K(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),z(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),G=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},F(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),W(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),V(e)),q(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive})),K(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),K(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),z(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Y=e=>{let{componentCls:t}=e;return{[`${t}-color-default`]:X(e),[`${t}-color-primary`]:U(e),[`${t}-color-dangerous`]:G(e)}},Q=e=>Object.assign(Object.assign(Object.assign(Object.assign({},W(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),K(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),F(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),K(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),J=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{componentCls:n,controlHeight:r,fontSize:o,borderRadius:i,buttonPaddingHorizontal:a,iconCls:l,buttonPaddingVertical:s,buttonIconOnlyFontSize:c}=e;return[{[t]:{fontSize:o,height:r,padding:`${(0,k.bf)(s)} ${(0,k.bf)(a)}`,borderRadius:i,[`&${n}-icon-only`]:{width:r,[l]:{fontSize:c,verticalAlign:"calc(-0.125em - 1px)"}}}},{[`${n}${n}-circle${t}`]:A(e)},{[`${n}${n}-round${t}`]:D(e)}]},ee=e=>J((0,$.IX)(e,{fontSize:e.contentFontSize}),e.componentCls),et=e=>J((0,$.IX)(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM}),`${e.componentCls}-sm`),en=e=>J((0,$.IX)(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG}),`${e.componentCls}-lg`),er=e=>{let{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},eo=(0,E.I$)("Button",e=>{let t=R(e);return[P(t),ee(t),et(t),en(t),er(t),Y(t),Q(t),M(t)]},T,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});var ei=n(80110);function ea(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function el(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function es(e){let t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},ea(e,t)),el(e.componentCls,t))}}let ec=e=>{let{componentCls:t,colorPrimaryHover:n,lineWidth:r,calc:o}=e,i=o(r).mul(-1).equal(),a=e=>({[`${t}-compact${e?"-vertical":""}-item${t}-primary:not([disabled])`]:{"& + &::before":{position:"absolute",top:e?i:0,insetInlineStart:e?0:i,backgroundColor:n,content:'""',width:e?"100%":r,height:e?r:"100%"}}});return Object.assign(Object.assign({},a()),a(!0))},eu=(0,E.bk)(["Button","compact"],e=>{let t=R(e);return[(0,ei.c)(t),es(t),ec(t)]},T);var ed=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function ef(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return{loading:(t=Number.isNaN(t)||"number"!=typeof t?0:t)<=0,delay:t}}return{loading:!!e,delay:0}}let eh={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["primary","link"],text:["default","text"]},ep=o().forwardRef((e,t)=>{var n,i,v,b;let{loading:y=!1,prefixCls:w,color:x,variant:k,type:C,danger:$=!1,shape:E="default",size:O,styles:M,disabled:I,className:N,rootClassName:Z,children:R,icon:T,iconPosition:P="start",ghost:j=!1,block:A=!1,htmlType:D="button",classNames:_,style:z={},autoInsertSpace:L,autoFocus:B}=e,H=ed(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),F=C||"default",[W,V]=(0,r.useMemo)(()=>{if(x&&k)return[x,k];let e=eh[F]||[];return $?["danger",e[1]]:e},[C,x,k,$]),q="danger"===W?"dangerous":W,{getPrefixCls:K,direction:X,button:U}=(0,r.useContext)(u.E_),G=null==(n=null!=L?L:null==U?void 0:U.autoInsertSpace)||n,Y=K("btn",w),[Q,J,ee]=eo(Y),et=(0,r.useContext)(d.Z),en=null!=I?I:et,er=(0,r.useContext)(p.L),ei=(0,r.useMemo)(()=>ef(y),[y]),[ea,el]=(0,r.useState)(ei.loading),[es,ec]=(0,r.useState)(!1),ep=(0,r.useRef)(null),em=(0,s.x1)(t,ep),eg=1===r.Children.count(R)&&!T&&!(0,m.Dn)(V),ev=(0,r.useRef)(!0);o().useEffect(()=>(ev.current=!1,()=>{ev.current=!0}),[]),(0,r.useEffect)(()=>{let e=null;return ei.delay>0?e=setTimeout(()=>{e=null,el(!0)},ei.delay):el(ei.loading),function(){e&&(clearTimeout(e),e=null)}},[ei]),(0,r.useEffect)(()=>{if(!ep.current||!G)return;let e=ep.current.textContent||"";eg&&(0,m.aG)(e)?es||ec(!0):es&&ec(!1)}),(0,r.useEffect)(()=>{B&&ep.current&&ep.current.focus()},[]);let eb=o().useCallback(t=>{var n;if(ea||en)return void t.preventDefault();null==(n=e.onClick)||n.call(e,t)},[e.onClick,ea,en]),{compactSize:ey,compactItemClassnames:ew}=(0,h.ri)(Y,X),ex={large:"lg",small:"sm",middle:void 0},eS=(0,f.Z)(e=>{var t,n;return null!=(n=null!=(t=null!=O?O:ey)?t:er)?n:e}),ek=eS&&null!=(i=ex[eS])?i:"",eC=ea?"loading":T,e$=(0,l.Z)(H,["navigate"]),eE=a()(Y,J,ee,{[`${Y}-${E}`]:"default"!==E&&E,[`${Y}-${F}`]:F,[`${Y}-dangerous`]:$,[`${Y}-color-${q}`]:q,[`${Y}-variant-${V}`]:V,[`${Y}-${ek}`]:ek,[`${Y}-icon-only`]:!R&&0!==R&&!!eC,[`${Y}-background-ghost`]:j&&!(0,m.Dn)(V),[`${Y}-loading`]:ea,[`${Y}-two-chinese-chars`]:es&&G&&!ea,[`${Y}-block`]:A,[`${Y}-rtl`]:"rtl"===X,[`${Y}-icon-end`]:"end"===P},ew,N,Z,null==U?void 0:U.className),eO=Object.assign(Object.assign({},null==U?void 0:U.style),z),eM=a()(null==_?void 0:_.icon,null==(v=null==U?void 0:U.classNames)?void 0:v.icon),eI=Object.assign(Object.assign({},(null==M?void 0:M.icon)||{}),(null==(b=null==U?void 0:U.styles)?void 0:b.icon)||{}),eN=T&&!ea?o().createElement(g,{prefixCls:Y,className:eM,style:eI},T):o().createElement(S,{existIcon:!!T,prefixCls:Y,loading:ea,mount:ev.current}),eZ=R||0===R?(0,m.hU)(R,eg&&G):null;if(void 0!==e$.href)return Q(o().createElement("a",Object.assign({},e$,{className:a()(eE,{[`${Y}-disabled`]:en}),href:en?void 0:e$.href,style:eO,onClick:eb,ref:em,tabIndex:en?-1:0}),eN,eZ));let eR=o().createElement("button",Object.assign({},H,{type:D,className:eE,style:eO,onClick:eb,disabled:en,ref:em}),eN,eZ,ew&&o().createElement(eu,{prefixCls:Y}));return(0,m.Dn)(V)||(eR=o().createElement(c.Z,{component:"Button",disabled:ea},eR)),Q(eR)});ep.Group=p.Z,ep.__ANT_BUTTON=!0;let em=ep},74228:function(e,t,n){"use strict";n.d(t,{Z:()=>r});let r=n(13168).Z},46256:function(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n(81004),o=n(58793),i=n.n(o),a=n(53124),l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let s=e=>{let{prefixCls:t,className:n,avatar:o,title:s,description:c}=e,u=l(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:d}=r.useContext(a.E_),f=d("card",t),h=i()(`${f}-meta`,n),p=o?r.createElement("div",{className:`${f}-meta-avatar`},o):null,m=s?r.createElement("div",{className:`${f}-meta-title`},s):null,g=c?r.createElement("div",{className:`${f}-meta-description`},c):null,v=m||g?r.createElement("div",{className:`${f}-meta-detail`},m,g):null;return r.createElement("div",Object.assign({},u,{className:h}),p,v)}},98930:function(e,t,n){"use strict";n.d(t,{Z:()=>U});var r=n(81004),o=n.n(r),i=n(73805),a=n(58793),l=n.n(a),s=n(16019),c=n(98477),u=n(25002),d=n(58133),f=n(21770),h=n(80334),p=n(77354),m=n(50344),g=n(50324),v=n(17508),b=n(54490),y=n(15105),w=o().forwardRef(function(e,t){var n=e.prefixCls,r=e.forceRender,i=e.className,a=e.style,s=e.children,c=e.isActive,d=e.role,f=e.classNames,h=e.styles,p=o().useState(c||r),m=(0,u.Z)(p,2),g=m[0],b=m[1];return(o().useEffect(function(){(r||c)&&b(!0)},[r,c]),g)?o().createElement("div",{ref:t,className:l()("".concat(n,"-content"),(0,v.Z)((0,v.Z)({},"".concat(n,"-content-active"),c),"".concat(n,"-content-inactive"),!c),i),style:a,role:d},o().createElement("div",{className:l()("".concat(n,"-content-box"),null==f?void 0:f.body),style:null==h?void 0:h.body},s)):null});w.displayName="PanelContent";let x=w;var S=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"];let k=o().forwardRef(function(e,t){var n=e.showArrow,r=void 0===n||n,i=e.headerClass,a=e.isActive,c=e.onItemClick,u=e.forceRender,d=e.className,f=e.classNames,h=void 0===f?{}:f,m=e.styles,w=void 0===m?{}:m,k=e.prefixCls,C=e.collapsible,$=e.accordion,E=e.panelKey,O=e.extra,M=e.header,I=e.expandIcon,N=e.openMotion,Z=e.destroyInactivePanel,R=e.children,T=(0,p.Z)(e,S),P="disabled"===C,j=null!=O&&"boolean"!=typeof O,A=(0,v.Z)((0,v.Z)((0,v.Z)({onClick:function(){null==c||c(E)},onKeyDown:function(e){("Enter"===e.key||e.keyCode===y.Z.ENTER||e.which===y.Z.ENTER)&&(null==c||c(E))},role:$?"tab":"button"},"aria-expanded",a),"aria-disabled",P),"tabIndex",P?-1:0),D="function"==typeof I?I(e):o().createElement("i",{className:"arrow"}),_=D&&o().createElement("div",(0,s.Z)({className:"".concat(k,"-expand-icon")},["header","icon"].includes(C)?A:{}),D),z=l()("".concat(k,"-item"),(0,v.Z)((0,v.Z)({},"".concat(k,"-item-active"),a),"".concat(k,"-item-disabled"),P),d),L=l()(i,"".concat(k,"-header"),(0,v.Z)({},"".concat(k,"-collapsible-").concat(C),!!C),h.header),B=(0,g.Z)({className:L,style:w.header},["header","icon"].includes(C)?{}:A);return o().createElement("div",(0,s.Z)({},T,{ref:t,className:z}),o().createElement("div",B,r&&_,o().createElement("span",(0,s.Z)({className:"".concat(k,"-header-text")},"header"===C?A:{}),M),j&&o().createElement("div",{className:"".concat(k,"-extra")},O)),o().createElement(b.ZP,(0,s.Z)({visible:a,leavedClassName:"".concat(k,"-content-hidden")},N,{forceRender:u,removeOnLeave:Z}),function(e,t){var n=e.className,r=e.style;return o().createElement(x,{ref:t,prefixCls:k,className:n,classNames:h,style:r,styles:w,isActive:a,forceRender:u,role:$?"tabpanel":void 0},R)}))});var C=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],$=function(e,t){var n=t.prefixCls,r=t.accordion,i=t.collapsible,a=t.destroyInactivePanel,l=t.onItemClick,c=t.activeKey,u=t.openMotion,d=t.expandIcon;return e.map(function(e,t){var f=e.children,h=e.label,m=e.key,g=e.collapsible,v=e.onItemClick,b=e.destroyInactivePanel,y=(0,p.Z)(e,C),w=String(null!=m?m:t),x=null!=g?g:i,S=null!=b?b:a,$=function(e){"disabled"!==x&&(l(e),null==v||v(e))},E=!1;return E=r?c[0]===w:c.indexOf(w)>-1,o().createElement(k,(0,s.Z)({},y,{prefixCls:n,key:w,panelKey:w,isActive:E,accordion:r,openMotion:u,expandIcon:d,header:h,collapsible:x,onItemClick:$,destroyInactivePanel:S}),f)})},E=function(e,t,n){if(!e)return null;var r=n.prefixCls,i=n.accordion,a=n.collapsible,l=n.destroyInactivePanel,s=n.onItemClick,c=n.activeKey,u=n.openMotion,d=n.expandIcon,f=e.key||String(t),h=e.props,p=h.header,m=h.headerClass,g=h.destroyInactivePanel,v=h.collapsible,b=h.onItemClick,y=!1;y=i?c[0]===f:c.indexOf(f)>-1;var w=null!=v?v:a,x=function(e){"disabled"!==w&&(s(e),null==b||b(e))},S={key:f,panelKey:f,header:p,headerClass:m,isActive:y,prefixCls:r,destroyInactivePanel:null!=g?g:l,openMotion:u,accordion:i,children:e.props.children,onItemClick:x,expandIcon:d,collapsible:w};return"string"==typeof e.type?e:(Object.keys(S).forEach(function(e){void 0===S[e]&&delete S[e]}),o().cloneElement(e,S))};let O=function(e,t,n){return Array.isArray(e)?$(e,n):(0,m.Z)(t).map(function(e,t){return E(e,t,n)})};var M=n(64217);function I(e){var t=e;if(!Array.isArray(t)){var n=(0,d.Z)(t);t="number"===n||"string"===n?[t]:[]}return t.map(function(e){return String(e)})}let N=Object.assign(o().forwardRef(function(e,t){var n=e.prefixCls,r=void 0===n?"rc-collapse":n,i=e.destroyInactivePanel,a=void 0!==i&&i,d=e.style,p=e.accordion,m=e.className,g=e.children,v=e.collapsible,b=e.openMotion,y=e.expandIcon,w=e.activeKey,x=e.defaultActiveKey,S=e.onChange,k=e.items,C=l()(r,m),$=(0,f.Z)([],{value:w,onChange:function(e){return null==S?void 0:S(e)},defaultValue:x,postState:I}),E=(0,u.Z)($,2),N=E[0],Z=E[1],R=function(e){return Z(function(){return p?N[0]===e?[]:[e]:N.indexOf(e)>-1?N.filter(function(t){return t!==e}):[].concat((0,c.Z)(N),[e])})};(0,h.ZP)(!g,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var T=O(k,g,{prefixCls:r,accordion:p,openMotion:b,expandIcon:y,collapsible:v,destroyInactivePanel:a,onItemClick:R,activeKey:N});return o().createElement("div",(0,s.Z)({ref:t,className:C,style:d,role:p?"tablist":void 0},(0,M.Z)(e,{aria:!0,data:!0})),T)}),{Panel:k}),Z=N;N.Panel;var R=n(98423),T=n(33603),P=n(96159),j=n(53124),A=n(98675);let D=r.forwardRef((e,t)=>{let{getPrefixCls:n}=r.useContext(j.E_),{prefixCls:o,className:i,showArrow:a=!0}=e,s=n("collapse",o),c=l()({[`${s}-no-arrow`]:!a},i);return r.createElement(Z.Panel,Object.assign({ref:t},e,{prefixCls:s,className:c}))});var _=n(80271),z=n(14747),L=n(33507),B=n(83559),H=n(40326);let F=e=>{let{componentCls:t,contentBg:n,padding:r,headerBg:o,headerPadding:i,collapseHeaderPaddingSM:a,collapseHeaderPaddingLG:l,collapsePanelBorderRadius:s,lineWidth:c,lineType:u,colorBorder:d,colorText:f,colorTextHeading:h,colorTextDisabled:p,fontSizeLG:m,lineHeight:g,lineHeightLG:v,marginSM:b,paddingSM:y,paddingLG:w,paddingXS:x,motionDurationSlow:S,fontSizeIcon:k,contentPadding:C,fontHeight:$,fontHeightLG:E}=e,O=`${(0,_.bf)(c)} ${u} ${d}`;return{[t]:Object.assign(Object.assign({},(0,z.Wf)(e)),{backgroundColor:o,border:O,borderRadius:s,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:O,"&:last-child":{[` - &, - & > ${t}-header`]:{borderRadius:`0 0 ${(0,_.bf)(s)} ${(0,_.bf)(s)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:h,lineHeight:g,cursor:"pointer",transition:`all ${S}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},[`${t}-expand-icon`]:{height:$,display:"flex",alignItems:"center",paddingInlineEnd:b},[`${t}-arrow`]:Object.assign(Object.assign({},(0,z.Ro)()),{fontSize:k,transition:`transform ${S}`,svg:{transition:`transform ${S}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-collapsible-header`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-collapsible-icon`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:f,backgroundColor:n,borderTop:O,[`& > ${t}-content-box`]:{padding:C},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:a,paddingInlineStart:x,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(y).sub(x).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:y}}},"&-large":{[`> ${t}-item`]:{fontSize:m,lineHeight:v,[`> ${t}-header`]:{padding:l,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:E,marginInlineStart:e.calc(w).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:w}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${(0,_.bf)(s)} ${(0,_.bf)(s)}`}},[`& ${t}-item-disabled > ${t}-header`]:{[` - &, - & > .arrow - `]:{color:p,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:b}}}}})}},W=e=>{let{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},V=e=>{let{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:o}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${o}`},[` - > ${t}-item:last-child, - > ${t}-item:last-child ${t}-header - `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},q=e=>{let{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},K=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),X=(0,B.I$)("Collapse",e=>{let t=(0,H.IX)(e,{collapseHeaderPaddingSM:`${(0,_.bf)(e.paddingXS)} ${(0,_.bf)(e.paddingSM)}`,collapseHeaderPaddingLG:`${(0,_.bf)(e.padding)} ${(0,_.bf)(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[F(t),V(t),q(t),W(t),(0,L.Z)(t)]},K),U=Object.assign(r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:o,collapse:a}=r.useContext(j.E_),{prefixCls:s,className:c,rootClassName:u,style:d,bordered:f=!0,ghost:h,size:p,expandIconPosition:g="start",children:v,expandIcon:b}=e,y=(0,A.Z)(e=>{var t;return null!=(t=null!=p?p:e)?t:"middle"}),w=n("collapse",s),x=n(),[S,k,C]=X(w),$=r.useMemo(()=>"left"===g?"start":"right"===g?"end":g,[g]),E=null!=b?b:null==a?void 0:a.expandIcon,O=r.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t="function"==typeof E?E(e):r.createElement(i.Z,{rotate:e.isActive?90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,P.Tm)(t,()=>{var e;return{className:l()(null==(e=null==t?void 0:t.props)?void 0:e.className,`${w}-arrow`)}})},[E,w]),M=l()(`${w}-icon-position-${$}`,{[`${w}-borderless`]:!f,[`${w}-rtl`]:"rtl"===o,[`${w}-ghost`]:!!h,[`${w}-${y}`]:"middle"!==y},null==a?void 0:a.className,c,u,k,C),I=Object.assign(Object.assign({},(0,T.Z)(x)),{motionAppear:!1,leavedClassName:`${w}-content-hidden`}),N=r.useMemo(()=>v?(0,m.Z)(v).map((e,t)=>{var n,r;let o=e.props;if(null==o?void 0:o.disabled){let i=null!=(n=e.key)?n:String(t),a=Object.assign(Object.assign({},(0,R.Z)(e.props,["disabled"])),{key:i,collapsible:null!=(r=o.collapsible)?r:"disabled"});return(0,P.Tm)(e,a)}return e}):null,[v]);return S(r.createElement(Z,Object.assign({ref:t,openMotion:I},(0,R.Z)(e,["rootClassName"]),{expandIcon:O,prefixCls:w,className:M,style:Object.assign(Object.assign({},null==a?void 0:a.style),d)}),N))}),{Panel:D})},11616:function(e,t,n){"use strict";n.d(t,{Ot:()=>a,y9:()=>s});var r=n(46932),o=n(89526),i=n(49489);let a=(e,t)=>(null==e?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"",l=(e,t)=>e?a(e,t):"",s=function(){function e(t){var n;if((0,r.Z)(this,e),this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=null==(n=t.colors)?void 0:n.map(t=>({color:new e(t.color),percent:t.percent})),this.cleared=t.cleared;return}let o=Array.isArray(t);o&&t.length?(this.colors=t.map(t=>{let{color:n,percent:r}=t;return{color:new e(n),percent:r}}),this.metaColor=new i.Il(this.colors[0].color.metaColor)):this.metaColor=new i.Il(o?"":t),t&&(!o||this.colors)||(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return(0,o.Z)(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return l(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){let{colors:e}=this;if(e){let t=e.map(e=>`${e.color.toRgbString()} ${e.percent}%`).join(", ");return`linear-gradient(90deg, ${t})`}return this.metaColor.toRgbString()}},{key:"equals",value:function(e){return!!e&&this.isGradient()===e.isGradient()&&(this.isGradient()?this.colors.length===e.colors.length&&this.colors.every((t,n)=>{let r=e.colors[n];return t.percent===r.percent&&t.color.equals(r.color)}):this.toHexString()===e.toHexString())}}])}()},71529:function(e,t,n){"use strict";n.d(t,{U:()=>p,Z:()=>g});var r=n(81004),o=n.n(r),i=n(49489),a=n(58793),l=n.n(a),s=n(21770),c=n(98930),u=n(10110),d=n(29691),f=n(93766);let h=e=>e.map(e=>(e.colors=e.colors.map(f.vC),e)),p=(e,t)=>{let{r:n,g:r,b:o,a}=e.toRgb(),l=new i.Il(e.toRgbString()).onBackground(t).toHsv();return a<=.5?l.v>.5:.299*n+.587*r+.114*o>192},m=(e,t)=>"string"==typeof e.label||"number"==typeof e.label?`panel-${e.label}-${t}`:`panel-${t}`,g=e=>{let{prefixCls:t,presets:n,value:a,onChange:g}=e,[v]=(0,u.Z)("ColorPicker"),[,b]=(0,d.ZP)(),[y]=(0,s.Z)(h(n),{value:h(n),postState:h}),w=`${t}-presets`,x=(0,r.useMemo)(()=>y.reduce((e,t,n)=>{let{defaultOpen:r=!0}=t;return r&&e.push(m(t,n)),e},[]),[y]),S=e=>{null==g||g(e)},k=y.map((e,n)=>{var r;return{key:m(e,n),label:o().createElement("div",{className:`${w}-label`},null==e?void 0:e.label),children:o().createElement("div",{className:`${w}-items`},Array.isArray(null==e?void 0:e.colors)&&(null==(r=e.colors)?void 0:r.length)>0?e.colors.map((e,n)=>o().createElement(i.G5,{key:`preset-${n}-${e.toHexString()}`,color:(0,f.vC)(e).toRgbString(),prefixCls:t,className:l()(`${w}-color`,{[`${w}-color-checked`]:e.toHexString()===(null==a?void 0:a.toHexString()),[`${w}-color-bright`]:p(e,b.colorBgElevated)}),onClick:()=>S(e)})):o().createElement("span",{className:`${w}-empty`},v.presetEmpty))}});return o().createElement("div",{className:w},o().createElement(c.Z,{defaultActiveKey:x,ghost:!0,items:k}))}},93766:function(e,t,n){"use strict";n.d(t,{AO:()=>u,T7:()=>c,lx:()=>l,uZ:()=>s,vC:()=>a});var r=n(98477),o=n(49489),i=n(11616);let a=e=>e instanceof i.y9?e:new i.y9(e),l=e=>Math.round(Number(e||0)),s=e=>l(100*e.toHsb().a),c=(e,t)=>{let n=e.toRgb();if(!n.r&&!n.g&&!n.b){let n=e.toHsb();return n.a=t||1,a(n)}return n.a=t||1,a(n)},u=(e,t)=>{let n=[{percent:0,color:e[0].color}].concat((0,r.Z)(e),[{percent:100,color:e[e.length-1].color}]);for(let e=0;ea,n:()=>i});var r=n(81004);let o=r.createContext(!1),i=e=>{let{children:t,disabled:n}=e,i=r.useContext(o);return r.createElement(o.Provider,{value:null!=n?n:i},t)},a=o},97647:function(e,t,n){"use strict";n.d(t,{Z:()=>a,q:()=>i});var r=n(81004);let o=r.createContext(void 0),i=e=>{let{children:t,size:n}=e,i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},t)},a=o},35303:function(e,t,n){"use strict";n.d(t,{q:()=>k,x:()=>C}),n(81004);var r,o=n(3859),i=n(76887),a=n(11954),l=n(58133),s=(0,n(50324).Z)({},o),c=s.version,u=s.render,d=s.unmountComponentAtNode;try{Number((c||"").split(".")[0])>=18&&(r=s.createRoot)}catch(e){}function f(e){var t=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,l.Z)(t)&&(t.usingClientEntryPoint=e)}var h="__rc_react_root__";function p(e,t){f(!0);var n=t[h]||r(t);f(!1),n.render(e),t[h]=n}function m(e,t){null==u||u(e,t)}function g(e,t){if(r)return void p(e,t);m(e,t)}function v(e){return b.apply(this,arguments)}function b(){return(b=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then(function(){var e;null==(e=t[h])||e.unmount(),delete t[h]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function y(e){d(e)}function w(e){return x.apply(this,arguments)}function x(){return(x=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===r){e.next=2;break}return e.abrupt("return",v(t));case 2:y(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}let S=(e,t)=>(g(e,t),()=>w(t));function k(e){S=e}function C(){return S}},53124:function(e,t,n){"use strict";n.d(t,{E_:()=>s,Rf:()=>o,oR:()=>i,tr:()=>a});var r=n(81004);let o="ant",i="anticon",a=["outlined","borderless","filled"],l=(e,t)=>t||(e?`${o}-${e}`:o),s=r.createContext({getPrefixCls:l,iconPrefixCls:i}),{Consumer:c}=s},98675:function(e,t,n){"use strict";n.d(t,{Z:()=>a});var r=n(81004),o=n.n(r),i=n(97647);let a=e=>{let t=o().useContext(i.Z);return o().useMemo(()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t,[e,t])}},13168:function(e,t,n){"use strict";n.d(t,{Z:()=>l});var r=n(50324),o={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0};let i=(0,r.Z)((0,r.Z)({},o),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});var a=n(42115);let l={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},i),timePickerLocale:Object.assign({},a.Z)}},65223:function(e,t,n){"use strict";n.d(t,{RV:()=>s,Rk:()=>c,Ux:()=>d,aM:()=>u,pg:()=>f,q3:()=>a,qI:()=>l});var r=n(81004),o=n(86436),i=n(98423);let a=r.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),l=r.createContext(null),s=e=>{let t=(0,i.Z)(e,["prefixCls"]);return r.createElement(o.RV,Object.assign({},t))},c=r.createContext({prefixCls:""}),u=r.createContext({}),d=e=>{let{children:t,status:n,override:o}=e,i=r.useContext(u),a=r.useMemo(()=>{let e=Object.assign({},i);return o&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[n,o,i]);return r.createElement(u.Provider,{value:a},t)},f=r.createContext(void 0)},4584:function(e,t,n){"use strict";n.d(t,{Z:()=>u});var r=n(81004),o=n(86436),i=n(34203),a=n(52028),l=n(80993);function s(e){return(0,l.qo)(e).join("_")}function c(e,t){let n=t.getFieldInstance(e),r=(0,i.bn)(n);if(r)return r;let o=(0,l.dD)((0,l.qo)(e),t.__INTERNAL__.name);if(o)return document.getElementById(o)}function u(e){let[t]=(0,o.cI)(),n=r.useRef({}),i=r.useMemo(()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{let r=s(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=c(e,i);n&&(0,a.Z)(n,Object.assign({scrollMode:"if-needed",block:"nearest"},t))},focusField:e=>{var t;let n=c(e,i);n&&(null==(t=n.focus)||t.call(n))},getFieldInstance:e=>{let t=s(e);return n.current[t]}}),[e,t]);return[i]}},80993:function(e,t,n){"use strict";n.d(t,{dD:()=>a,lR:()=>l,qo:()=>i});let r=["parentNode"],o="form_item";function i(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function a(e,t){if(!e.length)return;let n=e.join("_");return t?`${t}_${n}`:r.includes(n)?`${o}_${n}`:n}function l(e,t,n,r,o,i){let a=r;return void 0!==i?a=i:n.validating?a="validating":e.length?a="error":t.length?a="warning":(n.touched||o&&n.validated)&&(a="success"),a}},71688:function(e,t,n){"use strict";let r,o,i,a,l,s;n.r(t),n.d(t,{ColorPicker:()=>xc,Descriptions:()=>Sa,Avatar:()=>su,Flex:()=>S3,Rate:()=>Mf,Table:()=>Tj,AutoComplete:()=>l_,Input:()=>wt,Tabs:()=>mh,Upload:()=>Dg,Popconfirm:()=>Om,version:()=>Dv.Z,Empty:()=>aT,Radio:()=>O4,App:()=>ox,Cascader:()=>vG,ConfigProvider:()=>t9,BackTop:()=>sb,List:()=>Ep,Progress:()=>Og.Z,notification:()=>Oa,Tooltip:()=>l1.Z,TreeSelect:()=>jG,theme:()=>Pe,Collapse:()=>bu.Z,Timeline:()=>Pb,unstableSetRender:()=>ne.q,Badge:()=>sB,Segmented:()=>bP,Col:()=>bc,Select:()=>lR,Switch:()=>IE,Popover:()=>sa,Tree:()=>RY,Mentions:()=>EF,Layout:()=>$w,Divider:()=>bg,message:()=>E0,Anchor:()=>e_,Form:()=>Cf,Grid:()=>Ch,Transfer:()=>jh,Breadcrumb:()=>dS,Card:()=>mZ,Checkbox:()=>v3,Splitter:()=>DJ,Row:()=>MR,Steps:()=>Ih,TimePicker:()=>Pl,Carousel:()=>gD,Spin:()=>Ee,Tour:()=>Pq,Typography:()=>Aq,Modal:()=>E5,DatePicker:()=>xG,Slider:()=>wB,Tag:()=>TU,Alert:()=>eb,Calendar:()=>py,Image:()=>$c,Menu:()=>u3,Affix:()=>P,FloatButton:()=>ky,Button:()=>no.ZP,Statistic:()=>Mq,Watermark:()=>DP,Drawer:()=>SI,Skeleton:()=>rr,Pagination:()=>$F,InputNumber:()=>yC,Dropdown:()=>SH,Space:()=>S_,Result:()=>MZ,QRCode:()=>O1});var c,u,d,f,h=n(81004),p=n.n(h),m=n(58793),g=n.n(m),v=n(73097),b=n(98423),y=n(98477),w=n(75164);let x=function(e){let t,n=n=>()=>{t=null,e.apply(void 0,(0,y.Z)(n))},r=function(){if(null==t){for(var e=arguments.length,r=Array(e),o=0;o{w.Z.cancel(t),t=null},r};var S=n(53124),k=n(83559);let C=e=>{let{componentCls:t}=e;return{[t]:{position:"fixed",zIndex:e.zIndexPopup}}},$=e=>({zIndexPopup:e.zIndexBase+10}),E=(0,k.I$)("Affix",C,$);function O(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function M(e,t,n){if(void 0!==n&&Math.round(t.top)>Math.round(e.top)-n)return n+t.top}function I(e,t,n){if(void 0!==n&&Math.round(t.bottom){var n;let{style:r,offsetTop:o,offsetBottom:i,prefixCls:a,className:l,rootClassName:s,children:c,target:u,onChange:d}=e,{getPrefixCls:f,getTargetContainer:h}=p().useContext(S.E_),m=f("affix",a),[y,w]=p().useState(!1),[k,C]=p().useState(),[$,P]=p().useState(),j=p().useRef(R),A=p().useRef(null),D=p().useRef(null),_=p().useRef(null),z=p().useRef(null),L=p().useRef(null),B=null!=(n=null!=u?u:h)?n:Z,H=void 0===i&&void 0===o?0:o,F=()=>{if(j.current!==T||!z.current||!_.current||!B)return;let e=B();if(e){let t={status:R},n=O(_.current);if(0===n.top&&0===n.left&&0===n.width&&0===n.height)return;let r=O(e),o=M(n,r,H),a=I(n,r,i);void 0!==o?(t.affixStyle={position:"fixed",top:o,width:n.width,height:n.height},t.placeholderStyle={width:n.width,height:n.height}):void 0!==a&&(t.affixStyle={position:"fixed",bottom:a,width:n.width,height:n.height},t.placeholderStyle={width:n.width,height:n.height}),t.lastAffix=!!t.affixStyle,y!==t.lastAffix&&(null==d||d(t.lastAffix)),j.current=t.status,C(t.affixStyle),P(t.placeholderStyle),w(t.lastAffix)}},W=()=>{j.current=T,F()},V=x(()=>{W()}),q=x(()=>{if(B&&k){let e=B();if(e&&_.current){let t=O(e),n=O(_.current),r=M(n,t,H),o=I(n,t,i);if(void 0!==r&&k.top===r||void 0!==o&&k.bottom===o)return}}W()}),K=()=>{let e=null==B?void 0:B();e&&(N.forEach(t=>{var n;D.current&&(null==(n=A.current)||n.removeEventListener(t,D.current)),null==e||e.addEventListener(t,q)}),A.current=e,D.current=q)},X=()=>{L.current&&(clearTimeout(L.current),L.current=null);let e=null==B?void 0:B();N.forEach(t=>{var n;null==e||e.removeEventListener(t,q),D.current&&(null==(n=A.current)||n.removeEventListener(t,D.current))}),V.cancel(),q.cancel()};p().useImperativeHandle(t,()=>({updatePosition:V})),p().useEffect(()=>(L.current=setTimeout(K),()=>X()),[]),p().useEffect(()=>{K()},[u,k]),p().useEffect(()=>{V()},[u,o,i]);let[U,G,Y]=E(m),Q=g()(s,G,m,Y),J=g()({[Q]:k}),ee=(0,b.Z)(e,["prefixCls","offsetTop","offsetBottom","target","onChange","rootClassName"]);return U(p().createElement(v.Z,{onResize:V},p().createElement("div",Object.assign({style:r,className:l,ref:_},ee),k&&p().createElement("div",{style:$,"aria-hidden":"true"}),p().createElement("div",{className:J,ref:z,style:k},p().createElement(v.Z,{onResize:V},c)))))});var j=n(40778),A=n(69515),D=n(69485),_=n(16019);let z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};var L=n(64632),B=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:z}))};let H=h.forwardRef(B),F={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};var W=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:F}))};let V=h.forwardRef(W);var q=n(54490),K=n(64217),X=n(42550),U=n(96159),G=n(80271),Y=n(14747);let Q=(e,t,n,r,o)=>({background:e,border:`${(0,G.bf)(r.lineWidth)} ${r.lineType} ${t}`,[`${o}-icon`]:{color:n}}),J=e=>{let{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:o,fontSize:i,fontSizeLG:a,lineHeight:l,borderRadiusLG:s,motionEaseInOutCirc:c,withDescriptionIconSize:u,colorText:d,colorTextHeading:f,withDescriptionPadding:h,defaultPadding:p}=e;return{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"relative",display:"flex",alignItems:"center",padding:p,wordWrap:"break-word",borderRadius:s,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:i,lineHeight:l},"&-message":{color:f},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${c}, opacity ${n} ${c}, - padding-top ${n} ${c}, padding-bottom ${n} ${c}, - margin-bottom ${n} ${c}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",padding:h,[`${t}-icon`]:{marginInlineEnd:o,fontSize:u,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:f,fontSize:a},[`${t}-description`]:{display:"block",color:d}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},ee=e=>{let{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:o,colorWarning:i,colorWarningBorder:a,colorWarningBg:l,colorError:s,colorErrorBorder:c,colorErrorBg:u,colorInfo:d,colorInfoBorder:f,colorInfoBg:h}=e;return{[t]:{"&-success":Q(o,r,n,e,t),"&-info":Q(h,f,d,e,t),"&-warning":Q(l,a,i,e,t),"&-error":Object.assign(Object.assign({},Q(u,c,s,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},et=e=>{let{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:o,fontSizeIcon:i,colorIcon:a,colorIconHover:l}=e;return{[t]:{"&-action":{marginInlineStart:o},[`${t}-close-icon`]:{marginInlineStart:o,padding:0,overflow:"hidden",fontSize:i,lineHeight:(0,G.bf)(i),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:a,transition:`color ${r}`,"&:hover":{color:l}}},"&-close-text":{color:a,transition:`color ${r}`,"&:hover":{color:l}}}}},en=e=>{let t=12;return{withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px ${t}px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`}},er=(0,k.I$)("Alert",e=>[J(e),ee(e),et(e)],en);var eo=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let ei={success:j.Z,info:V,error:A.Z,warning:H},ea=e=>{let{icon:t,prefixCls:n,type:r}=e,o=ei[r]||null;return t?(0,U.wm)(t,h.createElement("span",{className:`${n}-icon`},t),()=>({className:g()(`${n}-icon`,t.props.className)})):h.createElement(o,{className:`${n}-icon`})},el=e=>{let{isClosable:t,prefixCls:n,closeIcon:r,handleClose:o,ariaProps:i}=e,a=!0===r||void 0===r?h.createElement(D.Z,null):r;return t?h.createElement("button",Object.assign({type:"button",onClick:o,className:`${n}-close-icon`,tabIndex:0},i),a):null},es=h.forwardRef((e,t)=>{let{description:n,prefixCls:r,message:o,banner:i,className:a,rootClassName:l,style:s,onMouseEnter:c,onMouseLeave:u,onClick:d,afterClose:f,showIcon:p,closable:m,closeText:v,closeIcon:b,action:y,id:w}=e,x=eo(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[k,C]=h.useState(!1),$=h.useRef(null);h.useImperativeHandle(t,()=>({nativeElement:$.current}));let{getPrefixCls:E,direction:O,alert:M}=h.useContext(S.E_),I=E("alert",r),[N,Z,R]=er(I),T=t=>{var n;C(!0),null==(n=e.onClose)||n.call(e,t)},P=h.useMemo(()=>void 0!==e.type?e.type:i?"warning":"info",[e.type,i]),j=h.useMemo(()=>"object"==typeof m&&!!m.closeIcon||!!v||("boolean"==typeof m?m:!1!==b&&null!=b||!!(null==M?void 0:M.closable)),[v,b,m,null==M?void 0:M.closable]),A=!!i&&void 0===p||p,D=g()(I,`${I}-${P}`,{[`${I}-with-description`]:!!n,[`${I}-no-icon`]:!A,[`${I}-banner`]:!!i,[`${I}-rtl`]:"rtl"===O},null==M?void 0:M.className,a,l,R,Z),_=(0,K.Z)(x,{aria:!0,data:!0}),z=h.useMemo(()=>{var e,t;return"object"==typeof m&&m.closeIcon?m.closeIcon:v||(void 0!==b?b:"object"==typeof(null==M?void 0:M.closable)&&(null==(e=null==M?void 0:M.closable)?void 0:e.closeIcon)?null==(t=null==M?void 0:M.closable)?void 0:t.closeIcon:null==M?void 0:M.closeIcon)},[b,m,v,null==M?void 0:M.closeIcon]),L=h.useMemo(()=>{let e=null!=m?m:null==M?void 0:M.closable;if("object"==typeof e){let{closeIcon:t}=e;return eo(e,["closeIcon"])}return{}},[m,null==M?void 0:M.closable]);return N(h.createElement(q.ZP,{visible:!k,motionName:`${I}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:f},(t,r)=>{let{className:i,style:a}=t;return h.createElement("div",Object.assign({id:w,ref:(0,X.sQ)($,r),"data-show":!k,className:g()(D,i),style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.style),s),a),onMouseEnter:c,onMouseLeave:u,onClick:d,role:"alert"},_),A?h.createElement(ea,{description:n,icon:e.icon,prefixCls:I,type:P}):null,h.createElement("div",{className:`${I}-content`},o?h.createElement("div",{className:`${I}-message`},o):null,n?h.createElement("div",{className:`${I}-description`},n):null),y?h.createElement("div",{className:`${I}-action`},y):null,h.createElement(el,{isClosable:j,prefixCls:I,closeIcon:z,handleClose:T,ariaProps:L}))}))});var ec=n(46932),eu=n(89526),ed=n(28446),ef=n(87230),eh=n(11998);function ep(e,t,n){return t=(0,ed.Z)(t),(0,eh.Z)(e,(0,ef.Z)()?Reflect.construct(t,n||[],(0,ed.Z)(e).constructor):t.apply(e,n))}var em=n(26238);let eg=function(e){function t(){var e;return(0,ec.Z)(this,t),e=ep(this,t,arguments),e.state={error:void 0,info:{componentStack:""}},e}return(0,em.Z)(t,e),(0,eu.Z)(t,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){let{message:e,description:t,id:n,children:r}=this.props,{error:o,info:i}=this.state,a=(null==i?void 0:i.componentStack)||null,l=void 0===e?(o||"").toString():e,s=void 0===t?a:t;return o?h.createElement(es,{id:n,type:"error",message:l,description:h.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},s)}):r}}])}(h.Component),ev=es;ev.ErrorBoundary=eg;let eb=ev;var ey=n(66680),ew=n(52028);function ex(e){return null!=e&&e===e.window}let eS=e=>{var t,n;if("undefined"==typeof window)return 0;let r=0;return ex(e)?r=e.pageYOffset:e instanceof Document?r=e.documentElement.scrollTop:e instanceof HTMLElement?r=e.scrollTop:e&&(r=e.scrollTop),e&&!ex(e)&&"number"!=typeof r&&(r=null==(n=(null!=(t=e.ownerDocument)?t:e).documentElement)?void 0:n.scrollTop),r};function ek(e,t,n,r){let o=n-t;return(e/=r/2)<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}function eC(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{getContainer:n=()=>window,callback:r,duration:o=450}=t,i=n(),a=eS(i),l=Date.now(),s=()=>{let t=Date.now()-l,n=ek(t>o?o:t,a,e,o);ex(i)?i.scrollTo(window.pageXOffset,n):i instanceof Document||"HTMLDocument"===i.constructor.name?i.documentElement.scrollTop=n:i.scrollTop=n,t{let[,,,,t]=(0,e$.ZP)();return t?`${e}-css-var`:""},eO=h.createContext(void 0),eM=e=>{let{href:t,title:n,prefixCls:r,children:o,className:i,target:a,replace:l}=e,{registerLink:s,unregisterLink:c,scrollTo:u,onClick:d,activeLink:f,direction:p}=h.useContext(eO)||{};h.useEffect(()=>(null==s||s(t),()=>{null==c||c(t)}),[t]);let m=e=>{null==d||d(e,{title:n,href:t}),null==u||u(t),l&&(e.preventDefault(),window.location.replace(t))},{getPrefixCls:v}=h.useContext(S.E_),b=v("anchor",r),y=f===t,w=g()(`${b}-link`,i,{[`${b}-link-active`]:y}),x=g()(`${b}-link-title`,{[`${b}-link-title-active`]:y});return h.createElement("div",{className:w},h.createElement("a",{className:x,href:t,title:"string"==typeof n?n:"",target:a,onClick:m},n),"horizontal"!==p?o:null)};var eI=n(40326);let eN=e=>{let{componentCls:t,holderOffsetBlock:n,motionDurationSlow:r,lineWidthBold:o,colorPrimary:i,lineType:a,colorSplit:l,calc:s}=e;return{[`${t}-wrapper`]:{marginBlockStart:s(n).mul(-1).equal(),paddingBlockStart:n,[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"relative",paddingInlineStart:o,[`${t}-link`]:{paddingBlock:e.linkPaddingBlock,paddingInline:`${(0,G.bf)(e.linkPaddingInlineStart)} 0`,"&-title":Object.assign(Object.assign({},Y.vS),{position:"relative",display:"block",marginBlockEnd:e.anchorTitleBlock,color:e.colorText,transition:`all ${e.motionDurationSlow}`,"&:only-child":{marginBlockEnd:0}}),[`&-active > ${t}-link-title`]:{color:e.colorPrimary},[`${t}-link`]:{paddingBlock:e.anchorPaddingBlockSecondary}}}),[`&:not(${t}-wrapper-horizontal)`]:{[t]:{"&::before":{position:"absolute",insetInlineStart:0,top:0,height:"100%",borderInlineStart:`${(0,G.bf)(o)} ${a} ${l}`,content:'" "'},[`${t}-ink`]:{position:"absolute",insetInlineStart:0,display:"none",transform:"translateY(-50%)",transition:`top ${r} ease-in-out`,width:o,backgroundColor:i,[`&${t}-ink-visible`]:{display:"inline-block"}}}},[`${t}-fixed ${t}-ink ${t}-ink`]:{display:"none"}}}},eZ=e=>{let{componentCls:t,motionDurationSlow:n,lineWidthBold:r,colorPrimary:o}=e;return{[`${t}-wrapper-horizontal`]:{position:"relative","&::before":{position:"absolute",left:{_skip_check_:!0,value:0},right:{_skip_check_:!0,value:0},bottom:0,borderBottom:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,content:'" "'},[t]:{overflowX:"scroll",position:"relative",display:"flex",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},[`${t}-link:first-of-type`]:{paddingInline:0},[`${t}-ink`]:{position:"absolute",bottom:0,transition:`left ${n} ease-in-out, width ${n} ease-in-out`,height:r,backgroundColor:o}}}}},eR=e=>({linkPaddingBlock:e.paddingXXS,linkPaddingInlineStart:e.padding}),eT=(0,k.I$)("Anchor",e=>{let{fontSize:t,fontSizeLG:n,paddingXXS:r,calc:o}=e,i=(0,eI.IX)(e,{holderOffsetBlock:r,anchorPaddingBlockSecondary:o(r).div(2).equal(),anchorTitleBlock:o(t).div(14).mul(3).equal(),anchorBallSize:o(n).div(2).equal()});return[eN(i),eZ(i)]},eR);function eP(){return window}function ej(e,t){if(!e.getClientRects().length)return 0;let n=e.getBoundingClientRect();return n.width||n.height?t===window?n.top-e.ownerDocument.documentElement.clientTop:n.top-t.getBoundingClientRect().top:n.top}let eA=/#([\S ]+)$/,eD=e=>{var t;let{rootClassName:n,prefixCls:r,className:o,style:i,offsetTop:a,affix:l=!0,showInkInFixed:s=!1,children:c,items:u,direction:d="vertical",bounds:f,targetOffset:p,onClick:m,onChange:v,getContainer:b,getCurrentAnchor:w,replace:x}=e,[k,C]=h.useState([]),[$,E]=h.useState(null),O=h.useRef($),M=h.useRef(null),I=h.useRef(null),N=h.useRef(!1),{direction:Z,anchor:R,getTargetContainer:T,getPrefixCls:j}=h.useContext(S.E_),A=j("anchor",r),D=eE(A),[_,z,L]=eT(A,D),B=null!=(t=null!=b?b:T)?t:eP,H=JSON.stringify(k),F=(0,ey.Z)(e=>{k.includes(e)||C(t=>[].concat((0,y.Z)(t),[e]))}),W=(0,ey.Z)(e=>{k.includes(e)&&C(t=>t.filter(t=>t!==e))}),V=()=>{var e;let t=null==(e=M.current)?void 0:e.querySelector(`.${A}-link-title-active`);if(t&&I.current){let{style:e}=I.current,n="horizontal"===d;e.top=n?"":`${t.offsetTop+t.clientHeight/2}px`,e.height=n?"":`${t.clientHeight}px`,e.left=n?`${t.offsetLeft}px`:"",e.width=n?`${t.clientWidth}px`:"",n&&(0,ew.Z)(t,{scrollMode:"if-needed",block:"nearest"})}},q=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,r=[],o=B();return(e.forEach(e=>{let i=eA.exec(null==e?void 0:e.toString());if(!i)return;let a=document.getElementById(i[1]);if(a){let i=ej(a,o);i<=t+n&&r.push({link:e,top:i})}}),r.length)?r.reduce((e,t)=>t.top>e.top?t:e).link:""},K=(0,ey.Z)(e=>{if(O.current===e)return;let t="function"==typeof w?w(e):e;E(t),O.current=t,null==v||v(e)}),X=h.useCallback(()=>{N.current||K(q(k,void 0!==p?p:a||0,f))},[H,p,a]),U=h.useCallback(e=>{K(e);let t=eA.exec(e);if(!t)return;let n=document.getElementById(t[1]);if(!n)return;let r=B(),o=eS(r)+ej(n,r);o-=void 0!==p?p:a||0,N.current=!0,eC(o,{getContainer:B,callback(){N.current=!1}})},[p,a]),G=g()(z,L,D,n,`${A}-wrapper`,{[`${A}-wrapper-horizontal`]:"horizontal"===d,[`${A}-rtl`]:"rtl"===Z},o,null==R?void 0:R.className),Y=g()(A,{[`${A}-fixed`]:!l&&!s}),Q=g()(`${A}-ink`,{[`${A}-ink-visible`]:$}),J=Object.assign(Object.assign({maxHeight:a?`calc(100vh - ${a}px)`:"100vh"},null==R?void 0:R.style),i),ee=e=>Array.isArray(e)?e.map(e=>h.createElement(eM,Object.assign({replace:x},e,{key:e.key}),"vertical"===d&&ee(e.children))):null,et=h.createElement("div",{ref:M,className:G,style:J},h.createElement("div",{className:Y},h.createElement("span",{className:Q,ref:I}),"items"in e?ee(u):c));h.useEffect(()=>{let e=B();return X(),null==e||e.addEventListener("scroll",X),()=>{null==e||e.removeEventListener("scroll",X)}},[H]),h.useEffect(()=>{"function"==typeof w&&K(w(O.current||""))},[w]),h.useEffect(()=>{V()},[d,w,H,$]);let en=h.useMemo(()=>({registerLink:F,unregisterLink:W,scrollTo:U,activeLink:$,onClick:m,direction:d}),[$,m,U,d]),er=l&&"object"==typeof l?l:void 0;return _(h.createElement(eO.Provider,{value:en},l?h.createElement(P,Object.assign({offsetTop:a,target:B},er),et):et))};eD.Link=eM;let e_=eD;var ez=n(27288),eL=n(25002),eB=n(77354),eH=n(50324),eF=n(3859),eW=n.n(eF),eV=n(17508),eq=n(58133),eK=n(15105);let eX=h.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,o=e.className,i=e.duration,a=void 0===i?4.5:i,l=e.showProgress,s=e.pauseOnHover,c=void 0===s||s,u=e.eventKey,d=e.content,f=e.closable,p=e.closeIcon,m=void 0===p?"x":p,v=e.props,b=e.onClick,y=e.onNoticeClose,w=e.times,x=e.hovering,S=h.useState(!1),k=(0,eL.Z)(S,2),C=k[0],$=k[1],E=h.useState(0),O=(0,eL.Z)(E,2),M=O[0],I=O[1],N=h.useState(0),Z=(0,eL.Z)(N,2),R=Z[0],T=Z[1],P=x||C,j=a>0&&l,A=function(){y(u)},D=function(e){("Enter"===e.key||"Enter"===e.code||e.keyCode===eK.Z.ENTER)&&A()};h.useEffect(function(){if(!P&&a>0){var e=Date.now()-R,t=setTimeout(function(){A()},1e3*a-R);return function(){c&&clearTimeout(t),T(Date.now()-e)}}},[a,P,w]),h.useEffect(function(){if(!P&&j&&(c||0===R)){var e,t=performance.now();return function n(){cancelAnimationFrame(e),e=requestAnimationFrame(function(e){var r=Math.min((e+R-t)/(1e3*a),1);I(100*r),r<1&&n()})}(),function(){c&&cancelAnimationFrame(e)}}},[a,R,P,j,w]);var z=h.useMemo(function(){return"object"===(0,eq.Z)(f)&&null!==f?f:f?{closeIcon:m}:{}},[f,m]),L=(0,K.Z)(z,!0),B=100-(!M||M<0?0:M>100?100:M),H="".concat(n,"-notice");return h.createElement("div",(0,_.Z)({},v,{ref:t,className:g()(H,o,(0,eV.Z)({},"".concat(H,"-closable"),f)),style:r,onMouseEnter:function(e){var t;$(!0),null==v||null==(t=v.onMouseEnter)||t.call(v,e)},onMouseLeave:function(e){var t;$(!1),null==v||null==(t=v.onMouseLeave)||t.call(v,e)},onClick:b}),h.createElement("div",{className:"".concat(H,"-content")},d),f&&h.createElement("a",(0,_.Z)({tabIndex:0,className:"".concat(H,"-close"),onKeyDown:D,"aria-label":"Close"},L,{onClick:function(e){e.preventDefault(),e.stopPropagation(),A()}}),z.closeIcon),j&&h.createElement("progress",{className:"".concat(H,"-progress"),max:"100",value:B},B+"%"))});var eU=p().createContext({});let eG=function(e){var t=e.children,n=e.classNames;return p().createElement(eU.Provider,{value:{classNames:n}},t)};var eY=8,eQ=3,eJ=16;let e0=function(e){var t,n,r,o={offset:eY,threshold:eQ,gap:eJ};return e&&"object"===(0,eq.Z)(e)&&(o.offset=null!=(t=e.offset)?t:eY,o.threshold=null!=(n=e.threshold)?n:eQ,o.gap=null!=(r=e.gap)?r:eJ),[!!e,o]};var e1=["className","style","classNames","styles"];let e2=function(e){var t=e.configList,n=e.placement,r=e.prefixCls,o=e.className,i=e.style,a=e.motion,l=e.onAllNoticeRemoved,s=e.onNoticeClose,c=e.stack,u=(0,h.useContext)(eU).classNames,d=(0,h.useRef)({}),f=(0,h.useState)(null),m=(0,eL.Z)(f,2),v=m[0],b=m[1],w=(0,h.useState)([]),x=(0,eL.Z)(w,2),S=x[0],k=x[1],C=t.map(function(e){return{config:e,key:String(e.key)}}),$=e0(c),E=(0,eL.Z)($,2),O=E[0],M=E[1],I=M.offset,N=M.threshold,Z=M.gap,R=O&&(S.length>0||C.length<=N),T="function"==typeof a?a(n):a;return(0,h.useEffect)(function(){O&&S.length>1&&k(function(e){return e.filter(function(e){return C.some(function(t){return e===t.key})})})},[S,C,O]),(0,h.useEffect)(function(){var e,t;O&&d.current[null==(e=C[C.length-1])?void 0:e.key]&&b(d.current[null==(t=C[C.length-1])?void 0:t.key])},[C,O]),p().createElement(q.V4,(0,_.Z)({key:n,className:g()(r,"".concat(r,"-").concat(n),null==u?void 0:u.list,o,(0,eV.Z)((0,eV.Z)({},"".concat(r,"-stack"),!!O),"".concat(r,"-stack-expanded"),R)),style:i,keys:C,motionAppear:!0},T,{onAllRemoved:function(){l(n)}}),function(e,t){var o=e.config,i=e.className,a=e.style,l=e.index,c=o,f=c.key,h=c.times,m=String(f),b=o,w=b.className,x=b.style,$=b.classNames,E=b.styles,M=(0,eB.Z)(b,e1),N=C.findIndex(function(e){return e.key===m}),T={};if(O){var P=C.length-1-(N>-1?N:l-1),j="top"===n||"bottom"===n?"-50%":"0";if(P>0){T.height=R?null==(A=d.current[m])?void 0:A.offsetHeight:null==v?void 0:v.offsetHeight;for(var A,D,z,L,B=0,H=0;H-1?d.current[m]=e:delete d.current[m]},prefixCls:r,classNames:$,styles:E,className:g()(w,null==u?void 0:u.notice),style:x,times:h,key:f,eventKey:f,onNoticeClose:s,hovering:O&&S.length>0})))})},e4=h.forwardRef(function(e,t){var n=e.prefixCls,r=void 0===n?"rc-notification":n,o=e.container,i=e.motion,a=e.maxCount,l=e.className,s=e.style,c=e.onAllRemoved,u=e.stack,d=e.renderNotifications,f=h.useState([]),p=(0,eL.Z)(f,2),m=p[0],g=p[1],v=function(e){var t,n=m.find(function(t){return t.key===e});null==n||null==(t=n.onClose)||t.call(n),g(function(t){return t.filter(function(t){return t.key!==e})})};h.useImperativeHandle(t,function(){return{open:function(e){g(function(t){var n,r=(0,y.Z)(t),o=r.findIndex(function(t){return t.key===e.key}),i=(0,eH.Z)({},e);return o>=0?(i.times=((null==(n=t[o])?void 0:n.times)||0)+1,r[o]=i):(i.times=0,r.push(i)),a>0&&r.length>a&&(r=r.slice(-a)),r})},close:function(e){v(e)},destroy:function(){g([])}}});var b=h.useState({}),w=(0,eL.Z)(b,2),x=w[0],S=w[1];h.useEffect(function(){var e={};m.forEach(function(t){var n=t.placement,r=void 0===n?"topRight":n;r&&(e[r]=e[r]||[],e[r].push(t))}),Object.keys(x).forEach(function(t){e[t]=e[t]||[]}),S(e)},[m]);var k=function(e){S(function(t){var n=(0,eH.Z)({},t);return(n[e]||[]).length||delete n[e],n})},C=h.useRef(!1);if(h.useEffect(function(){Object.keys(x).length>0?C.current=!0:C.current&&(null==c||c(),C.current=!1)},[x]),!o)return null;var $=Object.keys(x);return(0,eF.createPortal)(h.createElement(h.Fragment,null,$.map(function(e){var t=x[e],n=h.createElement(e2,{key:e,configList:t,placement:e,prefixCls:r,className:null==l?void 0:l(e),style:null==s?void 0:s(e),motion:i,onNoticeClose:v,onAllNoticeRemoved:k,stack:u});return d?d(n,{prefixCls:r,key:e}):n})),o)});var e3=n(56790),e5=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],e8=function(){return document.body},e6=0;function e7(){for(var e={},t=arguments.length,n=Array(t),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=e.getContainer,n=void 0===t?e8:t,r=e.motion,o=e.prefixCls,i=e.maxCount,a=e.className,l=e.style,s=e.onAllRemoved,c=e.stack,u=e.renderNotifications,d=(0,eB.Z)(e,e5),f=h.useState(),p=(0,eL.Z)(f,2),m=p[0],g=p[1],v=h.useRef(),b=h.createElement(e4,{container:m,ref:v,prefixCls:o,motion:r,maxCount:i,className:a,style:l,onAllRemoved:s,stack:c,renderNotifications:u}),w=h.useState([]),x=(0,eL.Z)(w,2),S=x[0],k=x[1],C=(0,e3.zX)(function(e){var t=e7(d,e);(null===t.key||void 0===t.key)&&(t.key="rc-notification-".concat(e6),e6+=1),k(function(e){return[].concat((0,y.Z)(e),[{type:"open",config:t}])})}),$=h.useMemo(function(){return{open:C,close:function(e){k(function(t){return[].concat((0,y.Z)(t),[{type:"close",key:e}])})},destroy:function(){k(function(e){return[].concat((0,y.Z)(e),[{type:"destroy"}])})}}},[]);return h.useEffect(function(){g(n())}),h.useEffect(function(){if(v.current&&S.length){var e,t;S.forEach(function(e){switch(e.type){case"open":v.current.open(e.config);break;case"close":v.current.close(e.key);break;case"destroy":v.current.destroy()}}),k(function(n){return e===n&&t||(e=n,t=n.filter(function(e){return!S.includes(e)})),t})}},[S]),[$,b]}var te=n(45540),tt=n(87263);let tn=e=>{let{componentCls:t,iconCls:n,boxShadow:r,colorText:o,colorSuccess:i,colorError:a,colorWarning:l,colorInfo:s,fontSizeLG:c,motionEaseInOutCirc:u,motionDurationSlow:d,marginXS:f,paddingXS:h,borderRadiusLG:p,zIndexPopup:m,contentPadding:g,contentBg:v}=e,b=`${t}-notice`,y=new G.E4("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:h,transform:"translateY(0)",opacity:1}}),w=new G.E4("MessageMoveOut",{"0%":{maxHeight:e.height,padding:h,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),x={padding:h,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:f,fontSize:c},[`${b}-content`]:{display:"inline-block",padding:g,background:v,borderRadius:p,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:i},[`${t}-error > ${n}`]:{color:a},[`${t}-warning > ${n}`]:{color:l},[`${t}-info > ${n}, - ${t}-loading > ${n}`]:{color:s}};return[{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{color:o,position:"fixed",top:f,width:"100%",pointerEvents:"none",zIndex:m,[`${t}-move-up`]:{animationFillMode:"forwards"},[` - ${t}-move-up-appear, - ${t}-move-up-enter - `]:{animationName:y,animationDuration:d,animationPlayState:"paused",animationTimingFunction:u},[` - ${t}-move-up-appear${t}-move-up-appear-active, - ${t}-move-up-enter${t}-move-up-enter-active - `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:w,animationDuration:d,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${b}-wrapper`]:Object.assign({},x)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},x),{padding:0,textAlign:"start"})}]},tr=e=>({zIndexPopup:e.zIndexPopupBase+tt.u6+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),to=(0,k.I$)("Message",e=>[tn((0,eI.IX)(e,{height:150}))],tr);var ti=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let ta={info:h.createElement(V,null),success:h.createElement(j.Z,null),error:h.createElement(A.Z,null),warning:h.createElement(H,null),loading:h.createElement(te.Z,null)},tl=e=>{let{prefixCls:t,type:n,icon:r,children:o}=e;return h.createElement("div",{className:g()(`${t}-custom-content`,`${t}-${n}`)},r||ta[n],h.createElement("span",null,o))},ts=e=>{let{prefixCls:t,className:n,type:r,icon:o,content:i}=e,a=ti(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:l}=h.useContext(S.E_),s=t||l("message"),c=eE(s),[u,d,f]=to(s,c);return u(h.createElement(eX,Object.assign({},a,{prefixCls:s,className:g()(n,d,`${s}-notice-pure-panel`,f,c),eventKey:"pure",duration:null,content:h.createElement(tl,{prefixCls:s,type:r,icon:o},i)})))};function tc(e,t){return{motionName:null!=t?t:`${e}-move-up`}}function tu(e){let t,n=new Promise(n=>{t=e(()=>{n(!0)})}),r=()=>{null==t||t()};return r.then=(e,t)=>n.then(e,t),r.promise=n,r}var td=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let tf=8,th=3,tp=e=>{let{children:t,prefixCls:n}=e,r=eE(n),[o,i,a]=to(n,r);return o(h.createElement(eG,{classNames:{list:g()(i,a,r)}},t))},tm=(e,t)=>{let{prefixCls:n,key:r}=t;return h.createElement(tp,{prefixCls:n,key:r},e)},tg=h.forwardRef((e,t)=>{let{top:n,prefixCls:r,getContainer:o,maxCount:i,duration:a=th,rtl:l,transitionName:s,onAllRemoved:c}=e,{getPrefixCls:u,getPopupContainer:d,message:f,direction:p}=h.useContext(S.E_),m=r||u("message"),v=()=>({left:"50%",transform:"translateX(-50%)",top:null!=n?n:tf}),b=()=>g()({[`${m}-rtl`]:null!=l?l:"rtl"===p}),y=()=>tc(m,s),w=h.createElement("span",{className:`${m}-close-x`},h.createElement(D.Z,{className:`${m}-close-icon`})),[x,k]=e9({prefixCls:m,style:v,className:b,motion:y,closable:!1,closeIcon:w,duration:a,getContainer:()=>(null==o?void 0:o())||(null==d?void 0:d())||document.body,maxCount:i,onAllRemoved:c,renderNotifications:tm});return h.useImperativeHandle(t,()=>Object.assign(Object.assign({},x),{prefixCls:m,message:f})),k}),tv=0;function tb(e){let t=h.useRef(null);return(0,ez.ln)("Message"),[h.useMemo(()=>{let e=e=>{var n;null==(n=t.current)||n.close(e)},n=n=>{if(!t.current){let e=()=>{};return e.then=()=>{},e}let{open:r,prefixCls:o,message:i}=t.current,a=`${o}-notice`,{content:l,icon:s,type:c,key:u,className:d,style:f,onClose:p}=n,m=td(n,["content","icon","type","key","className","style","onClose"]),v=u;return null==v&&(tv+=1,v=`antd-message-${tv}`),tu(t=>(r(Object.assign(Object.assign({},m),{key:v,content:h.createElement(tl,{prefixCls:o,type:c,icon:s},l),placement:"top",className:g()(c&&`${a}-${c}`,d,null==i?void 0:i.className),style:Object.assign(Object.assign({},null==i?void 0:i.style),f),onClose:()=>{null==p||p(),t()}})),()=>{e(v)}))},r={open:n,destroy:n=>{var r;void 0!==n?e(n):null==(r=t.current)||r.destroy()}};return["info","success","warning","error","loading"].forEach(e=>{let t=(t,r,o)=>{let i,a,l;return i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof r?l=r:(a=r,l=o),n(Object.assign(Object.assign({onClose:l,duration:a},i),{type:e}))};r[e]=t}),r},[]),h.createElement(tg,Object.assign({key:"message-holder"},e,{ref:t}))]}function ty(e){return tb(e)}function tw(){let[e,t]=h.useState([]);return[e,h.useCallback(e=>(t(t=>[].concat((0,y.Z)(t),[e])),()=>{t(t=>t.filter(t=>t!==e))}),[])]}var tx=n(63017),tS=n(56982),tk=n(8880);let tC=(0,h.createContext)(void 0);var t$=n(40378);let tE=Object.assign({},t$.Z.Modal),tO=[],tM=()=>tO.reduce((e,t)=>Object.assign(Object.assign({},e),t),t$.Z.Modal);function tI(e){if(e){let t=Object.assign({},e);return tO.push(t),tE=tM(),()=>{tO=tO.filter(e=>e!==t),tE=tM()}}tE=Object.assign({},t$.Z.Modal)}function tN(){return tE}var tZ=n(76745);let tR="internalMark",tT=e=>{let{locale:t={},children:n,_ANT_MARK__:r}=e;h.useEffect(()=>tI(null==t?void 0:t.Modal),[t]);let o=h.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return h.createElement(tZ.Z.Provider,{value:o},n)};var tP=n(33083),tj=n(2790),tA=n(32282),tD=n(49585),t_=n(98924),tz=n(44958);let tL=`-ant-${Date.now()}-${Math.random()}`;function tB(e,t){let n={},r=(e,t)=>{let n=e.clone();return(n=(null==t?void 0:t(n))||n).toRgbString()},o=(e,t)=>{let o=new tD.C(e),i=(0,tA.R_)(o.toRgbString());n[`${t}-color`]=r(o),n[`${t}-color-disabled`]=i[1],n[`${t}-color-hover`]=i[4],n[`${t}-color-active`]=i[6],n[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=i[0],n[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");let e=new tD.C(t.primaryColor),i=(0,tA.R_)(e.toRgbString());i.forEach((e,t)=>{n[`primary-${t+1}`]=e}),n["primary-color-deprecated-l-35"]=r(e,e=>e.lighten(35)),n["primary-color-deprecated-l-20"]=r(e,e=>e.lighten(20)),n["primary-color-deprecated-t-20"]=r(e,e=>e.tint(20)),n["primary-color-deprecated-t-50"]=r(e,e=>e.tint(50)),n["primary-color-deprecated-f-12"]=r(e,e=>e.setAlpha(.12*e.getAlpha()));let a=new tD.C(i[0]);n["primary-color-active-deprecated-f-30"]=r(a,e=>e.setAlpha(.3*e.getAlpha())),n["primary-color-active-deprecated-d-02"]=r(a,e=>e.darken(2))}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");let i=Object.keys(n).map(t=>`--${e}-${t}: ${n[t]};`);return` - :root { - ${i.join("\n")} - } - `.trim()}function tH(e,t){let n=tB(e,t);(0,t_.Z)()&&(0,tz.hq)(n,`${tL}-dynamic-theme`)}var tF=n(98866),tW=n(97647);let tV=function(){return{componentDisabled:(0,h.useContext)(tF.Z),componentSize:(0,h.useContext)(tW.Z)}};var tq=n(91881);let{useId:tK}=Object.assign({},h),tX=()=>"",tU=void 0===tK?tX:tK;function tG(e,t,n){var r;(0,ez.ln)("ConfigProvider");let o=e||{},i=!1!==o.inherit&&t?t:Object.assign(Object.assign({},tP.u_),{hashed:null!=(r=null==t?void 0:t.hashed)?r:tP.u_.hashed,cssVar:null==t?void 0:t.cssVar}),a=tU();return(0,tS.Z)(()=>{var r,l;if(!e)return t;let s=Object.assign({},i.components);Object.keys(e.components||{}).forEach(t=>{s[t]=Object.assign(Object.assign({},s[t]),e.components[t])});let c=`css-var-${a.replace(/:/g,"")}`,u=(null!=(r=o.cssVar)?r:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==n?void 0:n.prefixCls},"object"==typeof i.cssVar?i.cssVar:{}),"object"==typeof o.cssVar?o.cssVar:{}),{key:"object"==typeof o.cssVar&&(null==(l=o.cssVar)?void 0:l.key)||c});return Object.assign(Object.assign(Object.assign({},i),o),{token:Object.assign(Object.assign({},i.token),o.token),components:s,cssVar:u})},[o,i],(e,t)=>e.some((e,n)=>{let r=t[n];return!(0,tq.Z)(e,r,!0)}))}function tY(e){let{children:t}=e,[,n]=(0,e$.ZP)(),{motion:r}=n,o=h.useRef(!1);return(o.current=o.current||!1===r,o.current)?h.createElement(q.zt,{motion:r},t):t}let tQ=()=>null,tJ=(e,t)=>{let[n,r]=(0,e$.ZP)();return(0,G.xy)({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce,layer:{name:"antd"}},()=>[(0,Y.JT)(e)])};var t0=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let t1=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"];function t2(){return r||S.Rf}function t4(){return o||S.oR}function t3(e){return Object.keys(e).some(e=>e.endsWith("Color"))}let t5=e=>{let{prefixCls:t,iconPrefixCls:n,theme:l,holderRender:s}=e;void 0!==t&&(r=t),void 0!==n&&(o=n),"holderRender"in e&&(a=s),l&&(t3(l)?tH(t2(),l):i=l)},t8=()=>({getPrefixCls:(e,t)=>t||(e?`${t2()}-${e}`:t2()),getIconPrefixCls:t4,getRootPrefixCls:()=>r||t2(),getTheme:()=>i,holderRender:a}),t6=e=>{let{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:i,form:a,locale:l,componentSize:s,direction:c,space:u,splitter:d,virtual:f,dropdownMatchSelectWidth:p,popupMatchSelectWidth:m,popupOverflow:g,legacyLocale:v,parentContext:b,iconPrefixCls:y,theme:w,componentDisabled:x,segmented:k,statistic:C,spin:$,calendar:E,carousel:O,cascader:M,collapse:I,typography:N,checkbox:Z,descriptions:R,divider:T,drawer:P,skeleton:j,steps:A,image:D,layout:_,list:z,mentions:L,modal:B,progress:H,result:F,slider:W,breadcrumb:V,menu:q,pagination:K,input:X,textArea:U,empty:Y,badge:Q,radio:J,rate:ee,switch:et,transfer:en,avatar:er,message:eo,tag:ei,table:ea,card:el,tabs:es,timeline:ec,timePicker:eu,upload:ed,notification:ef,tree:eh,colorPicker:ep,datePicker:em,rangePicker:eg,flex:ev,wave:eb,dropdown:ey,warning:ew,tour:ex,floatButtonGroup:eS,variant:ek,inputNumber:eC,treeSelect:e$}=e,eE=h.useCallback((t,n)=>{let{prefixCls:r}=e;if(n)return n;let o=r||b.getPrefixCls("");return t?`${o}-${t}`:o},[b.getPrefixCls,e.prefixCls]),eO=y||b.iconPrefixCls||S.oR,eM=n||b.csp;tJ(eO,eM);let eI=tG(w,b.theme,{prefixCls:eE("")}),eN={csp:eM,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:l||v,direction:c,space:u,splitter:d,virtual:f,popupMatchSelectWidth:null!=m?m:p,popupOverflow:g,getPrefixCls:eE,iconPrefixCls:eO,theme:eI,segmented:k,statistic:C,spin:$,calendar:E,carousel:O,cascader:M,collapse:I,typography:N,checkbox:Z,descriptions:R,divider:T,drawer:P,skeleton:j,steps:A,image:D,input:X,textArea:U,layout:_,list:z,mentions:L,modal:B,progress:H,result:F,slider:W,breadcrumb:V,menu:q,pagination:K,empty:Y,badge:Q,radio:J,rate:ee,switch:et,transfer:en,avatar:er,message:eo,tag:ei,table:ea,card:el,tabs:es,timeline:ec,timePicker:eu,upload:ed,notification:ef,tree:eh,colorPicker:ep,datePicker:em,rangePicker:eg,flex:ev,wave:eb,dropdown:ey,warning:ew,tour:ex,floatButtonGroup:eS,variant:ek,inputNumber:eC,treeSelect:e$},eZ=Object.assign({},b);Object.keys(eN).forEach(e=>{void 0!==eN[e]&&(eZ[e]=eN[e])}),t1.forEach(t=>{let n=e[t];n&&(eZ[t]=n)}),void 0!==r&&(eZ.button=Object.assign({autoInsertSpace:r},eZ.button));let eR=(0,tS.Z)(()=>eZ,eZ,(e,t)=>{let n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some(n=>e[n]!==t[n])}),eT=h.useMemo(()=>({prefixCls:eO,csp:eM}),[eO,eM]),eP=h.createElement(h.Fragment,null,h.createElement(tQ,{dropdownMatchSelectWidth:p}),t),ej=h.useMemo(()=>{var e,t,n,r;return(0,tk.T)((null==(e=t$.Z.Form)?void 0:e.defaultValidateMessages)||{},(null==(n=null==(t=eR.locale)?void 0:t.Form)?void 0:n.defaultValidateMessages)||{},(null==(r=eR.form)?void 0:r.validateMessages)||{},(null==a?void 0:a.validateMessages)||{})},[eR,null==a?void 0:a.validateMessages]);Object.keys(ej).length>0&&(eP=h.createElement(tC.Provider,{value:ej},eP)),l&&(eP=h.createElement(tT,{locale:l,_ANT_MARK__:tR},eP)),(eO||eM)&&(eP=h.createElement(tx.Z.Provider,{value:eT},eP)),s&&(eP=h.createElement(tW.q,{size:s},eP)),eP=h.createElement(tY,null,eP);let eA=h.useMemo(()=>{let e=eI||{},{algorithm:t,token:n,components:r,cssVar:o}=e,i=t0(e,["algorithm","token","components","cssVar"]),a=t&&(!Array.isArray(t)||t.length>0)?(0,G.jG)(t):tP.uH,l={};Object.entries(r||{}).forEach(e=>{let[t,n]=e,r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=a:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=(0,G.jG)(r.algorithm)),delete r.algorithm),l[t]=r});let s=Object.assign(Object.assign({},tj.Z),n);return Object.assign(Object.assign({},i),{theme:a,token:s,components:l,override:Object.assign({override:s},l),cssVar:o})},[eI]);return w&&(eP=h.createElement(tP.Mj.Provider,{value:eA},eP)),eR.warning&&(eP=h.createElement(ez.G8.Provider,{value:eR.warning},eP)),void 0!==x&&(eP=h.createElement(tF.n,{disabled:x},eP)),h.createElement(S.E_.Provider,{value:eR},eP)},t7=e=>{let t=h.useContext(S.E_),n=h.useContext(tZ.Z);return h.createElement(t6,Object.assign({parentContext:t,legacyLocale:n},e))};t7.ConfigContext=S.E_,t7.SizeContext=tW.Z,t7.config=t5,t7.useConfig=tV,Object.defineProperty(t7,"SizeContext",{get:()=>tW.Z});let t9=t7;var ne=n(35303),nt=n(33603),nn=n(10110),nr=n(30470),no=n(13754),ni=n(33671);function na(e){return!!(null==e?void 0:e.then)}let nl=e=>{let{type:t,children:n,prefixCls:r,buttonProps:o,close:i,autoFocus:a,emitEvent:l,isSilent:s,quitOnNullishReturnValue:c,actionFn:u}=e,d=h.useRef(!1),f=h.useRef(null),[p,m]=(0,nr.Z)(!1),g=function(){null==i||i.apply(void 0,arguments)};h.useEffect(()=>{let e=null;return a&&(e=setTimeout(()=>{var e;null==(e=f.current)||e.focus({preventScroll:!0})})),()=>{e&&clearTimeout(e)}},[]);let v=e=>{na(e)&&(m(!0),e.then(function(){m(!1,!0),g.apply(void 0,arguments),d.current=!1},e=>{if(m(!1,!0),d.current=!1,null==s||!s())return Promise.reject(e)}))},b=e=>{let t;if(!d.current){if(d.current=!0,!u)return void g();if(l){if(t=u(e),c&&!na(t)){d.current=!1,g(e);return}}else if(u.length)t=u(i),d.current=!1;else if(!na(t=u()))return void g();v(t)}};return h.createElement(no.ZP,Object.assign({},(0,ni.nx)(t),{onClick:b,loading:p,prefixCls:r},o,{ref:f}),n)},ns=p().createContext({}),{Provider:nc}=ns,nu=()=>{let{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:o,rootPrefixCls:i,close:a,onCancel:l,onConfirm:s}=(0,h.useContext)(ns);return o?p().createElement(nl,{isSilent:r,actionFn:l,close:function(){null==a||a.apply(void 0,arguments),null==s||s(!1)},autoFocus:"cancel"===e,buttonProps:t,prefixCls:`${i}-btn`},n):null},nd=()=>{let{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:o,okTextLocale:i,okType:a,onConfirm:l,onOk:s}=(0,h.useContext)(ns);return p().createElement(nl,{isSilent:n,type:a||"primary",actionFn:s,close:function(){null==t||t.apply(void 0,arguments),null==l||l(!0)},autoFocus:"ok"===e,buttonProps:r,prefixCls:`${o}-btn`},i)};var nf=n(27174),nh=h.createContext({}),np=n(94999),nm=n(7028);function ng(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function nv(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function nb(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=nv(o),n.top+=nv(o,!0),n}let ny=h.memo(function(e){return e.children},function(e,t){return!t.shouldUpdate});var nw={width:0,height:0,overflow:"hidden",outline:"none"},nx={outline:"none"};let nS=p().forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.title,a=e.ariaId,l=e.footer,s=e.closable,c=e.closeIcon,u=e.onClose,d=e.children,f=e.bodyStyle,m=e.bodyProps,v=e.modalRender,b=e.onMouseDown,y=e.onMouseUp,w=e.holderRef,x=e.visible,S=e.forceRender,k=e.width,C=e.height,$=e.classNames,E=e.styles,O=p().useContext(nh).panel,M=(0,X.x1)(w,O),I=(0,h.useRef)(),N=(0,h.useRef)();p().useImperativeHandle(t,function(){return{focus:function(){var e;null==(e=I.current)||e.focus({preventScroll:!0})},changeActive:function(e){var t=document.activeElement;e&&t===N.current?I.current.focus({preventScroll:!0}):e||t!==I.current||N.current.focus({preventScroll:!0})}}});var Z={};void 0!==k&&(Z.width=k),void 0!==C&&(Z.height=C);var R=l?p().createElement("div",{className:g()("".concat(n,"-footer"),null==$?void 0:$.footer),style:(0,eH.Z)({},null==E?void 0:E.footer)},l):null,T=i?p().createElement("div",{className:g()("".concat(n,"-header"),null==$?void 0:$.header),style:(0,eH.Z)({},null==E?void 0:E.header)},p().createElement("div",{className:"".concat(n,"-title"),id:a},i)):null,P=(0,h.useMemo)(function(){return"object"===(0,eq.Z)(s)&&null!==s?s:s?{closeIcon:null!=c?c:p().createElement("span",{className:"".concat(n,"-close-x")})}:{}},[s,c,n]),j=(0,K.Z)(P,!0),A="object"===(0,eq.Z)(s)&&s.disabled,D=s?p().createElement("button",(0,_.Z)({type:"button",onClick:u,"aria-label":"Close"},j,{className:"".concat(n,"-close"),disabled:A}),P.closeIcon):null,z=p().createElement("div",{className:g()("".concat(n,"-content"),null==$?void 0:$.content),style:null==E?void 0:E.content},D,T,p().createElement("div",(0,_.Z)({className:g()("".concat(n,"-body"),null==$?void 0:$.body),style:(0,eH.Z)((0,eH.Z)({},f),null==E?void 0:E.body)},m),d),R);return p().createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":i?a:null,"aria-modal":"true",ref:M,style:(0,eH.Z)((0,eH.Z)({},o),Z),className:g()(n,r),onMouseDown:b,onMouseUp:y},p().createElement("div",{ref:I,tabIndex:0,style:nx},p().createElement(ny,{shouldUpdate:x||S},v?v(z):z)),p().createElement("div",{tabIndex:0,ref:N,style:nw}))});var nk=h.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,o=e.style,i=e.className,a=e.visible,l=e.forceRender,s=e.destroyOnClose,c=e.motionName,u=e.ariaId,d=e.onVisibleChanged,f=e.mousePosition,p=(0,h.useRef)(),m=h.useState(),v=(0,eL.Z)(m,2),b=v[0],y=v[1],w={};function x(){var e=nb(p.current);y(f&&(f.x||f.y)?"".concat(f.x-e.left,"px ").concat(f.y-e.top,"px"):"")}return b&&(w.transformOrigin=b),h.createElement(q.ZP,{visible:a,onVisibleChanged:d,onAppearPrepare:x,onEnterPrepare:x,forceRender:l,motionName:c,removeOnLeave:s,ref:p},function(a,l){var s=a.className,c=a.style;return h.createElement(nS,(0,_.Z)({},e,{ref:t,title:r,ariaId:u,prefixCls:n,holderRef:l,style:(0,eH.Z)((0,eH.Z)((0,eH.Z)({},c),o),w),className:g()(i,s)}))})});nk.displayName="Content";let nC=nk,n$=function(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,i=e.motionName,a=e.className;return h.createElement(q.ZP,{key:"mask",visible:r,motionName:i,leavedClassName:"".concat(t,"-mask-hidden")},function(e,r){var i=e.className,l=e.style;return h.createElement("div",(0,_.Z)({ref:r,style:(0,eH.Z)((0,eH.Z)({},l),n),className:g()("".concat(t,"-mask"),i,a)},o))})};var nE=n(80334);let nO=function(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,r=e.zIndex,o=e.visible,i=void 0!==o&&o,a=e.keyboard,l=void 0===a||a,s=e.focusTriggerAfterClose,c=void 0===s||s,u=e.wrapStyle,d=e.wrapClassName,f=e.wrapProps,p=e.onClose,m=e.afterOpenChange,v=e.afterClose,b=e.transitionName,y=e.animation,w=e.closable,x=void 0===w||w,S=e.mask,k=void 0===S||S,C=e.maskTransitionName,$=e.maskAnimation,E=e.maskClosable,O=void 0===E||E,M=e.maskStyle,I=e.maskProps,N=e.rootClassName,Z=e.classNames,R=e.styles,T=(0,h.useRef)(),P=(0,h.useRef)(),j=(0,h.useRef)(),A=h.useState(i),D=(0,eL.Z)(A,2),z=D[0],L=D[1],B=(0,nm.Z)();function H(){(0,np.Z)(P.current,document.activeElement)||(T.current=document.activeElement)}function F(){if(!(0,np.Z)(P.current,document.activeElement)){var e;null==(e=j.current)||e.focus()}}function W(e){if(e)F();else{if(L(!1),k&&T.current&&c){try{T.current.focus({preventScroll:!0})}catch(e){}T.current=null}z&&(null==v||v())}null==m||m(e)}function V(e){null==p||p(e)}var q=(0,h.useRef)(!1),X=(0,h.useRef)(),U=function(){clearTimeout(X.current),q.current=!0},G=function(){X.current=setTimeout(function(){q.current=!1})},Y=null;function Q(e){if(l&&e.keyCode===eK.Z.ESC){e.stopPropagation(),V(e);return}i&&e.keyCode===eK.Z.TAB&&j.current.changeActive(!e.shiftKey)}O&&(Y=function(e){q.current?q.current=!1:P.current===e.target&&V(e)}),(0,h.useEffect)(function(){i&&(L(!0),H())},[i]),(0,h.useEffect)(function(){return function(){clearTimeout(X.current)}},[]);var J=(0,eH.Z)((0,eH.Z)((0,eH.Z)({zIndex:r},u),null==R?void 0:R.wrapper),{},{display:z?null:"none"});return h.createElement("div",(0,_.Z)({className:g()("".concat(n,"-root"),N)},(0,K.Z)(e,{data:!0})),h.createElement(n$,{prefixCls:n,visible:k&&i,motionName:ng(n,C,$),style:(0,eH.Z)((0,eH.Z)({zIndex:r},M),null==R?void 0:R.mask),maskProps:I,className:null==Z?void 0:Z.mask}),h.createElement("div",(0,_.Z)({tabIndex:-1,onKeyDown:Q,className:g()("".concat(n,"-wrap"),d,null==Z?void 0:Z.wrapper),ref:P,onClick:Y,style:J},f),h.createElement(nC,(0,_.Z)({},e,{onMouseDown:U,onMouseUp:G,ref:j,closable:x,ariaId:B,prefixCls:n,visible:i&&z,onClose:V,onVisibleChanged:W,motionName:ng(n,b,y)}))))};var nM=function(e){var t=e.visible,n=e.getContainer,r=e.forceRender,o=e.destroyOnClose,i=void 0!==o&&o,a=e.afterClose,l=e.panelRef,s=h.useState(t),c=(0,eL.Z)(s,2),u=c[0],d=c[1],f=h.useMemo(function(){return{panel:l}},[l]);return(h.useEffect(function(){t&&d(!0)},[t]),r||!i||u)?h.createElement(nh.Provider,{value:f},h.createElement(nf.Z,{open:t||r||u,autoDestroy:!1,getContainer:n,autoLock:t||u},h.createElement(nO,(0,_.Z)({},e,{destroyOnClose:i,afterClose:function(){null==a||a(),d(!1)}})))):null};nM.displayName="Dialog";let nI=nM;var nN=n(89942);function nZ(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function nR(e){let{closable:t,closeIcon:n}=e||{};return p().useMemo(()=>{if(!t&&(!1===t||!1===n||null===n))return!1;if(void 0===t&&void 0===n)return null;let e={closeIcon:"boolean"!=typeof n&&null!==n?n:void 0};return t&&"object"==typeof t&&(e=Object.assign(Object.assign({},e),t)),e},[t,n])}function nT(){let e={};for(var t=arguments.length,n=Array(t),r=0;r{t&&Object.keys(t).forEach(n=>{void 0!==t[n]&&(e[n]=t[n])})}),e}let nP={};function nj(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:nP,r=nR(e),o=nR(t),i="boolean"!=typeof r&&!!(null==r?void 0:r.disabled),a=p().useMemo(()=>Object.assign({closeIcon:p().createElement(D.Z,null)},n),[n]),l=p().useMemo(()=>!1!==r&&(r?nT(a,o,r):!1!==o&&(o?nT(a,o):!!a.closable&&a)),[r,o,a]);return p().useMemo(()=>{if(!1===l)return[!1,null,i];let{closeIconRender:e}=a,{closeIcon:t}=l,n=t;if(null!=n){e&&(n=e(t));let r=(0,K.Z)(l,!0);Object.keys(r).length&&(n=p().isValidElement(n)?p().cloneElement(n,r):p().createElement("span",Object.assign({},r),n))}return[!0,n,i]},[l,a])}let nA=()=>(0,t_.Z)()&&window.document.documentElement;var nD=n(43945);let n_=e=>{let{prefixCls:t,className:n,style:r,size:o,shape:i}=e,a=g()({[`${t}-lg`]:"large"===o,[`${t}-sm`]:"small"===o}),l=g()({[`${t}-circle`]:"circle"===i,[`${t}-square`]:"square"===i,[`${t}-round`]:"round"===i}),s=h.useMemo(()=>"number"==typeof o?{width:o,height:o,lineHeight:`${o}px`}:{},[o]);return h.createElement("span",{className:g()(t,a,l,n),style:Object.assign(Object.assign({},s),r)})},nz=new G.E4("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),nL=e=>({height:e,lineHeight:(0,G.bf)(e)}),nB=e=>Object.assign({width:e},nL(e)),nH=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:nz,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),nF=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},nL(e)),nW=e=>{let{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},nB(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},nB(o)),[`${t}${t}-sm`]:Object.assign({},nB(i))}},nV=e=>{let{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},nF(t,l)),[`${r}-lg`]:Object.assign({},nF(o,l)),[`${r}-sm`]:Object.assign({},nF(i,l))}},nq=e=>Object.assign({width:e},nL(e)),nK=e=>{let{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o,calc:i}=e;return{[t]:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:r,borderRadius:o},nq(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},nq(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},nX=(e,t,n)=>{let{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},nU=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},nL(e)),nG=e=>{let{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:l(r).mul(2).equal(),minWidth:l(r).mul(2).equal()},nU(r,l))},nX(e,r,n)),{[`${n}-lg`]:Object.assign({},nU(o,l))}),nX(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},nU(i,l))}),nX(e,i,`${n}-sm`))},nY=e=>{let{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:l,controlHeight:s,controlHeightLG:c,controlHeightSM:u,gradientFromColor:d,padding:f,marginSM:h,borderRadius:p,titleHeight:m,blockRadius:g,paragraphLiHeight:v,controlHeightXS:b,paragraphMarginTop:y}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:f,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},nB(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},nB(c)),[`${n}-sm`]:Object.assign({},nB(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:m,background:d,borderRadius:g,[`+ ${o}`]:{marginBlockStart:u}},[o]:{padding:0,"> li":{width:"100%",height:v,listStyle:"none",background:d,borderRadius:g,"+ li":{marginBlockStart:b}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:p}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:h,[`+ ${o}`]:{marginBlockStart:y}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},nG(e)),nW(e)),nV(e)),nK(e)),[`${t}${t}-block`]:{width:"100%",[i]:{width:"100%"},[a]:{width:"100%"}},[`${t}${t}-active`]:{[` - ${r}, - ${o} > li, - ${n}, - ${i}, - ${a}, - ${l} - `]:Object.assign({},nH(e))}}},nQ=e=>{let{colorFillContent:t,colorFill:n}=e,r=t,o=n;return{color:r,colorGradientEnd:o,gradientFromColor:r,gradientToColor:o,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},nJ=(0,k.I$)("Skeleton",e=>{let{componentCls:t,calc:n}=e;return[nY((0,eI.IX)(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"}))]},nQ,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),n0=e=>{let{prefixCls:t,className:n,rootClassName:r,active:o,shape:i="circle",size:a="default"}=e,{getPrefixCls:l}=h.useContext(S.E_),s=l("skeleton",t),[c,u,d]=nJ(s),f=(0,b.Z)(e,["prefixCls","className"]),p=g()(s,`${s}-element`,{[`${s}-active`]:o},n,r,u,d);return c(h.createElement("div",{className:p},h.createElement(n_,Object.assign({prefixCls:`${s}-avatar`,shape:i,size:a},f))))},n1="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",n2=e=>{let{prefixCls:t,className:n,rootClassName:r,style:o,active:i}=e,{getPrefixCls:a}=h.useContext(S.E_),l=a("skeleton",t),[s,c,u]=nJ(l),d=g()(l,`${l}-element`,{[`${l}-active`]:i},n,r,c,u);return s(h.createElement("div",{className:d},h.createElement("div",{className:g()(`${l}-image`,n),style:o},h.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${l}-image-svg`},h.createElement("title",null,"Image placeholder"),h.createElement("path",{d:n1,className:`${l}-image-path`})))))},n4=e=>{let{prefixCls:t,className:n,rootClassName:r,active:o,block:i,size:a="default"}=e,{getPrefixCls:l}=h.useContext(S.E_),s=l("skeleton",t),[c,u,d]=nJ(s),f=(0,b.Z)(e,["prefixCls"]),p=g()(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:i},n,r,u,d);return c(h.createElement("div",{className:p},h.createElement(n_,Object.assign({prefixCls:`${s}-input`,size:a},f))))},n3=e=>{let{prefixCls:t,className:n,rootClassName:r,style:o,active:i,children:a}=e,{getPrefixCls:l}=h.useContext(S.E_),s=l("skeleton",t),[c,u,d]=nJ(s),f=g()(s,`${s}-element`,{[`${s}-active`]:i},u,n,r,d);return c(h.createElement("div",{className:f},h.createElement("div",{className:g()(`${s}-image`,n),style:o},a)))},n5=(e,t)=>{let{width:n,rows:r=2}=t;return Array.isArray(n)?n[e]:r-1===e?n:void 0},n8=e=>{let{prefixCls:t,className:n,style:r,rows:o}=e,i=(0,y.Z)(Array(o)).map((t,n)=>h.createElement("li",{key:n,style:{width:n5(n,e)}}));return h.createElement("ul",{className:g()(t,n),style:r},i)},n6=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return h.createElement("h3",{className:g()(t,n),style:Object.assign({width:r},o)})};function n7(e){return e&&"object"==typeof e?e:{}}function n9(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function re(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function rt(e,t){let n={};return e&&t||(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}let rn=e=>{let{prefixCls:t,loading:n,className:r,rootClassName:o,style:i,children:a,avatar:l=!1,title:s=!0,paragraph:c=!0,active:u,round:d}=e,{getPrefixCls:f,direction:p,skeleton:m}=h.useContext(S.E_),v=f("skeleton",t),[b,y,w]=nJ(v);if(n||!("loading"in e)){let e,t,n=!!l,a=!!s,f=!!c;if(n){let t=Object.assign(Object.assign({prefixCls:`${v}-avatar`},n9(a,f)),n7(l));e=h.createElement("div",{className:`${v}-header`},h.createElement(n_,Object.assign({},t)))}if(a||f){let e,r;if(a){let t=Object.assign(Object.assign({prefixCls:`${v}-title`},re(n,f)),n7(s));e=h.createElement(n6,Object.assign({},t))}if(f){let e=Object.assign(Object.assign({prefixCls:`${v}-paragraph`},rt(n,a)),n7(c));r=h.createElement(n8,Object.assign({},e))}t=h.createElement("div",{className:`${v}-content`},e,r)}let x=g()(v,{[`${v}-with-avatar`]:n,[`${v}-active`]:u,[`${v}-rtl`]:"rtl"===p,[`${v}-round`]:d},null==m?void 0:m.className,r,o,y,w);return b(h.createElement("div",{className:x,style:Object.assign(Object.assign({},null==m?void 0:m.style),i)},e,t))}return null!=a?a:null};rn.Button=e=>{let{prefixCls:t,className:n,rootClassName:r,active:o,block:i=!1,size:a="default"}=e,{getPrefixCls:l}=h.useContext(S.E_),s=l("skeleton",t),[c,u,d]=nJ(s),f=(0,b.Z)(e,["prefixCls"]),p=g()(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:i},n,r,u,d);return c(h.createElement("div",{className:p},h.createElement(n_,Object.assign({prefixCls:`${s}-button`,size:a},f))))},rn.Avatar=n0,rn.Input=n4,rn.Image=n2,rn.Node=n3;let rr=rn;function ro(){}let ri=h.createContext({add:ro,remove:ro});function ra(e){let t=h.useContext(ri),n=h.useRef(null);return(0,ey.Z)(r=>{if(r){let o=e?r.querySelector(e):r;t.add(o),n.current=o}else t.remove(n.current)})}let rl=ri,rs=()=>{let{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=(0,h.useContext)(ns);return p().createElement(no.ZP,Object.assign({onClick:n},e),t)},rc=()=>{let{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:o}=(0,h.useContext)(ns);return p().createElement(no.ZP,Object.assign({},(0,ni.nx)(n),{loading:e,onClick:o},t),r)};function ru(e,t){return p().createElement("span",{className:`${e}-close-x`},t||p().createElement(D.Z,{className:`${e}-close-icon`}))}let rd=e=>{let t,{okText:n,okType:r="primary",cancelText:o,confirmLoading:i,onOk:a,onCancel:l,okButtonProps:s,cancelButtonProps:c,footer:u}=e,[d]=(0,nn.Z)("Modal",tN()),f={confirmLoading:i,okButtonProps:s,cancelButtonProps:c,okTextLocale:n||(null==d?void 0:d.okText),cancelTextLocale:o||(null==d?void 0:d.cancelText),okType:r,onOk:a,onCancel:l},h=p().useMemo(()=>f,(0,y.Z)(Object.values(f)));return"function"==typeof u||void 0===u?(t=p().createElement(p().Fragment,null,p().createElement(rs,null),p().createElement(rc,null)),"function"==typeof u&&(t=u(t,{OkBtn:rc,CancelBtn:rs})),t=p().createElement(nc,{value:h},t)):t=u,p().createElement(tF.n,{disabled:!1},t)};var rf=n(93590);let rh=new G.E4("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),rp=new G.E4("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),rm=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[(0,rf.R)(r,rh,rp,e.motionDurationMid,t),{[` - ${o}${r}-enter, - ${o}${r}-appear - `]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]};var rg=n(50438);function rv(e){return{position:e,inset:0}}let rb=e=>{let{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},rv("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},rv("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:rm(e)}]},ry=e=>{let{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${(0,G.bf)(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,G.bf)(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:(0,G.bf)(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},(0,Y.Qy)(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${(0,G.bf)(e.borderRadiusLG)} ${(0,G.bf)(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${(0,G.bf)(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, - ${t}-body, - ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},rw=e=>{let{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},rx=e=>{let t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return(0,eI.IX)(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},rS=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${(0,G.bf)(e.paddingMD)} ${(0,G.bf)(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${(0,G.bf)(e.padding)} ${(0,G.bf)(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${(0,G.bf)(e.paddingXS)} ${(0,G.bf)(e.padding)}`:0,footerBorderTop:e.wireframe?`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${(0,G.bf)(e.borderRadiusLG)} ${(0,G.bf)(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${(0,G.bf)(2*e.padding)} ${(0,G.bf)(2*e.padding)} ${(0,G.bf)(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),rk=(0,k.I$)("Modal",e=>{let t=rx(e);return[ry(t),rw(t),rb(t),(0,rg._y)(t,"zoom")]},rS,{unitless:{titleLineHeight:!0}});var rC=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let r$=e=>{l={x:e.pageX,y:e.pageY},setTimeout(()=>{l=null},100)};nA()&&document.documentElement.addEventListener("click",r$,!0);let rE=e=>{var t;let{getPopupContainer:n,getPrefixCls:r,direction:o,modal:i}=h.useContext(S.E_),a=t=>{let{onCancel:n}=e;null==n||n(t)},s=t=>{let{onOk:n}=e;null==n||n(t)},{prefixCls:c,className:u,rootClassName:d,open:f,wrapClassName:p,centered:m,getContainer:v,focusTriggerAfterClose:b=!0,style:y,visible:w,width:x=520,footer:k,classNames:C,styles:$,children:E,loading:O}=e,M=rC(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading"]),I=r("modal",c),N=r(),Z=eE(I),[R,T,P]=rk(I,Z),j=g()(p,{[`${I}-centered`]:!!m,[`${I}-wrap-rtl`]:"rtl"===o}),A=null===k||O?null:h.createElement(rd,Object.assign({},e,{onOk:s,onCancel:a})),[_,z,L]=nj(nZ(e),nZ(i),{closable:!0,closeIcon:h.createElement(D.Z,{className:`${I}-close-icon`}),closeIconRender:e=>ru(I,e)}),B=ra(`.${I}-content`),[H,F]=(0,tt.Cn)("Modal",M.zIndex);return R(h.createElement(nN.Z,{form:!0,space:!0},h.createElement(nD.Z.Provider,{value:F},h.createElement(nI,Object.assign({width:x},M,{zIndex:H,getContainer:void 0===v?n:v,prefixCls:I,rootClassName:g()(T,d,P,Z),footer:A,visible:null!=f?f:w,mousePosition:null!=(t=M.mousePosition)?t:l,onClose:a,closable:_?{disabled:L,closeIcon:z}:_,closeIcon:z,focusTriggerAfterClose:b,transitionName:(0,nt.m)(N,"zoom",e.transitionName),maskTransitionName:(0,nt.m)(N,"fade",e.maskTransitionName),className:g()(T,u,null==i?void 0:i.className),style:Object.assign(Object.assign({},null==i?void 0:i.style),y),classNames:Object.assign(Object.assign(Object.assign({},null==i?void 0:i.classNames),C),{wrapper:g()(j,null==C?void 0:C.wrapper)}),styles:Object.assign(Object.assign({},null==i?void 0:i.styles),$),panelRef:B}),O?h.createElement(rr,{active:!0,title:!1,paragraph:{rows:4},className:`${I}-body-skeleton`}):E))))},rO=e=>{let{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:o,fontSize:i,lineHeight:a,modalTitleHeight:l,fontHeight:s,confirmBodyPadding:c}=e,u=`${t}-confirm`;return{[u]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${u}-body-wrapper`]:Object.assign({},(0,Y.dF)()),[`&${t} ${t}-body`]:{padding:c},[`${u}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:o,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(s).sub(o).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(l).sub(o).equal()).div(2).equal()}},[`${u}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:`calc(100% - ${(0,G.bf)(e.marginSM)})`},[`${e.iconCls} + ${u}-paragraph`]:{maxWidth:`calc(100% - ${(0,G.bf)(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${u}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${u}-content`]:{color:e.colorText,fontSize:i,lineHeight:a},[`${u}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${u}-error ${u}-body > ${e.iconCls}`]:{color:e.colorError},[`${u}-warning ${u}-body > ${e.iconCls}, - ${u}-confirm ${u}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${u}-info ${u}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${u}-success ${u}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},rM=(0,k.bk)(["Modal","confirm"],e=>[rO(rx(e))],rS,{order:-1e3});var rI=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function rN(e){let{prefixCls:t,icon:n,okText:r,cancelText:o,confirmPrefixCls:i,type:a,okCancel:l,footer:s,locale:c}=e,u=rI(e,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]),d=n;if(!n&&null!==n)switch(a){case"info":d=h.createElement(V,null);break;case"success":d=h.createElement(j.Z,null);break;case"error":d=h.createElement(A.Z,null);break;default:d=h.createElement(H,null)}let f=null!=l?l:"confirm"===a,p=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),[m]=(0,nn.Z)("Modal"),v=c||m,b=r||(f?null==v?void 0:v.okText:null==v?void 0:v.justOkText),w=Object.assign({autoFocusButton:p,cancelTextLocale:o||(null==v?void 0:v.cancelText),okTextLocale:b,mergedOkCancel:f},u),x=h.useMemo(()=>w,(0,y.Z)(Object.values(w))),S=h.createElement(h.Fragment,null,h.createElement(nu,null),h.createElement(nd,null)),k=void 0!==e.title&&null!==e.title,C=`${i}-body`;return h.createElement("div",{className:`${i}-body-wrapper`},h.createElement("div",{className:g()(C,{[`${C}-has-title`]:k})},d,h.createElement("div",{className:`${i}-paragraph`},k&&h.createElement("span",{className:`${i}-title`},e.title),h.createElement("div",{className:`${i}-content`},e.content))),void 0===s||"function"==typeof s?h.createElement(nc,{value:x},h.createElement("div",{className:`${i}-btns`},"function"==typeof s?s(S,{OkBtn:nd,CancelBtn:nu}):S)):s,h.createElement(rM,{prefixCls:t}))}let rZ=e=>{let{close:t,zIndex:n,afterClose:r,open:o,keyboard:i,centered:a,getContainer:l,maskStyle:s,direction:c,prefixCls:u,wrapClassName:d,rootPrefixCls:f,bodyStyle:p,closable:m=!1,closeIcon:v,modalRender:b,focusTriggerAfterClose:y,onConfirm:w,styles:x}=e,S=`${u}-confirm`,k=e.width||416,C=e.style||{},$=void 0===e.mask||e.mask,E=void 0!==e.maskClosable&&e.maskClosable,O=g()(S,`${S}-${e.type}`,{[`${S}-rtl`]:"rtl"===c},e.className),[,M]=(0,e$.ZP)(),I=h.useMemo(()=>void 0!==n?n:M.zIndexPopupBase+tt.u6,[n,M]);return h.createElement(rE,{prefixCls:u,className:O,wrapClassName:g()({[`${S}-centered`]:!!e.centered},d),onCancel:()=>{null==t||t({triggerCancel:!0}),null==w||w(!1)},open:o,title:"",footer:null,transitionName:(0,nt.m)(f||"","zoom",e.transitionName),maskTransitionName:(0,nt.m)(f||"","fade",e.maskTransitionName),mask:$,maskClosable:E,style:C,styles:Object.assign({body:p,mask:s},x),width:k,zIndex:I,afterClose:r,keyboard:i,centered:a,getContainer:l,closable:m,closeIcon:v,modalRender:b,focusTriggerAfterClose:y},h.createElement(rN,Object.assign({},e,{confirmPrefixCls:S})))},rR=e=>{let{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:o}=e;return h.createElement(t9,{prefixCls:t,iconPrefixCls:n,direction:r,theme:o},h.createElement(rZ,Object.assign({},e)))},rT=[],rP="";function rj(){return rP}let rA=e=>{var t,n;let{prefixCls:r,getContainer:o,direction:i}=e,a=tN(),l=(0,h.useContext)(S.E_),s=rj()||l.getPrefixCls(),c=r||`${s}-modal`,u=o;return!1===u&&(u=void 0),p().createElement(rR,Object.assign({},e,{rootPrefixCls:s,prefixCls:c,iconPrefixCls:l.iconPrefixCls,theme:l.theme,direction:null!=i?i:l.direction,locale:null!=(n=null==(t=l.locale)?void 0:t.Modal)?n:a,getContainer:u}))};function rD(e){let t,n,r=t8(),o=document.createDocumentFragment(),i=Object.assign(Object.assign({},e),{close:s,open:!0});function a(){for(var t,r,o=arguments.length,i=Array(o),a=0;anull==e?void 0:e.triggerCancel)&&(null==(t=e.onCancel)||(r=t).call.apply(r,[e,()=>{}].concat((0,y.Z)(i.slice(1)))));for(let e=0;e{let t=r.getPrefixCls(void 0,rj()),i=r.getIconPrefixCls(),a=r.getTheme(),l=p().createElement(rA,Object.assign({},e));n=(0,ne.x)()(p().createElement(t9,{prefixCls:t,iconPrefixCls:i,theme:a},r.holderRender?r.holderRender(l):l),o)})}function s(){for(var t=arguments.length,n=Array(t),r=0;r{"function"==typeof e.afterClose&&e.afterClose(),a.apply(this,n)}})).visible&&delete i.visible,l(i)}function c(e){l(i="function"==typeof e?e(i):Object.assign(Object.assign({},i),e))}return l(i),rT.push(s),{destroy:s,update:c}}function r_(e){return Object.assign(Object.assign({},e),{type:"warning"})}function rz(e){return Object.assign(Object.assign({},e),{type:"info"})}function rL(e){return Object.assign(Object.assign({},e),{type:"success"})}function rB(e){return Object.assign(Object.assign({},e),{type:"error"})}function rH(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function rF(e){let{rootPrefixCls:t}=e;rP=t}var rW=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let rV=(e,t)=>{var n,{afterClose:r,config:o}=e,i=rW(e,["afterClose","config"]);let[a,l]=h.useState(!0),[s,c]=h.useState(o),{direction:u,getPrefixCls:d}=h.useContext(S.E_),f=d("modal"),p=d(),m=()=>{var e;r(),null==(e=s.afterClose)||e.call(s)},g=function(){l(!1);for(var e,t,n=arguments.length,r=Array(n),o=0;onull==e?void 0:e.triggerCancel)&&(null==(e=s.onCancel)||(t=e).call.apply(t,[s,()=>{}].concat((0,y.Z)(r.slice(1)))))};h.useImperativeHandle(t,()=>({destroy:g,update:e=>{c(t=>Object.assign(Object.assign({},t),e))}}));let v=null!=(n=s.okCancel)?n:"confirm"===s.type,[b]=(0,nn.Z)("Modal",t$.Z.Modal);return h.createElement(rR,Object.assign({prefixCls:f,rootPrefixCls:p},s,{close:g,open:a,afterClose:m,okText:s.okText||(v?null==b?void 0:b.okText:null==b?void 0:b.justOkText),direction:s.direction||u,cancelText:s.cancelText||(null==b?void 0:b.cancelText)},i))},rq=h.forwardRef(rV),rK=0,rX=h.memo(h.forwardRef((e,t)=>{let[n,r]=tw();return h.useImperativeHandle(t,()=>({patchElement:r}),[]),h.createElement(h.Fragment,null,n)})),rU=function(){let e=h.useRef(null),[t,n]=h.useState([]);h.useEffect(()=>{t.length&&((0,y.Z)(t).forEach(e=>{e()}),n([]))},[t]);let r=h.useCallback(t=>function(r){var o;let i,a;rK+=1;let l=h.createRef(),s=new Promise(e=>{i=e}),c=!1,u=h.createElement(rq,{key:`modal-${rK}`,config:t(r),ref:l,afterClose:()=>{null==a||a()},isSilent:()=>c,onConfirm:e=>{i(e)}});return(a=null==(o=e.current)?void 0:o.patchElement(u))&&rT.push(a),{destroy:()=>{function e(){var e;null==(e=l.current)||e.destroy()}l.current?e():n(t=>[].concat((0,y.Z)(t),[e]))},update:e=>{function t(){var t;null==(t=l.current)||t.update(e)}l.current?t():n(e=>[].concat((0,y.Z)(e),[t]))},then:e=>(c=!0,s.then(e))}},[]);return[h.useMemo(()=>({info:r(rz),success:r(rL),error:r(rB),warning:r(r_),confirm:r(rH)}),[]),h.createElement(rX,{key:"modal-holder",ref:e})]},rG=e=>{let{componentCls:t,notificationMarginEdge:n,animationMaxHeight:r}=e,o=`${t}-notice`,i=new G.E4("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),a=new G.E4("antNotificationTopFadeIn",{"0%":{top:-r,opacity:0},"100%":{top:0,opacity:1}});return{[t]:{[`&${t}-top, &${t}-bottom`]:{marginInline:0,[o]:{marginInline:"auto auto"}},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new G.E4("antNotificationBottomFadeIn",{"0%":{bottom:e.calc(r).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}})}},[`&${t}-topRight, &${t}-bottomRight`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:i}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[o]:{marginInlineEnd:"auto",marginInlineStart:0},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new G.E4("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}})}}}}},rY=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],rQ={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},rJ=(e,t)=>{let{componentCls:n}=e;return{[`${n}-${t}`]:{[`&${n}-stack > ${n}-notice-wrapper`]:{[t.startsWith("top")?"top":"bottom"]:0,[rQ[t]]:{value:0,_skip_check_:!0}}}}},r0=e=>{let t={};for(let n=1;n ${e.componentCls}-notice`]:{opacity:0,transition:`opacity ${e.motionDurationMid}`}};return Object.assign({[`&:not(:nth-last-child(-n+${e.notificationStackLayer}))`]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},t)},r1=e=>{let t={};for(let n=1;n{let{componentCls:t}=e;return Object.assign({[`${t}-stack`]:{[`& > ${t}-notice-wrapper`]:Object.assign({transition:`all ${e.motionDurationSlow}, backdrop-filter 0s`,position:"absolute"},r0(e))},[`${t}-stack:not(${t}-stack-expanded)`]:{[`& > ${t}-notice-wrapper`]:Object.assign({},r1(e))},[`${t}-stack${t}-stack-expanded`]:{[`& > ${t}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",[`& > ${e.componentCls}-notice`]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:e.margin,width:"100%",insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},rY.map(t=>rJ(e,t)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{}))},r4=e=>{let{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:o,notificationMarginBottom:i,borderRadiusLG:a,colorSuccess:l,colorInfo:s,colorWarning:c,colorError:u,colorTextHeading:d,notificationBg:f,notificationPadding:h,notificationMarginEdge:p,notificationProgressBg:m,notificationProgressHeight:g,fontSize:v,lineHeight:b,width:y,notificationIconSize:w,colorText:x}=e,S=`${n}-notice`;return{position:"relative",marginBottom:i,marginInlineStart:"auto",background:f,borderRadius:a,boxShadow:r,[S]:{padding:h,width:y,maxWidth:`calc(100vw - ${(0,G.bf)(e.calc(p).mul(2).equal())})`,overflow:"hidden",lineHeight:b,wordWrap:"break-word"},[`${S}-message`]:{marginBottom:e.marginXS,color:d,fontSize:o,lineHeight:e.lineHeightLG},[`${S}-description`]:{fontSize:v,color:x},[`${S}-closable ${S}-message`]:{paddingInlineEnd:e.paddingLG},[`${S}-with-icon ${S}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.calc(e.marginSM).add(w).equal(),fontSize:o},[`${S}-with-icon ${S}-description`]:{marginInlineStart:e.calc(e.marginSM).add(w).equal(),fontSize:v},[`${S}-icon`]:{position:"absolute",fontSize:w,lineHeight:1,[`&-success${t}`]:{color:l},[`&-info${t}`]:{color:s},[`&-warning${t}`]:{color:c},[`&-error${t}`]:{color:u}},[`${S}-close`]:Object.assign({position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},(0,Y.Qy)(e)),[`${S}-progress`]:{position:"absolute",display:"block",appearance:"none",WebkitAppearance:"none",inlineSize:`calc(100% - ${(0,G.bf)(a)} * 2)`,left:{_skip_check_:!0,value:a},right:{_skip_check_:!0,value:a},bottom:0,blockSize:g,border:0,"&, &::-webkit-progress-bar":{borderRadius:a,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:m},"&::-webkit-progress-value":{borderRadius:a,background:m}},[`${S}-btn`]:{float:"right",marginTop:e.marginSM}}},r3=e=>{let{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:r,motionDurationMid:o,motionEaseInOut:i}=e,a=`${t}-notice`,l=new G.E4("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"fixed",zIndex:e.zIndexPopup,marginRight:{value:r,_skip_check_:!0},[`${t}-hook-holder`]:{position:"relative"},[`${t}-fade-appear-prepare`]:{opacity:"0 !important"},[`${t}-fade-enter, ${t}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:i,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${t}-fade-leave`]:{animationTimingFunction:i,animationFillMode:"both",animationDuration:o,animationPlayState:"paused"},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationPlayState:"running"},[`${t}-fade-leave${t}-fade-leave-active`]:{animationName:l,animationPlayState:"running"},"&-rtl":{direction:"rtl",[`${a}-btn`]:{float:"left"}}})},{[t]:{[`${a}-wrapper`]:Object.assign({},r4(e))}}]},r5=e=>({zIndexPopup:e.zIndexPopupBase+tt.u6+50,width:384}),r8=e=>{let t=e.paddingMD,n=e.paddingLG;return(0,eI.IX)(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:`${(0,G.bf)(e.paddingMD)} ${(0,G.bf)(e.paddingContentHorizontalLG)}`,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2,notificationProgressBg:`linear-gradient(90deg, ${e.colorPrimaryBorderHover}, ${e.colorPrimary})`})},r6=(0,k.I$)("Notification",e=>{let t=r8(e);return[r3(t),rG(t),r2(t)]},r5),r7=(0,k.bk)(["Notification","PurePanel"],e=>{let t=`${e.componentCls}-notice`,n=r8(e);return{[`${t}-pure-panel`]:Object.assign(Object.assign({},r4(n)),{width:n.width,maxWidth:`calc(100vw - ${(0,G.bf)(e.calc(n.notificationMarginEdge).mul(2).equal())})`,margin:0})}},r5);var r9=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function oe(e,t){return null===t||!1===t?null:t||h.createElement(D.Z,{className:`${e}-close-icon`})}j.Z,A.Z,te.Z;let ot={success:j.Z,info:V,error:A.Z,warning:H},on=e=>{let{prefixCls:t,icon:n,type:r,message:o,description:i,btn:a,role:l="alert"}=e,s=null;return n?s=h.createElement("span",{className:`${t}-icon`},n):r&&(s=h.createElement(ot[r]||null,{className:g()(`${t}-icon`,`${t}-icon-${r}`)})),h.createElement("div",{className:g()({[`${t}-with-icon`]:s}),role:l},s,h.createElement("div",{className:`${t}-message`},o),h.createElement("div",{className:`${t}-description`},i),a&&h.createElement("div",{className:`${t}-btn`},a))},or=e=>{let{prefixCls:t,className:n,icon:r,type:o,message:i,description:a,btn:l,closable:s=!0,closeIcon:c,className:u}=e,d=r9(e,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon","className"]),{getPrefixCls:f}=h.useContext(S.E_),p=t||f("notification"),m=`${p}-notice`,v=eE(p),[b,y,w]=r6(p,v);return b(h.createElement("div",{className:g()(`${m}-pure-panel`,y,n,w,v)},h.createElement(r7,{prefixCls:p}),h.createElement(eX,Object.assign({},d,{prefixCls:p,eventKey:"pure",duration:null,closable:s,className:g()({notificationClassName:u}),closeIcon:oe(p,c),content:h.createElement(on,{prefixCls:m,icon:r,type:o,message:i,description:a,btn:l})}))))};function oo(e,t,n){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n}}return r}function oi(e){return{motionName:`${e}-fade`}}var oa=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let ol=24,os=4.5,oc="topRight",ou=e=>{let{children:t,prefixCls:n}=e,r=eE(n),[o,i,a]=r6(n,r);return o(p().createElement(eG,{classNames:{list:g()(i,a,r)}},t))},od=(e,t)=>{let{prefixCls:n,key:r}=t;return p().createElement(ou,{prefixCls:n,key:r},e)},of=p().forwardRef((e,t)=>{let{top:n,bottom:r,prefixCls:o,getContainer:i,maxCount:a,rtl:l,onAllRemoved:s,stack:c,duration:u,pauseOnHover:d=!0,showProgress:f}=e,{getPrefixCls:m,getPopupContainer:v,notification:b,direction:y}=(0,h.useContext)(S.E_),[,w]=(0,e$.ZP)(),x=o||m("notification"),k=()=>g()({[`${x}-rtl`]:null!=l?l:"rtl"===y}),C=()=>oi(x),[$,E]=e9({prefixCls:x,style:e=>oo(e,null!=n?n:ol,null!=r?r:ol),className:k,motion:C,closable:!0,closeIcon:oe(x),duration:null!=u?u:os,getContainer:()=>(null==i?void 0:i())||(null==v?void 0:v())||document.body,maxCount:a,pauseOnHover:d,showProgress:f,onAllRemoved:s,renderNotifications:od,stack:!1!==c&&{threshold:"object"==typeof c?null==c?void 0:c.threshold:void 0,offset:8,gap:w.margin}});return p().useImperativeHandle(t,()=>Object.assign(Object.assign({},$),{prefixCls:x,notification:b})),E});function oh(e){let t=p().useRef(null);return(0,ez.ln)("Notification"),[p().useMemo(()=>{let n=n=>{var r;if(!t.current)return;let{open:o,prefixCls:i,notification:a}=t.current,l=`${i}-notice`,{message:s,description:c,icon:u,type:d,btn:f,className:h,style:m,role:v="alert",closeIcon:b,closable:y}=n,w=oa(n,["message","description","icon","type","btn","className","style","role","closeIcon","closable"]),x=oe(l,void 0!==b?b:null==a?void 0:a.closeIcon);return o(Object.assign(Object.assign({placement:null!=(r=null==e?void 0:e.placement)?r:oc},w),{content:p().createElement(on,{prefixCls:l,icon:u,type:d,message:s,description:c,btn:f,role:v}),className:g()(d&&`${l}-${d}`,h,null==a?void 0:a.className),style:Object.assign(Object.assign({},null==a?void 0:a.style),m),closeIcon:x,closable:null!=y?y:!!x}))},r={open:n,destroy:e=>{var n,r;void 0!==e?null==(n=t.current)||n.close(e):null==(r=t.current)||r.destroy()}};return["success","info","warning","error"].forEach(e=>{r[e]=t=>n(Object.assign(Object.assign({},t),{type:e}))}),r},[]),p().createElement(of,Object.assign({key:"notification-holder"},e,{ref:t}))]}function op(e){return oh(e)}let om=p().createContext({}),og=p().createContext({message:{},notification:{},modal:{}}),ov=e=>{let{componentCls:t,colorText:n,fontSize:r,lineHeight:o,fontFamily:i}=e;return{[t]:{color:n,fontSize:r,lineHeight:o,fontFamily:i,[`&${t}-rtl`]:{direction:"rtl"}}}},ob=()=>({}),oy=(0,k.I$)("App",ov,ob),ow=e=>{let{prefixCls:t,children:n,className:r,rootClassName:o,message:i,notification:a,style:l,component:s="div"}=e,{direction:c,getPrefixCls:u}=(0,h.useContext)(S.E_),d=u("app",t),[f,m,v]=oy(d),b=g()(m,d,r,o,v,{[`${d}-rtl`]:"rtl"===c}),y=(0,h.useContext)(om),w=p().useMemo(()=>({message:Object.assign(Object.assign({},y.message),i),notification:Object.assign(Object.assign({},y.notification),a)}),[i,a,y.message,y.notification]),[x,k]=ty(w.message),[C,$]=op(w.notification),[E,O]=rU(),M=p().useMemo(()=>({message:x,notification:C,modal:E}),[x,C,E]);(0,ez.ln)("App")(!(v&&!1===s),"usage","When using cssVar, ensure `component` is assigned a valid React component string.");let I=!1===s?p().Fragment:s,N={className:b,style:l};return f(p().createElement(og.Provider,{value:M},p().createElement(om.Provider,{value:w},p().createElement(I,Object.assign({},!1===s?void 0:N),O,k,$,n))))};ow.useApp=()=>p().useContext(og);let ox=ow;var oS=n(50344),ok=n(21770);function oC(e){return t=>h.createElement(t9,{theme:{token:{motion:!1,zIndexPopupBase:0}}},h.createElement(e,Object.assign({},t)))}let o$=(e,t,n,r)=>oC(o=>{let{prefixCls:i,style:a}=o,l=h.useRef(null),[s,c]=h.useState(0),[u,d]=h.useState(0),[f,p]=(0,ok.Z)(!1,{value:o.open}),{getPrefixCls:m}=h.useContext(S.E_),g=m(t||"select",i);h.useEffect(()=>{if(p(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;c(t.offsetHeight+8),d(t.offsetWidth)}),t=setInterval(()=>{var r;let o=n?`.${n(g)}`:`.${g}-dropdown`,i=null==(r=l.current)?void 0:r.querySelector(o);i&&(clearInterval(t),e.observe(i))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let v=Object.assign(Object.assign({},o),{style:Object.assign(Object.assign({},a),{margin:0}),open:f,visible:f,getPopupContainer:()=>l.current});r&&(v=r(v));let b={paddingBottom:s,position:"relative",minWidth:u};return h.createElement("div",{ref:l,style:b},h.createElement(e,Object.assign({},v)))});var oE=n(8410),oO=n(31131);let oM=function(e){var t=e.className,n=e.customizeIcon,r=e.customizeIconProps,o=e.children,i=e.onMouseDown,a=e.onClick,l="function"==typeof n?n(r):n;return h.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),null==i||i(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:a,"aria-hidden":!0},void 0!==l?l:h.createElement("span",{className:g()(t.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},o))};var oI=function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,s=p().useMemo(function(){return"object"===(0,eq.Z)(r)?r.clearIcon:o||void 0},[r,o]);return{allowClear:p().useMemo(function(){return!i&&!!r&&(!!n.length||!!a)&&("combobox"!==l||""!==a)},[r,i,n.length,a,l]),clearIcon:p().createElement(oM,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:s},"\xd7")}},oN=h.createContext(null);function oZ(){return h.useContext(oN)}function oR(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=h.useState(!1),n=(0,eL.Z)(t,2),r=n[0],o=n[1],i=h.useRef(null),a=function(){window.clearTimeout(i.current)};return h.useEffect(function(){return a},[]),[r,function(t,n){a(),i.current=window.setTimeout(function(){o(t),n&&n()},e)},a]}function oT(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=h.useRef(null),n=h.useRef(null);return h.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]),[function(){return t.current},function(r){(r||null===t.current)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}]}function oP(e,t,n,r){var o=h.useRef(null);o.current={open:t,triggerOpen:n,customizedTrigger:r},h.useEffect(function(){function t(t){if(null==(n=o.current)||!n.customizedTrigger){var n,r=t.target;r.shadowRoot&&t.composed&&(r=t.composedPath()[0]||r),o.current.open&&e().filter(function(e){return e}).every(function(e){return!e.contains(r)&&e!==r})&&o.current.triggerOpen(!1)}}return window.addEventListener("mousedown",t),function(){return window.removeEventListener("mousedown",t)}},[])}function oj(e){return e&&![eK.Z.ESC,eK.Z.SHIFT,eK.Z.BACKSPACE,eK.Z.TAB,eK.Z.WIN_KEY,eK.Z.ALT,eK.Z.META,eK.Z.WIN_KEY_RIGHT,eK.Z.CTRL,eK.Z.SEMICOLON,eK.Z.EQUALS,eK.Z.CAPS_LOCK,eK.Z.CONTEXT_MENU,eK.Z.F1,eK.Z.F2,eK.Z.F3,eK.Z.F4,eK.Z.F5,eK.Z.F6,eK.Z.F7,eK.Z.F8,eK.Z.F9,eK.Z.F10,eK.Z.F11,eK.Z.F12].includes(e)}var oA=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],oD=void 0;function o_(e,t){var n,r=e.prefixCls,o=e.invalidate,i=e.item,a=e.renderItem,l=e.responsive,s=e.responsiveDisabled,c=e.registerSize,u=e.itemKey,d=e.className,f=e.style,p=e.children,m=e.display,b=e.order,y=e.component,w=void 0===y?"div":y,x=(0,eB.Z)(e,oA),S=l&&!m;function k(e){c(u,e)}h.useEffect(function(){return function(){k(null)}},[]);var C=a&&i!==oD?a(i,{index:b}):p;o||(n={opacity:+!S,height:S?0:oD,overflowY:S?"hidden":oD,order:l?b:oD,pointerEvents:S?"none":oD,position:S?"absolute":oD});var $={};S&&($["aria-hidden"]=!0);var E=h.createElement(w,(0,_.Z)({className:g()(!o&&r,d),style:(0,eH.Z)((0,eH.Z)({},n),f)},$,x,{ref:t}),C);return l&&(E=h.createElement(v.Z,{onResize:function(e){k(e.offsetWidth)},disabled:s},E)),E}var oz=h.forwardRef(o_);oz.displayName="Item";let oL=oz;function oB(e){if("undefined"==typeof MessageChannel)(0,w.Z)(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function oH(){var e=h.useRef(null);return function(t){e.current||(e.current=[],oB(function(){(0,eF.unstable_batchedUpdates)(function(){e.current.forEach(function(e){e()}),e.current=null})})),e.current.push(t)}}function oF(e,t){var n=h.useState(t),r=(0,eL.Z)(n,2),o=r[0],i=r[1];return[o,(0,ey.Z)(function(t){e(function(){i(t)})})]}var oW=p().createContext(null),oV=["component"],oq=["className"],oK=["className"],oX=function(e,t){var n=h.useContext(oW);if(!n){var r=e.component,o=void 0===r?"div":r,i=(0,eB.Z)(e,oV);return h.createElement(o,(0,_.Z)({},i,{ref:t}))}var a=n.className,l=(0,eB.Z)(n,oq),s=e.className,c=(0,eB.Z)(e,oK);return h.createElement(oW.Provider,{value:null},h.createElement(oL,(0,_.Z)({ref:t,className:g()(a,s)},l,c)))},oU=h.forwardRef(oX);oU.displayName="RawItem";let oG=oU;var oY=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],oQ="responsive",oJ="invalidate";function o0(e){return"+ ".concat(e.length," ...")}function o1(e,t){var n=e.prefixCls,r=void 0===n?"rc-overflow":n,o=e.data,i=void 0===o?[]:o,a=e.renderItem,l=e.renderRawItem,s=e.itemKey,c=e.itemWidth,u=void 0===c?10:c,d=e.ssr,f=e.style,p=e.className,m=e.maxCount,b=e.renderRest,y=e.renderRawRest,w=e.suffix,x=e.component,S=void 0===x?"div":x,k=e.itemComponent,C=e.onVisibleChange,$=(0,eB.Z)(e,oY),E="full"===d,O=oH(),M=oF(O,null),I=(0,eL.Z)(M,2),N=I[0],Z=I[1],R=N||0,T=oF(O,new Map),P=(0,eL.Z)(T,2),j=P[0],A=P[1],D=oF(O,0),z=(0,eL.Z)(D,2),L=z[0],B=z[1],H=oF(O,0),F=(0,eL.Z)(H,2),W=F[0],V=F[1],q=oF(O,0),K=(0,eL.Z)(q,2),X=K[0],U=K[1],G=(0,h.useState)(null),Y=(0,eL.Z)(G,2),Q=Y[0],J=Y[1],ee=(0,h.useState)(null),et=(0,eL.Z)(ee,2),en=et[0],er=et[1],eo=h.useMemo(function(){return null===en&&E?Number.MAX_SAFE_INTEGER:en||0},[en,N]),ei=(0,h.useState)(!1),ea=(0,eL.Z)(ei,2),el=ea[0],es=ea[1],ec="".concat(r,"-item"),eu=Math.max(L,W),ed=m===oQ,ef=i.length&&ed,eh=m===oJ,ep=ef||"number"==typeof m&&i.length>m,em=(0,h.useMemo)(function(){var e=i;return ef?e=null===N&&E?i:i.slice(0,Math.min(i.length,R/u)):"number"==typeof m&&(e=i.slice(0,m)),e},[i,u,N,m,ef]),eg=(0,h.useMemo)(function(){return ef?i.slice(eo+1):i.slice(em.length)},[i,em,ef,eo]),ev=(0,h.useCallback)(function(e,t){var n;return"function"==typeof s?s(e):null!=(n=s&&(null==e?void 0:e[s]))?n:t},[s]),eb=(0,h.useCallback)(a||function(e){return e},[a]);function ey(e,t,n){(en!==e||void 0!==t&&t!==Q)&&(er(e),n||(es(eR){ey(r-1,e-o-X+W);break}}w&&eC(0)+X>R&&J(null)}},[R,j,W,X,ev,em]);var e$=el&&!!eg.length,eE={};null!==Q&&ef&&(eE={position:"absolute",left:Q,top:0});var eO={prefixCls:ec,responsive:ef,component:k,invalidate:eh},eM=l?function(e,t){var n=ev(e,t);return h.createElement(oW.Provider,{key:n,value:(0,eH.Z)((0,eH.Z)({},eO),{},{order:t,item:e,itemKey:n,registerSize:ex,display:t<=eo})},l(e,t))}:function(e,t){var n=ev(e,t);return h.createElement(oL,(0,_.Z)({},eO,{order:t,key:n,item:e,renderItem:eb,itemKey:n,registerSize:ex,display:t<=eo}))},eI={order:e$?eo:Number.MAX_SAFE_INTEGER,className:"".concat(ec,"-rest"),registerSize:eS,display:e$},eN=b||o0,eZ=y?h.createElement(oW.Provider,{value:(0,eH.Z)((0,eH.Z)({},eO),eI)},y(eg)):h.createElement(oL,(0,_.Z)({},eO,eI),"function"==typeof eN?eN(eg):eN),eR=h.createElement(S,(0,_.Z)({className:g()(!eh&&r,p),style:f,ref:t},$),em.map(eM),ep?eZ:null,w&&h.createElement(oL,(0,_.Z)({},eO,{responsive:ed,responsiveDisabled:!ef,order:eo,className:"".concat(ec,"-suffix"),registerSize:ek,display:!0,style:eE}),w));return ed?h.createElement(v.Z,{onResize:ew,disabled:!ef},eR):eR}var o2=h.forwardRef(o1);o2.displayName="Overflow",o2.Item=oG,o2.RESPONSIVE=oQ,o2.INVALIDATE=oJ;let o4=o2,o3=function(e,t,n){var r=(0,eH.Z)((0,eH.Z)({},e),n?t:{});return Object.keys(t).forEach(function(n){var o=t[n];"function"==typeof o&&(r[n]=function(){for(var t,r=arguments.length,i=Array(r),a=0;aw&&(i="".concat(a.slice(0,w),"..."))}var l=function(t){t&&t.stopPropagation(),$(e)};return"function"==typeof k?q(r,i,t,o,l):V(e,i,t,o,l)},U=function(e){if(!r.length)return null;var t="function"==typeof S?S(e):S;return"function"==typeof k?q(void 0,t,!1,!1,void 0,!0):V({title:t},t,!1)},G=h.createElement("div",{className:"".concat(H,"-search"),style:{width:A},onFocus:function(){B(!0)},onBlur:function(){B(!1)}},h.createElement(o6,{ref:l,open:o,prefixCls:n,id:t,inputElement:null,disabled:c,autoFocus:f,autoComplete:p,editable:W,activeDescendantId:m,value:F,onKeyDown:M,onMouseDown:I,onChange:E,onPaste:O,onCompositionStart:N,onCompositionEnd:Z,onBlur:R,tabIndex:v,attrs:(0,K.Z)(e,!0)}),h.createElement("span",{ref:T,className:"".concat(H,"-search-mirror"),"aria-hidden":!0},F,"\xa0")),Y=h.createElement(o4,{prefixCls:"".concat(H,"-overflow"),data:r,renderItem:X,renderRest:U,suffix:G,itemKey:ia,maxCount:y});return h.createElement("span",{className:"".concat(H,"-wrap")},Y,!r.length&&!F&&h.createElement("span",{className:"".concat(H,"-placeholder")},s))},ic=function(e){var t=e.inputElement,n=e.prefixCls,r=e.id,o=e.inputRef,i=e.disabled,a=e.autoFocus,l=e.autoComplete,s=e.activeDescendantId,c=e.mode,u=e.open,d=e.values,f=e.placeholder,p=e.tabIndex,m=e.showSearch,g=e.searchValue,v=e.activeValue,b=e.maxLength,y=e.onInputKeyDown,w=e.onInputMouseDown,x=e.onInputChange,S=e.onInputPaste,k=e.onInputCompositionStart,C=e.onInputCompositionEnd,$=e.onInputBlur,E=e.title,O=h.useState(!1),M=(0,eL.Z)(O,2),I=M[0],N=M[1],Z="combobox"===c,R=Z||m,T=d[0],P=g||"";Z&&v&&!I&&(P=v),h.useEffect(function(){Z&&N(!1)},[Z,v]);var j=("combobox"===c||!!u||!!m)&&!!P,A=void 0===E?io(T):E,D=h.useMemo(function(){return T?null:h.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:j?{visibility:"hidden"}:void 0},f)},[T,j,f,n]);return h.createElement("span",{className:"".concat(n,"-selection-wrap")},h.createElement("span",{className:"".concat(n,"-selection-search")},h.createElement(o6,{ref:o,prefixCls:n,id:r,open:u,inputElement:t,disabled:i,autoFocus:a,autoComplete:l,editable:R,activeDescendantId:s,value:P,onKeyDown:y,onMouseDown:w,onChange:function(e){N(!0),x(e)},onPaste:S,onCompositionStart:k,onCompositionEnd:C,onBlur:$,tabIndex:p,attrs:(0,K.Z)(e,!0),maxLength:Z?b:void 0})),!Z&&T?h.createElement("span",{className:"".concat(n,"-selection-item"),title:A,style:j?{visibility:"hidden"}:void 0},T.label):null,D)};var iu=function(e,t){var n=(0,h.useRef)(null),r=(0,h.useRef)(!1),o=e.prefixCls,i=e.open,a=e.mode,l=e.showSearch,s=e.tokenWithEnter,c=e.disabled,u=e.prefix,d=e.autoClearSearchValue,f=e.onSearch,p=e.onSearchSubmit,m=e.onToggleOpen,g=e.onInputKeyDown,v=e.onInputBlur,b=e.domRef;h.useImperativeHandle(t,function(){return{focus:function(e){n.current.focus(e)},blur:function(){n.current.blur()}}});var y=oT(0),w=(0,eL.Z)(y,2),x=w[0],S=w[1],k=function(e){var t=e.which,o=n.current instanceof HTMLTextAreaElement;!o&&i&&(t===eK.Z.UP||t===eK.Z.DOWN)&&e.preventDefault(),g&&g(e),t!==eK.Z.ENTER||"tags"!==a||r.current||i||null==p||p(e.target.value),!(o&&!i&&~[eK.Z.UP,eK.Z.DOWN,eK.Z.LEFT,eK.Z.RIGHT].indexOf(t))&&oj(t)&&m(!0)},C=function(){S(!0)},$=(0,h.useRef)(null),E=function(e){!1!==f(e,!0,r.current)&&m(!0)},O=function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout(function(){n.current.focus()}):n.current.focus())},M=function(e){var t=x();e.target===n.current||t||"combobox"===a&&c||e.preventDefault(),("combobox"===a||l&&t)&&i||(i&&!1!==d&&f("",!0,!1),m())},I={inputRef:n,onInputKeyDown:k,onInputMouseDown:C,onInputChange:function(e){var t=e.target.value;if(s&&$.current&&/[\r\n]/.test($.current)){var n=$.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,$.current)}$.current=null,E(t)},onInputPaste:function(e){var t=e.clipboardData;$.current=(null==t?void 0:t.getData("text"))||""},onInputCompositionStart:function(){r.current=!0},onInputCompositionEnd:function(e){r.current=!1,"combobox"!==a&&E(e.target.value)},onInputBlur:v},N="multiple"===a||"tags"===a?h.createElement(is,(0,_.Z)({},e,I)):h.createElement(ic,(0,_.Z)({},e,I));return h.createElement("div",{ref:b,className:"".concat(o,"-selector"),onClick:O,onMouseDown:M},u&&h.createElement("div",{className:"".concat(o,"-prefix")},u),N)};let id=h.forwardRef(iu);var ih=n(76582),ip=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],im=function(e){var t=+(!0!==e);return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"}}},ig=function(e,t){var n=e.prefixCls,r=(e.disabled,e.visible),o=e.children,i=e.popupElement,a=e.animation,l=e.transitionName,s=e.dropdownStyle,c=e.dropdownClassName,u=e.direction,d=void 0===u?"ltr":u,f=e.placement,p=e.builtinPlacements,m=e.dropdownMatchSelectWidth,v=e.dropdownRender,b=e.dropdownAlign,y=e.getPopupContainer,w=e.empty,x=e.getTriggerDOMNode,S=e.onPopupVisibleChange,k=e.onPopupMouseEnter,C=(0,eB.Z)(e,ip),$="".concat(n,"-dropdown"),E=i;v&&(E=v(i));var O=h.useMemo(function(){return p||im(m)},[p,m]),M=a?"".concat($,"-").concat(a):l,I="number"==typeof m,N=h.useMemo(function(){return I?null:!1===m?"minWidth":"width"},[m,I]),Z=s;I&&(Z=(0,eH.Z)((0,eH.Z)({},Z),{},{width:m}));var R=h.useRef(null);return h.useImperativeHandle(t,function(){return{getPopupElement:function(){var e;return null==(e=R.current)?void 0:e.popupElement}}}),h.createElement(ih.Z,(0,_.Z)({},C,{showAction:S?["click"]:[],hideAction:S?["click"]:[],popupPlacement:f||("rtl"===d?"bottomRight":"bottomLeft"),builtinPlacements:O,prefixCls:$,popupTransitionName:M,popup:h.createElement("div",{onMouseEnter:k},E),ref:R,stretch:N,popupAlign:b,popupVisible:r,getPopupContainer:y,popupClassName:g()(c,(0,eV.Z)({},"".concat($,"-empty"),w)),popupStyle:Z,getTriggerDOMNode:x,onPopupVisibleChange:S}),o)};let iv=h.forwardRef(ig);var ib=n(53150);function iy(e,t){var n,r=e.key;return("value"in e&&(n=e.value),null!=r)?r:void 0!==n?n:"rc-index-key-".concat(t)}function iw(e){return void 0!==e&&!Number.isNaN(e)}function ix(e,t){var n=e||{},r=n.label,o=n.value,i=n.options,a=n.groupLabel,l=r||(t?"children":"label");return{label:l,value:o||"value",options:i||"options",groupLabel:a||l}}function iS(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],i=ix(n,!1),a=i.label,l=i.value,s=i.options,c=i.groupLabel;function u(e,t){Array.isArray(e)&&e.forEach(function(e){if(!t&&s in e){var n=e[c];void 0===n&&r&&(n=e.label),o.push({key:iy(e,o.length),group:!0,data:e,label:n}),u(e[s],!0)}else{var i=e[l];o.push({key:iy(e,o.length),groupOption:t,data:e,label:e[a],value:i})}})}return u(e,!1),o}function ik(e){var t=(0,eH.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,nE.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var iC=function(e,t,n){if(!t||!t.length)return null;var r=!1,o=function e(t,n){var o=(0,ib.Z)(n),i=o[0],a=o.slice(1);if(!i)return[t];var l=t.split(i);return r=r||l.length>1,l.reduce(function(t,n){return[].concat((0,y.Z)(t),(0,y.Z)(e(n,a)))},[]).filter(Boolean)}(e,t);return r?void 0!==n?o.slice(0,n):o:null};let i$=h.createContext(null);function iE(e){var t=e.visible,n=e.values;if(!t)return null;var r=50;return h.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,r).map(function(e){var t=e.label,n=e.value;return["number","string"].includes((0,eq.Z)(t))?t:n}).join(", ")),n.length>r?", ...":null)}var iO=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],iM=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],iI=function(e){return"tags"===e||"multiple"===e};let iN=h.forwardRef(function(e,t){var n,r,o,i,a=e.id,l=e.prefixCls,s=e.className,c=e.showSearch,u=e.tagRender,d=e.direction,f=e.omitDomProps,p=e.displayValues,m=e.onDisplayValuesChange,v=e.emptyOptions,b=e.notFoundContent,w=void 0===b?"Not Found":b,x=e.onClear,S=e.mode,k=e.disabled,C=e.loading,$=e.getInputElement,E=e.getRawInputElement,O=e.open,M=e.defaultOpen,I=e.onDropdownVisibleChange,N=e.activeValue,Z=e.onActiveValueChange,R=e.activeDescendantId,T=e.searchValue,P=e.autoClearSearchValue,j=e.onSearch,A=e.onSearchSplit,D=e.tokenSeparators,z=e.allowClear,L=e.prefix,B=e.suffixIcon,H=e.clearIcon,F=e.OptionList,W=e.animation,V=e.transitionName,q=e.dropdownStyle,K=e.dropdownClassName,U=e.dropdownMatchSelectWidth,G=e.dropdownRender,Y=e.dropdownAlign,Q=e.placement,J=e.builtinPlacements,ee=e.getPopupContainer,et=e.showAction,en=void 0===et?[]:et,er=e.onFocus,eo=e.onBlur,ei=e.onKeyUp,ea=e.onKeyDown,el=e.onMouseDown,es=(0,eB.Z)(e,iO),ec=iI(S),eu=(void 0!==c?c:ec)||"combobox"===S,ed=(0,eH.Z)({},es);iM.forEach(function(e){delete ed[e]}),null==f||f.forEach(function(e){delete ed[e]});var ef=h.useState(!1),eh=(0,eL.Z)(ef,2),ep=eh[0],em=eh[1];h.useEffect(function(){em((0,oO.Z)())},[]);var eg=h.useRef(null),ev=h.useRef(null),eb=h.useRef(null),ey=h.useRef(null),ew=h.useRef(null),ex=h.useRef(!1),eS=oR(),ek=(0,eL.Z)(eS,3),eC=ek[0],e$=ek[1],eE=ek[2];h.useImperativeHandle(t,function(){var e,t;return{focus:null==(e=ey.current)?void 0:e.focus,blur:null==(t=ey.current)?void 0:t.blur,scrollTo:function(e){var t;return null==(t=ew.current)?void 0:t.scrollTo(e)},nativeElement:eg.current||ev.current}});var eO=h.useMemo(function(){if("combobox"!==S)return T;var e,t=null==(e=p[0])?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""},[T,S,p]),eM="combobox"===S&&"function"==typeof $&&$()||null,eI="function"==typeof E&&E(),eN=(0,X.x1)(ev,null==eI||null==(n=eI.props)?void 0:n.ref),eZ=h.useState(!1),eR=(0,eL.Z)(eZ,2),eT=eR[0],eP=eR[1];(0,oE.Z)(function(){eP(!0)},[]);var ej=(0,ok.Z)(!1,{defaultValue:M,value:O}),eA=(0,eL.Z)(ej,2),eD=eA[0],e_=eA[1],ez=!!eT&&eD,eF=!w&&v;(k||eF&&ez&&"combobox"===S)&&(ez=!1);var eW=!eF&&ez,eq=h.useCallback(function(e){var t=void 0!==e?e:!ez;k||(e_(t),ez!==t&&(null==I||I(t)))},[k,ez,e_,I]),eK=h.useMemo(function(){return(D||[]).some(function(e){return["\n","\r\n"].includes(e)})},[D]),eX=h.useContext(i$)||{},eU=eX.maxCount,eG=eX.rawValues,eY=function(e,t,n){if(!(ec&&iw(eU))||!((null==eG?void 0:eG.size)>=eU)){var r=!0,o=e;null==Z||Z(null);var i=iC(e,D,iw(eU)?eU-eG.size:void 0),a=n?null:i;return"combobox"!==S&&a&&(o="",null==A||A(a),eq(!1),r=!1),j&&eO!==o&&j(o,{source:t?"typing":"effect"}),r}},eQ=function(e){e&&e.trim()&&j(e,{source:"submit"})};h.useEffect(function(){ez||ec||"combobox"===S||eY("",!1,!1)},[ez]),h.useEffect(function(){eD&&k&&e_(!1),k&&!ex.current&&e$(!1)},[k]);var eJ=oT(),e0=(0,eL.Z)(eJ,2),e1=e0[0],e2=e0[1],e4=h.useRef(!1),e3=function(e){var t,n=e1(),r=e.key,o="Enter"===r;if(o&&("combobox"!==S&&e.preventDefault(),ez||eq(!0)),e2(!!eO),"Backspace"===r&&!n&&ec&&!eO&&p.length){for(var i=(0,y.Z)(p),a=null,l=i.length-1;l>=0;l-=1){var s=i[l];if(!s.disabled){i.splice(l,1),a=s;break}}a&&m(i,{type:"remove",values:[a]})}for(var c=arguments.length,u=Array(c>1?c-1:0),d=1;d1?n-1:0),o=1;o1?i-1:0),l=1;l2&&void 0!==arguments[2]&&arguments[2],r=e?t<0&&l.current.left||t>0&&l.current.right:t<0&&l.current.top||t>0&&l.current.bottom;return n&&r?(clearTimeout(i.current),o.current=!1):(!r||o.current)&&a(),!o.current&&r}};function iF(e,t,n,r,o,i,a){var l=(0,h.useRef)(0),s=(0,h.useRef)(null),c=(0,h.useRef)(null),u=(0,h.useRef)(!1),d=iH(t,n,r,o);function f(e,t){if(w.Z.cancel(s.current),!d(!1,t)){var n=e;n._virtualHandled||(n._virtualHandled=!0,l.current+=t,c.current=t,iB||n.preventDefault(),s.current=(0,w.Z)(function(){var e=u.current?10:1;a(l.current*e,!1),l.current=0}))}}function p(e,t){a(t,!0),iB||e.preventDefault()}var m=(0,h.useRef)(null),g=(0,h.useRef)(null);return[function(t){if(e){w.Z.cancel(g.current),g.current=(0,w.Z)(function(){m.current=null},2);var n=t.deltaX,r=t.deltaY,o=t.shiftKey,a=n,l=r;("sx"===m.current||!m.current&&o&&r&&!n)&&(a=r,l=0,m.current="sx");var s=Math.abs(a),c=Math.abs(l);null===m.current&&(m.current=i&&s>c?"x":"y"),"y"===m.current?f(t,l):p(t,a)}},function(t){e&&(u.current=t.detail===c.current)}]}function iW(e,t,n,r){var o=h.useMemo(function(){return[new Map,[]]},[e,n.id,r]),i=(0,eL.Z)(o,2),a=i[0],l=i[1];return function(o){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,s=a.get(o),c=a.get(i);if(void 0===s||void 0===c)for(var u=e.length,d=l.length;d0&&void 0!==arguments[0]&&arguments[0];u();var t=function(){var e=!1;l.current.forEach(function(t,n){if(t&&t.offsetParent){var r=t.offsetHeight,o=getComputedStyle(t),i=o.marginTop,a=o.marginBottom,l=r+iq(i)+iq(a);s.current.get(n)!==l&&(s.current.set(n,l),e=!0)}}),e&&a(function(e){return e+1})};if(e)t();else{c.current+=1;var n=c.current;Promise.resolve().then(function(){n===c.current&&t()})}}function f(r,o){var i=e(r),a=l.current.get(i);o?(l.current.set(i,o),d()):l.current.delete(i),!a!=!o&&(o?null==t||t(r):null==n||n(r))}return(0,h.useEffect)(function(){return u},[]),[f,d,s.current,i]}var iX=14/15;function iU(e,t,n){var r,o=(0,h.useRef)(!1),i=(0,h.useRef)(0),a=(0,h.useRef)(0),l=(0,h.useRef)(null),s=(0,h.useRef)(null),c=function(e){if(o.current){var t=Math.ceil(e.touches[0].pageX),r=Math.ceil(e.touches[0].pageY),l=i.current-t,c=a.current-r,u=Math.abs(l)>Math.abs(c);u?i.current=t:a.current=r;var d=n(u,u?l:c,!1,e);d&&e.preventDefault(),clearInterval(s.current),d&&(s.current=setInterval(function(){u?l*=iX:c*=iX;var e=Math.floor(u?l:c);(!n(u,e,!0)||.1>=Math.abs(e))&&clearInterval(s.current)},16))}},u=function(){o.current=!1,r()},d=function(e){r(),1!==e.touches.length||o.current||(o.current=!0,i.current=Math.ceil(e.touches[0].pageX),a.current=Math.ceil(e.touches[0].pageY),l.current=e.target,l.current.addEventListener("touchmove",c,{passive:!1}),l.current.addEventListener("touchend",u,{passive:!0}))};r=function(){l.current&&(l.current.removeEventListener("touchmove",c),l.current.removeEventListener("touchend",u))},(0,oE.Z)(function(){return e&&t.current.addEventListener("touchstart",d,{passive:!0}),function(){var e;null==(e=t.current)||e.removeEventListener("touchstart",d),r(),clearInterval(s.current)}},[e])}function iG(e){return Math.floor(Math.pow(e,.5))}function iY(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]-window[t?"scrollX":"scrollY"]}function iQ(e,t,n){h.useEffect(function(){var r=t.current;if(e&&r){var o,i,a=!1,l=function(){w.Z.cancel(o)},s=function e(){l(),o=(0,w.Z)(function(){n(i),e()})},c=function(e){if(!e.target.draggable&&0===e.button){var t=e;t._virtualHandled||(t._virtualHandled=!0,a=!0)}},u=function(){a=!1,l()},d=function(e){if(a){var t=iY(e,!1),n=r.getBoundingClientRect(),o=n.top,c=n.bottom;t<=o?(i=-iG(o-t),s()):t>=c?(i=iG(t-c),s()):l()}};return r.addEventListener("mousedown",c),r.ownerDocument.addEventListener("mouseup",u),r.ownerDocument.addEventListener("mousemove",d),function(){r.removeEventListener("mousedown",c),r.ownerDocument.removeEventListener("mouseup",u),r.ownerDocument.removeEventListener("mousemove",d),l()}}},[e])}var iJ=10;function i0(e,t,n,r,o,i,a,l){var s=h.useRef(),c=h.useState(null),u=(0,eL.Z)(c,2),d=u[0],f=u[1];return(0,oE.Z)(function(){if(d&&d.times=0;E-=1){var O=o(t[E]),M=n.get(O);if(void 0===M){p=!0;break}if(($-=M)<=0)break}switch(v){case"top":g=y-u;break;case"bottom":g=w-h+u;break;default:var I=e.current.scrollTop,N=I+h;yN&&(m="bottom")}null!==g&&a(g),g!==d.lastTop&&(p=!0)}p&&f((0,eH.Z)((0,eH.Z)({},d),{},{times:d.times+1,targetAlign:m,lastTop:g}))}},[d,e.current]),function(e){if(null==e)return void l();if(w.Z.cancel(s.current),"number"==typeof e)a(e);else if(e&&"object"===(0,eq.Z)(e)){var n,r=e.align;n="index"in e?e.index:t.findIndex(function(t){return o(t)===e.key});var i=e.offset;f({times:0,index:n,offset:void 0===i?0:i,originAlign:r})}}}let i1=h.forwardRef(function(e,t){var n=e.prefixCls,r=e.rtl,o=e.scrollOffset,i=e.scrollRange,a=e.onStartMove,l=e.onStopMove,s=e.onScroll,c=e.horizontal,u=e.spinSize,d=e.containerSize,f=e.style,p=e.thumbStyle,m=e.showScrollBar,v=h.useState(!1),b=(0,eL.Z)(v,2),y=b[0],x=b[1],S=h.useState(null),k=(0,eL.Z)(S,2),C=k[0],$=k[1],E=h.useState(null),O=(0,eL.Z)(E,2),M=O[0],I=O[1],N=!r,Z=h.useRef(),R=h.useRef(),T=h.useState(m),P=(0,eL.Z)(T,2),j=P[0],A=P[1],D=h.useRef(),_=function(){!0!==m&&!1!==m&&(clearTimeout(D.current),A(!0),D.current=setTimeout(function(){A(!1)},3e3))},z=i-d||0,L=d-u||0,B=h.useMemo(function(){return 0===o||0===z?0:o/z*L},[o,z,L]),H=function(e){e.stopPropagation(),e.preventDefault()},F=h.useRef({top:B,dragging:y,pageY:C,startTop:M});F.current={top:B,dragging:y,pageY:C,startTop:M};var W=function(e){x(!0),$(iY(e,c)),I(F.current.top),a(),e.stopPropagation(),e.preventDefault()};h.useEffect(function(){var e=function(e){e.preventDefault()},t=Z.current,n=R.current;return t.addEventListener("touchstart",e,{passive:!1}),n.addEventListener("touchstart",W,{passive:!1}),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",W)}},[]);var V=h.useRef();V.current=z;var q=h.useRef();q.current=L,h.useEffect(function(){if(y){var e,t=function(t){var n=F.current,r=n.dragging,o=n.pageY,i=n.startTop;w.Z.cancel(e);var a=Z.current.getBoundingClientRect(),l=d/(c?a.width:a.height);if(r){var u=(iY(t,c)-o)*l,f=i;!N&&c?f-=u:f+=u;var h=V.current,p=q.current,m=Math.ceil((p?f/p:0)*h);m=Math.min(m=Math.max(m,0),h),e=(0,w.Z)(function(){s(m,c)})}},n=function(){x(!1),l()};return window.addEventListener("mousemove",t,{passive:!0}),window.addEventListener("touchmove",t,{passive:!0}),window.addEventListener("mouseup",n,{passive:!0}),window.addEventListener("touchend",n,{passive:!0}),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),w.Z.cancel(e)}}},[y]),h.useEffect(function(){return _(),function(){clearTimeout(D.current)}},[o]),h.useImperativeHandle(t,function(){return{delayHidden:_}});var K="".concat(n,"-scrollbar"),X={position:"absolute",visibility:j?null:"hidden"},U={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return c?(X.height=8,X.left=0,X.right=0,X.bottom=0,U.height="100%",U.width=u,N?U.left=B:U.right=B):(X.width=8,X.top=0,X.bottom=0,N?X.right=0:X.left=0,U.width="100%",U.height=u,U.top=B),h.createElement("div",{ref:Z,className:g()(K,(0,eV.Z)((0,eV.Z)((0,eV.Z)({},"".concat(K,"-horizontal"),c),"".concat(K,"-vertical"),!c),"".concat(K,"-visible"),j)),style:(0,eH.Z)((0,eH.Z)({},X),f),onMouseDown:H,onMouseMove:_},h.createElement("div",{ref:R,className:g()("".concat(K,"-thumb"),(0,eV.Z)({},"".concat(K,"-thumb-moving"),y)),style:(0,eH.Z)((0,eH.Z)({},U),p),onMouseDown:W}))});var i2=20;function i4(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),Math.floor(n=Math.max(n,i2))}var i3=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],i5=[],i8={overflowY:"auto",overflowAnchor:"none"};function i6(e,t){var n=e.prefixCls,r=void 0===n?"rc-virtual-list":n,o=e.className,i=e.height,a=e.itemHeight,l=e.fullHeight,s=void 0===l||l,c=e.style,u=e.data,d=e.children,f=e.itemKey,p=e.virtual,m=e.direction,b=e.scrollWidth,y=e.component,w=void 0===y?"div":y,x=e.onScroll,S=e.onVirtualScroll,k=e.onVisibleChange,C=e.innerProps,$=e.extraRender,E=e.styles,O=e.showScrollBar,M=void 0===O?"optional":O,I=(0,eB.Z)(e,i3),N=h.useCallback(function(e){return"function"==typeof f?f(e):null==e?void 0:e[f]},[f]),Z=iK(N,null,null),R=(0,eL.Z)(Z,4),T=R[0],P=R[1],j=R[2],A=R[3],D=!!(!1!==p&&i&&a),z=h.useMemo(function(){return Object.values(j.maps).reduce(function(e,t){return e+t},0)},[j.id,j.maps]),L=D&&u&&(Math.max(a*u.length,z)>i||!!b),B="rtl"===m,H=g()(r,(0,eV.Z)({},"".concat(r,"-rtl"),B),o),F=u||i5,W=(0,h.useRef)(),V=(0,h.useRef)(),q=(0,h.useRef)(),K=(0,h.useState)(0),X=(0,eL.Z)(K,2),U=X[0],G=X[1],Y=(0,h.useState)(0),Q=(0,eL.Z)(Y,2),J=Q[0],ee=Q[1],et=(0,h.useState)(!1),en=(0,eL.Z)(et,2),er=en[0],eo=en[1],ei=function(){eo(!0)},ea=function(){eo(!1)},el={getKey:N};function es(e){G(function(t){var n=eM("function"==typeof e?e(t):e);return W.current.scrollTop=n,n})}var ec=(0,h.useRef)({start:0,end:F.length}),eu=(0,h.useRef)(),ed=iL(F,N);eu.current=(0,eL.Z)(ed,1)[0];var ef=h.useMemo(function(){if(!D)return{scrollHeight:void 0,start:0,end:F.length-1,offset:void 0};if(!L)return{scrollHeight:(null==(e=V.current)?void 0:e.offsetHeight)||0,start:0,end:F.length-1,offset:void 0};for(var e,t,n,r,o=0,l=F.length,s=0;s=U&&void 0===t&&(t=s,n=o),d>U+i&&void 0===r&&(r=s),o=d}return void 0===t&&(t=0,n=0,r=Math.ceil(i/a)),void 0===r&&(r=F.length-1),{scrollHeight:o,start:t,end:r=Math.min(r+1,F.length-1),offset:n}},[L,D,U,F,A,i]),eh=ef.scrollHeight,ep=ef.start,em=ef.end,eg=ef.offset;ec.current.start=ep,ec.current.end=em,h.useLayoutEffect(function(){var e=j.getRecord();if(1===e.size){var t=Array.from(e.keys())[0],n=e.get(t),r=F[ep];if(r&&void 0===n&&N(r)===t){var o=j.get(t)-a;es(function(e){return e+o})}}j.resetRecord()},[eh]);var ev=h.useState({width:0,height:i}),eb=(0,eL.Z)(ev,2),ey=eb[0],ew=eb[1],ex=function(e){ew({width:e.offsetWidth,height:e.offsetHeight})},eS=(0,h.useRef)(),ek=(0,h.useRef)(),eC=h.useMemo(function(){return i4(ey.width,b)},[ey.width,b]),e$=h.useMemo(function(){return i4(ey.height,eh)},[ey.height,eh]),eE=eh-i,eO=(0,h.useRef)(eE);function eM(e){var t=e;return Number.isNaN(eO.current)||(t=Math.min(t,eO.current)),t=Math.max(t,0)}eO.current=eE;var eI=U<=0,eN=U>=eE,eZ=J<=0,eR=J>=b,eT=iH(eI,eN,eZ,eR),eP=function(){return{x:B?-J:J,y:U}},ej=(0,h.useRef)(eP()),eA=(0,e3.zX)(function(e){if(S){var t=(0,eH.Z)((0,eH.Z)({},eP()),e);(ej.current.x!==t.x||ej.current.y!==t.y)&&(S(t),ej.current=t)}});function eD(e,t){var n=e;t?((0,eF.flushSync)(function(){ee(n)}),eA()):es(n)}function e_(e){var t=e.currentTarget.scrollTop;t!==U&&es(t),null==x||x(e),eA()}var ez=function(e){var t=e,n=b?b-ey.width:0;return Math.min(t=Math.max(t,0),n)},eW=iF(D,eI,eN,eZ,eR,!!b,(0,e3.zX)(function(e,t){t?((0,eF.flushSync)(function(){ee(function(t){return ez(t+(B?-e:e))})}),eA()):es(function(t){return t+e})})),eK=(0,eL.Z)(eW,2),eX=eK[0],eU=eK[1];iU(D,W,function(e,t,n,r){var o=r;return!eT(e,t,n)&&(!o||!o._virtualHandled)&&(o&&(o._virtualHandled=!0),eX({preventDefault:function(){},deltaX:e?t:0,deltaY:e?0:t}),!0)}),iQ(L,W,function(e){es(function(t){return t+e})}),(0,oE.Z)(function(){function e(e){var t=eI&&e.detail<0,n=eN&&e.detail>0;!D||t||n||e.preventDefault()}var t=W.current;return t.addEventListener("wheel",eX,{passive:!1}),t.addEventListener("DOMMouseScroll",eU,{passive:!0}),t.addEventListener("MozMousePixelScroll",e,{passive:!1}),function(){t.removeEventListener("wheel",eX),t.removeEventListener("DOMMouseScroll",eU),t.removeEventListener("MozMousePixelScroll",e)}},[D,eI,eN]),(0,oE.Z)(function(){if(b){var e=ez(J);ee(e),eA({x:e})}},[ey.width,b]);var eG=function(){var e,t;null==(e=eS.current)||e.delayHidden(),null==(t=ek.current)||t.delayHidden()},eY=i0(W,F,j,a,N,function(){return P(!0)},es,eG);h.useImperativeHandle(t,function(){return{nativeElement:q.current,getScrollInfo:eP,scrollTo:function(e){!function(e){return e&&"object"===(0,eq.Z)(e)&&("left"in e||"top"in e)}(e)?eY(e):(void 0!==e.left&&ee(ez(e.left)),eY(e.top))}}}),(0,oE.Z)(function(){k&&k(F.slice(ep,em+1),F)},[ep,em,F]);var eQ=iW(F,N,j,a),eJ=null==$?void 0:$({start:ep,end:em,virtual:L,offsetX:J,offsetY:eg,rtl:B,getSize:eQ}),e0=i_(F,ep,em,b,J,T,d,el),e1=null;i&&(e1=(0,eH.Z)((0,eV.Z)({},s?"height":"maxHeight",i),i8),D&&(e1.overflowY="hidden",b&&(e1.overflowX="hidden"),er&&(e1.pointerEvents="none")));var e2={};return B&&(e2.dir="rtl"),h.createElement("div",(0,_.Z)({ref:q,style:(0,eH.Z)((0,eH.Z)({},c),{},{position:"relative"}),className:H},e2,I),h.createElement(v.Z,{onResize:ex},h.createElement(w,{className:"".concat(r,"-holder"),style:e1,ref:W,onScroll:e_,onMouseEnter:eG},h.createElement(iA,{prefixCls:r,height:eh,offsetX:J,offsetY:eg,scrollWidth:b,onInnerResize:P,ref:V,innerProps:C,rtl:B,extra:eJ},e0))),L&&eh>i&&h.createElement(i1,{ref:eS,prefixCls:r,scrollOffset:U,scrollRange:eh,rtl:B,onScroll:eD,onStartMove:ei,onStopMove:ea,spinSize:e$,containerSize:ey.height,style:null==E?void 0:E.verticalScrollBar,thumbStyle:null==E?void 0:E.verticalScrollBarThumb,showScrollBar:M}),L&&b>ey.width&&h.createElement(i1,{ref:ek,prefixCls:r,scrollOffset:J,scrollRange:b,rtl:B,onScroll:eD,onStartMove:ei,onStopMove:ea,spinSize:eC,containerSize:ey.width,horizontal:!0,style:null==E?void 0:E.horizontalScrollBar,thumbStyle:null==E?void 0:E.horizontalScrollBarThumb,showScrollBar:M}))}var i7=h.forwardRef(i6);i7.displayName="List";let i9=i7;function ae(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var at=["disabled","title","children","style","className"];function an(e){return"string"==typeof e||"number"==typeof e}var ar=function(e,t){var n=oZ(),r=n.prefixCls,o=n.id,i=n.open,a=n.multiple,l=n.mode,s=n.searchValue,c=n.toggleOpen,u=n.notFoundContent,d=n.onPopupScroll,f=h.useContext(i$),p=f.maxCount,m=f.flattenOptions,v=f.onActiveValue,w=f.defaultActiveFirstOption,x=f.onSelect,S=f.menuItemSelectedIcon,k=f.rawValues,C=f.fieldNames,$=f.virtual,E=f.direction,O=f.listHeight,M=f.listItemHeight,I=f.optionRender,N="".concat(r,"-item"),Z=(0,tS.Z)(function(){return m},[i,m],function(e,t){return t[0]&&e[1]!==t[1]}),R=h.useRef(null),T=h.useMemo(function(){return a&&iw(p)&&(null==k?void 0:k.size)>=p},[a,p,null==k?void 0:k.size]),P=function(e){e.preventDefault()},j=function(e){var t;null==(t=R.current)||t.scrollTo("number"==typeof e?{index:e}:e)},A=h.useCallback(function(e){return"combobox"!==l&&k.has(e)},[l,(0,y.Z)(k).toString(),k.size]),D=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=Z.length,r=0;r1&&void 0!==arguments[1]&&arguments[1];H(e);var n={source:t?"keyboard":"mouse"},r=Z[e];if(!r)return void v(null,-1,n);v(r.value,e,n)};(0,h.useEffect)(function(){F(!1!==w?D(0):-1)},[Z.length,s]);var W=h.useCallback(function(e){return"combobox"===l?String(e).toLowerCase()===s.toLowerCase():k.has(e)},[l,s,(0,y.Z)(k).toString(),k.size]);(0,h.useEffect)(function(){var e,t=setTimeout(function(){if(!a&&i&&1===k.size){var e=Array.from(k)[0],t=Z.findIndex(function(t){var n=t.data;return s?String(n.value).startsWith(s):n.value===e});-1!==t&&(F(t),j(t))}});return i&&(null==(e=R.current)||e.scrollTo(void 0)),function(){return clearTimeout(t)}},[i,s]);var V=function(e){void 0!==e&&x(e,{selected:!k.has(e)}),a||c(!1)};if(h.useImperativeHandle(t,function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case eK.Z.N:case eK.Z.P:case eK.Z.UP:case eK.Z.DOWN:var r=0;if(t===eK.Z.UP?r=-1:t===eK.Z.DOWN?r=1:ae()&&n&&(t===eK.Z.N?r=1:t===eK.Z.P&&(r=-1)),0!==r){var o=D(B+r,r);j(o),F(o,!0)}break;case eK.Z.TAB:case eK.Z.ENTER:var a,l=Z[B];!l||null!=l&&null!=(a=l.data)&&a.disabled||T?V(void 0):V(l.value),i&&e.preventDefault();break;case eK.Z.ESC:c(!1),i&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){j(e)}}}),0===Z.length)return h.createElement("div",{role:"listbox",id:"".concat(o,"_list"),className:"".concat(N,"-empty"),onMouseDown:P},u);var q=Object.keys(C).map(function(e){return C[e]}),X=function(e){return e.label};function U(e,t){return{role:e.group?"presentation":"option",id:"".concat(o,"_list_").concat(t)}}var G=function(e){var t=Z[e];if(!t)return null;var n=t.data||{},r=n.value,o=t.group,i=(0,K.Z)(n,!0),a=X(t);return t?h.createElement("div",(0,_.Z)({"aria-label":"string"!=typeof a||o?null:a},i,{key:e},U(t,e),{"aria-selected":W(r)}),r):null},Y={role:"listbox",id:"".concat(o,"_list")};return h.createElement(h.Fragment,null,$&&h.createElement("div",(0,_.Z)({},Y,{style:{height:0,width:0,overflow:"hidden"}}),G(B-1),G(B),G(B+1)),h.createElement(i9,{itemKey:"key",ref:R,data:Z,height:O,itemHeight:M,fullHeight:!1,onMouseDown:P,onScroll:d,virtual:$,direction:E,innerProps:$?null:Y},function(e,t){var n=e.group,r=e.groupOption,o=e.data,i=e.label,a=e.value,l=o.key;if(n){var s,c=null!=(s=o.title)?s:an(i)?i.toString():void 0;return h.createElement("div",{className:g()(N,"".concat(N,"-group"),o.className),title:c},void 0!==i?i:l)}var u=o.disabled,d=o.title,f=(o.children,o.style),p=o.className,m=(0,eB.Z)(o,at),v=(0,b.Z)(m,q),y=A(a),w=u||!y&&T,x="".concat(N,"-option"),k=g()(N,x,p,(0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)({},"".concat(x,"-grouped"),r),"".concat(x,"-active"),B===t&&!w),"".concat(x,"-disabled"),w),"".concat(x,"-selected"),y)),C=X(e),E=!S||"function"==typeof S||y,O="number"==typeof C?C:C||a,M=an(O)?O.toString():void 0;return void 0!==d&&(M=d),h.createElement("div",(0,_.Z)({},(0,K.Z)(v),$?{}:U(e,t),{"aria-selected":W(a),className:k,title:M,onMouseMove:function(){B===t||w||F(t)},onClick:function(){w||V(a)},style:f}),h.createElement("div",{className:"".concat(x,"-content")},"function"==typeof I?I(e,{index:t}):O),h.isValidElement(S)||y,E&&h.createElement(oM,{className:"".concat(N,"-option-state"),customizeIcon:S,customizeIconProps:{value:a,disabled:w,isSelected:y}},y?"✓":null))}))};let ao=h.forwardRef(ar),ai=function(e,t){var n=h.useRef({values:new Map,options:new Map});return[h.useMemo(function(){var r=n.current,o=r.values,i=r.options,a=e.map(function(e){if(void 0===e.label){var t;return(0,eH.Z)((0,eH.Z)({},e),{},{label:null==(t=o.get(e.value))?void 0:t.label})}return e}),l=new Map,s=new Map;return a.forEach(function(e){l.set(e.value,e),s.set(e.value,t.get(e.value)||i.get(e.value))}),n.current.values=l,n.current.options=s,a},[e,t]),h.useCallback(function(e){return t.get(e)||n.current.options.get(e)},[t])]};function aa(e,t){return o7(e).join("").toUpperCase().includes(t)}let al=function(e,t,n,r,o){return h.useMemo(function(){if(!n||!1===r)return e;var i=t.options,a=t.label,l=t.value,s=[],c="function"==typeof r,u=n.toUpperCase(),d=c?r:function(e,t){return o?aa(t[o],u):t[i]?aa(t["children"!==a?a:"label"],u):aa(t[l],u)},f=c?function(e){return ik(e)}:function(e){return e};return e.forEach(function(e){if(e[i]){if(d(n,f(e)))s.push(e);else{var t=e[i].filter(function(e){return d(n,f(e))});t.length&&s.push((0,eH.Z)((0,eH.Z)({},e),{},(0,eV.Z)({},i,t)))}return}d(n,f(e))&&s.push(e)}),s},[e,r,o,n,t])};var as=0,ac=(0,t_.Z)();function au(){var e;return ac?(e=as,as+=1):e="TEST_OR_SSR",e}function ad(e){var t=h.useState(),n=(0,eL.Z)(t,2),r=n[0],o=n[1];return h.useEffect(function(){o("rc_select_".concat(au()))},[]),e||r}var af=["children","value"],ah=["children"];function ap(e){var t=e,n=t.key,r=t.props,o=r.children,i=r.value,a=(0,eB.Z)(r,af);return(0,eH.Z)({key:n,value:void 0!==i?i:n,children:o},a)}function am(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,oS.Z)(e).map(function(e,n){if(!h.isValidElement(e)||!e.type)return null;var r=e,o=r.type.isSelectOptGroup,i=r.key,a=r.props,l=a.children,s=(0,eB.Z)(a,ah);return t||!o?ap(e):(0,eH.Z)((0,eH.Z)({key:"__RC_SELECT_GRP__".concat(null===i?n:i,"__"),label:i},s),{},{options:am(l)})}).filter(function(e){return e})}let ag=function(e,t,n,r,o){return h.useMemo(function(){var i=e;e||(i=am(t));var a=new Map,l=new Map,s=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(t){for(var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=0;c0?e(t.options):t.options}):t})},eg=h.useMemo(function(){return w?em(ep):ep},[ep,w,U]),ev=h.useMemo(function(){return iS(eg,{fieldNames:q,childrenAsData:W})},[eg,q,W]),eb=function(e){var t=et(e);if(ei(t),z&&(t.length!==es.length||t.some(function(e,t){var n;return(null==(n=es[t])?void 0:n.value)!==(null==e?void 0:e.value)}))){var n=D?t:t.map(function(e){return e.value}),r=t.map(function(e){return ik(ec(e.value))});z(F?n:n[0],F?r:r[0])}},ey=h.useState(null),ew=(0,eL.Z)(ey,2),ex=ew[0],eS=ew[1],ek=h.useState(0),eC=(0,eL.Z)(ek,2),e$=eC[0],eE=eC[1],eO=void 0!==E?E:"combobox"!==r,eM=h.useCallback(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source,i=void 0===o?"keyboard":o;eE(t),a&&"combobox"===r&&null!==e&&"keyboard"===i&&eS(String(e))},[a,r]),eI=function(e,t,n){var r=function(){var t,n=ec(e);return[D?{label:null==n?void 0:n[q.label],value:e,key:null!=(t=null==n?void 0:n.key)?t:e}:e,ik(n)]};if(t&&p){var o=r(),i=(0,eL.Z)(o,2);p(i[0],i[1])}else if(!t&&m&&"clear"!==n){var a=r(),l=(0,eL.Z)(a,2);m(l[0],l[1])}},eN=av(function(e,t){var n,o=!F||t.selected;eb(n=o?F?[].concat((0,y.Z)(es),[e]):[e]:es.filter(function(t){return t.value!==e})),eI(e,o),"combobox"===r?eS(""):(!iI||f)&&(G(""),eS(""))}),eZ=function(e,t){eb(e);var n=t.type,r=t.values;("remove"===n||"clear"===n)&&r.forEach(function(e){eI(e.value,!1,n)})},eR=function(e,t){if(G(e),eS(null),"submit"===t.source){var n=(e||"").trim();n&&(eb(Array.from(new Set([].concat((0,y.Z)(ed),[n])))),eI(n,!0),G(""));return}"blur"!==t.source&&("combobox"===r&&eb(e),null==u||u(e))},eT=function(e){var t=e;"tags"!==r&&(t=e.map(function(e){var t=J.get(e);return null==t?void 0:t.value}).filter(function(e){return void 0!==e}));var n=Array.from(new Set([].concat((0,y.Z)(ed),(0,y.Z)(t))));eb(n),n.forEach(function(e){eI(e,!0)})},eP=h.useMemo(function(){var e=!1!==M&&!1!==v;return(0,eH.Z)((0,eH.Z)({},Y),{},{flattenOptions:ev,onActiveValue:eM,defaultActiveFirstOption:eO,onSelect:eN,menuItemSelectedIcon:O,rawValues:ed,fieldNames:q,virtual:e,direction:I,listHeight:Z,listItemHeight:T,childrenAsData:W,maxCount:L,optionRender:C})},[L,Y,ev,eM,eO,eN,O,ed,q,M,v,I,Z,T,W,C]);return h.createElement(i$.Provider,{value:eP},h.createElement(iN,(0,_.Z)({},B,{id:H,prefixCls:i,ref:t,omitDomProps:ay,mode:r,displayValues:eu,onDisplayValuesChange:eZ,direction:I,searchValue:U,onSearch:eR,autoClearSearchValue:f,onSearchSplit:eT,dropdownMatchSelectWidth:v,OptionList:ao,emptyOptions:!ev.length,activeValue:ex,activeDescendantId:"".concat(H,"_list_").concat(e$)})))});ax.Option=iP,ax.OptGroup=iR;let aS=ax;function ak(e,t,n){return g()({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:n})}let aC=(e,t)=>t||e,a$=()=>{let[,e]=(0,e$.ZP)(),[t]=(0,nn.Z)("Empty"),n=new tD.C(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return h.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},h.createElement("title",null,(null==t?void 0:t.description)||"Empty"),h.createElement("g",{fill:"none",fillRule:"evenodd"},h.createElement("g",{transform:"translate(24 31.67)"},h.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),h.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),h.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),h.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),h.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),h.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),h.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},h.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),h.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},aE=()=>{let[,e]=(0,e$.ZP)(),[t]=(0,nn.Z)("Empty"),{colorFill:n,colorFillTertiary:r,colorFillQuaternary:o,colorBgContainer:i}=e,{borderColor:a,shadowColor:l,contentColor:s}=(0,h.useMemo)(()=>({borderColor:new tD.C(n).onBackground(i).toHexShortString(),shadowColor:new tD.C(r).onBackground(i).toHexShortString(),contentColor:new tD.C(o).onBackground(i).toHexShortString()}),[n,r,o,i]);return h.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},h.createElement("title",null,(null==t?void 0:t.description)||"Empty"),h.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},h.createElement("ellipse",{fill:l,cx:"32",cy:"33",rx:"32",ry:"7"}),h.createElement("g",{fillRule:"nonzero",stroke:a},h.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),h.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))},aO=e=>{let{componentCls:t,margin:n,marginXS:r,marginXL:o,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:o,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},aM=(0,k.I$)("Empty",e=>{let{componentCls:t,controlHeightLG:n,calc:r}=e;return[aO((0,eI.IX)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()}))]});var aI=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let aN=h.createElement(a$,null),aZ=h.createElement(aE,null),aR=e=>{var{className:t,rootClassName:n,prefixCls:r,image:o=aN,description:i,children:a,imageStyle:l,style:s}=e,c=aI(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);let{getPrefixCls:u,direction:d,empty:f}=h.useContext(S.E_),p=u("empty",r),[m,v,b]=aM(p),[y]=(0,nn.Z)("Empty"),w=void 0!==i?i:null==y?void 0:y.description,x="string"==typeof w?w:"empty",k=null;return k="string"==typeof o?h.createElement("img",{alt:x,src:o}):o,m(h.createElement("div",Object.assign({className:g()(v,b,p,null==f?void 0:f.className,{[`${p}-normal`]:o===aZ,[`${p}-rtl`]:"rtl"===d},t,n),style:Object.assign(Object.assign({},null==f?void 0:f.style),s)},c),h.createElement("div",{className:`${p}-image`,style:l},k),w&&h.createElement("div",{className:`${p}-description`},w),a&&h.createElement("div",{className:`${p}-footer`},a)))};aR.PRESENTED_IMAGE_DEFAULT=aN,aR.PRESENTED_IMAGE_SIMPLE=aZ;let aT=aR,aP=e=>{let{componentName:t}=e,{getPrefixCls:n}=(0,h.useContext)(S.E_),r=n("empty");switch(t){case"Table":case"List":return p().createElement(aT,{image:aT.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return p().createElement(aT,{image:aT.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case"Table.filter":return null;default:return p().createElement(aT,null)}};var aj=n(98675),aA=n(65223);let aD=function(e,t){var n,r;let o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,{variant:a,[e]:l}=h.useContext(S.E_),s=h.useContext(aA.pg),c=null==l?void 0:l.variant;o=void 0!==t?t:!1===i?"borderless":null!=(r=null!=(n=null!=s?s:c)?n:a)?r:"outlined";let u=S.tr.includes(o);return[o,u]};var a_=n(4173);let az=e=>{let t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}},aL=function(e,t){return e||az(t)};var aB=n(80110);let aH=new G.E4("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),aF=new G.E4("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),aW=new G.E4("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),aV=new G.E4("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),aq=new G.E4("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),aK=new G.E4("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),aX={"slide-up":{inKeyframes:aH,outKeyframes:aF},"slide-down":{inKeyframes:aW,outKeyframes:aV},"slide-left":{inKeyframes:aq,outKeyframes:aK},"slide-right":{inKeyframes:new G.E4("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),outKeyframes:new G.E4("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}})}},aU=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=aX[t];return[(0,rf.R)(r,o,i,e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},aG=new G.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),aY=new G.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),aQ=new G.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),aJ=new G.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),a0=new G.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a1=new G.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),a2={"move-up":{inKeyframes:new G.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new G.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:aG,outKeyframes:aY},"move-left":{inKeyframes:aQ,outKeyframes:aJ},"move-right":{inKeyframes:a0,outKeyframes:a1}},a4=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=a2[t];return[(0,rf.R)(r,o,i,e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},a3=e=>{let{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:o}=e;return{position:"relative",display:"block",minHeight:t,padding:o,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},a5=e=>{let{antCls:t,componentCls:n}=e,r=`${n}-item`,o=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,a=`&${t}-slide-up-leave${t}-slide-up-leave-active`,l=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` - ${o}${l}bottomLeft, - ${i}${l}bottomLeft - `]:{animationName:aH},[` - ${o}${l}topLeft, - ${i}${l}topLeft, - ${o}${l}topRight, - ${i}${l}topRight - `]:{animationName:aW},[`${a}${l}bottomLeft`]:{animationName:aF},[` - ${a}${l}topLeft, - ${a}${l}topRight - `]:{animationName:aV},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},a3(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},Y.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},a3(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},aU(e,"slide-up"),aU(e,"slide-down"),a4(e,"move-up"),a4(e,"move-down")]},a8=e=>{let{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:o}=e,i=e.max(e.calc(n).sub(r).equal(),0),a=e.max(e.calc(i).sub(o).equal(),0);return{basePadding:i,containerPadding:a,itemHeight:(0,G.bf)(t),itemLineHeight:(0,G.bf)(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},a6=e=>{let{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},a7=e=>{let{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:o,paddingXS:i,multipleItemColorDisabled:a,multipleItemBorderColorDisabled:l,colorIcon:s,colorIconHover:c,INTERNAL_FIXED_ITEM_MARGIN:u}=e;return{[`${t}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:u,borderRadius:r,cursor:"default",transition:`font-size ${o}, line-height ${o}, height ${o}`,marginInlineEnd:e.calc(u).mul(2).equal(),paddingInlineStart:i,paddingInlineEnd:e.calc(i).div(2).equal(),[`${t}-disabled&`]:{color:a,borderColor:l,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(i).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,Y.Ro)()),{display:"inline-flex",alignItems:"center",color:s,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:c}})}}}},a9=(e,t)=>{let{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,o=`${n}-selection-overflow`,i=e.multipleSelectItemHeight,a=a6(e),l=t?`${n}-${t}`:"",s=a8(e);return{[`${n}-multiple${l}`]:Object.assign(Object.assign({},a7(e)),{[`${n}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:s.basePadding,paddingBlock:s.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,G.bf)(r)} 0`,lineHeight:(0,G.bf)(i),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:s.itemHeight,lineHeight:(0,G.bf)(s.itemLineHeight)},[`${n}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,G.bf)(i),marginBlock:r}},[`${n}-prefix`]:{marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(s.basePadding).equal()},[`${o}-item + ${o}-item, - ${n}-prefix + ${n}-selection-wrap - `]:{[`${n}-selection-search`]:{marginInlineStart:0},[`${n}-selection-placeholder`]:{insetInlineStart:0}},[`${o}-item-suffix`]:{minHeight:s.itemHeight,marginBlock:r},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(a).equal(),[` - &-input, - &-mirror - `]:{height:i,fontFamily:e.fontFamily,lineHeight:(0,G.bf)(i),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(s.basePadding).equal(),insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function le(e,t){let{componentCls:n}=e,r=t?`${n}-${t}`:"",o={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[` - &${n}-show-arrow ${n}-selector, - &${n}-allow-clear ${n}-selector - `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[a9(e,t),o]}let lt=e=>{let{componentCls:t}=e,n=(0,eI.IX)(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=(0,eI.IX)(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[le(e),le(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},le(r,"lg")]};function ln(e,t){let{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},(0,Y.Wf)(e,!0)),{display:"flex",borderRadius:o,flex:"1 1 auto",[`${n}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[` - ${n}-selection-item, - ${n}-selection-placeholder - `]:{display:"block",padding:0,lineHeight:(0,G.bf)(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[`&:after,${n}-selection-item:empty:after,${n}-selection-placeholder:empty:after`]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` - &${n}-show-arrow ${n}-selection-item, - &${n}-show-arrow ${n}-selection-search, - &${n}-show-arrow ${n}-selection-placeholder - `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,G.bf)(r)}`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:(0,G.bf)(i)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,G.bf)(r)}`,"&:after":{display:"none"}}}}}}}function lr(e){let{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[ln(e),ln((0,eI.IX)(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selector`]:{padding:`0 ${(0,G.bf)(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[` - &${t}-show-arrow ${t}-selection-item, - &${t}-show-arrow ${t}-selection-placeholder - `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},ln((0,eI.IX)(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}let lo=e=>{let{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:o,controlHeightSM:i,controlHeightLG:a,paddingXXS:l,controlPaddingHorizontal:s,zIndexPopupBase:c,colorText:u,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:h,colorBgContainer:p,colorFillSecondary:m,colorBgContainerDisabled:g,colorTextDisabled:v,colorPrimaryHover:b,colorPrimary:y,controlOutline:w}=e,x=2*l,S=2*r,k=Math.min(o-x,o-S),C=Math.min(i-x,i-S),$=Math.min(a-x,a-S);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(l/2),zIndexPopup:c+50,optionSelectedColor:u,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:h,optionPadding:`${(o-t*n)/2}px ${s}px`,optionFontSize:t,optionLineHeight:n,optionHeight:o,selectorBg:p,clearBg:p,singleItemHeightLG:a,multipleItemBg:m,multipleItemBorderColor:"transparent",multipleItemHeight:k,multipleItemHeightSM:C,multipleItemHeightLG:$,multipleSelectorBgDisabled:g,multipleItemColorDisabled:v,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(1.25*e.fontSize),hoverBorderColor:b,activeBorderColor:y,activeOutlineColor:w,selectAffixPadding:l}},li=(e,t)=>{let{componentCls:n,antCls:r,controlOutlineWidth:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${(0,G.bf)(o)} ${t.activeOutlineColor}`,outline:0},[`${n}-prefix`]:{color:t.color}}}},la=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},li(e,t))}),ll=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},li(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),la(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),la(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),ls=(e,t)=>{let{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},lc=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},ls(e,t))}),lu=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},ls(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText})),lc(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),lc(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),ld=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} transparent`},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),lf=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},ll(e)),lu(e)),ld(e))}),lh=e=>{let{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},lp=e=>{let{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},lm=e=>{let{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:o}=e;return{[n]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},lh(e)),lp(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},Y.vS),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},Y.vS),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},(0,Y.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${n}-prefix`]:{flex:"none",marginInlineEnd:e.selectAffixPadding},[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},[`&:hover ${n}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}}),[`${n}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}}}},lg=e=>{let{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},lm(e),lr(e),lt(e),a5(e),{[`${t}-rtl`]:{direction:"rtl"}},(0,aB.c)(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},lv=(0,k.I$)("Select",(e,t)=>{let{rootPrefixCls:n}=t,r=(0,eI.IX)(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[lg(r),lf(r)]},lo,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var lb=n(8567);let ly={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};var lw=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:ly}))};let lx=h.forwardRef(lw),lS={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};var lk=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:lS}))};let lC=h.forwardRef(lk);function l$(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:o,loading:i,multiple:a,hasFeedback:l,prefixCls:s,showSuffixIcon:c,feedbackIcon:u,showArrow:d,componentName:f}=e,p=null!=n?n:h.createElement(A.Z,null),m=e=>null!==t||l||d?h.createElement(h.Fragment,null,!1!==c&&e,l&&u):null,g=null;if(void 0!==t)g=m(t);else if(i)g=m(h.createElement(te.Z,{spin:!0}));else{let e=`${s}-suffix`;g=t=>{let{open:n,showSearch:r}=t;return n&&r?m(h.createElement(lC,{className:e})):m(h.createElement(lx,{className:e}))}}let v=null;v=void 0!==r?r:a?h.createElement(lb.Z,null):null;let b=null;return{clearIcon:p,suffixIcon:g,itemIcon:v,removeIcon:b=void 0!==o?o:h.createElement(D.Z,null)}}function lE(e,t){return void 0!==t?t:null!==e}var lO=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let lM="SECRET_COMBOBOX_MODE_DO_NOT_USE",lI=(e,t)=>{var n;let r,{prefixCls:o,bordered:i,className:a,rootClassName:l,getPopupContainer:s,popupClassName:c,dropdownClassName:u,listHeight:d=256,placement:f,listItemHeight:p,size:m,disabled:v,notFoundContent:y,status:w,builtinPlacements:x,dropdownMatchSelectWidth:k,popupMatchSelectWidth:C,direction:$,style:E,allowClear:O,variant:M,dropdownStyle:I,transitionName:N,tagRender:Z,maxCount:R,prefix:T}=e,P=lO(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:j,getPrefixCls:A,renderEmpty:D,direction:_,virtual:z,popupMatchSelectWidth:L,popupOverflow:B,select:H}=h.useContext(S.E_),[,F]=(0,e$.ZP)(),W=null!=p?p:null==F?void 0:F.controlHeight,V=A("select",o),q=A(),K=null!=$?$:_,{compactSize:X,compactItemClassnames:U}=(0,a_.ri)(V,K),[G,Y]=aD("select",M,i),Q=eE(V),[J,ee,et]=lv(V,Q),en=h.useMemo(()=>{let{mode:t}=e;if("combobox"!==t)return t===lM?"combobox":t},[e.mode]),er="multiple"===en||"tags"===en,eo=lE(e.suffixIcon,e.showArrow),ei=null!=(n=null!=C?C:k)?n:L,{status:ea,hasFeedback:el,isFormItemInput:es,feedbackIcon:ec}=h.useContext(aA.aM),eu=aC(ea,w);r=void 0!==y?y:"combobox"===en?null:(null==D?void 0:D("Select"))||h.createElement(aP,{componentName:"Select"});let{suffixIcon:ed,itemIcon:ef,removeIcon:eh,clearIcon:ep}=l$(Object.assign(Object.assign({},P),{multiple:er,hasFeedback:el,feedbackIcon:ec,showSuffixIcon:eo,prefixCls:V,componentName:"Select"})),em=!0===O?{clearIcon:ep}:O,eg=(0,b.Z)(P,["suffixIcon","itemIcon"]),ev=g()(c||u,{[`${V}-dropdown-${K}`]:"rtl"===K},l,et,Q,ee),eb=(0,aj.Z)(e=>{var t;return null!=(t=null!=m?m:X)?t:e}),ey=h.useContext(tF.Z),ew=null!=v?v:ey,ex=g()({[`${V}-lg`]:"large"===eb,[`${V}-sm`]:"small"===eb,[`${V}-rtl`]:"rtl"===K,[`${V}-${G}`]:Y,[`${V}-in-form-item`]:es},ak(V,eu,el),U,null==H?void 0:H.className,a,l,et,Q,ee),eS=h.useMemo(()=>void 0!==f?f:"rtl"===K?"bottomRight":"bottomLeft",[f,K]),[ek]=(0,tt.Cn)("SelectLike",null==I?void 0:I.zIndex);return J(h.createElement(aS,Object.assign({ref:t,virtual:z,showSearch:null==H?void 0:H.showSearch},eg,{style:Object.assign(Object.assign({},null==H?void 0:H.style),E),dropdownMatchSelectWidth:ei,transitionName:(0,nt.m)(q,"slide-up",N),builtinPlacements:aL(x,B),listHeight:d,listItemHeight:W,mode:en,prefixCls:V,placement:eS,direction:K,prefix:T,suffixIcon:ed,menuItemSelectedIcon:ef,removeIcon:eh,allowClear:em,notFoundContent:r,className:ex,getPopupContainer:s||j,dropdownClassName:ev,disabled:ew,dropdownStyle:Object.assign(Object.assign({},I),{zIndex:ek}),maxCount:er?R:void 0,tagRender:er?Z:void 0})))},lN=h.forwardRef(lI),lZ=o$(lN);lN.SECRET_COMBOBOX_MODE_DO_NOT_USE=lM,lN.Option=iP,lN.OptGroup=iR,lN._InternalPanelDoNotUseOrYouWillBeFired=lZ;let lR=lN,{Option:lT}=lR;function lP(e){return(null==e?void 0:e.type)&&(e.type.isSelectOption||e.type.isSelectOptGroup)}let lj=(e,t)=>{var n;let r,o,{prefixCls:i,className:a,popupClassName:l,dropdownClassName:s,children:c,dataSource:u}=e,d=(0,oS.Z)(c);1===d.length&&h.isValidElement(d[0])&&!lP(d[0])&&([r]=d);let f=r?()=>r:void 0;o=d.length&&lP(d[0])?c:u?u.map(e=>{if(h.isValidElement(e))return e;switch(typeof e){case"string":return h.createElement(lT,{key:e,value:e},e);case"object":{let{value:t}=e;return h.createElement(lT,{key:t,value:t},e.text)}default:return}}):[];let{getPrefixCls:p}=h.useContext(S.E_),m=p("select",i),[v]=(0,tt.Cn)("SelectLike",null==(n=e.dropdownStyle)?void 0:n.zIndex);return h.createElement(lR,Object.assign({ref:t,suffixIcon:null},(0,b.Z)(e,["dataSource","dropdownClassName"]),{prefixCls:m,popupClassName:l||s,dropdownStyle:Object.assign(Object.assign({},e.dropdownStyle),{zIndex:v}),className:g()(`${m}-auto-complete`,a),mode:lR.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:f}),o)},lA=h.forwardRef(lj),lD=o$(lA,void 0,void 0,e=>(0,b.Z)(e,["visible"]));lA.Option=lT,lA._InternalPanelDoNotUseOrYouWillBeFired=lD;let l_=lA,lz=["xxl","xl","lg","md","sm","xs"],lL=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),lB=e=>{let t=e,n=[].concat(lz).reverse();return n.forEach((e,r)=>{let o=e.toUpperCase(),i=`screen${o}Min`,a=`screen${o}`;if(!(t[i]<=t[a]))throw Error(`${i}<=${a} fails : !(${t[i]}<=${t[a]})`);if(r{let e=new Map,n=-1,r={};return{matchHandlers:{},dispatch:t=>(r=t,e.forEach(e=>e(r)),e.size>=1),subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(r),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},unregister(){Object.keys(t).forEach(e=>{let n=t[e],r=this.matchHandlers[n];null==r||r.mql.removeListener(null==r?void 0:r.listener)}),e.clear()},register(){Object.keys(t).forEach(e=>{let n=t[e],o=t=>{let{matches:n}=t;this.dispatch(Object.assign(Object.assign({},r),{[e]:n}))},i=window.matchMedia(n);i.addListener(o),this.matchHandlers[n]={mql:i,listener:o},o(i)})},responsiveMap:t}},[e])}let lF=(e,t)=>{if(t&&"object"==typeof t)for(let n=0;n0)||void 0===arguments[0]||arguments[0],t=(0,h.useRef)({}),n=(0,lW.Z)(),r=lH();return(0,oE.Z)(()=>{let o=r.subscribe(r=>{t.current=r,e&&n()});return()=>r.unsubscribe(o)},[]),t.current},lq=h.createContext({}),lK=e=>{let{antCls:t,componentCls:n,iconCls:r,avatarBg:o,avatarColor:i,containerSize:a,containerSizeLG:l,containerSizeSM:s,textFontSize:c,textFontSizeLG:u,textFontSizeSM:d,borderRadius:f,borderRadiusLG:h,borderRadiusSM:p,lineWidth:m,lineType:g}=e,v=(e,t,o)=>({width:e,height:e,borderRadius:"50%",[`&${n}-square`]:{borderRadius:o},[`&${n}-icon`]:{fontSize:t,[`> ${r}`]:{margin:0}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:i,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:o,border:`${(0,G.bf)(m)} ${g} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),v(a,c,f)),{"&-lg":Object.assign({},v(l,u,h)),"&-sm":Object.assign({},v(s,d,p)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},lX=e=>{let{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:o}=e;return{[`${t}-group`]:{display:"inline-flex",[t]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:o}}}},lU=e=>{let{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:o,fontSizeLG:i,fontSizeXL:a,fontSizeHeading3:l,marginXS:s,marginXXS:c,colorBorderBg:u}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:Math.round((i+a)/2),textFontSizeLG:l,textFontSizeSM:o,groupSpace:c,groupOverlapping:-s,groupBorderColor:u}},lG=(0,k.I$)("Avatar",e=>{let{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=(0,eI.IX)(e,{avatarBg:n,avatarColor:t});return[lK(r),lX(r)]},lU);var lY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let lQ=(e,t)=>{let n,[r,o]=h.useState(1),[i,a]=h.useState(!1),[l,s]=h.useState(!0),c=h.useRef(null),u=h.useRef(null),d=(0,X.sQ)(t,c),{getPrefixCls:f,avatar:p}=h.useContext(S.E_),m=h.useContext(lq),b=()=>{if(!u.current||!c.current)return;let t=u.current.offsetWidth,n=c.current.offsetWidth;if(0!==t&&0!==n){let{gap:r=4}=e;2*r{a(!0)},[]),h.useEffect(()=>{s(!0),o(1)},[e.src]),h.useEffect(b,[e.gap]);let y=()=>{let{onError:t}=e;!1!==(null==t?void 0:t())&&s(!1)},{prefixCls:w,shape:x,size:k,src:C,srcSet:$,icon:E,className:O,rootClassName:M,alt:I,draggable:N,children:Z,crossOrigin:R}=e,T=lY(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),P=(0,aj.Z)(e=>{var t,n;return null!=(n=null!=(t=null!=k?k:null==m?void 0:m.size)?t:e)?n:"default"}),j=lV(Object.keys("object"==typeof P&&P||{}).some(e=>["xs","sm","md","lg","xl","xxl"].includes(e))),A=h.useMemo(()=>{if("object"!=typeof P)return{};let e=P[lz.find(e=>j[e])];return e?{width:e,height:e,fontSize:e&&(E||Z)?e/2:18}:{}},[j,P]),D=f("avatar",w),_=eE(D),[z,L,B]=lG(D,_),H=g()({[`${D}-lg`]:"large"===P,[`${D}-sm`]:"small"===P}),F=h.isValidElement(C),W=x||(null==m?void 0:m.shape)||"circle",V=g()(D,H,null==p?void 0:p.className,`${D}-${W}`,{[`${D}-image`]:F||C&&l,[`${D}-icon`]:!!E},B,_,O,M,L),q="number"==typeof P?{width:P,height:P,fontSize:E?P/2:18}:{};if("string"==typeof C&&l)n=h.createElement("img",{src:C,draggable:N,srcSet:$,onError:y,alt:I,crossOrigin:R});else if(F)n=C;else if(E)n=E;else if(i||1!==r){let e=`scale(${r})`,t={msTransform:e,WebkitTransform:e,transform:e};n=h.createElement(v.Z,{onResize:b},h.createElement("span",{className:`${D}-string`,ref:u,style:Object.assign({},t)},Z))}else n=h.createElement("span",{className:`${D}-string`,style:{opacity:0},ref:u},Z);return delete T.onError,delete T.gap,z(h.createElement("span",Object.assign({},T,{style:Object.assign(Object.assign(Object.assign(Object.assign({},q),A),null==p?void 0:p.style),T.style),className:V,ref:d}),n))},lJ=h.forwardRef(lQ),l0=e=>e?"function"==typeof e?e():e:null;var l1=n(65049),l2=n(53844),l4=n(97414),l3=n(79511),l5=n(8796);let l8=e=>{let{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:o,innerPadding:i,boxShadowSecondary:a,colorTextHeading:l,borderRadiusLG:s,zIndexPopup:c,titleMarginBottom:u,colorBgElevated:d,popoverBg:f,titleBorderBottom:h,innerContentPadding:p,titlePadding:m}=e;return[{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:c,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:"var(--valid-offset-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":d,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:f,backgroundClip:"padding-box",borderRadius:s,boxShadow:a,padding:i},[`${t}-title`]:{minWidth:r,marginBottom:u,color:l,fontWeight:o,borderBottom:h,padding:m},[`${t}-inner-content`]:{color:n,padding:p}})},(0,l4.ZP)(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},l6=e=>{let{componentCls:t}=e;return{[t]:l5.i.map(n=>{let r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},l7=e=>{let{lineWidth:t,controlHeight:n,fontHeight:r,padding:o,wireframe:i,zIndexPopupBase:a,borderRadiusLG:l,marginXS:s,lineType:c,colorSplit:u,paddingSM:d}=e,f=n-r,h=f/2,p=f/2-t,m=o;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:a+30},(0,l3.w)(e)),(0,l4.wZ)({contentRadius:l,limitVerticalRadius:!0})),{innerPadding:12*!i,titleMarginBottom:i?0:s,titlePadding:i?`${h}px ${m}px ${p}px`:0,titleBorderBottom:i?`${t}px ${c} ${u}`:"none",innerContentPadding:i?`${d}px ${m}px`:0})},l9=(0,k.I$)("Popover",e=>{let{colorBgElevated:t,colorText:n}=e,r=(0,eI.IX)(e,{popoverBg:t,popoverColor:n});return[l8(r),l6(r),(0,rg._y)(r,"zoom-big")]},l7,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var se=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let st=e=>{let{title:t,content:n,prefixCls:r}=e;return t||n?h.createElement(h.Fragment,null,t&&h.createElement("div",{className:`${r}-title`},t),n&&h.createElement("div",{className:`${r}-inner-content`},n)):null},sn=e=>{let{hashId:t,prefixCls:n,className:r,style:o,placement:i="top",title:a,content:l,children:s}=e,c=l0(a),u=l0(l),d=g()(t,n,`${n}-pure`,`${n}-placement-${i}`,r);return h.createElement("div",{className:d,style:o},h.createElement("div",{className:`${n}-arrow`}),h.createElement(l2.G,Object.assign({},e,{className:t,prefixCls:n}),s||h.createElement(st,{prefixCls:n,title:c,content:u})))},sr=e=>{let{prefixCls:t,className:n}=e,r=se(e,["prefixCls","className"]),{getPrefixCls:o}=h.useContext(S.E_),i=o("popover",t),[a,l,s]=l9(i);return a(h.createElement(sn,Object.assign({},r,{prefixCls:i,hashId:l,className:g()(n,s)})))};var so=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let si=h.forwardRef((e,t)=>{var n,r;let{prefixCls:o,title:i,content:a,overlayClassName:l,placement:s="top",trigger:c="hover",children:u,mouseEnterDelay:d=.1,mouseLeaveDelay:f=.1,onOpenChange:p,overlayStyle:m={}}=e,v=so(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:b}=h.useContext(S.E_),y=b("popover",o),[w,x,k]=l9(y),C=b(),$=g()(l,x,k),[E,O]=(0,ok.Z)(!1,{value:null!=(n=e.open)?n:e.visible,defaultValue:null!=(r=e.defaultOpen)?r:e.defaultVisible}),M=(e,t)=>{O(e,!0),null==p||p(e,t)},I=e=>{e.keyCode===eK.Z.ESC&&M(!1,e)},N=e=>{M(e)},Z=l0(i),R=l0(a);return w(h.createElement(l1.Z,Object.assign({placement:s,trigger:c,mouseEnterDelay:d,mouseLeaveDelay:f,overlayStyle:m},v,{prefixCls:y,overlayClassName:$,ref:t,open:E,onOpenChange:N,overlay:Z||R?h.createElement(st,{prefixCls:y,title:Z,content:R}):null,transitionName:(0,nt.m)(C,"zoom-big",v.transitionName),"data-popover-inject":!0}),(0,U.Tm)(u,{onKeyDown:e=>{var t,n;h.isValidElement(u)&&(null==(n=null==u?void 0:(t=u.props).onKeyDown)||n.call(t,e)),I(e)}})))});si._InternalPanelDoNotUseOrYouWillBeFired=sr;let sa=si,sl=e=>{let{size:t,shape:n}=h.useContext(lq),r=h.useMemo(()=>({size:e.size||t,shape:e.shape||n}),[e.size,e.shape,t,n]);return h.createElement(lq.Provider,{value:r},e.children)},ss=e=>{var t,n,r;let{getPrefixCls:o,direction:i}=h.useContext(S.E_),{prefixCls:a,className:l,rootClassName:s,style:c,maxCount:u,maxStyle:d,size:f,shape:p,maxPopoverPlacement:m,maxPopoverTrigger:v,children:b,max:y}=e,w=o("avatar",a),x=`${w}-group`,k=eE(w),[C,$,E]=lG(w,k),O=g()(x,{[`${x}-rtl`]:"rtl"===i},E,k,l,s,$),M=(0,oS.Z)(b).map((e,t)=>(0,U.Tm)(e,{key:`avatar-key-${t}`})),I=(null==y?void 0:y.count)||u,N=M.length;if(I&&I{let{componentCls:t,backTopFontSize:n,backTopSize:r,zIndexPopup:o}=e;return{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"fixed",insetInlineEnd:e.backTopInlineEnd,insetBlockEnd:e.backTopBlockEnd,zIndex:o,width:40,height:40,cursor:"pointer","&:empty":{display:"none"},[`${t}-content`]:{width:r,height:r,overflow:"hidden",color:e.backTopColor,textAlign:"center",backgroundColor:e.backTopBackground,borderRadius:r,transition:`all ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.backTopHoverBackground,transition:`all ${e.motionDurationMid}`}},[`${t}-icon`]:{fontSize:n,lineHeight:(0,G.bf)(r)}})}},sm=e=>{let{componentCls:t,screenMD:n,screenXS:r,backTopInlineEndMD:o,backTopInlineEndXS:i}=e;return{[`@media (max-width: ${(0,G.bf)(n)})`]:{[t]:{insetInlineEnd:o}},[`@media (max-width: ${(0,G.bf)(r)})`]:{[t]:{insetInlineEnd:i}}}},sg=e=>({zIndexPopup:e.zIndexBase+10}),sv=(0,k.I$)("BackTop",e=>{let{fontSizeHeading3:t,colorTextDescription:n,colorTextLightSolid:r,colorText:o,controlHeightLG:i,calc:a}=e,l=(0,eI.IX)(e,{backTopBackground:n,backTopColor:r,backTopHoverBackground:o,backTopFontSize:t,backTopSize:i,backTopBlockEnd:a(i).mul(1.25).equal(),backTopInlineEnd:a(i).mul(2.5).equal(),backTopInlineEndMD:a(i).mul(1.5).equal(),backTopInlineEndXS:a(i).mul(.5).equal()});return[sp(l),sm(l)]},sg),sb=e=>{let{prefixCls:t,className:n,rootClassName:r,visibilityHeight:o=400,target:i,onClick:a,duration:l=450}=e,[s,c]=h.useState(0===o),u=h.useRef(null),d=()=>{var e;return(null==(e=u.current)?void 0:e.ownerDocument)||window},f=x(e=>{c(eS(e.target)>=o)});h.useEffect(()=>{let e=(i||d)();return f({target:e}),null==e||e.addEventListener("scroll",f),()=>{f.cancel(),null==e||e.removeEventListener("scroll",f)}},[i]);let p=e=>{eC(0,{getContainer:i||d,duration:l}),null==a||a(e)},{getPrefixCls:m,direction:v}=h.useContext(S.E_),y=m("back-top",t),w=m(),[k,C,$]=sv(y),E=g()(C,$,y,{[`${y}-rtl`]:"rtl"===v},n,r),O=(0,b.Z)(e,["prefixCls","className","rootClassName","children","visibilityHeight","target"]),M=h.createElement("div",{className:`${y}-content`},h.createElement("div",{className:`${y}-icon`},h.createElement(sh,null)));return k(h.createElement("div",Object.assign({},O,{className:E,onClick:p,ref:u}),h.createElement(q.ZP,{visible:s,motionName:`${w}-fade`},t=>{let{className:n}=t;return(0,U.Tm)(e.children||M,e=>{let{className:t}=e;return{className:g()(n,t)}})})))};var sy=n(98787),sw=n(98719);let sx=new G.E4("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),sS=new G.E4("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),sk=new G.E4("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),sC=new G.E4("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),s$=new G.E4("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),sE=new G.E4("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),sO=e=>{let{componentCls:t,iconCls:n,antCls:r,badgeShadowSize:o,textFontSize:i,textFontSizeSM:a,statusSize:l,dotSize:s,textFontWeight:c,indicatorHeight:u,indicatorHeightSM:d,marginXS:f,calc:h}=e,p=`${r}-scroll-number`,m=(0,sw.Z)(e,(e,n)=>{let{darkColor:r}=n;return{[`&${t} ${t}-color-${e}`]:{background:r,[`&:not(${t}-count)`]:{color:r},"a:hover &":{background:r}}}});return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:u,height:u,color:e.badgeTextColor,fontWeight:c,fontSize:i,lineHeight:(0,G.bf)(u),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:h(u).div(2).equal(),boxShadow:`0 0 0 ${(0,G.bf)(o)} ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:d,height:d,fontSize:a,lineHeight:(0,G.bf)(d),borderRadius:h(d).div(2).equal()},[`${t}-multiple-words`]:{padding:`0 ${(0,G.bf)(e.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:s,minWidth:s,height:s,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${(0,G.bf)(o)} ${e.badgeShadowColor}`},[`${t}-count, ${t}-dot, ${p}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:sE,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:l,height:l,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorInfo,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:o,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:sx,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:f,color:e.colorText,fontSize:e.fontSize}}}),m),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:sS,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:sk,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:sC,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:s$,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${p}-custom-component, ${t}-count`]:{transform:"none"},[`${p}-custom-component, ${p}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[p]:{overflow:"hidden",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack}`,[`${p}-only`]:{position:"relative",display:"inline-block",height:u,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${p}-only-unit`]:{height:u,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${p}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${p}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},sM=e=>{let{fontHeight:t,lineWidth:n,marginXS:r,colorBorderBg:o}=e,i=t,a=n,l=e.colorTextLightSolid,s=e.colorError,c=e.colorErrorHover;return(0,eI.IX)(e,{badgeFontHeight:i,badgeShadowSize:a,badgeTextColor:l,badgeColor:s,badgeColorHover:c,badgeShadowColor:o,badgeProcessingDuration:"1.2s",badgeRibbonOffset:r,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},sI=e=>{let{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:o}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*n)-2*o,indicatorHeightSM:t,dotSize:r/2,textFontSize:r,textFontSizeSM:r,textFontWeight:"normal",statusSize:r/2}},sN=(0,k.I$)("Badge",e=>sO(sM(e)),sI),sZ=e=>{let{antCls:t,badgeFontHeight:n,marginXS:r,badgeRibbonOffset:o,calc:i}=e,a=`${t}-ribbon`,l=`${t}-ribbon-wrapper`,s=(0,sw.Z)(e,(e,t)=>{let{darkColor:n}=t;return{[`&${a}-color-${e}`]:{background:n,color:n}}});return{[l]:{position:"relative"},[a]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"absolute",top:r,padding:`0 ${(0,G.bf)(e.paddingXS)}`,color:e.colorPrimary,lineHeight:(0,G.bf)(n),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${a}-text`]:{color:e.badgeTextColor},[`${a}-corner`]:{position:"absolute",top:"100%",width:o,height:o,color:"currentcolor",border:`${(0,G.bf)(i(o).div(2).equal())} solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),s),{[`&${a}-placement-end`]:{insetInlineEnd:i(o).mul(-1).equal(),borderEndEndRadius:0,[`${a}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${a}-placement-start`]:{insetInlineStart:i(o).mul(-1).equal(),borderEndStartRadius:0,[`${a}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},sR=(0,k.I$)(["Badge","Ribbon"],e=>sZ(sM(e)),sI),sT=e=>{let{className:t,prefixCls:n,style:r,color:o,children:i,text:a,placement:l="end",rootClassName:s}=e,{getPrefixCls:c,direction:u}=h.useContext(S.E_),d=c("ribbon",n),f=`${d}-wrapper`,[p,m,v]=sR(d,f),b=(0,sy.o2)(o,!1),y=g()(d,`${d}-placement-${l}`,{[`${d}-rtl`]:"rtl"===u,[`${d}-color-${o}`]:b},t),w={},x={};return o&&!b&&(w.background=o,x.color=o),p(h.createElement("div",{className:g()(f,s,m,v)},i,h.createElement("div",{className:g()(y,m),style:Object.assign(Object.assign({},w),r)},h.createElement("span",{className:`${d}-text`},a),h.createElement("div",{className:`${d}-corner`,style:x}))))},sP=e=>{let t,{prefixCls:n,value:r,current:o,offset:i=0}=e;return i&&(t={position:"absolute",top:`${i}00%`,left:0}),h.createElement("span",{style:t,className:g()(`${n}-only-unit`,{current:o})},r)};function sj(e,t,n){let r=e,o=0;for(;(r+10)%10!==t;)r+=n,o+=n;return o}let sA=e=>{let t,n,{prefixCls:r,count:o,value:i}=e,a=Number(i),l=Math.abs(o),[s,c]=h.useState(a),[u,d]=h.useState(l),f=()=>{c(a),d(l)};if(h.useEffect(()=>{let e=setTimeout(f,1e3);return()=>clearTimeout(e)},[a]),s===a||Number.isNaN(a)||Number.isNaN(s))t=[h.createElement(sP,Object.assign({},e,{key:a,current:!0}))],n={transition:"none"};else{t=[];let r=a+10,o=[];for(let e=a;e<=r;e+=1)o.push(e);let i=ue%10===s);t=(i<0?o.slice(0,c+1):o.slice(c)).map((t,n)=>{let r=t%10;return h.createElement(sP,Object.assign({},e,{key:t,value:r,offset:i<0?n-c:n,current:n===c}))}),n={transform:`translateY(${-sj(s,a,i)}00%)`}}return h.createElement("span",{className:`${r}-only`,style:n,onTransitionEnd:f},t)};var sD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let s_=h.forwardRef((e,t)=>{let{prefixCls:n,count:r,className:o,motionClassName:i,style:a,title:l,show:s,component:c="sup",children:u}=e,d=sD(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:f}=h.useContext(S.E_),p=f("scroll-number",n),m=Object.assign(Object.assign({},d),{"data-show":s,style:a,className:g()(p,o,i),title:l}),v=r;if(r&&Number(r)%1==0){let e=String(r).split("");v=h.createElement("bdi",null,e.map((t,n)=>h.createElement(sA,{prefixCls:p,count:Number(r),value:t,key:e.length-n})))}return((null==a?void 0:a.borderColor)&&(m.style=Object.assign(Object.assign({},a),{boxShadow:`0 0 0 1px ${a.borderColor} inset`})),u)?(0,U.Tm)(u,e=>({className:g()(`${p}-custom-component`,null==e?void 0:e.className,i)})):h.createElement(c,Object.assign({},m,{ref:t}),v)});var sz=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let sL=h.forwardRef((e,t)=>{var n,r,o,i,a;let{prefixCls:l,scrollNumberPrefixCls:s,children:c,status:u,text:d,color:f,count:p=null,overflowCount:m=99,dot:v=!1,size:b="default",title:y,offset:w,style:x,className:k,rootClassName:C,classNames:$,styles:E,showZero:O=!1}=e,M=sz(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:I,direction:N,badge:Z}=h.useContext(S.E_),R=I("badge",l),[T,P,j]=sN(R),A=p>m?`${m}+`:p,D="0"===A||0===A,_=null===p||D&&!O,z=(null!=u||null!=f)&&_,L=v&&!D,B=L?"":A,H=(0,h.useMemo)(()=>(null==B||""===B||D&&!O)&&!L,[B,D,O,L]),F=(0,h.useRef)(p);H||(F.current=p);let W=F.current,V=(0,h.useRef)(B);H||(V.current=B);let K=V.current,X=(0,h.useRef)(L);H||(X.current=L);let G=(0,h.useMemo)(()=>{if(!w)return Object.assign(Object.assign({},null==Z?void 0:Z.style),x);let e={marginTop:w[1]};return"rtl"===N?e.left=parseInt(w[0],10):e.right=-parseInt(w[0],10),Object.assign(Object.assign(Object.assign({},e),null==Z?void 0:Z.style),x)},[N,w,x,null==Z?void 0:Z.style]),Y=null!=y?y:"string"==typeof W||"number"==typeof W?W:void 0,Q=H||!d?null:h.createElement("span",{className:`${R}-status-text`},d),J=W&&"object"==typeof W?(0,U.Tm)(W,e=>({style:Object.assign(Object.assign({},G),e.style)})):void 0,ee=(0,sy.o2)(f,!1),et=g()(null==$?void 0:$.indicator,null==(n=null==Z?void 0:Z.classNames)?void 0:n.indicator,{[`${R}-status-dot`]:z,[`${R}-status-${u}`]:!!u,[`${R}-color-${f}`]:ee}),en={};f&&!ee&&(en.color=f,en.background=f);let er=g()(R,{[`${R}-status`]:z,[`${R}-not-a-wrapper`]:!c,[`${R}-rtl`]:"rtl"===N},k,C,null==Z?void 0:Z.className,null==(r=null==Z?void 0:Z.classNames)?void 0:r.root,null==$?void 0:$.root,P,j);if(!c&&z){let e=G.color;return T(h.createElement("span",Object.assign({},M,{className:er,style:Object.assign(Object.assign(Object.assign({},null==E?void 0:E.root),null==(o=null==Z?void 0:Z.styles)?void 0:o.root),G)}),h.createElement("span",{className:et,style:Object.assign(Object.assign(Object.assign({},null==E?void 0:E.indicator),null==(i=null==Z?void 0:Z.styles)?void 0:i.indicator),en)}),d&&h.createElement("span",{style:{color:e},className:`${R}-status-text`},d)))}return T(h.createElement("span",Object.assign({ref:t},M,{className:er,style:Object.assign(Object.assign({},null==(a=null==Z?void 0:Z.styles)?void 0:a.root),null==E?void 0:E.root)}),c,h.createElement(q.ZP,{visible:!H,motionName:`${R}-zoom`,motionAppear:!1,motionDeadline:1e3},e=>{var t,n;let{className:r}=e,o=I("scroll-number",s),i=X.current,a=g()(null==$?void 0:$.indicator,null==(t=null==Z?void 0:Z.classNames)?void 0:t.indicator,{[`${R}-dot`]:i,[`${R}-count`]:!i,[`${R}-count-sm`]:"small"===b,[`${R}-multiple-words`]:!i&&K&&K.toString().length>1,[`${R}-status-${u}`]:!!u,[`${R}-color-${f}`]:ee}),l=Object.assign(Object.assign(Object.assign({},null==E?void 0:E.indicator),null==(n=null==Z?void 0:Z.styles)?void 0:n.indicator),G);return f&&!ee&&((l=l||{}).background=f),h.createElement(s_,{prefixCls:o,show:!H,motionClassName:r,className:a,count:K,title:Y,style:l,key:"scrollNumber"},J)}),Q))});sL.Ribbon=sT;let sB=sL;var sH=n(73805),sF=eK.Z.ESC,sW=eK.Z.TAB;function sV(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,o=e.autoFocus,i=e.overlayRef,a=h.useRef(!1),l=function(){if(t){var e,o;null==(e=n.current)||null==(o=e.focus)||o.call(e),null==r||r(!1)}},s=function(){var e;return null!=(e=i.current)&&!!e.focus&&(i.current.focus(),a.current=!0,!0)},c=function(e){switch(e.keyCode){case sF:l();break;case sW:var t=!1;a.current||(t=s()),t?e.preventDefault():l()}};h.useEffect(function(){return t?(window.addEventListener("keydown",c),o&&(0,w.Z)(s,3),function(){window.removeEventListener("keydown",c),a.current=!1}):function(){a.current=!1}},[t])}let sq=(0,h.forwardRef)(function(e,t){var n=e.overlay,r=e.arrow,o=e.prefixCls,i=(0,h.useMemo)(function(){var e;return"function"==typeof n?n():n},[n]),a=(0,X.sQ)(t,(0,X.C4)(i));return p().createElement(p().Fragment,null,r&&p().createElement("div",{className:"".concat(o,"-arrow")}),p().cloneElement(i,{ref:(0,X.Yr)(i)?a:void 0}))});var sK={adjustX:1,adjustY:1},sX=[0,0];let sU={topLeft:{points:["bl","tl"],overflow:sK,offset:[0,-4],targetOffset:sX},top:{points:["bc","tc"],overflow:sK,offset:[0,-4],targetOffset:sX},topRight:{points:["br","tr"],overflow:sK,offset:[0,-4],targetOffset:sX},bottomLeft:{points:["tl","bl"],overflow:sK,offset:[0,4],targetOffset:sX},bottom:{points:["tc","bc"],overflow:sK,offset:[0,4],targetOffset:sX},bottomRight:{points:["tr","br"],overflow:sK,offset:[0,4],targetOffset:sX}};var sG=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function sY(e,t){var n,r=e.arrow,o=void 0!==r&&r,i=e.prefixCls,a=void 0===i?"rc-dropdown":i,l=e.transitionName,s=e.animation,c=e.align,u=e.placement,d=void 0===u?"bottomLeft":u,f=e.placements,h=void 0===f?sU:f,m=e.getPopupContainer,v=e.showAction,b=e.hideAction,y=e.overlayClassName,w=e.overlayStyle,x=e.visible,S=e.trigger,k=void 0===S?["hover"]:S,C=e.autoFocus,$=e.overlay,E=e.children,O=e.onVisibleChange,M=(0,eB.Z)(e,sG),I=p().useState(),N=(0,eL.Z)(I,2),Z=N[0],R=N[1],T="visible"in e?x:Z,P=p().useRef(null),j=p().useRef(null),A=p().useRef(null);p().useImperativeHandle(t,function(){return P.current});var D=function(e){R(e),null==O||O(e)};sV({visible:T,triggerRef:A,onVisibleChange:D,autoFocus:C,overlayRef:j});var z=function(t){var n=e.onOverlayClick;R(!1),n&&n(t)},L=function(){return p().createElement(sq,{ref:j,overlay:$,prefixCls:a,arrow:o})},B=function(){return"function"==typeof $?L:L()},H=function(){var t=e.minOverlayWidthMatchTrigger,n=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?t:!n},F=function(){var t=e.openClassName;return void 0!==t?t:"".concat(a,"-open")},W=p().cloneElement(E,{className:g()(null==(n=E.props)?void 0:n.className,T&&F()),ref:(0,X.Yr)(E)?(0,X.sQ)(A,(0,X.C4)(E)):void 0}),V=b;return V||-1===k.indexOf("contextMenu")||(V=["click"]),p().createElement(ih.Z,(0,_.Z)({builtinPlacements:h},M,{prefixCls:a,ref:P,popupClassName:g()(y,(0,eV.Z)({},"".concat(a,"-show-arrow"),o)),popupStyle:w,action:k,showAction:v,hideAction:V,popupPlacement:d,popupAlign:c,popupTransitionName:l,popupAnimation:s,popupVisible:T,stretch:H()?"minWidth":"",popup:B(),onPopupVisibleChange:D,onPopupClick:z,getPopupContainer:m}),W)}let sQ=p().forwardRef(sY),sJ=e=>"object"!=typeof e&&"function"!=typeof e||null===e;var s0=n(80636),s1=h.createContext(null);function s2(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function s4(e){return s2(h.useContext(s1),e)}var s3=["children","locked"],s5=h.createContext(null);function s8(e,t){var n=(0,eH.Z)({},e);return Object.keys(t).forEach(function(e){var r=t[e];void 0!==r&&(n[e]=r)}),n}function s6(e){var t=e.children,n=e.locked,r=(0,eB.Z)(e,s3),o=h.useContext(s5),i=(0,tS.Z)(function(){return s8(o,r)},[o,r],function(e,t){return!n&&(e[0]!==t[0]||!(0,tq.Z)(e[1],t[1],!0))});return h.createElement(s5.Provider,{value:i},t)}var s7=[],s9=h.createContext(null);function ce(){return h.useContext(s9)}var ct=h.createContext(s7);function cn(e){var t=h.useContext(ct);return h.useMemo(function(){return void 0!==e?[].concat((0,y.Z)(t),[e]):t},[t,e])}var cr=h.createContext(null);let co=h.createContext({});var ci=n(5110);function ca(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,ci.Z)(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),a=null;return o&&!Number.isNaN(i)?a=i:r&&null===a&&(a=0),r&&e.disabled&&(a=null),null!==a&&(a>=0||t&&a<0)}return!1}function cl(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,y.Z)(e.querySelectorAll("*")).filter(function(e){return ca(e,t)});return ca(e,t)&&n.unshift(e),n}var cs=eK.Z.LEFT,cc=eK.Z.RIGHT,cu=eK.Z.UP,cd=eK.Z.DOWN,cf=eK.Z.ENTER,ch=eK.Z.ESC,cp=eK.Z.HOME,cm=eK.Z.END,cg=[cu,cd,cs,cc];function cv(e,t,n,r){var o,i="prev",a="next",l="children",s="parent";if("inline"===e&&r===cf)return{inlineTrigger:!0};var c=(0,eV.Z)((0,eV.Z)({},cu,i),cd,a),u=(0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)({},cs,n?a:i),cc,n?i:a),cd,l),cf,l),d=(0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)({},cu,i),cd,a),cf,l),ch,s),cs,n?l:s),cc,n?s:l);switch(null==(o=({inline:c,horizontal:u,vertical:d,inlineSub:c,horizontalSub:d,verticalSub:d})["".concat(e).concat(t?"":"Sub")])?void 0:o[r]){case i:return{offset:-1,sibling:!0};case a:return{offset:1,sibling:!0};case s:return{offset:-1,sibling:!1};case l:return{offset:1,sibling:!1};default:return null}}function cb(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function cy(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function cw(e,t){return cl(e,!0).filter(function(e){return t.has(e)})}function cx(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=cw(e,t),i=o.length,a=o.findIndex(function(e){return n===e});return r<0?-1===a?a=i-1:a-=1:r>0&&(a+=1),o[a=(a+i)%i]}var cS=function(e,t){var n=new Set,r=new Map,o=new Map;return e.forEach(function(e){var i=document.querySelector("[data-menu-id='".concat(s2(t,e),"']"));i&&(n.add(i),o.set(i,e),r.set(e,i))}),{elements:n,key2element:r,element2key:o}};function ck(e,t,n,r,o,i,a,l,s,c){var u=h.useRef(),d=h.useRef();d.current=t;var f=function(){w.Z.cancel(u.current)};return h.useEffect(function(){return function(){f()}},[]),function(h){var p=h.which;if([].concat(cg,[cf,ch,cp,cm]).includes(p)){var m=i(),g=cS(m,r),v=g,b=v.elements,y=v.key2element,x=v.element2key,S=cy(y.get(t),b),k=x.get(S),C=cv(e,1===a(k,!0).length,n,p);if(!C&&p!==cp&&p!==cm)return;(cg.includes(p)||[cp,cm].includes(p))&&h.preventDefault();var $=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var r=x.get(e);l(r),f(),u.current=(0,w.Z)(function(){d.current===r&&t.focus()})}};if([cp,cm].includes(p)||C.sibling||!S){var E,O=S&&"inline"!==e?cb(S):o.current,M=cw(O,b);$(E=p===cp?M[0]:p===cm?M[M.length-1]:cx(O,b,S,C.offset))}else if(C.inlineTrigger)s(k);else if(C.offset>0)s(k,!0),f(),u.current=(0,w.Z)(function(){g=cS(m,r);var e=S.getAttribute("aria-controls");$(cx(document.getElementById(e),g.elements))},5);else if(C.offset<0){var I=a(k,!0),N=I[I.length-2],Z=y.get(N);s(N,!1),$(Z)}}null==c||c(h)}}function cC(e){Promise.resolve().then(e)}var c$="__RC_UTIL_PATH_SPLIT__",cE=function(e){return e.join(c$)},cO=function(e){return e.split(c$)},cM="rc-menu-more";function cI(){var e=h.useState({}),t=(0,eL.Z)(e,2)[1],n=(0,h.useRef)(new Map),r=(0,h.useRef)(new Map),o=h.useState([]),i=(0,eL.Z)(o,2),a=i[0],l=i[1],s=(0,h.useRef)(0),c=(0,h.useRef)(!1),u=function(){c.current||t({})},d=(0,h.useCallback)(function(e,t){var o=cE(t);r.current.set(o,e),n.current.set(e,o),s.current+=1;var i=s.current;cC(function(){i===s.current&&u()})},[]),f=(0,h.useCallback)(function(e,t){var o=cE(t);r.current.delete(o),n.current.delete(e)},[]),p=(0,h.useCallback)(function(e){l(e)},[]),m=(0,h.useCallback)(function(e,t){var r=cO(n.current.get(e)||"");return t&&a.includes(r[0])&&r.unshift(cM),r},[a]),g=(0,h.useCallback)(function(e,t){return e.filter(function(e){return void 0!==e}).some(function(e){return m(e,!0).includes(t)})},[m]),v=function(){var e=(0,y.Z)(n.current.keys());return a.length&&e.push(cM),e},b=(0,h.useCallback)(function(e){var t="".concat(n.current.get(e)).concat(c$),o=new Set;return(0,y.Z)(r.current.keys()).forEach(function(e){e.startsWith(t)&&o.add(r.current.get(e))}),o},[]);return h.useEffect(function(){return function(){c.current=!0}},[]),{registerPath:d,unregisterPath:f,refreshOverflowKeys:p,isSubPathKey:g,getKeyPath:m,getKeys:v,getSubPathKeys:b}}function cN(e){var t=h.useRef(e);t.current=e;var n=h.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o1&&(y.motionAppear=!1);var w=y.onVisibleChanged;return(y.onVisibleChanged=function(e){return f.current||e||v(!0),null==w?void 0:w(e)},g)?null:h.createElement(s6,{mode:i,locked:!f.current},h.createElement(q.ZP,(0,_.Z)({visible:b},y,{forceRender:s,removeOnLeave:!1,leavedClassName:"".concat(l,"-hidden")}),function(e){var n=e.className,r=e.style;return h.createElement(cG,{id:t,className:n,style:r},o)}))}var c5=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],c8=["active"],c6=h.forwardRef(function(e,t){var n=e.style,r=e.className,o=e.title,i=e.eventKey,a=(e.warnKey,e.disabled),l=e.internalPopupClose,s=e.children,c=e.itemIcon,u=e.expandIcon,d=e.popupClassName,f=e.popupOffset,p=e.popupStyle,m=e.onClick,v=e.onMouseEnter,b=e.onMouseLeave,y=e.onTitleClick,w=e.onTitleMouseEnter,x=e.onTitleMouseLeave,S=(0,eB.Z)(e,c5),k=s4(i),C=h.useContext(s5),$=C.prefixCls,E=C.mode,O=C.openKeys,M=C.disabled,I=C.overflowDisabled,N=C.activeKey,Z=C.selectedKeys,R=C.itemIcon,T=C.expandIcon,P=C.onItemClick,j=C.onOpenChange,A=C.onActive,D=h.useContext(co)._internalRenderSubMenuItem,z=h.useContext(cr).isSubPathKey,L=cn(),B="".concat($,"-submenu"),H=M||a,F=h.useRef(),W=h.useRef(),V=null!=c?c:R,q=null!=u?u:T,K=O.includes(i),X=!I&&K,U=z(Z,i),G=cj(i,H,w,x),Y=G.active,Q=(0,eB.Z)(G,c8),J=h.useState(!1),ee=(0,eL.Z)(J,2),et=ee[0],en=ee[1],er=function(e){H||en(e)},eo=function(e){er(!0),null==v||v({key:i,domEvent:e})},ei=function(e){er(!1),null==b||b({key:i,domEvent:e})},ea=h.useMemo(function(){return Y||"inline"!==E&&(et||z([N],i))},[E,Y,N,et,i,z]),el=cA(L.length),es=function(e){H||(null==y||y({key:i,domEvent:e}),"inline"===E&&j(i,!K))},ec=cN(function(e){null==m||m(cz(e)),P(e)}),eu=function(e){"inline"!==E&&j(i,e)},ed=function(){A(i)},ef=k&&"".concat(k,"-popup"),eh=h.useMemo(function(){return h.createElement(cD,{icon:"horizontal"!==E?q:void 0,props:(0,eH.Z)((0,eH.Z)({},e),{},{isOpen:X,isSubMenu:!0})},h.createElement("i",{className:"".concat(B,"-arrow")}))},[E,q,e,X,B]),ep=h.createElement("div",(0,_.Z)({role:"menuitem",style:el,className:"".concat(B,"-title"),tabIndex:H?null:-1,ref:F,title:"string"==typeof o?o:null,"data-menu-id":I&&k?null:k,"aria-expanded":X,"aria-haspopup":!0,"aria-controls":ef,"aria-disabled":H,onClick:es,onFocus:ed},Q),o,eh),em=h.useRef(E);if("inline"!==E&&L.length>1?em.current="vertical":em.current=E,!I){var eg=em.current;ep=h.createElement(c4,{mode:eg,prefixCls:B,visible:!l&&X&&"inline"!==E,popupClassName:d,popupOffset:f,popupStyle:p,popup:h.createElement(s6,{mode:"horizontal"===eg?"vertical":eg},h.createElement(cG,{id:ef,ref:W},s)),disabled:H,onVisibleChange:eu},ep)}var ev=h.createElement(o4.Item,(0,_.Z)({ref:t,role:"none"},S,{component:"li",style:n,className:g()(B,"".concat(B,"-").concat(E),r,(0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)({},"".concat(B,"-open"),X),"".concat(B,"-active"),ea),"".concat(B,"-selected"),U),"".concat(B,"-disabled"),H)),onMouseEnter:eo,onMouseLeave:ei}),ep,!I&&h.createElement(c3,{id:ef,open:X,keyPath:L},s));return D&&(ev=D(ev,e,{selected:U,active:ea,open:X,disabled:H})),h.createElement(s6,{onItemClick:ec,mode:"horizontal"===E?"vertical":E,itemIcon:V,expandIcon:q},ev)});let c7=h.forwardRef(function(e,t){var n,r=e.eventKey,o=e.children,i=cn(r),a=cY(o,i),l=ce();return h.useEffect(function(){if(l)return l.registerPath(r,i),function(){l.unregisterPath(r,i)}},[i]),n=l?a:h.createElement(c6,(0,_.Z)({ref:t},e),a),h.createElement(ct.Provider,{value:i},n)});function c9(e){var t=e.className,n=e.style,r=h.useContext(s5).prefixCls;return ce()?null:h.createElement("li",{role:"separator",className:g()("".concat(r,"-item-divider"),t),style:n})}var ue=["className","title","eventKey","children"],ut=h.forwardRef(function(e,t){var n=e.className,r=e.title,o=(e.eventKey,e.children),i=(0,eB.Z)(e,ue),a=h.useContext(s5).prefixCls,l="".concat(a,"-item-group");return h.createElement("li",(0,_.Z)({ref:t,role:"presentation"},i,{onClick:function(e){return e.stopPropagation()},className:g()(l,n)}),h.createElement("div",{role:"presentation",className:"".concat(l,"-title"),title:"string"==typeof r?r:void 0},r),h.createElement("ul",{role:"group",className:"".concat(l,"-list")},o))});let un=h.forwardRef(function(e,t){var n=e.eventKey,r=cY(e.children,cn(n));return ce()?r:h.createElement(ut,(0,_.Z)({ref:t},(0,b.Z)(e,["warnKey"])),r)});var ur=["label","children","key","type","extra"];function uo(e,t,n){var r=t.item,o=t.group,i=t.submenu,a=t.divider;return(e||[]).map(function(e,l){if(e&&"object"===(0,eq.Z)(e)){var s=e,c=s.label,u=s.children,d=s.key,f=s.type,p=s.extra,m=(0,eB.Z)(s,ur),g=null!=d?d:"tmp-".concat(l);return u||"group"===f?"group"===f?h.createElement(o,(0,_.Z)({key:g},m,{title:c}),uo(u,t,n)):h.createElement(i,(0,_.Z)({key:g},m,{title:c}),uo(u,t,n)):"divider"===f?h.createElement(a,(0,_.Z)({key:g},m)):h.createElement(r,(0,_.Z)({key:g},m,{extra:p}),c,(!!p||0===p)&&h.createElement("span",{className:"".concat(n,"-item-extra")},p))}return null}).filter(function(e){return e})}function ui(e,t,n,r,o){var i=e,a=(0,eH.Z)({divider:c9,item:cq,group:un,submenu:c7},r);return t&&(i=uo(t,a,o)),cY(i,n)}var ua=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],ul=[],us=h.forwardRef(function(e,t){var n,r=e,o=r.prefixCls,i=void 0===o?"rc-menu":o,a=r.rootClassName,l=r.style,s=r.className,c=r.tabIndex,u=void 0===c?0:c,d=r.items,f=r.children,p=r.direction,m=r.id,v=r.mode,b=void 0===v?"vertical":v,w=r.inlineCollapsed,x=r.disabled,S=r.disabledOverflow,k=r.subMenuOpenDelay,C=void 0===k?.1:k,$=r.subMenuCloseDelay,E=void 0===$?.1:$,O=r.forceSubMenuRender,M=r.defaultOpenKeys,I=r.openKeys,N=r.activeKey,Z=r.defaultActiveFirst,R=r.selectable,T=void 0===R||R,P=r.multiple,j=void 0!==P&&P,A=r.defaultSelectedKeys,D=r.selectedKeys,z=r.onSelect,L=r.onDeselect,B=r.inlineIndent,H=void 0===B?24:B,F=r.motion,W=r.defaultMotions,V=r.triggerSubMenuAction,q=void 0===V?"hover":V,K=r.builtinPlacements,X=r.itemIcon,U=r.expandIcon,G=r.overflowedIndicator,Y=void 0===G?"...":G,Q=r.overflowedIndicatorPopupClassName,J=r.getPopupContainer,ee=r.onClick,et=r.onOpenChange,en=r.onKeyDown,er=(r.openAnimation,r.openTransitionName,r._internalRenderMenuItem),eo=r._internalRenderSubMenuItem,ei=r._internalComponents,ea=(0,eB.Z)(r,ua),el=h.useMemo(function(){return[ui(f,d,ul,ei,i),ui(f,d,ul,{},i)]},[f,d,ei]),es=(0,eL.Z)(el,2),ec=es[0],eu=es[1],ed=h.useState(!1),ef=(0,eL.Z)(ed,2),eh=ef[0],ep=ef[1],em=h.useRef(),eg=cT(m),ev="rtl"===p,eb=(0,ok.Z)(M,{value:I,postState:function(e){return e||ul}}),ey=(0,eL.Z)(eb,2),ew=ey[0],ex=ey[1],eS=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function n(){ex(e),null==et||et(e)}t?(0,eF.flushSync)(n):n()},ek=h.useState(ew),eC=(0,eL.Z)(ek,2),e$=eC[0],eE=eC[1],eO=h.useRef(!1),eM=h.useMemo(function(){return("inline"===b||"vertical"===b)&&w?["vertical",w]:[b,!1]},[b,w]),eI=(0,eL.Z)(eM,2),eN=eI[0],eZ=eI[1],eR="inline"===eN,eT=h.useState(eN),eP=(0,eL.Z)(eT,2),ej=eP[0],eA=eP[1],eD=h.useState(eZ),e_=(0,eL.Z)(eD,2),ez=e_[0],eW=e_[1];h.useEffect(function(){eA(eN),eW(eZ),eO.current&&(eR?ex(e$):eS(ul))},[eN,eZ]);var eq=h.useState(0),eK=(0,eL.Z)(eq,2),eX=eK[0],eU=eK[1],eG=eX>=ec.length-1||"horizontal"!==ej||S;h.useEffect(function(){eR&&eE(ew)},[ew]),h.useEffect(function(){return eO.current=!0,function(){eO.current=!1}},[]);var eY=cI(),eQ=eY.registerPath,eJ=eY.unregisterPath,e0=eY.refreshOverflowKeys,e1=eY.isSubPathKey,e2=eY.getKeyPath,e4=eY.getKeys,e3=eY.getSubPathKeys,e5=h.useMemo(function(){return{registerPath:eQ,unregisterPath:eJ}},[eQ,eJ]),e8=h.useMemo(function(){return{isSubPathKey:e1}},[e1]);h.useEffect(function(){e0(eG?ul:ec.slice(eX+1).map(function(e){return e.key}))},[eX,eG]);var e6=(0,ok.Z)(N||Z&&(null==(n=ec[0])?void 0:n.key),{value:N}),e7=(0,eL.Z)(e6,2),e9=e7[0],te=e7[1],tt=cN(function(e){te(e)}),tn=cN(function(){te(void 0)});(0,h.useImperativeHandle)(t,function(){return{list:em.current,focus:function(e){var t,n,r=cS(e4(),eg),o=r.elements,i=r.key2element,a=r.element2key,l=cw(em.current,o),s=null!=e9?e9:l[0]?a.get(l[0]):null==(t=ec.find(function(e){return!e.props.disabled}))?void 0:t.key,c=i.get(s);s&&c&&(null==c||null==(n=c.focus)||n.call(c,e))}}});var tr=(0,ok.Z)(A||[],{value:D,postState:function(e){return Array.isArray(e)?e:null==e?ul:[e]}}),to=(0,eL.Z)(tr,2),ti=to[0],ta=to[1],tl=function(e){if(T){var t,n=e.key,r=ti.includes(n);ta(t=j?r?ti.filter(function(e){return e!==n}):[].concat((0,y.Z)(ti),[n]):[n]);var o=(0,eH.Z)((0,eH.Z)({},e),{},{selectedKeys:t});r?null==L||L(o):null==z||z(o)}!j&&ew.length&&"inline"!==ej&&eS(ul)},ts=cN(function(e){null==ee||ee(cz(e)),tl(e)}),tc=cN(function(e,t){var n=ew.filter(function(t){return t!==e});if(t)n.push(e);else if("inline"!==ej){var r=e3(e);n=n.filter(function(e){return!r.has(e)})}(0,tq.Z)(ew,n,!0)||eS(n,!0)}),tu=ck(ej,e9,ev,eg,em,e4,e2,te,function(e,t){var n=null!=t?t:!ew.includes(e);tc(e,n)},en);h.useEffect(function(){ep(!0)},[]);var td=h.useMemo(function(){return{_internalRenderMenuItem:er,_internalRenderSubMenuItem:eo}},[er,eo]),tf="horizontal"!==ej||S?ec:ec.map(function(e,t){return h.createElement(s6,{key:e.key,overflowDisabled:t>eX},e)}),th=h.createElement(o4,(0,_.Z)({id:m,ref:em,prefixCls:"".concat(i,"-overflow"),component:"ul",itemComponent:cq,className:g()(i,"".concat(i,"-root"),"".concat(i,"-").concat(ej),s,(0,eV.Z)((0,eV.Z)({},"".concat(i,"-inline-collapsed"),ez),"".concat(i,"-rtl"),ev),a),dir:p,style:l,role:"menu",tabIndex:u,data:tf,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?ec.slice(-t):null;return h.createElement(c7,{eventKey:cM,title:Y,disabled:eG,internalPopupClose:0===t,popupClassName:Q},n)},maxCount:"horizontal"!==ej||S?o4.INVALIDATE:o4.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){eU(e)},onKeyDown:tu},ea));return h.createElement(co.Provider,{value:td},h.createElement(s1.Provider,{value:eg},h.createElement(s6,{prefixCls:i,rootClassName:a,mode:ej,openKeys:ew,rtl:ev,disabled:x,motion:eh?F:null,defaultMotions:eh?W:null,activeKey:e9,onActive:tt,onInactive:tn,selectedKeys:ti,inlineIndent:H,subMenuOpenDelay:C,subMenuCloseDelay:E,forceSubMenuRender:O,builtinPlacements:K,triggerSubMenuAction:q,getPopupContainer:J,itemIcon:X,expandIcon:U,onItemClick:ts,onOpenChange:tc},h.createElement(cr.Provider,{value:e8},th),h.createElement("div",{style:{display:"none"},"aria-hidden":!0},h.createElement(s9.Provider,{value:e5},eu)))))});us.Item=cq,us.SubMenu=c7,us.ItemGroup=un,us.Divider=c9;let uc=us,uu={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};var ud=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:uu}))};let uf=h.forwardRef(ud),uh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};var up=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:uh}))};let um=h.forwardRef(up),ug=e=>!isNaN(parseFloat(e))&&isFinite(e),uv=h.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}}),ub=e=>{let{antCls:t,componentCls:n,colorText:r,footerBg:o,headerHeight:i,headerPadding:a,headerColor:l,footerPadding:s,fontSize:c,bodyBg:u,headerBg:d}=e;return{[n]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:u,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${n}-header`]:{height:i,padding:a,color:l,lineHeight:(0,G.bf)(i),background:d,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:s,color:r,fontSize:c,background:o},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},uy=e=>{let{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:o,controlHeightSM:i,marginXXS:a,colorTextLightSolid:l,colorBgContainer:s}=e,c=1.25*r;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:2*n,headerPadding:`0 ${c}px`,headerColor:o,footerPadding:`${i}px ${c}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+2*a,triggerBg:"#002140",triggerColor:l,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:s,lightTriggerBg:s,lightTriggerColor:o}},uw=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]],ux=(0,k.I$)("Layout",e=>[ub(e)],uy,{deprecatedTokens:uw}),uS=e=>{let{componentCls:t,siderBg:n,motionDurationMid:r,motionDurationSlow:o,antCls:i,triggerHeight:a,triggerColor:l,triggerBg:s,headerHeight:c,zeroTriggerWidth:u,zeroTriggerHeight:d,borderRadius:f,lightSiderBg:h,lightTriggerColor:p,lightTriggerBg:m,bodyBg:g}=e;return{[t]:{position:"relative",minWidth:0,background:n,transition:`all ${r}, background 0s`,"&-has-trigger":{paddingBottom:a},"&-right":{order:1},[`${t}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${i}-menu${i}-menu-inline-collapsed`]:{width:"auto"}},[`${t}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:a,color:l,lineHeight:(0,G.bf)(a),textAlign:"center",background:s,cursor:"pointer",transition:`all ${r}`},[`${i}-layout &-zero-width`]:{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:c,insetInlineEnd:e.calc(u).mul(-1).equal(),zIndex:1,width:u,height:d,color:l,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:n,borderStartStartRadius:0,borderStartEndRadius:f,borderEndEndRadius:f,borderEndStartRadius:0,cursor:"pointer",transition:`background ${o} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${o}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(u).mul(-1).equal(),borderStartStartRadius:f,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:f}}},"&-light":{background:h,[`${t}-trigger`]:{color:p,background:m},[`${t}-zero-width-trigger`]:{color:p,background:m,border:`1px solid ${g}`,borderInlineStart:0}}}}},uk=(0,k.I$)(["Layout","Sider"],e=>[uS(e)],uy,{deprecatedTokens:uw});var uC=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let u$={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},uE=h.createContext({}),uO=(()=>{let e=0;return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e+=1,`${t}${e}`}})(),uM=h.forwardRef((e,t)=>{let{prefixCls:n,className:r,trigger:o,children:i,defaultCollapsed:a=!1,theme:l="dark",style:s={},collapsible:c=!1,reverseArrow:u=!1,width:d=200,collapsedWidth:f=80,zeroWidthTriggerStyle:p,breakpoint:m,onCollapse:v,onBreakpoint:y}=e,w=uC(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:x}=(0,h.useContext)(uv),[k,C]=(0,h.useState)("collapsed"in e?e.collapsed:a),[$,E]=(0,h.useState)(!1);(0,h.useEffect)(()=>{"collapsed"in e&&C(e.collapsed)},[e.collapsed]);let O=(t,n)=>{"collapsed"in e||C(t),null==v||v(t,n)},{getPrefixCls:M}=(0,h.useContext)(S.E_),I=M("layout-sider",n),[N,Z,R]=uk(I),T=(0,h.useRef)(null);T.current=e=>{E(e.matches),null==y||y(e.matches),k!==e.matches&&O(e.matches,"responsive")},(0,h.useEffect)(()=>{let e;function t(e){return T.current(e)}if("undefined"!=typeof window){let{matchMedia:n}=window;if(n&&m&&m in u$){e=n(`screen and (max-width: ${u$[m]})`);try{e.addEventListener("change",t)}catch(n){e.addListener(t)}t(e)}}return()=>{try{null==e||e.removeEventListener("change",t)}catch(n){null==e||e.removeListener(t)}}},[m]),(0,h.useEffect)(()=>{let e=uO("ant-sider-");return x.addSider(e),()=>x.removeSider(e)},[]);let P=()=>{O(!k,"clickTrigger")},j=()=>{let e=(0,b.Z)(w,["collapsed"]),n=k?f:d,a=ug(n)?`${n}px`:String(n),m=0===parseFloat(String(f||0))?h.createElement("span",{onClick:P,className:g()(`${I}-zero-width-trigger`,`${I}-zero-width-trigger-${u?"right":"left"}`),style:p},o||h.createElement(uf,null)):null,v={expanded:u?h.createElement(sH.Z,null):h.createElement(um,null),collapsed:u?h.createElement(um,null):h.createElement(sH.Z,null)}[k?"collapsed":"expanded"],y=null!==o?m||h.createElement("div",{className:`${I}-trigger`,onClick:P,style:{width:a}},o||v):null,x=Object.assign(Object.assign({},s),{flex:`0 0 ${a}`,maxWidth:a,minWidth:a,width:a}),S=g()(I,`${I}-${l}`,{[`${I}-collapsed`]:!!k,[`${I}-has-trigger`]:c&&null!==o&&!m,[`${I}-below`]:!!$,[`${I}-zero-width`]:0===parseFloat(a)},r,Z,R);return h.createElement("aside",Object.assign({className:S},e,{style:x,ref:t}),h.createElement("div",{className:`${I}-children`},i),c||$&&m?y:null)},A=h.useMemo(()=>({siderCollapsed:k}),[k]);return N(h.createElement(uE.Provider,{value:A},j()))}),uI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};var uN=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:uI}))};let uZ=h.forwardRef(uN),uR=(0,h.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var uT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let uP=e=>{let{prefixCls:t,className:n,dashed:r}=e,o=uT(e,["prefixCls","className","dashed"]),{getPrefixCls:i}=h.useContext(S.E_),a=i("menu",t),l=g()({[`${a}-item-divider-dashed`]:!!r},n);return h.createElement(c9,Object.assign({className:l},o))},uj=e=>{var t;let{className:n,children:r,icon:o,title:i,danger:a,extra:l}=e,{prefixCls:s,firstLevel:c,direction:u,disableMenuItemTitleTooltip:d,inlineCollapsed:f}=h.useContext(uR),p=e=>{let t=null==r?void 0:r[0],n=h.createElement("span",{className:g()(`${s}-title-content`,{[`${s}-title-content-with-extra`]:!!l||0===l})},r);return(!o||h.isValidElement(r)&&"span"===r.type)&&r&&e&&c&&"string"==typeof t?h.createElement("div",{className:`${s}-inline-collapsed-noicon`},t.charAt(0)):n},{siderCollapsed:m}=h.useContext(uE),v=i;void 0===i?v=c?r:"":!1===i&&(v="");let y={title:v};m||f||(y.title=null,y.open=!1);let w=(0,oS.Z)(r).length,x=h.createElement(cq,Object.assign({},(0,b.Z)(e,["title","icon","danger"]),{className:g()({[`${s}-item-danger`]:a,[`${s}-item-only-child`]:(o?w+1:w)===1},n),title:"string"==typeof i?i:void 0}),(0,U.Tm)(o,{className:g()(h.isValidElement(o)?null==(t=o.props)?void 0:t.className:"",`${s}-item-icon`)}),p(f));return d||(x=h.createElement(l1.Z,Object.assign({},y,{placement:"rtl"===u?"left":"right",overlayClassName:`${s}-inline-collapsed-tooltip`}),x)),x};var uA=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let uD=h.createContext(null),u_=h.forwardRef((e,t)=>{let{children:n}=e,r=uA(e,["children"]),o=h.useContext(uD),i=h.useMemo(()=>Object.assign(Object.assign({},o),r),[o,r.prefixCls,r.mode,r.selectable,r.rootClassName]),a=(0,X.t4)(n),l=(0,X.x1)(t,a?(0,X.C4)(n):null);return h.createElement(uD.Provider,{value:i},h.createElement(nN.Z,{space:!0},a?h.cloneElement(n,{ref:l}):n))}),uz=uD;var uL=n(33507);let uB=e=>{let{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:o,lineWidth:i,lineType:a,itemPaddingInline:l}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${(0,G.bf)(i)} ${a} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover, - > ${t}-item-active, - > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:`border-color ${n},background ${n}`},[`${t}-submenu-arrow`]:{display:"none"}}}},uH=e=>{let{componentCls:t,menuArrowOffset:n,calc:r}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, - ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,G.bf)(r(n).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,G.bf)(n)})`}}}}},uF=e=>Object.assign({},(0,Y.oN)(e)),uW=(e,t)=>{let{componentCls:n,itemColor:r,itemSelectedColor:o,groupTitleColor:i,itemBg:a,subMenuItemBg:l,itemSelectedBg:s,activeBarHeight:c,activeBarWidth:u,activeBarBorderWidth:d,motionDurationSlow:f,motionEaseInOut:h,motionEaseOut:p,itemPaddingInline:m,motionDurationMid:g,itemHoverColor:v,lineType:b,colorSplit:y,itemDisabledColor:w,dangerItemColor:x,dangerItemHoverColor:S,dangerItemSelectedColor:k,dangerItemActiveBg:C,dangerItemSelectedBg:$,popupBg:E,itemHoverBg:O,itemActiveBg:M,menuSubMenuBg:I,horizontalItemSelectedColor:N,horizontalItemSelectedBg:Z,horizontalItemBorderRadius:R,horizontalItemHoverBg:T}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:a,[`&${n}-root:focus-visible`]:Object.assign({},uF(e)),[`${n}-item`]:{"&-group-title, &-extra":{color:i}},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:o}},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},uF(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${w} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:v}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:M}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:M}}},[`${n}-item-danger`]:{color:x,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:S}},[`&${n}-item:active`]:{background:C}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:o,[`&${n}-item-danger`]:{color:k},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:s,[`&${n}-item-danger`]:{backgroundColor:$}},[`&${n}-submenu > ${n}`]:{backgroundColor:I},[`&${n}-popup > ${n}`]:{backgroundColor:E},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:E},[`&${n}-horizontal`]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:d,marginTop:e.calc(d).mul(-1).equal(),marginBottom:0,borderRadius:R,"&::after":{position:"absolute",insetInline:m,bottom:0,borderBottom:`${(0,G.bf)(c)} solid transparent`,transition:`border-color ${f} ${h}`,content:'""'},"&:hover, &-active, &-open":{background:T,"&::after":{borderBottomWidth:c,borderBottomColor:N}},"&-selected":{color:N,backgroundColor:Z,"&:hover":{backgroundColor:Z},"&::after":{borderBottomWidth:c,borderBottomColor:N}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${(0,G.bf)(d)} ${b} ${y}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:l},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,G.bf)(u)} solid ${o}`,transform:"scaleY(0.0001)",opacity:0,transition:`transform ${g} ${p},opacity ${g} ${p}`,content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:k}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:`transform ${g} ${h},opacity ${g} ${h}`}}}}}},uV=e=>{let{componentCls:t,itemHeight:n,itemMarginInline:r,padding:o,menuArrowSize:i,marginXS:a,itemMarginBlock:l,itemWidth:s,itemPaddingInline:c}=e,u=e.calc(i).add(o).add(a).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:(0,G.bf)(n),paddingInline:c,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:l,width:s},[`> ${t}-item, - > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:(0,G.bf)(n)},[`${t}-item-group-list ${t}-submenu-title, - ${t}-submenu-title`]:{paddingInlineEnd:u}}},uq=e=>{let{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:o,dropdownWidth:i,controlHeightLG:a,motionEaseOut:l,paddingXL:s,itemMarginInline:c,fontSizeLG:u,motionDurationFast:d,motionDurationSlow:f,paddingXS:h,boxShadowSecondary:p,collapsedWidth:m,collapsedIconSize:g}=e,v={height:r,lineHeight:(0,G.bf)(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},uV(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},uV(e)),{boxShadow:p})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${(0,G.bf)(e.calc(a).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:`border-color ${f},background ${f},padding ${d} ${l}`,[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:v,[`& ${t}-item-group-title`]:{paddingInlineStart:s}},[`${t}-item`]:v}},{[`${t}-inline-collapsed`]:{width:m,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:u,textAlign:"center"}}},[`> ${t}-item, - > ${t}-item-group > ${t}-item-group-list > ${t}-item, - > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, - > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,G.bf)(e.calc(g).div(2).equal())} - ${(0,G.bf)(c)})`,textOverflow:"clip",[` - ${t}-submenu-arrow, - ${t}-submenu-expand-icon - `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:g,lineHeight:(0,G.bf)(r),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:o}},[`${t}-item-group-title`]:Object.assign(Object.assign({},Y.vS),{paddingInline:h})}}]},uK=e=>{let{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:o,motionEaseOut:i,iconCls:a,iconSize:l,iconMarginInlineEnd:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:`border-color ${n},background ${n},padding calc(${n} + 0.1s) ${o}`,[`${t}-item-icon, ${a}`]:{minWidth:l,fontSize:l,transition:`font-size ${r} ${i},margin ${n} ${o},color ${n}`,"+ span":{marginInlineStart:s,opacity:1,transition:`opacity ${n} ${o},margin ${n},color ${n}`}},[`${t}-item-icon`]:Object.assign({},(0,Y.Ro)()),[`&${t}-item-only-child`]:{[`> ${a}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},uX=e=>{let{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:o,menuArrowSize:i,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(i).mul(.6).equal(),height:e.calc(i).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:o,transition:`background ${n} ${r},transform ${n} ${r},top ${n} ${r},color ${n} ${r}`,content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,G.bf)(e.calc(a).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,G.bf)(a)})`}}}}},uU=e=>{let{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:o,motionDurationMid:i,motionEaseInOut:a,paddingXS:l,padding:s,colorSplit:c,lineWidth:u,zIndexPopup:d,borderRadiusLG:f,subMenuItemBorderRadius:h,menuArrowSize:p,menuArrowOffset:m,lineType:g,groupTitleLineHeight:v,groupTitleFontSize:b}=e;return[{"":{[n]:Object.assign(Object.assign({},(0,Y.dF)()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),(0,Y.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${o} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${(0,G.bf)(l)} ${(0,G.bf)(s)}`,fontSize:b,lineHeight:v,transition:`all ${o}`},[`&-horizontal ${n}-submenu`]:{transition:`border-color ${o} ${a},background ${o} ${a}`},[`${n}-submenu, ${n}-submenu-inline`]:{transition:`border-color ${o} ${a},background ${o} ${a},padding ${i} ${a}`},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:`background ${o} ${a},padding ${o} ${a}`},[`${n}-title-content`]:{transition:`color ${o}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${n}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:e.padding,fontSize:e.fontSizeSM}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:g,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:"dashed"}}}),uK(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${(0,G.bf)(e.calc(r).mul(2).equal())} ${(0,G.bf)(s)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:d,borderRadius:f,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:f},uK(e)),uX(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:h},[`${n}-submenu-title::after`]:{transition:`transform ${o} ${a}`}})},[` - &-placement-leftTop, - &-placement-bottomRight, - `]:{transformOrigin:"100% 0"},[` - &-placement-leftBottom, - &-placement-topRight, - `]:{transformOrigin:"100% 100%"},[` - &-placement-rightBottom, - &-placement-topLeft, - `]:{transformOrigin:"0 100%"},[` - &-placement-bottomLeft, - &-placement-rightTop, - `]:{transformOrigin:"0 0"},[` - &-placement-leftTop, - &-placement-leftBottom - `]:{paddingInlineEnd:e.paddingXS},[` - &-placement-rightTop, - &-placement-rightBottom - `]:{paddingInlineStart:e.paddingXS},[` - &-placement-topRight, - &-placement-topLeft - `]:{paddingBottom:e.paddingXS},[` - &-placement-bottomRight, - &-placement-bottomLeft - `]:{paddingTop:e.paddingXS}}}),uX(e)),{[`&-inline-collapsed ${n}-submenu-arrow, - &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,G.bf)(m)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,G.bf)(e.calc(m).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${(0,G.bf)(e.calc(p).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,G.bf)(e.calc(m).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,G.bf)(m)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},uG=e=>{var t,n,r;let{colorPrimary:o,colorError:i,colorTextDisabled:a,colorErrorBg:l,colorText:s,colorTextDescription:c,colorBgContainer:u,colorFillAlter:d,colorFillContent:f,lineWidth:h,lineWidthBold:p,controlItemBgActive:m,colorBgTextHover:g,controlHeightLG:v,lineHeight:b,colorBgElevated:y,marginXXS:w,padding:x,fontSize:S,controlHeightSM:k,fontSizeLG:C,colorTextLightSolid:$,colorErrorHover:E}=e,O=null!=(t=e.activeBarWidth)?t:0,M=null!=(n=e.activeBarBorderWidth)?n:h,I=null!=(r=e.itemMarginInline)?r:e.marginXXS,N=new tD.C($).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:s,itemColor:s,colorItemTextHover:s,itemHoverColor:s,colorItemTextHoverHorizontal:o,horizontalItemHoverColor:o,colorGroupTitle:c,groupTitleColor:c,colorItemTextSelected:o,itemSelectedColor:o,colorItemTextSelectedHorizontal:o,horizontalItemSelectedColor:o,colorItemBg:u,itemBg:u,colorItemBgHover:g,itemHoverBg:g,colorItemBgActive:f,itemActiveBg:m,colorSubItemBg:d,subMenuItemBg:d,colorItemBgSelected:m,itemSelectedBg:m,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:O,colorActiveBarHeight:p,activeBarHeight:p,colorActiveBarBorderSize:h,activeBarBorderWidth:M,colorItemTextDisabled:a,itemDisabledColor:a,colorDangerItemText:i,dangerItemColor:i,colorDangerItemTextHover:i,dangerItemHoverColor:i,colorDangerItemTextSelected:i,dangerItemSelectedColor:i,colorDangerItemBgActive:l,dangerItemActiveBg:l,colorDangerItemBgSelected:l,dangerItemSelectedBg:l,itemMarginInline:I,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:v,groupTitleLineHeight:b,collapsedWidth:2*v,popupBg:y,itemMarginBlock:w,itemPaddingInline:x,horizontalLineHeight:`${1.15*v}px`,iconSize:S,iconMarginInlineEnd:k-S,collapsedIconSize:C,groupTitleFontSize:S,darkItemDisabledColor:new tD.C($).setAlpha(.25).toRgbString(),darkItemColor:N,darkDangerItemColor:i,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:$,darkItemSelectedBg:o,darkDangerItemSelectedBg:i,darkItemHoverBg:"transparent",darkGroupTitleColor:N,darkItemHoverColor:$,darkDangerItemHoverColor:E,darkDangerItemSelectedColor:$,darkDangerItemActiveBg:i,itemWidth:O?`calc(100% + ${M}px)`:`calc(100% - ${2*I}px)`}},uY=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return(0,k.I$)("Menu",e=>{let{colorBgElevated:t,controlHeightLG:n,fontSize:r,darkItemColor:o,darkDangerItemColor:i,darkItemBg:a,darkSubMenuItemBg:l,darkItemSelectedColor:s,darkItemSelectedBg:c,darkDangerItemSelectedBg:u,darkItemHoverBg:d,darkGroupTitleColor:f,darkItemHoverColor:h,darkItemDisabledColor:p,darkDangerItemHoverColor:m,darkDangerItemSelectedColor:g,darkDangerItemActiveBg:v,popupBg:b,darkPopupBg:y}=e,w=e.calc(r).div(7).mul(5).equal(),x=(0,eI.IX)(e,{menuArrowSize:w,menuHorizontalHeight:e.calc(n).mul(1.15).equal(),menuArrowOffset:e.calc(w).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:b}),S=(0,eI.IX)(x,{itemColor:o,itemHoverColor:h,groupTitleColor:f,itemSelectedColor:s,itemBg:a,popupBg:y,subMenuItemBg:l,itemActiveBg:"transparent",itemSelectedBg:c,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:d,itemDisabledColor:p,dangerItemColor:i,dangerItemHoverColor:m,dangerItemSelectedColor:g,dangerItemActiveBg:v,dangerItemSelectedBg:u,menuSubMenuBg:l,horizontalItemSelectedColor:s,horizontalItemSelectedBg:c});return[uU(x),uB(x),uq(x),uW(x,"light"),uW(S,"dark"),uH(x),(0,uL.Z)(x),aU(x,"slide-up"),aU(x,"slide-down"),(0,rg._y)(x,"zoom-big")]},uG,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t)},uQ=e=>{var t;let n,{popupClassName:r,icon:o,title:i,theme:a}=e,l=h.useContext(uR),{prefixCls:s,inlineCollapsed:c,theme:u}=l,d=cn();if(o){let e=h.isValidElement(i)&&"span"===i.type;n=h.createElement(h.Fragment,null,(0,U.Tm)(o,{className:g()(h.isValidElement(o)?null==(t=o.props)?void 0:t.className:"",`${s}-item-icon`)}),e?i:h.createElement("span",{className:`${s}-title-content`},i))}else n=c&&!d.length&&i&&"string"==typeof i?h.createElement("div",{className:`${s}-inline-collapsed-noicon`},i.charAt(0)):h.createElement("span",{className:`${s}-title-content`},i);let f=h.useMemo(()=>Object.assign(Object.assign({},l),{firstLevel:!1}),[l]),[p]=(0,tt.Cn)("Menu");return h.createElement(uR.Provider,{value:f},h.createElement(c7,Object.assign({},(0,b.Z)(e,["icon"]),{title:n,popupClassName:g()(s,r,`${s}-${a||u}`),popupStyle:Object.assign({zIndex:p},e.popupStyle)})))};var uJ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function u0(e){return null===e||!1===e}let u1={item:uj,submenu:uQ,divider:uP},u2=(0,h.forwardRef)((e,t)=>{var n;let r=h.useContext(uz),o=r||{},{getPrefixCls:i,getPopupContainer:a,direction:l,menu:s}=h.useContext(S.E_),c=i(),{prefixCls:u,className:d,style:f,theme:p="light",expandIcon:m,_internalDisableMenuItemTitleTooltip:v,inlineCollapsed:y,siderCollapsed:w,rootClassName:x,mode:k,selectable:C,onClick:$,overflowedIndicatorPopupClassName:E}=e,O=uJ(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),M=(0,b.Z)(O,["collapsedWidth"]);null==(n=o.validator)||n.call(o,{mode:k});let I=(0,ey.Z)(function(){var e;null==$||$.apply(void 0,arguments),null==(e=o.onClick)||e.call(o)}),N=o.mode||k,Z=null!=C?C:o.selectable,R=null!=y?y:w,T={horizontal:{motionName:`${c}-slide-up`},inline:(0,nt.Z)(c),other:{motionName:`${c}-zoom-big`}},P=i("menu",u||o.prefixCls),j=eE(P),[A,D,_]=uY(P,j,!r),z=g()(`${P}-${p}`,null==s?void 0:s.className,d),L=h.useMemo(()=>{var e,t;if("function"==typeof m||u0(m))return m||null;if("function"==typeof o.expandIcon||u0(o.expandIcon))return o.expandIcon||null;if("function"==typeof(null==s?void 0:s.expandIcon)||u0(null==s?void 0:s.expandIcon))return(null==s?void 0:s.expandIcon)||null;let n=null!=(e=null!=m?m:null==o?void 0:o.expandIcon)?e:null==s?void 0:s.expandIcon;return(0,U.Tm)(n,{className:g()(`${P}-submenu-expand-icon`,h.isValidElement(n)?null==(t=n.props)?void 0:t.className:void 0)})},[m,null==o?void 0:o.expandIcon,null==s?void 0:s.expandIcon,P]),B=h.useMemo(()=>({prefixCls:P,inlineCollapsed:R||!1,direction:l,firstLevel:!0,theme:p,mode:N,disableMenuItemTitleTooltip:v}),[P,R,l,v,p]);return A(h.createElement(uz.Provider,{value:null},h.createElement(uR.Provider,{value:B},h.createElement(uc,Object.assign({getPopupContainer:a,overflowedIndicator:h.createElement(uZ,null),overflowedIndicatorPopupClassName:g()(P,`${P}-${p}`,E),mode:N,selectable:Z,onClick:I},M,{inlineCollapsed:R,style:Object.assign(Object.assign({},null==s?void 0:s.style),f),className:z,prefixCls:P,direction:l,defaultMotions:T,expandIcon:L,ref:t,rootClassName:g()(x,D,o.rootClassName,_,j),_internalComponents:u1})))))}),u4=(0,h.forwardRef)((e,t)=>{let n=(0,h.useRef)(null),r=h.useContext(uE);return(0,h.useImperativeHandle)(t,()=>({menu:n.current,focus:e=>{var t;null==(t=n.current)||t.focus(e)}})),h.createElement(u2,Object.assign({ref:n},e,r))});u4.Item=uj,u4.SubMenu=uQ,u4.Divider=uP,u4.ItemGroup=un;let u3=u4,u5=e=>{let{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:o}=e,i=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:r,"&:hover":{color:o,backgroundColor:r}}}}}},u8=e=>{let{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:o,sizePopupArrow:i,antCls:a,iconCls:l,motionDurationMid:s,paddingBlock:c,fontSize:u,dropdownEdgeChildPadding:d,colorTextDisabled:f,fontSizeIcon:h,controlPaddingHorizontal:p,colorBgElevated:m}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(i).div(2).sub(o).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${a}-btn`]:{[`& > ${l}-down, & > ${a}-btn-icon > ${l}-down`]:{fontSize:h}},[`${t}-wrap`]:{position:"relative",[`${a}-btn > ${l}-down`]:{fontSize:h},[`${l}-down::before`]:{transition:`transform ${s}`}},[`${t}-wrap-open`]:{[`${l}-down::before`]:{transform:"rotate(180deg)"}},[` - &-hidden, - &-menu-hidden, - &-menu-submenu-hidden - `]:{display:"none"},[`&${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomLeft, - &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomLeft, - &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottom, - &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottom, - &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomRight, - &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:aH},[`&${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topLeft, - &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topLeft, - &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-top, - &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-top, - &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topRight, - &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topRight`]:{animationName:aW},[`&${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomLeft, - &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottom, - &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:aF},[`&${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topLeft, - &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-top, - &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topRight`]:{animationName:aV}}},(0,l4.ZP)(e,m,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{[n]:Object.assign(Object.assign({padding:d,listStyleType:"none",backgroundColor:m,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},(0,Y.Qy)(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${(0,G.bf)(c)} ${(0,G.bf)(p)}`,color:e.colorTextDescription,transition:`all ${s}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:u,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${s}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${n}-item-extra`]:{paddingInlineStart:e.padding,marginInlineStart:"auto",fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,G.bf)(c)} ${(0,G.bf)(p)}`,color:e.colorText,fontWeight:"normal",fontSize:u,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${s}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},(0,Y.Qy)(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:f,cursor:"not-allowed","&:hover":{color:f,backgroundColor:m,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,G.bf)(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:h,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${(0,G.bf)(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(p).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:f,backgroundColor:m,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[aU(e,"slide-up"),aU(e,"slide-down"),a4(e,"move-up"),a4(e,"move-down"),(0,rg._y)(e,"zoom-big")]]},u6=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},(0,l4.wZ)({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),(0,l3.w)(e)),u7=(0,k.I$)("Dropdown",e=>{let{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:o}=e,i=(0,eI.IX)(e,{menuCls:`${o}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[u8(i),u5(i)]},u6,{resetStyle:!1}),u9=e=>{var t;let{menu:n,arrow:r,prefixCls:o,children:i,trigger:a,disabled:l,dropdownRender:s,getPopupContainer:c,overlayClassName:u,rootClassName:d,overlayStyle:f,open:p,onOpenChange:m,visible:v,onVisibleChange:y,mouseEnterDelay:w=.15,mouseLeaveDelay:x=.1,autoAdjustOverflow:k=!0,placement:C="",overlay:$,transitionName:E}=e,{getPopupContainer:O,getPrefixCls:M,direction:I,dropdown:N}=h.useContext(S.E_);(0,ez.ln)("Dropdown");let Z=h.useMemo(()=>{let e=M();return void 0!==E?E:C.includes("top")?`${e}-slide-down`:`${e}-slide-up`},[M,C,E]),R=h.useMemo(()=>C?C.includes("Center")?C.slice(0,C.indexOf("Center")):C:"rtl"===I?"bottomRight":"bottomLeft",[C,I]),T=M("dropdown",o),P=eE(T),[j,A,D]=u7(T,P),[,_]=(0,e$.ZP)(),z=h.Children.only(sJ(i)?h.createElement("span",null,i):i),L=(0,U.Tm)(z,{className:g()(`${T}-trigger`,{[`${T}-rtl`]:"rtl"===I},z.props.className),disabled:null!=(t=z.props.disabled)?t:l}),B=l?[]:a,H=!!(null==B?void 0:B.includes("contextMenu")),[F,W]=(0,ok.Z)(!1,{value:null!=p?p:v}),V=(0,ey.Z)(e=>{null==m||m(e,{source:"trigger"}),null==y||y(e),W(e)}),q=g()(u,d,A,D,P,null==N?void 0:N.className,{[`${T}-rtl`]:"rtl"===I}),K=(0,s0.Z)({arrowPointAtCenter:"object"==typeof r&&r.pointAtCenter,autoAdjustOverflow:k,offset:_.marginXXS,arrowWidth:r?_.sizePopupArrow:0,borderRadius:_.borderRadius}),X=h.useCallback(()=>{null!=n&&n.selectable&&null!=n&&n.multiple||(null==m||m(!1,{source:"menu"}),W(!1))},[null==n?void 0:n.selectable,null==n?void 0:n.multiple]),G=()=>{let e;return e=(null==n?void 0:n.items)?h.createElement(u3,Object.assign({},n)):"function"==typeof $?$():$,s&&(e=s(e)),e=h.Children.only("string"==typeof e?h.createElement("span",null,e):e),h.createElement(u_,{prefixCls:`${T}-menu`,rootClassName:g()(D,P),expandIcon:h.createElement("span",{className:`${T}-menu-submenu-arrow`},h.createElement(sH.Z,{className:`${T}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:X,validator:e=>{let{mode:t}=e}},e)},[Y,Q]=(0,tt.Cn)("Dropdown",null==f?void 0:f.zIndex),J=h.createElement(sQ,Object.assign({alignPoint:H},(0,b.Z)(e,["rootClassName"]),{mouseEnterDelay:w,mouseLeaveDelay:x,visible:F,builtinPlacements:K,arrow:!!r,overlayClassName:q,prefixCls:T,getPopupContainer:c||O,transitionName:Z,trigger:B,overlay:G,placement:R,onVisibleChange:V,overlayStyle:Object.assign(Object.assign(Object.assign({},null==N?void 0:N.style),f),{zIndex:Y})}),L);return Y&&(J=h.createElement(nD.Z.Provider,{value:Q},J)),j(J)},de=o$(u9,"dropdown",e=>e,function(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})});u9._InternalPanelDoNotUseOrYouWillBeFired=e=>h.createElement(de,Object.assign({},e),h.createElement("span",null));let dt=u9,dn=e=>{let{children:t}=e,{getPrefixCls:n}=h.useContext(S.E_),r=n("breadcrumb");return h.createElement("li",{className:`${r}-separator`,"aria-hidden":"true"},""===t?t:t||"/")};dn.__ANT_BREADCRUMB_SEPARATOR=!0;let dr=dn;var di=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function da(e,t){if(void 0===e.title||null===e.title)return null;let n=Object.keys(t).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(RegExp(`:(${n})`,"g"),(e,n)=>t[n]||e)}function dl(e,t,n,r){if(null==n)return null;let{className:o,onClick:i}=t,a=di(t,["className","onClick"]),l=Object.assign(Object.assign({},(0,K.Z)(a,{data:!0,aria:!0})),{onClick:i});return void 0!==r?h.createElement("a",Object.assign({},l,{className:g()(`${e}-link`,o),href:r}),n):h.createElement("span",Object.assign({},l,{className:g()(`${e}-link`,o)}),n)}function ds(e,t){return(n,r,o,i,a)=>{if(t)return t(n,r,o,i);let l=da(n,r);return dl(e,n,l,a)}}var dc=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let du=e=>{let{prefixCls:t,separator:n="/",children:r,menu:o,overlay:i,dropdownProps:a,href:l}=e,s=(e=>{if(o||i){let n=Object.assign({},a);if(o){let e=o||{},{items:t}=e;n.menu=Object.assign(Object.assign({},dc(e,["items"])),{items:null==t?void 0:t.map((e,t)=>{var{key:n,title:r,label:o,path:i}=e,a=dc(e,["key","title","label","path"]);let s=null!=o?o:r;return i&&(s=h.createElement("a",{href:`${l}${i}`},s)),Object.assign(Object.assign({},a),{key:null!=n?n:t,label:s})})})}else i&&(n.overlay=i);return h.createElement(dt,Object.assign({placement:"bottom"},n),h.createElement("span",{className:`${t}-overlay-link`},e,h.createElement(lx,null)))}return e})(r);return null!=s?h.createElement(h.Fragment,null,h.createElement("li",null,s),n&&h.createElement(dr,null,n)):null},dd=e=>{let{prefixCls:t,children:n,href:r}=e,o=dc(e,["prefixCls","children","href"]),{getPrefixCls:i}=h.useContext(S.E_),a=i("breadcrumb",t);return h.createElement(du,Object.assign({},o,{prefixCls:a}),dl(a,o,n,r))};dd.__ANT_BREADCRUMB_ITEM=!0;let df=dd,dh=e=>{let{componentCls:t,iconCls:n,calc:r}=e;return{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${(0,G.bf)(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:r(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,Y.Qy)(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[` - > ${n} + span, - > ${n} + a - `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${(0,G.bf)(e.paddingXXS)}`,marginInline:r(e.marginXXS).mul(-1).equal(),[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},dp=e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}),dm=(0,k.I$)("Breadcrumb",e=>dh((0,eI.IX)(e,{})),dp);var dg=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function dv(e){let{breadcrumbName:t,children:n}=e,r=Object.assign({title:t},dg(e,["breadcrumbName","children"]));return n&&(r.menu={items:n.map(e=>{var{breadcrumbName:t}=e;return Object.assign(Object.assign({},dg(e,["breadcrumbName"])),{title:t})})}),r}function db(e,t){return(0,h.useMemo)(()=>e||(t?t.map(dv):null),[e,t])}var dy=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let dw=(e,t)=>{if(void 0===t)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach(t=>{n=n.replace(`:${t}`,e[t])}),n},dx=e=>{let t,{prefixCls:n,separator:r="/",style:o,className:i,rootClassName:a,routes:l,items:s,children:c,itemRender:u,params:d={}}=e,f=dy(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:p,direction:m,breadcrumb:v}=h.useContext(S.E_),b=p("breadcrumb",n),[y,w,x]=dm(b),k=db(s,l),C=ds(b,u);if(k&&k.length>0){let e=[],n=s||l;t=k.map((t,o)=>{let{path:i,key:a,type:l,menu:s,overlay:c,onClick:u,className:f,separator:p,dropdownProps:m}=t,g=dw(d,i);void 0!==g&&e.push(g);let v=null!=a?a:o;if("separator"===l)return h.createElement(dr,{key:v},p);let y={},w=o===k.length-1;s?y.menu=s:c&&(y.overlay=c);let{href:x}=t;return e.length&&void 0!==g&&(x=`#/${e.join("/")}`),h.createElement(du,Object.assign({key:v},y,(0,K.Z)(t,{data:!0,aria:!0}),{className:f,dropdownProps:m,href:x,separator:w?"":r,onClick:u,prefixCls:b}),C(t,d,n,e,x))})}else if(c){let e=(0,oS.Z)(c).length;t=(0,oS.Z)(c).map((t,n)=>{if(!t)return t;let o=n===e-1;return(0,U.Tm)(t,{separator:o?"":r,key:n})})}let $=g()(b,null==v?void 0:v.className,{[`${b}-rtl`]:"rtl"===m},i,a,w,x),E=Object.assign(Object.assign({},null==v?void 0:v.style),o);return y(h.createElement("nav",Object.assign({className:$,style:E},f),h.createElement("ol",null,t)))};dx.Item=df,dx.Separator=dr;let dS=dx;var dk=n(27484),dC=n.n(dk),d$=n(6833),dE=n.n(d$),dO=n(96036),dM=n.n(dO),dI=n(55183),dN=n.n(dI),dZ=n(172),dR=n.n(dZ),dT=n(28734),dP=n.n(dT),dj=n(10285),dA=n.n(dj);dC().extend(dA()),dC().extend(dP()),dC().extend(dE()),dC().extend(dM()),dC().extend(dN()),dC().extend(dR()),dC().extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=(e||"").replace("Wo","wo");return r.bind(this)(t)}});var dD={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},d_=function(e){return dD[e]||e.split("_")[0]},dz=function(){};let dL={getNow:function(){var e=dC()();return"function"==typeof e.tz?e.tz():e},getFixedDate:function(e){return dC()(e,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(e){return e.endOf("month")},getWeekDay:function(e){var t=e.locale("en");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:function(e){return e.year()},getMonth:function(e){return e.month()},getDate:function(e){return e.date()},getHour:function(e){return e.hour()},getMinute:function(e){return e.minute()},getSecond:function(e){return e.second()},getMillisecond:function(e){return e.millisecond()},addYear:function(e,t){return e.add(t,"year")},addMonth:function(e,t){return e.add(t,"month")},addDate:function(e,t){return e.add(t,"day")},setYear:function(e,t){return e.year(t)},setMonth:function(e,t){return e.month(t)},setDate:function(e,t){return e.date(t)},setHour:function(e,t){return e.hour(t)},setMinute:function(e,t){return e.minute(t)},setSecond:function(e,t){return e.second(t)},setMillisecond:function(e,t){return e.millisecond(t)},isAfter:function(e,t){return e.isAfter(t)},isValidate:function(e){return e.isValid()},locale:{getWeekFirstDay:function(e){return dC()().locale(d_(e)).localeData().firstDayOfWeek()},getWeekFirstDate:function(e,t){return t.locale(d_(e)).weekday(0)},getWeek:function(e,t){return t.locale(d_(e)).week()},getShortWeekDays:function(e){return dC()().locale(d_(e)).localeData().weekdaysMin()},getShortMonths:function(e){return dC()().locale(d_(e)).localeData().monthsShort()},format:function(e,t,n){return t.locale(d_(e)).format(n)},parse:function(e,t,n){for(var r=d_(e),o=0;o2&&void 0!==arguments[2]?arguments[2]:"0",r=String(e);r.length2&&void 0!==arguments[2]?arguments[2]:[],r=h.useState([!1,!1]),o=(0,eL.Z)(r,2),i=o[0],a=o[1],l=function(e,t){a(function(n){return dX(n,t,e)})};return[h.useMemo(function(){return i.map(function(r,o){if(r)return!0;var i=e[o];return!!i&&!!(!n[o]&&!i||i&&t(i,{activeIndex:o}))})},[e,i,t,n]),l]}function d1(e,t,n,r,o){var i="",a=[];return e&&a.push(o?"hh":"HH"),t&&a.push("mm"),n&&a.push("ss"),i=a.join(":"),r&&(i+=".SSS"),o&&(i+=" A"),i}function d2(e,t,n,r,o,i){var a=e.fieldDateTimeFormat,l=e.fieldDateFormat,s=e.fieldTimeFormat,c=e.fieldMonthFormat,u=e.fieldYearFormat,d=e.fieldWeekFormat,f=e.fieldQuarterFormat,h=e.yearFormat,p=e.cellYearFormat,m=e.cellQuarterFormat,g=e.dayFormat,v=e.cellDateFormat,b=d1(t,n,r,o,i);return(0,eH.Z)((0,eH.Z)({},e),{},{fieldDateTimeFormat:a||"YYYY-MM-DD ".concat(b),fieldDateFormat:l||"YYYY-MM-DD",fieldTimeFormat:s||b,fieldMonthFormat:c||"YYYY-MM",fieldYearFormat:u||"YYYY",fieldWeekFormat:d||"gggg-wo",fieldQuarterFormat:f||"YYYY-[Q]Q",yearFormat:h||"YYYY",cellYearFormat:p||"YYYY",cellQuarterFormat:m||"[Q]Q",cellDateFormat:v||g||"D"})}function d4(e,t){var n=t.showHour,r=t.showMinute,o=t.showSecond,i=t.showMillisecond,a=t.use12Hours;return p().useMemo(function(){return d2(e,n,r,o,i,a)},[e,n,r,o,i,a])}function d3(e,t,n){return null!=n?n:t.some(function(t){return e.includes(t)})}var d5=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function d8(e){var t=dU(e,d5),n=e.format,r=e.picker,o=null;return n&&(Array.isArray(o=n)&&(o=o[0]),o="object"===(0,eq.Z)(o)?o.format:o),"time"===r&&(t.format=o),[t,o]}function d6(e){return e&&"string"==typeof e}function d7(e,t,n,r){return[e,t,n,r].some(function(e){return void 0!==e})}function d9(e,t,n,r,o){var i=t,a=n,l=r;if(e||i||a||l||o){if(e){var s,c,u,d=[i,a,l].some(function(e){return!1===e}),f=[i,a,l].some(function(e){return!0===e}),h=!!d||!f;i=null!=(s=i)?s:h,a=null!=(c=a)?c:h,l=null!=(u=l)?u:h}}else i=!0,a=!0,l=!0;return[i,a,l,o]}function fe(e){var t=e.showTime,n=d8(e),r=(0,eL.Z)(n,2),o=r[0],i=r[1],a=t&&"object"===(0,eq.Z)(t)?t:{},l=(0,eH.Z)((0,eH.Z)({defaultOpenValue:a.defaultOpenValue||a.defaultValue},o),a),s=l.showMillisecond,c=l.showHour,u=l.showMinute,d=l.showSecond,f=d9(d7(c,u,d,s),c,u,d,s),h=(0,eL.Z)(f,3);return c=h[0],u=h[1],d=h[2],[l,(0,eH.Z)((0,eH.Z)({},l),{},{showHour:c,showMinute:u,showSecond:d,showMillisecond:s}),l.format,i]}function ft(e,t,n,r,o){var i="time"===e;if("datetime"===e||i){for(var a=r,l=dG(e,o,null),s=[t,n],c=0;c1&&(a=t.addDate(a,-7)),a}function fb(e,t){var n=t.generateConfig,r=t.locale,o=t.format;return e?"function"==typeof o?o(e):n.locale.format(r.locale,e,o):""}function fy(e,t,n){var r=t,o=["getHour","getMinute","getSecond","getMillisecond"];return["setHour","setMinute","setSecond","setMillisecond"].forEach(function(t,i){r=n?e[t](r,e[o[i]](n)):e[t](r,0)}),r}function fw(e,t,n,r,o){return(0,e3.zX)(function(i,a){return!!(n&&n(i,a)||r&&e.isAfter(r,i)&&!fp(e,t,r,i,a.type)||o&&e.isAfter(i,o)&&!fp(e,t,o,i,a.type))})}function fx(e,t,n){return h.useMemo(function(){var r=dK(dG(e,t,n)),o=r[0],i="object"===(0,eq.Z)(o)&&"mask"===o.type?o.format:null;return[r.map(function(e){return"string"==typeof e||"function"==typeof e?e:e.format}),i]},[e,t,n])}function fS(e,t,n){return"function"==typeof e[0]||!!n||t}function fk(e,t,n,r){return(0,e3.zX)(function(o,i){var a=(0,eH.Z)({type:t},i);if(delete a.activeIndex,!e.isValidate(o)||n&&n(o,a))return!0;if(("date"===t||"time"===t)&&r){var l,s=i&&1===i.activeIndex?"end":"start",c=(null==(l=r.disabledTime)?void 0:l.call(r,o,s,{from:a.from}))||{},u=c.disabledHours,d=c.disabledMinutes,f=c.disabledSeconds,h=c.disabledMilliseconds,p=r.disabledHours,m=r.disabledMinutes,g=r.disabledSeconds,v=u||p,b=d||m,y=f||g,w=e.getHour(o),x=e.getMinute(o),S=e.getSecond(o),k=e.getMillisecond(o);if(v&&v().includes(w)||b&&b(w).includes(x)||y&&y(w,x).includes(S)||h&&h(w,x,S).includes(k))return!0}return!1})}function fC(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return h.useMemo(function(){var n=e?dK(e):e;return t&&n&&(n[1]=n[1]||n[0]),n},[e,t])}function f$(e,t){var n=e.generateConfig,r=e.locale,o=e.picker,i=void 0===o?"date":o,a=e.prefixCls,l=void 0===a?"rc-picker":a,s=e.styles,c=void 0===s?{}:s,u=e.classNames,d=void 0===u?{}:u,f=e.order,p=void 0===f||f,m=e.components,g=void 0===m?{}:m,v=e.inputRender,b=e.allowClear,y=e.clearIcon,w=e.needConfirm,x=e.multiple,S=e.format,k=e.inputReadOnly,C=e.disabledDate,$=e.minDate,E=e.maxDate,O=e.showTime,M=e.value,I=e.defaultValue,N=e.pickerValue,Z=e.defaultPickerValue,R=fC(M),T=fC(I),P=fC(N),j=fC(Z),A="date"===i&&O?"datetime":i,D="time"===A||"datetime"===A,_=D||x,z=null!=w?w:D,L=fe(e),B=(0,eL.Z)(L,4),H=B[0],F=B[1],W=B[2],V=B[3],q=d4(r,F),K=h.useMemo(function(){return ft(A,W,V,H,q)},[A,W,V,H,q]),X=h.useMemo(function(){return(0,eH.Z)((0,eH.Z)({},e),{},{prefixCls:l,locale:q,picker:i,styles:c,classNames:d,order:p,components:(0,eH.Z)({input:v},g),clearIcon:fn(l,b,y),showTime:K,value:R,defaultValue:T,pickerValue:P,defaultPickerValue:j},null==t?void 0:t())},[e]),U=fx(A,q,S),G=(0,eL.Z)(U,2),Y=G[0],Q=G[1],J=fS(Y,k,x),ee=fw(n,r,C,$,E),et=fk(n,i,ee,K);return[h.useMemo(function(){return(0,eH.Z)((0,eH.Z)({},X),{},{needConfirm:z,inputReadOnly:J,disabledDate:ee})},[X,z,J,ee]),A,_,Y,Q,et]}function fE(e,t,n){var r=(0,e3.C8)(t,{value:e}),o=(0,eL.Z)(r,2),i=o[0],a=o[1],l=p().useRef(e),s=p().useRef(),c=function(){w.Z.cancel(s.current)},u=(0,e3.zX)(function(){a(l.current),n&&i!==l.current&&n(l.current)}),d=(0,e3.zX)(function(e,t){c(),l.current=e,e||t?u():s.current=(0,w.Z)(u)});return p().useEffect(function(){return c},[]),[i,d]}function fO(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,o=fE(!n.every(function(e){return e})&&e,t||!1,r),i=(0,eL.Z)(o,2),a=i[0],l=i[1];function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(!t.inherit||a)&&l(e,t.force)}return[a,s]}function fM(e){var t=h.useRef();return h.useImperativeHandle(e,function(){var e;return{nativeElement:null==(e=t.current)?void 0:e.nativeElement,focus:function(e){var n;null==(n=t.current)||n.focus(e)},blur:function(){var e;null==(e=t.current)||e.blur()}}}),t}function fI(e,t){return h.useMemo(function(){return e||(t?((0,nE.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(e){var t=(0,eL.Z)(e,2);return{label:t[0],value:t[1]}})):[])},[e,t])}function fN(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=h.useRef(t);r.current=t,(0,oE.o)(function(){if(e)r.current(e);else{var t=(0,w.Z)(function(){r.current(e)},n);return function(){w.Z.cancel(t)}}},[e])}function fZ(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=h.useState(0),o=(0,eL.Z)(r,2),i=o[0],a=o[1],l=h.useState(!1),s=(0,eL.Z)(l,2),c=s[0],u=s[1],d=h.useRef([]),f=h.useRef(null),p=function(e){u(e)},m=function(e){return e&&(f.current=e),f.current},g=function(n){var r=d.current,o=new Set(r.filter(function(e){return n[e]||t[e]})),i=+(0===r[r.length-1]);return o.size>=2||e[i]?null:i};return fN(c||n,function(){c||(d.current=[])}),h.useEffect(function(){c&&d.current.push(i)},[c,i]),[c,p,m,i,a,g,d.current]}function fR(e,t,n,r,o,i){var a=n[n.length-1];return function(l,s){var c=(0,eL.Z)(e,2),u=c[0],d=c[1],f=(0,eH.Z)((0,eH.Z)({},s),{},{from:dY(e,n)});return!!(1===a&&t[0]&&u&&!fp(r,o,u,l,f.type)&&r.isAfter(u,l)||0===a&&t[1]&&d&&!fp(r,o,d,l,f.type)&&r.isAfter(l,d))||(null==i?void 0:i(l,f))}}function fT(e,t,n,r){switch(t){case"date":case"week":return e.addMonth(n,r);case"month":case"quarter":return e.addYear(n,r);case"year":return e.addYear(n,10*r);case"decade":return e.addYear(n,100*r);default:return n}}var fP=[];function fj(e,t,n,r,o,i,a,l){var s=arguments.length>8&&void 0!==arguments[8]?arguments[8]:fP,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:fP,u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:fP,d=arguments.length>11?arguments[11]:void 0,f=arguments.length>12?arguments[12]:void 0,p=arguments.length>13?arguments[13]:void 0,m="time"===a,g=i||0,v=function(t){var r=e.getNow();return m&&(r=fy(e,r)),s[t]||n[t]||r},b=(0,eL.Z)(c,2),y=b[0],w=b[1],x=(0,e3.C8)(function(){return v(0)},{value:y}),S=(0,eL.Z)(x,2),k=S[0],C=S[1],$=(0,e3.C8)(function(){return v(1)},{value:w}),E=(0,eL.Z)($,2),O=E[0],M=E[1],I=h.useMemo(function(){var t=[k,O][g];return m?t:fy(e,t,u[g])},[m,k,O,g,e,u]),N=function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"panel";(0,[C,M][g])(n);var i=[k,O];i[g]=n,!d||fp(e,t,k,i[0],a)&&fp(e,t,O,i[1],a)||d(i,{source:o,range:1===g?"end":"start",mode:r})},Z=function(n,r){if(l){var o={date:"month",week:"month",month:"year",quarter:"year"}[a];if(o&&!fp(e,t,n,r,o)||"year"===a&&n&&Math.floor(e.getYear(n)/10)!==Math.floor(e.getYear(r)/10))return fT(e,a,r,-1)}return r},R=h.useRef(null);return(0,oE.Z)(function(){if(o&&!s[g]){var t=m?null:e.getNow();if(null!==R.current&&R.current!==g?t=[k,O][1^g]:n[g]?t=0===g?n[0]:Z(n[0],n[1]):n[1^g]&&(t=n[1^g]),t){f&&e.isAfter(f,t)&&(t=f);var r=l?fT(e,a,t,1):t;p&&e.isAfter(r,p)&&(t=l?fT(e,a,p,-1):p),N(t,"reset")}}},[o,g,n[g]]),h.useEffect(function(){o?R.current=g:R.current=null},[o,g]),(0,oE.Z)(function(){o&&s&&s[g]&&N(s[g],"reset")},[o,g]),[I,N]}function fA(e,t){var n=h.useRef(e),r=h.useState({}),o=(0,eL.Z)(r,2)[1],i=function(e){return e&&void 0!==t?t:n.current};return[i,function(e){n.current=e,o({})},i(!0)]}var fD=[];function f_(e,t,n){return[function(r){return r.map(function(r){return fb(r,{generateConfig:e,locale:t,format:n[0]})})},function(t,n){for(var r=Math.max(t.length,n.length),o=-1,i=0;i2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:2,a=[],l=n>=1?0|n:1,s=e;s<=t;s+=l){var c=o.includes(s);c&&r||a.push({label:dq(s,i),value:s,disabled:c})}return a}function fK(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},o=r.use12Hours,i=r.hourStep,a=void 0===i?1:i,l=r.minuteStep,s=void 0===l?1:l,c=r.secondStep,u=void 0===c?1:c,d=r.millisecondStep,f=void 0===d?100:d,p=r.hideDisabledOptions,m=r.disabledTime,g=r.disabledHours,v=r.disabledMinutes,b=r.disabledSeconds,y=h.useMemo(function(){return n||e.getNow()},[n,e]),w=h.useCallback(function(e){var t=(null==m?void 0:m(e))||{};return[t.disabledHours||g||fV,t.disabledMinutes||v||fV,t.disabledSeconds||b||fV,t.disabledMilliseconds||fV]},[m,g,v,b]),x=h.useMemo(function(){return w(y)},[y,w]),S=(0,eL.Z)(x,4),k=S[0],C=S[1],$=S[2],E=S[3],O=h.useCallback(function(e,t,n,r){var i=fq(0,23,a,p,e());return[o?i.map(function(e){return(0,eH.Z)((0,eH.Z)({},e),{},{label:dq(e.value%12||12,2)})}):i,function(e){return fq(0,59,s,p,t(e))},function(e,t){return fq(0,59,u,p,n(e,t))},function(e,t,n){return fq(0,999,f,p,r(e,t,n),3)}]},[p,a,o,f,s,u]),M=h.useMemo(function(){return O(k,C,$,E)},[O,k,C,$,E]),I=(0,eL.Z)(M,4),N=I[0],Z=I[1],R=I[2],T=I[3];return[function(t,n){var r=function(){return N},o=Z,i=R,a=T;if(n){var l=w(n),s=(0,eL.Z)(l,4),c=O(s[0],s[1],s[2],s[3]),u=(0,eL.Z)(c,4),d=u[0],f=u[1],h=u[2],p=u[3];r=function(){return d},o=f,i=h,a=p}return fW(t,r,o,i,a,e)},N,Z,R,T]}function fX(e){var t=e.mode,n=e.internalMode,r=e.renderExtraFooter,o=e.showNow,i=e.showTime,a=e.onSubmit,l=e.onNow,s=e.invalid,c=e.needConfirm,u=e.generateConfig,d=e.disabledDate,f=h.useContext(dF),p=f.prefixCls,m=f.locale,v=f.button,b=void 0===v?"button":v,y=u.getNow(),w=fK(u,i,y),x=(0,eL.Z)(w,1)[0],S=null==r?void 0:r(t),k=d(y,{type:t}),C=function(){k||l(x(y))},$="".concat(p,"-now"),E="".concat($,"-btn"),O=o&&h.createElement("li",{className:$},h.createElement("a",{className:g()(E,k&&"".concat(E,"-disabled")),"aria-disabled":k,onClick:C},"date"===n?m.today:m.now)),M=c&&h.createElement("li",{className:"".concat(p,"-ok")},h.createElement(b,{disabled:s,onClick:a},m.ok)),I=(O||M)&&h.createElement("ul",{className:"".concat(p,"-ranges")},O,M);return S||I?h.createElement("div",{className:"".concat(p,"-footer")},S&&h.createElement("div",{className:"".concat(p,"-footer-extra")},S),I):null}function fU(e,t,n){return function(r,o){var i=r.findIndex(function(r){return fp(e,t,r,o,n)});if(-1===i)return[].concat((0,y.Z)(r),[o]);var a=(0,y.Z)(r);return a.splice(i,1),a}}var fG=h.createContext(null);function fY(){return h.useContext(fG)}function fQ(e,t){var n=e.prefixCls,r=e.generateConfig,o=e.locale,i=e.disabledDate,a=e.minDate,l=e.maxDate,s=e.cellRender,c=e.hoverValue,u=e.hoverRangeValue,d=e.onHover,f=e.values,h=e.pickerValue,p=e.onSelect,m=e.prevIcon,g=e.nextIcon,v=e.superPrevIcon,b=e.superNextIcon,y=r.getNow();return[{now:y,values:f,pickerValue:h,prefixCls:n,disabledDate:i,minDate:a,maxDate:l,cellRender:s,hoverValue:c,hoverRangeValue:u,onHover:d,locale:o,generateConfig:r,onSelect:p,panelType:t,prevIcon:m,nextIcon:g,superPrevIcon:v,superNextIcon:b},y]}var fJ=h.createContext({});function f0(e){for(var t=e.rowNum,n=e.colNum,r=e.baseDate,o=e.getCellDate,i=e.prefixColumn,a=e.rowClassName,l=e.titleFormat,s=e.getCellText,c=e.getCellClassName,u=e.headerCells,d=e.cellSelection,f=void 0===d||d,p=e.disabledDate,m=fY(),v=m.prefixCls,b=m.panelType,y=m.now,w=m.disabledDate,x=m.cellRender,S=m.onHover,k=m.hoverValue,C=m.hoverRangeValue,$=m.generateConfig,E=m.values,O=m.locale,M=m.onSelect,I=p||w,N="".concat(v,"-cell"),Z=h.useContext(fJ).onCellDblClick,R=function(e){return E.some(function(t){return t&&fp($,O,e,t,b)})},T=[],P=0;P1&&void 0!==arguments[1]&&arguments[1];es(e),null==b||b(e),t&&ec(e)},ed=function(e,t){U(e),t&&eu(t),ec(t,e)},ef=function(e){if(eo(e),eu(e),X!==k){var t=["decade","year"],n=[].concat(t,["month"]),r={quarter:[].concat(t,["quarter"]),week:[].concat((0,y.Z)(n),["week"]),date:[].concat((0,y.Z)(n),["date"])}[k]||n,o=r.indexOf(X),i=r[o+1];i&&ed(i,e)}},eh=h.useMemo(function(){if(Array.isArray(E)){var e,t,n=(0,eL.Z)(E,2);e=n[0],t=n[1]}else e=E;return e||t?(e=e||t,t=t||e,o.isAfter(e,t)?[t,e]:[e,t]):null},[E,o]),ep=dJ(O,M,I),em=Z[G]||hr[G]||f4,eg=h.useContext(fJ),ev=h.useMemo(function(){return(0,eH.Z)((0,eH.Z)({},eg),{},{hideHeader:R})},[eg,R]),eb="".concat(T,"-panel"),ey=dU(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return h.createElement(fJ.Provider,{value:ev},h.createElement("div",{ref:P,tabIndex:s,className:g()(eb,(0,eV.Z)({},"".concat(eb,"-rtl"),"rtl"===i))},h.createElement(em,(0,_.Z)({},ey,{showTime:W,prefixCls:T,locale:H,generateConfig:o,onModeChange:ed,pickerValue:el,onPickerValueChange:function(e){eu(e,!0)},value:en[0],onSelect:ef,values:en,cellRender:ep,hoverRangeValue:eh,hoverValue:$}))))}let hi=h.memo(h.forwardRef(ho));function ha(e){var t=e.picker,n=e.multiplePanel,r=e.pickerValue,o=e.onPickerValueChange,i=e.needConfirm,a=e.onSubmit,l=e.range,s=e.hoverValue,c=h.useContext(dF),u=c.prefixCls,d=c.generateConfig,f=h.useCallback(function(e,n){return fT(d,t,e,n)},[d,t]),p=h.useMemo(function(){return f(r,1)},[r,f]),m=function(e){o(f(e,-1))},g={onCellDblClick:function(){i&&a()}},v="time"===t,b=(0,eH.Z)((0,eH.Z)({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:v});return(l?b.hoverRangeValue=s:b.hoverValue=s,n)?h.createElement("div",{className:"".concat(u,"-panels")},h.createElement(fJ.Provider,{value:(0,eH.Z)((0,eH.Z)({},g),{},{hideNext:!0})},h.createElement(hi,b)),h.createElement(fJ.Provider,{value:(0,eH.Z)((0,eH.Z)({},g),{},{hidePrev:!0})},h.createElement(hi,(0,_.Z)({},b,{pickerValue:p,onPickerValueChange:m})))):h.createElement(fJ.Provider,{value:(0,eH.Z)({},g)},h.createElement(hi,b))}function hl(e){return"function"==typeof e?e():e}function hs(e){var t=e.prefixCls,n=e.presets,r=e.onClick,o=e.onHover;return n.length?h.createElement("div",{className:"".concat(t,"-presets")},h.createElement("ul",null,n.map(function(e,t){var n=e.label,i=e.value;return h.createElement("li",{key:t,onClick:function(){r(hl(i))},onMouseEnter:function(){o(hl(i))},onMouseLeave:function(){o(null)}},n)}))):null}function hc(e){var t=e.panelRender,n=e.internalMode,r=e.picker,o=e.showNow,i=e.range,a=e.multiple,l=e.activeOffset,s=void 0===l?0:l,c=e.placement,u=e.presets,d=e.onPresetHover,f=e.onPresetSubmit,p=e.onFocus,m=e.onBlur,b=e.onPanelMouseDown,y=e.direction,w=e.value,x=e.onSelect,S=e.isInvalid,k=e.defaultOpenValue,C=e.onOk,$=e.onSubmit,E=h.useContext(dF).prefixCls,O="".concat(E,"-panel"),M="rtl"===y,I=h.useRef(null),N=h.useRef(null),Z=h.useState(0),R=(0,eL.Z)(Z,2),T=R[0],P=R[1],j=h.useState(0),A=(0,eL.Z)(j,2),D=A[0],z=A[1],L=function(e){e.offsetWidth&&P(e.offsetWidth)};function B(e){return e.filter(function(e){return e})}h.useEffect(function(){if(i){var e,t=(null==(e=I.current)?void 0:e.offsetWidth)||0;s<=T-t?z(0):z(s+t-T)}},[T,s,i]);var H=h.useMemo(function(){return B(dK(w))},[w]),F="time"===r&&!H.length,W=h.useMemo(function(){return F?B([k]):H},[F,H,k]),V=F?k:H,q=h.useMemo(function(){return!W.length||W.some(function(e){return S(e)})},[W,S]),K=function(){F&&x(k),C(),$()},X=h.createElement("div",{className:"".concat(E,"-panel-layout")},h.createElement(hs,{prefixCls:E,presets:u,onClick:f,onHover:d}),h.createElement("div",null,h.createElement(ha,(0,_.Z)({},e,{value:V})),h.createElement(fX,(0,_.Z)({},e,{showNow:!a&&o,invalid:q,onSubmit:K}))));t&&(X=t(X));var U="".concat(O,"-container"),G="marginLeft",Y="marginRight",Q=h.createElement("div",{onMouseDown:b,tabIndex:-1,className:g()(U,"".concat(E,"-").concat(n,"-panel-container")),style:(0,eV.Z)((0,eV.Z)({},M?Y:G,D),M?G:Y,"auto"),onFocus:p,onBlur:m},X);if(i){var J=dH(dB(c,M),M);Q=h.createElement("div",{onMouseDown:b,ref:N,className:g()("".concat(E,"-range-wrapper"),"".concat(E,"-").concat(r,"-range-wrapper"))},h.createElement("div",{ref:I,className:"".concat(E,"-range-arrow"),style:(0,eV.Z)({},J,s)}),h.createElement(v.Z,{onResize:L},Q))}return Q}function hu(e,t){var n=e.format,r=e.maskFormat,o=e.generateConfig,i=e.locale,a=e.preserveInvalidOnBlur,l=e.inputReadOnly,s=e.required,c=e["aria-required"],u=e.onSubmit,d=e.onFocus,f=e.onBlur,p=e.onInputChange,m=e.onInvalid,g=e.open,v=e.onOpenChange,b=e.onKeyDown,y=e.onChange,w=e.activeHelp,x=e.name,S=e.autoComplete,k=e.id,C=e.value,$=e.invalid,E=e.placeholder,O=e.disabled,M=e.activeIndex,I=e.allHelp,N=e.picker,Z=function(e,t){var n=o.locale.parse(i.locale,e,[t]);return n&&o.isValidate(n)?n:null},R=n[0],T=h.useCallback(function(e){return fb(e,{locale:i,format:R,generateConfig:o})},[i,o,R]),P=h.useMemo(function(){return C.map(T)},[C,T]),j=h.useMemo(function(){return Math.max("time"===N?8:10,"function"==typeof R?R(o.getNow()).length:R.length)+2},[R,N,o]),A=function(e){for(var t=0;t=i&&e<=a)return r;var l=Math.min(Math.abs(e-i),Math.abs(e-a));l0?r:o));var s=o-r+1;return String(r+(s+(l+e)-r)%s)};switch(t){case"Backspace":case"Delete":n="",r=i;break;case"ArrowLeft":n="",l(-1);break;case"ArrowRight":n="",l(1);break;case"ArrowUp":n="",r=s(1);break;case"ArrowDown":n="",r=s(-1);break;default:isNaN(Number(t))||(r=n=B+t)}null!==n&&(H(n),n.length>=o&&(l(1),H(""))),null!==r&&ea((Y.slice(0,er)+dq(r,o)+Y.slice(eo)).slice(0,a.length)),G({})},ev=h.useRef();(0,oE.Z)(function(){if(R&&a&&!ec.current)return ee.match(Y)?(J.current.setSelectionRange(er,eo),ev.current=(0,w.Z)(function(){J.current.setSelectionRange(er,eo)}),function(){w.Z.cancel(ev.current)}):void ea(a)},[ee,a,R,Y,V,er,eo,U,ea]);var eb=a?{onFocus:ef,onBlur:ep,onKeyDown:eg,onMouseDown:eu,onMouseUp:ed,onPaste:es}:{};return h.createElement("div",{ref:Q,className:g()(I,(0,eV.Z)((0,eV.Z)({},"".concat(I,"-active"),n&&o),"".concat(I,"-placeholder"),c))},h.createElement(M,(0,_.Z)({ref:J,"aria-invalid":v,autoComplete:"off"},y,{onKeyDown:em,onBlur:eh},eb,{value:Y,onChange:el})),h.createElement(hm,{type:"suffix",icon:i}),b)});var hk=["id","prefix","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveOffset","placement","onMouseDown","required","aria-required","autoFocus","tabIndex"],hC=["index"],h$=["insetInlineStart","insetInlineEnd"];function hE(e,t){var n=e.id,r=e.prefix,o=e.clearIcon,i=e.suffixIcon,a=e.separator,l=void 0===a?"~":a,s=e.activeIndex,c=(e.activeHelp,e.allHelp,e.focused),u=(e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig,e.placeholder),d=e.className,f=e.style,p=e.onClick,m=e.onClear,b=e.value,y=(e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid,e.disabled),w=e.invalid,x=(e.inputReadOnly,e.direction),S=(e.onOpenChange,e.onActiveOffset),k=e.placement,C=e.onMouseDown,$=(e.required,e["aria-required"],e.autoFocus),E=e.tabIndex,O=(0,eB.Z)(e,hk),M="rtl"===x,I=h.useContext(dF).prefixCls,N=h.useMemo(function(){if("string"==typeof n)return[n];var e=n||{};return[e.start,e.end]},[n]),Z=h.useRef(),R=h.useRef(),T=h.useRef(),P=function(e){var t;return null==(t=[R,T][e])?void 0:t.current};h.useImperativeHandle(t,function(){return{nativeElement:Z.current,focus:function(e){if("object"===(0,eq.Z)(e)){var t,n,r=e||{},o=r.index,i=void 0===o?0:o,a=(0,eB.Z)(r,hC);null==(n=P(i))||n.focus(a)}else null==(t=P(null!=e?e:0))||t.focus()},blur:function(){var e,t;null==(e=P(0))||e.blur(),null==(t=P(1))||t.blur()}}});var j=hf(O),A=h.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),D=hu((0,eH.Z)((0,eH.Z)({},e),{},{id:N,placeholder:A})),z=(0,eL.Z)(D,1)[0],L=dB(k,M),B=dH(L,M),H=null==L?void 0:L.toLowerCase().endsWith("right"),F=h.useState({position:"absolute",width:0}),W=(0,eL.Z)(F,2),V=W[0],q=W[1],K=(0,e3.zX)(function(){var e=P(s);if(e){var t=e.nativeElement,n=t.offsetWidth,r=t.offsetLeft,o=t.offsetParent,i=(null==o?void 0:o.offsetWidth)||0,a=H?i-n-r:r;q(function(e){e.insetInlineStart,e.insetInlineEnd;var t=(0,eB.Z)(e,h$);return(0,eH.Z)((0,eH.Z)({},t),{},(0,eV.Z)({width:n},B,a))}),S(a)}});h.useEffect(function(){K()},[s]);var X=o&&(b[0]&&!y[0]||b[1]&&!y[1]),U=$&&!y[0],G=$&&!U&&!y[1];return h.createElement(v.Z,{onResize:K},h.createElement("div",(0,_.Z)({},j,{className:g()(I,"".concat(I,"-range"),(0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)({},"".concat(I,"-focused"),c),"".concat(I,"-disabled"),y.every(function(e){return e})),"".concat(I,"-invalid"),w.some(function(e){return e})),"".concat(I,"-rtl"),M),d),style:f,ref:Z,onClick:p,onMouseDown:function(e){var t=e.target;t!==R.current.inputElement&&t!==T.current.inputElement&&e.preventDefault(),null==C||C(e)}}),r&&h.createElement("div",{className:"".concat(I,"-prefix")},r),h.createElement(hS,(0,_.Z)({ref:R},z(0),{autoFocus:U,tabIndex:E,"date-range":"start"})),h.createElement("div",{className:"".concat(I,"-range-separator")},l),h.createElement(hS,(0,_.Z)({ref:T},z(1),{autoFocus:G,tabIndex:E,"date-range":"end"})),h.createElement("div",{className:"".concat(I,"-active-bar"),style:V}),h.createElement(hm,{type:"suffix",icon:i}),X&&h.createElement(hg,{icon:o,onClear:m})))}let hO=h.forwardRef(hE);function hM(e,t){var n=null!=e?e:t;return Array.isArray(n)?n:[n,n]}function hI(e){return 1===e?"end":"start"}function hN(e,t){var n=f$(e,function(){var t=e.disabled,n=e.allowEmpty;return{disabled:hM(t,!1),allowEmpty:hM(n,!1)}}),r=(0,eL.Z)(n,6),o=r[0],i=r[1],a=r[2],l=r[3],s=r[4],c=r[5],u=o.prefixCls,d=o.styles,f=o.classNames,p=o.placement,m=o.defaultValue,g=o.value,v=o.needConfirm,w=o.onKeyDown,x=o.disabled,S=o.allowEmpty,k=o.disabledDate,C=o.minDate,$=o.maxDate,E=o.defaultOpen,O=o.open,M=o.onOpenChange,I=o.locale,N=o.generateConfig,Z=o.picker,R=o.showNow,T=o.showToday,P=o.showTime,j=o.mode,A=o.onPanelChange,D=o.onCalendarChange,z=o.onOk,L=o.defaultPickerValue,B=o.pickerValue,H=o.onPickerValueChange,F=o.inputReadOnly,W=o.suffixIcon,V=o.onFocus,q=o.onBlur,X=o.presets,U=o.ranges,G=o.components,Y=o.cellRender,Q=o.dateRender,J=o.monthCellRender,ee=o.onClick,et=fM(t),en=fO(O,E,x,M),er=(0,eL.Z)(en,2),eo=er[0],ei=er[1],ea=function(e,t){(x.some(function(e){return!e})||!e)&&ei(e,t)},el=fB(N,I,l,!0,!1,m,g,D,z),es=(0,eL.Z)(el,5),ec=es[0],eu=es[1],ed=es[2],ef=es[3],eh=es[4],ep=ed(),em=fZ(x,S,eo),eg=(0,eL.Z)(em,7),ev=eg[0],eb=eg[1],ey=eg[2],ew=eg[3],ex=eg[4],eS=eg[5],ek=eg[6],eC=function(e,t){eb(!0),null==V||V(e,{range:hI(null!=t?t:ew)})},e$=function(e,t){eb(!1),null==q||q(e,{range:hI(null!=t?t:ew)})},eE=h.useMemo(function(){if(!P)return null;var e=P.disabledTime,t=e?function(t){return e(t,hI(ew),{from:dY(ep,ek,ew)})}:void 0;return(0,eH.Z)((0,eH.Z)({},P),{},{disabledTime:t})},[P,ew,ep,ek]),eO=(0,e3.C8)([Z,Z],{value:j}),eM=(0,eL.Z)(eO,2),eI=eM[0],eN=eM[1],eZ=eI[ew]||Z,eR="date"===eZ&&eE?"datetime":eZ,eT=eR===Z&&"time"!==eR,eP=fF(Z,eZ,R,T,!0),ej=fH(o,ec,eu,ed,ef,x,l,ev,eo,c),eA=(0,eL.Z)(ej,3),eD=eA[0],e_=eA[1],ez=eA[2],eB=fR(ep,x,ek,N,I,k),eF=d0(ep,c,S),eW=(0,eL.Z)(eF,2),eV=eW[0],eq=eW[1],eK=fj(N,I,ep,eI,eo,ew,i,eT,L,B,null==eE?void 0:eE.defaultOpenValue,H,C,$),eX=(0,eL.Z)(eK,2),eU=eX[0],eG=eX[1],eY=(0,e3.zX)(function(e,t,n){var r=dX(eI,ew,t);if((r[0]!==eI[0]||r[1]!==eI[1])&&eN(r),A&&!1!==n){var o=(0,y.Z)(ep);e&&(o[ew]=e),A(o,r)}}),eQ=function(e,t){return dX(ep,t,e)},eJ=function(e,t){var n=ep;e&&(n=eQ(e,ew));var r=eS(n);ef(n),eD(ew,null===r),null===r?ea(!1,{force:!0}):t||et.current.focus({index:r})},e0=function(e){var t,n=e.target.getRootNode();if(!et.current.nativeElement.contains(null!=(t=n.activeElement)?t:document.activeElement)){var r=x.findIndex(function(e){return!e});r>=0&&et.current.focus({index:r})}ea(!0),null==ee||ee(e)},e1=function(){e_(null),ea(!1,{force:!0})},e2=h.useState(null),e4=(0,eL.Z)(e2,2),e5=e4[0],e8=e4[1],e6=h.useState(null),e7=(0,eL.Z)(e6,2),e9=e7[0],te=e7[1],tt=h.useMemo(function(){return e9||ep},[ep,e9]);h.useEffect(function(){eo||te(null)},[eo]);var tn=h.useState(0),tr=(0,eL.Z)(tn,2),to=tr[0],ti=tr[1],ta=fI(X,U),tl=function(e){te(e),e8("preset")},ts=function(e){e_(e)&&ea(!1,{force:!0})},tc=function(e){eJ(e)},tu=function(e){te(e?eQ(e,ew):null),e8("cell")},td=function(e){ea(!0),eC(e)},tf=function(){ey("panel")},th=function(e){ef(dX(ep,ew,e)),v||a||i!==eR||eJ(e)},tp=function(){ea(!1)},tm=dJ(Y,Q,J,hI(ew)),tg=ep[ew]||null,tv=(0,e3.zX)(function(e){return c(e,{activeIndex:ew})}),tb=h.useMemo(function(){var e=(0,K.Z)(o,!1);return(0,b.Z)(o,[].concat((0,y.Z)(Object.keys(e)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]))},[o]),ty=h.createElement(hc,(0,_.Z)({},tb,{showNow:eP,showTime:eE,range:!0,multiplePanel:eT,activeOffset:to,placement:p,disabledDate:eB,onFocus:td,onBlur:e$,onPanelMouseDown:tf,picker:Z,mode:eZ,internalMode:eR,onPanelChange:eY,format:s,value:tg,isInvalid:tv,onChange:null,onSelect:th,pickerValue:eU,defaultOpenValue:dK(null==P?void 0:P.defaultOpenValue)[ew],onPickerValueChange:eG,hoverValue:tt,onHover:tu,needConfirm:v,onSubmit:eJ,onOk:eh,presets:ta,onPresetHover:tl,onPresetSubmit:ts,onNow:tc,cellRender:tm})),tw=function(e,t){ef(eQ(e,t))},tx=function(){ey("input")},tS=function(e,t){var n=ek.length,r=ek[n-1];if(n&&r!==t&&v&&!S[r]&&!ez(r)&&ep[r])return void et.current.focus({index:r});ey("input"),ea(!0,{inherit:!0}),ew!==t&&eo&&!v&&a&&eJ(null,!0),ex(t),eC(e,t)},tk=function(e,t){ea(!1),v||"input"!==ey()||eD(ew,null===eS(ep)),e$(e,t)},tC=function(e,t){"Tab"===e.key&&eJ(null,!0),null==w||w(e,t)},t$=h.useMemo(function(){return{prefixCls:u,locale:I,generateConfig:N,button:G.button,input:G.input}},[u,I,N,G.button,G.input]);return(0,oE.Z)(function(){eo&&void 0!==ew&&eY(null,Z,!1)},[eo,ew,Z]),(0,oE.Z)(function(){var e=ey();eo||"input"!==e||(ea(!1),eJ(null,!0)),eo||!a||v||"panel"!==e||(ea(!0),eJ())},[eo]),h.createElement(dF.Provider,{value:t$},h.createElement(dV,(0,_.Z)({},dQ(o),{popupElement:ty,popupStyle:d.popup,popupClassName:f.popup,visible:eo,onClose:tp,range:!0}),h.createElement(hO,(0,_.Z)({},o,{ref:et,suffixIcon:W,activeIndex:ev||eo?ew:null,activeHelp:!!e9,allHelp:!!e9&&"preset"===e5,focused:ev,onFocus:tS,onBlur:tk,onKeyDown:tC,onSubmit:eJ,value:tt,maskFormat:s,onChange:tw,onInputChange:tx,format:l,inputReadOnly:F,disabled:x,open:eo,onOpenChange:ea,onClick:e0,onClear:e1,invalid:eV,onInvalid:eq,onActiveOffset:ti}))))}let hZ=h.forwardRef(hN);function hR(e){var t=e.prefixCls,n=e.value,r=e.onRemove,o=e.removeIcon,i=void 0===o?"\xd7":o,a=e.formatDate,l=e.disabled,s=e.maxTagCount,c=e.placeholder,u="".concat(t,"-selector"),d="".concat(t,"-selection"),f="".concat(d,"-overflow");function p(e,t){return h.createElement("span",{className:g()("".concat(d,"-item")),title:"string"==typeof e?e:null},h.createElement("span",{className:"".concat(d,"-item-content")},e),!l&&t&&h.createElement("span",{onMouseDown:function(e){e.preventDefault()},onClick:t,className:"".concat(d,"-item-remove")},i))}function m(e){return p(a(e),function(t){t&&t.stopPropagation(),r(e)})}function v(e){return p("+ ".concat(e.length," ..."))}return h.createElement("div",{className:u},h.createElement(o4,{prefixCls:f,data:n,renderItem:m,renderRest:v,itemKey:function(e){return a(e)},maxCount:s}),!n.length&&h.createElement("span",{className:"".concat(t,"-selection-placeholder")},c))}var hT=["id","open","prefix","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","tabIndex","removeIcon"];function hP(e,t){e.id;var n=e.open,r=e.prefix,o=e.clearIcon,i=e.suffixIcon,a=(e.activeHelp,e.allHelp,e.focused),l=(e.onFocus,e.onBlur,e.onKeyDown,e.locale),s=e.generateConfig,c=e.placeholder,u=e.className,d=e.style,f=e.onClick,p=e.onClear,m=e.internalPicker,v=e.value,b=e.onChange,y=e.onSubmit,w=(e.onInputChange,e.multiple),x=e.maxTagCount,S=(e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid,e.disabled),k=e.invalid,C=(e.inputReadOnly,e.direction),$=(e.onOpenChange,e.onMouseDown),E=(e.required,e["aria-required"],e.autoFocus),O=e.tabIndex,M=e.removeIcon,I=(0,eB.Z)(e,hT),N="rtl"===C,Z=h.useContext(dF).prefixCls,R=h.useRef(),T=h.useRef();h.useImperativeHandle(t,function(){return{nativeElement:R.current,focus:function(e){var t;null==(t=T.current)||t.focus(e)},blur:function(){var e;null==(e=T.current)||e.blur()}}});var P=hf(I),j=function(e){b([e])},A=function(e){b(v.filter(function(t){return t&&!fp(s,l,t,e,m)})),n||y()},D=hu((0,eH.Z)((0,eH.Z)({},e),{},{onChange:j}),function(e){return{value:e.valueTexts[0]||"",active:a}}),z=(0,eL.Z)(D,2),L=z[0],B=z[1],H=!!(o&&v.length&&!S),F=w?h.createElement(h.Fragment,null,h.createElement(hR,{prefixCls:Z,value:v,onRemove:A,formatDate:B,maxTagCount:x,disabled:S,removeIcon:M,placeholder:c}),h.createElement("input",{className:"".concat(Z,"-multiple-input"),value:v.map(B).join(","),ref:T,readOnly:!0,autoFocus:E,tabIndex:O}),h.createElement(hm,{type:"suffix",icon:i}),H&&h.createElement(hg,{icon:o,onClear:p})):h.createElement(hS,(0,_.Z)({ref:T},L(),{autoFocus:E,tabIndex:O,suffixIcon:i,clearIcon:H&&h.createElement(hg,{icon:o,onClear:p}),showActiveCls:!1}));return h.createElement("div",(0,_.Z)({},P,{className:g()(Z,(0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)({},"".concat(Z,"-multiple"),w),"".concat(Z,"-focused"),a),"".concat(Z,"-disabled"),S),"".concat(Z,"-invalid"),k),"".concat(Z,"-rtl"),N),u),style:d,ref:R,onClick:f,onMouseDown:function(e){var t;e.target!==(null==(t=T.current)?void 0:t.inputElement)&&e.preventDefault(),null==$||$(e)}}),r&&h.createElement("div",{className:"".concat(Z,"-prefix")},r),F)}let hj=h.forwardRef(hP);function hA(e,t){var n=f$(e),r=(0,eL.Z)(n,6),o=r[0],i=r[1],a=r[2],l=r[3],s=r[4],c=r[5],u=o,d=u.prefixCls,f=u.styles,p=u.classNames,m=u.order,g=u.defaultValue,v=u.value,w=u.needConfirm,x=u.onChange,S=u.onKeyDown,k=u.disabled,C=u.disabledDate,$=u.minDate,E=u.maxDate,O=u.defaultOpen,M=u.open,I=u.onOpenChange,N=u.locale,Z=u.generateConfig,R=u.picker,T=u.showNow,P=u.showToday,j=u.showTime,A=u.mode,D=u.onPanelChange,z=u.onCalendarChange,L=u.onOk,B=u.multiple,H=u.defaultPickerValue,F=u.pickerValue,W=u.onPickerValueChange,V=u.inputReadOnly,q=u.suffixIcon,X=u.removeIcon,U=u.onFocus,G=u.onBlur,Y=u.presets,Q=u.components,J=u.cellRender,ee=u.dateRender,et=u.monthCellRender,en=u.onClick,er=fM(t);function eo(e){return null===e?null:B?e:e[0]}var ei=fU(Z,N,i),ea=fO(M,O,[k],I),el=(0,eL.Z)(ea,2),es=el[0],ec=el[1],eu=fB(Z,N,l,!1,m,g,v,function(e,t,n){if(z){var r=(0,eH.Z)({},n);delete r.range,z(eo(e),eo(t),r)}},function(e){null==L||L(eo(e))}),ed=(0,eL.Z)(eu,5),ef=ed[0],eh=ed[1],ep=ed[2],em=ed[3],eg=ed[4],ev=ep(),eb=fZ([k]),ey=(0,eL.Z)(eb,4),ew=ey[0],ex=ey[1],eS=ey[2],ek=ey[3],eC=function(e){ex(!0),null==U||U(e,{})},e$=function(e){ex(!1),null==G||G(e,{})},eE=(0,e3.C8)(R,{value:A}),eO=(0,eL.Z)(eE,2),eM=eO[0],eI=eO[1],eN="date"===eM&&j?"datetime":eM,eZ=fF(R,eM,T,P),eR=x&&function(e,t){x(eo(e),eo(t))},eT=fH((0,eH.Z)((0,eH.Z)({},o),{},{onChange:eR}),ef,eh,ep,em,[],l,ew,es,c),eP=(0,eL.Z)(eT,2)[1],ej=d0(ev,c),eA=(0,eL.Z)(ej,2),eD=eA[0],e_=eA[1],ez=h.useMemo(function(){return eD.some(function(e){return e})},[eD]),eB=function(e,t){if(W){var n=(0,eH.Z)((0,eH.Z)({},t),{},{mode:t.mode[0]});delete n.range,W(e[0],n)}},eF=fj(Z,N,ev,[eM],es,ek,i,!1,H,F,dK(null==j?void 0:j.defaultOpenValue),eB,$,E),eW=(0,eL.Z)(eF,2),eV=eW[0],eq=eW[1],eK=(0,e3.zX)(function(e,t,n){eI(t),D&&!1!==n&&D(e||ev[ev.length-1],t)}),eX=function(){eP(ep()),ec(!1,{force:!0})},eU=function(e){k||er.current.nativeElement.contains(document.activeElement)||er.current.focus(),ec(!0),null==en||en(e)},eG=function(){eP(null),ec(!1,{force:!0})},eY=h.useState(null),eQ=(0,eL.Z)(eY,2),eJ=eQ[0],e0=eQ[1],e1=h.useState(null),e2=(0,eL.Z)(e1,2),e4=e2[0],e5=e2[1],e8=h.useMemo(function(){var e=[e4].concat((0,y.Z)(ev)).filter(function(e){return e});return B?e:e.slice(0,1)},[ev,e4,B]),e6=h.useMemo(function(){return!B&&e4?[e4]:ev.filter(function(e){return e})},[ev,e4,B]);h.useEffect(function(){es||e5(null)},[es]);var e7=fI(Y),e9=function(e){e5(e),e0("preset")},te=function(e){eP(B?ei(ep(),e):[e])&&!B&&ec(!1,{force:!0})},tt=function(e){te(e)},tn=function(e){e5(e),e0("cell")},tr=function(e){ec(!0),eC(e)},to=function(e){if(eS("panel"),!B||eN===R){var t=B?ei(ep(),e):[e];em(t),w||a||i!==eN||eX()}},ti=function(){ec(!1)},ta=dJ(J,ee,et),tl=h.useMemo(function(){var e=(0,K.Z)(o,!1),t=(0,b.Z)(o,[].concat((0,y.Z)(Object.keys(e)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,eH.Z)((0,eH.Z)({},t),{},{multiple:o.multiple})},[o]),ts=h.createElement(hc,(0,_.Z)({},tl,{showNow:eZ,showTime:j,disabledDate:C,onFocus:tr,onBlur:e$,picker:R,mode:eM,internalMode:eN,onPanelChange:eK,format:s,value:ev,isInvalid:c,onChange:null,onSelect:to,pickerValue:eV,defaultOpenValue:null==j?void 0:j.defaultOpenValue,onPickerValueChange:eq,hoverValue:e8,onHover:tn,needConfirm:w,onSubmit:eX,onOk:eg,presets:e7,onPresetHover:e9,onPresetSubmit:te,onNow:tt,cellRender:ta})),tc=function(e){em(e)},tu=function(){eS("input")},td=function(e){eS("input"),ec(!0,{inherit:!0}),eC(e)},tf=function(e){ec(!1),e$(e)},th=function(e,t){"Tab"===e.key&&eX(),null==S||S(e,t)},tp=h.useMemo(function(){return{prefixCls:d,locale:N,generateConfig:Z,button:Q.button,input:Q.input}},[d,N,Z,Q.button,Q.input]);return(0,oE.Z)(function(){es&&void 0!==ek&&eK(null,R,!1)},[es,ek,R]),(0,oE.Z)(function(){var e=eS();es||"input"!==e||(ec(!1),eX()),es||!a||w||"panel"!==e||(ec(!0),eX())},[es]),h.createElement(dF.Provider,{value:tp},h.createElement(dV,(0,_.Z)({},dQ(o),{popupElement:ts,popupStyle:f.popup,popupClassName:p.popup,visible:es,onClose:ti}),h.createElement(hj,(0,_.Z)({},o,{ref:er,suffixIcon:q,removeIcon:X,activeHelp:!!e4,allHelp:!!e4&&"preset"===eJ,focused:ew,onFocus:td,onBlur:tf,onKeyDown:th,onSubmit:eX,value:e6,maskFormat:s,onChange:tc,onInputChange:tu,internalPicker:i,format:l,inputReadOnly:V,disabled:k,open:es,onOpenChange:ec,onClick:eU,onClear:eG,invalid:ez,onInvalid:function(e){e_(e,0)}}))))}let hD=h.forwardRef(hA),h_=h.createContext(null),hz=h_.Provider,hL=h_,hB=h.createContext(null),hH=hB.Provider;var hF=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"];let hW=(0,h.forwardRef)(function(e,t){var n=e.prefixCls,r=void 0===n?"rc-checkbox":n,o=e.className,i=e.style,a=e.checked,l=e.disabled,s=e.defaultChecked,c=void 0!==s&&s,u=e.type,d=void 0===u?"checkbox":u,f=e.title,p=e.onChange,m=(0,eB.Z)(e,hF),v=(0,h.useRef)(null),b=(0,h.useRef)(null),y=(0,ok.Z)(c,{value:a}),w=(0,eL.Z)(y,2),x=w[0],S=w[1];(0,h.useImperativeHandle)(t,function(){return{focus:function(e){var t;null==(t=v.current)||t.focus(e)},blur:function(){var e;null==(e=v.current)||e.blur()},input:v.current,nativeElement:b.current}});var k=g()(r,o,(0,eV.Z)((0,eV.Z)({},"".concat(r,"-checked"),x),"".concat(r,"-disabled"),l)),C=function(t){l||("checked"in e||S(t.target.checked),null==p||p({target:(0,eH.Z)((0,eH.Z)({},e),{},{type:d,checked:t.target.checked}),stopPropagation:function(){t.stopPropagation()},preventDefault:function(){t.preventDefault()},nativeEvent:t.nativeEvent}))};return h.createElement("span",{className:k,title:f,style:i,ref:b},h.createElement("input",(0,_.Z)({},m,{className:"".concat(r,"-input"),ref:v,onChange:C,disabled:l,checked:!!x,type:d})),h.createElement("span",{className:"".concat(r,"-inner")}))});var hV=n(89142),hq=n(17415);function hK(e){let t=p().useRef(null),n=()=>{w.Z.cancel(t.current),t.current=null};return[()=>{n(),t.current=(0,w.Z)(()=>{t.current=null})},r=>{t.current&&(r.stopPropagation(),n()),null==e||e(r)}]}let hX=e=>{let{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`&${r}-block`]:{display:"flex"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},hU=e=>{let{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:o,motionDurationSlow:i,motionDurationMid:a,motionEaseInOutCirc:l,colorBgContainer:s,colorBorder:c,lineWidth:u,colorBgContainerDisabled:d,colorTextDisabled:f,paddingXS:h,dotColorDisabled:p,lineType:m,radioColor:g,radioBgColor:v,calc:b}=e,y=`${t}-inner`,w=4,x=b(o).sub(b(w).mul(2)),S=b(1).mul(o).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,G.bf)(u)} ${m} ${r}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, - &:hover ${y}`]:{borderColor:r},[`${t}-input:focus-visible + ${y}`]:Object.assign({},(0,Y.oN)(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:S,height:S,marginBlockStart:b(1).mul(o).div(-2).equal({unit:!0}),marginInlineStart:b(1).mul(o).div(-2).equal({unit:!0}),backgroundColor:g,borderBlockStart:0,borderInlineStart:0,borderRadius:S,transform:"scale(0)",opacity:0,transition:`all ${i} ${l}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:S,height:S,backgroundColor:s,borderColor:c,borderStyle:"solid",borderWidth:u,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[y]:{borderColor:r,backgroundColor:v,"&::after":{transform:`scale(${e.calc(e.dotSize).div(o).equal()})`,opacity:1,transition:`all ${i} ${l}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[y]:{backgroundColor:d,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:p}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:f,cursor:"not-allowed"},[`&${t}-checked`]:{[y]:{"&::after":{transform:`scale(${b(x).div(o).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:h,paddingInlineEnd:h}})}},hG=e=>{let{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:o,lineType:i,colorBorder:a,motionDurationSlow:l,motionDurationMid:s,buttonPaddingInline:c,fontSize:u,buttonBg:d,fontSizeLG:f,controlHeightLG:h,controlHeightSM:p,paddingXS:m,borderRadius:g,borderRadiusSM:v,borderRadiusLG:b,buttonCheckedBg:y,buttonSolidCheckedColor:w,colorTextDisabled:x,colorBgContainerDisabled:S,buttonCheckedBgDisabled:k,buttonCheckedColorDisabled:C,colorPrimary:$,colorPrimaryHover:E,colorPrimaryActive:O,buttonSolidCheckedBg:M,buttonSolidCheckedHoverBg:I,buttonSolidCheckedActiveBg:N,calc:Z}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:u,lineHeight:(0,G.bf)(Z(n).sub(Z(o).mul(2)).equal()),background:d,border:`${(0,G.bf)(o)} ${i} ${a}`,borderBlockStartWidth:Z(o).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:`color ${s},background ${s},box-shadow ${s}`,a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:Z(o).mul(-1).equal(),insetInlineStart:Z(o).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:a,transition:`background-color ${l}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,G.bf)(o)} ${i} ${a}`,borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g},"&:first-child:last-child":{borderRadius:g},[`${r}-group-large &`]:{height:h,fontSize:f,lineHeight:(0,G.bf)(Z(h).sub(Z(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${r}-group-small &`]:{height:p,paddingInline:Z(m).sub(o).equal(),paddingBlock:0,lineHeight:(0,G.bf)(Z(p).sub(Z(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v}},"&:hover":{position:"relative",color:$},"&:has(:focus-visible)":Object.assign({},(0,Y.oN)(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:$,background:y,borderColor:$,"&::before":{backgroundColor:$},"&:first-child":{borderColor:$},"&:hover":{color:E,borderColor:E,"&::before":{backgroundColor:E}},"&:active":{color:O,borderColor:O,"&::before":{backgroundColor:O}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:w,background:M,borderColor:M,"&:hover":{color:w,background:I,borderColor:I},"&:active":{color:w,background:N,borderColor:N}},"&-disabled":{color:x,backgroundColor:S,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:x,backgroundColor:S,borderColor:a}},[`&-disabled${r}-button-wrapper-checked`]:{color:C,backgroundColor:k,borderColor:a,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},hY=e=>{let{wireframe:t,padding:n,marginXS:r,lineWidth:o,fontSizeLG:i,colorText:a,colorBgContainer:l,colorTextDisabled:s,controlItemBgActiveDisabled:c,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:f,colorPrimaryActive:h,colorWhite:p}=e,m=4,g=i,v=t?g-2*m:g-(m+o)*2;return{radioSize:g,dotSize:v,dotColorDisabled:s,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:h,buttonBg:l,buttonCheckedBg:l,buttonColor:a,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:s,buttonPaddingInline:n-o,wrapperMarginInlineEnd:r,radioColor:t?d:p,radioBgColor:t?l:d}},hQ=(0,k.I$)("Radio",e=>{let{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${(0,G.bf)(n)} ${t}`,o=r,i=(0,eI.IX)(e,{radioFocusShadow:r,radioButtonFocusShadow:o});return[hX(i),hU(i),hG(i)]},hY,{unitless:{radioSize:!0,dotSize:!0}});var hJ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let h0=(e,t)=>{var n,r;let o=h.useContext(hL),i=h.useContext(hB),{getPrefixCls:a,direction:l,radio:s}=h.useContext(S.E_),c=h.useRef(null),u=(0,X.sQ)(t,c),{isFormItemInput:d}=h.useContext(aA.aM),f=t=>{var n,r;null==(n=e.onChange)||n.call(e,t),null==(r=null==o?void 0:o.onChange)||r.call(o,t)},{prefixCls:p,className:m,rootClassName:v,children:b,style:y,title:w}=e,x=hJ(e,["prefixCls","className","rootClassName","children","style","title"]),k=a("radio",p),C="button"===((null==o?void 0:o.optionType)||i),$=C?`${k}-button`:k,E=eE(k),[O,M,I]=hQ(k,E),N=Object.assign({},x),Z=h.useContext(tF.Z);o&&(N.name=o.name,N.onChange=f,N.checked=e.value===o.value,N.disabled=null!=(n=N.disabled)?n:o.disabled),N.disabled=null!=(r=N.disabled)?r:Z;let R=g()(`${$}-wrapper`,{[`${$}-wrapper-checked`]:N.checked,[`${$}-wrapper-disabled`]:N.disabled,[`${$}-wrapper-rtl`]:"rtl"===l,[`${$}-wrapper-in-form-item`]:d,[`${$}-wrapper-block`]:!!(null==o?void 0:o.block)},null==s?void 0:s.className,m,v,M,I,E),[T,P]=hK(N.onClick);return O(h.createElement(hV.Z,{component:"Radio",disabled:N.disabled},h.createElement("label",{className:R,style:Object.assign(Object.assign({},null==s?void 0:s.style),y),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:w,onClick:T},h.createElement(hW,Object.assign({},N,{className:g()(N.className,{[hq.A]:!C}),type:"radio",prefixCls:$,ref:u,onClick:P})),void 0!==b?h.createElement("span",null,b):null)))},h1=h.forwardRef(h0),h2=h.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=h.useContext(S.E_),{prefixCls:o,className:i,rootClassName:a,options:l,buttonStyle:s="outline",disabled:c,children:u,size:d,style:f,id:p,optionType:m,name:v,defaultValue:b,value:y,block:w=!1,onChange:x,onMouseEnter:k,onMouseLeave:C,onFocus:$,onBlur:E}=e,[O,M]=(0,ok.Z)(b,{value:y}),I=h.useCallback(t=>{let n=O,r=t.target.value;"value"in e||M(r),r!==n&&(null==x||x(t))},[O,M,x]),N=n("radio",o),Z=`${N}-group`,R=eE(N),[T,P,j]=hQ(N,R),A=u;l&&l.length>0&&(A=l.map(e=>"string"==typeof e||"number"==typeof e?h.createElement(h1,{key:e.toString(),prefixCls:N,disabled:c,value:e,checked:O===e},e):h.createElement(h1,{key:`radio-group-value-options-${e.value}`,prefixCls:N,disabled:e.disabled||c,value:e.value,checked:O===e.value,title:e.title,style:e.style,id:e.id,required:e.required},e.label)));let D=(0,aj.Z)(d),_=g()(Z,`${Z}-${s}`,{[`${Z}-${D}`]:D,[`${Z}-rtl`]:"rtl"===r,[`${Z}-block`]:w},i,a,P,j,R),z=h.useMemo(()=>({onChange:I,value:O,disabled:c,name:v,optionType:m,block:w}),[I,O,c,v,m,w]);return T(h.createElement("div",Object.assign({},(0,K.Z)(e,{aria:!0,data:!0}),{className:_,style:f,onMouseEnter:k,onMouseLeave:C,onFocus:$,onBlur:E,id:p,ref:t}),h.createElement(hz,{value:z},A)))}),h4=h.memo(h2);var h3=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let h5=(e,t)=>{let{getPrefixCls:n}=h.useContext(S.E_),{prefixCls:r}=e,o=h3(e,["prefixCls"]),i=n("radio",r);return h.createElement(hH,{value:"button"},h.createElement(h1,Object.assign({prefixCls:i},o,{type:"radio",ref:t})))},h8=h.forwardRef(h5),h6=10,h7=20;function h9(e){let{fullscreen:t,validRange:n,generateConfig:r,locale:o,prefixCls:i,value:a,onChange:l,divRef:s}=e,c=r.getYear(a||r.getNow()),u=c-h6,d=u+h7;n&&(u=r.getYear(n[0]),d=r.getYear(n[1])+1);let f=o&&"年"===o.year?"年":"",p=[];for(let e=u;e{let t=r.setYear(a,e);if(n){let[e,o]=n,i=r.getYear(t),a=r.getMonth(t);i===r.getYear(o)&&a>r.getMonth(o)&&(t=r.setMonth(t,r.getMonth(o))),i===r.getYear(e)&&as.current})}function pe(e){let{prefixCls:t,fullscreen:n,validRange:r,value:o,generateConfig:i,locale:a,onChange:l,divRef:s}=e,c=i.getMonth(o||i.getNow()),u=0,d=11;if(r){let[e,t]=r,n=i.getYear(o);i.getYear(t)===n&&(d=i.getMonth(t)),i.getYear(e)===n&&(u=i.getMonth(e))}let f=a.shortMonths||i.locale.getShortMonths(a.locale),p=[];for(let e=u;e<=d;e+=1)p.push({label:f[e],value:e});return h.createElement(lR,{size:n?void 0:"small",className:`${t}-month-select`,value:c,options:p,onChange:e=>{l(i.setMonth(o,e))},getPopupContainer:()=>s.current})}function pt(e){let{prefixCls:t,locale:n,mode:r,fullscreen:o,onModeChange:i}=e;return h.createElement(h4,{onChange:e=>{let{target:{value:t}}=e;i(t)},value:r,size:o?void 0:"small",className:`${t}-mode-switch`},h.createElement(h8,{value:"month"},n.month),h.createElement(h8,{value:"year"},n.year))}let pn=function(e){let{prefixCls:t,fullscreen:n,mode:r,onChange:o,onModeChange:i}=e,a=h.useRef(null),l=(0,h.useContext)(aA.aM),s=(0,h.useMemo)(()=>Object.assign(Object.assign({},l),{isFormItemInput:!1}),[l]),c=Object.assign(Object.assign({},e),{fullscreen:n,divRef:a});return h.createElement("div",{className:`${t}-header`,ref:a},h.createElement(aA.aM.Provider,{value:s},h.createElement(h9,Object.assign({},c,{onChange:e=>{o(e,"year")}})),"month"===r&&h.createElement(pe,Object.assign({},c,{onChange:e=>{o(e,"month")}}))),h.createElement(pt,Object.assign({},c,{onModeChange:i})))};var pr=n(74228);let po=e=>{let{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:o,motionDurationMid:i,cellHoverBg:a,lineWidth:l,lineType:s,colorPrimary:c,cellActiveWithRangeBg:u,colorTextLightSolid:d,colorTextDisabled:f,cellBgDisabled:h,colorFillSecondary:p}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:(0,G.bf)(r),borderRadius:o,transition:`background ${i}`},[`&:hover:not(${t}-in-view):not(${t}-disabled), - &:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end):not(${t}-disabled)`]:{[n]:{background:a}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,G.bf)(l)} ${s} ${c}`,borderRadius:o,content:'""'}},[`&-in-view${t}-in-range, - &-in-view${t}-range-start, - &-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:u}},[`&-in-view${t}-selected, - &-in-view${t}-range-start, - &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:d,background:c},[`&${t}-disabled ${n}`]:{background:p}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:o,borderEndStartRadius:o,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o},"&-disabled":{color:f,cursor:"not-allowed",[n]:{background:"transparent"},"&::before":{background:h}},[`&-disabled${t}-today ${n}::before`]:{borderColor:f}}},pi=e=>{let{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:o,pickerControlIconSize:i,cellWidth:a,paddingSM:l,paddingXS:s,paddingXXS:c,colorBgContainer:u,lineWidth:d,lineType:f,borderRadiusLG:h,colorPrimary:p,colorTextHeading:m,colorSplit:g,pickerControlIconBorderWidth:v,colorIcon:b,textHeight:y,motionDurationMid:w,colorIconHover:x,fontWeightStrong:S,cellHeight:k,pickerCellPaddingVertical:C,colorTextDisabled:$,colorText:E,fontSize:O,motionDurationSlow:M,withoutTimeCellHeight:I,pickerQuarterPanelContentHeight:N,borderRadiusSM:Z,colorTextLightSolid:R,cellHoverBg:T,timeColumnHeight:P,timeColumnWidth:j,timeCellHeight:A,controlItemBgActive:D,marginXXS:_,pickerDatePanelPaddingHorizontal:z,pickerControlIconMargin:L}=e;return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:u,borderRadius:h,outline:"none","&-focused":{borderColor:p},"&-rtl":{[`${t}-prev-icon, - ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon, - ${t}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${t}-time-panel`]:{[`${t}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},[`&-decade-panel, - &-year-panel, - &-quarter-panel, - &-month-panel, - &-week-panel, - &-date-panel, - &-time-panel`]:{display:"flex",flexDirection:"column",width:e.calc(a).mul(7).add(e.calc(z).mul(2)).equal()},"&-header":{display:"flex",padding:`0 ${(0,G.bf)(s)}`,color:m,borderBottom:`${(0,G.bf)(d)} ${f} ${g}`,"> *":{flex:"none"},button:{padding:0,color:b,lineHeight:(0,G.bf)(y),background:"transparent",border:0,cursor:"pointer",transition:`color ${w}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center"},"> button":{minWidth:"1.6em",fontSize:O,"&:hover":{color:x},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:S,lineHeight:(0,G.bf)(y),"> button":{color:"inherit",fontWeight:"inherit","&:not(:first-child)":{marginInlineStart:s},"&:hover":{color:p}}}},[`&-prev-icon, - &-next-icon, - &-super-prev-icon, - &-super-next-icon`]:{position:"relative",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:i,height:i,border:"0 solid currentcolor",borderBlockWidth:`${(0,G.bf)(v)} 0`,borderInlineWidth:`${(0,G.bf)(v)} 0`,content:'""'}},[`&-super-prev-icon, - &-super-next-icon`]:{"&::after":{position:"absolute",top:L,insetInlineStart:L,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockWidth:`${(0,G.bf)(v)} 0`,borderInlineWidth:`${(0,G.bf)(v)} 0`,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:k,fontWeight:"normal"},th:{height:e.calc(k).add(e.calc(C).mul(2)).equal(),color:E,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,G.bf)(C)} 0`,color:$,cursor:"pointer","&-in-view":{color:E}},po(e)),[`&-decade-panel, - &-year-panel, - &-quarter-panel, - &-month-panel`]:{[`${t}-content`]:{height:e.calc(I).mul(4).equal()},[r]:{padding:`0 ${(0,G.bf)(s)}`}},"&-quarter-panel":{[`${t}-content`]:{height:N}},"&-decade-panel":{[r]:{padding:`0 ${(0,G.bf)(e.calc(s).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},[`&-year-panel, - &-quarter-panel, - &-month-panel`]:{[`${t}-body`]:{padding:`0 ${(0,G.bf)(s)}`},[r]:{width:o}},"&-date-panel":{[`${t}-body`]:{padding:`${(0,G.bf)(s)} ${(0,G.bf)(z)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${r}, - &-selected ${r}, - ${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${w}`},"&:first-child:before":{borderStartStartRadius:Z,borderEndStartRadius:Z},"&:last-child:before":{borderStartEndRadius:Z,borderEndEndRadius:Z}},"&:hover td:before":{background:T},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${n}`]:{"&:before":{background:p},[`&${t}-cell-week`]:{color:new tD.C(R).setAlpha(.5).toHexString()},[r]:{color:R}}},"&-range-hover td:before":{background:D}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${(0,G.bf)(s)} ${(0,G.bf)(l)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${(0,G.bf)(d)} ${f} ${g}`},[`${t}-date-panel, - ${t}-time-panel`]:{transition:`opacity ${M}`},"&-active":{[`${t}-date-panel, - ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${t}-content`]:{display:"flex",flex:"auto",height:P},"&-column":{flex:"1 0 auto",width:j,margin:`${(0,G.bf)(c)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${w}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${(0,G.bf)(A)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,G.bf)(d)} ${f} ${g}`},"&-active":{background:new tD.C(D).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:_,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(j).sub(e.calc(_).mul(2)).equal(),height:A,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(j).sub(A).div(2).equal(),color:E,lineHeight:(0,G.bf)(A),borderRadius:Z,cursor:"pointer",transition:`background ${w}`,"&:hover":{background:T}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:D}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:$,background:"transparent",cursor:"not-allowed"}}}}}}}}},pa=e=>{let{componentCls:t,textHeight:n,lineWidth:r,paddingSM:o,antCls:i,colorPrimary:a,cellActiveWithRangeBg:l,colorPrimaryBorder:s,lineType:c,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${(0,G.bf)(r)} ${c} ${u}`,"&-extra":{padding:`0 ${(0,G.bf)(o)}`,lineHeight:(0,G.bf)(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,G.bf)(r)} ${c} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:(0,G.bf)(o),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,G.bf)(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${i}-tag-blue`]:{color:a,background:l,borderColor:s,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}};var pl=n(20353);let ps=e=>{let{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:o}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(o).add(e.calc(r).div(2)).equal()}},pc=e=>{let{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:o,paddingXXS:i,lineWidth:a}=e,l=2*i,s=2*a,c=Math.min(n-l,n-s),u=Math.min(r-l,r-s),d=Math.min(o-l,o-s);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(i/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new tD.C(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new tD.C(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:1.4*o,timeColumnHeight:224,timeCellHeight:28,cellWidth:1.5*r,cellHeight:r,textHeight:o,withoutTimeCellHeight:1.65*o,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:c,multipleItemHeightSM:u,multipleItemHeightLG:d,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},pu=e=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,pl.T)(e)),pc(e)),(0,l3.w)(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),pd=e=>{let{calendarCls:t,componentCls:n,fullBg:r,fullPanelBg:o,itemActiveBg:i}=e;return{[t]:Object.assign(Object.assign(Object.assign({},pi(e)),(0,Y.Wf)(e)),{background:r,"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${(0,G.bf)(e.paddingSM)} 0`,[`${t}-year-select`]:{minWidth:e.yearControlWidth},[`${t}-month-select`]:{minWidth:e.monthControlWidth,marginInlineStart:e.marginXS},[`${t}-mode-switch`]:{marginInlineStart:e.marginXS}}}),[`${t} ${n}-panel`]:{background:o,border:0,borderTop:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,[`${n}-month-panel, ${n}-date-panel`]:{width:"auto"},[`${n}-body`]:{padding:`${(0,G.bf)(e.paddingXS)} 0`},[`${n}-content`]:{width:"100%"}},[`${t}-mini`]:{borderRadius:e.borderRadiusLG,[`${t}-header`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS},[`${n}-panel`]:{borderRadius:`0 0 ${(0,G.bf)(e.borderRadiusLG)} ${(0,G.bf)(e.borderRadiusLG)}`},[`${n}-content`]:{height:e.miniContentHeight,th:{height:"auto",padding:0,lineHeight:(0,G.bf)(e.weekHeight)}},[`${n}-cell::before`]:{pointerEvents:"none"}},[`${t}${t}-full`]:{[`${n}-panel`]:{display:"block",width:"100%",textAlign:"end",background:r,border:0,[`${n}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:e.paddingSM,paddingBottom:e.paddingXXS,lineHeight:(0,G.bf)(e.weekHeight)}}},[`${n}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${t}-date`]:{background:e.controlItemBgHover}},[`${t}-date-today::before`]:{display:"none"},[`&-in-view${n}-cell-selected`]:{[`${t}-date, ${t}-date-today`]:{background:i}},"&-selected, &-selected:hover":{[`${t}-date, ${t}-date-today`]:{[`${t}-date-value`]:{color:e.colorPrimary}}}},[`${t}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${(0,G.bf)(e.calc(e.marginXS).div(2).equal())}`,padding:`${(0,G.bf)(e.calc(e.paddingXS).div(2).equal())} ${(0,G.bf)(e.paddingXS)} 0`,border:0,borderTop:`${(0,G.bf)(e.lineWidthBold)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,transition:`background ${e.motionDurationSlow}`,"&-value":{lineHeight:(0,G.bf)(e.dateValueHeight),transition:`color ${e.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:e.dateContentHeight,overflowY:"auto",color:e.colorText,lineHeight:e.lineHeight,textAlign:"start"},"&-today":{borderColor:e.colorPrimary,[`${t}-date-value`]:{color:e.colorText}}}},[`@media only screen and (max-width: ${(0,G.bf)(e.screenXS)}) `]:{[t]:{[`${t}-header`]:{display:"block",[`${t}-year-select`]:{width:"50%"},[`${t}-month-select`]:{width:`calc(50% - ${(0,G.bf)(e.paddingXS)})`},[`${t}-mode-switch`]:{width:"100%",marginTop:e.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}},pf=e=>Object.assign({fullBg:e.colorBgContainer,fullPanelBg:e.colorBgContainer,itemActiveBg:e.controlItemBgActive,yearControlWidth:80,monthControlWidth:70,miniContentHeight:256},pc(e)),ph=(0,k.I$)("Calendar",e=>{let t=`${e.componentCls}-calendar`;return[pd((0,eI.IX)(e,ps(e),{calendarCls:t,pickerCellInnerCls:`${e.componentCls}-cell-inner`,dateValueHeight:e.controlHeightSM,weekHeight:e.calc(e.controlHeightSM).mul(.75).equal(),dateContentHeight:e.calc(e.calc(e.fontHeightSM).add(e.marginXS)).mul(3).add(e.calc(e.lineWidth).mul(2)).equal()}))]},pf),pp=(e,t,n)=>{let{getYear:r}=n;return e&&t&&r(e)===r(t)},pm=(e,t,n)=>{let{getMonth:r}=n;return pp(e,t,n)&&r(e)===r(t)},pg=(e,t,n)=>{let{getDate:r}=n;return pm(e,t,n)&&r(e)===r(t)},pv=e=>t=>{let{prefixCls:n,className:r,rootClassName:o,style:i,dateFullCellRender:a,dateCellRender:l,monthFullCellRender:s,monthCellRender:c,cellRender:u,fullCellRender:d,headerRender:f,value:p,defaultValue:m,disabledDate:v,mode:b,validRange:y,fullscreen:w=!0,onChange:x,onPanelChange:k,onSelect:C}=t,{getPrefixCls:$,direction:E,calendar:O}=h.useContext(S.E_),M=$("picker",n),I=`${M}-calendar`,[N,Z,R]=ph(M,I),T=e.getNow(),[P,j]=(0,ok.Z)(()=>p||e.getNow(),{defaultValue:m,value:p}),[A,D]=(0,ok.Z)("month",{value:b}),_=h.useMemo(()=>"year"===A?"month":"date",[A]),z=h.useCallback(t=>!!y&&(e.isAfter(y[0],t)||e.isAfter(t,y[1]))||!!(null==v?void 0:v(t)),[v,y]),L=(e,t)=>{null==k||k(e,t)},B=t=>{j(t),pg(t,P,e)||(("date"!==_||pm(t,P,e))&&("month"!==_||pp(t,P,e))||L(t,A),null==x||x(t))},H=e=>{D(e),L(P,e)},F=(e,t)=>{B(e),null==C||C(e,{source:t})},W=h.useCallback((t,n)=>d?d(t,n):a?a(t):h.createElement("div",{className:g()(`${M}-cell-inner`,`${I}-date`,{[`${I}-date-today`]:pg(T,t,e)})},h.createElement("div",{className:`${I}-date-value`},String(e.getDate(t)).padStart(2,"0")),h.createElement("div",{className:`${I}-date-content`},u?u(t,n):null==l?void 0:l(t))),[a,l,u,d]),V=h.useCallback((t,n)=>{if(d)return d(t,n);if(s)return s(t);let r=n.locale.shortMonths||e.locale.getShortMonths(n.locale.locale);return h.createElement("div",{className:g()(`${M}-cell-inner`,`${I}-date`,{[`${I}-date-today`]:pm(T,t,e)})},h.createElement("div",{className:`${I}-date-value`},r[e.getMonth(t)]),h.createElement("div",{className:`${I}-date-content`},u?u(t,n):null==c?void 0:c(t)))},[s,c,u,d]),[q]=(0,nn.Z)("Calendar",pr.Z),K=Object.assign(Object.assign({},q),t.locale),X=(e,t)=>"date"===t.type?W(e,t):"month"===t.type?V(e,Object.assign(Object.assign({},t),{locale:null==K?void 0:K.lang})):void 0;return N(h.createElement("div",{className:g()(I,{[`${I}-full`]:w,[`${I}-mini`]:!w,[`${I}-rtl`]:"rtl"===E},null==O?void 0:O.className,r,o,Z,R),style:Object.assign(Object.assign({},null==O?void 0:O.style),i)},f?f({value:P,type:A,onChange:e=>{F(e,"customize")},onTypeChange:H}):h.createElement(pn,{prefixCls:I,value:P,generateConfig:e,mode:A,fullscreen:w,locale:null==K?void 0:K.lang,validRange:y,onChange:F,onModeChange:H}),h.createElement(hi,{value:P,prefixCls:M,locale:null==K?void 0:K.lang,generateConfig:e,cellRender:X,onSelect:e=>{F(e,_)},mode:_,picker:_,disabledDate:z,hideHeader:!0})))},pb=pv(dL);pb.generateCalendar=pv;let py=pb,pw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};var px=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:pw}))};let pS=h.forwardRef(px),pk=(0,h.createContext)(null),pC=function(e){var t=e.activeTabOffset,n=e.horizontal,r=e.rtl,o=e.indicator,i=void 0===o?{}:o,a=i.size,l=i.align,s=void 0===l?"center":l,c=(0,h.useState)(),u=(0,eL.Z)(c,2),d=u[0],f=u[1],m=(0,h.useRef)(),g=p().useCallback(function(e){return"function"==typeof a?a(e):"number"==typeof a?a:e},[a]);function v(){w.Z.cancel(m.current)}return(0,h.useEffect)(function(){var e={};if(t)if(n){e.width=g(t.width);var o=r?"right":"left";"start"===s&&(e[o]=t[o]),"center"===s&&(e[o]=t[o]+t.width/2,e.transform=r?"translateX(50%)":"translateX(-50%)"),"end"===s&&(e[o]=t[o]+t.width,e.transform="translateX(-100%)")}else e.height=g(t.height),"start"===s&&(e.top=t.top),"center"===s&&(e.top=t.top+t.height/2,e.transform="translateY(-50%)"),"end"===s&&(e.top=t.top+t.height,e.transform="translateY(-100%)");return v(),m.current=(0,w.Z)(function(){f(e)}),v},[t,n,r,s,g]),{style:d}};var p$={width:0,height:0,left:0,top:0};function pE(e,t,n){return(0,h.useMemo)(function(){for(var n=new Map,r=t.get(null==(a=e[0])?void 0:a.key)||p$,o=r.left+r.width,i=0;ia?(o=n,k.current="x"):(o=r,k.current="y"),t(-o,-o)&&e.preventDefault()}var $=(0,h.useRef)(null);$.current={onTouchStart:w,onTouchMove:x,onTouchEnd:S,onWheel:C},h.useEffect(function(){function t(e){$.current.onTouchStart(e)}function n(e){$.current.onTouchMove(e)}function r(e){$.current.onTouchEnd(e)}function o(e){$.current.onWheel(e)}return document.addEventListener("touchmove",n,{passive:!1}),document.addEventListener("touchend",r,{passive:!0}),e.current.addEventListener("touchstart",t,{passive:!0}),e.current.addEventListener("wheel",o,{passive:!1}),function(){document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r)}},[])}function pT(e){var t=(0,h.useState)(0),n=(0,eL.Z)(t,2),r=n[0],o=n[1],i=(0,h.useRef)(0),a=(0,h.useRef)();return a.current=e,(0,oE.o)(function(){var e;null==(e=a.current)||e.call(a)},[r]),function(){i.current===r&&(i.current+=1,o(i.current))}}function pP(e){var t=(0,h.useRef)([]),n=(0,h.useState)({}),r=(0,eL.Z)(n,2)[1],o=(0,h.useRef)("function"==typeof e?e():e),i=pT(function(){var e=o.current;t.current.forEach(function(t){e=t(e)}),t.current=[],o.current=e,r({})});function a(e){t.current.push(e),i()}return[o.current,a]}var pj={width:0,height:0,left:0,top:0,right:0};function pA(e,t,n,r,o,i,a){var l,s,c,u=a.tabs,d=a.tabPosition,f=a.rtl;return["top","bottom"].includes(d)?(l="width",s=f?"right":"left",c=Math.abs(n)):(l="height",s="top",c=-n),(0,h.useMemo)(function(){if(!u.length)return[0,0];for(var n=u.length,r=n,o=0;oMath.floor(c+t)){r=o-1;break}}for(var a=0,d=n-1;d>=0;d-=1)if((e.get(u[d].key)||pj)[s]=r?[0,0]:[a,r]},[e,t,r,o,i,c,d,u.map(function(e){return e.key}).join("_"),f])}function pD(e){var t;return e instanceof Map?(t={},e.forEach(function(e,n){t[n]=e})):t=e,JSON.stringify(t)}var p_="TABS_DQ";function pz(e){return String(e).replace(/"/g,p_)}function pL(e,t,n,r){return!!n&&!r&&!1!==e&&(void 0!==e||!1!==t&&null!==t)}let pB=h.forwardRef(function(e,t){var n=e.prefixCls,r=e.editable,o=e.locale,i=e.style;return r&&!1!==r.showAdd?h.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(null==o?void 0:o.addAriaLabel)||"Add tab",onClick:function(e){r.onEdit("add",{event:e})}},r.addIcon||"+"):null}),pH=h.forwardRef(function(e,t){var n,r=e.position,o=e.prefixCls,i=e.extra;if(!i)return null;var a={};return"object"!==(0,eq.Z)(i)||h.isValidElement(i)?a.right=i:a=i,"right"===r&&(n=a.right),"left"===r&&(n=a.left),n?h.createElement("div",{className:"".concat(o,"-extra-content"),ref:t},n):null});var pF=h.forwardRef(function(e,t){var n=e.prefixCls,r=e.id,o=e.tabs,i=e.locale,a=e.mobile,l=e.more,s=void 0===l?{}:l,c=e.style,u=e.className,d=e.editable,f=e.tabBarGutter,p=e.rtl,m=e.removeAriaLabel,v=e.onTabClick,b=e.getPopupContainer,y=e.popupClassName,w=(0,h.useState)(!1),x=(0,eL.Z)(w,2),S=x[0],k=x[1],C=(0,h.useState)(null),$=(0,eL.Z)(C,2),E=$[0],O=$[1],M=s.icon,I=void 0===M?"More":M,N="".concat(r,"-more-popup"),Z="".concat(n,"-dropdown"),R=null!==E?"".concat(N,"-").concat(E):null,T=null==i?void 0:i.dropdownAriaLabel;function P(e,t){e.preventDefault(),e.stopPropagation(),d.onEdit("remove",{key:t,event:e})}var j=h.createElement(uc,{onClick:function(e){v(e.key,e.domEvent),k(!1)},prefixCls:"".concat(Z,"-menu"),id:N,tabIndex:-1,role:"listbox","aria-activedescendant":R,selectedKeys:[E],"aria-label":void 0!==T?T:"expanded dropdown"},o.map(function(e){var t=e.closable,n=e.disabled,o=e.closeIcon,i=e.key,a=e.label,l=pL(t,o,d,n);return h.createElement(cq,{key:i,id:"".concat(N,"-").concat(i),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(i),disabled:n},h.createElement("span",null,a),l&&h.createElement("button",{type:"button","aria-label":m||"remove",tabIndex:0,className:"".concat(Z,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),P(e,i)}},o||d.removeIcon||"\xd7"))}));function A(e){for(var t=o.filter(function(e){return!e.disabled}),n=t.findIndex(function(e){return e.key===E})||0,r=t.length,i=0;iMath.abs(l-n)?[l,s,c-t.left,u-t.top]:[n,r,i,o]},pK=function(e){var t=e.current||{},n=t.offsetWidth,r=void 0===n?0:n,o=t.offsetHeight,i=void 0===o?0:o;if(e.current){var a=e.current.getBoundingClientRect(),l=a.width,s=a.height;if(1>Math.abs(l-r))return[l,s]}return[r,i]},pX=function(e,t){return e[+!t]};let pU=h.forwardRef(function(e,t){var n,r,o,i,a=e.className,l=e.style,s=e.id,c=e.animated,u=e.activeKey,d=e.rtl,f=e.extra,p=e.editable,m=e.locale,b=e.tabPosition,w=e.tabBarGutter,x=e.children,S=e.onTabClick,k=e.onTabScroll,C=e.indicator,$=h.useContext(pk),E=$.prefixCls,O=$.tabs,M=(0,h.useRef)(null),I=(0,h.useRef)(null),N=(0,h.useRef)(null),Z=(0,h.useRef)(null),R=(0,h.useRef)(null),T=(0,h.useRef)(null),P=(0,h.useRef)(null),j="top"===b||"bottom"===b,A=pO(0,function(e,t){j&&k&&k({direction:e>t?"left":"right"})}),D=(0,eL.Z)(A,2),z=D[0],L=D[1],B=pO(0,function(e,t){!j&&k&&k({direction:e>t?"top":"bottom"})}),H=(0,eL.Z)(B,2),F=H[0],W=H[1],V=(0,h.useState)([0,0]),q=(0,eL.Z)(V,2),K=q[0],U=q[1],G=(0,h.useState)([0,0]),Y=(0,eL.Z)(G,2),Q=Y[0],J=Y[1],ee=(0,h.useState)([0,0]),et=(0,eL.Z)(ee,2),en=et[0],er=et[1],eo=(0,h.useState)([0,0]),ei=(0,eL.Z)(eo,2),ea=ei[0],el=ei[1],es=pP(new Map),ec=(0,eL.Z)(es,2),eu=ec[0],ed=ec[1],ef=pE(O,eu,Q[0]),eh=pX(K,j),ep=pX(Q,j),em=pX(en,j),eg=pX(ea,j),ev=Math.floor(eh)eS?eS:e}j&&d?(ex=0,eS=Math.max(0,ep-eb)):(ex=Math.min(0,eb-ep),eS=0);var eC=(0,h.useRef)(null),e$=(0,h.useState)(),eE=(0,eL.Z)(e$,2),eO=eE[0],eM=eE[1];function eI(){eM(Date.now())}function eN(){eC.current&&clearTimeout(eC.current)}pR(Z,function(e,t){function n(e,t){e(function(e){return ek(e+t)})}return!!ev&&(j?n(L,e):n(W,t),eN(),eI(),!0)}),(0,h.useEffect)(function(){return eN(),eO&&(eC.current=setTimeout(function(){eM(0)},100)),eN},[eO]);var eZ=pA(ef,eb,j?z:F,ep,em,eg,(0,eH.Z)((0,eH.Z)({},e),{},{tabs:O})),eR=(0,eL.Z)(eZ,2),eT=eR[0],eP=eR[1],ej=(0,ey.Z)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=ef.get(e)||{width:0,height:0,left:0,right:0,top:0};if(j){var n=z;d?t.rightz+eb&&(n=t.right+t.width-eb):t.left<-z?n=-t.left:t.left+t.width>-z+eb&&(n=-(t.left+t.width-eb)),W(0),L(ek(n))}else{var r=F;t.top<-F?r=-t.top:t.top+t.height>-F+eb&&(r=-(t.top+t.height-eb)),L(0),W(ek(r))}}),eA={};"top"===b||"bottom"===b?eA[d?"marginRight":"marginLeft"]=w:eA.marginTop=w;var eD=O.map(function(e,t){var n=e.key;return h.createElement(pV,{id:s,prefixCls:E,key:n,tab:e,style:0===t?void 0:eA,closable:e.closable,editable:p,active:n===u,renderWrapper:x,removeAriaLabel:null==m?void 0:m.removeAriaLabel,onClick:function(e){S(n,e)},onFocus:function(){ej(n),eI(),Z.current&&(d||(Z.current.scrollLeft=0),Z.current.scrollTop=0)}})}),e_=function(){return ed(function(){var e,t=new Map,n=null==(e=R.current)?void 0:e.getBoundingClientRect();return O.forEach(function(e){var r,o=e.key,i=null==(r=R.current)?void 0:r.querySelector('[data-node-key="'.concat(pz(o),'"]'));if(i){var a=pq(i,n),l=(0,eL.Z)(a,4),s=l[0],c=l[1],u=l[2],d=l[3];t.set(o,{width:s,height:c,left:u,top:d})}}),t})};(0,h.useEffect)(function(){e_()},[O.map(function(e){return e.key}).join("_")]);var ez=pT(function(){var e=pK(M),t=pK(I),n=pK(N);U([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var r=pK(P);er(r),el(pK(T));var o=pK(R);J([o[0]-r[0],o[1]-r[1]]),e_()}),eB=O.slice(0,eT),eF=O.slice(eP+1),eW=[].concat((0,y.Z)(eB),(0,y.Z)(eF)),eq=ef.get(u),eK=pC({activeTabOffset:eq,horizontal:j,indicator:C,rtl:d}).style;(0,h.useEffect)(function(){ej()},[u,ex,eS,pD(eq),pD(ef),j]),(0,h.useEffect)(function(){ez()},[d]);var eX=!!eW.length,eU="".concat(E,"-nav-wrap");return j?d?(r=z>0,n=z!==eS):(n=z<0,r=z!==ex):(o=F<0,i=F!==ex),h.createElement(v.Z,{onResize:ez},h.createElement("div",{ref:(0,X.x1)(t,M),role:"tablist",className:g()("".concat(E,"-nav"),a),style:l,onKeyDown:function(){eI()}},h.createElement(pH,{ref:I,position:"left",extra:f,prefixCls:E}),h.createElement(v.Z,{onResize:ez},h.createElement("div",{className:g()(eU,(0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)({},"".concat(eU,"-ping-left"),n),"".concat(eU,"-ping-right"),r),"".concat(eU,"-ping-top"),o),"".concat(eU,"-ping-bottom"),i)),ref:Z},h.createElement(v.Z,{onResize:ez},h.createElement("div",{ref:R,className:"".concat(E,"-nav-list"),style:{transform:"translate(".concat(z,"px, ").concat(F,"px)"),transition:eO?"none":void 0}},eD,h.createElement(pB,{ref:P,prefixCls:E,locale:m,editable:p,style:(0,eH.Z)((0,eH.Z)({},0===eD.length?void 0:eA),{},{visibility:eX?"hidden":null})}),h.createElement("div",{className:g()("".concat(E,"-ink-bar"),(0,eV.Z)({},"".concat(E,"-ink-bar-animated"),c.inkBar)),style:eK}))))),h.createElement(pW,(0,_.Z)({},e,{removeAriaLabel:null==m?void 0:m.removeAriaLabel,ref:T,prefixCls:E,tabs:eW,className:!eX&&ew,tabMoving:!!eO})),h.createElement(pH,{ref:N,position:"right",extra:f,prefixCls:E})))}),pG=h.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.id,a=e.active,l=e.tabKey,s=e.children;return h.createElement("div",{id:i&&"".concat(i,"-panel-").concat(l),role:"tabpanel",tabIndex:a?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(l),"aria-hidden":!a,style:o,className:g()(n,a&&"".concat(n,"-active"),r),ref:t},s)});var pY=["renderTabBar"],pQ=["label","key"];let pJ=function(e){var t=e.renderTabBar,n=(0,eB.Z)(e,pY),r=h.useContext(pk).tabs;return t?t((0,eH.Z)((0,eH.Z)({},n),{},{panes:r.map(function(e){var t=e.label,n=e.key,r=(0,eB.Z)(e,pQ);return h.createElement(pG,(0,_.Z)({tab:t,key:n,tabKey:n},r))})}),pU):h.createElement(pU,n)};var p0=["key","forceRender","style","className","destroyInactiveTabPane"];let p1=function(e){var t=e.id,n=e.activeKey,r=e.animated,o=e.tabPosition,i=e.destroyInactiveTabPane,a=h.useContext(pk),l=a.prefixCls,s=a.tabs,c=r.tabPane,u="".concat(l,"-tabpane");return h.createElement("div",{className:g()("".concat(l,"-content-holder"))},h.createElement("div",{className:g()("".concat(l,"-content"),"".concat(l,"-content-").concat(o),(0,eV.Z)({},"".concat(l,"-content-animated"),c))},s.map(function(e){var o=e.key,a=e.forceRender,l=e.style,s=e.className,d=e.destroyInactiveTabPane,f=(0,eB.Z)(e,p0),p=o===n;return h.createElement(q.ZP,(0,_.Z)({key:o,visible:p,forceRender:a,removeOnLeave:!!(i||d),leavedClassName:"".concat(u,"-hidden")},r.tabPaneMotion),function(e,n){var r=e.style,i=e.className;return h.createElement(pG,(0,_.Z)({},f,{prefixCls:u,id:t,tabKey:o,animated:c,active:p,style:(0,eH.Z)((0,eH.Z)({},l),r),className:g()(s,i),ref:n}))})})))};function p2(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,eH.Z)({inkBar:!0},"object"===(0,eq.Z)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}var p4=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],p3=0;let p5=h.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,o=void 0===r?"rc-tabs":r,i=e.className,a=e.items,l=e.direction,s=e.activeKey,c=e.defaultActiveKey,u=e.editable,d=e.animated,f=e.tabPosition,p=void 0===f?"top":f,m=e.tabBarGutter,v=e.tabBarStyle,b=e.tabBarExtraContent,y=e.locale,w=e.more,x=e.destroyInactiveTabPane,S=e.renderTabBar,k=e.onChange,C=e.onTabClick,$=e.onTabScroll,E=e.getPopupContainer,O=e.popupClassName,M=e.indicator,I=(0,eB.Z)(e,p4),N=h.useMemo(function(){return(a||[]).filter(function(e){return e&&"object"===(0,eq.Z)(e)&&"key"in e})},[a]),Z="rtl"===l,R=p2(d),T=(0,h.useState)(!1),P=(0,eL.Z)(T,2),j=P[0],A=P[1];(0,h.useEffect)(function(){A((0,oO.Z)())},[]);var D=(0,ok.Z)(function(){var e;return null==(e=N[0])?void 0:e.key},{value:s,defaultValue:c}),z=(0,eL.Z)(D,2),L=z[0],B=z[1],H=(0,h.useState)(function(){return N.findIndex(function(e){return e.key===L})}),F=(0,eL.Z)(H,2),W=F[0],V=F[1];(0,h.useEffect)(function(){var e,t=N.findIndex(function(e){return e.key===L});-1===t&&(t=Math.max(0,Math.min(W,N.length-1)),B(null==(e=N[t])?void 0:e.key)),V(t)},[N.map(function(e){return e.key}).join("_"),L,W]);var q=(0,ok.Z)(null,{value:n}),K=(0,eL.Z)(q,2),X=K[0],U=K[1];function G(e,t){null==C||C(e,t);var n=e!==L;B(e),n&&(null==k||k(e))}(0,h.useEffect)(function(){n||(U("rc-tabs-".concat(p3)),p3+=1)},[]);var Y={id:X,activeKey:L,animated:R,tabPosition:p,rtl:Z,mobile:j},Q=(0,eH.Z)((0,eH.Z)({},Y),{},{editable:u,locale:y,more:w,tabBarGutter:m,onTabClick:G,onTabScroll:$,extra:b,style:v,panes:null,getPopupContainer:E,popupClassName:O,indicator:M});return h.createElement(pk.Provider,{value:{tabs:N,prefixCls:o}},h.createElement("div",(0,_.Z)({ref:t,id:n,className:g()(o,"".concat(o,"-").concat(p),(0,eV.Z)((0,eV.Z)((0,eV.Z)({},"".concat(o,"-mobile"),j),"".concat(o,"-editable"),u),"".concat(o,"-rtl"),Z),i)},I),h.createElement(pJ,(0,_.Z)({},Q,{renderTabBar:S})),h.createElement(p1,(0,_.Z)({destroyInactiveTabPane:x},Y,{animated:R}))))}),p8={motionAppear:!1,motionEnter:!0,motionLeave:!0};function p6(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{})).tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},p8),{motionName:(0,nt.m)(e,"switch")})),t}var p7=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function p9(e){return e.filter(e=>e)}function me(e,t){return e||p9((0,oS.Z)(t).map(e=>{if(h.isValidElement(e)){let{key:t,props:n}=e,r=n||{},{tab:o}=r,i=p7(r,["tab"]);return Object.assign(Object.assign({key:String(t)},i),{label:o})}return null}))}let mt=e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[aU(e,"slide-up"),aU(e,"slide-down")]]},mn=e=>{let{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:o,colorBorderSecondary:i,itemSelectedColor:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:a,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,G.bf)(o)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,G.bf)(e.borderRadiusLG)} ${(0,G.bf)(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,G.bf)(e.borderRadiusLG)} ${(0,G.bf)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,G.bf)(o)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,G.bf)(e.borderRadiusLG)} 0 0 ${(0,G.bf)(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,G.bf)(e.borderRadiusLG)} ${(0,G.bf)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},mr=e=>{let{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${(0,G.bf)(r)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Y.vS),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,G.bf)(e.paddingXXS)} ${(0,G.bf)(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},mo=e=>{let{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:o,verticalItemPadding:i,verticalItemMargin:a,calc:l}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, - right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, - > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:l(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,G.bf)(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:l(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},mi=e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,G.bf)(e.borderRadius)} ${(0,G.bf)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,G.bf)(e.borderRadius)} ${(0,G.bf)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,G.bf)(e.borderRadius)} ${(0,G.bf)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,G.bf)(e.borderRadius)} 0 0 ${(0,G.bf)(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},ma=e=>{let{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:l,itemColor:s}=e,c=`${t}-tab`;return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:s,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,Y.Qy)(e)),"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${c}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${c}-active ${c}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:i}}}},ml=e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o,calc:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,G.bf)(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,G.bf)(e.marginXS)},marginLeft:{_skip_check_:!0,value:(0,G.bf)(i(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},ms=e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:o,itemHoverColor:i,itemActiveColor:a,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,marginLeft:{_skip_check_:!0,value:o},padding:(0,G.bf)(e.paddingXS),background:"transparent",border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${l}`,borderRadius:`${(0,G.bf)(e.borderRadiusLG)} ${(0,G.bf)(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:a}},(0,Y.Qy)(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),ma(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping']) > ${t}-nav-list`]:{margin:"auto"}}}}}},mc=e=>{let t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}},mu=(0,k.I$)("Tabs",e=>{let t=(0,eI.IX)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,G.bf)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,G.bf)(e.horizontalItemGutter)}`});return[mi(t),ml(t),mo(t),mr(t),mn(t),ms(t),mt(t)]},mc);var md=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let mf=e=>{var t,n,r,o,i,a,l,s,c,u,d;let f,{type:p,className:m,rootClassName:v,size:b,onEdit:y,hideAdd:w,centered:x,addIcon:k,removeIcon:C,moreIcon:$,more:E,popupClassName:O,children:M,items:I,animated:N,style:Z,indicatorSize:R,indicator:T}=e,P=md(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:j}=P,{direction:A,tabs:_,getPrefixCls:z,getPopupContainer:L}=h.useContext(S.E_),B=z("tabs",j),H=eE(B),[F,W,V]=mu(B,H);"editable-card"===p&&(f={onEdit:(e,t)=>{let{key:n,event:r}=t;null==y||y("add"===e?r:n,e)},removeIcon:null!=(t=null!=C?C:null==_?void 0:_.removeIcon)?t:h.createElement(D.Z,null),addIcon:(null!=k?k:null==_?void 0:_.addIcon)||h.createElement(pS,null),showAdd:!0!==w});let q=z(),K=(0,aj.Z)(b),X=me(I,M),U=p6(B,N),G=Object.assign(Object.assign({},null==_?void 0:_.style),Z),Y={align:null!=(n=null==T?void 0:T.align)?n:null==(r=null==_?void 0:_.indicator)?void 0:r.align,size:null!=(l=null!=(i=null!=(o=null==T?void 0:T.size)?o:R)?i:null==(a=null==_?void 0:_.indicator)?void 0:a.size)?l:null==_?void 0:_.indicatorSize};return F(h.createElement(p5,Object.assign({direction:A,getPopupContainer:L},P,{items:X,className:g()({[`${B}-${K}`]:K,[`${B}-card`]:["card","editable-card"].includes(p),[`${B}-editable-card`]:"editable-card"===p,[`${B}-centered`]:x},null==_?void 0:_.className,m,v,W,V,H),popupClassName:g()(O,W,V,H),style:G,editable:f,more:Object.assign({icon:null!=(d=null!=(u=null!=(c=null==(s=null==_?void 0:_.more)?void 0:s.icon)?c:null==_?void 0:_.moreIcon)?u:$)?d:h.createElement(uZ,null),transitionName:`${q}-slide-up`},E),prefixCls:B,animated:U,indicator:Y})))};mf.TabPane=()=>null;let mh=mf;var mp=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let mm=e=>{var{prefixCls:t,className:n,hoverable:r=!0}=e,o=mp(e,["prefixCls","className","hoverable"]);let{getPrefixCls:i}=h.useContext(S.E_),a=i("card",t),l=g()(`${a}-grid`,n,{[`${a}-grid-hoverable`]:r});return h.createElement("div",Object.assign({},o,{className:l}))},mg=e=>{let{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:o,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${(0,G.bf)(o)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,G.bf)(e.borderRadiusLG)} ${(0,G.bf)(e.borderRadiusLG)} 0 0`},(0,Y.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},Y.vS),{[` - > ${n}-typography, - > ${n}-typography-edit-content - `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},mv=e=>{let{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` - ${(0,G.bf)(o)} 0 0 0 ${n}, - 0 ${(0,G.bf)(o)} 0 0 ${n}, - ${(0,G.bf)(o)} ${(0,G.bf)(o)} 0 0 ${n}, - ${(0,G.bf)(o)} 0 0 0 ${n} inset, - 0 ${(0,G.bf)(o)} 0 0 ${n} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},mb=e=>{let{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:o,colorBorderSecondary:i,actionsBg:a}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:a,borderTop:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${(0,G.bf)(e.borderRadiusLG)} ${(0,G.bf)(e.borderRadiusLG)}`},(0,Y.dF)()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,G.bf)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:o,lineHeight:(0,G.bf)(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${i}`}}})},my=e=>Object.assign(Object.assign({margin:`${(0,G.bf)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,Y.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},Y.vS),"&-description":{color:e.colorTextDescription}}),mw=e=>{let{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${(0,G.bf)(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,G.bf)(e.padding)} ${(0,G.bf)(n)}`}}},mx=e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},mS=e=>{let{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:o,boxShadowTertiary:i,cardPaddingBase:a,extraColor:l}=e;return{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:i},[`${t}-head`]:mg(e),[`${t}-extra`]:{marginInlineStart:"auto",color:l,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:a,borderRadius:`0 0 ${(0,G.bf)(e.borderRadiusLG)} ${(0,G.bf)(e.borderRadiusLG)}`},(0,Y.dF)()),[`${t}-grid`]:mv(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,G.bf)(e.borderRadiusLG)} ${(0,G.bf)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:mb(e),[`${t}-meta`]:my(e)}),[`${t}-bordered`]:{border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${o}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${(0,G.bf)(e.borderRadiusLG)} ${(0,G.bf)(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:mw(e),[`${t}-loading`]:mx(e),[`${t}-rtl`]:{direction:"rtl"}}},mk=e=>{let{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${(0,G.bf)(n)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},mC=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),m$=(0,k.I$)("Card",e=>{let t=(0,eI.IX)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[mS(t),mk(t)]},mC);var mE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let mO=e=>{let{actionClasses:t,actions:n=[],actionStyle:r}=e;return h.createElement("ul",{className:t,style:r},n.map((e,t)=>{let r=`action-${t}`;return h.createElement("li",{style:{width:`${100/n.length}%`},key:r},h.createElement("span",null,e))}))},mM=h.forwardRef((e,t)=>{let n,{prefixCls:r,className:o,rootClassName:i,style:a,extra:l,headStyle:s={},bodyStyle:c={},title:u,loading:d,bordered:f=!0,size:p,type:m,cover:v,actions:y,tabList:w,children:x,activeTabKey:k,defaultActiveTabKey:C,tabBarExtraContent:$,hoverable:E,tabProps:O={},classNames:M,styles:I}=e,N=mE(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:Z,direction:R,card:T}=h.useContext(S.E_),P=t=>{var n;null==(n=e.onTabChange)||n.call(e,t)},j=e=>{var t;return g()(null==(t=null==T?void 0:T.classNames)?void 0:t[e],null==M?void 0:M[e])},A=e=>{var t;return Object.assign(Object.assign({},null==(t=null==T?void 0:T.styles)?void 0:t[e]),null==I?void 0:I[e])},D=h.useMemo(()=>{let e=!1;return h.Children.forEach(x,t=>{(null==t?void 0:t.type)===mm&&(e=!0)}),e},[x]),_=Z("card",r),[z,L,B]=m$(_),H=h.createElement(rr,{loading:!0,active:!0,paragraph:{rows:4},title:!1},x),F=void 0!==k,W=Object.assign(Object.assign({},O),{[F?"activeKey":"defaultActiveKey"]:F?k:C,tabBarExtraContent:$}),V=(0,aj.Z)(p),q=V&&"default"!==V?V:"large",K=w?h.createElement(mh,Object.assign({size:q},W,{className:`${_}-head-tabs`,onChange:P,items:w.map(e=>{var{tab:t}=e;return Object.assign({label:t},mE(e,["tab"]))})})):null;if(u||l||K){let e=g()(`${_}-head`,j("header")),t=g()(`${_}-head-title`,j("title")),r=g()(`${_}-extra`,j("extra")),o=Object.assign(Object.assign({},s),A("header"));n=h.createElement("div",{className:e,style:o},h.createElement("div",{className:`${_}-head-wrapper`},u&&h.createElement("div",{className:t,style:A("title")},u),l&&h.createElement("div",{className:r,style:A("extra")},l)),K)}let X=g()(`${_}-cover`,j("cover")),U=v?h.createElement("div",{className:X,style:A("cover")},v):null,G=g()(`${_}-body`,j("body")),Y=Object.assign(Object.assign({},c),A("body")),Q=h.createElement("div",{className:G,style:Y},d?H:x),J=g()(`${_}-actions`,j("actions")),ee=(null==y?void 0:y.length)?h.createElement(mO,{actionClasses:J,actionStyle:A("actions"),actions:y}):null,et=(0,b.Z)(N,["onTabChange"]),en=g()(_,null==T?void 0:T.className,{[`${_}-loading`]:d,[`${_}-bordered`]:f,[`${_}-hoverable`]:E,[`${_}-contain-grid`]:D,[`${_}-contain-tabs`]:null==w?void 0:w.length,[`${_}-${V}`]:V,[`${_}-type-${m}`]:!!m,[`${_}-rtl`]:"rtl"===R},o,i,L,B),er=Object.assign(Object.assign({},null==T?void 0:T.style),a);return z(h.createElement("div",Object.assign({ref:t},et,{className:en,style:er}),n,U,Q,ee))});var mI=n(46256);let mN=mM;mN.Grid=mm,mN.Meta=mI.Z;let mZ=mN,mR={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};function mT(e,t,n){var r,o=n||{},i=o.noTrailing,a=void 0!==i&&i,l=o.noLeading,s=void 0!==l&&l,c=o.debounceMode,u=void 0===c?void 0:c,d=!1,f=0;function h(){r&&clearTimeout(r)}function p(){for(var n=arguments.length,o=Array(n),i=0;ie?s?(f=Date.now(),a||(r=setTimeout(u?m:p,e))):p():!0!==a&&(r=setTimeout(u?m:p,void 0===u?e-c:e)))}return p.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;h(),d=!n},p}function mP(e,t,n){var r=(n||{}).atBegin;return mT(e,t,{debounceMode:!1!==(void 0!==r&&r)})}let mj={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return p().createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return p().createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null};function mA(e,t,n){return Math.max(t,Math.min(e,n))}var mD=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},m_=function(e){for(var t=[],n=mz(e),r=mL(e),o=n;oe.lazyLoadedList.indexOf(o)&&t.push(o);return t},mz=function(e){return e.currentSlide-mB(e)},mL=function(e){return e.currentSlide+mH(e)},mB=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+ +(parseInt(e.centerPadding)>0):0},mH=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+ +(parseInt(e.centerPadding)>0):e.slidesToShow},mF=function(e){return e&&e.offsetWidth||0},mW=function(e){return e&&e.offsetHeight||0},mV=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t=e.startX-e.curX,(n=Math.round(180*Math.atan2(e.startY-e.curY,t)/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315)return"left";if(n>=135&&n<=225)return"right";if(!0===r)if(n>=35&&n<=135)return"up";else return"down";return"vertical"},mq=function(e){var t=!0;return!e.infinite&&(e.centerMode&&e.currentSlide>=e.slideCount-1?t=!1:(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t},mK=function(e,t){var n={};return t.forEach(function(t){return n[t]=e[t]}),n},mX=function(e){var t,n=p().Children.count(e.children),r=e.listRef,o=Math.ceil(mF(r)),i=Math.ceil(mF(e.trackRef&&e.trackRef.node));if(e.vertical)t=o;else{var a=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(a*=o/100),t=Math.ceil((o-a)/e.slidesToShow)}var l=r&&mW(r.querySelector('[data-index="0"]')),s=l*e.slidesToShow,c=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(c=n-1-e.initialSlide);var u=e.lazyLoadedList||[],d=m_((0,eH.Z)((0,eH.Z)({},e),{},{currentSlide:c,lazyLoadedList:u})),f={slideCount:n,slideWidth:t,listWidth:o,trackWidth:i,currentSlide:c,slideHeight:l,listHeight:s,lazyLoadedList:u=u.concat(d)};return null===e.autoplaying&&e.autoplay&&(f.autoplaying="playing"),f},mU=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,i=e.index,a=e.slideCount,l=e.lazyLoad,s=e.currentSlide,c=e.centerMode,u=e.slidesToScroll,d=e.slidesToShow,f=e.useCSS,h=e.lazyLoadedList;if(t&&n)return{};var p,m,g,v=i,b={},y={},w=o?i:mA(i,0,a-1);if(r){if(!o&&(i<0||i>=a))return{};i<0?v=i+a:i>=a&&(v=i-a),l&&0>h.indexOf(v)&&(h=h.concat(v)),b={animating:!0,currentSlide:v,lazyLoadedList:h,targetSlide:v},y={animating:!1,targetSlide:v}}else p=v,v<0?(p=v+a,o?a%u!=0&&(p=a-a%u):p=0):!mq(e)&&v>s?v=p=s:c&&v>=a?(v=o?a:a-1,p=o?0:a-1):v>=a&&(p=v-a,o?a%u!=0&&(p=0):p=a-d),!o&&v+d>=a&&(p=a-d),m=m6((0,eH.Z)((0,eH.Z)({},e),{},{slideIndex:v})),g=m6((0,eH.Z)((0,eH.Z)({},e),{},{slideIndex:p})),o||(m===g&&(v=p),m=g),l&&(h=h.concat(m_((0,eH.Z)((0,eH.Z)({},e),{},{currentSlide:v})))),f?(b={animating:!0,currentSlide:p,trackStyle:m8((0,eH.Z)((0,eH.Z)({},e),{},{left:m})),lazyLoadedList:h,targetSlide:w},y={animating:!1,currentSlide:p,trackStyle:m5((0,eH.Z)((0,eH.Z)({},e),{},{left:g})),swipeLeft:null,targetSlide:w}):b={currentSlide:p,trackStyle:m5((0,eH.Z)((0,eH.Z)({},e),{},{left:g})),lazyLoadedList:h,targetSlide:w};return{state:b,nextState:y}},mG=function(e,t){var n,r,o,i,a=e.slidesToScroll,l=e.slidesToShow,s=e.slideCount,c=e.currentSlide,u=e.targetSlide,d=e.lazyLoad,f=e.infinite;if(n=s%a!=0?0:(s-c)%a,"previous"===t.message)i=c-(o=0===n?a:l-n),d&&!f&&(i=-1==(r=c-o)?s-1:r),f||(i=u-a);else if("next"===t.message)i=c+(o=0===n?a:n),d&&!f&&(i=(c+a)%s+n),f||(i=u+a);else if("dots"===t.message)i=t.index*t.slidesToScroll;else if("children"===t.message){if(i=t.index,f){var h=gt((0,eH.Z)((0,eH.Z)({},e),{},{targetSlide:i}));i>t.currentSlide&&"left"===h?i-=s:i10)return{scrolling:!0};a&&(v.swipeLength=C);var $=(l?-1:1)*(v.curX>v.startX?1:-1);a&&($=v.curY>v.startY?1:-1);var E=Math.ceil(p/m),O=mV(t.touchObject,a),M=v.swipeLength;return!g&&(0===s&&("right"===O||"down"===O)||s+1>=E&&("left"===O||"up"===O)||!mq(t)&&("left"===O||"up"===O))&&(M=v.swipeLength*c,!1===u&&d&&(d(O),S.edgeDragged=!0)),!f&&b&&(b(O),S.swiped=!0),x=o?k+y/w*M*$:l?k-M*$:k+M*$,a&&(x=k+M*$),S=(0,eH.Z)((0,eH.Z)({},S),{},{touchObject:v,swipeLeft:x,trackStyle:m5((0,eH.Z)((0,eH.Z)({},t),{},{left:x}))}),Math.abs(v.curX-v.startX)<.8*Math.abs(v.curY-v.startY)||v.swipeLength>10&&(S.swiping=!0,mD(e)),S}},m0=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,i=t.listWidth,a=t.touchThreshold,l=t.verticalSwiping,s=t.listHeight,c=t.swipeToSlide,u=t.scrolling,d=t.onSwipe,f=t.targetSlide,h=t.currentSlide,p=t.infinite;if(!n)return r&&mD(e),{};var m=l?s/a:i/a,g=mV(o,l),v={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(u||!o.swipeLength)return v;if(o.swipeLength>m){mD(e),d&&d(g);var b,y,w=p?h:f;switch(g){case"left":case"up":y=w+m4(t),b=c?m2(t,y):y,v.currentDirection=0;break;case"right":case"down":y=w-m4(t),b=c?m2(t,y):y,v.currentDirection=1;break;default:b=w}v.triggerSlideHandler=b}else{var x=m6(t);v.trackStyle=m8((0,eH.Z)((0,eH.Z)({},t),{},{left:x}))}return v},m1=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];nn[n.length-1])t=n[n.length-1];else for(var o in n){if(t-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+mF(r)/2>-1*e.swipeLeft)return n=r,!1;return!0}),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1},m3=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)},m5=function(e){if(m3(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]),e.vertical){var t,n;n=(e.unslick?e.slideCount:e.slideCount+2*e.slidesToShow)*e.slideHeight}else t=ge(e)*e.slideWidth;var r={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";r=(0,eH.Z)((0,eH.Z)({},r),{},{WebkitTransform:o,transform:i,msTransform:a})}else e.vertical?r.top=e.left:r.left=e.left;return e.fade&&(r={opacity:1}),t&&(r.width=t),n&&(r.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?r.marginTop=e.left+"px":r.marginLeft=e.left+"px"),r},m8=function(e){m3(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=m5(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},m6=function(e){if(e.unslick)return 0;m3(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,n=e.trackRef,r=e.infinite,o=e.centerMode,i=e.slideCount,a=e.slidesToShow,l=e.slidesToScroll,s=e.slideWidth,c=e.listWidth,u=e.variableWidth,d=e.slideHeight,f=e.fade,h=e.vertical,p=0,m=0;if(f||1===e.slideCount)return 0;var g=0;if(r?(g=-m7(e),i%l!=0&&t+l>i&&(g=-(t>i?a-(t-i):i%l)),o&&(g+=parseInt(a/2))):(i%l!=0&&t+l>i&&(g=a-i%l),o&&(g=parseInt(a/2))),p=g*s,m=g*d,v=h?-(t*d*1)+m:-(t*s*1)+p,!0===u){var v,b,y,w=n&&n.node;if(y=t+m7(e),v=(b=w&&w.childNodes[y])?-1*b.offsetLeft:0,!0===o){y=r?t+m7(e):t,b=w&&w.children[y],v=0;for(var x=0;xe.currentSlide?e.targetSlide>e.currentSlide+gn(e)?"left":"right":e.targetSlide0&&(i+=1),r&&t%2==0&&(i+=1),i}return r?0:t-1},gr=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r||t%2!=0||(i+=1),i}return r?t-1:0},go=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)},gi=Object.keys(mj);function ga(e){return gi.reduce(function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t},{})}function gl(e,t,n){return t=(0,ed.Z)(t),(0,eh.Z)(e,(0,ef.Z)()?Reflect.construct(t,n||[],(0,ed.Z)(e).constructor):t.apply(e,n))}var gs=function(e){var t,n,r,o,i;return r=(i=e.rtl?e.slideCount-1-e.index:e.index)<0||i>=e.slideCount,e.centerMode?(o=Math.floor(e.slidesToShow/2),n=(i-e.currentSlide)%e.slideCount==0,i>e.currentSlide-o-1&&i<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=i&&i=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},gc=function(e){var t={};return(void 0===e.variableWidth||!1===e.variableWidth)&&(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical&&e.slideHeight?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=+(e.currentSlide===e.index),t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},gu=function(e,t){return e.key+"-"+t},gd=function(e){var t,n=[],r=[],o=[],i=p().Children.count(e.children),a=mz(e),l=mL(e);return(p().Children.forEach(e.children,function(s,c){var u,d={message:"children",index:c,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};u=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(c)>=0?s:p().createElement("div",null);var f=gc((0,eH.Z)((0,eH.Z)({},e),{},{index:c})),h=u.props.className||"",m=gs((0,eH.Z)((0,eH.Z)({},e),{},{index:c}));if(n.push(p().cloneElement(u,{key:"original"+gu(u,c),"data-index":c,className:g()(m,h),tabIndex:"-1","aria-hidden":!m["slick-active"],style:(0,eH.Z)((0,eH.Z)({outline:"none"},u.props.style||{}),f),onClick:function(t){u.props&&u.props.onClick&&u.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(d)}})),e.infinite&&i>1&&!1===e.fade&&!e.unslick){var v=i-c;v<=m7(e)&&((t=-v)>=a&&(u=s),m=gs((0,eH.Z)((0,eH.Z)({},e),{},{index:t})),r.push(p().cloneElement(u,{key:"precloned"+gu(u,t),"data-index":t,tabIndex:"-1",className:g()(m,h),"aria-hidden":!m["slick-active"],style:(0,eH.Z)((0,eH.Z)({},u.props.style||{}),f),onClick:function(t){u.props&&u.props.onClick&&u.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(d)}}))),(t=i+c)=b&&s<=m:s===b}),w={message:"dots",index:f,slidesToScroll:i,currentSlide:s},x=this.clickHandler.bind(this,w);d=d.concat(p().createElement("li",{key:f,className:y},p().cloneElement(this.props.customPaging(f),{onClick:x})))}return p().cloneElement(this.props.appendDots(d),(0,eH.Z)({className:this.props.dotsClass},u))}}])}(p().PureComponent);function gg(e,t,n){return t=(0,ed.Z)(t),(0,eh.Z)(e,(0,ef.Z)()?Reflect.construct(t,n||[],(0,ed.Z)(e).constructor):t.apply(e,n))}var gv=function(e){function t(){return(0,ec.Z)(this,t),gg(this,t,arguments)}return(0,em.Z)(t,e),(0,eu.Z)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e,t={"slick-arrow":!0,"slick-prev":!0},n=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(t["slick-disabled"]=!0,n=null);var r={key:"0","data-role":"none",className:g()(t),style:{display:"block"},onClick:n},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?p().cloneElement(this.props.prevArrow,(0,eH.Z)((0,eH.Z)({},r),o)):p().createElement("button",(0,_.Z)({key:"0",type:"button"},r)," ","Previous")}}])}(p().PureComponent),gb=function(e){function t(){return(0,ec.Z)(this,t),gg(this,t,arguments)}return(0,em.Z)(t,e),(0,eu.Z)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e,t={"slick-arrow":!0,"slick-next":!0},n=this.clickHandler.bind(this,{message:"next"});mq(this.props)||(t["slick-disabled"]=!0,n=null);var r={key:"1","data-role":"none",className:g()(t),style:{display:"block"},onClick:n},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?p().cloneElement(this.props.nextArrow,(0,eH.Z)((0,eH.Z)({},r),o)):p().createElement("button",(0,_.Z)({key:"1",type:"button"},r)," ","Next")}}])}(p().PureComponent),gy=n(91033),gw=["animating"];function gx(e,t,n){return t=(0,ed.Z)(t),(0,eh.Z)(e,(0,ef.Z)()?Reflect.construct(t,n||[],(0,ed.Z)(e).constructor):t.apply(e,n))}var gS=function(e){function t(e){(0,ec.Z)(this,t),n=gx(this,t,[e]),(0,eV.Z)(n,"listRefHandler",function(e){return n.list=e}),(0,eV.Z)(n,"trackRefHandler",function(e){return n.track=e}),(0,eV.Z)(n,"adaptHeight",function(){if(n.props.adaptiveHeight&&n.list){var e=n.list.querySelector('[data-index="'.concat(n.state.currentSlide,'"]'));n.list.style.height=mW(e)+"px"}}),(0,eV.Z)(n,"componentDidMount",function(){if(n.props.onInit&&n.props.onInit(),n.props.lazyLoad){var e=m_((0,eH.Z)((0,eH.Z)({},n.props),n.state));e.length>0&&(n.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),n.props.onLazyLoad&&n.props.onLazyLoad(e))}var t=(0,eH.Z)({listRef:n.list,trackRef:n.track},n.props);n.updateState(t,!0,function(){n.adaptHeight(),n.props.autoplay&&n.autoPlay("playing")}),"progressive"===n.props.lazyLoad&&(n.lazyLoadTimer=setInterval(n.progressiveLazyLoad,1e3)),n.ro=new gy.Z(function(){n.state.animating?(n.onWindowResized(!1),n.callbackTimers.push(setTimeout(function(){return n.onWindowResized()},n.props.speed))):n.onWindowResized()}),n.ro.observe(n.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=n.props.pauseOnFocus?n.onSlideFocus:null,e.onblur=n.props.pauseOnFocus?n.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",n.onWindowResized):window.attachEvent("onresize",n.onWindowResized)}),(0,eV.Z)(n,"componentWillUnmount",function(){n.animationEndCallback&&clearTimeout(n.animationEndCallback),n.lazyLoadTimer&&clearInterval(n.lazyLoadTimer),n.callbackTimers.length&&(n.callbackTimers.forEach(function(e){return clearTimeout(e)}),n.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",n.onWindowResized):window.detachEvent("onresize",n.onWindowResized),n.autoplayTimer&&clearInterval(n.autoplayTimer),n.ro.disconnect()}),(0,eV.Z)(n,"componentDidUpdate",function(e){if(n.checkImagesLoad(),n.props.onReInit&&n.props.onReInit(),n.props.lazyLoad){var t=m_((0,eH.Z)((0,eH.Z)({},n.props),n.state));t.length>0&&(n.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),n.props.onLazyLoad&&n.props.onLazyLoad(t))}n.adaptHeight();var r=(0,eH.Z)((0,eH.Z)({listRef:n.list,trackRef:n.track},n.props),n.state),o=n.didPropsChange(e);o&&n.updateState(r,o,function(){n.state.currentSlide>=p().Children.count(n.props.children)&&n.changeSlide({message:"index",index:p().Children.count(n.props.children)-n.props.slidesToShow,currentSlide:n.state.currentSlide}),(e.autoplay!==n.props.autoplay||e.autoplaySpeed!==n.props.autoplaySpeed)&&(!e.autoplay&&n.props.autoplay?n.autoPlay("playing"):n.props.autoplay?n.autoPlay("update"):n.pause("paused"))})}),(0,eV.Z)(n,"onWindowResized",function(e){n.debouncedResize&&n.debouncedResize.cancel(),n.debouncedResize=mP(50,function(){return n.resizeWindow(e)}),n.debouncedResize()}),(0,eV.Z)(n,"resizeWindow",function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(n.track&&n.track.node){var t=(0,eH.Z)((0,eH.Z)({listRef:n.list,trackRef:n.track},n.props),n.state);n.updateState(t,e,function(){n.props.autoplay?n.autoPlay("update"):n.pause("paused")}),n.setState({animating:!1}),clearTimeout(n.animationEndCallback),delete n.animationEndCallback}}),(0,eV.Z)(n,"updateState",function(e,t,r){var o=mX(e),i=m6(e=(0,eH.Z)((0,eH.Z)((0,eH.Z)({},e),o),{},{slideIndex:o.currentSlide})),a=m5(e=(0,eH.Z)((0,eH.Z)({},e),{},{left:i}));(t||p().Children.count(n.props.children)!==p().Children.count(e.children))&&(o.trackStyle=a),n.setState(o,r)}),(0,eV.Z)(n,"ssrInit",function(){if(n.props.variableWidth){var e=0,t=0,r=[],o=m7((0,eH.Z)((0,eH.Z)((0,eH.Z)({},n.props),n.state),{},{slideCount:n.props.children.length})),i=m9((0,eH.Z)((0,eH.Z)((0,eH.Z)({},n.props),n.state),{},{slideCount:n.props.children.length}));n.props.children.forEach(function(t){r.push(t.props.style.width),e+=t.props.style.width});for(var a=0;a=t&&n.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(t){i(t),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(n.props.lazyLoad?e.onload=function(){n.adaptHeight(),n.callbackTimers.push(setTimeout(n.onWindowResized,n.props.speed))}:(e.onload=o,e.onerror=function(){o(),n.props.onLazyLoadError&&n.props.onLazyLoadError()}))})}),(0,eV.Z)(n,"progressiveLazyLoad",function(){for(var e=[],t=(0,eH.Z)((0,eH.Z)({},n.props),n.state),r=n.state.currentSlide;rn.state.lazyLoadedList.indexOf(r)){e.push(r);break}for(var o=n.state.currentSlide-1;o>=-m7(t);o--)if(0>n.state.lazyLoadedList.indexOf(o)){e.push(o);break}e.length>0?(n.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),n.props.onLazyLoad&&n.props.onLazyLoad(e)):n.lazyLoadTimer&&(clearInterval(n.lazyLoadTimer),delete n.lazyLoadTimer)}),(0,eV.Z)(n,"slideHandler",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n.props,o=r.asNavFor,i=r.beforeChange,a=r.onLazyLoad,l=r.speed,s=r.afterChange,c=n.state.currentSlide,u=mU((0,eH.Z)((0,eH.Z)((0,eH.Z)({index:e},n.props),n.state),{},{trackRef:n.track,useCSS:n.props.useCSS&&!t})),d=u.state,f=u.nextState;if(d){i&&i(c,d.currentSlide);var h=d.lazyLoadedList.filter(function(e){return 0>n.state.lazyLoadedList.indexOf(e)});a&&h.length>0&&a(h),!n.props.waitForAnimate&&n.animationEndCallback&&(clearTimeout(n.animationEndCallback),s&&s(c),delete n.animationEndCallback),n.setState(d,function(){o&&n.asNavForIndex!==e&&(n.asNavForIndex=e,o.innerSlider.slideHandler(e)),f&&(n.animationEndCallback=setTimeout(function(){var e=f.animating,t=(0,eB.Z)(f,gw);n.setState(t,function(){n.callbackTimers.push(setTimeout(function(){return n.setState({animating:e})},10)),s&&s(d.currentSlide),delete n.animationEndCallback})},l))})}}),(0,eV.Z)(n,"changeSlide",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=mG((0,eH.Z)((0,eH.Z)({},n.props),n.state),e);if((0===r||r)&&(!0===t?n.slideHandler(r,t):n.slideHandler(r),n.props.autoplay&&n.autoPlay("update"),n.props.focusOnSelect)){var o=n.list.querySelectorAll(".slick-current");o[0]&&o[0].focus()}}),(0,eV.Z)(n,"clickHandler",function(e){!1===n.clickable&&(e.stopPropagation(),e.preventDefault()),n.clickable=!0}),(0,eV.Z)(n,"keyHandler",function(e){var t=mY(e,n.props.accessibility,n.props.rtl);""!==t&&n.changeSlide({message:t})}),(0,eV.Z)(n,"selectHandler",function(e){n.changeSlide(e)}),(0,eV.Z)(n,"disableBodyScroll",function(){var e=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1};window.ontouchmove=e}),(0,eV.Z)(n,"enableBodyScroll",function(){window.ontouchmove=null}),(0,eV.Z)(n,"swipeStart",function(e){n.props.verticalSwiping&&n.disableBodyScroll();var t=mQ(e,n.props.swipe,n.props.draggable);""!==t&&n.setState(t)}),(0,eV.Z)(n,"swipeMove",function(e){var t=mJ(e,(0,eH.Z)((0,eH.Z)((0,eH.Z)({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));t&&(t.swiping&&(n.clickable=!1),n.setState(t))}),(0,eV.Z)(n,"swipeEnd",function(e){var t=m0(e,(0,eH.Z)((0,eH.Z)((0,eH.Z)({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));if(t){var r=t.triggerSlideHandler;delete t.triggerSlideHandler,n.setState(t),void 0!==r&&(n.slideHandler(r),n.props.verticalSwiping&&n.enableBodyScroll())}}),(0,eV.Z)(n,"touchEnd",function(e){n.swipeEnd(e),n.clickable=!0}),(0,eV.Z)(n,"slickPrev",function(){n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"previous"})},0))}),(0,eV.Z)(n,"slickNext",function(){n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"next"})},0))}),(0,eV.Z)(n,"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(isNaN(e=Number(e)))return"";n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"index",index:e,currentSlide:n.state.currentSlide},t)},0))}),(0,eV.Z)(n,"play",function(){var e;if(n.props.rtl)e=n.state.currentSlide-n.props.slidesToScroll;else{if(!mq((0,eH.Z)((0,eH.Z)({},n.props),n.state)))return!1;e=n.state.currentSlide+n.props.slidesToScroll}n.slideHandler(e)}),(0,eV.Z)(n,"autoPlay",function(e){n.autoplayTimer&&clearInterval(n.autoplayTimer);var t=n.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;n.autoplayTimer=setInterval(n.play,n.props.autoplaySpeed+50),n.setState({autoplaying:"playing"})}),(0,eV.Z)(n,"pause",function(e){n.autoplayTimer&&(clearInterval(n.autoplayTimer),n.autoplayTimer=null);var t=n.state.autoplaying;"paused"===e?n.setState({autoplaying:"paused"}):"focused"===e?("hovered"===t||"playing"===t)&&n.setState({autoplaying:"focused"}):"playing"===t&&n.setState({autoplaying:"hovered"})}),(0,eV.Z)(n,"onDotsOver",function(){return n.props.autoplay&&n.pause("hovered")}),(0,eV.Z)(n,"onDotsLeave",function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")}),(0,eV.Z)(n,"onTrackOver",function(){return n.props.autoplay&&n.pause("hovered")}),(0,eV.Z)(n,"onTrackLeave",function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")}),(0,eV.Z)(n,"onSlideFocus",function(){return n.props.autoplay&&n.pause("focused")}),(0,eV.Z)(n,"onSlideBlur",function(){return n.props.autoplay&&"focused"===n.state.autoplaying&&n.autoPlay("blur")}),(0,eV.Z)(n,"render",function(){var e,t,r,o=g()("slick-slider",n.props.className,{"slick-vertical":n.props.vertical,"slick-initialized":!0}),i=(0,eH.Z)((0,eH.Z)({},n.props),n.state),a=mK(i,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),l=n.props.pauseOnHover;if(a=(0,eH.Z)((0,eH.Z)({},a),{},{onMouseEnter:l?n.onTrackOver:null,onMouseLeave:l?n.onTrackLeave:null,onMouseOver:l?n.onTrackOver:null,focusOnSelect:n.props.focusOnSelect&&n.clickable?n.selectHandler:null}),!0===n.props.dots&&n.state.slideCount>=n.props.slidesToShow){var s=mK(i,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),c=n.props.pauseOnDotsHover;s=(0,eH.Z)((0,eH.Z)({},s),{},{clickHandler:n.changeSlide,onMouseEnter:c?n.onDotsLeave:null,onMouseOver:c?n.onDotsOver:null,onMouseLeave:c?n.onDotsLeave:null}),e=p().createElement(gm,s)}var u=mK(i,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);u.clickHandler=n.changeSlide,n.props.arrows&&(t=p().createElement(gv,u),r=p().createElement(gb,u));var d=null;n.props.vertical&&(d={height:n.state.listHeight});var f=null;!1===n.props.vertical?!0===n.props.centerMode&&(f={padding:"0px "+n.props.centerPadding}):!0===n.props.centerMode&&(f={padding:n.props.centerPadding+" 0px"});var h=(0,eH.Z)((0,eH.Z)({},d),f),m=n.props.touchMove,v={className:"slick-list",style:h,onClick:n.clickHandler,onMouseDown:m?n.swipeStart:null,onMouseMove:n.state.dragging&&m?n.swipeMove:null,onMouseUp:m?n.swipeEnd:null,onMouseLeave:n.state.dragging&&m?n.swipeEnd:null,onTouchStart:m?n.swipeStart:null,onTouchMove:n.state.dragging&&m?n.swipeMove:null,onTouchEnd:m?n.touchEnd:null,onTouchCancel:n.state.dragging&&m?n.swipeEnd:null,onKeyDown:n.props.accessibility?n.keyHandler:null},b={className:o,dir:"ltr",style:n.props.style};return n.props.unslick&&(v={className:"slick-list"},b={className:o,style:n.props.style}),p().createElement("div",b,n.props.unslick?"":t,p().createElement("div",(0,_.Z)({ref:n.listRefHandler},v),p().createElement(gf,(0,_.Z)({ref:n.trackRefHandler},a),n.props.children)),n.props.unslick?"":r,n.props.unslick?"":e)}),n.list=null,n.track=null,n.state=(0,eH.Z)((0,eH.Z)({},mR),{},{currentSlide:n.props.initialSlide,targetSlide:n.props.initialSlide?n.props.initialSlide:0,slideCount:p().Children.count(n.props.children)}),n.callbackTimers=[],n.clickable=!0,n.debouncedResize=null;var n,r=n.ssrInit();return n.state=(0,eH.Z)((0,eH.Z)({},n.state),r),n}return(0,em.Z)(t,e),(0,eu.Z)(t,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,r=Object.keys(this.props);n1&&void 0!==arguments[1]&&arguments[1];return n.innerSlider.slickGoTo(e,t)}),(0,eV.Z)(n,"slickPause",function(){return n.innerSlider.pause("paused")}),(0,eV.Z)(n,"slickPlay",function(){return n.innerSlider.autoPlay("play")}),n.state={breakpoint:null},n._responsiveMediaHandlers=[],n}return(0,em.Z)(t,e),(0,eu.Z)(t,[{key:"media",value:function(e,t){var n=window.matchMedia(e),r=function(e){e.matches&&t()};n.addListener(r),r(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:r})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(n,r){var o;o=0===r?gC()({minWidth:0,maxWidth:n}):gC()({minWidth:t[r-1]+1,maxWidth:n}),go()&&e.media(o,function(){e.setState({breakpoint:n})})});var n=gC()({minWidth:t.slice(-1)[0]});go()&&this.media(n,function(){e.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(e){e.mql.removeListener(e.listener)})}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter(function(e){return e.breakpoint===n.state.breakpoint}))[0].settings?"unslick":(0,eH.Z)((0,eH.Z)((0,eH.Z)({},mj),this.props),t[0].settings):(0,eH.Z)((0,eH.Z)({},mj),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var r=p().Children.toArray(this.props.children);r=r.filter(function(e){return"string"==typeof e?!!e.trim():!!e}),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var o=[],i=null,a=0;a=r.length));u+=1)c.push(p().cloneElement(r[u],{key:100*a+10*s+u,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));l.push(p().createElement("div",{key:10*a+s},c))}e.variableWidth?o.push(p().createElement("div",{key:a,style:{width:i}},l)):o.push(p().createElement("div",{key:a},l))}if("unslick"===e){var d="regular slider "+(this.props.className||"");return p().createElement("div",{className:d},r)}return o.length<=e.slidesToShow&&!e.infinite&&(e.unslick=!0),p().createElement(gS,(0,_.Z)({style:this.props.style,ref:this.innerSliderRefHandler},ga(e)),o)}}])}(p().Component),gO=e=>{let{componentCls:t,antCls:n}=e;return{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"}})}},gM=e=>{let{componentCls:t,motionDurationSlow:n,arrowSize:r,arrowOffset:o}=e,i=e.calc(r).div(Math.SQRT2).equal();return[{[t]:{".slick-prev, .slick-next":{position:"absolute",top:"50%",width:r,height:r,transform:"translateY(-50%)",color:"#fff",opacity:.4,background:"transparent",padding:0,lineHeight:0,border:0,outline:"none",cursor:"pointer",zIndex:1,transition:`opacity ${n}`,"&:hover, &:focus":{opacity:1},"&.slick-disabled":{pointerEvents:"none",opacity:0},"&::after":{boxSizing:"border-box",position:"absolute",top:e.calc(r).sub(i).div(2).equal(),insetInlineStart:e.calc(r).sub(i).div(2).equal(),display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderInlineWidth:"2px 0",borderBlockWidth:"2px 0",borderRadius:1,content:'""'}},".slick-prev":{insetInlineStart:o,"&::after":{transform:"rotate(-45deg)"}},".slick-next":{insetInlineEnd:o,"&::after":{transform:"rotate(135deg)"}}}}]},gI=e=>{let{componentCls:t,dotOffset:n,dotWidth:r,dotHeight:o,dotGap:i,colorBgContainer:a,motionDurationSlow:l}=e;return[{[t]:{".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:n},"&-top":{top:n,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:r,height:o,marginInline:i,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${l}`,button:{position:"relative",display:"block",width:"100%",height:o,padding:0,color:"transparent",fontSize:0,background:a,border:0,borderRadius:o,outline:"none",cursor:"pointer",opacity:.2,transition:`all ${l}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:e.calc(i).mul(-1).equal(),content:'""'}},"&.slick-active":{width:e.dotActiveWidth,"& button":{background:a,opacity:1},"&: hover, &:focus":{opacity:1}}}}}}]},gN=e=>{let{componentCls:t,dotOffset:n,arrowOffset:r,marginXXS:o}=e,i={width:e.dotHeight,height:e.dotWidth};return{[`${t}-vertical`]:{".slick-prev, .slick-next":{insetInlineStart:"50%",marginBlockStart:"unset",transform:"translateX(-50%)"},".slick-prev":{insetBlockStart:r,insetInlineStart:"50%","&::after":{transform:"rotate(45deg)"}},".slick-next":{insetBlockStart:"auto",insetBlockEnd:r,"&::after":{transform:"rotate(-135deg)"}},".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:n},"&-right":{insetInlineEnd:n,insetInlineStart:"auto"},li:Object.assign(Object.assign({},i),{margin:`${(0,G.bf)(o)} 0`,verticalAlign:"baseline",button:i,"&.slick-active":Object.assign(Object.assign({},i),{button:i})})}}}},gZ=e=>{let{componentCls:t}=e;return[{[`${t}-rtl`]:{direction:"rtl",".slick-dots":{[`${t}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${t}-vertical`]:{".slick-dots":{[`${t}-rtl&`]:{flexDirection:"column"}}}}]},gR=e=>{let t=24;return{arrowSize:16,arrowOffset:e.marginXS,dotWidth:16,dotHeight:3,dotGap:e.marginXXS,dotOffset:12,dotWidthActive:t,dotActiveWidth:t}},gT=(0,k.I$)("Carousel",e=>[gO(e),gM(e),gI(e),gN(e),gZ(e)],gR,{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]});var gP=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let gj="slick-dots",gA=e=>{var{currentSlide:t,slideCount:n}=e,r=gP(e,["currentSlide","slideCount"]);return h.createElement("button",Object.assign({type:"button"},r))},gD=h.forwardRef((e,t)=>{let{dots:n=!0,arrows:r=!1,prevArrow:o=h.createElement(gA,{"aria-label":"prev"}),nextArrow:i=h.createElement(gA,{"aria-label":"next"}),draggable:a=!1,waitForAnimate:l=!1,dotPosition:s="bottom",vertical:c="left"===s||"right"===s,rootClassName:u,className:d,style:f,id:p}=e,m=gP(e,["dots","arrows","prevArrow","nextArrow","draggable","waitForAnimate","dotPosition","vertical","rootClassName","className","style","id"]),{getPrefixCls:v,direction:b,carousel:y}=h.useContext(S.E_),w=h.useRef(null),x=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];w.current.slickGoTo(e,t)};h.useImperativeHandle(t,()=>({goTo:x,autoPlay:w.current.innerSlider.autoPlay,innerSlider:w.current.innerSlider,prev:w.current.slickPrev,next:w.current.slickNext}),[w.current]);let k=h.useRef(h.Children.count(e.children));h.useEffect(()=>{k.current!==h.Children.count(e.children)&&(x(e.initialSlide||0,!1),k.current=h.Children.count(e.children))},[e.children]);let C=Object.assign({vertical:c,className:g()(d,null==y?void 0:y.className),style:Object.assign(Object.assign({},null==y?void 0:y.style),f)},m);"fade"===C.effect&&(C.fade=!0);let $=v("carousel",C.prefixCls),E=!!n,O=g()(gj,`${gj}-${s}`,"boolean"!=typeof n&&(null==n?void 0:n.className)),[M,I,N]=gT($),Z=g()($,{[`${$}-rtl`]:"rtl"===b,[`${$}-vertical`]:C.vertical},I,N,u);return M(h.createElement("div",{className:Z,id:p},h.createElement(gE,Object.assign({ref:w},C,{dots:E,dotsClass:O,arrows:r,prevArrow:o,nextArrow:i,draggable:a,verticalSwiping:c,waitForAnimate:l}))))}),g_=h.createContext({});var gz="__rc_cascader_search_mark__",gL=function(e,t,n){var r=n.label,o=void 0===r?"":r;return t.some(function(t){return String(t[o]).toLowerCase().includes(e.toLowerCase())})},gB=function(e,t,n,r){return t.map(function(e){return e[r.label]}).join(" / ")};let gH=function(e,t,n,r,o,i){var a=o.filter,l=void 0===a?gL:a,s=o.render,c=void 0===s?gB:s,u=o.limit,d=void 0===u?50:u,f=o.sort;return h.useMemo(function(){var o=[];if(!e)return[];function a(t,s){var u=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach(function(t){if(f||!1===d||!(d>0)||!(o.length>=d)){var h,p=[].concat((0,y.Z)(s),[t]),m=t[n.children],g=u||t.disabled;(!m||0===m.length||i)&&l(e,p,{label:n.label})&&o.push((0,eH.Z)((0,eH.Z)({},t),{},(h={disabled:g},(0,eV.Z)(h,n.label,c(e,p,r,n)),(0,eV.Z)(h,gz,p),(0,eV.Z)(h,n.children,void 0),h))),m&&a(t[n.children],p,g)}})}return a(t,[]),f&&o.sort(function(t,r){return f(t[gz],r[gz],e,n)}),!1!==d&&d>0?o.slice(0,d):o},[e,t,n,r,c,i,l,f,d])};var gF="__RC_CASCADER_SPLIT__",gW="SHOW_PARENT",gV="SHOW_CHILD";function gq(e){return e.join(gF)}function gK(e){return e.map(gq)}function gX(e){return e.split(gF)}function gU(e){var t=e||{},n=t.label,r=t.value,o=t.children,i=r||"value";return{label:n||"label",value:i,key:i,children:o||"children"}}function gG(e,t){var n,r;return null!=(n=e.isLeaf)?n:!(null!=(r=e[t.children])&&r.length)}function gY(e){var t=e.parentElement;if(t){var n=e.offsetTop-t.offsetTop;n-t.scrollTop<0?t.scrollTo({top:n}):n+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}}function gQ(e,t){return e.map(function(e){var n;return null==(n=e[gz])?void 0:n.map(function(e){return e[t.value]})})}function gJ(e){return Array.isArray(e)&&Array.isArray(e[0])}function g0(e){return e?gJ(e)?e:(0===e.length?[]:[e]).map(function(e){return Array.isArray(e)?e:[e]}):[]}function g1(e,t,n){var r=new Set(e),o=t();return e.filter(function(e){var t=o[e],i=t?t.parent:null,a=t?t.children:null;return!!t&&!!t.node.disabled||(n===gV?!(a&&a.some(function(e){return e.key&&r.has(e.key)})):!(i&&!i.node.disabled&&r.has(i.key)))})}function g2(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=t,i=[],a=function(){var t,a,s,c=e[l],u=null==(t=o)?void 0:t.findIndex(function(e){var t=e[n.value];return r?String(t)===String(c):t===c}),d=-1!==u?null==(a=o)?void 0:a[u]:null;i.push({value:null!=(s=null==d?void 0:d[n.value])?s:c,index:u,option:d}),o=null==d?void 0:d[n.children]},l=0;l1&&void 0!==arguments[1]?arguments[1]:null;return e.map(function(r,u){for(var d,f=g6(n?n.pos:"0",u),h=g9(r[i],f),p=0;p1&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,r=t.processEntity,o=t.onProcessFinished,i=t.externalGetKey,a=t.childrenPropName,l=t.fieldNames,s=arguments.length>2?arguments[2]:void 0,c=i||s,u={},d={},f={posEntities:u,keyEntities:d};return n&&(f=n(f)||f),vr(e,function(e){var t=e.node,n=e.index,o=e.pos,i=e.key,a=e.parentPos,l=e.level,s={node:t,nodes:e.nodes,index:n,key:i,pos:o,level:l},c=g9(i,o);u[o]=s,d[c]=s,s.parent=u[a],s.parent&&(s.parent.children=s.parent.children||[],s.parent.children.push(s)),r&&r(s,f)},{externalGetKey:c,childrenPropName:a,fieldNames:l}),o&&o(f),f}function vi(e,t){var n=t.expandedKeys,r=t.selectedKeys,o=t.loadedKeys,i=t.loadingKeys,a=t.checkedKeys,l=t.halfCheckedKeys,s=t.dragOverNodeKey,c=t.dropPosition,u=g5(t.keyEntities,e);return{eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==o.indexOf(e),loading:-1!==i.indexOf(e),checked:-1!==a.indexOf(e),halfChecked:-1!==l.indexOf(e),pos:String(u?u.pos:""),dragOver:s===e&&0===c,dragOverGapTop:s===e&&-1===c,dragOverGapBottom:s===e&&1===c}}function va(e){var t=e.data,n=e.expanded,r=e.selected,o=e.checked,i=e.loaded,a=e.loading,l=e.halfChecked,s=e.dragOver,c=e.dragOverGapTop,u=e.dragOverGapBottom,d=e.pos,f=e.active,h=e.eventKey,p=(0,eH.Z)((0,eH.Z)({},t),{},{expanded:n,selected:r,checked:o,loaded:i,loading:a,halfChecked:l,dragOver:s,dragOverGapTop:c,dragOverGapBottom:u,pos:d,active:f,key:h});return"props"in p||Object.defineProperty(p,"props",{get:function(){return(0,nE.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),p}let vl=function(e,t){var n=h.useRef({options:[],info:{keyEntities:{},pathKeyEntities:{}}});return h.useCallback(function(){return n.current.options!==e&&(n.current.options=e,n.current.info=vo(e,{fieldNames:t,initWrapper:function(e){return(0,eH.Z)((0,eH.Z)({},e),{},{pathKeyEntities:{}})},processEntity:function(e,n){var r=e.nodes.map(function(e){return e[t.value]}).join(gF);n.pathKeyEntities[r]=e,e.key=r}})),n.current.info.pathKeyEntities},[t,e])};function vs(e,t){var n=h.useMemo(function(){return t||[]},[t]),r=vl(n,e),o=h.useCallback(function(t){var n=r();return t.map(function(t){return n[t].nodes.map(function(t){return t[e.value]})})},[r,e]);return[n,r,o]}function vc(e){return h.useMemo(function(){if(!e)return[!1,{}];var t={matchInputWidth:!0,limit:50};return e&&"object"===(0,eq.Z)(e)&&(t=(0,eH.Z)((0,eH.Z)({},t),e)),t.limit<=0&&(t.limit=!1),[!0,t]},[e])}function vu(e,t){var n=new Set;return e.forEach(function(e){t.has(e)||n.add(e)}),n}function vd(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,o=t.checkable;return!!(n||r)||!1===o}function vf(e,t,n,r){for(var o=new Set(e),i=new Set,a=0;a<=n;a+=1)(t.get(a)||new Set).forEach(function(e){var t=e.key,n=e.node,i=e.children,a=void 0===i?[]:i;o.has(t)&&!r(n)&&a.filter(function(e){return!r(e.node)}).forEach(function(e){o.add(e.key)})});for(var l=new Set,s=n;s>=0;s-=1)(t.get(s)||new Set).forEach(function(e){var t=e.parent;if(!(r(e.node)||!e.parent||l.has(e.parent.key))){if(r(e.parent.node))return void l.add(t.key);var n=!0,a=!1;(t.children||[]).filter(function(e){return!r(e.node)}).forEach(function(e){var t=e.key,r=o.has(t);n&&!r&&(n=!1),!a&&(r||i.has(t))&&(a=!0)}),n&&o.add(t.key),a&&i.add(t.key),l.add(t.key)}});return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(vu(i,o))}}function vh(e,t,n,r,o){for(var i=new Set(e),a=new Set(t),l=0;l<=r;l+=1)(n.get(l)||new Set).forEach(function(e){var t=e.key,n=e.node,r=e.children,l=void 0===r?[]:r;i.has(t)||a.has(t)||o(n)||l.filter(function(e){return!o(e.node)}).forEach(function(e){i.delete(e.key)})});a=new Set;for(var s=new Set,c=r;c>=0;c-=1)(n.get(c)||new Set).forEach(function(e){var t=e.parent;if(!(o(e.node)||!e.parent||s.has(e.parent.key))){if(o(e.parent.node))return void s.add(t.key);var n=!0,r=!1;(t.children||[]).filter(function(e){return!o(e.node)}).forEach(function(e){var t=e.key,o=i.has(t);n&&!o&&(n=!1),!r&&(o||a.has(t))&&(r=!0)}),n||i.delete(t.key),r&&a.add(t.key),s.add(t.key)}});return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(vu(a,i))}}function vp(e,t,n,r){var o,i,a=[];o=r||vd;var l=new Set(e.filter(function(e){var t=!!g5(n,e);return t||a.push(e),t})),s=new Map,c=0;return Object.keys(n).forEach(function(e){var t=n[e],r=t.level,o=s.get(r);o||(o=new Set,s.set(r,o)),o.add(t),c=Math.max(c,r)}),(0,nE.ZP)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),i=!0===t?vf(l,s,c,o):vh(l,t.halfCheckedKeys,s,c,o)}function vm(e,t,n,r,o,i,a,l){return function(s){if(e){var c=gq(s),u=gK(n),d=gK(r),f=u.includes(c),h=o.some(function(e){return gq(e)===c}),p=n,m=o;if(h&&!f)m=o.filter(function(e){return gq(e)!==c});else{var g,v=f?u.filter(function(e){return e!==c}):[].concat((0,y.Z)(u),[c]),b=i();p=a(g1(g=f?vp(v,{checked:!1,halfCheckedKeys:d},b).checkedKeys:vp(v,!0,b).checkedKeys,i,l))}t([].concat((0,y.Z)(m),(0,y.Z)(p)))}else t(s)}}function vg(e,t,n,r,o){return h.useMemo(function(){var i=o(t),a=(0,eL.Z)(i,2),l=a[0],s=a[1];if(!e||!t.length)return[l,[],s];var c=vp(gK(l),!0,n()),u=c.checkedKeys,d=c.halfCheckedKeys;return[r(u),r(d),s]},[e,t,n,r,o])}let vv=h.memo(function(e){return e.children},function(e,t){return!t.open});function vb(e){var t,n=e.prefixCls,r=e.checked,o=e.halfChecked,i=e.disabled,a=e.onClick,l=e.disableCheckbox,s=h.useContext(g_).checkable,c="boolean"!=typeof s?s:null;return h.createElement("span",{className:g()("".concat(n),(t={},(0,eV.Z)(t,"".concat(n,"-checked"),r),(0,eV.Z)(t,"".concat(n,"-indeterminate"),!r&&o),(0,eV.Z)(t,"".concat(n,"-disabled"),i||l),t)),onClick:a},c)}var vy="__cascader_fix_label__";function vw(e){var t=e.prefixCls,n=e.multiple,r=e.options,o=e.activeValue,i=e.prevValuePath,a=e.onToggleOpen,l=e.onSelect,s=e.onActive,c=e.checkedSet,u=e.halfCheckedSet,d=e.loadingKeys,f=e.isSelectable,p=e.disabled,m="".concat(t,"-menu"),v="".concat(t,"-menu-item"),b=h.useContext(g_),w=b.fieldNames,x=b.changeOnSelect,S=b.expandTrigger,k=b.expandIcon,C=b.loadingIcon,$=b.dropdownMenuColumnStyle,E=b.optionRender,O="hover"===S,M=function(e){return p||e},I=h.useMemo(function(){return r.map(function(e){var t,n=e.disabled,r=e.disableCheckbox,o=e[gz],a=null!=(t=e[vy])?t:e[w.label],l=e[w.value],s=gG(e,w),f=o?o.map(function(e){return e[w.value]}):[].concat((0,y.Z)(i),[l]),h=gq(f);return{disabled:n,label:a,value:l,isLeaf:s,isLoading:d.includes(h),checked:c.has(h),halfChecked:u.has(h),option:e,disableCheckbox:r,fullPath:f,fullPathKey:h}})},[r,c,w,u,d,i]);return h.createElement("ul",{className:m,role:"menu"},I.map(function(e){var r,i,c=e.disabled,u=e.label,d=e.value,p=e.isLeaf,m=e.isLoading,b=e.checked,w=e.halfChecked,S=e.option,I=e.fullPath,N=e.fullPathKey,Z=e.disableCheckbox,R=function(){if(!M(c)){var e=(0,y.Z)(I);O&&p&&e.pop(),s(e)}},T=function(){f(S)&&!M(c)&&l(I,p)};return"string"==typeof S.title?i=S.title:"string"==typeof u&&(i=u),h.createElement("li",{key:N,className:g()(v,(r={},(0,eV.Z)(r,"".concat(v,"-expand"),!p),(0,eV.Z)(r,"".concat(v,"-active"),o===d||o===N),(0,eV.Z)(r,"".concat(v,"-disabled"),M(c)),(0,eV.Z)(r,"".concat(v,"-loading"),m),r)),style:$,role:"menuitemcheckbox",title:i,"aria-checked":b,"data-path-key":N,onClick:function(){R(),Z||(!n||p)&&T()},onDoubleClick:function(){x&&a(!1)},onMouseEnter:function(){O&&R()},onMouseDown:function(e){e.preventDefault()}},n&&h.createElement(vb,{prefixCls:"".concat(t,"-checkbox"),checked:b,halfChecked:w,disabled:M(c)||Z,disableCheckbox:Z,onClick:function(e){Z||(e.stopPropagation(),T())}}),h.createElement("div",{className:"".concat(v,"-content")},E?E(S):u),!m&&k&&!p&&h.createElement("div",{className:"".concat(v,"-expand-icon")},k),m&&C&&h.createElement("div",{className:"".concat(v,"-loading-icon")},C))}))}let vx=function(e,t){var n=h.useContext(g_).values[0],r=h.useState([]),o=(0,eL.Z)(r,2),i=o[0],a=o[1];return h.useEffect(function(){e||a(n||[])},[t,n]),[i,a]},vS=function(e,t,n,r,o,i,a){var l=a.direction,s=a.searchValue,c=a.toggleOpen,u=a.open,d="rtl"===l,f=h.useMemo(function(){for(var e=-1,o=t,i=[],a=[],l=r.length,s=gQ(t,n),c=function(t){var l=o.findIndex(function(e,o){return(s[o]?gq(s[o]):e[n.value])===r[t]});if(-1===l)return 1;e=l,i.push(e),a.push(r[t]),o=o[e][n.children]},u=0;u1?w(m.slice(0,-1)):c(!1)},k=function(){var e,t=((null==(e=v[g])?void 0:e[n.children])||[]).find(function(e){return!e.disabled});t&&w([].concat((0,y.Z)(m),[t[n.value]]))};h.useImperativeHandle(e,function(){return{onKeyDown:function(e){var t=e.which;switch(t){case eK.Z.UP:case eK.Z.DOWN:var r=0;t===eK.Z.UP?r=-1:t===eK.Z.DOWN&&(r=1),0!==r&&x(r);break;case eK.Z.LEFT:if(s)break;d?k():S();break;case eK.Z.RIGHT:if(s)break;d?S():k();break;case eK.Z.BACKSPACE:s||S();break;case eK.Z.ENTER:if(m.length){var o=v[g],a=(null==o?void 0:o[gz])||[];a.length?i(a.map(function(e){return e[n.value]}),a[a.length-1]):i(m,v[g])}break;case eK.Z.ESC:c(!1),u&&e.stopPropagation()}},onKeyUp:function(){}}})},vk=h.forwardRef(function(e,t){var n,r,o,i=e.prefixCls,a=e.multiple,l=e.searchValue,s=e.toggleOpen,c=e.notFoundContent,u=e.direction,d=e.open,f=e.disabled,p=h.useRef(null),m="rtl"===u,v=h.useContext(g_),b=v.options,w=v.values,x=v.halfValues,S=v.fieldNames,k=v.changeOnSelect,C=v.onSelect,$=v.searchOptions,E=v.dropdownPrefixCls,O=v.loadData,M=v.expandTrigger,I=E||i,N=h.useState([]),Z=(0,eL.Z)(N,2),R=Z[0],T=Z[1],P=function(e){if(O&&!l){var t=g2(e,b,S),n=t.map(function(e){return e.option}),r=n[n.length-1];if(r&&!gG(r,S)){var o=gq(e);T(function(e){return[].concat((0,y.Z)(e),[o])}),O(n)}}};h.useEffect(function(){R.length&&R.forEach(function(e){var t=g2(gX(e),b,S,!0).map(function(e){return e.option}),n=t[t.length-1];(!n||n[S.children]||gG(n,S))&&T(function(t){return t.filter(function(t){return t!==e})})})},[b,R,S]);var j=h.useMemo(function(){return new Set(gK(w))},[w]),A=h.useMemo(function(){return new Set(gK(x))},[x]),D=vx(a,d),z=(0,eL.Z)(D,2),L=z[0],B=z[1],H=function(e){B(e),P(e)},F=function(e){if(f)return!1;var t=e.disabled,n=gG(e,S);return!t&&(n||k||a)},W=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];C(e),!a&&(t||k&&("hover"===M||n))&&s(!1)},V=h.useMemo(function(){return l?$:b},[l,$,b]),q=h.useMemo(function(){for(var e=[{options:V}],t=V,n=gQ(t,S),r=function(){var r=L[o],i=t.find(function(e,t){return(n[t]?gq(n[t]):e[S.value])===r}),a=null==i?void 0:i[S.children];if(!(null!=a&&a.length))return 1;t=a,e.push({options:a})},o=0;o":y,x=n.loadingIcon,S=n.direction,k=n.notFoundContent,C=void 0===k?"Not Found":k,$=n.disabled,E=!!s,O=(0,e3.C8)(c,{value:u,postState:g0}),M=(0,eL.Z)(O,2),I=M[0],N=M[1],Z=h.useMemo(function(){return gU(d)},[JSON.stringify(d)]),R=vs(Z,l),T=(0,eL.Z)(R,3),P=T[0],j=T[1],A=T[2],D=vg(E,I,j,A,g3(P,Z)),_=(0,eL.Z)(D,3),z=_[0],L=_[1],B=_[2],H=(0,e3.zX)(function(e){if(N(e),p){var t=g0(e),n=t.map(function(e){return g2(e,P,Z).map(function(e){return e.option})});p(E?t:t[0],E?n:n[0])}}),F=vm(E,H,z,L,B,j,A,m),W=(0,e3.zX)(function(e){F(e)}),V=h.useMemo(function(){return{options:P,fieldNames:Z,values:z,halfValues:L,changeOnSelect:f,onSelect:W,checkable:s,searchOptions:[],dropdownPrefixCls:void 0,loadData:v,expandTrigger:b,expandIcon:w,loadingIcon:x,dropdownMenuColumnStyle:void 0}},[P,Z,z,L,f,W,s,v,b,w,x]),q="".concat(o,"-panel"),K=!P.length;return h.createElement(g_.Provider,{value:V},h.createElement("div",{className:g()(q,(t={},(0,eV.Z)(t,"".concat(q,"-rtl"),"rtl"===S),(0,eV.Z)(t,"".concat(q,"-empty"),K),t),a),style:i},K?C:h.createElement(vk,{prefixCls:o,searchValue:"",multiple:E,toggleOpen:v$,open:!0,direction:S,disabled:$})))}var vO=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","dropdownStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy","optionRender"],vM=h.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,o=void 0===r?"rc-cascader":r,i=e.fieldNames,a=e.defaultValue,l=e.value,s=e.changeOnSelect,c=e.onChange,u=e.displayRender,d=e.checkable,f=e.autoClearSearchValue,p=void 0===f||f,m=e.searchValue,g=e.onSearch,v=e.showSearch,b=e.expandTrigger,w=e.options,x=e.dropdownPrefixCls,S=e.loadData,k=e.popupVisible,C=e.open,$=e.popupClassName,E=e.dropdownClassName,O=e.dropdownMenuColumnStyle,M=e.dropdownStyle,I=e.popupPlacement,N=e.placement,Z=e.onDropdownVisibleChange,R=e.onPopupVisibleChange,T=e.expandIcon,P=void 0===T?">":T,j=e.loadingIcon,A=e.children,D=e.dropdownMatchSelectWidth,z=void 0!==D&&D,L=e.showCheckedStrategy,B=void 0===L?gW:L,H=e.optionRender,F=(0,eB.Z)(e,vO),W=ad(n),V=!!d,q=(0,ok.Z)(a,{value:l,postState:g0}),K=(0,eL.Z)(q,2),X=K[0],U=K[1],G=h.useMemo(function(){return gU(i)},[JSON.stringify(i)]),Y=vs(G,w),Q=(0,eL.Z)(Y,3),J=Q[0],ee=Q[1],et=Q[2],en=(0,ok.Z)("",{value:m,postState:function(e){return e||""}}),er=(0,eL.Z)(en,2),eo=er[0],ei=er[1],ea=function(e,t){ei(e),"blur"!==t.source&&g&&g(e)},el=vc(v),es=(0,eL.Z)(el,2),ec=es[0],eu=es[1],ed=gH(eo,J,G,x||o,eu,s||V),ef=vg(V,X,ee,et,g3(J,G)),eh=(0,eL.Z)(ef,3),ep=eh[0],em=eh[1],eg=eh[2],ev=g4(h.useMemo(function(){var e=g1(gK(ep),ee,B);return[].concat((0,y.Z)(eg),(0,y.Z)(et(e)))},[ep,ee,et,eg,B]),J,G,V,u),eb=(0,ey.Z)(function(e){if(U(e),c){var t=g0(e),n=t.map(function(e){return g2(e,J,G).map(function(e){return e.option})});c(V?t:t[0],V?n:n[0])}}),ew=vm(V,eb,ep,em,eg,ee,et,B),ex=(0,ey.Z)(function(e){(!V||p)&&ei(""),ew(e)}),eS=function(e,t){if("clear"===t.type)return void eb([]);ex(t.values[0].valueCells)},ek=void 0!==C?C:k,eC=E||$,e$=N||I,eE=function(e){null==Z||Z(e),null==R||R(e)},eO=h.useMemo(function(){return{options:J,fieldNames:G,values:ep,halfValues:em,changeOnSelect:s,onSelect:ex,checkable:d,searchOptions:ed,dropdownPrefixCls:x,loadData:S,expandTrigger:b,expandIcon:P,loadingIcon:j,dropdownMenuColumnStyle:O,optionRender:H}},[J,G,ep,em,s,ex,d,ed,x,S,b,P,j,O,H]),eM=!(eo?ed:J).length,eI=eo&&eu.matchInputWidth||eM?{}:{minWidth:"auto"};return h.createElement(g_.Provider,{value:eO},h.createElement(iN,(0,_.Z)({},F,{ref:t,id:W,prefixCls:o,autoClearSearchValue:p,dropdownMatchSelectWidth:z,dropdownStyle:(0,eH.Z)((0,eH.Z)({},eI),M),displayValues:ev,onDisplayValuesChange:eS,mode:V?"multiple":void 0,searchValue:eo,onSearch:ea,showSearch:ec,OptionList:vC,emptyOptions:eM,open:ek,dropdownClassName:eC,placement:e$,onDropdownVisibleChange:eE,getRawInputElement:function(){return A}})))});vM.SHOW_PARENT=gW,vM.SHOW_CHILD=gV,vM.Panel=vE;let vI=vM,vN=function(e,t){let{getPrefixCls:n,direction:r,renderEmpty:o}=h.useContext(S.E_),i=t||r;return[n("select",e),n("cascader",e),i,o]};function vZ(e,t){return h.useMemo(()=>!!t&&h.createElement("span",{className:`${e}-checkbox-inner`}),[t])}let vR=(e,t,n)=>{let r=n;n||(r=t?h.createElement(um,null):h.createElement(sH.Z,null));let o=h.createElement("span",{className:`${e}-menu-item-loading-icon`},h.createElement(te.Z,{spin:!0}));return h.useMemo(()=>[r,o],[r])},vT=e=>{let{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},(0,Y.oN)(e))},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${(0,G.bf)(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` - ${n}:not(${n}-disabled), - ${t}:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[` - ${n}-checked:not(${n}-disabled), - ${t}-checked:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorPrimary} !important`}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function vP(e,t){return[vT((0,eI.IX)(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize}))]}let vj=(0,k.I$)("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[vP(n,e)]}),vA=e=>{let{prefixCls:t,componentCls:n}=e,r=`${n}-menu-item`,o=` - &${r}-expand ${r}-expand-icon, - ${r}-loading-icon -`;return[vP(`${t}-checkbox`,e),{[n]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${n}-menu-empty`]:{[`${n}-menu`]:{width:"100%",height:"auto",[r]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&-item":Object.assign(Object.assign({},Y.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:e.optionPadding,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[o]:{color:e.colorTextDisabled}},[`&-active:not(${r}-disabled)`]:{"&, &:hover":{fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg}},"&-content":{flex:"auto"},[o]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]},vD=e=>{let{componentCls:t,antCls:n}=e;return[{[t]:{width:e.controlWidth}},{[`${t}-dropdown`]:[{[`&${n}-select-dropdown`]:{padding:0}},vA(e)]},{[`${t}-dropdown-rtl`]:{direction:"rtl"}},(0,aB.c)(e)]},v_=e=>{let t=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:e.controlItemBgActive,optionSelectedFontWeight:e.fontWeightStrong,optionPadding:`${t}px ${e.paddingSM}px`,menuPadding:e.paddingXXS}},vz=(0,k.I$)("Cascader",e=>[vD(e)],v_),vL=e=>{let{componentCls:t}=e;return{[`${t}-panel`]:[vA(e),{display:"inline-flex",border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:e.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${t}-menus`]:{alignItems:"stretch"},[`${t}-menu`]:{height:"auto"},"&-empty":{padding:e.paddingXXS}}]}},vB=(0,k.A1)(["Cascader","Panel"],e=>vL(e),v_),vH=function(e){let{prefixCls:t,className:n,multiple:r,rootClassName:o,notFoundContent:i,direction:a,expandIcon:l,disabled:s}=e,c=h.useContext(tF.Z),u=null!=s?s:c,[d,f,p,m]=vN(t,a),v=eE(f),[b,y,w]=vz(f,v);vB(f);let[x,S]=vR(d,"rtl"===p,l),k=i||(null==m?void 0:m("Cascader"))||h.createElement(aP,{componentName:"Cascader"}),C=vZ(f,r);return b(h.createElement(vE,Object.assign({},e,{checkable:C,prefixCls:f,className:g()(n,y,o,w,v),notFoundContent:k,direction:p,expandIcon:x,loadingIcon:S,disabled:u})))};var vF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let{SHOW_CHILD:vW,SHOW_PARENT:vV}=vI;function vq(e,t,n){let r=e.toLowerCase().split(t).reduce((e,n,r)=>0===r?[n]:[].concat((0,y.Z)(e),[t,n]),[]),o=[],i=0;return r.forEach((t,r)=>{let a=i+t.length,l=e.slice(i,a);i=a,r%2==1&&(l=h.createElement("span",{className:`${n}-menu-item-keyword`,key:`separator-${r}`},l)),o.push(l)}),o}let vK=(e,t,n,r)=>{let o=[],i=e.toLowerCase();return t.forEach((e,t)=>{0!==t&&o.push(" / ");let a=e[r.label],l=typeof a;("string"===l||"number"===l)&&(a=vq(String(a),i,n)),o.push(a)}),o},vX=h.forwardRef((e,t)=>{var n;let{prefixCls:r,size:o,disabled:i,className:a,rootClassName:l,multiple:s,bordered:c=!0,transitionName:u,choiceTransitionName:d="",popupClassName:f,dropdownClassName:p,expandIcon:m,placement:v,showSearch:y,allowClear:w=!0,notFoundContent:x,direction:k,getPopupContainer:C,status:$,showArrow:E,builtinPlacements:O,style:M,variant:I}=e,N=vF(e,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),Z=(0,b.Z)(N,["suffixIcon"]),{getPopupContainer:R,getPrefixCls:T,popupOverflow:P,cascader:j}=h.useContext(S.E_),{status:A,hasFeedback:D,isFormItemInput:_,feedbackIcon:z}=h.useContext(aA.aM),L=aC(A,$),[B,H,F,W]=vN(r,k),V="rtl"===F,q=T(),K=eE(B),[X,U,G]=lv(B,K),Y=eE(H),[Q]=vz(H,Y),{compactSize:J,compactItemClassnames:ee}=(0,a_.ri)(B,k),[et,en]=aD("cascader",I,c),er=x||(null==W?void 0:W("Cascader"))||h.createElement(aP,{componentName:"Cascader"}),eo=g()(f||p,`${H}-dropdown`,{[`${H}-dropdown-rtl`]:"rtl"===F},l,K,Y,U,G),ei=h.useMemo(()=>{if(!y)return y;let e={render:vK};return"object"==typeof y&&(e=Object.assign(Object.assign({},e),y)),e},[y]),ea=(0,aj.Z)(e=>{var t;return null!=(t=null!=o?o:J)?t:e}),el=h.useContext(tF.Z),es=null!=i?i:el,[ec,eu]=vR(B,V,m),ed=vZ(H,s),ef=lE(e.suffixIcon,E),{suffixIcon:eh,removeIcon:ep,clearIcon:em}=l$(Object.assign(Object.assign({},e),{hasFeedback:D,feedbackIcon:z,showSuffixIcon:ef,multiple:s,prefixCls:B,componentName:"Cascader"})),eg=h.useMemo(()=>void 0!==v?v:V?"bottomRight":"bottomLeft",[v,V]),ev=!0===w?{clearIcon:em}:w,[eb]=(0,tt.Cn)("SelectLike",null==(n=Z.dropdownStyle)?void 0:n.zIndex);return Q(X(h.createElement(vI,Object.assign({prefixCls:B,className:g()(!r&&H,{[`${B}-lg`]:"large"===ea,[`${B}-sm`]:"small"===ea,[`${B}-rtl`]:V,[`${B}-${et}`]:en,[`${B}-in-form-item`]:_},ak(B,L,D),ee,null==j?void 0:j.className,a,l,K,Y,U,G),disabled:es,style:Object.assign(Object.assign({},null==j?void 0:j.style),M)},Z,{builtinPlacements:aL(O,P),direction:F,placement:eg,notFoundContent:er,allowClear:ev,showSearch:ei,expandIcon:ec,suffixIcon:eh,removeIcon:ep,loadingIcon:eu,checkable:ed,dropdownClassName:eo,dropdownPrefixCls:r||H,dropdownStyle:Object.assign(Object.assign({},Z.dropdownStyle),{zIndex:eb}),choiceTransitionName:(0,nt.m)(q,"",d),transitionName:(0,nt.m)(q,"slide-up",u),getPopupContainer:C||R,ref:t}))))}),vU=o$(vX,void 0,void 0,e=>(0,b.Z)(e,["visible"]));vX.SHOW_PARENT=vV,vX.SHOW_CHILD=vW,vX.Panel=vH,vX._InternalPanelDoNotUseOrYouWillBeFired=vU;let vG=vX,vY=p().createContext(null);var vQ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let vJ=(e,t)=>{var n;let{prefixCls:r,className:o,rootClassName:i,children:a,indeterminate:l=!1,style:s,onMouseEnter:c,onMouseLeave:u,skipGroup:d=!1,disabled:f}=e,p=vQ(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:m,direction:v,checkbox:b}=h.useContext(S.E_),y=h.useContext(vY),{isFormItemInput:w}=h.useContext(aA.aM),x=h.useContext(tF.Z),k=null!=(n=(null==y?void 0:y.disabled)||f)?n:x,C=h.useRef(p.value),$=h.useRef(null),E=(0,X.sQ)(t,$);h.useEffect(()=>{null==y||y.registerValue(p.value)},[]),h.useEffect(()=>{if(!d)return p.value!==C.current&&(null==y||y.cancelValue(C.current),null==y||y.registerValue(p.value),C.current=p.value),()=>null==y?void 0:y.cancelValue(p.value)},[p.value]),h.useEffect(()=>{var e;(null==(e=$.current)?void 0:e.input)&&($.current.input.indeterminate=l)},[l]);let O=m("checkbox",r),M=eE(O),[I,N,Z]=vj(O,M),R=Object.assign({},p);y&&!d&&(R.onChange=function(){p.onChange&&p.onChange.apply(p,arguments),y.toggleOption&&y.toggleOption({label:a,value:p.value})},R.name=y.name,R.checked=y.value.includes(p.value));let T=g()(`${O}-wrapper`,{[`${O}-rtl`]:"rtl"===v,[`${O}-wrapper-checked`]:R.checked,[`${O}-wrapper-disabled`]:k,[`${O}-wrapper-in-form-item`]:w},null==b?void 0:b.className,o,i,Z,M,N),P=g()({[`${O}-indeterminate`]:l},hq.A,N),[j,A]=hK(R.onClick);return I(h.createElement(hV.Z,{component:"Checkbox",disabled:k},h.createElement("label",{className:T,style:Object.assign(Object.assign({},null==b?void 0:b.style),s),onMouseEnter:c,onMouseLeave:u,onClick:j},h.createElement(hW,Object.assign({},R,{onClick:A,prefixCls:O,className:P,disabled:k,ref:E})),void 0!==a&&h.createElement("span",null,a))))},v0=h.forwardRef(vJ);var v1=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let v2=h.forwardRef((e,t)=>{let{defaultValue:n,children:r,options:o=[],prefixCls:i,className:a,rootClassName:l,style:s,onChange:c}=e,u=v1(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:d,direction:f}=h.useContext(S.E_),[p,m]=h.useState(u.value||n||[]),[v,w]=h.useState([]);h.useEffect(()=>{"value"in u&&m(u.value||[])},[u.value]);let x=h.useMemo(()=>o.map(e=>"string"==typeof e||"number"==typeof e?{label:e,value:e}:e),[o]),k=e=>{w(t=>t.filter(t=>t!==e))},C=e=>{w(t=>[].concat((0,y.Z)(t),[e]))},$=e=>{let t=p.indexOf(e.value),n=(0,y.Z)(p);-1===t?n.push(e.value):n.splice(t,1),"value"in u||m(n),null==c||c(n.filter(e=>v.includes(e)).sort((e,t)=>x.findIndex(t=>t.value===e)-x.findIndex(e=>e.value===t)))},E=d("checkbox",i),O=`${E}-group`,M=eE(E),[I,N,Z]=vj(E,M),R=(0,b.Z)(u,["value","disabled"]),T=o.length?x.map(e=>h.createElement(v0,{prefixCls:E,key:e.value.toString(),disabled:"disabled"in e?e.disabled:u.disabled,value:e.value,checked:p.includes(e.value),onChange:e.onChange,className:`${O}-item`,style:e.style,title:e.title,id:e.id,required:e.required},e.label)):r,P={toggleOption:$,value:p,disabled:u.disabled,name:u.name,registerValue:C,cancelValue:k},j=g()(O,{[`${O}-rtl`]:"rtl"===f},a,l,Z,M,N);return I(h.createElement("div",Object.assign({className:j,style:s},R,{ref:t}),h.createElement(vY.Provider,{value:P},T)))}),v4=v0;v4.Group=v2,v4.__ANT_CHECKBOX=!0;let v3=v4,v5=(0,h.createContext)({}),v8=e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},v6=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},v7=(e,t)=>{let{prefixCls:n,componentCls:r,gridColumns:o}=e,i={};for(let e=o;e>=0;e--)0===e?(i[`${r}${t}-${e}`]={display:"none"},i[`${r}-push-${e}`]={insetInlineStart:"auto"},i[`${r}-pull-${e}`]={insetInlineEnd:"auto"},i[`${r}${t}-push-${e}`]={insetInlineStart:"auto"},i[`${r}${t}-pull-${e}`]={insetInlineEnd:"auto"},i[`${r}${t}-offset-${e}`]={marginInlineStart:0},i[`${r}${t}-order-${e}`]={order:0}):(i[`${r}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/o*100}%`,maxWidth:`${e/o*100}%`}],i[`${r}${t}-push-${e}`]={insetInlineStart:`${e/o*100}%`},i[`${r}${t}-pull-${e}`]={insetInlineEnd:`${e/o*100}%`},i[`${r}${t}-offset-${e}`]={marginInlineStart:`${e/o*100}%`},i[`${r}${t}-order-${e}`]={order:e});return i[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},i},v9=(e,t)=>v7(e,t),be=(e,t,n)=>({[`@media (min-width: ${(0,G.bf)(t)})`]:Object.assign({},v9(e,n))}),bt=()=>({}),bn=()=>({}),br=(0,k.I$)("Grid",v8,bt),bo=(0,k.I$)("Grid",e=>{let t=(0,eI.IX)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[v6(t),v9(t,""),v9(t,"-xs"),Object.keys(n).map(e=>be(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},bn);var bi=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function ba(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let bl=["xs","sm","md","lg","xl","xxl"],bs=h.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=h.useContext(S.E_),{gutter:o,wrap:i}=h.useContext(v5),{prefixCls:a,span:l,order:s,offset:c,push:u,pull:d,className:f,children:p,flex:m,style:v}=e,b=bi(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),y=n("col",a),[w,x,k]=bo(y),C={},$={};bl.forEach(t=>{let n={},o=e[t];"number"==typeof o?n.span=o:"object"==typeof o&&(n=o||{}),delete b[t],$=Object.assign(Object.assign({},$),{[`${y}-${t}-${n.span}`]:void 0!==n.span,[`${y}-${t}-order-${n.order}`]:n.order||0===n.order,[`${y}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${y}-${t}-push-${n.push}`]:n.push||0===n.push,[`${y}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${y}-rtl`]:"rtl"===r}),n.flex&&($[`${y}-${t}-flex`]=!0,C[`--${y}-${t}-flex`]=ba(n.flex))});let E=g()(y,{[`${y}-${l}`]:void 0!==l,[`${y}-order-${s}`]:s,[`${y}-offset-${c}`]:c,[`${y}-push-${u}`]:u,[`${y}-pull-${d}`]:d},f,$,x,k),O={};if(o&&o[0]>0){let e=o[0]/2;O.paddingLeft=e,O.paddingRight=e}return m&&(O.flex=ba(m),!1!==i||O.minWidth||(O.minWidth=0)),w(h.createElement("div",Object.assign({},b,{style:Object.assign(Object.assign(Object.assign({},O),v),C),className:E,ref:t}),p))}),bc=bs;var bu=n(98930),bd=n(11616);let bf=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:i,orientationMargin:a,verticalMarginInline:l}=e;return{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{borderBlockStart:`${(0,G.bf)(o)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:l,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,G.bf)(o)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,G.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,G.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,G.bf)(o)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${a} * 100%)`},"&::after":{width:`calc(100% - ${a} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${a} * 100%)`},"&::after":{width:`calc(${a} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${(0,G.bf)(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${(0,G.bf)(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},bh=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),bp=(0,k.I$)("Divider",e=>[bf((0,eI.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0}))],bh,{unitless:{orientationMargin:!0}});var bm=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let bg=e=>{let{getPrefixCls:t,direction:n,divider:r}=h.useContext(S.E_),{prefixCls:o,type:i="horizontal",orientation:a="center",orientationMargin:l,className:s,rootClassName:c,children:u,dashed:d,variant:f="solid",plain:p,style:m}=e,v=bm(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),b=t("divider",o),[y,w,x]=bp(b),k=!!u,C="left"===a&&null!=l,$="right"===a&&null!=l,E=g()(b,null==r?void 0:r.className,w,x,`${b}-${i}`,{[`${b}-with-text`]:k,[`${b}-with-text-${a}`]:k,[`${b}-dashed`]:!!d,[`${b}-${f}`]:"solid"!==f,[`${b}-plain`]:!!p,[`${b}-rtl`]:"rtl"===n,[`${b}-no-default-orientation-margin-left`]:C,[`${b}-no-default-orientation-margin-right`]:$},s,c),O=h.useMemo(()=>"number"==typeof l?l:/^\d+$/.test(l)?Number(l):l,[l]),M=Object.assign(Object.assign({},C&&{marginLeft:O}),$&&{marginRight:O});return y(h.createElement("div",Object.assign({className:E,style:Object.assign(Object.assign({},null==r?void 0:r.style),m)},v,{role:"separator"}),u&&"vertical"!==i&&h.createElement("span",{className:`${b}-inner-text`,style:M},u)))};var bv=n(49489),bb=function(e,t){if(!e)return null;var n={left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth,top:e.offsetTop,bottom:e.parentElement.clientHeight-e.clientHeight-e.offsetTop,height:e.clientHeight};return t?{left:0,right:0,width:0,top:n.top,bottom:n.bottom,height:n.height}:{left:n.left,right:n.right,width:n.width,top:0,bottom:0,height:0}},by=function(e){return void 0!==e?"".concat(e,"px"):void 0};function bw(e){var t=e.prefixCls,n=e.containerRef,r=e.value,o=e.getValueIndex,i=e.motionName,a=e.onMotionStart,l=e.onMotionEnd,s=e.direction,c=e.vertical,u=void 0!==c&&c,d=h.useRef(null),f=h.useState(r),p=(0,eL.Z)(f,2),m=p[0],v=p[1],b=function(e){var r,i=o(e),a=null==(r=n.current)?void 0:r.querySelectorAll(".".concat(t,"-item"))[i];return(null==a?void 0:a.offsetParent)&&a},y=h.useState(null),w=(0,eL.Z)(y,2),x=w[0],S=w[1],k=h.useState(null),C=(0,eL.Z)(k,2),$=C[0],E=C[1];(0,oE.Z)(function(){if(m!==r){var e=b(m),t=b(r),n=bb(e,u),o=bb(t,u);v(r),S(n),E(o),e&&t?a():l()}},[r]);var O=h.useMemo(function(){if(u){var e;return by(null!=(e=null==x?void 0:x.top)?e:0)}return"rtl"===s?by(-(null==x?void 0:x.right)):by(null==x?void 0:x.left)},[u,s,x]),M=h.useMemo(function(){if(u){var e;return by(null!=(e=null==$?void 0:$.top)?e:0)}return"rtl"===s?by(-(null==$?void 0:$.right)):by(null==$?void 0:$.left)},[u,s,$]),I=function(){return u?{transform:"translateY(var(--thumb-start-top))",height:"var(--thumb-start-height)"}:{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},N=function(){return u?{transform:"translateY(var(--thumb-active-top))",height:"var(--thumb-active-height)"}:{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},Z=function(){S(null),E(null),l()};return x&&$?h.createElement(q.ZP,{visible:!0,motionName:i,motionAppear:!0,onAppearStart:I,onAppearActive:N,onVisibleChanged:Z},function(e,n){var r=e.className,o=e.style,i=(0,eH.Z)((0,eH.Z)({},o),{},{"--thumb-start-left":O,"--thumb-start-width":by(null==x?void 0:x.width),"--thumb-active-left":M,"--thumb-active-width":by(null==$?void 0:$.width),"--thumb-start-top":O,"--thumb-start-height":by(null==x?void 0:x.height),"--thumb-active-top":M,"--thumb-active-height":by(null==$?void 0:$.height)}),a={ref:(0,X.sQ)(d,n),style:i,className:g()("".concat(t,"-thumb"),r)};return h.createElement("div",a)}):null}var bx=["prefixCls","direction","vertical","options","disabled","defaultValue","value","onChange","className","motionName"];function bS(e){if(void 0!==e.title)return e.title;if("object"!==(0,eq.Z)(e.label)){var t;return null==(t=e.label)?void 0:t.toString()}}function bk(e){return e.map(function(e){if("object"===(0,eq.Z)(e)&&null!==e){var t=bS(e);return(0,eH.Z)((0,eH.Z)({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})}var bC=function(e){var t=e.prefixCls,n=e.className,r=e.disabled,o=e.checked,i=e.label,a=e.title,l=e.value,s=e.onChange,c=function(e){r||s(e,l)};return h.createElement("label",{className:g()(n,(0,eV.Z)({},"".concat(t,"-item-disabled"),r))},h.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:r,checked:o,onChange:c}),h.createElement("div",{className:"".concat(t,"-item-label"),title:a,role:"option","aria-selected":o},i))};let b$=h.forwardRef(function(e,t){var n,r,o=e.prefixCls,i=void 0===o?"rc-segmented":o,a=e.direction,l=e.vertical,s=e.options,c=void 0===s?[]:s,u=e.disabled,d=e.defaultValue,f=e.value,p=e.onChange,m=e.className,v=void 0===m?"":m,y=e.motionName,w=void 0===y?"thumb-motion":y,x=(0,eB.Z)(e,bx),S=h.useRef(null),k=h.useMemo(function(){return(0,X.sQ)(S,t)},[S,t]),C=h.useMemo(function(){return bk(c)},[c]),$=(0,ok.Z)(null==(n=C[0])?void 0:n.value,{value:f,defaultValue:d}),E=(0,eL.Z)($,2),O=E[0],M=E[1],I=h.useState(!1),N=(0,eL.Z)(I,2),Z=N[0],R=N[1],T=function(e,t){u||(M(t),null==p||p(t))},P=(0,b.Z)(x,["children"]);return h.createElement("div",(0,_.Z)({role:"listbox","aria-label":"segmented control"},P,{className:g()(i,(r={},(0,eV.Z)(r,"".concat(i,"-rtl"),"rtl"===a),(0,eV.Z)(r,"".concat(i,"-disabled"),u),(0,eV.Z)(r,"".concat(i,"-vertical"),l),r),v),ref:k}),h.createElement("div",{className:"".concat(i,"-group")},h.createElement(bw,{vertical:l,prefixCls:i,value:O,containerRef:S,motionName:"".concat(i,"-").concat(w),direction:a,getValueIndex:function(e){return C.findIndex(function(t){return t.value===e})},onMotionStart:function(){R(!0)},onMotionEnd:function(){R(!1)}}),C.map(function(e){return h.createElement(bC,(0,_.Z)({},e,{key:e.value,prefixCls:i,className:g()(e.className,"".concat(i,"-item"),(0,eV.Z)({},"".concat(i,"-item-selected"),e.value===O&&!Z)),checked:e.value===O,onChange:T,disabled:!!u||!!e.disabled}))})))});function bE(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function bO(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}let bM=Object.assign({overflow:"hidden"},Y.vS),bI=e=>{let{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),r=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),o=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",flexDirection:"row",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-vertical`]:{[`${t}-group`]:{flexDirection:"column"},[`${t}-thumb`]:{width:"100%",height:0,padding:`0 ${(0,G.bf)(e.paddingXXS)}`}},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},bO(e)),{color:e.itemSelectedColor}),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:(0,G.bf)(n),padding:`0 ${(0,G.bf)(e.segmentedPaddingHorizontal)}`},bM),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},bO(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${(0,G.bf)(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, height ${e.motionDurationSlow} ${e.motionEaseInOut}`,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:r,lineHeight:(0,G.bf)(r),padding:`0 ${(0,G.bf)(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:o,lineHeight:(0,G.bf)(o),padding:`0 ${(0,G.bf)(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),bE(`&-disabled ${t}-item`,e)),bE(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},bN=e=>{let{colorTextLabel:t,colorText:n,colorFillSecondary:r,colorBgElevated:o,colorFill:i,lineWidthBold:a,colorBgLayout:l}=e;return{trackPadding:a,trackBg:l,itemColor:t,itemHoverColor:n,itemHoverBg:r,itemSelectedBg:o,itemActiveBg:i,itemSelectedColor:n}},bZ=(0,k.I$)("Segmented",e=>{let{lineWidth:t,calc:n}=e;return[bI((0,eI.IX)(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()}))]},bN);var bR=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function bT(e){return"object"==typeof e&&!!(null==e?void 0:e.icon)}let bP=h.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:o,block:i,options:a=[],size:l="middle",style:s,vertical:c}=e,u=bR(e,["prefixCls","className","rootClassName","block","options","size","style","vertical"]),{getPrefixCls:d,direction:f,segmented:p}=h.useContext(S.E_),m=d("segmented",n),[v,b,y]=bZ(m),w=(0,aj.Z)(l),x=h.useMemo(()=>a.map(e=>{if(bT(e)){let{icon:t,label:n}=e;return Object.assign(Object.assign({},bR(e,["icon","label"])),{label:h.createElement(h.Fragment,null,h.createElement("span",{className:`${m}-item-icon`},t),n&&h.createElement("span",null,n))})}return e}),[a,m]),k=g()(r,o,null==p?void 0:p.className,{[`${m}-block`]:i,[`${m}-sm`]:"small"===w,[`${m}-lg`]:"large"===w,[`${m}-vertical`]:c},b,y),C=Object.assign(Object.assign({},null==p?void 0:p.style),s);return v(h.createElement(b$,Object.assign({},u,{className:k,style:C,options:x,ref:t,prefixCls:m,direction:f,vertical:c})))}),bj=p().createContext({}),bA=p().createContext({});var bD=n(93766);let b_=e=>{let{prefixCls:t,value:n,onChange:r}=e,o=()=>{if(r&&n&&!n.cleared){let e=n.toHsb();e.a=0;let t=(0,bD.vC)(e);t.cleared=!0,r(t)}};return p().createElement("div",{className:`${t}-clear`,onClick:o})};!function(e){e.hex="hex",e.rgb="rgb",e.hsb="hsb"}(c||(c={}));let bz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};var bL=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:bz}))};let bB=h.forwardRef(bL);function bH(){return"function"==typeof BigInt}function bF(e){return!e&&0!==e&&!Number.isNaN(e)||!String(e).trim()}function bW(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),(t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(t="0".concat(t));var r=t||"0",o=r.split("."),i=o[0]||"0",a=o[1]||"0";"0"===i&&"0"===a&&(n=!1);var l=n?"-":"";return{negative:n,negativeStr:l,trimStr:r,integerStr:i,decimalStr:a,fullStr:"".concat(l).concat(r)}}function bV(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function bq(e){var t=String(e);if(bV(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return null!=r&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&bX(t)?t.length-t.indexOf(".")-1:0}function bK(e){var t=String(e);if(bV(e)){if(e>Number.MAX_SAFE_INTEGER)return String(bH()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":bW("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),bG=function(){function e(t){if((0,ec.Z)(this,e),(0,eV.Z)(this,"origin",""),(0,eV.Z)(this,"number",void 0),(0,eV.Z)(this,"empty",void 0),bF(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return(0,eu.Z)(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=Number(t);if(Number.isNaN(n))return this;var r=this.number+n;if(r>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(rNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":bK(this.number):this.origin}}]),e}();function bY(e){return bH()?new bU(e):new bG(e)}function bQ(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var o=bW(e),i=o.negativeStr,a=o.integerStr,l=o.decimalStr,s="".concat(t).concat(l),c="".concat(i).concat(a);if(n>=0){var u=Number(l[n]);return u>=5&&!r?bQ(bY(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-u)).toString(),t,n,r):0===n?c:"".concat(c).concat(t).concat(l.padEnd(n,"0").slice(0,n))}return".0"===s?c:"".concat(c).concat(s)}let bJ=bY;function b0(e){return!!(e.addonBefore||e.addonAfter)}function b1(e){return!!(e.prefix||e.suffix||e.allowClear)}function b2(e,t,n){var r=t.cloneNode(!0),o=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,"number"==typeof t.selectionStart&&"number"==typeof t.selectionEnd&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},o}function b4(e,t,n,r){if(n){var o=t;if("click"===t.type)return void n(o=b2(t,e,""));if("file"!==e.type&&void 0!==r)return void n(o=b2(t,e,r));n(o)}}function b3(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var o=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(o,o);break;default:e.setSelectionRange(0,o)}}}}let b5=p().forwardRef(function(e,t){var n,r,o=e.inputElement,i=e.children,a=e.prefixCls,l=e.prefix,s=e.suffix,c=e.addonBefore,u=e.addonAfter,d=e.className,f=e.style,m=e.disabled,v=e.readOnly,b=e.focused,y=e.triggerFocus,w=e.allowClear,x=e.value,S=e.handleReset,k=e.hidden,C=e.classes,$=e.classNames,E=e.dataAttrs,O=e.styles,M=e.components,I=e.onClear,N=null!=i?i:o,Z=(null==M?void 0:M.affixWrapper)||"span",R=(null==M?void 0:M.groupWrapper)||"span",T=(null==M?void 0:M.wrapper)||"span",P=(null==M?void 0:M.groupAddon)||"span",j=(0,h.useRef)(null),A=function(e){var t;null!=(t=j.current)&&t.contains(e.target)&&(null==y||y())},D=b1(e),z=(0,h.cloneElement)(N,{value:x,className:g()(N.props.className,!D&&(null==$?void 0:$.variant))||null}),L=(0,h.useRef)(null);if(p().useImperativeHandle(t,function(){return{nativeElement:L.current||j.current}}),D){var B=null;if(w){var H=!m&&!v&&x,F="".concat(a,"-clear-icon"),W="object"===(0,eq.Z)(w)&&null!=w&&w.clearIcon?w.clearIcon:"✖";B=p().createElement("span",{onClick:function(e){null==S||S(e),null==I||I()},onMouseDown:function(e){return e.preventDefault()},className:g()(F,(0,eV.Z)((0,eV.Z)({},"".concat(F,"-hidden"),!H),"".concat(F,"-has-suffix"),!!s)),role:"button",tabIndex:-1},W)}var V="".concat(a,"-affix-wrapper"),q=g()(V,(0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)({},"".concat(a,"-disabled"),m),"".concat(V,"-disabled"),m),"".concat(V,"-focused"),b),"".concat(V,"-readonly"),v),"".concat(V,"-input-with-clear-btn"),s&&w&&x),null==C?void 0:C.affixWrapper,null==$?void 0:$.affixWrapper,null==$?void 0:$.variant),K=(s||w)&&p().createElement("span",{className:g()("".concat(a,"-suffix"),null==$?void 0:$.suffix),style:null==O?void 0:O.suffix},B,s);z=p().createElement(Z,(0,_.Z)({className:q,style:null==O?void 0:O.affixWrapper,onClick:A},null==E?void 0:E.affixWrapper,{ref:j}),l&&p().createElement("span",{className:g()("".concat(a,"-prefix"),null==$?void 0:$.prefix),style:null==O?void 0:O.prefix},l),z,K)}if(b0(e)){var X="".concat(a,"-group"),U="".concat(X,"-addon"),G="".concat(X,"-wrapper"),Y=g()("".concat(a,"-wrapper"),X,null==C?void 0:C.wrapper,null==$?void 0:$.wrapper),Q=g()(G,(0,eV.Z)({},"".concat(G,"-disabled"),m),null==C?void 0:C.group,null==$?void 0:$.groupWrapper);z=p().createElement(R,{className:Q,ref:L},p().createElement(T,{className:Y},c&&p().createElement(P,{className:U},c),z,u&&p().createElement(P,{className:U},u)))}return p().cloneElement(z,{className:g()(null==(n=z.props)?void 0:n.className,d)||null,style:(0,eH.Z)((0,eH.Z)({},null==(r=z.props)?void 0:r.style),f),hidden:k})});var b8=["show"];function b6(e,t){return h.useMemo(function(){var n={};t&&(n.show="object"===(0,eq.Z)(t)&&t.formatter?t.formatter:!!t);var r=n=(0,eH.Z)((0,eH.Z)({},n),e),o=r.show,i=(0,eB.Z)(r,b8);return(0,eH.Z)((0,eH.Z)({},i),{},{show:!!o,showFormatter:"function"==typeof o?o:void 0,strategy:i.strategy||function(e){return e.length}})},[e,t])}var b7=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"];let b9=(0,h.forwardRef)(function(e,t){var n=e.autoComplete,r=e.onChange,o=e.onFocus,i=e.onBlur,a=e.onPressEnter,l=e.onKeyDown,s=e.onKeyUp,c=e.prefixCls,u=void 0===c?"rc-input":c,d=e.disabled,f=e.htmlSize,m=e.className,v=e.maxLength,w=e.suffix,x=e.showCount,S=e.count,k=e.type,C=void 0===k?"text":k,$=e.classes,E=e.classNames,O=e.styles,M=e.onCompositionStart,I=e.onCompositionEnd,N=(0,eB.Z)(e,b7),Z=(0,h.useState)(!1),R=(0,eL.Z)(Z,2),T=R[0],P=R[1],j=(0,h.useRef)(!1),A=(0,h.useRef)(!1),D=(0,h.useRef)(null),z=(0,h.useRef)(null),L=function(e){D.current&&b3(D.current,e)},B=(0,ok.Z)(e.defaultValue,{value:e.value}),H=(0,eL.Z)(B,2),F=H[0],W=H[1],V=null==F?"":String(F),q=(0,h.useState)(null),K=(0,eL.Z)(q,2),X=K[0],U=K[1],G=b6(S,x),Y=G.max||v,Q=G.strategy(V),J=!!Y&&Q>Y;(0,h.useImperativeHandle)(t,function(){var e;return{focus:L,blur:function(){var e;null==(e=D.current)||e.blur()},setSelectionRange:function(e,t,n){var r;null==(r=D.current)||r.setSelectionRange(e,t,n)},select:function(){var e;null==(e=D.current)||e.select()},input:D.current,nativeElement:(null==(e=z.current)?void 0:e.nativeElement)||D.current}}),(0,h.useEffect)(function(){A.current&&(A.current=!1),P(function(e){return(!e||!d)&&e})},[d]);var ee=function(e,t,n){var o,i,a=t;if(!j.current&&G.exceedFormatter&&G.max&&G.strategy(t)>G.max)a=G.exceedFormatter(t,{max:G.max}),t!==a&&U([(null==(o=D.current)?void 0:o.selectionStart)||0,(null==(i=D.current)?void 0:i.selectionEnd)||0]);else if("compositionEnd"===n.source)return;W(a),D.current&&b4(D.current,e,r,a)};(0,h.useEffect)(function(){if(X){var e;null==(e=D.current)||e.setSelectionRange.apply(e,(0,y.Z)(X))}},[X]);var et=function(e){ee(e,e.target.value,{source:"change"})},en=function(e){j.current=!1,ee(e,e.currentTarget.value,{source:"compositionEnd"}),null==I||I(e)},er=function(e){a&&"Enter"===e.key&&!A.current&&(A.current=!0,a(e)),null==l||l(e)},eo=function(e){"Enter"===e.key&&(A.current=!1),null==s||s(e)},ei=function(e){P(!0),null==o||o(e)},ea=function(e){A.current&&(A.current=!1),P(!1),null==i||i(e)},el=function(e){W(""),L(),D.current&&b4(D.current,e,r)},es=J&&"".concat(u,"-out-of-range"),ec=function(){var t=(0,b.Z)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return p().createElement("input",(0,_.Z)({autoComplete:n},t,{onChange:et,onFocus:ei,onBlur:ea,onKeyDown:er,onKeyUp:eo,className:g()(u,(0,eV.Z)({},"".concat(u,"-disabled"),d),null==E?void 0:E.input),style:null==O?void 0:O.input,ref:D,size:f,type:C,onCompositionStart:function(e){j.current=!0,null==M||M(e)},onCompositionEnd:en}))},eu=function(){var e=Number(Y)>0;if(w||G.show){var t=G.showFormatter?G.showFormatter({value:V,count:Q,maxLength:Y}):"".concat(Q).concat(e?" / ".concat(Y):"");return p().createElement(p().Fragment,null,G.show&&p().createElement("span",{className:g()("".concat(u,"-show-count-suffix"),(0,eV.Z)({},"".concat(u,"-show-count-has-suffix"),!!w),null==E?void 0:E.count),style:(0,eH.Z)({},null==O?void 0:O.count)},t),w)}return null};return p().createElement(b5,(0,_.Z)({},N,{prefixCls:u,className:g()(m,es),handleReset:el,value:V,focused:T,triggerFocus:L,suffix:eu(),disabled:d,classes:$,classNames:E,styles:O}),ec())});function ye(e,t){return"undefined"!=typeof Proxy&&e?new Proxy(e,{get:function(e,n){if(t[n])return t[n];var r=e[n];return"function"==typeof r?r.bind(e):r}}):e}function yt(e,t){var n=(0,h.useRef)(null);return[function(){try{var t=e.selectionStart,r=e.selectionEnd,o=e.value,i=o.substring(0,t),a=o.substring(r);n.current={start:t,end:r,value:o,beforeTxt:i,afterTxt:a}}catch(e){}},function(){if(e&&n.current&&t)try{var r=e.value,o=n.current,i=o.beforeTxt,a=o.afterTxt,l=o.start,s=r.length;if(r.startsWith(i))s=i.length;else if(r.endsWith(a))s=r.length-n.current.afterTxt.length;else{var c=i[l-1],u=r.indexOf(c,l-1);-1!==u&&(s=u+1)}e.setSelectionRange(s,s)}catch(e){(0,nE.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(e.message))}}]}let yn=function(){var e=(0,h.useState)(!1),t=(0,eL.Z)(e,2),n=t[0],r=t[1];return(0,oE.Z)(function(){r((0,oO.Z)())},[]),n};var yr=200,yo=600;function yi(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,o=e.upDisabled,i=e.downDisabled,a=e.onStep,l=h.useRef(),s=h.useRef([]),c=h.useRef();c.current=a;var u=function(){clearTimeout(l.current)},d=function(e,t){function n(){c.current(t),l.current=setTimeout(n,yr)}e.preventDefault(),u(),c.current(t),l.current=setTimeout(n,yo)};if(h.useEffect(function(){return function(){u(),s.current.forEach(function(e){return w.Z.cancel(e)})}},[]),yn())return null;var f="".concat(t,"-handler"),p=g()(f,"".concat(f,"-up"),(0,eV.Z)({},"".concat(f,"-up-disabled"),o)),m=g()(f,"".concat(f,"-down"),(0,eV.Z)({},"".concat(f,"-down-disabled"),i)),v=function(){return s.current.push((0,w.Z)(u))},b={unselectable:"on",role:"button",onMouseUp:v,onMouseLeave:v};return h.createElement("div",{className:"".concat(f,"-wrap")},h.createElement("span",(0,_.Z)({},b,{onMouseDown:function(e){d(e,!0)},"aria-label":"Increase Value","aria-disabled":o,className:p}),n||h.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),h.createElement("span",(0,_.Z)({},b,{onMouseDown:function(e){d(e,!1)},"aria-label":"Decrease Value","aria-disabled":i,className:m}),r||h.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function ya(e){var t="number"==typeof e?bK(e):bW(e).fullStr;return t.includes(".")?bW(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}let yl=function(){var e=(0,h.useRef)(0),t=function(){w.Z.cancel(e.current)};return(0,h.useEffect)(function(){return t},[]),function(n){t(),e.current=(0,w.Z)(function(){n()})}};var ys=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],yc=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],yu=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},yd=function(e){var t=bJ(e);return t.isInvalidate()?null:t},yf=h.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.min,a=e.max,l=e.step,s=void 0===l?1:l,c=e.defaultValue,u=e.value,d=e.disabled,f=e.readOnly,p=e.upHandler,m=e.downHandler,v=e.keyboard,b=e.changeOnWheel,y=void 0!==b&&b,w=e.controls,x=void 0===w||w,S=(e.classNames,e.stringMode),k=e.parser,C=e.formatter,$=e.precision,E=e.decimalSeparator,O=e.onChange,M=e.onInput,I=e.onPressEnter,N=e.onStep,Z=e.changeOnBlur,R=void 0===Z||Z,T=e.domRef,P=(0,eB.Z)(e,ys),j="".concat(n,"-input"),A=h.useRef(null),D=h.useState(!1),z=(0,eL.Z)(D,2),L=z[0],B=z[1],H=h.useRef(!1),F=h.useRef(!1),W=h.useRef(!1),V=h.useState(function(){return bJ(null!=u?u:c)}),q=(0,eL.Z)(V,2),K=q[0],U=q[1];function G(e){void 0===u&&U(e)}var Y=h.useCallback(function(e,t){if(!t)return $>=0?$:Math.max(bq(e),bq(s))},[$,s]),Q=h.useCallback(function(e){var t=String(e);if(k)return k(t);var n=t;return E&&(n=n.replace(E,".")),n.replace(/[^\w.-]+/g,"")},[k,E]),J=h.useRef(""),ee=h.useCallback(function(e,t){if(C)return C(e,{userTyping:t,input:String(J.current)});var n="number"==typeof e?bK(e):e;if(!t){var r=Y(n,t);bX(n)&&(E||r>=0)&&(n=bQ(n,E||".",r))}return n},[C,Y,E]),et=h.useState(function(){var e=null!=c?c:u;return K.isInvalidate()&&["string","number"].includes((0,eq.Z)(e))?Number.isNaN(e)?"":e:ee(K.toString(),!1)}),en=(0,eL.Z)(et,2),er=en[0],eo=en[1];function ei(e,t){eo(ee(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}J.current=er;var ea=h.useMemo(function(){return yd(a)},[a,$]),el=h.useMemo(function(){return yd(i)},[i,$]),es=h.useMemo(function(){return!(!ea||!K||K.isInvalidate())&&ea.lessEquals(K)},[ea,K]),ec=h.useMemo(function(){return!(!el||!K||K.isInvalidate())&&K.lessEquals(el)},[el,K]),eu=yt(A.current,L),ed=(0,eL.Z)(eu,2),ef=ed[0],eh=ed[1],ep=function(e){return ea&&!e.lessEquals(ea)?ea:el&&!el.lessEquals(e)?el:null},em=function(e){return!ep(e)},eg=function(e,t){var n=e,r=em(n)||n.isEmpty();if(n.isEmpty()||t||(n=ep(n)||n,r=!0),!f&&!d&&r){var o=n.toString(),i=Y(o,t);return i>=0&&(em(n=bJ(bQ(o,".",i)))||(n=bJ(bQ(o,".",i,!0)))),n.equals(K)||(G(n),null==O||O(n.isEmpty()?null:yu(S,n)),void 0===u&&ei(n,t)),n}return K},ev=yl(),eb=function e(t){if(ef(),J.current=t,eo(t),!F.current){var n=bJ(Q(t));n.isNaN()||eg(n,!0)}null==M||M(t),ev(function(){var n=t;k||(n=t.replace(/。/g,".")),n!==t&&e(n)})},ey=function(){F.current=!0},ew=function(){F.current=!1,eb(A.current.value)},ex=function(e){eb(e.target.value)},eS=function(e){if((!e||!es)&&(e||!ec)){H.current=!1;var t,n=bJ(W.current?ya(s):s);e||(n=n.negate());var r=(K||bJ(0)).add(n.toString()),o=eg(r,!1);null==N||N(yu(S,o),{offset:W.current?ya(s):s,type:e?"up":"down"}),null==(t=A.current)||t.focus()}},ek=function(e){var t,n=bJ(Q(er));t=n.isNaN()?eg(K,e):eg(n,e),void 0!==u?ei(K,!1):t.isNaN()||ei(t,!1)},eC=function(){H.current=!0},e$=function(e){var t=e.key,n=e.shiftKey;H.current=!0,W.current=n,"Enter"===t&&(F.current||(H.current=!1),ek(!1),null==I||I(e)),!1!==v&&!F.current&&["Up","ArrowUp","Down","ArrowDown"].includes(t)&&(eS("Up"===t||"ArrowUp"===t),e.preventDefault())},eE=function(){H.current=!1,W.current=!1};h.useEffect(function(){if(y&&L){var e=function(e){eS(e.deltaY<0),e.preventDefault()},t=A.current;if(t)return t.addEventListener("wheel",e,{passive:!1}),function(){return t.removeEventListener("wheel",e)}}});var eO=function(){R&&ek(!1),B(!1),H.current=!1};return(0,oE.o)(function(){K.isInvalidate()||ei(K,!1)},[$,C]),(0,oE.o)(function(){var e=bJ(u);U(e);var t=bJ(Q(er));e.equals(t)&&H.current&&!C||ei(e,H.current)},[u]),(0,oE.o)(function(){C&&eh()},[er]),h.createElement("div",{ref:T,className:g()(n,r,(0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)({},"".concat(n,"-focused"),L),"".concat(n,"-disabled"),d),"".concat(n,"-readonly"),f),"".concat(n,"-not-a-number"),K.isNaN()),"".concat(n,"-out-of-range"),!K.isInvalidate()&&!em(K))),style:o,onFocus:function(){B(!0)},onBlur:eO,onKeyDown:e$,onKeyUp:eE,onCompositionStart:ey,onCompositionEnd:ew,onBeforeInput:eC},x&&h.createElement(yi,{prefixCls:n,upNode:p,downNode:m,upDisabled:es,downDisabled:ec,onStep:eS}),h.createElement("div",{className:"".concat(j,"-wrap")},h.createElement("input",(0,_.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":i,"aria-valuemax":a,"aria-valuenow":K.isInvalidate()?null:K.toString(),step:s},P,{ref:(0,X.sQ)(A,t),className:j,value:er,onChange:ex,disabled:d,readOnly:f}))))});let yh=h.forwardRef(function(e,t){var n=e.disabled,r=e.style,o=e.prefixCls,i=void 0===o?"rc-input-number":o,a=e.value,l=e.prefix,s=e.suffix,c=e.addonBefore,u=e.addonAfter,d=e.className,f=e.classNames,p=(0,eB.Z)(e,yc),m=h.useRef(null),g=h.useRef(null),v=h.useRef(null),b=function(e){v.current&&b3(v.current,e)};return h.useImperativeHandle(t,function(){return ye(v.current,{focus:b,nativeElement:m.current.nativeElement||g.current})}),h.createElement(b5,{className:d,triggerFocus:b,prefixCls:i,value:a,disabled:n,style:r,prefix:l,suffix:s,addonAfter:u,addonBefore:c,classNames:f,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:m},h.createElement(yf,(0,_.Z)({prefixCls:i,disabled:n,ref:v,domRef:g,className:null==f?void 0:f.input},p)))});var yp=n(47673),ym=n(93900);let yg=e=>{var t;let n=null!=(t=e.handleVisible)?t:"auto",r=e.controlHeightSM-2*e.lineWidth;return Object.assign(Object.assign({},(0,pl.T)(e)),{controlWidth:90,handleWidth:r,handleFontSize:e.fontSize/2,handleVisible:n,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new tD.C(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:+(!0===n),handleVisibleWidth:!0===n?r:0})},yv=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:o}=e,i="lg"===t?o:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:i,borderEndEndRadius:i},[`${n}-handler-up`]:{borderStartEndRadius:i},[`${n}-handler-down`]:{borderEndEndRadius:i}}}},yb=e=>{let{componentCls:t,lineWidth:n,lineType:r,borderRadius:o,inputFontSizeSM:i,inputFontSizeLG:a,controlHeightLG:l,controlHeightSM:s,colorError:c,paddingInlineSM:u,paddingBlockSM:d,paddingBlockLG:f,paddingInlineLG:h,colorTextDescription:p,motionDurationMid:m,handleHoverColor:g,handleOpacity:v,paddingInline:b,paddingBlock:y,handleBg:w,handleActiveBg:x,colorTextDisabled:S,borderRadiusSM:k,borderRadiusLG:C,controlWidth:$,handleBorderColor:E,filledHandleBg:O,lineHeightLG:M,calc:I}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),(0,yp.ik)(e)),{display:"inline-block",width:$,margin:0,padding:0,borderRadius:o}),(0,ym.qG)(e,{[`${t}-handler-wrap`]:{background:w,[`${t}-handler-down`]:{borderBlockStart:`${(0,G.bf)(n)} ${r} ${E}`}}})),(0,ym.H8)(e,{[`${t}-handler-wrap`]:{background:O,[`${t}-handler-down`]:{borderBlockStart:`${(0,G.bf)(n)} ${r} ${E}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:w}}})),(0,ym.Mu)(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:a,lineHeight:M,borderRadius:C,[`input${t}-input`]:{height:I(l).sub(I(n).mul(2)).equal(),padding:`${(0,G.bf)(f)} ${(0,G.bf)(h)}`}},"&-sm":{padding:0,fontSize:i,borderRadius:k,[`input${t}-input`]:{height:I(s).sub(I(n).mul(2)).equal(),padding:`${(0,G.bf)(d)} ${(0,G.bf)(u)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:c}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),(0,yp.s7)(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:C,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:k}}},(0,ym.ir)(e)),(0,ym.S5)(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),{width:"100%",padding:`${(0,G.bf)(y)} ${(0,G.bf)(b)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:o,outline:0,transition:`all ${m} linear`,appearance:"textfield",fontSize:"inherit"}),(0,yp.nz)(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1}})},{[t]:Object.assign(Object.assign(Object.assign({[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleVisibleWidth,opacity:v,height:"100%",borderStartStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${m}`,overflow:"hidden",[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` - ${t}-handler-up-inner, - ${t}-handler-down-inner - `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:p,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,G.bf)(n)} ${r} ${E}`,transition:`all ${m} linear`,"&:active":{background:x},"&:hover":{height:"60%",[` - ${t}-handler-up-inner, - ${t}-handler-down-inner - `]:{color:g}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Y.Ro)()),{color:p,transition:`all ${m} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:o},[`${t}-handler-down`]:{borderEndEndRadius:o}},yv(e,"lg")),yv(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` - ${t}-handler-up-disabled, - ${t}-handler-down-disabled - `]:{cursor:"not-allowed"},[` - ${t}-handler-up-disabled:hover &-handler-up-inner, - ${t}-handler-down-disabled:hover &-handler-down-inner - `]:{color:S}})}]},yy=e=>{let{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:o,controlWidth:i,borderRadiusLG:a,borderRadiusSM:l,paddingInlineLG:s,paddingInlineSM:c,paddingBlockLG:u,paddingBlockSM:d,motionDurationMid:f}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign({[`input${t}-input`]:{padding:`${(0,G.bf)(n)} 0`}},(0,yp.ik)(e)),{position:"relative",display:"inline-flex",alignItems:"center",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:a,paddingInlineStart:s,[`input${t}-input`]:{padding:`${(0,G.bf)(u)} 0`}},"&-sm":{borderRadius:l,paddingInlineStart:c,[`input${t}-input`]:{padding:`${(0,G.bf)(d)} 0`}},[`&:not(${t}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:o},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:r,marginInlineStart:o,transition:`margin ${f}`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&:not(${t}-affix-wrapper-without-controls):hover ${t}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(r).equal()}})}},yw=(0,k.I$)("InputNumber",e=>{let t=(0,eI.IX)(e,(0,pl.e)(e));return[yb(t),yy(t),(0,aB.c)(t)]},yg,{unitless:{handleOpacity:!0}});var yx=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let yS=h.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=h.useContext(S.E_),o=h.useRef(null);h.useImperativeHandle(t,()=>o.current);let{className:i,rootClassName:a,size:l,disabled:s,prefixCls:c,addonBefore:u,addonAfter:d,prefix:f,suffix:p,bordered:m,readOnly:v,status:b,controls:y,variant:w}=e,x=yx(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),k=n("input-number",c),C=eE(k),[$,E,O]=yw(k,C),{compactSize:M,compactItemClassnames:I}=(0,a_.ri)(k,r),N=h.createElement(bB,{className:`${k}-handler-up-inner`}),Z=h.createElement(lx,{className:`${k}-handler-down-inner`}),R="boolean"==typeof y?y:void 0;"object"==typeof y&&(N=void 0===y.upIcon?N:h.createElement("span",{className:`${k}-handler-up-inner`},y.upIcon),Z=void 0===y.downIcon?Z:h.createElement("span",{className:`${k}-handler-down-inner`},y.downIcon));let{hasFeedback:T,status:P,isFormItemInput:j,feedbackIcon:A}=h.useContext(aA.aM),D=aC(P,b),_=(0,aj.Z)(e=>{var t;return null!=(t=null!=l?l:M)?t:e}),z=h.useContext(tF.Z),L=null!=s?s:z,[B,H]=aD("inputNumber",w,m),F=T&&h.createElement(h.Fragment,null,A),W=g()({[`${k}-lg`]:"large"===_,[`${k}-sm`]:"small"===_,[`${k}-rtl`]:"rtl"===r,[`${k}-in-form-item`]:j},E),V=`${k}-group`;return $(h.createElement(yh,Object.assign({ref:o,disabled:L,className:g()(O,C,i,a,I),upHandler:N,downHandler:Z,prefixCls:k,readOnly:v,controls:R,prefix:f,suffix:F||p,addonBefore:u&&h.createElement(nN.Z,{form:!0,space:!0},u),addonAfter:d&&h.createElement(nN.Z,{form:!0,space:!0},d),classNames:{input:W,variant:g()({[`${k}-${B}`]:H},ak(k,D,T)),affixWrapper:g()({[`${k}-affix-wrapper-sm`]:"small"===_,[`${k}-affix-wrapper-lg`]:"large"===_,[`${k}-affix-wrapper-rtl`]:"rtl"===r,[`${k}-affix-wrapper-without-controls`]:!1===y},E),wrapper:g()({[`${V}-rtl`]:"rtl"===r},E),groupWrapper:g()({[`${k}-group-wrapper-sm`]:"small"===_,[`${k}-group-wrapper-lg`]:"large"===_,[`${k}-group-wrapper-rtl`]:"rtl"===r,[`${k}-group-wrapper-${B}`]:H},ak(`${k}-group-wrapper`,D,T),E)}},x)))}),yk=yS;yk._InternalPanelDoNotUseOrYouWillBeFired=e=>h.createElement(t9,{theme:{components:{InputNumber:{handleVisible:!0}}}},h.createElement(yS,Object.assign({},e)));let yC=yk,y$=e=>{let{prefixCls:t,min:n=0,max:r=100,value:o,onChange:i,className:a,formatter:l}=e,s=`${t}-steppers`,[c,u]=(0,h.useState)(o);return(0,h.useEffect)(()=>{Number.isNaN(o)||u(o)},[o]),p().createElement(yC,{className:g()(s,a),min:n,max:r,value:c,formatter:l,size:"small",onChange:e=>{o||u(e||0),null==i||i(e)}})},yE=e=>{let{prefixCls:t,value:n,onChange:r}=e,o=`${t}-alpha-input`,[i,a]=(0,h.useState)((0,bD.vC)(n||"#000"));(0,h.useEffect)(()=>{n&&a(n)},[n]);let l=e=>{let t=i.toHsb();t.a=(e||0)/100;let o=(0,bD.vC)(t);n||a(o),null==r||r(o)};return p().createElement(y$,{value:(0,bD.uZ)(i),prefixCls:t,formatter:e=>`${e}%`,className:o,onChange:l})},yO=e=>{let{getPrefixCls:t,direction:n}=(0,h.useContext)(S.E_),{prefixCls:r,className:o}=e,i=t("input-group",r),a=t("input"),[l,s]=(0,yp.ZP)(a),c=g()(i,{[`${i}-lg`]:"large"===e.size,[`${i}-sm`]:"small"===e.size,[`${i}-compact`]:e.compact,[`${i}-rtl`]:"rtl"===n},s,o),u=(0,h.useContext)(aA.aM),d=(0,h.useMemo)(()=>Object.assign(Object.assign({},u),{isFormItemInput:!1}),[u]);return l(h.createElement("span",{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},h.createElement(aA.aM.Provider,{value:d},e.children)))},yM=e=>{let t;return"object"==typeof e&&(null==e?void 0:e.clearIcon)?t=e:e&&(t={clearIcon:p().createElement(A.Z,null)}),t};function yI(e,t){let n=(0,h.useRef)([]),r=()=>{n.current.push(setTimeout(()=>{var t,n,r,o;(null==(t=e.current)?void 0:t.input)&&(null==(n=e.current)?void 0:n.input.getAttribute("type"))==="password"&&(null==(r=e.current)?void 0:r.input.hasAttribute("value"))&&(null==(o=e.current)||o.input.removeAttribute("value"))}))};return(0,h.useEffect)(()=>(t&&r(),()=>n.current.forEach(e=>{e&&clearTimeout(e)})),[]),r}function yN(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var yZ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let yR=(0,h.forwardRef)((e,t)=>{var n;let{prefixCls:r,bordered:o=!0,status:i,size:a,disabled:l,onBlur:s,onFocus:c,suffix:u,allowClear:d,addonAfter:f,addonBefore:m,className:v,style:b,styles:y,rootClassName:w,onChange:x,classNames:k,variant:C}=e,$=yZ(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:E,direction:O,input:M}=p().useContext(S.E_),I=E("input",r),N=(0,h.useRef)(null),Z=eE(I),[R,T,P]=(0,yp.ZP)(I,Z),{compactSize:j,compactItemClassnames:A}=(0,a_.ri)(I,O),D=(0,aj.Z)(e=>{var t;return null!=(t=null!=a?a:j)?t:e}),_=p().useContext(tF.Z),z=null!=l?l:_,{status:L,hasFeedback:B,feedbackIcon:H}=(0,h.useContext)(aA.aM),F=aC(L,i),W=yN(e)||!!B;(0,h.useRef)(W);let V=yI(N,!0),q=e=>{V(),null==s||s(e)},K=e=>{V(),null==c||c(e)},U=e=>{V(),null==x||x(e)},G=(B||u)&&p().createElement(p().Fragment,null,u,B&&H),Y=yM(null!=d?d:null==M?void 0:M.allowClear),[Q,J]=aD("input",C,o);return R(p().createElement(b9,Object.assign({ref:(0,X.sQ)(t,N),prefixCls:I,autoComplete:null==M?void 0:M.autoComplete},$,{disabled:z,onBlur:q,onFocus:K,style:Object.assign(Object.assign({},null==M?void 0:M.style),b),styles:Object.assign(Object.assign({},null==M?void 0:M.styles),y),suffix:G,allowClear:Y,className:g()(v,w,P,Z,A,null==M?void 0:M.className),onChange:U,addonBefore:m&&p().createElement(nN.Z,{form:!0,space:!0},m),addonAfter:f&&p().createElement(nN.Z,{form:!0,space:!0},f),classNames:Object.assign(Object.assign(Object.assign({},k),null==M?void 0:M.classNames),{input:g()({[`${I}-sm`]:"small"===D,[`${I}-lg`]:"large"===D,[`${I}-rtl`]:"rtl"===O},null==k?void 0:k.input,null==(n=null==M?void 0:M.classNames)?void 0:n.input,T),variant:g()({[`${I}-${Q}`]:J},ak(I,F)),affixWrapper:g()({[`${I}-affix-wrapper-sm`]:"small"===D,[`${I}-affix-wrapper-lg`]:"large"===D,[`${I}-affix-wrapper-rtl`]:"rtl"===O},T),wrapper:g()({[`${I}-group-rtl`]:"rtl"===O},T),groupWrapper:g()({[`${I}-group-wrapper-sm`]:"small"===D,[`${I}-group-wrapper-lg`]:"large"===D,[`${I}-group-wrapper-rtl`]:"rtl"===O,[`${I}-group-wrapper-${Q}`]:J},ak(`${I}-group-wrapper`,F,B),T)})})))}),yT=e=>{let{componentCls:t,paddingXS:n}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},yP=(0,k.I$)(["Input","OTP"],e=>[yT((0,eI.IX)(e,(0,pl.e)(e)))],pl.T);var yj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let yA=h.forwardRef((e,t)=>{let{value:n,onChange:r,onActiveChange:o,index:i,mask:a}=e,l=yj(e,["value","onChange","onActiveChange","index","mask"]),s=n&&"string"==typeof a?a:n,c=e=>{r(i,e.target.value)},u=h.useRef(null);h.useImperativeHandle(t,()=>u.current);let d=()=>{(0,w.Z)(()=>{var e;let t=null==(e=u.current)?void 0:e.input;document.activeElement===t&&t&&t.select()})},f=e=>{let{key:t,ctrlKey:n,metaKey:r}=e;"ArrowLeft"===t?o(i-1):"ArrowRight"===t?o(i+1):"z"===t&&(n||r)&&e.preventDefault(),d()},p=e=>{"Backspace"!==e.key||n||o(i-1),d()};return h.createElement(yR,Object.assign({type:!0===a?"password":"text"},l,{ref:u,value:s,onInput:c,onFocus:d,onKeyDown:f,onKeyUp:p,onMouseDown:d,onMouseUp:d}))});var yD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function y_(e){return(e||"").split("")}let yz=h.forwardRef((e,t)=>{let{prefixCls:n,length:r=6,size:o,defaultValue:i,value:a,onChange:l,formatter:s,variant:c,disabled:u,status:d,autoFocus:f,mask:p,type:m,onInput:v,inputMode:b}=e,w=yD(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:x,direction:k}=h.useContext(S.E_),C=x("otp",n),$=(0,K.Z)(w,{aria:!0,data:!0,attr:!0}),E=eE(C),[O,M,I]=yP(C,E),N=(0,aj.Z)(e=>null!=o?o:e),Z=h.useContext(aA.aM),R=aC(Z.status,d),T=h.useMemo(()=>Object.assign(Object.assign({},Z),{status:R,hasFeedback:!1,feedbackIcon:null}),[Z,R]),P=h.useRef(null),j=h.useRef({});h.useImperativeHandle(t,()=>({focus:()=>{var e;null==(e=j.current[0])||e.focus()},blur:()=>{var e;for(let t=0;ts?s(e):e,[D,_]=h.useState(y_(A(i||"")));h.useEffect(()=>{void 0!==a&&_(y_(a))},[a]);let z=(0,ey.Z)(e=>{_(e),v&&v(e),l&&e.length===r&&e.every(e=>e)&&e.some((e,t)=>D[t]!==e)&&l(e.join(""))}),L=(0,ey.Z)((e,t)=>{let n=(0,y.Z)(D);for(let t=0;t=0&&!n[e];e-=1)n.pop();return n=y_(A(n.map(e=>e||" ").join(""))).map((e,t)=>" "!==e||n[t]?e:n[t])}),B=(e,t)=>{var n;let o=L(e,t),i=Math.min(e+t.length,r-1);i!==e&&void 0!==o[e]&&(null==(n=j.current[i])||n.focus()),z(o)},H=e=>{var t;null==(t=j.current[e])||t.focus()},F={variant:c,disabled:u,status:R,mask:p,type:m,inputMode:b};return O(h.createElement("div",Object.assign({},$,{ref:P,className:g()(C,{[`${C}-sm`]:"small"===N,[`${C}-lg`]:"large"===N,[`${C}-rtl`]:"rtl"===k},I,M)}),h.createElement(aA.aM.Provider,{value:T},Array.from({length:r}).map((e,t)=>{let n=`otp-${t}`,r=D[t]||"";return h.createElement(yA,Object.assign({ref:e=>{j.current[t]=e},key:n,index:t,size:N,htmlSize:1,className:`${C}-input`,onChange:B,value:r,onActiveChange:H,autoFocus:0===t&&f},F))}))))}),yL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};var yB=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:yL}))};let yH=h.forwardRef(yB);var yF=n(29567),yW=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let yV=e=>e?h.createElement(yF.Z,null):h.createElement(yH,null),yq={click:"onClick",hover:"onMouseOver"},yK=h.forwardRef((e,t)=>{let{disabled:n,action:r="click",visibilityToggle:o=!0,iconRender:i=yV}=e,a=h.useContext(tF.Z),l=null!=n?n:a,s="object"==typeof o&&void 0!==o.visible,[c,u]=(0,h.useState)(()=>!!s&&o.visible),d=(0,h.useRef)(null);h.useEffect(()=>{s&&u(o.visible)},[s,o]);let f=yI(d),p=()=>{var e;if(l)return;c&&f();let t=!c;u(t),"object"==typeof o&&(null==(e=o.onVisibleChange)||e.call(o,t))},m=e=>{let t=yq[r]||"",n=i(c),o={[t]:p,className:`${e}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return h.cloneElement(h.isValidElement(n)?n:h.createElement("span",null,n),o)},{className:v,prefixCls:y,inputPrefixCls:w,size:x}=e,k=yW(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:C}=h.useContext(S.E_),$=C("input",w),E=C("input-password",y),O=o&&m(E),M=g()(E,v,{[`${E}-${x}`]:!!x}),I=Object.assign(Object.assign({},(0,b.Z)(k,["suffix","iconRender","visibilityToggle"])),{type:c?"text":"password",className:M,prefixCls:$,suffix:O});return x&&(I.size=x),h.createElement(yR,Object.assign({ref:(0,X.sQ)(t,d)},I))});var yX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let yU=h.forwardRef((e,t)=>{let n,{prefixCls:r,inputPrefixCls:o,className:i,size:a,suffix:l,enterButton:s=!1,addonAfter:c,loading:u,disabled:d,onSearch:f,onChange:p,onCompositionStart:m,onCompositionEnd:v}=e,b=yX(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:y,direction:w}=h.useContext(S.E_),x=h.useRef(!1),k=y("input-search",r),C=y("input",o),{compactSize:$}=(0,a_.ri)(k,w),E=(0,aj.Z)(e=>{var t;return null!=(t=null!=a?a:$)?t:e}),O=h.useRef(null),M=e=>{(null==e?void 0:e.target)&&"click"===e.type&&f&&f(e.target.value,e,{source:"clear"}),null==p||p(e)},I=e=>{var t;document.activeElement===(null==(t=O.current)?void 0:t.input)&&e.preventDefault()},N=e=>{var t,n;f&&f(null==(n=null==(t=O.current)?void 0:t.input)?void 0:n.value,e,{source:"input"})},Z=e=>{x.current||u||N(e)},R="boolean"==typeof s?h.createElement(lC,null):null,T=`${k}-button`,P=s||{},j=P.type&&!0===P.type.__ANT_BUTTON;n=j||"button"===P.type?(0,U.Tm)(P,Object.assign({onMouseDown:I,onClick:e=>{var t,n;null==(n=null==(t=null==P?void 0:P.props)?void 0:t.onClick)||n.call(t,e),N(e)},key:"enterButton"},j?{className:T,size:E}:{})):h.createElement(no.ZP,{className:T,type:s?"primary":void 0,size:E,disabled:d,key:"enterButton",onMouseDown:I,onClick:N,loading:u,icon:R},s),c&&(n=[n,(0,U.Tm)(c,{key:"addonAfter"})]);let A=g()(k,{[`${k}-rtl`]:"rtl"===w,[`${k}-${E}`]:!!E,[`${k}-with-button`]:!!s},i),D=e=>{x.current=!0,null==m||m(e)},_=e=>{x.current=!1,null==v||v(e)};return h.createElement(yR,Object.assign({ref:(0,X.sQ)(O,t),onPressEnter:Z},b,{size:E,onCompositionStart:D,onCompositionEnd:_,prefixCls:C,addonAfter:n,suffix:l,onChange:M,className:A,disabled:d}))});var yG="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n",yY=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],yQ={};function yJ(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&yQ[n])return yQ[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l={sizingStyle:yY.map(function(e){return"".concat(e,":").concat(r.getPropertyValue(e))}).join(";"),paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(yQ[n]=l),l}function y0(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;u||((u=document.createElement("textarea")).setAttribute("tab-index","-1"),u.setAttribute("aria-hidden","true"),u.setAttribute("name","hiddenTextarea"),document.body.appendChild(u)),e.getAttribute("wrap")?u.setAttribute("wrap",e.getAttribute("wrap")):u.removeAttribute("wrap");var i=yJ(e,n),a=i.paddingSize,l=i.borderSize,s=i.boxSizing,c=i.sizingStyle;u.setAttribute("style","".concat(c,";").concat(yG)),u.value=e.value||e.placeholder||"";var d=void 0,f=void 0,h=u.scrollHeight;if("border-box"===s?h+=l:"content-box"===s&&(h-=a),null!==r||null!==o){u.value=" ";var p=u.scrollHeight-a;null!==r&&(d=p*r,"border-box"===s&&(d=d+a+l),h=Math.max(d,h)),null!==o&&(f=p*o,"border-box"===s&&(f=f+a+l),t=h>f?"":"hidden",h=Math.min(f,h))}var m={height:h,overflowY:t,resize:"none"};return d&&(m.minHeight=d),f&&(m.maxHeight=f),m}var y1=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],y2=0,y4=1,y3=2;let y5=h.forwardRef(function(e,t){var n=e,r=n.prefixCls,o=n.defaultValue,i=n.value,a=n.autoSize,l=n.onResize,s=n.className,c=n.style,u=n.disabled,d=n.onChange,f=(n.onInternalAutoSize,(0,eB.Z)(n,y1)),p=(0,ok.Z)(o,{value:i,postState:function(e){return null!=e?e:""}}),m=(0,eL.Z)(p,2),b=m[0],y=m[1],x=function(e){y(e.target.value),null==d||d(e)},S=h.useRef();h.useImperativeHandle(t,function(){return{textArea:S.current}});var k=h.useMemo(function(){return a&&"object"===(0,eq.Z)(a)?[a.minRows,a.maxRows]:[]},[a]),C=(0,eL.Z)(k,2),$=C[0],E=C[1],O=!!a,M=function(){try{if(document.activeElement===S.current){var e=S.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;S.current.setSelectionRange(t,n),S.current.scrollTop=r}}catch(e){}},I=h.useState(y3),N=(0,eL.Z)(I,2),Z=N[0],R=N[1],T=h.useState(),P=(0,eL.Z)(T,2),j=P[0],A=P[1],D=function(){R(y2)};(0,oE.Z)(function(){O&&D()},[i,$,E,O]),(0,oE.Z)(function(){if(Z===y2)R(y4);else if(Z===y4){var e=y0(S.current,!1,$,E);R(y3),A(e)}else M()},[Z]);var z=h.useRef(),L=function(){w.Z.cancel(z.current)},B=function(e){Z===y3&&(null==l||l(e),a&&(L(),z.current=(0,w.Z)(function(){D()})))};h.useEffect(function(){return L},[]);var H=O?j:null,F=(0,eH.Z)((0,eH.Z)({},c),H);return(Z===y2||Z===y4)&&(F.overflowY="hidden",F.overflowX="hidden"),h.createElement(v.Z,{onResize:B,disabled:!(a||l)},h.createElement("textarea",(0,_.Z)({},f,{ref:S,style:F,className:g()(r,s,(0,eV.Z)({},"".concat(r,"-disabled"),u)),disabled:u,value:b,onChange:x})))});var y8=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"];let y6=p().forwardRef(function(e,t){var n,r,o=e.defaultValue,i=e.value,a=e.onFocus,l=e.onBlur,s=e.onChange,c=e.allowClear,u=e.maxLength,d=e.onCompositionStart,f=e.onCompositionEnd,m=e.suffix,v=e.prefixCls,b=void 0===v?"rc-textarea":v,w=e.showCount,x=e.count,S=e.className,k=e.style,C=e.disabled,$=e.hidden,E=e.classNames,O=e.styles,M=e.onResize,I=e.onClear,N=e.onPressEnter,Z=e.readOnly,R=e.autoSize,T=e.onKeyDown,P=(0,eB.Z)(e,y8),j=(0,ok.Z)(o,{value:i,defaultValue:o}),A=(0,eL.Z)(j,2),D=A[0],z=A[1],L=null==D?"":String(D),B=p().useState(!1),H=(0,eL.Z)(B,2),F=H[0],W=H[1],V=p().useRef(!1),q=p().useState(null),K=(0,eL.Z)(q,2),X=K[0],U=K[1],G=(0,h.useRef)(null),Y=(0,h.useRef)(null),Q=function(){var e;return null==(e=Y.current)?void 0:e.textArea},J=function(){Q().focus()};(0,h.useImperativeHandle)(t,function(){var e;return{resizableTextArea:Y.current,focus:J,blur:function(){Q().blur()},nativeElement:(null==(e=G.current)?void 0:e.nativeElement)||Q()}}),(0,h.useEffect)(function(){W(function(e){return!C&&e})},[C]);var ee=p().useState(null),et=(0,eL.Z)(ee,2),en=et[0],er=et[1];p().useEffect(function(){if(en){var e;(e=Q()).setSelectionRange.apply(e,(0,y.Z)(en))}},[en]);var eo=b6(x,w),ei=null!=(n=eo.max)?n:u,ea=Number(ei)>0,el=eo.strategy(L),es=!!ei&&el>ei,ec=function(e,t){var n=t;!V.current&&eo.exceedFormatter&&eo.max&&eo.strategy(t)>eo.max&&(n=eo.exceedFormatter(t,{max:eo.max}),t!==n&&er([Q().selectionStart||0,Q().selectionEnd||0])),z(n),b4(e.currentTarget,e,s,n)},eu=function(e){V.current=!0,null==d||d(e)},ed=function(e){V.current=!1,ec(e,e.currentTarget.value),null==f||f(e)},ef=function(e){ec(e,e.target.value)},eh=function(e){"Enter"===e.key&&N&&N(e),null==T||T(e)},ep=function(e){W(!0),null==a||a(e)},em=function(e){W(!1),null==l||l(e)},eg=function(e){z(""),J(),b4(Q(),e,s)},ev=m;eo.show&&(r=eo.showFormatter?eo.showFormatter({value:L,count:el,maxLength:ei}):"".concat(el).concat(ea?" / ".concat(ei):""),ev=p().createElement(p().Fragment,null,ev,p().createElement("span",{className:g()("".concat(b,"-data-count"),null==E?void 0:E.count),style:null==O?void 0:O.count},r)));var eb=function(e){var t;null==M||M(e),null!=(t=Q())&&t.style.height&&U(!0)},ey=!R&&!w&&!c;return p().createElement(b5,{ref:G,value:L,allowClear:c,handleReset:eg,suffix:ev,prefixCls:b,classNames:(0,eH.Z)((0,eH.Z)({},E),{},{affixWrapper:g()(null==E?void 0:E.affixWrapper,(0,eV.Z)((0,eV.Z)({},"".concat(b,"-show-count"),w),"".concat(b,"-textarea-allow-clear"),c))}),disabled:C,focused:F,className:g()(S,es&&"".concat(b,"-out-of-range")),style:(0,eH.Z)((0,eH.Z)({},k),X&&!ey?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof r?r:void 0}},hidden:$,readOnly:Z,onClear:I},p().createElement(y5,(0,_.Z)({},P,{autoSize:R,maxLength:u,onKeyDown:eh,onChange:ef,onFocus:ep,onBlur:em,onCompositionStart:eu,onCompositionEnd:ed,className:g()(null==E?void 0:E.textarea),style:(0,eH.Z)((0,eH.Z)({},null==O?void 0:O.textarea),{},{resize:null==k?void 0:k.resize}),disabled:C,prefixCls:b,onResize:eb,ref:Y,readOnly:Z})))});var y7=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let y9=(0,h.forwardRef)((e,t)=>{var n,r;let{prefixCls:o,bordered:i=!0,size:a,disabled:l,status:s,allowClear:c,classNames:u,rootClassName:d,className:f,style:p,styles:m,variant:v}=e,b=y7(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:y,direction:w,textArea:x}=h.useContext(S.E_),k=(0,aj.Z)(a),C=h.useContext(tF.Z),$=null!=l?l:C,{status:E,hasFeedback:O,feedbackIcon:M}=h.useContext(aA.aM),I=aC(E,s),N=h.useRef(null);h.useImperativeHandle(t,()=>{var e;return{resizableTextArea:null==(e=N.current)?void 0:e.resizableTextArea,focus:e=>{var t,n;b3(null==(n=null==(t=N.current)?void 0:t.resizableTextArea)?void 0:n.textArea,e)},blur:()=>{var e;return null==(e=N.current)?void 0:e.blur()}}});let Z=y("input",o),R=eE(Z),[T,P,j]=(0,yp.ZP)(Z,R),[A,D]=aD("textArea",v,i),_=yM(null!=c?c:null==x?void 0:x.allowClear);return T(h.createElement(y6,Object.assign({autoComplete:null==x?void 0:x.autoComplete},b,{style:Object.assign(Object.assign({},null==x?void 0:x.style),p),styles:Object.assign(Object.assign({},null==x?void 0:x.styles),m),disabled:$,allowClear:_,className:g()(j,R,f,d,null==x?void 0:x.className),classNames:Object.assign(Object.assign(Object.assign({},u),null==x?void 0:x.classNames),{textarea:g()({[`${Z}-sm`]:"small"===k,[`${Z}-lg`]:"large"===k},P,null==u?void 0:u.textarea,null==(n=null==x?void 0:x.classNames)?void 0:n.textarea),variant:g()({[`${Z}-${A}`]:D},ak(Z,I)),affixWrapper:g()(`${Z}-textarea-affix-wrapper`,{[`${Z}-affix-wrapper-rtl`]:"rtl"===w,[`${Z}-affix-wrapper-sm`]:"small"===k,[`${Z}-affix-wrapper-lg`]:"large"===k,[`${Z}-textarea-show-count`]:e.showCount||(null==(r=e.count)?void 0:r.show)},P)}),prefixCls:Z,suffix:O&&h.createElement("span",{className:`${Z}-textarea-suffix`},M),ref:N})))}),we=yR;we.Group=yO,we.Search=yU,we.TextArea=y9,we.Password=yK,we.OTP=yz;let wt=we,wn=/(^#[\da-f]{6}$)|(^#[\da-f]{8}$)/i,wr=e=>wn.test(`#${e}`),wo=e=>{let{prefixCls:t,value:n,onChange:r}=e,o=`${t}-hex-input`,[i,a]=(0,h.useState)(()=>n?(0,bd.Ot)(n.toHexString()):void 0);(0,h.useEffect)(()=>{n&&a((0,bd.Ot)(n.toHexString()))},[n]);let l=e=>{let t=e.target.value;a((0,bd.Ot)(t)),wr((0,bd.Ot)(t,!0))&&(null==r||r((0,bD.vC)(t)))};return p().createElement(wt,{className:o,value:i,prefix:"#",onChange:l,size:"small"})},wi=e=>{let{prefixCls:t,value:n,onChange:r}=e,o=`${t}-hsb-input`,[i,a]=(0,h.useState)((0,bD.vC)(n||"#000"));(0,h.useEffect)(()=>{n&&a(n)},[n]);let l=(e,t)=>{let o=i.toHsb();o[t]="h"===t?e:(e||0)/100;let l=(0,bD.vC)(o);n||a(l),null==r||r(l)};return p().createElement("div",{className:o},p().createElement(y$,{max:360,min:0,value:Number(i.toHsb().h),prefixCls:t,className:o,formatter:e=>(0,bD.lx)(e||0).toString(),onChange:e=>l(Number(e),"h")}),p().createElement(y$,{max:100,min:0,value:100*Number(i.toHsb().s),prefixCls:t,className:o,formatter:e=>`${(0,bD.lx)(e||0)}%`,onChange:e=>l(Number(e),"s")}),p().createElement(y$,{max:100,min:0,value:100*Number(i.toHsb().b),prefixCls:t,className:o,formatter:e=>`${(0,bD.lx)(e||0)}%`,onChange:e=>l(Number(e),"b")}))},wa=e=>{let{prefixCls:t,value:n,onChange:r}=e,o=`${t}-rgb-input`,[i,a]=(0,h.useState)((0,bD.vC)(n||"#000"));(0,h.useEffect)(()=>{n&&a(n)},[n]);let l=(e,t)=>{let o=i.toRgb();o[t]=e||0;let l=(0,bD.vC)(o);n||a(l),null==r||r(l)};return p().createElement("div",{className:o},p().createElement(y$,{max:255,min:0,value:Number(i.toRgb().r),prefixCls:t,className:o,onChange:e=>l(Number(e),"r")}),p().createElement(y$,{max:255,min:0,value:Number(i.toRgb().g),prefixCls:t,className:o,onChange:e=>l(Number(e),"g")}),p().createElement(y$,{max:255,min:0,value:Number(i.toRgb().b),prefixCls:t,className:o,onChange:e=>l(Number(e),"b")}))},wl=[c.hex,c.hsb,c.rgb].map(e=>({value:e,label:e.toLocaleUpperCase()})),ws=e=>{let{prefixCls:t,format:n,value:r,disabledAlpha:o,onFormatChange:i,onChange:a,disabledFormat:l}=e,[s,u]=(0,ok.Z)(c.hex,{value:n,onChange:i}),d=`${t}-input`,f=e=>{u(e)},m=(0,h.useMemo)(()=>{let e={value:r,prefixCls:t,onChange:a};switch(s){case c.hsb:return p().createElement(wi,Object.assign({},e));case c.rgb:return p().createElement(wa,Object.assign({},e));default:return p().createElement(wo,Object.assign({},e))}},[s,t,r,a]);return p().createElement("div",{className:`${d}-container`},!l&&p().createElement(lR,{value:s,variant:"borderless",getPopupContainer:e=>e,popupMatchSelectWidth:68,placement:"bottomRight",onChange:f,className:`${t}-format-select`,size:"small",options:wl}),p().createElement("div",{className:d},m),!o&&p().createElement(yE,{prefixCls:t,value:r,onChange:a}))};function wc(e,t,n){return(e-t)/(n-t)}function wu(e,t,n,r){var o=wc(t,n,r),i={};switch(e){case"rtl":i.right="".concat(100*o,"%"),i.transform="translateX(50%)";break;case"btt":i.bottom="".concat(100*o,"%"),i.transform="translateY(50%)";break;case"ttb":i.top="".concat(100*o,"%"),i.transform="translateY(-50%)";break;default:i.left="".concat(100*o,"%"),i.transform="translateX(-50%)"}return i}function wd(e,t){return Array.isArray(e)?e[t]:e}let wf=h.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}});var wh=h.createContext({}),wp=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"];let wm=h.forwardRef(function(e,t){var n,r=e.prefixCls,o=e.value,i=e.valueIndex,a=e.onStartMove,l=e.onDelete,s=e.style,c=e.render,u=e.dragging,d=e.draggingDelete,f=e.onOffsetChange,p=e.onChangeComplete,m=e.onFocus,v=e.onMouseEnter,b=(0,eB.Z)(e,wp),y=h.useContext(wf),w=y.min,x=y.max,S=y.direction,k=y.disabled,C=y.keyboard,$=y.range,E=y.tabIndex,O=y.ariaLabelForHandle,M=y.ariaLabelledByForHandle,I=y.ariaRequired,N=y.ariaValueTextFormatterForHandle,Z=y.styles,R=y.classNames,T="".concat(r,"-handle"),P=function(e){k||a(e,i)},j=function(e){null==m||m(e,i)},A=function(e){v(e,i)},D=function(e){if(!k&&C){var t=null;switch(e.which||e.keyCode){case eK.Z.LEFT:t="ltr"===S||"btt"===S?-1:1;break;case eK.Z.RIGHT:t="ltr"===S||"btt"===S?1:-1;break;case eK.Z.UP:t="ttb"!==S?1:-1;break;case eK.Z.DOWN:t="ttb"!==S?-1:1;break;case eK.Z.HOME:t="min";break;case eK.Z.END:t="max";break;case eK.Z.PAGE_UP:t=2;break;case eK.Z.PAGE_DOWN:t=-2;break;case eK.Z.BACKSPACE:case eK.Z.DELETE:l(i)}null!==t&&(e.preventDefault(),f(t,i))}},z=function(e){switch(e.which||e.keyCode){case eK.Z.LEFT:case eK.Z.RIGHT:case eK.Z.UP:case eK.Z.DOWN:case eK.Z.HOME:case eK.Z.END:case eK.Z.PAGE_UP:case eK.Z.PAGE_DOWN:null==p||p()}},L=wu(S,o,w,x),B={};null!==i&&(B={tabIndex:k?null:wd(E,i),role:"slider","aria-valuemin":w,"aria-valuemax":x,"aria-valuenow":o,"aria-disabled":k,"aria-label":wd(O,i),"aria-labelledby":wd(M,i),"aria-required":wd(I,i),"aria-valuetext":null==(n=wd(N,i))?void 0:n(o),"aria-orientation":"ltr"===S||"rtl"===S?"horizontal":"vertical",onMouseDown:P,onTouchStart:P,onFocus:j,onMouseEnter:A,onKeyDown:D,onKeyUp:z});var H=h.createElement("div",(0,_.Z)({ref:t,className:g()(T,(0,eV.Z)((0,eV.Z)((0,eV.Z)({},"".concat(T,"-").concat(i+1),null!==i&&$),"".concat(T,"-dragging"),u),"".concat(T,"-dragging-delete"),d),R.handle),style:(0,eH.Z)((0,eH.Z)((0,eH.Z)({},L),s),Z.handle)},B,b));return c&&(H=c(H,{index:i,prefixCls:r,value:o,dragging:u,draggingDelete:d})),H});var wg=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"];let wv=h.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,o=e.onStartMove,i=e.onOffsetChange,a=e.values,l=e.handleRender,s=e.activeHandleRender,c=e.draggingIndex,u=e.draggingDelete,d=e.onFocus,f=(0,eB.Z)(e,wg),p=h.useRef({}),m=h.useState(!1),g=(0,eL.Z)(m,2),v=g[0],b=g[1],y=h.useState(-1),w=(0,eL.Z)(y,2),x=w[0],S=w[1],k=function(e){S(e),b(!0)},C=function(e,t){k(t),null==d||d(e)},$=function(e,t){k(t)};h.useImperativeHandle(t,function(){return{focus:function(e){var t;null==(t=p.current[e])||t.focus()},hideHelp:function(){(0,eF.flushSync)(function(){b(!1)})}}});var E=(0,eH.Z)({prefixCls:n,onStartMove:o,onOffsetChange:i,render:l,onFocus:C,onMouseEnter:$},f);return h.createElement(h.Fragment,null,a.map(function(e,t){var n=c===t;return h.createElement(wm,(0,_.Z)({ref:function(e){e?p.current[t]=e:delete p.current[t]},dragging:n,draggingDelete:n&&u,style:wd(r,t),key:t,value:e,valueIndex:t},E))}),s&&v&&h.createElement(wm,(0,_.Z)({key:"a11y"},E,{value:a[x],valueIndex:null,dragging:-1!==c,draggingDelete:u,render:s,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),wb=function(e){var t=e.prefixCls,n=e.style,r=e.children,o=e.value,i=e.onClick,a=h.useContext(wf),l=a.min,s=a.max,c=a.direction,u=a.includedStart,d=a.includedEnd,f=a.included,p="".concat(t,"-text"),m=wu(c,o,l,s);return h.createElement("span",{className:g()(p,(0,eV.Z)({},"".concat(p,"-active"),f&&u<=o&&o<=d)),style:(0,eH.Z)((0,eH.Z)({},m),n),onMouseDown:function(e){e.stopPropagation()},onClick:function(){i(o)}},r)},wy=function(e){var t=e.prefixCls,n=e.marks,r=e.onClick,o="".concat(t,"-mark");return n.length?h.createElement("div",{className:o},n.map(function(e){var t=e.value,n=e.style,i=e.label;return h.createElement(wb,{key:t,prefixCls:o,style:n,value:t,onClick:r},i)})):null},ww=function(e){var t=e.prefixCls,n=e.value,r=e.style,o=e.activeStyle,i=h.useContext(wf),a=i.min,l=i.max,s=i.direction,c=i.included,u=i.includedStart,d=i.includedEnd,f="".concat(t,"-dot"),p=c&&u<=n&&n<=d,m=(0,eH.Z)((0,eH.Z)({},wu(s,n,a,l)),"function"==typeof r?r(n):r);return p&&(m=(0,eH.Z)((0,eH.Z)({},m),"function"==typeof o?o(n):o)),h.createElement("span",{className:g()(f,(0,eV.Z)({},"".concat(f,"-active"),p)),style:m})},wx=function(e){var t=e.prefixCls,n=e.marks,r=e.dots,o=e.style,i=e.activeStyle,a=h.useContext(wf),l=a.min,s=a.max,c=a.step,u=h.useMemo(function(){var e=new Set;if(n.forEach(function(t){e.add(t.value)}),r&&null!==c)for(var t=l;t<=s;)e.add(t),t+=c;return Array.from(e)},[l,s,c,r,n]);return h.createElement("div",{className:"".concat(t,"-step")},u.map(function(e){return h.createElement(ww,{prefixCls:t,key:e,value:e,style:o,activeStyle:i})}))},wS=function(e){var t=e.prefixCls,n=e.style,r=e.start,o=e.end,i=e.index,a=e.onStartMove,l=e.replaceCls,s=h.useContext(wf),c=s.direction,u=s.min,d=s.max,f=s.disabled,p=s.range,m=s.classNames,v="".concat(t,"-track"),b=wc(r,u,d),y=wc(o,u,d),w=function(e){!f&&a&&a(e,-1)},x={};switch(c){case"rtl":x.right="".concat(100*b,"%"),x.width="".concat(100*y-100*b,"%");break;case"btt":x.bottom="".concat(100*b,"%"),x.height="".concat(100*y-100*b,"%");break;case"ttb":x.top="".concat(100*b,"%"),x.height="".concat(100*y-100*b,"%");break;default:x.left="".concat(100*b,"%"),x.width="".concat(100*y-100*b,"%")}var S=l||g()(v,(0,eV.Z)((0,eV.Z)({},"".concat(v,"-").concat(i+1),null!==i&&p),"".concat(t,"-track-draggable"),a),m.track);return h.createElement("div",{className:S,style:(0,eH.Z)((0,eH.Z)({},x),n),onMouseDown:w,onTouchStart:w})},wk=function(e){var t=e.prefixCls,n=e.style,r=e.values,o=e.startPoint,i=e.onStartMove,a=h.useContext(wf),l=a.included,s=a.range,c=a.min,u=a.styles,d=a.classNames,f=h.useMemo(function(){if(!s){if(0===r.length)return[];var e=null!=o?o:c,t=r[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}for(var n=[],i=0;iwC&&u3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"==typeof a){var u,d=i[s],f=d+a,h=[];r.forEach(function(e){h.push(e.value)}),h.push(e,t),h.push(l(d));var p=a>0?1:-1;"unit"===c?h.push(l(d+p*n)):h.push(l(f)),h=h.filter(function(e){return null!==e}).filter(function(e){return a<0?e<=d:e>=d}),"unit"===c&&(h=h.filter(function(e){return e!==d}));var m="unit"===c?d:f,g=Math.abs((u=h[0])-m);if(h.forEach(function(e){var t=Math.abs(e-m);t1){var v=(0,y.Z)(i);return v[s]=u,o(v,a-p,s,c)}return u}return"min"===a?e:"max"===a?t:void 0},u=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",o=e[n],i=c(e,t,n,r);return{value:i,changed:i!==o}},d=function(e){return null===i&&0===e||"number"==typeof i&&e3&&void 0!==arguments[3]?arguments[3]:"unit",a=e.map(s),l=a[n],f=c(a,t,n,r);if(a[n]=f,!1===o){var h=i||0;n>0&&a[n-1]!==l&&(a[n]=Math.max(a[n],a[n-1]+h)),n0;v-=1)for(var b=!0;d(a[v]-a[v-1])&&b;){var y=u(a,-1,v-1);a[v-1]=y.value,b=y.changed}for(var w=a.length-1;w>0;w-=1)for(var x=!0;d(a[w]-a[w-1])&&x;){var S=u(a,-1,w-1);a[w-1]=S.value,x=S.changed}for(var k=0;k=0&&A},[A,eg]),eb=h.useMemo(function(){return Object.keys(K||{}).map(function(e){var t=K[e],n={value:Number(e)};return t&&"object"===(0,eq.Z)(t)&&!h.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n}).filter(function(e){var t=e.label;return t||"number"==typeof t}).sort(function(e,t){return e.value-t.value})},[K]),ew=wO(ep,em,eg,eb,P,ev),ex=(0,eL.Z)(ew,2),eS=ex[0],ek=ex[1],eC=(0,ok.Z)(E,{value:$}),e$=(0,eL.Z)(eC,2),eE=e$[0],eO=e$[1],eM=h.useMemo(function(){var e=null==eE?[]:Array.isArray(eE)?eE:[eE],t=(0,eL.Z)(e,1)[0],n=void 0===t?ep:t,r=null===eE?[]:[n];if(ec){if(r=(0,y.Z)(e),M||void 0===eE){var o,i=M>=0?M+1:2;for(r=r.slice(0,i);r.length=0&&eo.current.focus(e)}eU(null)},[eX]);var eY=h.useMemo(function(){return(!ed||null!==eg)&&ed},[ed,eg]),eQ=(0,ey.Z)(function(e,t){ez(e,t),null==N||N(eI(eM))}),eJ=-1!==ej;h.useEffect(function(){if(!eJ){var e=eM.lastIndexOf(eA);eo.current.focus(e)}},[eJ]);var e0=h.useMemo(function(){return(0,y.Z)(e_).sort(function(e,t){return e-t})},[e_]),e1=h.useMemo(function(){return ec?[e0[0],e0[e0.length-1]]:[ep,e0[0]]},[e0,ec,ep]),e2=(0,eL.Z)(e1,2),e4=e2[0],e3=e2[1];h.useImperativeHandle(t,function(){return{focus:function(){eo.current.focus(0)},blur:function(){var e,t=document.activeElement;null!=(e=ei.current)&&e.contains(t)&&(null==t||t.blur())}}}),h.useEffect(function(){p&&eo.current.focus(0)},[]);var e5=h.useMemo(function(){return{min:ep,max:em,direction:ea,disabled:u,keyboard:f,step:eg,included:L,includedStart:e4,includedEnd:e3,range:ec,tabIndex:J,ariaLabelForHandle:ee,ariaLabelledByForHandle:et,ariaRequired:en,ariaValueTextFormatterForHandle:er,styles:l||{},classNames:a||{}}},[ep,em,ea,u,f,eg,L,e4,e3,ec,J,ee,et,en,er,l,a]);return h.createElement(wf.Provider,{value:e5},h.createElement("div",{ref:ei,className:g()(r,o,(0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)({},"".concat(r,"-disabled"),u),"".concat(r,"-vertical"),_),"".concat(r,"-horizontal"),!_),"".concat(r,"-with-marks"),eb.length)),style:i,onMouseDown:eF,id:s},h.createElement("div",{className:g()("".concat(r,"-rail"),null==a?void 0:a.rail),style:(0,eH.Z)((0,eH.Z)({},W),null==l?void 0:l.rail)}),!1!==Y&&h.createElement(wk,{prefixCls:r,style:H,values:eM,startPoint:B,onStartMove:eY?eQ:void 0}),h.createElement(wx,{prefixCls:r,marks:eb,dots:X,style:V,activeStyle:q}),h.createElement(wv,{ref:eo,prefixCls:r,style:F,values:e_,draggingIndex:ej,draggingDelete:eD,onStartMove:eQ,onOffsetChange:eG,onFocus:m,onBlur:v,handleRender:U,activeHandleRender:G,onChangeComplete:eZ,onDelete:eu?eR:void 0}),h.createElement(wy,{prefixCls:r,marks:eb,onClick:eB})))}),wN=h.forwardRef((e,t)=>{let{open:n,draggingDelete:r}=e,o=(0,h.useRef)(null),i=n&&!r,a=(0,h.useRef)(null);function l(){w.Z.cancel(a.current),a.current=null}function s(){a.current=(0,w.Z)(()=>{var e;null==(e=o.current)||e.forceAlign(),a.current=null})}return h.useEffect(()=>(i?s():l(),l),[i,e.title]),h.createElement(l1.Z,Object.assign({ref:(0,X.sQ)(o,t)},e,{open:i}))}),wZ=e=>{let{componentCls:t,antCls:n,controlSize:r,dotSize:o,marginFull:i,marginPart:a,colorFillContentHover:l,handleColorDisabled:s,calc:c,handleSize:u,handleSizeHover:d,handleActiveColor:f,handleActiveOutlineColor:h,handleLineWidth:p,handleLineWidthHover:m,motionDurationMid:g}=e;return{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"relative",height:r,margin:`${(0,G.bf)(a)} ${(0,G.bf)(i)}`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${(0,G.bf)(i)} ${(0,G.bf)(a)}`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${g}`},[`${t}-track,${t}-tracks`]:{position:"absolute",transition:`background-color ${g}`},[`${t}-track`]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},[`${t}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:l},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${(0,G.bf)(p)} ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:"absolute",width:u,height:u,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0},"&::before":{content:'""',position:"absolute",insetInlineStart:c(p).mul(-1).equal(),insetBlockStart:c(p).mul(-1).equal(),width:c(u).add(c(p).mul(2)).equal(),height:c(u).add(c(p).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:u,height:u,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${(0,G.bf)(p)} ${e.handleColor}`,outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:` - inset-inline-start ${g}, - inset-block-start ${g}, - width ${g}, - height ${g}, - box-shadow ${g}, - outline ${g} - `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:c(d).sub(u).div(2).add(m).mul(-1).equal(),insetBlockStart:c(d).sub(u).div(2).add(m).mul(-1).equal(),width:c(d).add(c(m).mul(2)).equal(),height:c(d).add(c(m).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${(0,G.bf)(m)} ${f}`,outline:`6px solid ${h}`,width:d,height:d,insetInlineStart:e.calc(u).sub(d).div(2).equal(),insetBlockStart:e.calc(u).sub(d).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:"none"}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:o,height:o,backgroundColor:e.colorBgElevated,border:`${(0,G.bf)(p)} solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[` - ${t}-dot - `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:u,height:u,boxShadow:`0 0 0 ${(0,G.bf)(p)} ${s}`,insetInlineStart:0,insetBlockStart:0},[` - ${t}-mark-text, - ${t}-dot - `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},wR=(e,t)=>{let{componentCls:n,railSize:r,handleSize:o,dotSize:i,marginFull:a,calc:l}=e,s=t?"paddingBlock":"paddingInline",c=t?"width":"height",u=t?"height":"width",d=t?"insetBlockStart":"insetInlineStart",f=t?"top":"insetInlineStart",h=l(r).mul(3).sub(o).div(2).equal(),p=l(o).sub(r).div(2).equal(),m=t?{borderWidth:`${(0,G.bf)(p)} 0`,transform:`translateY(${(0,G.bf)(l(p).mul(-1).equal())})`}:{borderWidth:`0 ${(0,G.bf)(p)}`,transform:`translateX(${(0,G.bf)(e.calc(p).mul(-1).equal())})`};return{[s]:r,[u]:l(r).mul(3).equal(),[`${n}-rail`]:{[c]:"100%",[u]:r},[`${n}-track,${n}-tracks`]:{[u]:r},[`${n}-track-draggable`]:Object.assign({},m),[`${n}-handle`]:{[d]:h},[`${n}-mark`]:{insetInlineStart:0,top:0,[f]:l(r).mul(3).add(t?0:a).equal(),[c]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[f]:r,[c]:"100%",[u]:r},[`${n}-dot`]:{position:"absolute",[d]:l(r).sub(i).div(2).equal()}}},wT=e=>{let{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},wR(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},wP=e=>{let{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},wR(e,!1)),{height:"100%"})}},wj=e=>{let t=1,n=e.controlHeightLG/4,r=e.controlHeightSM/2,o=e.lineWidth+t,i=e.lineWidth+1.5*t,a=e.colorPrimary,l=new tD.C(a).setAlpha(.2).toRgbString();return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:r,dotSize:8,handleLineWidth:o,handleLineWidthHover:i,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:a,handleActiveOutlineColor:l,handleColorDisabled:new tD.C(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}},wA=(0,k.I$)("Slider",e=>{let t=(0,eI.IX)(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[wZ(t),wT(t),wP(t)]},wj),wD=(0,h.createContext)({});function w_(){let[e,t]=h.useState(!1),n=h.useRef(null),r=()=>{w.Z.cancel(n.current)},o=e=>{r(),e?t(e):n.current=(0,w.Z)(()=>{t(e)})};return h.useEffect(()=>r,[]),[e,o]}var wz=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function wL(e,t){return e||null===e?e:t||null===t?t:e=>"number"==typeof e?e.toString():""}let wB=p().forwardRef((e,t)=>{let{prefixCls:n,range:r,className:o,rootClassName:i,style:a,disabled:l,tooltipPrefixCls:s,tipFormatter:c,tooltipVisible:u,getTooltipPopupContainer:d,tooltipPlacement:f,tooltip:h={},onChangeComplete:m}=e,v=wz(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:b}=e,{direction:y,slider:x,getPrefixCls:k,getPopupContainer:C}=p().useContext(S.E_),$=p().useContext(tF.Z),E=null!=l?l:$,{handleRender:O,direction:M}=p().useContext(wD),I="rtl"===(M||y),[N,Z]=w_(),[R,T]=w_(),P=Object.assign({},h),{open:j,placement:A,getPopupContainer:D,prefixCls:_,formatter:z}=P,L=null!=j?j:u,B=(N||R)&&!1!==L,H=wL(z,c),[F,W]=w_(),V=e=>{null==m||m(e),W(!1)},q=(e,t)=>e||(t?I?"left":"right":"top"),K=k("slider",n),[X,U,G]=wA(K),Y=g()(o,null==x?void 0:x.className,i,{[`${K}-rtl`]:I,[`${K}-lock`]:F},U,G);I&&!v.vertical&&(v.reverse=!v.reverse),p().useEffect(()=>{let e=()=>{(0,w.Z)(()=>{T(!1)},1)};return document.addEventListener("mouseup",e),()=>{document.removeEventListener("mouseup",e)}},[]);let Q=r&&!L,J=O||((e,t)=>{let{index:n}=t,r=e.props;function o(e,t,n){var o,i,a,l;n&&(null==(i=(o=v)[e])||i.call(o,t)),null==(l=(a=r)[e])||l.call(a,t)}let i=Object.assign(Object.assign({},r),{onMouseEnter:e=>{Z(!0),o("onMouseEnter",e)},onMouseLeave:e=>{Z(!1),o("onMouseLeave",e)},onMouseDown:e=>{T(!0),W(!0),o("onMouseDown",e)},onFocus:e=>{var t;T(!0),null==(t=v.onFocus)||t.call(v,e),o("onFocus",e,!0)},onBlur:e=>{var t;T(!1),null==(t=v.onBlur)||t.call(v,e),o("onBlur",e,!0)}}),a=p().cloneElement(e,i),l=(!!L||B)&&null!==H;return Q?a:p().createElement(wN,Object.assign({},P,{prefixCls:k("tooltip",null!=_?_:s),title:H?H(t.value):"",open:l,placement:q(null!=A?A:f,b),key:n,overlayClassName:`${K}-tooltip`,getPopupContainer:D||d||C}),a)}),ee=Q?(e,t)=>{let n=p().cloneElement(e,{style:Object.assign(Object.assign({},e.props.style),{visibility:"hidden"})});return p().createElement(wN,Object.assign({},P,{prefixCls:k("tooltip",null!=_?_:s),title:H?H(t.value):"",open:null!==H&&B,placement:q(null!=A?A:f,b),key:"tooltip",overlayClassName:`${K}-tooltip`,getPopupContainer:D||d||C,draggingDelete:t.draggingDelete}),n)}:void 0,et=Object.assign(Object.assign({},null==x?void 0:x.style),a);return X(p().createElement(wI,Object.assign({},v,{step:v.step,range:r,className:Y,style:et,disabled:E,ref:t,prefixCls:K,handleRender:J,activeHandleRender:ee,onChangeComplete:V})))});var wH=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let wF=e=>{let{prefixCls:t,colors:n,type:r,color:o,range:i=!1,className:a,activeIndex:l,onActive:s,onDragStart:c,onDragChange:u,onKeyDelete:d}=e,f=Object.assign(Object.assign({},wH(e,["prefixCls","colors","type","color","range","className","activeIndex","onActive","onDragStart","onDragChange","onKeyDelete"])),{track:!1}),p=h.useMemo(()=>{let e=n.map(e=>`${e.color} ${e.percent}%`).join(", ");return`linear-gradient(90deg, ${e})`},[n]),m=h.useMemo(()=>o&&r?"alpha"===r?o.toRgbString():`hsl(${o.toHsb().h}, 100%, 50%)`:null,[o,r]),v=(0,ey.Z)(c),b=(0,ey.Z)(u),y=h.useMemo(()=>({onDragStart:v,onDragChange:b}),[]),w=(0,ey.Z)((e,o)=>{let{onFocus:i,style:a,className:c,onKeyDown:u}=e.props,f=Object.assign({},a);return"gradient"===r&&(f.background=(0,bD.AO)(n,o.value)),h.cloneElement(e,{onFocus:e=>{null==s||s(o.index),null==i||i(e)},style:f,className:g()(c,{[`${t}-slider-handle-active`]:l===o.index}),onKeyDown:e=>{("Delete"===e.key||"Backspace"===e.key)&&d&&d(o.index),null==u||u(e)}})}),x=h.useMemo(()=>({direction:"ltr",handleRender:w}),[]);return h.createElement(wD.Provider,{value:x},h.createElement(wh.Provider,{value:y},h.createElement(wB,Object.assign({},f,{className:g()(a,`${t}-slider`),tooltip:{open:!1},range:{editable:i,minCount:2},styles:{rail:{background:p},handle:m?{background:m}:{}},classNames:{rail:`${t}-slider-rail`,handle:`${t}-slider-handle`}}))))},wW=e=>{let{value:t,onChange:n,onChangeComplete:r}=e,o=e=>n(e[0]),i=e=>r(e[0]);return h.createElement(wF,Object.assign({},e,{value:[t],onChange:o,onChangeComplete:i}))};function wV(e){return(0,y.Z)(e).sort((e,t)=>e.percent-t.percent)}let wq=e=>{let{prefixCls:t,mode:n,onChange:r,onChangeComplete:o,onActive:i,activeIndex:a,onGradientDragging:l,colors:s}=e,c="gradient"===n,u=h.useMemo(()=>s.map(e=>({percent:e.percent,color:e.color.toRgbString()})),[s]),d=h.useMemo(()=>u.map(e=>e.percent),[u]),f=h.useRef(u),p=e=>{let{rawValues:t,draggingIndex:n,draggingValue:o}=e;if(t.length>u.length){let e=(0,bD.AO)(u,o),t=(0,y.Z)(u);t.splice(n,0,{percent:o,color:e}),f.current=t}else f.current=u;l(!0),r(new bd.y9(wV(f.current)),!0)},m=e=>{let{deleteIndex:t,draggingIndex:n,draggingValue:o}=e,i=(0,y.Z)(f.current);-1!==t?i.splice(t,1):(i[n]=Object.assign(Object.assign({},i[n]),{percent:o}),i=wV(i)),r(new bd.y9(i),!0)},g=e=>{let t=(0,y.Z)(u);t.splice(e,1);let n=new bd.y9(t);r(n),o(n)},v=e=>{o(new bd.y9(u)),a>=e.length&&i(e.length-1),l(!1)};return c?h.createElement(wF,{min:0,max:100,prefixCls:t,className:`${t}-gradient-slider`,colors:u,color:null,value:d,range:!0,onChangeComplete:v,disabled:!1,type:"gradient",activeIndex:a,onActive:i,onDragStart:p,onDragChange:m,onKeyDelete:g}):null},wK=h.memo(wq);var wX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let wU={slider:wW},wG=()=>{let e=(0,h.useContext)(bj),{mode:t,onModeChange:n,modeOptions:r,prefixCls:o,allowClear:i,value:a,disabledAlpha:l,onChange:s,onClear:c,onChangeComplete:u,activeIndex:d,gradientDragging:f}=e,m=wX(e,["mode","onModeChange","modeOptions","prefixCls","allowClear","value","disabledAlpha","onChange","onClear","onChangeComplete","activeIndex","gradientDragging"]),g=p().useMemo(()=>a.cleared?[{percent:0,color:new bd.y9("")},{percent:100,color:new bd.y9("")}]:a.getColors(),[a]),v=!a.isGradient(),[b,w]=p().useState(a);(0,oE.Z)(()=>{var e;v||w(null==(e=g[d])?void 0:e.color)},[f,d]);let x=p().useMemo(()=>{var e;return v?a:f?b:null==(e=g[d])?void 0:e.color},[a,d,v,b,f]),[S,k]=p().useState(x),[C,$]=p().useState(0),E=(null==S?void 0:S.equals(x))?x:S;(0,oE.Z)(()=>{k(x)},[C,null==x?void 0:x.toHexString()]);let O=(e,n)=>{let r=(0,bD.vC)(e);if(a.cleared){let e=r.toRgb();if(e.r||e.g||e.b||!n)r=(0,bD.T7)(r);else{let{type:e,value:t=0}=n;r=new bd.y9({h:"hue"===e?t:0,s:1,b:1,a:"alpha"===e?t/100:1})}}if("single"===t)return r;let o=(0,y.Z)(g);return o[d]=Object.assign(Object.assign({},o[d]),{color:r}),new bd.y9(o)},M=(e,t,n)=>{let r=O(e,n);k(r.isGradient()?r.getColors()[d].color:r),s(r,t)},I=(e,t)=>{u(O(e,t)),$(e=>e+1)},N=e=>{s(O(e))},Z=null,R=r.length>1;return(i||R)&&(Z=p().createElement("div",{className:`${o}-operation`},R&&p().createElement(bP,{size:"small",options:r,value:t,onChange:n}),p().createElement(b_,Object.assign({prefixCls:o,value:a,onChange:e=>{s(e),null==c||c()}},m)))),p().createElement(p().Fragment,null,Z,p().createElement(wK,Object.assign({},e,{colors:g})),p().createElement(bv.ZP,{prefixCls:o,value:null==E?void 0:E.toHsb(),disabledAlpha:l,onChange:(e,t)=>{M(e,!0,t)},onChangeComplete:(e,t)=>{I(e,t)},components:wU}),p().createElement(ws,Object.assign({value:x,onChange:N,prefixCls:o,disabledAlpha:l},m)))};var wY=n(71529);let wQ=()=>{let{prefixCls:e,value:t,presets:n,onChange:r}=(0,h.useContext)(bA);return Array.isArray(n)?p().createElement(wY.Z,{value:t,presets:n,prefixCls:e,onChange:r}):null},wJ=e=>{let{prefixCls:t,presets:n,panelRender:r,value:o,onChange:i,onClear:a,allowClear:l,disabledAlpha:s,mode:c,onModeChange:u,modeOptions:d,onChangeComplete:f,activeIndex:h,onActive:m,format:g,onFormatChange:v,gradientDragging:b,onGradientDragging:y,disabledFormat:w}=e,x=`${t}-inner`,S=p().useMemo(()=>({prefixCls:t,value:o,onChange:i,onClear:a,allowClear:l,disabledAlpha:s,mode:c,onModeChange:u,modeOptions:d,onChangeComplete:f,activeIndex:h,onActive:m,format:g,onFormatChange:v,gradientDragging:b,onGradientDragging:y,disabledFormat:w}),[t,o,i,a,l,s,c,u,d,f,h,m,g,v,b,y,w]),k=p().useMemo(()=>({prefixCls:t,value:o,presets:n,onChange:i}),[t,o,n,i]),C=p().createElement("div",{className:`${x}-content`},p().createElement(wG,null),Array.isArray(n)&&p().createElement(bg,null),p().createElement(wQ,null));return p().createElement(bj.Provider,{value:S},p().createElement(bA.Provider,{value:k},p().createElement("div",{className:x},"function"==typeof r?r(C,{components:{Picker:wG,Presets:wQ}}):C)))};var w0=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let w1=(0,h.forwardRef)((e,t)=>{let{color:n,prefixCls:r,open:o,disabled:i,format:a,className:l,showText:s,activeIndex:c}=e,u=w0(e,["color","prefixCls","open","disabled","format","className","showText","activeIndex"]),d=`${r}-trigger`,f=`${d}-text`,m=`${f}-cell`,[v]=(0,nn.Z)("ColorPicker"),b=p().useMemo(()=>{if(!s)return"";if("function"==typeof s)return s(n);if(n.cleared)return v.transparent;if(n.isGradient())return n.getColors().map((e,t)=>{let n=-1!==c&&c!==t;return p().createElement("span",{key:t,className:g()(m,n&&`${m}-inactive`)},e.color.toRgbString()," ",e.percent,"%")});let e=n.toHexString().toUpperCase(),t=(0,bD.uZ)(n);switch(a){case"rgb":return n.toRgbString();case"hsb":return n.toHsbString();default:return t<100?`${e.slice(0,7)},${t}%`:e}},[n,a,s,c]),y=(0,h.useMemo)(()=>n.cleared?p().createElement(b_,{prefixCls:r}):p().createElement(bv.G5,{prefixCls:r,color:n.toCssString()}),[n,r]);return p().createElement("div",Object.assign({ref:t,className:g()(d,l,{[`${d}-active`]:o,[`${d}-disabled`]:i})},(0,K.Z)(u)),y,s&&p().createElement("div",{className:f},b))});function w2(e,t,n){let[r]=(0,nn.Z)("ColorPicker"),[o,i]=(0,ok.Z)(e,{value:t}),[a,l]=h.useState("single"),[s,c]=h.useMemo(()=>{let e=(Array.isArray(n)?n:[n]).filter(e=>e);e.length||e.push("single");let t=new Set(e),o=[],i=(e,n)=>{t.has(e)&&o.push({label:n,value:e})};return i("single",r.singleColor),i("gradient",r.gradientColor),[o,t]},[n]),[u,d]=h.useState(null),f=(0,ey.Z)(e=>{d(e),i(e)}),p=h.useMemo(()=>{let e=(0,bD.vC)(o||"");return e.equals(u)?u:e},[o,u]),m=h.useMemo(()=>{var e;return c.has(a)?a:null==(e=s[0])?void 0:e.value},[c,a,s]);return h.useEffect(()=>{l(p.isGradient()?"gradient":"single")},[p]),[p,f,m,l,s]}let w4=(e,t)=>({backgroundImage:`conic-gradient(${t} 0 25%, transparent 0 50%, ${t} 0 75%, transparent 0)`,backgroundSize:`${e} ${e}`}),w3=(e,t)=>{let{componentCls:n,borderRadiusSM:r,colorPickerInsetShadow:o,lineWidth:i,colorFillSecondary:a}=e;return{[`${n}-color-block`]:Object.assign(Object.assign({position:"relative",borderRadius:r,width:t,height:t,boxShadow:o,flex:"none"},w4("50%",e.colorFillSecondary)),{[`${n}-color-block-inner`]:{width:"100%",height:"100%",boxShadow:`inset 0 0 0 ${(0,G.bf)(i)} ${a}`,borderRadius:"inherit"}})}},w5=e=>{let{componentCls:t,antCls:n,fontSizeSM:r,lineHeightSM:o,colorPickerAlphaInputWidth:i,marginXXS:a,paddingXXS:l,controlHeightSM:s,marginXS:c,fontSizeIcon:u,paddingXS:d,colorTextPlaceholder:f,colorPickerInputNumberHandleWidth:h,lineWidth:p}=e;return{[`${t}-input-container`]:{display:"flex",[`${t}-steppers${n}-input-number`]:{fontSize:r,lineHeight:o,[`${n}-input-number-input`]:{paddingInlineStart:l,paddingInlineEnd:0},[`${n}-input-number-handler-wrap`]:{width:h}},[`${t}-steppers${t}-alpha-input`]:{flex:`0 0 ${(0,G.bf)(i)}`,marginInlineStart:a},[`${t}-format-select${n}-select`]:{marginInlineEnd:c,width:"auto","&-single":{[`${n}-select-selector`]:{padding:0,border:0},[`${n}-select-arrow`]:{insetInlineEnd:0},[`${n}-select-selection-item`]:{paddingInlineEnd:e.calc(u).add(a).equal(),fontSize:r,lineHeight:(0,G.bf)(s)},[`${n}-select-item-option-content`]:{fontSize:r,lineHeight:o},[`${n}-select-dropdown`]:{[`${n}-select-item`]:{minHeight:"auto"}}}},[`${t}-input`]:{gap:a,alignItems:"center",flex:1,width:0,[`${t}-hsb-input,${t}-rgb-input`]:{display:"flex",gap:a,alignItems:"center"},[`${t}-steppers`]:{flex:1},[`${t}-hex-input${n}-input-affix-wrapper`]:{flex:1,padding:`0 ${(0,G.bf)(d)}`,[`${n}-input`]:{fontSize:r,textTransform:"uppercase",lineHeight:(0,G.bf)(e.calc(s).sub(e.calc(p).mul(2)).equal())},[`${n}-input-prefix`]:{color:f}}}}}},w8=e=>{let{componentCls:t,controlHeightLG:n,borderRadiusSM:r,colorPickerInsetShadow:o,marginSM:i,colorBgElevated:a,colorFillSecondary:l,lineWidthBold:s,colorPickerHandlerSize:c}=e;return{userSelect:"none",[`${t}-select`]:{[`${t}-palette`]:{minHeight:e.calc(n).mul(4).equal(),overflow:"hidden",borderRadius:r},[`${t}-saturation`]:{position:"absolute",borderRadius:"inherit",boxShadow:o,inset:0},marginBottom:i},[`${t}-handler`]:{width:c,height:c,border:`${(0,G.bf)(s)} solid ${a}`,position:"relative",borderRadius:"50%",cursor:"pointer",boxShadow:`${o}, 0 0 0 1px ${l}`}}},w6=e=>{let{componentCls:t,antCls:n,colorTextQuaternary:r,paddingXXS:o,colorPickerPresetColorSize:i,fontSizeSM:a,colorText:l,lineHeightSM:s,lineWidth:c,borderRadius:u,colorFill:d,colorWhite:f,marginXXS:h,paddingXS:p,fontHeightSM:m}=e;return{[`${t}-presets`]:{[`${n}-collapse-item > ${n}-collapse-header`]:{padding:0,[`${n}-collapse-expand-icon`]:{height:m,color:r,paddingInlineEnd:o}},[`${n}-collapse`]:{display:"flex",flexDirection:"column",gap:h},[`${n}-collapse-item > ${n}-collapse-content > ${n}-collapse-content-box`]:{padding:`${(0,G.bf)(p)} 0`},"&-label":{fontSize:a,color:l,lineHeight:s},"&-items":{display:"flex",flexWrap:"wrap",gap:e.calc(h).mul(1.5).equal(),[`${t}-presets-color`]:{position:"relative",cursor:"pointer",width:i,height:i,"&::before":{content:'""',pointerEvents:"none",width:e.calc(i).add(e.calc(c).mul(4)).equal(),height:e.calc(i).add(e.calc(c).mul(4)).equal(),position:"absolute",top:e.calc(c).mul(-2).equal(),insetInlineStart:e.calc(c).mul(-2).equal(),borderRadius:u,border:`${(0,G.bf)(c)} solid transparent`,transition:`border-color ${e.motionDurationMid} ${e.motionEaseInBack}`},"&:hover::before":{borderColor:d},"&::after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.calc(i).div(13).mul(5).equal(),height:e.calc(i).div(13).mul(8).equal(),border:`${(0,G.bf)(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`},[`&${t}-presets-color-checked`]:{"&::after":{opacity:1,borderColor:f,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`transform ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`},[`&${t}-presets-color-bright`]:{"&::after":{borderColor:"rgba(0, 0, 0, 0.45)"}}}}},"&-empty":{fontSize:a,color:r}}}},w7=e=>{let{componentCls:t,colorPickerInsetShadow:n,colorBgElevated:r,colorFillSecondary:o,lineWidthBold:i,colorPickerHandlerSizeSM:a,colorPickerSliderHeight:l,marginSM:s,marginXS:c}=e,u=e.calc(a).sub(e.calc(i).mul(2).equal()).equal(),d=e.calc(a).add(e.calc(i).mul(2).equal()).equal(),f={"&:after":{transform:"scale(1)",boxShadow:`${n}, 0 0 0 1px ${e.colorPrimaryActive}`}};return{[`${t}-slider`]:[w4((0,G.bf)(l),e.colorFillSecondary),{margin:0,padding:0,height:l,borderRadius:e.calc(l).div(2).equal(),"&-rail":{height:l,borderRadius:e.calc(l).div(2).equal(),boxShadow:n},[`& ${t}-slider-handle`]:{width:u,height:u,top:0,borderRadius:"100%","&:before":{display:"block",position:"absolute",background:"transparent",left:{_skip_check_:!0,value:"50%"},top:"50%",transform:"translate(-50%, -50%)",width:d,height:d,borderRadius:"100%"},"&:after":{width:a,height:a,border:`${(0,G.bf)(i)} solid ${r}`,boxShadow:`${n}, 0 0 0 1px ${o}`,outline:"none",insetInlineStart:e.calc(i).mul(-1).equal(),top:e.calc(i).mul(-1).equal(),background:"transparent",transition:"none"},"&:focus":f}}],[`${t}-slider-container`]:{display:"flex",gap:s,marginBottom:s,[`${t}-slider-group`]:{flex:1,flexDirection:"column",justifyContent:"space-between",display:"flex","&-disabled-alpha":{justifyContent:"center"}}},[`${t}-gradient-slider`]:{marginBottom:c,[`& ${t}-slider-handle`]:{"&:after":{transform:"scale(0.8)"},"&-active, &:focus":f}}}},w9=(e,t,n)=>({borderInlineEndWidth:e.lineWidth,borderColor:t,boxShadow:`0 0 0 ${(0,G.bf)(e.controlOutlineWidth)} ${n}`,outline:0}),xe=e=>{let{componentCls:t}=e;return{"&-rtl":{[`${t}-presets-color`]:{"&::after":{direction:"ltr"}},[`${t}-clear`]:{"&::after":{direction:"ltr"}}}}},xt=(e,t,n)=>{let{componentCls:r,borderRadiusSM:o,lineWidth:i,colorSplit:a,colorBorder:l,red6:s}=e;return{[`${r}-clear`]:Object.assign(Object.assign({width:t,height:t,borderRadius:o,border:`${(0,G.bf)(i)} solid ${a}`,position:"relative",overflow:"hidden",cursor:"inherit",transition:`all ${e.motionDurationFast}`},n),{"&::after":{content:'""',position:"absolute",insetInlineEnd:e.calc(i).mul(-1).equal(),top:e.calc(i).mul(-1).equal(),display:"block",width:40,height:2,transformOrigin:"calc(100% - 1px) 1px",transform:"rotate(-45deg)",backgroundColor:s},"&:hover":{borderColor:l}})}},xn=e=>{let{componentCls:t,colorError:n,colorWarning:r,colorErrorHover:o,colorWarningHover:i,colorErrorOutline:a,colorWarningOutline:l}=e;return{[`&${t}-status-error`]:{borderColor:n,"&:hover":{borderColor:o},[`&${t}-trigger-active`]:Object.assign({},w9(e,n,a))},[`&${t}-status-warning`]:{borderColor:r,"&:hover":{borderColor:i},[`&${t}-trigger-active`]:Object.assign({},w9(e,r,l))}}},xr=e=>{let{componentCls:t,controlHeightLG:n,controlHeightSM:r,controlHeight:o,controlHeightXS:i,borderRadius:a,borderRadiusSM:l,borderRadiusXS:s,borderRadiusLG:c,fontSizeLG:u}=e;return{[`&${t}-lg`]:{minWidth:n,minHeight:n,borderRadius:c,[`${t}-color-block, ${t}-clear`]:{width:o,height:o,borderRadius:a},[`${t}-trigger-text`]:{fontSize:u}},[`&${t}-sm`]:{minWidth:r,minHeight:r,borderRadius:l,[`${t}-color-block, ${t}-clear`]:{width:i,height:i,borderRadius:s},[`${t}-trigger-text`]:{lineHeight:(0,G.bf)(i)}}}},xo=e=>{let{antCls:t,componentCls:n,colorPickerWidth:r,colorPrimary:o,motionDurationMid:i,colorBgElevated:a,colorTextDisabled:l,colorText:s,colorBgContainerDisabled:c,borderRadius:u,marginXS:d,marginSM:f,controlHeight:h,controlHeightSM:p,colorBgTextActive:m,colorPickerPresetColorSize:g,colorPickerPreviewSize:v,lineWidth:b,colorBorder:y,paddingXXS:w,fontSize:x,colorPrimaryHover:S,controlOutline:k}=e;return[{[n]:Object.assign({[`${n}-inner`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"&-content":{display:"flex",flexDirection:"column",width:r,[`& > ${t}-divider`]:{margin:`${(0,G.bf)(f)} 0 ${(0,G.bf)(d)}`}},[`${n}-panel`]:Object.assign({},w8(e))},w7(e)),w3(e,v)),w5(e)),w6(e)),xt(e,g,{marginInlineStart:"auto"})),{[`${n}-operation`]:{display:"flex",justifyContent:"space-between",marginBottom:d}}),"&-trigger":Object.assign(Object.assign(Object.assign(Object.assign({minWidth:h,minHeight:h,borderRadius:u,border:`${(0,G.bf)(b)} solid ${y}`,cursor:"pointer",display:"inline-flex",alignItems:"flex-start",justifyContent:"center",transition:`all ${i}`,background:a,padding:e.calc(w).sub(b).equal(),[`${n}-trigger-text`]:{marginInlineStart:d,marginInlineEnd:e.calc(d).sub(e.calc(w).sub(b)).equal(),fontSize:x,color:s,alignSelf:"center","&-cell":{"&:not(:last-child):after":{content:'", "'},"&-inactive":{color:l}}},"&:hover":{borderColor:S},[`&${n}-trigger-active`]:Object.assign({},w9(e,o,k)),"&-disabled":{color:l,background:c,cursor:"not-allowed","&:hover":{borderColor:m},[`${n}-trigger-text`]:{color:l}}},xt(e,p)),w3(e,p)),xn(e)),xr(e))},xe(e))},(0,aB.c)(e,{focusElCls:`${n}-trigger-active`})]},xi=(0,k.I$)("ColorPicker",e=>{let{colorTextQuaternary:t,marginSM:n}=e,r=8;return[xo((0,eI.IX)(e,{colorPickerWidth:234,colorPickerHandlerSize:16,colorPickerHandlerSizeSM:12,colorPickerAlphaInputWidth:44,colorPickerInputNumberHandleWidth:16,colorPickerPresetColorSize:24,colorPickerInsetShadow:`inset 0 0 1px 0 ${t}`,colorPickerSliderHeight:r,colorPickerPreviewSize:e.calc(r).mul(2).add(n).equal()}))]});var xa=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let xl=e=>{let{mode:t,value:n,defaultValue:r,format:o,defaultFormat:i,allowClear:a=!1,presets:l,children:s,trigger:c="click",open:u,disabled:d,placement:f="bottomLeft",arrow:m=!0,panelRender:v,showText:b,style:y,className:w,size:x,rootClassName:k,prefixCls:C,styles:$,disabledAlpha:E=!1,onFormatChange:O,onChange:M,onClear:I,onOpenChange:N,onChangeComplete:Z,getPopupContainer:R,autoAdjustOverflow:T=!0,destroyTooltipOnHide:P,disabledFormat:j}=e,A=xa(e,["mode","value","defaultValue","format","defaultFormat","allowClear","presets","children","trigger","open","disabled","placement","arrow","panelRender","showText","style","className","size","rootClassName","prefixCls","styles","disabledAlpha","onFormatChange","onChange","onClear","onOpenChange","onChangeComplete","getPopupContainer","autoAdjustOverflow","destroyTooltipOnHide","disabledFormat"]),{getPrefixCls:D,direction:_,colorPicker:z}=(0,h.useContext)(S.E_),L=(0,h.useContext)(tF.Z),B=null!=d?d:L,[H,F]=(0,ok.Z)(!1,{value:u,postState:e=>!B&&e,onChange:N}),[W,V]=(0,ok.Z)(o,{value:o,defaultValue:i,onChange:O}),q=D("color-picker",C),[K,X,U,G,Y]=w2(r,n,t),Q=(0,h.useMemo)(()=>100>(0,bD.uZ)(K),[K]),[J,ee]=p().useState(null),et=e=>{if(Z){let t=(0,bD.vC)(e);E&&Q&&(t=(0,bD.T7)(e)),Z(t)}},en=(e,t)=>{let n=(0,bD.vC)(e);E&&Q&&(n=(0,bD.T7)(n)),X(n),ee(null),M&&M(n,n.toCssString()),t||et(n)},[er,eo]=p().useState(0),[ei,ea]=p().useState(!1),el=e=>{if(G(e),"single"===e&&K.isGradient())eo(0),en(new bd.y9(K.getColors()[0].color)),ee(K);else if("gradient"===e&&!K.isGradient()){let e=Q?(0,bD.T7)(K):K;en(new bd.y9(J||[{percent:0,color:e},{percent:100,color:e}]))}},{status:es}=p().useContext(aA.aM),{compactSize:ec,compactItemClassnames:eu}=(0,a_.ri)(q,_),ed=(0,aj.Z)(e=>{var t;return null!=(t=null!=x?x:ec)?t:e}),ef=eE(q),[eh,ep,em]=xi(q,ef),eg={[`${q}-rtl`]:_},ev=g()(k,em,ef,eg),eb=g()(ak(q,es),{[`${q}-sm`]:"small"===ed,[`${q}-lg`]:"large"===ed},eu,null==z?void 0:z.className,ev,w,ep),ey=g()(q,ev),ew={open:H,trigger:c,placement:f,arrow:m,rootClassName:k,getPopupContainer:R,autoAdjustOverflow:T,destroyTooltipOnHide:P},ex=Object.assign(Object.assign({},null==z?void 0:z.style),y);return eh(p().createElement(sa,Object.assign({style:null==$?void 0:$.popup,overlayInnerStyle:null==$?void 0:$.popupOverlayInner,onOpenChange:e=>{e&&B||F(e)},content:p().createElement(nN.Z,{form:!0},p().createElement(wJ,{mode:U,onModeChange:el,modeOptions:Y,prefixCls:q,value:K,allowClear:a,disabled:B,disabledAlpha:E,presets:l,panelRender:v,format:W,onFormatChange:V,onChange:en,onChangeComplete:et,onClear:I,activeIndex:er,onActive:eo,gradientDragging:ei,onGradientDragging:ea,disabledFormat:j})),overlayClassName:ey},ew),s||p().createElement(w1,Object.assign({activeIndex:H?er:-1,open:H,className:eb,style:ex,prefixCls:q,disabled:B,showText:b,format:W},A,{color:K}))))},xs=o$(xl,"color-picker",e=>e,e=>Object.assign(Object.assign({},e),{placement:"bottom",autoAdjustOverflow:!1}));xl._InternalPanelDoNotUseOrYouWillBeFired=xs;let xc=xl,xu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};var xd=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:xu}))};let xf=h.forwardRef(xd),xh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};var xp=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:xh}))};let xm=h.forwardRef(xp),xg={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};var xv=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:xg}))};let xb=h.forwardRef(xv);var xy=n(13168);let xw=(e,t)=>{let{componentCls:n,controlHeight:r}=e,o=t?`${n}-${t}`:"",i=a8(e);return[{[`${n}-multiple${o}`]:{paddingBlock:i.containerPadding,paddingInlineStart:i.basePadding,minHeight:r,[`${n}-selection-item`]:{height:i.itemHeight,lineHeight:(0,G.bf)(i.itemLineHeight)}}}]},xx=e=>{let{componentCls:t,calc:n,lineWidth:r}=e,o=(0,eI.IX)(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),i=(0,eI.IX)(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[xw(o,"small"),xw(e),xw(i,"large"),{[`${t}${t}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${t}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${t}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}}},a7(e)),{[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},xS=e=>{let{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},(0,ym.qG)(e)),(0,ym.H8)(e)),(0,ym.Mu)(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},xk=(e,t,n,r)=>{let o=e.calc(n).add(2).equal(),i=e.max(e.calc(t).sub(o).div(2).equal(),0),a=e.max(e.calc(t).sub(o).sub(i).equal(),0);return{padding:`${(0,G.bf)(i)} ${(0,G.bf)(r)} ${(0,G.bf)(a)}`}},xC=e=>{let{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},x$=e=>{let{componentCls:t,antCls:n,controlHeight:r,paddingInline:o,lineWidth:i,lineType:a,colorBorder:l,borderRadius:s,motionDurationMid:c,colorTextDisabled:u,colorTextPlaceholder:d,controlHeightLG:f,fontSizeLG:h,controlHeightSM:p,paddingInlineSM:m,paddingXS:g,marginXS:v,colorTextDescription:b,lineWidthBold:y,colorPrimary:w,motionDurationSlow:x,zIndexPopup:S,paddingXXS:k,sizePopupArrow:C,colorBgElevated:$,borderRadiusLG:E,boxShadowSecondary:O,borderRadiusSM:M,colorSplit:I,cellHoverBg:N,presetsWidth:Z,presetsMaxWidth:R,boxShadowPopoverArrow:T,fontHeight:P,fontHeightLG:j,lineHeightLG:A}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),xk(e,r,P,o)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:s,transition:`border ${c}, box-shadow ${c}, background ${c}`,[`${t}-prefix`]:{marginInlineEnd:e.inputAffixPadding},[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${c}`},(0,yp.nz)(d)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:u,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:d}}},"&-large":Object.assign(Object.assign({},xk(e,f,j,o)),{[`${t}-input > input`]:{fontSize:h,lineHeight:A}}),"&-small":Object.assign({},xk(e,p,P,m)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(g).div(2).equal(),color:u,lineHeight:1,pointerEvents:"none",transition:`opacity ${c}, color ${c}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:v}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:u,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${c}, color ${c}`,"> *":{verticalAlign:"top"},"&:hover":{color:b}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:h,color:u,fontSize:h,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:b},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(i).mul(-1).equal(),height:y,background:w,opacity:0,transition:`all ${x} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${(0,G.bf)(g)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:o},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:m}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),pi(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:S,[`&${t}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${t}-dropdown-placement-bottomLeft, - &${t}-dropdown-placement-bottomRight`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft, - &${t}-dropdown-placement-topRight`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:aW},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:aH},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:aV},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:aF},[`${t}-panel > ${t}-time-panel`]:{paddingTop:k},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(o).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${x} ease-out`},(0,l3.W)(e,$,T)),{"&:before":{insetInlineStart:e.calc(o).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:$,borderRadius:E,boxShadow:O,transition:`margin ${x}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:Z,maxWidth:R,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:g,borderInlineEnd:`${(0,G.bf)(i)} ${a} ${I}`,li:Object.assign(Object.assign({},Y.vS),{borderRadius:M,paddingInline:g,paddingBlock:e.calc(p).sub(P).div(2).equal(),cursor:"pointer",transition:`all ${x}`,"+ li":{marginTop:v},"&:hover":{background:N}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:l}}}}),"&-dropdown-range":{padding:`${(0,G.bf)(e.calc(C).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},aU(e,"slide-up"),aU(e,"slide-down"),a4(e,"move-up"),a4(e,"move-down")]},xE=(0,k.I$)("DatePicker",e=>{let t=(0,eI.IX)((0,pl.e)(e),ps(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[pa(t),x$(t),xS(t),xC(t),xx(t),(0,aB.c)(e,{focusElCls:`${e.componentCls}-focused`})]},pu);function xO(e,t,n){return void 0!==n?n:"year"===t&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:"quarter"===t&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:"month"===t&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:"week"===t&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:"time"===t&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function xM(e,t,n){return void 0!==n?n:"year"===t&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:"quarter"===t&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:"month"===t&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:"week"===t&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:"time"===t&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function xI(e,t){let{allowClear:n=!0}=e,{clearIcon:r,removeIcon:o}=l$(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[h.useMemo(()=>!1!==n&&Object.assign({clearIcon:r},!0===n?{}:n),[n,r]),o]}let[xN,xZ]=["week","WeekPicker"],[xR,xT]=["month","MonthPicker"],[xP,xj]=["year","YearPicker"],[xA,xD]=["quarter","QuarterPicker"],[x_,xz]=["time","TimePicker"],xL=e=>h.createElement(no.ZP,Object.assign({size:"small",type:"primary"},e));function xB(e){return(0,h.useMemo)(()=>Object.assign({button:xL},e),[e])}var xH=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let xF=e=>(0,h.forwardRef)((t,n)=>{var r;let{prefixCls:o,getPopupContainer:i,components:a,className:l,style:s,placement:c,size:u,disabled:d,bordered:f=!0,placeholder:p,popupClassName:m,dropdownClassName:v,status:b,rootClassName:y,variant:w,picker:x}=t,k=xH(t,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),C=h.useRef(null),{getPrefixCls:$,direction:E,getPopupContainer:O,rangePicker:M}=(0,h.useContext)(S.E_),I=$("picker",o),{compactSize:N,compactItemClassnames:Z}=(0,a_.ri)(I,E),R=$(),[T,P]=aD("rangePicker",w,f),j=eE(I),[A,D,_]=xE(I,j),[z]=xI(t,I),L=xB(a),B=(0,aj.Z)(e=>{var t;return null!=(t=null!=u?u:N)?t:e}),H=h.useContext(tF.Z),F=null!=d?d:H,{hasFeedback:W,status:V,feedbackIcon:q}=(0,h.useContext)(aA.aM),K=h.createElement(h.Fragment,null,x===x_?h.createElement(xm,null):h.createElement(xf,null),W&&q);(0,h.useImperativeHandle)(n,()=>C.current);let[X]=(0,nn.Z)("Calendar",xy.Z),U=Object.assign(Object.assign({},X),t.locale),[G]=(0,tt.Cn)("DatePicker",null==(r=t.popupStyle)?void 0:r.zIndex);return A(h.createElement(nN.Z,{space:!0},h.createElement(hZ,Object.assign({separator:h.createElement("span",{"aria-label":"to",className:`${I}-separator`},h.createElement(xb,null)),disabled:F,ref:C,placement:c,placeholder:xM(U,x,p),suffixIcon:K,prevIcon:h.createElement("span",{className:`${I}-prev-icon`}),nextIcon:h.createElement("span",{className:`${I}-next-icon`}),superPrevIcon:h.createElement("span",{className:`${I}-super-prev-icon`}),superNextIcon:h.createElement("span",{className:`${I}-super-next-icon`}),transitionName:`${R}-slide-up`,picker:x},k,{className:g()({[`${I}-${B}`]:B,[`${I}-${T}`]:P},ak(I,aC(V,b),W),D,Z,l,null==M?void 0:M.className,_,j,y),style:Object.assign(Object.assign({},null==M?void 0:M.style),s),locale:U.lang,prefixCls:I,getPopupContainer:i||O,generateConfig:e,components:L,direction:E,classNames:{popup:g()(D,m||v,_,j,y)},styles:{popup:Object.assign(Object.assign({},t.popupStyle),{zIndex:G})},allowClear:z}))))});var xW=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let xV=e=>{let t=(t,n)=>{let r=n===xz?"timePicker":"datePicker";return(0,h.forwardRef)((n,o)=>{var i;let{prefixCls:a,getPopupContainer:l,components:s,style:c,className:u,rootClassName:d,size:f,bordered:p,placement:m,placeholder:v,popupClassName:b,dropdownClassName:y,disabled:w,status:x,variant:k,onCalendarChange:C}=n,$=xW(n,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:E,direction:O,getPopupContainer:M,[r]:I}=(0,h.useContext)(S.E_),N=E("picker",a),{compactSize:Z,compactItemClassnames:R}=(0,a_.ri)(N,O),T=h.useRef(null),[P,j]=aD("datePicker",k,p),A=eE(N),[D,_,z]=xE(N,A);(0,h.useImperativeHandle)(o,()=>T.current);let L={showToday:!0},B=t||n.picker,H=E(),{onSelect:F,multiple:W}=$,V=F&&"time"===t&&!W,q=(e,t,n)=>{null==C||C(e,t,n),V&&F(e)},[K,X]=xI(n,N),U=xB(s),G=(0,aj.Z)(e=>{var t;return null!=(t=null!=f?f:Z)?t:e}),Y=h.useContext(tF.Z),Q=null!=w?w:Y,{hasFeedback:J,status:ee,feedbackIcon:et}=(0,h.useContext)(aA.aM),en=h.createElement(h.Fragment,null,"time"===B?h.createElement(xm,null):h.createElement(xf,null),J&&et),[er]=(0,nn.Z)("DatePicker",xy.Z),eo=Object.assign(Object.assign({},er),n.locale),[ei]=(0,tt.Cn)("DatePicker",null==(i=n.popupStyle)?void 0:i.zIndex);return D(h.createElement(nN.Z,{space:!0},h.createElement(hD,Object.assign({ref:T,placeholder:xO(eo,B,v),suffixIcon:en,placement:m,prevIcon:h.createElement("span",{className:`${N}-prev-icon`}),nextIcon:h.createElement("span",{className:`${N}-next-icon`}),superPrevIcon:h.createElement("span",{className:`${N}-super-prev-icon`}),superNextIcon:h.createElement("span",{className:`${N}-super-next-icon`}),transitionName:`${H}-slide-up`,picker:t,onCalendarChange:q},L,$,{locale:eo.lang,className:g()({[`${N}-${G}`]:G,[`${N}-${P}`]:j},ak(N,aC(ee,x),J),_,R,null==I?void 0:I.className,u,z,A,d),style:Object.assign(Object.assign({},null==I?void 0:I.style),c),prefixCls:N,getPopupContainer:l||M,generateConfig:e,components:U,direction:O,disabled:Q,classNames:{popup:g()(_,z,A,d,b||y)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:ei})},allowClear:K,removeIcon:X}))))})},n=t(),r=t(xN,xZ),o=t(xR,xT),i=t(xP,xj),a=t(xA,xD);return{DatePicker:n,WeekPicker:r,MonthPicker:o,YearPicker:i,TimePicker:t(x_,xz),QuarterPicker:a}},xq=e=>{let{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:o,TimePicker:i,QuarterPicker:a}=xV(e),l=xF(e),s=t;return s.WeekPicker=n,s.MonthPicker=r,s.YearPicker=o,s.RangePicker=l,s.TimePicker=i,s.QuarterPicker=a,s},xK=xq(dL),xX=o$(xK,"picker",null);xK._InternalPanelDoNotUseOrYouWillBeFired=xX;let xU=o$(xK.RangePicker,"picker",null);xK._InternalRangePanelDoNotUseOrYouWillBeFired=xU,xK.generatePicker=xq;let xG=xK,xY={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},xQ=p().createContext({});var xJ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let x0=e=>(0,oS.Z)(e).map(e=>Object.assign(Object.assign({},null==e?void 0:e.props),{key:e.key}));function x1(e,t,n){let r=h.useMemo(()=>t||x0(n),[t,n]);return h.useMemo(()=>r.map(t=>{var{span:n}=t,r=xJ(t,["span"]);return"filled"===n?Object.assign(Object.assign({},r),{filled:!0}):Object.assign(Object.assign({},r),{span:"number"==typeof n?n:lF(e,n)})}),[r,e])}var x2=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function x4(e,t){let n=[],r=[],o=!1,i=0;return e.filter(e=>e).forEach(e=>{let{filled:a}=e,l=x2(e,["filled"]);if(a){r.push(l),n.push(r),r=[],i=0;return}let s=t-i;(i+=e.span||1)>=t?(i>t?(o=!0,r.push(Object.assign(Object.assign({},l),{span:s}))):r.push(l),n.push(r),r=[],i=0):r.push(l)}),r.length>0&&n.push(r),[n=n.map(e=>{let n=e.reduce((e,t)=>e+(t.span||1),0);return n{let[n,r]=(0,h.useMemo)(()=>x4(t,e),[t,e]);return n},x5=e=>{let{children:t}=e;return t};function x8(e){return null!=e}let x6=e=>{let{itemPrefixCls:t,component:n,span:r,className:o,style:i,labelStyle:a,contentStyle:l,bordered:s,label:c,content:u,colon:d,type:f}=e,p=n;return s?h.createElement(p,{className:g()({[`${t}-item-label`]:"label"===f,[`${t}-item-content`]:"content"===f},o),style:i,colSpan:r},x8(c)&&h.createElement("span",{style:a},c),x8(u)&&h.createElement("span",{style:l},u)):h.createElement(p,{className:g()(`${t}-item`,o),style:i,colSpan:r},h.createElement("div",{className:`${t}-item-container`},(c||0===c)&&h.createElement("span",{className:g()(`${t}-item-label`,{[`${t}-item-no-colon`]:!d}),style:a},c),(u||0===u)&&h.createElement("span",{className:g()(`${t}-item-content`),style:l},u)))};function x7(e,t,n){let{colon:r,prefixCls:o,bordered:i}=t,{component:a,type:l,showLabel:s,showContent:c,labelStyle:u,contentStyle:d}=n;return e.map((e,t)=>{let{label:n,children:f,prefixCls:p=o,className:m,style:g,labelStyle:v,contentStyle:b,span:y=1,key:w}=e;return"string"==typeof a?h.createElement(x6,{key:`${l}-${w||t}`,className:m,style:g,labelStyle:Object.assign(Object.assign({},u),v),contentStyle:Object.assign(Object.assign({},d),b),span:y,colon:r,component:a,itemPrefixCls:p,bordered:i,label:s?n:null,content:c?f:null,type:l}):[h.createElement(x6,{key:`label-${w||t}`,className:m,style:Object.assign(Object.assign(Object.assign({},u),g),v),span:1,colon:r,component:a[0],itemPrefixCls:p,bordered:i,label:n,type:"label"}),h.createElement(x6,{key:`content-${w||t}`,className:m,style:Object.assign(Object.assign(Object.assign({},d),g),b),span:2*y-1,component:a[1],itemPrefixCls:p,bordered:i,content:f,type:"content"})]})}let x9=e=>{let t=h.useContext(xQ),{prefixCls:n,vertical:r,row:o,index:i,bordered:a}=e;return r?h.createElement(h.Fragment,null,h.createElement("tr",{key:`label-${i}`,className:`${n}-row`},x7(o,e,Object.assign({component:"th",type:"label",showLabel:!0},t))),h.createElement("tr",{key:`content-${i}`,className:`${n}-row`},x7(o,e,Object.assign({component:"td",type:"content",showContent:!0},t)))):h.createElement("tr",{key:i,className:`${n}-row`},x7(o,e,Object.assign({component:a?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},t)))},Se=e=>{let{componentCls:t,labelBg:n}=e;return{[`&${t}-bordered`]:{[`> ${t}-view`]:{border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto"},[`${t}-row`]:{borderBottom:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBottom:"none"},[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${(0,G.bf)(e.padding)} ${(0,G.bf)(e.paddingLG)}`,borderInlineEnd:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${t}-item-label`]:{color:e.colorTextSecondary,backgroundColor:n,"&::after":{display:"none"}}}},[`&${t}-middle`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${(0,G.bf)(e.paddingSM)} ${(0,G.bf)(e.paddingLG)}`}}},[`&${t}-small`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${(0,G.bf)(e.paddingXS)} ${(0,G.bf)(e.padding)}`}}}}}},St=e=>{let{componentCls:t,extraColor:n,itemPaddingBottom:r,itemPaddingEnd:o,colonMarginRight:i,colonMarginLeft:a,titleMarginBottom:l}=e;return{[t]:Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),Se(e)),{"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",alignItems:"center",marginBottom:l},[`${t}-title`]:Object.assign(Object.assign({},Y.vS),{flex:"auto",color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),[`${t}-extra`]:{marginInlineStart:"auto",color:n,fontSize:e.fontSize},[`${t}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed",borderCollapse:"collapse"}},[`${t}-row`]:{"> th, > td":{paddingBottom:r,paddingInlineEnd:o},"> th:last-child, > td:last-child":{paddingInlineEnd:0},"&:last-child":{borderBottom:"none","> th, > td":{paddingBottom:0}}},[`${t}-item-label`]:{color:e.colorTextTertiary,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${(0,G.bf)(a)} ${(0,G.bf)(i)}`},[`&${t}-item-no-colon::after`]:{content:'""'}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${t}-item-content`]:{display:"table-cell",flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${t}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${t}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${t}-item-content`]:{display:"inline-flex",alignItems:"baseline",minWidth:"1em"}}},"&-middle":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}},Sn=e=>({labelBg:e.colorFillAlter,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,itemPaddingEnd:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText}),Sr=(0,k.I$)("Descriptions",e=>St((0,eI.IX)(e,{})),Sn);var So=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let Si=e=>{let{prefixCls:t,title:n,extra:r,column:o,colon:i=!0,bordered:a,layout:l,children:s,className:c,rootClassName:u,style:d,size:f,labelStyle:p,contentStyle:m,items:v}=e,b=So(e,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:y,direction:w,descriptions:x}=h.useContext(S.E_),k=y("descriptions",t),C=lV(),$=h.useMemo(()=>{var e;return"number"==typeof o?o:null!=(e=lF(C,Object.assign(Object.assign({},xY),o)))?e:3},[C,o]),E=x1(C,v,s),O=(0,aj.Z)(f),M=x3($,E),[I,N,Z]=Sr(k),R=h.useMemo(()=>({labelStyle:p,contentStyle:m}),[p,m]);return I(h.createElement(xQ.Provider,{value:R},h.createElement("div",Object.assign({className:g()(k,null==x?void 0:x.className,{[`${k}-${O}`]:O&&"default"!==O,[`${k}-bordered`]:!!a,[`${k}-rtl`]:"rtl"===w},c,u,N,Z),style:Object.assign(Object.assign({},null==x?void 0:x.style),d)},b),(n||r)&&h.createElement("div",{className:`${k}-header`},n&&h.createElement("div",{className:`${k}-title`},n),r&&h.createElement("div",{className:`${k}-extra`},r)),h.createElement("div",{className:`${k}-view`},h.createElement("table",null,h.createElement("tbody",null,M.map((e,t)=>h.createElement(x9,{key:t,index:t,colon:i,prefixCls:k,vertical:"vertical"===l,bordered:a,row:e}))))))))};Si.Item=x5;let Sa=Si;var Sl=h.createContext(null),Ss=h.createContext({});let Sc=Sl;var Su=["prefixCls","className","containerRef"];let Sd=function(e){var t=e.prefixCls,n=e.className,r=e.containerRef,o=(0,eB.Z)(e,Su),i=h.useContext(Ss).panel,a=(0,X.x1)(i,r);return h.createElement("div",(0,_.Z)({className:g()("".concat(t,"-content"),n),role:"dialog",ref:a},(0,K.Z)(e,{aria:!0}),{"aria-modal":"true"},o))};function Sf(e){return"string"==typeof e&&String(Number(e))===e?((0,nE.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var Sh={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Sp(e,t){var n,r,o,i,a=e.prefixCls,l=e.open,s=e.placement,c=e.inline,u=e.push,d=e.forceRender,f=e.autoFocus,p=e.keyboard,m=e.classNames,v=e.rootClassName,b=e.rootStyle,y=e.zIndex,w=e.className,x=e.id,S=e.style,k=e.motion,C=e.width,$=e.height,E=e.children,O=e.mask,M=e.maskClosable,I=e.maskMotion,N=e.maskClassName,Z=e.maskStyle,R=e.afterOpenChange,T=e.onClose,P=e.onMouseEnter,j=e.onMouseOver,A=e.onMouseLeave,D=e.onClick,z=e.onKeyDown,L=e.onKeyUp,B=e.styles,H=e.drawerRender,F=h.useRef(),W=h.useRef(),V=h.useRef();h.useImperativeHandle(t,function(){return F.current});var X=function(e){var t,n,r=e.keyCode,o=e.shiftKey;switch(r){case eK.Z.TAB:r===eK.Z.TAB&&(o||document.activeElement!==V.current?o&&document.activeElement===W.current&&(null==(n=V.current)||n.focus({preventScroll:!0})):null==(t=W.current)||t.focus({preventScroll:!0}));break;case eK.Z.ESC:T&&p&&(e.stopPropagation(),T(e))}};h.useEffect(function(){if(l&&f){var e;null==(e=F.current)||e.focus({preventScroll:!0})}},[l]);var U=h.useState(!1),G=(0,eL.Z)(U,2),Y=G[0],Q=G[1],J=h.useContext(Sc),ee=null!=(n=null!=(r=null==(o=i="boolean"==typeof u?u?{}:{distance:0}:u||{})?void 0:o.distance)?r:null==J?void 0:J.pushDistance)?n:180,et=h.useMemo(function(){return{pushDistance:ee,push:function(){Q(!0)},pull:function(){Q(!1)}}},[ee]);h.useEffect(function(){var e,t;l?null==J||null==(e=J.push)||e.call(J):null==J||null==(t=J.pull)||t.call(J)},[l]),h.useEffect(function(){return function(){var e;null==J||null==(e=J.pull)||e.call(J)}},[]);var en=O&&h.createElement(q.ZP,(0,_.Z)({key:"mask"},I,{visible:l}),function(e,t){var n=e.className,r=e.style;return h.createElement("div",{className:g()("".concat(a,"-mask"),n,null==m?void 0:m.mask,N),style:(0,eH.Z)((0,eH.Z)((0,eH.Z)({},r),Z),null==B?void 0:B.mask),onClick:M&&l?T:void 0,ref:t})}),er="function"==typeof k?k(s):k,eo={};if(Y&&ee)switch(s){case"top":eo.transform="translateY(".concat(ee,"px)");break;case"bottom":eo.transform="translateY(".concat(-ee,"px)");break;case"left":eo.transform="translateX(".concat(ee,"px)");break;default:eo.transform="translateX(".concat(-ee,"px)")}"left"===s||"right"===s?eo.width=Sf(C):eo.height=Sf($);var ei={onMouseEnter:P,onMouseOver:j,onMouseLeave:A,onClick:D,onKeyDown:z,onKeyUp:L},ea=h.createElement(q.ZP,(0,_.Z)({key:"panel"},er,{visible:l,forceRender:d,onVisibleChanged:function(e){null==R||R(e)},removeOnLeave:!1,leavedClassName:"".concat(a,"-content-wrapper-hidden")}),function(t,n){var r=t.className,o=t.style,i=h.createElement(Sd,(0,_.Z)({id:x,containerRef:n,prefixCls:a,className:g()(w,null==m?void 0:m.content),style:(0,eH.Z)((0,eH.Z)({},S),null==B?void 0:B.content)},(0,K.Z)(e,{aria:!0}),ei),E);return h.createElement("div",(0,_.Z)({className:g()("".concat(a,"-content-wrapper"),null==m?void 0:m.wrapper,r),style:(0,eH.Z)((0,eH.Z)((0,eH.Z)({},eo),o),null==B?void 0:B.wrapper)},(0,K.Z)(e,{data:!0})),H?H(i):i)}),el=(0,eH.Z)({},b);return y&&(el.zIndex=y),h.createElement(Sc.Provider,{value:et},h.createElement("div",{className:g()(a,"".concat(a,"-").concat(s),v,(0,eV.Z)((0,eV.Z)({},"".concat(a,"-open"),l),"".concat(a,"-inline"),c)),style:el,tabIndex:-1,ref:F,onKeyDown:X},en,h.createElement("div",{tabIndex:0,ref:W,style:Sh,"aria-hidden":"true","data-sentinel":"start"}),ea,h.createElement("div",{tabIndex:0,ref:V,style:Sh,"aria-hidden":"true","data-sentinel":"end"})))}let Sm=h.forwardRef(Sp),Sg=function(e){var t=e.open,n=void 0!==t&&t,r=e.prefixCls,o=void 0===r?"rc-drawer":r,i=e.placement,a=void 0===i?"right":i,l=e.autoFocus,s=void 0===l||l,c=e.keyboard,u=void 0===c||c,d=e.width,f=void 0===d?378:d,p=e.mask,m=void 0===p||p,g=e.maskClosable,v=void 0===g||g,b=e.getContainer,y=e.forceRender,w=e.afterOpenChange,x=e.destroyOnClose,S=e.onMouseEnter,k=e.onMouseOver,C=e.onMouseLeave,$=e.onClick,E=e.onKeyDown,O=e.onKeyUp,M=e.panelRef,I=h.useState(!1),N=(0,eL.Z)(I,2),Z=N[0],R=N[1],T=h.useState(!1),P=(0,eL.Z)(T,2),j=P[0],A=P[1];(0,oE.Z)(function(){A(!0)},[]);var D=!!j&&n,_=h.useRef(),z=h.useRef();(0,oE.Z)(function(){D&&(z.current=document.activeElement)},[D]);var L=function(e){var t,n;R(e),null==w||w(e),e||!z.current||null!=(t=_.current)&&t.contains(z.current)||null==(n=z.current)||n.focus({preventScroll:!0})},B=h.useMemo(function(){return{panel:M}},[M]);if(!y&&!Z&&!D&&x)return null;var H={onMouseEnter:S,onMouseOver:k,onMouseLeave:C,onClick:$,onKeyDown:E,onKeyUp:O},F=(0,eH.Z)((0,eH.Z)({},e),{},{open:D,prefixCls:o,placement:a,autoFocus:s,keyboard:u,width:f,mask:m,maskClosable:v,inline:!1===b,afterOpenChange:L,ref:_},H);return h.createElement(Ss.Provider,{value:B},h.createElement(nf.Z,{open:D||y||Z,autoDestroy:!1,getContainer:b,autoLock:m&&(D||Z)},h.createElement(Sm,F)))},Sv=e=>{var t,n;let{prefixCls:r,title:o,footer:i,extra:a,loading:l,onClose:s,headerStyle:c,bodyStyle:u,footerStyle:d,children:f,classNames:p,styles:m}=e,{drawer:v}=h.useContext(S.E_),b=h.useCallback(e=>h.createElement("button",{type:"button",onClick:s,"aria-label":"Close",className:`${r}-close`},e),[s]),[y,w]=nj(nZ(e),nZ(v),{closable:!0,closeIconRender:b}),x=h.useMemo(()=>{var e,t;return o||y?h.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null==(e=null==v?void 0:v.styles)?void 0:e.header),c),null==m?void 0:m.header),className:g()(`${r}-header`,{[`${r}-header-close-only`]:y&&!o&&!a},null==(t=null==v?void 0:v.classNames)?void 0:t.header,null==p?void 0:p.header)},h.createElement("div",{className:`${r}-header-title`},w,o&&h.createElement("div",{className:`${r}-title`},o)),a&&h.createElement("div",{className:`${r}-extra`},a)):null},[y,w,a,c,r,o]),k=h.useMemo(()=>{var e,t;if(!i)return null;let n=`${r}-footer`;return h.createElement("div",{className:g()(n,null==(e=null==v?void 0:v.classNames)?void 0:e.footer,null==p?void 0:p.footer),style:Object.assign(Object.assign(Object.assign({},null==(t=null==v?void 0:v.styles)?void 0:t.footer),d),null==m?void 0:m.footer)},i)},[i,d,r]);return h.createElement(h.Fragment,null,x,h.createElement("div",{className:g()(`${r}-body`,null==p?void 0:p.body,null==(t=null==v?void 0:v.classNames)?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null==(n=null==v?void 0:v.styles)?void 0:n.body),u),null==m?void 0:m.body)},l?h.createElement(rr,{active:!0,title:!1,paragraph:{rows:5},className:`${r}-body-skeleton`}):f),k)},Sb=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},Sy=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),Sw=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},Sy({opacity:e},{opacity:1})),Sx=(e,t)=>[Sw(.7,t),Sy({transform:Sb(e)},{transform:"none"})],SS=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:Sw(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:Sx(t,n)}),{})}}},Sk=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:o,colorBgElevated:i,motionDurationSlow:a,motionDurationMid:l,paddingXS:s,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:f,lineWidth:h,lineType:p,colorSplit:m,marginXS:g,colorIcon:v,colorIconHover:b,colorBgTextHover:y,colorBgTextActive:w,colorText:x,fontWeightStrong:S,footerPaddingBlock:k,footerPaddingInline:C,calc:$}=e,E=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:x,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:o,pointerEvents:"auto"},[E]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${a}`,"&-hidden":{display:"none"}},[`&-left > ${E}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${E}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${E}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${E}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,G.bf)(c)} ${(0,G.bf)(u)}`,fontSize:d,lineHeight:f,borderBottom:`${(0,G.bf)(h)} ${p} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:$(d).add(s).equal(),height:$(d).add(s).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:g,color:v,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${l}`,textRendering:"auto","&:hover":{color:b,backgroundColor:y,textDecoration:"none"},"&:active":{backgroundColor:w}},(0,Y.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:f},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,G.bf)(k)} ${(0,G.bf)(C)}`,borderTop:`${(0,G.bf)(h)} ${p} ${m}`},"&-rtl":{direction:"rtl"}}}},SC=e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}),S$=(0,k.I$)("Drawer",e=>{let t=(0,eI.IX)(e,{});return[Sk(t),SS(t)]},SC);var SE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let SO={distance:180},SM=e=>{let{rootClassName:t,width:n,height:r,size:o="default",mask:i=!0,push:a=SO,open:l,afterOpenChange:s,onClose:c,prefixCls:u,getContainer:d,style:f,className:p,visible:m,afterVisibleChange:v,maskStyle:b,drawerStyle:y,contentWrapperStyle:w}=e,x=SE(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:k,getPrefixCls:C,direction:$,drawer:E}=h.useContext(S.E_),O=C("drawer",u),[M,I,N]=S$(O),Z=void 0===d&&k?()=>k(document.body):d,R=g()({"no-mask":!i,[`${O}-rtl`]:"rtl"===$},t,I,N),T=h.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),P=h.useMemo(()=>null!=r?r:"large"===o?736:378,[r,o]),j={motionName:(0,nt.m)(O,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},A=e=>({motionName:(0,nt.m)(O,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),D=ra(),[_,z]=(0,tt.Cn)("Drawer",x.zIndex),{classNames:L={},styles:B={}}=x,{classNames:H={},styles:F={}}=E||{};return M(h.createElement(nN.Z,{form:!0,space:!0},h.createElement(nD.Z.Provider,{value:z},h.createElement(Sg,Object.assign({prefixCls:O,onClose:c,maskMotion:j,motion:A},x,{classNames:{mask:g()(L.mask,H.mask),content:g()(L.content,H.content),wrapper:g()(L.wrapper,H.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},B.mask),b),F.mask),content:Object.assign(Object.assign(Object.assign({},B.content),y),F.content),wrapper:Object.assign(Object.assign(Object.assign({},B.wrapper),w),F.wrapper)},open:null!=l?l:m,mask:i,push:a,width:T,height:P,style:Object.assign(Object.assign({},null==E?void 0:E.style),f),className:g()(null==E?void 0:E.className,p),rootClassName:R,getContainer:Z,afterOpenChange:null!=s?s:v,panelRef:D,zIndex:_}),h.createElement(Sv,Object.assign({prefixCls:O},x,{onClose:c}))))))};SM._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:r,placement:o="right"}=e,i=SE(e,["prefixCls","style","className","placement"]),{getPrefixCls:a}=h.useContext(S.E_),l=a("drawer",t),[s,c,u]=S$(l),d=g()(l,`${l}-pure`,`${l}-${o}`,c,u,r);return s(h.createElement("div",{className:d,style:n},h.createElement(Sv,Object.assign({prefixCls:l},i))))};let SI=SM;function SN(e){return["small","middle","large"].includes(e)}function SZ(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}let SR=p().createContext({latestIndex:0}),ST=SR.Provider,SP=e=>{let{className:t,index:n,children:r,split:o,style:i}=e,{latestIndex:a}=h.useContext(SR);return null==r?null:h.createElement(h.Fragment,null,h.createElement("div",{className:t,style:i},r),nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let SD=h.forwardRef((e,t)=>{var n,r,o;let{getPrefixCls:i,space:a,direction:l}=h.useContext(S.E_),{size:s=null!=(n=null==a?void 0:a.size)?n:"small",align:c,className:u,rootClassName:d,children:f,direction:p="horizontal",prefixCls:m,split:v,style:b,wrap:y=!1,classNames:w,styles:x}=e,k=SA(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[C,$]=Array.isArray(s)?s:[s,s],E=SN($),O=SN(C),M=SZ($),I=SZ(C),N=(0,oS.Z)(f,{keepEmpty:!0}),Z=void 0===c&&"horizontal"===p?"center":c,R=i("space",m),[T,P,j]=(0,Sj.Z)(R),A=g()(R,null==a?void 0:a.className,P,`${R}-${p}`,{[`${R}-rtl`]:"rtl"===l,[`${R}-align-${Z}`]:Z,[`${R}-gap-row-${$}`]:E,[`${R}-gap-col-${C}`]:O},u,d,j),D=g()(`${R}-item`,null!=(r=null==w?void 0:w.item)?r:null==(o=null==a?void 0:a.classNames)?void 0:o.item),_=0,z=N.map((e,t)=>{var n,r;null!=e&&(_=t);let o=(null==e?void 0:e.key)||`${D}-${t}`;return h.createElement(SP,{className:D,key:o,index:t,split:v,style:null!=(n=null==x?void 0:x.item)?n:null==(r=null==a?void 0:a.styles)?void 0:r.item},e)}),L=h.useMemo(()=>({latestIndex:_}),[_]);if(0===N.length)return null;let B={};return y&&(B.flexWrap="wrap"),!O&&I&&(B.columnGap=C),!E&&M&&(B.rowGap=$),T(h.createElement("div",Object.assign({ref:t,className:A,style:Object.assign(Object.assign(Object.assign({},B),null==a?void 0:a.style),b)},k),h.createElement(ST,{value:L},z)))});SD.Compact=a_.ZP;let S_=SD;var Sz=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let SL=e=>{let{getPopupContainer:t,getPrefixCls:n,direction:r}=h.useContext(S.E_),{prefixCls:o,type:i="default",danger:a,disabled:l,loading:s,onClick:c,htmlType:u,children:d,className:f,menu:p,arrow:m,autoFocus:v,overlay:b,trigger:y,align:w,open:x,onOpenChange:k,placement:C,getPopupContainer:$,href:E,icon:O=h.createElement(uZ,null),title:M,buttonsRender:I=e=>e,mouseEnterDelay:N,mouseLeaveDelay:Z,overlayClassName:R,overlayStyle:T,destroyPopupOnHide:P,dropdownRender:j}=e,A=Sz(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),D=n("dropdown",o),_=`${D}-button`,z={menu:p,arrow:m,autoFocus:v,align:w,disabled:l,trigger:l?[]:y,onOpenChange:k,getPopupContainer:$||t,mouseEnterDelay:N,mouseLeaveDelay:Z,overlayClassName:R,overlayStyle:T,destroyPopupOnHide:P,dropdownRender:j},{compactSize:L,compactItemClassnames:B}=(0,a_.ri)(D,r),H=g()(_,B,f);"overlay"in e&&(z.overlay=b),"open"in e&&(z.open=x),"placement"in e?z.placement=C:z.placement="rtl"===r?"bottomLeft":"bottomRight";let[F,W]=I([h.createElement(no.ZP,{type:i,danger:a,disabled:l,loading:s,onClick:c,htmlType:u,href:E,title:M},d),h.createElement(no.ZP,{type:i,danger:a,icon:O})]);return h.createElement(S_.Compact,Object.assign({className:H,size:L,block:!0},A),F,h.createElement(dt,Object.assign({},z),W))};SL.__ANT_BUTTON=!0;let SB=dt;SB.Button=SL;let SH=SB,SF=["wrap","nowrap","wrap-reverse"],SW=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],SV=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],Sq=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&SF.includes(n)}},SK=(e,t)=>{let n={};return SV.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},SX=(e,t)=>{let n={};return SW.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},SU=function(e,t){return g()(Object.assign(Object.assign(Object.assign({},Sq(e,t)),SK(e,t)),SX(e,t)))},SG=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},SY=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},SQ=e=>{let{componentCls:t}=e,n={};return SF.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},SJ=e=>{let{componentCls:t}=e,n={};return SV.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},S0=e=>{let{componentCls:t}=e,n={};return SW.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n},S1=()=>({}),S2=(0,k.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,o=(0,eI.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[SG(o),SY(o),SQ(o),SJ(o),S0(o)]},S1,{resetStyle:!1});var S4=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let S3=p().forwardRef((e,t)=>{let{prefixCls:n,rootClassName:r,className:o,style:i,flex:a,gap:l,children:s,vertical:c=!1,component:u="div"}=e,d=S4(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:f,direction:h,getPrefixCls:m}=p().useContext(S.E_),v=m("flex",n),[y,w,x]=S2(v),k=null!=c?c:null==f?void 0:f.vertical,C=g()(o,r,null==f?void 0:f.className,v,w,x,SU(v,e),{[`${v}-rtl`]:"rtl"===h,[`${v}-gap-${l}`]:SN(l),[`${v}-vertical`]:k}),$=Object.assign(Object.assign({},null==f?void 0:f.style),i);return a&&($.flex=a),l&&!SN(l)&&($.gap=l),y(p().createElement(u,Object.assign({ref:t,className:C,style:$},(0,b.Z)(d,["justify","wrap","align"])),s))}),S5=p().createContext(void 0),{Provider:S8}=S5,S6=S5,S7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"};var S9=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:S7}))};let ke=h.forwardRef(S9),kt=e=>{let{icon:t,description:n,prefixCls:r,className:o}=e,i=p().createElement("div",{className:`${r}-icon`},p().createElement(ke,null));return p().createElement("div",{onClick:e.onClick,onFocus:e.onFocus,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,className:g()(o,`${r}-content`)},t||n?p().createElement(p().Fragment,null,t&&p().createElement("div",{className:`${r}-icon`},t),n&&p().createElement("div",{className:`${r}-description`},n)):i)},kn=(0,h.memo)(kt),kr=e=>0===e?0:e-Math.sqrt(Math.pow(e,2)/2),ko=e=>{let{componentCls:t,floatButtonSize:n,motionDurationSlow:r,motionEaseInOutCirc:o,calc:i}=e,a=new G.E4("antFloatButtonMoveTopIn",{"0%":{transform:`translate3d(0, ${(0,G.bf)(n)}, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new G.E4("antFloatButtonMoveTopOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${(0,G.bf)(n)}, 0)`,transformOrigin:"0 0",opacity:0}}),s=new G.E4("antFloatButtonMoveRightIn",{"0%":{transform:`translate3d(${i(n).mul(-1).equal()}, 0, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),c=new G.E4("antFloatButtonMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(${i(n).mul(-1).equal()}, 0, 0)`,transformOrigin:"0 0",opacity:0}}),u=new G.E4("antFloatButtonMoveBottomIn",{"0%":{transform:`translate3d(0, ${i(n).mul(-1).equal()}, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new G.E4("antFloatButtonMoveBottomOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${i(n).mul(-1).equal()}, 0)`,transformOrigin:"0 0",opacity:0}}),f=new G.E4("antFloatButtonMoveLeftIn",{"0%":{transform:`translate3d(${(0,G.bf)(n)}, 0, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),h=new G.E4("antFloatButtonMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(${(0,G.bf)(n)}, 0, 0)`,transformOrigin:"0 0",opacity:0}}),p=`${t}-group`;return[{[p]:{[`&${p}-top ${p}-wrap`]:(0,rf.R)(`${p}-wrap`,a,l,r,!0),[`&${p}-bottom ${p}-wrap`]:(0,rf.R)(`${p}-wrap`,u,d,r,!0),[`&${p}-left ${p}-wrap`]:(0,rf.R)(`${p}-wrap`,f,h,r,!0),[`&${p}-right ${p}-wrap`]:(0,rf.R)(`${p}-wrap`,s,c,r,!0)}},{[`${p}-wrap`]:{[`&${p}-wrap-enter, &${p}-wrap-appear`]:{opacity:0,animationTimingFunction:o},[`&${p}-wrap-leave`]:{opacity:1,animationTimingFunction:o}}}]},ki=e=>{let{antCls:t,componentCls:n,floatButtonSize:r,margin:o,borderRadiusLG:i,borderRadiusSM:a,badgeOffset:l,floatButtonBodyPadding:s,zIndexPopupBase:c,calc:u}=e,d=`${n}-group`;return{[d]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{zIndex:c,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",border:"none",position:"fixed",height:"auto",boxShadow:"none",minWidth:r,minHeight:r,insetInlineEnd:e.floatButtonInsetInlineEnd,bottom:e.floatButtonInsetBlockEnd,borderRadius:i,[`${d}-wrap`]:{zIndex:-1,display:"flex",justifyContent:"center",alignItems:"center",position:"absolute"},[`&${d}-rtl`]:{direction:"rtl"},[n]:{position:"static"}}),[`${d}-top > ${d}-wrap`]:{flexDirection:"column",top:"auto",bottom:u(r).add(o).equal(),"&::after":{content:'""',position:"absolute",width:"100%",height:o,bottom:u(o).mul(-1).equal()}},[`${d}-bottom > ${d}-wrap`]:{flexDirection:"column",top:u(r).add(o).equal(),bottom:"auto","&::after":{content:'""',position:"absolute",width:"100%",height:o,top:u(o).mul(-1).equal()}},[`${d}-right > ${d}-wrap`]:{flexDirection:"row",left:{_skip_check_:!0,value:u(r).add(o).equal()},right:{_skip_check_:!0,value:"auto"},"&::after":{content:'""',position:"absolute",width:o,height:"100%",left:{_skip_check_:!0,value:u(o).mul(-1).equal()}}},[`${d}-left > ${d}-wrap`]:{flexDirection:"row",left:{_skip_check_:!0,value:"auto"},right:{_skip_check_:!0,value:u(r).add(o).equal()},"&::after":{content:'""',position:"absolute",width:o,height:"100%",right:{_skip_check_:!0,value:u(o).mul(-1).equal()}}},[`${d}-circle`]:{gap:o,[`${d}-wrap`]:{gap:o}},[`${d}-square`]:{[`${n}-square`]:{padding:0,borderRadius:0,[`&${d}-trigger`]:{borderRadius:i},"&:first-child":{borderStartStartRadius:i,borderStartEndRadius:i},"&:last-child":{borderEndStartRadius:i,borderEndEndRadius:i},"&:not(:last-child)":{borderBottom:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-badge`]:{[`${t}-badge-count`]:{top:u(u(s).add(l)).mul(-1).equal(),insetInlineEnd:u(u(s).add(l)).mul(-1).equal()}}},[`${d}-wrap`]:{borderRadius:i,boxShadow:e.boxShadowSecondary,[`${n}-square`]:{boxShadow:"none",borderRadius:0,padding:s,[`${n}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize,borderRadius:a}}}},[`${d}-top > ${d}-wrap, ${d}-bottom > ${d}-wrap`]:{[`> ${n}-square`]:{"&:first-child":{borderStartStartRadius:i,borderStartEndRadius:i},"&:last-child":{borderEndStartRadius:i,borderEndEndRadius:i},"&:not(:last-child)":{borderBottom:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}},[`${d}-left > ${d}-wrap, ${d}-right > ${d}-wrap`]:{[`> ${n}-square`]:{"&:first-child":{borderStartStartRadius:i,borderEndStartRadius:i},"&:last-child":{borderStartEndRadius:i,borderEndEndRadius:i},"&:not(:last-child)":{borderInlineEnd:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}},[`${d}-circle-shadow`]:{boxShadow:"none"},[`${d}-square-shadow`]:{boxShadow:e.boxShadowSecondary,[`${n}-square`]:{boxShadow:"none",padding:s,[`${n}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize,borderRadius:a}}}}},ka=e=>{let{antCls:t,componentCls:n,floatButtonBodyPadding:r,floatButtonIconSize:o,floatButtonSize:i,borderRadiusLG:a,badgeOffset:l,dotOffsetInSquare:s,dotOffsetInCircle:c,zIndexPopupBase:u,calc:d}=e;return{[n]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{border:"none",position:"fixed",cursor:"pointer",zIndex:u,display:"block",width:i,height:i,insetInlineEnd:e.floatButtonInsetInlineEnd,bottom:e.floatButtonInsetBlockEnd,boxShadow:e.boxShadowSecondary,"&-pure":{position:"relative",inset:"auto"},"&:empty":{display:"none"},[`${t}-badge`]:{width:"100%",height:"100%",[`${t}-badge-count`]:{transform:"translate(0, 0)",transformOrigin:"center",top:d(l).mul(-1).equal(),insetInlineEnd:d(l).mul(-1).equal()}},[`${n}-body`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",transition:`all ${e.motionDurationMid}`,[`${n}-content`]:{overflow:"hidden",textAlign:"center",minHeight:i,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:`${(0,G.bf)(d(r).div(2).equal())} ${(0,G.bf)(r)}`,[`${n}-icon`]:{textAlign:"center",margin:"auto",width:o,fontSize:o,lineHeight:1}}}}),[`${n}-rtl`]:{direction:"rtl"},[`${n}-circle`]:{height:i,borderRadius:"50%",[`${t}-badge`]:{[`${t}-badge-dot`]:{top:c,insetInlineEnd:c}},[`${n}-body`]:{borderRadius:"50%"}},[`${n}-square`]:{height:"auto",minHeight:i,borderRadius:a,[`${t}-badge`]:{[`${t}-badge-dot`]:{top:s,insetInlineEnd:s}},[`${n}-body`]:{height:"auto",borderRadius:a}},[`${n}-default`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,[`${n}-body`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorFillContent},[`${n}-content`]:{[`${n}-icon`]:{color:e.colorText},[`${n}-description`]:{display:"flex",alignItems:"center",lineHeight:(0,G.bf)(e.fontSizeLG),color:e.colorText,fontSize:e.fontSizeSM}}}},[`${n}-primary`]:{backgroundColor:e.colorPrimary,[`${n}-body`]:{backgroundColor:e.colorPrimary,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorPrimaryHover},[`${n}-content`]:{[`${n}-icon`]:{color:e.colorTextLightSolid},[`${n}-description`]:{display:"flex",alignItems:"center",lineHeight:(0,G.bf)(e.fontSizeLG),color:e.colorTextLightSolid,fontSize:e.fontSizeSM}}}}}},kl=e=>({dotOffsetInCircle:kr(e.controlHeightLG/2),dotOffsetInSquare:kr(e.borderRadiusLG)}),ks=(0,k.I$)("FloatButton",e=>{let{colorTextLightSolid:t,colorBgElevated:n,controlHeightLG:r,marginXXL:o,marginLG:i,fontSize:a,fontSizeIcon:l,controlItemBgHover:s,paddingXXS:c,calc:u}=e,d=(0,eI.IX)(e,{floatButtonBackgroundColor:n,floatButtonColor:t,floatButtonHoverBackgroundColor:s,floatButtonFontSize:a,floatButtonIconSize:u(l).mul(1.5).equal(),floatButtonSize:r,floatButtonInsetBlockEnd:o,floatButtonInsetInlineEnd:i,floatButtonBodySize:u(r).sub(u(c).mul(2)).equal(),floatButtonBodyPadding:c,badgeOffset:u(c).mul(1.5).equal()});return[ki(d),ka(d),rm(e),ko(d)]},kl);var kc=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let ku="float-btn",kd=p().forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:o,style:i,type:a="default",shape:l="circle",icon:s,description:c,tooltip:u,htmlType:d="button",badge:f={}}=e,m=kc(e,["prefixCls","className","rootClassName","style","type","shape","icon","description","tooltip","htmlType","badge"]),{getPrefixCls:v,direction:y}=(0,h.useContext)(S.E_),w=(0,h.useContext)(S6),x=v(ku,n),k=eE(x),[C,$,E]=ks(x,k),O=w||l,M=g()($,E,k,x,r,o,`${x}-${a}`,`${x}-${O}`,{[`${x}-rtl`]:"rtl"===y}),[I]=(0,tt.Cn)("FloatButton",null==i?void 0:i.zIndex),N=Object.assign(Object.assign({},i),{zIndex:I}),Z=(0,b.Z)(f,["title","children","status","text"]),R=(0,h.useMemo)(()=>({prefixCls:x,description:c,icon:s,type:a}),[x,c,s,a]),T=p().createElement("div",{className:`${x}-body`},p().createElement(kn,Object.assign({},R)));return"badge"in e&&(T=p().createElement(sB,Object.assign({},Z),T)),"tooltip"in e&&(T=p().createElement(l1.Z,{title:u,placement:"rtl"===y?"right":"left"},T)),C(e.href?p().createElement("a",Object.assign({ref:t},m,{className:M,style:N}),T):p().createElement("button",Object.assign({ref:t},m,{className:M,style:N,type:d}),T))});var kf=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let kh=p().forwardRef((e,t)=>{let{prefixCls:n,className:r,type:o="default",shape:i="circle",visibilityHeight:a=400,icon:l=p().createElement(sh,null),target:s,onClick:c,duration:u=450}=e,d=kf(e,["prefixCls","className","type","shape","visibilityHeight","icon","target","onClick","duration"]),[f,m]=(0,h.useState)(0===a),v=p().useRef(null);p().useImperativeHandle(t,()=>({nativeElement:v.current}));let b=()=>{var e;return(null==(e=v.current)?void 0:e.ownerDocument)||window},y=x(e=>{m(eS(e.target)>=a)});(0,h.useEffect)(()=>{let e=(s||b)();return y({target:e}),null==e||e.addEventListener("scroll",y),()=>{y.cancel(),null==e||e.removeEventListener("scroll",y)}},[s]);let w=e=>{eC(0,{getContainer:s||b,duration:u}),null==c||c(e)},{getPrefixCls:k}=(0,h.useContext)(S.E_),C=k(ku,n),$=k(),E=Object.assign({prefixCls:C,icon:l,type:o,shape:(0,h.useContext)(S6)||i},d);return p().createElement(q.ZP,{visible:f,motionName:`${$}-fade`},(e,t)=>{let{className:n}=e;return p().createElement(kd,Object.assign({ref:(0,X.sQ)(v,t)},E,{onClick:w,className:g()(r,n)}))})});var kp=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let km=e=>{var t;let{prefixCls:n,className:r,style:o,shape:i="circle",type:a="default",placement:l="top",icon:s=p().createElement(ke,null),closeIcon:c,description:u,trigger:d,children:f,onOpenChange:h,open:m,onClick:v}=e,b=kp(e,["prefixCls","className","style","shape","type","placement","icon","closeIcon","description","trigger","children","onOpenChange","open","onClick"]),{direction:y,getPrefixCls:w,floatButtonGroup:x}=p().useContext(S.E_),k=null!=(t=null!=c?c:null==x?void 0:x.closeIcon)?t:p().createElement(D.Z,null),C=w(ku,n),$=eE(C),[E,O,M]=ks(C,$),I=`${C}-group`,N=d&&["click","hover"].includes(d),Z=l&&["top","left","right","bottom"].includes(l),R=g()(I,O,M,$,r,{[`${I}-rtl`]:"rtl"===y,[`${I}-${i}`]:i,[`${I}-${i}-shadow`]:!N,[`${I}-${l}`]:N&&Z}),[T]=(0,tt.Cn)("FloatButton",null==o?void 0:o.zIndex),P=Object.assign(Object.assign({},o),{zIndex:T}),j=g()(O,`${I}-wrap`),[A,_]=(0,ok.Z)(!1,{value:m}),z=p().useRef(null),L="hover"===d,B="click"===d,H=(0,ey.Z)(e=>{A!==e&&(_(e),null==h||h(e))}),F=()=>{L&&H(!0)},W=()=>{L&&H(!1)},V=e=>{B&&H(!A),null==v||v(e)};return p().useEffect(()=>{if(B){let e=e=>{var t;null!=(t=z.current)&&t.contains(e.target)||H(!1)};return document.addEventListener("click",e,{capture:!0}),()=>document.removeEventListener("click",e,{capture:!0})}},[B]),E(p().createElement(S8,{value:i},p().createElement("div",{ref:z,className:R,style:P,onMouseEnter:F,onMouseLeave:W},N?p().createElement(p().Fragment,null,p().createElement(q.ZP,{visible:A,motionName:`${I}-wrap`},e=>{let{className:t}=e;return p().createElement("div",{className:g()(t,j)},f)}),p().createElement(kd,Object.assign({type:a,icon:A?k:s,description:u,"aria-label":e["aria-label"],className:`${I}-trigger`,onClick:V},b))):f)))};var kg=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let kv=e=>{var{backTop:t}=e,n=kg(e,["backTop"]);return t?h.createElement(kh,Object.assign({},n,{visibilityHeight:0})):h.createElement(kd,Object.assign({},n))},kb=e=>{var{className:t,items:n}=e,r=kg(e,["className","items"]);let{prefixCls:o}=r,{getPrefixCls:i}=h.useContext(S.E_),a=i(ku,o),l=`${a}-pure`;return n?h.createElement(km,Object.assign({className:g()(t,l)},r),n.map((e,t)=>h.createElement(kv,Object.assign({key:t},e)))):h.createElement(kv,Object.assign({className:g()(t,l)},r))};kd.BackTop=kh,kd.Group=km,kd._InternalPanelDoNotUseOrYouWillBeFired=kb;let ky=kd;function kw(e){let[t,n]=h.useState(e);return h.useEffect(()=>{let t=setTimeout(()=>{n(e)},10*!e.length);return()=>{clearTimeout(t)}},[e]),t}let kx=e=>{let{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationFast} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationFast} ${e.motionEaseInOut}, - opacity ${e.motionDurationFast} ${e.motionEaseInOut}, - transform ${e.motionDurationFast} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},kS=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},[`input[type='file']:focus, - input[type='radio']:focus, - input[type='checkbox']:focus`]:{outline:0,boxShadow:`0 0 0 ${(0,G.bf)(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),kk=(e,t)=>{let{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},kC=e=>{let{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),kS(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},kk(e,e.controlHeightSM)),"&-large":Object.assign({},kk(e,e.controlHeightLG))})}},k$=e=>{let{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:o,antCls:i,labelRequiredMarkColor:a,labelColor:l,labelFontSize:s,labelHeight:c,labelColonMarginInlineStart:u,labelColonMarginInlineEnd:d,itemMarginBottom:f}=e;return{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{marginBottom:f,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, - &-hidden${i}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:c,color:l,fontSize:s,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:a,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:u,marginInlineEnd:d},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${o}-col-'"]):not([class*="' ${o}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:rg.kr,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},kE=(e,t)=>{let{formItemCls:n}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}}}}},kO=e=>{let{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:"nowrap"},[`> ${n}-label, - > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},kM=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),kI=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:kM(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},kN=e=>{let{componentCls:t,formItemCls:n,antCls:r}=e;return{[`${t}-vertical`]:{[`${n}:not(${n}-horizontal)`]:{[`${n}-row`]:{flexDirection:"column"},[`${n}-label > label`]:{height:"auto"},[`${n}-control`]:{width:"100%"},[`${n}-label, - ${r}-col-24${n}-label, - ${r}-col-xl-24${n}-label`]:kM(e)}},[`@media (max-width: ${(0,G.bf)(e.screenXSMax)})`]:[kI(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:kM(e)}}}],[`@media (max-width: ${(0,G.bf)(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:kM(e)}}},[`@media (max-width: ${(0,G.bf)(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:kM(e)}}},[`@media (max-width: ${(0,G.bf)(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:kM(e)}}}}},kZ=e=>{let{formItemCls:t,antCls:n}=e;return{[`${t}-vertical`]:{[`${t}-row`]:{flexDirection:"column"},[`${t}-label > label`]:{height:"auto"},[`${t}-control`]:{width:"100%"}},[`${t}-vertical ${t}-label, - ${n}-col-24${t}-label, - ${n}-col-xl-24${t}-label`]:kM(e),[`@media (max-width: ${(0,G.bf)(e.screenXSMax)})`]:[kI(e),{[t]:{[`${n}-col-xs-24${t}-label`]:kM(e)}}],[`@media (max-width: ${(0,G.bf)(e.screenSMMax)})`]:{[t]:{[`${n}-col-sm-24${t}-label`]:kM(e)}},[`@media (max-width: ${(0,G.bf)(e.screenMDMax)})`]:{[t]:{[`${n}-col-md-24${t}-label`]:kM(e)}},[`@media (max-width: ${(0,G.bf)(e.screenLGMax)})`]:{[t]:{[`${n}-col-lg-24${t}-label`]:kM(e)}}}},kR=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),kT=(e,t)=>(0,eI.IX)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),kP=(0,k.I$)("Form",(e,t)=>{let{rootPrefixCls:n}=t,r=kT(e,n);return[kC(r),k$(r),kx(r),kE(r,r.componentCls),kE(r,r.formItemCls),kO(r),kN(r),kZ(r),(0,uL.Z)(r),rg.kr]},kR,{order:-1e3}),kj=[];function kA(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"==typeof e?e:`${t}-${r}`,error:e,errorStatus:n}}let kD=e=>{let{help:t,helpStatus:n,errors:r=kj,warnings:o=kj,className:i,fieldId:a,onVisibleChanged:l}=e,{prefixCls:s}=h.useContext(aA.Rk),c=`${s}-item-explain`,u=eE(s),[d,f,p]=kP(s,u),m=h.useMemo(()=>(0,nt.Z)(s),[s]),v=kw(r),b=kw(o),w=h.useMemo(()=>null!=t?[kA(t,"help",n)]:[].concat((0,y.Z)(v.map((e,t)=>kA(e,"error","error",t))),(0,y.Z)(b.map((e,t)=>kA(e,"warning","warning",t)))),[t,n,v,b]),x=h.useMemo(()=>{let e={};return w.forEach(t=>{let{key:n}=t;e[n]=(e[n]||0)+1}),w.map((t,n)=>Object.assign(Object.assign({},t),{key:e[t.key]>1?`${t.key}-fallback-${n}`:t.key}))},[w]),S={};return a&&(S.id=`${a}_help`),d(h.createElement(q.ZP,{motionDeadline:m.motionDeadline,motionName:`${s}-show-help`,visible:!!x.length,onVisibleChanged:l},e=>{let{className:t,style:n}=e;return h.createElement("div",Object.assign({},S,{className:g()(c,t,p,u,i,f),style:n,role:"alert"}),h.createElement(q.V4,Object.assign({keys:x},(0,nt.Z)(s),{motionName:`${s}-show-help-item`,component:!1}),e=>{let{key:t,error:n,errorStatus:r,className:o,style:i}=e;return h.createElement("div",{key:t,className:g()(o,{[`${c}-${r}`]:r}),style:i},n)}))}))};var k_=n(86436),kz=n(4584),kL=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let kB=(e,t)=>{let n=h.useContext(tF.Z),{getPrefixCls:r,direction:o,form:i}=h.useContext(S.E_),{prefixCls:a,className:l,rootClassName:s,size:c,disabled:u=n,form:d,colon:f,labelAlign:p,labelWrap:m,labelCol:v,wrapperCol:b,hideRequiredMark:y,layout:w="horizontal",scrollToFirstError:x,requiredMark:k,onFinishFailed:C,name:$,style:E,feedbackIcons:O,variant:M}=e,I=kL(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),N=(0,aj.Z)(c),Z=h.useContext(tC),R=h.useMemo(()=>void 0!==k?k:!y&&(!i||void 0===i.requiredMark||i.requiredMark),[y,k,i]),T=null!=f?f:null==i?void 0:i.colon,P=r("form",a),j=eE(P),[A,D,_]=kP(P,j),z=g()(P,`${P}-${w}`,{[`${P}-hide-required-mark`]:!1===R,[`${P}-rtl`]:"rtl"===o,[`${P}-${N}`]:N},_,j,D,null==i?void 0:i.className,l,s),[L]=(0,kz.Z)(d),{__INTERNAL__:B}=L;B.name=$;let H=h.useMemo(()=>({name:$,labelAlign:p,labelCol:v,labelWrap:m,wrapperCol:b,vertical:"vertical"===w,colon:T,requiredMark:R,itemRef:B.itemRef,form:L,feedbackIcons:O}),[$,p,v,b,w,T,R,L,O]),F=h.useRef(null);h.useImperativeHandle(t,()=>{var e;return Object.assign(Object.assign({},L),{nativeElement:null==(e=F.current)?void 0:e.nativeElement})});let W=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=Object.assign(Object.assign({},n),e)),L.scrollToField(t,n),n.focus&&L.focusField(t)}},V=e=>{if(null==C||C(e),e.errorFields.length){let t=e.errorFields[0].name;if(void 0!==x)return void W(x,t);i&&void 0!==i.scrollToFirstError&&W(i.scrollToFirstError,t)}};return A(h.createElement(aA.pg.Provider,{value:M},h.createElement(tF.n,{disabled:u},h.createElement(tW.Z.Provider,{value:N},h.createElement(aA.RV,{validateMessages:Z},h.createElement(aA.q3.Provider,{value:H},h.createElement(k_.ZP,Object.assign({id:$},I,{name:$,onFinishFailed:V,form:L,ref:F,style:Object.assign(Object.assign({},null==i?void 0:i.style),E),className:z}))))))))},kH=h.forwardRef(kB);function kF(e){if("function"==typeof e)return e;let t=(0,oS.Z)(e);return t.length<=1?t[0]:t}let kW=()=>{let{status:e,errors:t=[],warnings:n=[]}=h.useContext(aA.aM);return{status:e,errors:t,warnings:n}};kW.Context=aA.aM;let kV=kW;function kq(e){let[t,n]=h.useState(e),r=h.useRef(null),o=h.useRef([]),i=h.useRef(!1);return h.useEffect(()=>(i.current=!1,()=>{i.current=!0,w.Z.cancel(r.current),r.current=null}),[]),[t,function(e){i.current||(null===r.current&&(o.current=[],r.current=(0,w.Z)(()=>{r.current=null,n(e=>{let t=e;return o.current.forEach(e=>{t=e(t)}),t})})),o.current.push(e))}]}function kK(){let{itemRef:e}=h.useContext(aA.q3),t=h.useRef({});return function(n,r){let o=r&&"object"==typeof r&&(0,X.C4)(r),i=n.join("_");return(t.current.name!==i||t.current.originRef!==o)&&(t.current.name=i,t.current.originRef=o,t.current.ref=(0,X.sQ)(e(n),o)),t.current.ref}}var kX=n(80993),kU=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function kG(e,t){let[n,r]=h.useState("string"==typeof e?e:""),o=()=>{if("string"==typeof e&&r(e),"object"==typeof e)for(let n=0;n{o()},[JSON.stringify(e),t]),n}let kY=h.forwardRef((e,t)=>{let{prefixCls:n,justify:r,align:o,className:i,style:a,children:l,gutter:s=0,wrap:c}=e,u=kU(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:d,direction:f}=h.useContext(S.E_),[p,m]=h.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[v,b]=h.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),y=kG(o,v),w=kG(r,v),x=h.useRef(s),k=lH();h.useEffect(()=>{let e=k.subscribe(e=>{b(e);let t=x.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&m(e)});return()=>k.unsubscribe(e)},[]);let C=()=>{let e=[void 0,void 0];return(Array.isArray(s)?s:[s,void 0]).forEach((t,n)=>{if("object"==typeof t)for(let r=0;r0?-(I[0]/2):void 0;R&&(Z.marginLeft=R,Z.marginRight=R);let[T,P]=I;Z.rowGap=P;let j=h.useMemo(()=>({gutter:[T,P],wrap:c}),[T,P,c]);return E(h.createElement(v5.Provider,{value:j},h.createElement("div",Object.assign({},u,{className:N,style:Object.assign(Object.assign({},Z),a),ref:t}),l)))}),kQ=e=>{let{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},kJ=(0,k.bk)(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;return[kQ(kT(e,n))]});var k0=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let k1=24,k2=e=>{let{prefixCls:t,status:n,labelCol:r,wrapperCol:o,children:i,errors:a,warnings:l,_internalItemRender:s,extra:c,help:u,fieldId:d,marginBottom:f,onErrorVisibleChanged:p,label:m}=e,v=`${t}-item`,b=h.useContext(aA.q3),y=h.useMemo(()=>{let e=Object.assign({},o||b.wrapperCol||{});return null!==m||r||o||!b.labelCol||[void 0,"xs","sm","md","lg","xl","xxl"].forEach(t=>{let n=t?[t]:[],r=(0,e3.U2)(b.labelCol,n),o="object"==typeof r?r:{},i=(0,e3.U2)(e,n),a="object"==typeof i?i:{};"span"in o&&!("offset"in a)&&o.span{let{labelCol:e,wrapperCol:t}=b;return k0(b,["labelCol","wrapperCol"])},[b]),S=h.useRef(null),[k,C]=h.useState(0);(0,oE.Z)(()=>{c&&S.current?C(S.current.clientHeight):C(0)},[c]);let $=h.createElement("div",{className:`${v}-control-input`},h.createElement("div",{className:`${v}-control-input-content`},i)),E=h.useMemo(()=>({prefixCls:t,status:n}),[t,n]),O=null!==f||a.length||l.length?h.createElement(aA.Rk.Provider,{value:E},h.createElement(kD,{fieldId:d,errors:a,warnings:l,help:u,helpStatus:n,className:`${v}-explain-connected`,onVisibleChanged:p})):null,M={};d&&(M.id=`${d}_extra`);let I=c?h.createElement("div",Object.assign({},M,{className:`${v}-extra`,ref:S}),c):null,N=O||I?h.createElement("div",{className:`${v}-additional`,style:f?{minHeight:f+k}:{}},O,I):null,Z=s&&"pro_table_render"===s.mark&&s.render?s.render(e,{input:$,errorList:O,extra:I}):h.createElement(h.Fragment,null,$,N);return h.createElement(aA.q3.Provider,{value:x},h.createElement(bs,Object.assign({},y,{className:w}),Z),h.createElement(kJ,{prefixCls:t}))},k4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};var k3=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:k4}))};let k5=h.forwardRef(k3);var k8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function k6(e){return e?"object"!=typeof e||h.isValidElement(e)?{title:e}:e:null}let k7=e=>{var t;let{prefixCls:n,label:r,htmlFor:o,labelCol:i,labelAlign:a,colon:l,required:s,requiredMark:c,tooltip:u,vertical:d}=e,[f]=(0,nn.Z)("Form"),{labelAlign:p,labelCol:m,labelWrap:v,colon:b}=h.useContext(aA.q3);if(!r)return null;let y=i||m||{},w=a||p,x=`${n}-item-label`,S=g()(x,"left"===w&&`${x}-left`,y.className,{[`${x}-wrap`]:!!v}),k=r,C=!0===l||!1!==b&&!1!==l;C&&!d&&"string"==typeof r&&r.trim()&&(k=r.replace(/[:|:]\s*$/,""));let $=k6(u);if($){let{icon:e=h.createElement(k5,null)}=$,t=k8($,["icon"]),r=h.createElement(l1.Z,Object.assign({},t),h.cloneElement(e,{className:`${n}-item-tooltip`,title:"",onClick:e=>{e.preventDefault()},tabIndex:null}));k=h.createElement(h.Fragment,null,k,r)}let E="optional"===c,O="function"==typeof c;O?k=c(k,{required:!!s}):E&&!s&&(k=h.createElement(h.Fragment,null,k,h.createElement("span",{className:`${n}-item-optional`,title:""},(null==f?void 0:f.optional)||(null==(t=t$.Z.Form)?void 0:t.optional))));let M=g()({[`${n}-item-required`]:s,[`${n}-item-required-mark-optional`]:E||O,[`${n}-item-no-colon`]:!C});return h.createElement(bs,Object.assign({},y,{className:S}),h.createElement("label",{htmlFor:o,className:M,title:"string"==typeof r?r:""},k))},k9={success:j.Z,warning:H,error:A.Z,validating:te.Z};function Ce(e){let{children:t,errors:n,warnings:r,hasFeedback:o,validateStatus:i,prefixCls:a,meta:l,noStyle:s}=e,c=`${a}-item`,{feedbackIcons:u}=h.useContext(aA.q3),d=(0,kX.lR)(n,r,l,null,!!o,i),{isFormItemInput:f,status:p,hasFeedback:m,feedbackIcon:v}=h.useContext(aA.aM),b=h.useMemo(()=>{var e;let t;if(o){let i=!0!==o&&o.icons||u,a=d&&(null==(e=null==i?void 0:i({status:d,errors:n,warnings:r}))?void 0:e[d]),l=d&&k9[d];t=!1!==a&&l?h.createElement("span",{className:g()(`${c}-feedback-icon`,`${c}-feedback-icon-${d}`)},a||h.createElement(l,null)):null}let i={status:d||"",errors:n,warnings:r,hasFeedback:!!o,feedbackIcon:t,isFormItemInput:!0};return s&&(i.status=(null!=d?d:p)||"",i.isFormItemInput=f,i.hasFeedback=!!(null!=o?o:m),i.feedbackIcon=void 0!==o?i.feedbackIcon:v),i},[d,o,s,f,p]);return h.createElement(aA.aM.Provider,{value:b},t)}var Ct=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function Cn(e){let{prefixCls:t,className:n,rootClassName:r,style:o,help:i,errors:a,warnings:l,validateStatus:s,meta:c,hasFeedback:u,hidden:d,children:f,fieldId:p,required:m,isRequired:v,onSubItemMetaChange:y,layout:w}=e,x=Ct(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),S=`${t}-item`,{requiredMark:k,vertical:C}=h.useContext(aA.q3),$=C||"vertical"===w,E=h.useRef(null),O=kw(a),M=kw(l),I=null!=i,N=!!(I||a.length||l.length),Z=!!E.current&&(0,ci.Z)(E.current),[R,T]=h.useState(null);(0,oE.Z)(()=>{N&&E.current&&T(parseInt(getComputedStyle(E.current).marginBottom,10))},[N,Z]);let P=e=>{e||T(null)},j=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?O:c.errors,n=e?M:c.warnings;return(0,kX.lR)(t,n,c,"",!!u,s)}(),A=g()(S,n,r,{[`${S}-with-help`]:I||O.length||M.length,[`${S}-has-feedback`]:j&&u,[`${S}-has-success`]:"success"===j,[`${S}-has-warning`]:"warning"===j,[`${S}-has-error`]:"error"===j,[`${S}-is-validating`]:"validating"===j,[`${S}-hidden`]:d,[`${S}-${w}`]:w});return h.createElement("div",{className:A,style:o,ref:E},h.createElement(kY,Object.assign({className:`${S}-row`},(0,b.Z)(x,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),h.createElement(k7,Object.assign({htmlFor:p},e,{requiredMark:k,required:null!=m?m:v,prefixCls:t,vertical:$})),h.createElement(k2,Object.assign({},e,c,{errors:O,warnings:M,prefixCls:t,status:j,help:i,marginBottom:R,onErrorVisibleChanged:P}),h.createElement(aA.qI.Provider,{value:y},h.createElement(Ce,{prefixCls:t,meta:c,errors:c.errors,warnings:c.warnings,hasFeedback:u,validateStatus:j},f)))),!!R&&h.createElement("div",{className:`${S}-margin-offset`,style:{marginBottom:-R}}))}let Cr="__SPLIT__";function Co(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>{let r=e[n],o=t[n];return r===o||"function"==typeof r||"function"==typeof o})}let Ci=h.memo(e=>{let{children:t}=e;return t},(e,t)=>Co(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((e,n)=>e===t.childProps[n]));function Ca(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}let Cl=function(e){let{name:t,noStyle:n,className:r,dependencies:o,prefixCls:i,shouldUpdate:a,rules:l,children:s,required:c,label:u,messageVariables:d,trigger:f="onChange",validateTrigger:p,hidden:m,help:v,layout:b}=e,{getPrefixCls:w}=h.useContext(S.E_),{name:x}=h.useContext(aA.q3),k=kF(s),C="function"==typeof k,$=h.useContext(aA.qI),{validateTrigger:E}=h.useContext(k_.zb),O=void 0!==p?p:E,M=null!=t,I=w("form",i),N=eE(I),[Z,R,T]=kP(I,N);(0,ez.ln)("Form.Item");let P=h.useContext(k_.ZM),j=h.useRef(null),[A,D]=kq({}),[_,z]=(0,nr.Z)(()=>Ca()),L=e=>{let t=null==P?void 0:P.getKey(e.name);if(z(e.destroy?Ca():e,!0),n&&!1!==v&&$){let n=e.name;if(e.destroy)n=j.current||n;else if(void 0!==t){let[e,r]=t;j.current=n=[e].concat((0,y.Z)(r))}$(e,n)}},B=(e,t)=>{D(n=>{let r=Object.assign({},n),o=[].concat((0,y.Z)(e.name.slice(0,-1)),(0,y.Z)(t)).join(Cr);return e.destroy?delete r[o]:r[o]=e,r})},[H,F]=h.useMemo(()=>{let e=(0,y.Z)(_.errors),t=(0,y.Z)(_.warnings);return Object.values(A).forEach(n=>{e.push.apply(e,(0,y.Z)(n.errors||[])),t.push.apply(t,(0,y.Z)(n.warnings||[]))}),[e,t]},[A,_.errors,_.warnings]),W=kK();function V(t,o,i){return n&&!m?h.createElement(Ce,{prefixCls:I,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:_,errors:H,warnings:F,noStyle:!0},t):h.createElement(Cn,Object.assign({key:"row"},e,{className:g()(r,T,N,R),prefixCls:I,fieldId:o,isRequired:i,errors:H,warnings:F,meta:_,onSubItemMetaChange:B,layout:b}),t)}if(!M&&!C&&!o)return Z(V(k));let q={};return"string"==typeof u?q.label=u:t&&(q.label=String(t)),d&&(q=Object.assign(Object.assign({},q),d)),Z(h.createElement(k_.gN,Object.assign({},e,{messageVariables:q,trigger:f,validateTrigger:O,onMetaChange:L}),(n,r,i)=>{let s=(0,kX.qo)(t).length&&r?r.name:[],u=(0,kX.dD)(s,x),d=void 0!==c?c:!!(null==l?void 0:l.some(e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){let t=e(i);return(null==t?void 0:t.required)&&!(null==t?void 0:t.warningOnly)}return!1})),p=Object.assign({},n),m=null;if(Array.isArray(k)&&M)m=k;else if(C&&(!(a||o)||M));else if(!o||C||M)if(h.isValidElement(k)){let t=Object.assign(Object.assign({},k.props),p);if(t.id||(t.id=u),v||H.length>0||F.length>0||e.extra){let n=[];(v||H.length>0)&&n.push(`${u}_help`),e.extra&&n.push(`${u}_extra`),t["aria-describedby"]=n.join(" ")}H.length>0&&(t["aria-invalid"]="true"),d&&(t["aria-required"]="true"),(0,X.Yr)(k)&&(t.ref=W(s,k)),new Set([].concat((0,y.Z)((0,kX.qo)(f)),(0,y.Z)((0,kX.qo)(O)))).forEach(e=>{t[e]=function(){for(var t,n,r,o,i,a=arguments.length,l=Array(a),s=0;st.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let Cc=e=>{var{prefixCls:t,children:n}=e,r=Cs(e,["prefixCls","children"]);let{getPrefixCls:o}=h.useContext(S.E_),i=o("form",t),a=h.useMemo(()=>({prefixCls:i,status:"error"}),[i]);return h.createElement(k_.aV,Object.assign({},r),(e,t,r)=>h.createElement(aA.Rk.Provider,{value:a},n(e.map(e=>Object.assign(Object.assign({},e),{fieldKey:e.key})),t,{errors:r.errors,warnings:r.warnings})))};function Cu(){let{form:e}=h.useContext(aA.q3);return e}let Cd=kH;Cd.Item=Cl,Cd.List=Cc,Cd.ErrorList=kD,Cd.useForm=kz.Z,Cd.useFormInstance=Cu,Cd.useWatch=k_.qo,Cd.Provider=aA.RV,Cd.create=()=>{};let Cf=Cd,Ch={useBreakpoint:function(){return lV()}};function Cp(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function Cm(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}function Cg(e,t,n,r){var o=eW().unstable_batchedUpdates?function(e){eW().unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,o,r),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,o,r)}}}var Cv=h.createContext(null);let Cb=function(e){var t=e.visible,n=e.maskTransitionName,r=e.getContainer,o=e.prefixCls,i=e.rootClassName,a=e.icons,l=e.countRender,s=e.showSwitch,c=e.showProgress,u=e.current,d=e.transform,f=e.count,p=e.scale,m=e.minScale,v=e.maxScale,b=e.closeIcon,y=e.onActive,w=e.onClose,x=e.onZoomIn,S=e.onZoomOut,k=e.onRotateRight,C=e.onRotateLeft,$=e.onFlipX,E=e.onFlipY,O=e.onReset,M=e.toolbarRender,I=e.zIndex,N=e.image,Z=(0,h.useContext)(Cv),R=a.rotateLeft,T=a.rotateRight,P=a.zoomIn,j=a.zoomOut,A=a.close,D=a.left,_=a.right,z=a.flipX,L=a.flipY,B="".concat(o,"-operations-operation");h.useEffect(function(){var e=function(e){e.keyCode===eK.Z.ESC&&w()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var H=function(e,t){e.preventDefault(),e.stopPropagation(),y(t)},F=h.useCallback(function(e){var t=e.type,n=e.disabled,r=e.onClick,i=e.icon;return h.createElement("div",{key:t,className:g()(B,"".concat(o,"-operations-operation-").concat(t),(0,eV.Z)({},"".concat(o,"-operations-operation-disabled"),!!n)),onClick:r},i)},[B,o]),W=s?F({icon:D,onClick:function(e){return H(e,-1)},type:"prev",disabled:0===u}):void 0,V=s?F({icon:_,onClick:function(e){return H(e,1)},type:"next",disabled:u===f-1}):void 0,K=F({icon:L,onClick:E,type:"flipY"}),X=F({icon:z,onClick:$,type:"flipX"}),U=F({icon:R,onClick:C,type:"rotateLeft"}),G=F({icon:T,onClick:k,type:"rotateRight"}),Y=F({icon:j,onClick:S,type:"zoomOut",disabled:p<=m}),Q=F({icon:P,onClick:x,type:"zoomIn",disabled:p===v}),J=h.createElement("div",{className:"".concat(o,"-operations")},K,X,U,G,Y,Q);return h.createElement(q.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return h.createElement(nf.Z,{open:!0,getContainer:null!=r?r:document.body},h.createElement("div",{className:g()("".concat(o,"-operations-wrapper"),t,i),style:(0,eH.Z)((0,eH.Z)({},n),{},{zIndex:I})},null===b?null:h.createElement("button",{className:"".concat(o,"-close"),onClick:w},b||A),s&&h.createElement(h.Fragment,null,h.createElement("div",{className:g()("".concat(o,"-switch-left"),(0,eV.Z)({},"".concat(o,"-switch-left-disabled"),0===u)),onClick:function(e){return H(e,-1)}},D),h.createElement("div",{className:g()("".concat(o,"-switch-right"),(0,eV.Z)({},"".concat(o,"-switch-right-disabled"),u===f-1)),onClick:function(e){return H(e,1)}},_)),h.createElement("div",{className:"".concat(o,"-footer")},c&&h.createElement("div",{className:"".concat(o,"-progress")},l?l(u+1,f):"".concat(u+1," / ").concat(f)),M?M(J,(0,eH.Z)((0,eH.Z)({icons:{prevIcon:W,nextIcon:V,flipYIcon:K,flipXIcon:X,rotateLeftIcon:U,rotateRightIcon:G,zoomOutIcon:Y,zoomInIcon:Q},actions:{onActive:y,onFlipY:E,onFlipX:$,onRotateLeft:C,onRotateRight:k,onZoomOut:S,onZoomIn:x,onReset:O,onClose:w},transform:d},Z?{current:u,total:f}:{}),{},{image:N})):J)))})};var Cy={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Cw(e,t,n,r){var o=(0,h.useRef)(null),i=(0,h.useRef)([]),a=(0,h.useState)(Cy),l=(0,eL.Z)(a,2),s=l[0],c=l[1],u=function(e){c(Cy),(0,tq.Z)(Cy,s)||null==r||r({transform:Cy,action:e})},d=function(e,t){null===o.current&&(i.current=[],o.current=(0,w.Z)(function(){c(function(e){var n=e;return i.current.forEach(function(e){n=(0,eH.Z)((0,eH.Z)({},n),e)}),o.current=null,null==r||r({transform:n,action:t}),n})})),i.current.push((0,eH.Z)((0,eH.Z)({},s),e))},f=function(r,o,i,a,l){var c=e.current,u=c.width,f=c.height,h=c.offsetWidth,p=c.offsetHeight,m=c.offsetLeft,g=c.offsetTop,v=r,b=s.scale*r;b>n?(b=n,v=n/s.scale):br){if(t>0)return(0,eV.Z)({},e,i);if(t<0&&or)return(0,eV.Z)({},e,t<0?i:-i);return{}}function CS(e,t,n,r){var o=Cp(),i=o.width,a=o.height,l=null;return e<=i&&t<=a?l={x:0,y:0}:(e>i||t>a)&&(l=(0,eH.Z)((0,eH.Z)({},Cx("x",n,e,i)),Cx("y",r,t,a))),l}var Ck=1,CC=1;function C$(e,t,n,r,o,i,a){var l=o.rotate,s=o.scale,c=o.x,u=o.y,d=(0,h.useState)(!1),f=(0,eL.Z)(d,2),p=f[0],m=f[1],g=(0,h.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),v=function(e){t&&0===e.button&&(e.preventDefault(),e.stopPropagation(),g.current={diffX:e.pageX-c,diffY:e.pageY-u,transformX:c,transformY:u},m(!0))},b=function(e){n&&p&&i({x:e.pageX-g.current.diffX,y:e.pageY-g.current.diffY},"move")},y=function(){if(n&&p){m(!1);var t=g.current,r=t.transformX,o=t.transformY;if(c!==r&&u!==o){var a=e.current.offsetWidth*s,d=e.current.offsetHeight*s,f=e.current.getBoundingClientRect(),h=f.left,v=f.top,b=l%180!=0,y=CS(b?d:a,b?a:d,h,v);y&&i((0,eH.Z)({},y),"dragRebound")}}},w=function(e){if(n&&0!=e.deltaY){var t=Math.abs(e.deltaY/100),o=Math.min(t,CC),i=Ck+o*r;e.deltaY>0&&(i=Ck/i),a(i,"wheel",e.clientX,e.clientY)}};return(0,h.useEffect)(function(){var e,n,r,o;if(t){r=Cg(window,"mouseup",y,!1),o=Cg(window,"mousemove",b,!1);try{window.top!==window.self&&(e=Cg(window.top,"mouseup",y,!1),n=Cg(window.top,"mousemove",b,!1))}catch(e){(0,nE.Kp)(!1,"[rc-image] ".concat(e))}}return function(){var t,i,a,l;null==(t=r)||t.remove(),null==(i=o)||i.remove(),null==(a=e)||a.remove(),null==(l=n)||l.remove()}},[n,p,c,u,l,t]),{isMoving:p,onMouseDown:v,onMouseMove:b,onMouseUp:y,onWheel:w}}function CE(e){return new Promise(function(t){if(!e)return void t(!1);var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e})}function CO(e){var t=e.src,n=e.isCustomPlaceholder,r=e.fallback,o=(0,h.useState)(n?"loading":"normal"),i=(0,eL.Z)(o,2),a=i[0],l=i[1],s=(0,h.useRef)(!1),c="error"===a;(0,h.useEffect)(function(){var e=!0;return CE(t).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,h.useEffect)(function(){n&&!s.current?l("loading"):c&&l("normal")},[t]);var u=function(){l("normal")};return[function(e){s.current=!1,"loading"===a&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(s.current=!0,u())},c&&r?{src:r}:{onLoad:u,src:t},a]}function CM(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function CI(e,t,n,r){var o=CM(e,n),i=CM(t,r);if(0===o&&0===i)return[e.x,e.y];var a=o/(o+i);return[e.x+a*(t.x-e.x),e.y+a*(t.y-e.y)]}function CN(e,t,n,r,o,i,a){var l=o.rotate,s=o.scale,c=o.x,u=o.y,d=(0,h.useState)(!1),f=(0,eL.Z)(d,2),p=f[0],m=f[1],g=(0,h.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),v=function(e){g.current=(0,eH.Z)((0,eH.Z)({},g.current),e)},b=function(e){if(t){e.stopPropagation(),m(!0);var n=e.touches,r=void 0===n?[]:n;r.length>1?v({point1:{x:r[0].clientX,y:r[0].clientY},point2:{x:r[1].clientX,y:r[1].clientY},eventType:"touchZoom"}):v({point1:{x:r[0].clientX-c,y:r[0].clientY-u},eventType:"move"})}},y=function(e){var t=e.touches,n=void 0===t?[]:t,r=g.current,o=r.point1,l=r.point2,s=r.eventType;if(n.length>1&&"touchZoom"===s){var c={x:n[0].clientX,y:n[0].clientY},u={x:n[1].clientX,y:n[1].clientY},d=CI(o,l,c,u),f=(0,eL.Z)(d,2),h=f[0],p=f[1];a(CM(c,u)/CM(o,l),"touchZoom",h,p,!0),v({point1:c,point2:u,eventType:"touchZoom"})}else"move"===s&&(i({x:n[0].clientX-o.x,y:n[0].clientY-o.y},"move"),v({eventType:"move"}))},w=function(){if(n){if(p&&m(!1),v({eventType:"none"}),r>s)return i({x:0,y:0,scale:r},"touchZoom");var t=e.current.offsetWidth*s,o=e.current.offsetHeight*s,a=e.current.getBoundingClientRect(),c=a.left,u=a.top,d=l%180!=0,f=CS(d?o:t,d?t:o,c,u);f&&i((0,eH.Z)({},f),"dragRebound")}};return(0,h.useEffect)(function(){var e;return n&&t&&(e=Cg(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null==(t=e)||t.remove()}},[n,t]),{isTouching:p,onTouchStart:b,onTouchMove:y,onTouchEnd:w}}var CZ=["fallback","src","imgRef"],CR=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],CT=function(e){var t=e.fallback,n=e.src,r=e.imgRef,o=(0,eB.Z)(e,CZ),i=CO({src:n,fallback:t}),a=(0,eL.Z)(i,2),l=a[0],s=a[1];return p().createElement("img",(0,_.Z)({ref:function(e){r.current=e,l(e)}},o,s))};let CP=function(e){var t=e.prefixCls,n=e.src,r=e.alt,o=e.imageInfo,i=e.fallback,a=e.movable,l=void 0===a||a,s=e.onClose,c=e.visible,u=e.icons,d=void 0===u?{}:u,f=e.rootClassName,m=e.closeIcon,v=e.getContainer,b=e.current,y=void 0===b?0:b,w=e.count,x=void 0===w?1:w,S=e.countRender,k=e.scaleStep,C=void 0===k?.5:k,$=e.minScale,E=void 0===$?1:$,O=e.maxScale,M=void 0===O?50:O,I=e.transitionName,N=void 0===I?"zoom":I,Z=e.maskTransitionName,R=void 0===Z?"fade":Z,T=e.imageRender,P=e.imgCommonProps,j=e.toolbarRender,A=e.onTransform,D=e.onChange,z=(0,eB.Z)(e,CR),L=(0,h.useRef)(),B=(0,h.useContext)(Cv),H=B&&x>1,F=B&&x>=1,W=(0,h.useState)(!0),V=(0,eL.Z)(W,2),q=V[0],K=V[1],X=Cw(L,E,M,A),U=X.transform,G=X.resetTransform,Y=X.updateTransform,Q=X.dispatchZoomChange,J=C$(L,l,c,C,U,Y,Q),ee=J.isMoving,et=J.onMouseDown,en=J.onWheel,er=CN(L,l,c,E,U,Y,Q),eo=er.isTouching,ei=er.onTouchStart,ea=er.onTouchMove,el=er.onTouchEnd,es=U.rotate,ec=U.scale,eu=g()((0,eV.Z)({},"".concat(t,"-moving"),ee));(0,h.useEffect)(function(){q||K(!0)},[q]);var ed=function(){G("close")},ef=function(){Q(Ck+C,"zoomIn")},eh=function(){Q(Ck/(Ck+C),"zoomOut")},ep=function(){Y({rotate:es+90},"rotateRight")},em=function(){Y({rotate:es-90},"rotateLeft")},eg=function(){Y({flipX:!U.flipX},"flipX")},ev=function(){Y({flipY:!U.flipY},"flipY")},eb=function(){G("reset")},ey=function(e){var t=y+e;!Number.isInteger(t)||t<0||t>x-1||(K(!1),G(e<0?"prev":"next"),null==D||D(t,y))},ew=function(e){c&&H&&(e.keyCode===eK.Z.LEFT?ey(-1):e.keyCode===eK.Z.RIGHT&&ey(1))},ex=function(e){c&&(1!==ec?Y({x:0,y:0,scale:1},"doubleClick"):Q(Ck+C,"doubleClick",e.clientX,e.clientY))};(0,h.useEffect)(function(){var e=Cg(window,"keydown",ew,!1);return function(){e.remove()}},[c,H,y]);var eS=p().createElement(CT,(0,_.Z)({},P,{width:e.width,height:e.height,imgRef:L,className:"".concat(t,"-img"),alt:r,style:{transform:"translate3d(".concat(U.x,"px, ").concat(U.y,"px, 0) scale3d(").concat(U.flipX?"-":"").concat(ec,", ").concat(U.flipY?"-":"").concat(ec,", 1) rotate(").concat(es,"deg)"),transitionDuration:(!q||eo)&&"0s"},fallback:i,src:n,onWheel:en,onMouseDown:et,onDoubleClick:ex,onTouchStart:ei,onTouchMove:ea,onTouchEnd:el,onTouchCancel:el})),ek=(0,eH.Z)({url:n,alt:r},o);return p().createElement(p().Fragment,null,p().createElement(nI,(0,_.Z)({transitionName:N,maskTransitionName:R,closable:!1,keyboard:!0,prefixCls:t,onClose:s,visible:c,classNames:{wrapper:eu},rootClassName:f,getContainer:v},z,{afterClose:ed}),p().createElement("div",{className:"".concat(t,"-img-wrapper")},T?T(eS,(0,eH.Z)({transform:U,image:ek},B?{current:y}:{})):eS)),p().createElement(Cb,{visible:c,transform:U,maskTransitionName:R,closeIcon:m,getContainer:v,prefixCls:t,rootClassName:f,icons:d,countRender:S,showSwitch:H,showProgress:F,current:y,count:x,scale:ec,minScale:E,maxScale:M,toolbarRender:j,onActive:ey,onZoomIn:ef,onZoomOut:eh,onRotateRight:ep,onRotateLeft:em,onFlipX:eg,onFlipY:ev,onClose:s,onReset:eb,zIndex:void 0!==z.zIndex?z.zIndex+1:void 0,image:ek}))};var Cj=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function CA(e){var t=h.useState({}),n=(0,eL.Z)(t,2),r=n[0],o=n[1],i=h.useCallback(function(e,t){return o(function(n){return(0,eH.Z)((0,eH.Z)({},n),{},(0,eV.Z)({},e,t))}),function(){o(function(t){var n=(0,eH.Z)({},t);return delete n[e],n})}},[]);return[h.useMemo(function(){return e?e.map(function(e){if("string"==typeof e)return{data:{src:e}};var t={};return Object.keys(e).forEach(function(n){["src"].concat((0,y.Z)(Cj)).includes(n)&&(t[n]=e[n])}),{data:t}}):Object.keys(r).reduce(function(e,t){var n=r[t],o=n.canPreview,i=n.data;return o&&e.push({data:i,id:t}),e},[])},[e,r]),i,!!e]}var CD=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],C_=["src"],Cz=0;function CL(e,t){var n=h.useState(function(){return String(Cz+=1)}),r=(0,eL.Z)(n,1)[0],o=h.useContext(Cv),i={data:t,canPreview:e};return h.useEffect(function(){if(o)return o.register(r,i)},[]),h.useEffect(function(){o&&o.register(r,i)},[e,t]),r}var CB=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],CH=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],CF=function(e){var t=e.src,n=e.alt,r=e.onPreviewClose,o=e.prefixCls,i=void 0===o?"rc-image":o,a=e.previewPrefixCls,l=void 0===a?"".concat(i,"-preview"):a,s=e.placeholder,c=e.fallback,u=e.width,d=e.height,f=e.style,p=e.preview,m=void 0===p||p,v=e.className,b=e.onClick,y=e.onError,w=e.wrapperClassName,x=e.wrapperStyle,S=e.rootClassName,k=(0,eB.Z)(e,CB),C=s&&!0!==s,$="object"===(0,eq.Z)(m)?m:{},E=$.src,O=$.visible,M=void 0===O?void 0:O,I=$.onVisibleChange,N=void 0===I?r:I,Z=$.getContainer,R=void 0===Z?void 0:Z,T=$.mask,P=$.maskClassName,j=$.movable,A=$.icons,D=$.scaleStep,z=$.minScale,L=$.maxScale,B=$.imageRender,H=$.toolbarRender,F=(0,eB.Z)($,CH),W=null!=E?E:t,V=(0,ok.Z)(!!M,{value:M,onChange:N}),q=(0,eL.Z)(V,2),K=q[0],X=q[1],U=CO({src:t,isCustomPlaceholder:C,fallback:c}),G=(0,eL.Z)(U,3),Y=G[0],Q=G[1],J=G[2],ee=(0,h.useState)(null),et=(0,eL.Z)(ee,2),en=et[0],er=et[1],eo=(0,h.useContext)(Cv),ei=!!m,ea=function(){X(!1),er(null)},el=g()(i,w,S,(0,eV.Z)({},"".concat(i,"-error"),"error"===J)),es=(0,h.useMemo)(function(){var t={};return Cj.forEach(function(n){void 0!==e[n]&&(t[n]=e[n])}),t},Cj.map(function(t){return e[t]})),ec=CL(ei,(0,h.useMemo)(function(){return(0,eH.Z)((0,eH.Z)({},es),{},{src:W})},[W,es])),eu=function(e){var t=Cm(e.target),n=t.left,r=t.top;eo?eo.onPreview(ec,W,n,r):(er({x:n,y:r}),X(!0)),null==b||b(e)};return h.createElement(h.Fragment,null,h.createElement("div",(0,_.Z)({},k,{className:el,onClick:ei?eu:b,style:(0,eH.Z)({width:u,height:d},x)}),h.createElement("img",(0,_.Z)({},es,{className:g()("".concat(i,"-img"),(0,eV.Z)({},"".concat(i,"-img-placeholder"),!0===s),v),style:(0,eH.Z)({height:d},f),ref:Y},Q,{width:u,height:d,onError:y})),"loading"===J&&h.createElement("div",{"aria-hidden":"true",className:"".concat(i,"-placeholder")},s),T&&ei&&h.createElement("div",{className:g()("".concat(i,"-mask"),P),style:{display:(null==f?void 0:f.display)==="none"?"none":void 0}},T)),!eo&&ei&&h.createElement(CP,(0,_.Z)({"aria-hidden":!K,visible:K,prefixCls:l,onClose:ea,mousePosition:en,src:W,alt:n,imageInfo:{width:u,height:d},fallback:c,getContainer:R,icons:A,movable:j,scaleStep:D,minScale:z,maxScale:L,rootClassName:S,imageRender:B,imgCommonProps:es,toolbarRender:H},F)))};CF.PreviewGroup=function(e){var t,n=e.previewPrefixCls,r=void 0===n?"rc-image-preview":n,o=e.children,i=e.icons,a=void 0===i?{}:i,l=e.items,s=e.preview,c=e.fallback,u="object"===(0,eq.Z)(s)?s:{},d=u.visible,f=u.onVisibleChange,p=u.getContainer,m=u.current,g=u.movable,v=u.minScale,b=u.maxScale,y=u.countRender,w=u.closeIcon,x=u.onChange,S=u.onTransform,k=u.toolbarRender,C=u.imageRender,$=(0,eB.Z)(u,CD),E=CA(l),O=(0,eL.Z)(E,3),M=O[0],I=O[1],N=O[2],Z=(0,ok.Z)(0,{value:m}),R=(0,eL.Z)(Z,2),T=R[0],P=R[1],j=(0,h.useState)(!1),A=(0,eL.Z)(j,2),D=A[0],z=A[1],L=(null==(t=M[T])?void 0:t.data)||{},B=L.src,H=(0,eB.Z)(L,C_),F=(0,ok.Z)(!!d,{value:d,onChange:function(e,t){null==f||f(e,t,T)}}),W=(0,eL.Z)(F,2),V=W[0],q=W[1],K=(0,h.useState)(null),X=(0,eL.Z)(K,2),U=X[0],G=X[1],Y=h.useCallback(function(e,t,n,r){var o=N?M.findIndex(function(e){return e.data.src===t}):M.findIndex(function(t){return t.id===e});P(o<0?0:o),q(!0),G({x:n,y:r}),z(!0)},[M,N]);h.useEffect(function(){V?D||P(0):z(!1)},[V]);var Q=function(e,t){P(e),null==x||x(e,t)},J=function(){q(!1),G(null)},ee=h.useMemo(function(){return{register:I,onPreview:Y}},[I,Y]);return h.createElement(Cv.Provider,{value:ee},o,h.createElement(CP,(0,_.Z)({"aria-hidden":!V,movable:g,visible:V,prefixCls:r,closeIcon:w,onClose:J,mousePosition:U,imgCommonProps:H,src:B,fallback:c,icons:a,minScale:v,maxScale:b,getContainer:p,current:T,count:M.length,countRender:y,onTransform:S,toolbarRender:k,imageRender:C,onChange:Q},$)))};let CW=CF,CV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"};var Cq=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:CV}))};let CK=h.forwardRef(Cq),CX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"};var CU=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:CX}))};let CG=h.forwardRef(CU),CY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"};var CQ=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:CY}))};let CJ=h.forwardRef(CQ),C0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"};var C1=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:C0}))};let C2=h.forwardRef(C1),C4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"};var C3=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:C4}))};let C5=h.forwardRef(C3),C8=e=>({position:e||"absolute",inset:0}),C6=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:o,prefixCls:i,colorTextLightSolid:a}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:a,background:new tD.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},Y.vS),{padding:`0 ${(0,G.bf)(r)}`,[t]:{marginInlineEnd:o,svg:{verticalAlign:"baseline"}}})}},C7=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:o,margin:i,paddingLG:a,previewOperationColorDisabled:l,previewOperationHoverColor:s,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,f=new tD.C(n).setAlpha(.1),h=f.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:o,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:o,right:{_skip_check_:!0,value:o},display:"flex",color:d,backgroundColor:f.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:h.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,G.bf)(a)}`,backgroundColor:f.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:s},"&-disabled":{color:l,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},C9=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:o,zIndexPopup:i,motionDurationSlow:a}=e,l=new tD.C(t).setAlpha(.1),s=l.clone().setAlpha(.2);return{[`${o}-switch-left, ${o}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:l.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a}`,userSelect:"none","&:hover":{background:s.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${o}-switch-left`]:{insetInlineStart:e.marginSM},[`${o}-switch-right`]:{insetInlineEnd:e.marginSM}}},$e=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:o}=e;return[{[`${o}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},C8()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},C8()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${o}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${o}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[C7(e),C9(e)]}]},$t=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},C6(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},C8())}}},$n=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,rg._y)(e,"zoom"),"&":rm(e,!0)}},$r=e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new tD.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new tD.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new tD.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon}),$o=(0,k.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,eI.IX)(e,{previewCls:t,modalMaskBg:new tD.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[$t(n),$e(n),rb((0,eI.IX)(n,{componentCls:t})),$n(n)]},$r);var $i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let $a={rotateLeft:h.createElement(CK,null),rotateRight:h.createElement(CG,null),zoomIn:h.createElement(C2,null),zoomOut:h.createElement(C5,null),close:h.createElement(D.Z,null),left:h.createElement(um,null),right:h.createElement(sH.Z,null),flipX:h.createElement(CJ,null),flipY:h.createElement(CJ,{rotate:90})};var $l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let $s=e=>{var t;let{prefixCls:n,preview:r,className:o,rootClassName:i,style:a}=e,l=$l(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:s,locale:c=t$.Z,getPopupContainer:u,image:d}=h.useContext(S.E_),f=s("image",n),p=s(),m=c.Image||t$.Z.Image,v=eE(f),[b,y,w]=$o(f,v),x=g()(i,y,w,v),k=g()(o,y,null==d?void 0:d.className),[C]=(0,tt.Cn)("ImagePreview","object"==typeof r?r.zIndex:void 0),$=h.useMemo(()=>{var e;if(!1===r)return r;let t="object"==typeof r?r:{},{getContainer:n,closeIcon:o,rootClassName:i}=t,a=$l(t,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:h.createElement("div",{className:`${f}-mask-info`},h.createElement(yF.Z,null),null==m?void 0:m.preview),icons:$a},a),{rootClassName:g()(x,i),getContainer:null!=n?n:u,transitionName:(0,nt.m)(p,"zoom",t.transitionName),maskTransitionName:(0,nt.m)(p,"fade",t.maskTransitionName),zIndex:C,closeIcon:null!=o?o:null==(e=null==d?void 0:d.preview)?void 0:e.closeIcon})},[r,m,null==(t=null==d?void 0:d.preview)?void 0:t.closeIcon]),E=Object.assign(Object.assign({},null==d?void 0:d.style),a);return b(h.createElement(CW,Object.assign({prefixCls:f,preview:$,rootClassName:x,className:k,style:E},l)))};$s.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,r=$i(e,["previewPrefixCls","preview"]);let{getPrefixCls:o}=h.useContext(S.E_),i=o("image",t),a=`${i}-preview`,l=o(),s=eE(i),[c,u,d]=$o(i,s),[f]=(0,tt.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),p=h.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=g()(u,d,s,null!=(e=t.rootClassName)?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,nt.m)(l,"zoom",t.transitionName),maskTransitionName:(0,nt.m)(l,"fade",t.maskTransitionName),rootClassName:r,zIndex:f})},[n]);return c(h.createElement(CW.PreviewGroup,Object.assign({preview:p,previewPrefixCls:a,icons:$a},r)))};let $c=$s;function $u(e,t,n){return"boolean"==typeof n?n:!!e.length||(0,oS.Z)(t).some(e=>e.type===uM)}var $d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function $f(e){let{suffixCls:t,tagName:n,displayName:r}=e;return e=>h.forwardRef((r,o)=>h.createElement(e,Object.assign({ref:o,suffixCls:t,tagName:n},r)))}let $h=h.forwardRef((e,t)=>{let{prefixCls:n,suffixCls:r,className:o,tagName:i}=e,a=$d(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:l}=h.useContext(S.E_),s=l("layout",n),[c,u,d]=ux(s),f=r?`${s}-${r}`:s;return c(h.createElement(i,Object.assign({className:g()(n||f,o,u,d),ref:t},a)))}),$p=h.forwardRef((e,t)=>{let{direction:n}=h.useContext(S.E_),[r,o]=h.useState([]),{prefixCls:i,className:a,rootClassName:l,children:s,hasSider:c,tagName:u,style:d}=e,f=$d(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),p=(0,b.Z)(f,["suffixCls"]),{getPrefixCls:m,layout:v}=h.useContext(S.E_),w=m("layout",i),x=$u(r,s,c),[k,C,$]=ux(w),E=g()(w,{[`${w}-has-sider`]:x,[`${w}-rtl`]:"rtl"===n},null==v?void 0:v.className,a,l,C,$),O=h.useMemo(()=>({siderHook:{addSider:e=>{o(t=>[].concat((0,y.Z)(t),[e]))},removeSider:e=>{o(t=>t.filter(t=>t!==e))}}}),[]);return k(h.createElement(uv.Provider,{value:O},h.createElement(u,Object.assign({ref:t,className:E,style:Object.assign(Object.assign({},null==v?void 0:v.style),d)},p),s)))}),$m=$f({tagName:"div",displayName:"Layout"})($p),$g=$f({suffixCls:"header",tagName:"header",displayName:"Header"})($h),$v=$f({suffixCls:"footer",tagName:"footer",displayName:"Footer"})($h),$b=$f({suffixCls:"content",tagName:"main",displayName:"Content"})($h),$y=$m;$y.Header=$g,$y.Footer=$v,$y.Content=$b,$y.Sider=uM,$y._InternalSiderContext=uE;let $w=$y,$x=function(){let e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{let r=n[t];void 0!==r&&(e[t]=r)})}return e},$S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};var $k=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:$S}))};let $C=h.forwardRef($k),$$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};var $E=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:$$}))};let $O=h.forwardRef($E),$M={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"};var $I=[10,20,50,100];let $N=function(e){var t=e.pageSizeOptions,n=void 0===t?$I:t,r=e.locale,o=e.changeSize,i=e.pageSize,a=e.goButton,l=e.quickGo,s=e.rootPrefixCls,c=e.disabled,u=e.buildOptionText,d=e.showSizeChanger,f=e.sizeChangerRender,h=p().useState(""),m=(0,eL.Z)(h,2),g=m[0],v=m[1],b=function(){return!g||Number.isNaN(g)?void 0:Number(g)},y="function"==typeof u?u:function(e){return"".concat(e," ").concat(r.items_per_page)},w=function(e){v(e.target.value)},x=function(e){!a&&""!==g&&(v(""),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(s,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(s,"-item"))>=0)||null==l||l(b()))},S=function(e){""!==g&&(e.keyCode===eK.Z.ENTER||"click"===e.type)&&(v(""),null==l||l(b()))},k=function(){return n.some(function(e){return e.toString()===i.toString()})?n:n.concat([i]).sort(function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))})},C="".concat(s,"-options");if(!d&&!l)return null;var $=null,E=null,O=null;return d&&f&&($=f({disabled:c,size:i,onSizeChange:function(e){null==o||o(Number(e))},"aria-label":r.page_size,className:"".concat(C,"-size-changer"),options:k().map(function(e){return{label:y(e),value:e}})})),l&&(a&&(O="boolean"==typeof a?p().createElement("button",{type:"button",onClick:S,onKeyUp:S,disabled:c,className:"".concat(C,"-quick-jumper-button")},r.jump_to_confirm):p().createElement("span",{onClick:S,onKeyUp:S},a)),E=p().createElement("div",{className:"".concat(C,"-quick-jumper")},r.jump_to,p().createElement("input",{disabled:c,type:"text",value:g,onChange:w,onKeyUp:S,onBlur:x,"aria-label":r.page}),r.page,O)),p().createElement("li",{className:C},$,E)},$Z=function(e){var t,n=e.rootPrefixCls,r=e.page,o=e.active,i=e.className,a=e.showTitle,l=e.onClick,s=e.onKeyPress,c=e.itemRender,u="".concat(n,"-item"),d=g()(u,"".concat(u,"-").concat(r),(t={},(0,eV.Z)(t,"".concat(u,"-active"),o),(0,eV.Z)(t,"".concat(u,"-disabled"),!r),t),i),f=function(){l(r)},h=function(e){s(e,l,r)},m=c(r,"page",p().createElement("a",{rel:"nofollow"},r));return m?p().createElement("li",{title:a?String(r):null,className:d,onClick:f,onKeyDown:h,tabIndex:0},m):null};var $R=function(e,t,n){return n};function $T(){}function $P(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function $j(e,t,n){return Math.floor((n-1)/(void 0===e?t:e))+1}let $A=function(e){var t,n,r,o=e.prefixCls,i=void 0===o?"rc-pagination":o,a=e.selectPrefixCls,l=void 0===a?"rc-select":a,s=e.className,c=e.current,u=e.defaultCurrent,d=void 0===u?1:u,f=e.total,m=void 0===f?0:f,v=e.pageSize,b=e.defaultPageSize,y=void 0===b?10:b,w=e.onChange,x=void 0===w?$T:w,S=e.hideOnSinglePage,k=e.align,C=e.showPrevNextJumpers,$=void 0===C||C,E=e.showQuickJumper,O=e.showLessItems,M=e.showTitle,I=void 0===M||M,N=e.onShowSizeChange,Z=void 0===N?$T:N,R=e.locale,T=void 0===R?$M:R,P=e.style,j=e.totalBoundaryShowSizeChanger,A=void 0===j?50:j,D=e.disabled,z=e.simple,L=e.showTotal,B=e.showSizeChanger,H=void 0===B?m>A:B,F=e.sizeChangerRender,W=e.pageSizeOptions,V=e.itemRender,q=void 0===V?$R:V,X=e.jumpPrevIcon,U=e.jumpNextIcon,G=e.prevIcon,Y=e.nextIcon,Q=p().useRef(null),J=(0,ok.Z)(10,{value:v,defaultValue:y}),ee=(0,eL.Z)(J,2),et=ee[0],en=ee[1],er=(0,ok.Z)(1,{value:c,defaultValue:d,postState:function(e){return Math.max(1,Math.min(e,$j(void 0,et,m)))}}),eo=(0,eL.Z)(er,2),ei=eo[0],ea=eo[1],el=p().useState(ei),es=(0,eL.Z)(el,2),ec=es[0],eu=es[1];(0,h.useEffect)(function(){eu(ei)},[ei]);var ed=Math.max(1,ei-(O?3:5)),ef=Math.min($j(void 0,et,m),ei+(O?3:5));function eh(t,n){var r=t||p().createElement("button",{type:"button","aria-label":n,className:"".concat(i,"-item-link")});return"function"==typeof t&&(r=p().createElement(t,(0,eH.Z)({},e))),r}function ep(e){var t,n=e.target.value,r=$j(void 0,et,m);return""===n?n:Number.isNaN(Number(n))?ec:n>=r?r:Number(n)}function em(e){return $P(e)&&e!==ei&&$P(m)&&m>0}var eg=m>et&&E;function ev(e){(e.keyCode===eK.Z.UP||e.keyCode===eK.Z.DOWN)&&e.preventDefault()}function eb(e){var t=ep(e);switch(t!==ec&&eu(t),e.keyCode){case eK.Z.ENTER:ex(t);break;case eK.Z.UP:ex(t-1);break;case eK.Z.DOWN:ex(t+1)}}function ey(e){ex(ep(e))}function ew(e){var t=$j(e,et,m),n=ei>t&&0!==t?t:ei;en(e),eu(n),null==Z||Z(ei,e),ea(n),null==x||x(n,e)}function ex(e){if(em(e)&&!D){var t=$j(void 0,et,m),n=e;return e>t?n=t:e<1&&(n=1),n!==ec&&eu(n),ea(n),null==x||x(n,et),n}return ei}var eS=ei>1,ek=ei<$j(void 0,et,m);function eC(){eS&&ex(ei-1)}function e$(){ek&&ex(ei+1)}function eE(){ex(ed)}function eO(){ex(ef)}function eM(e,t){if("Enter"===e.key||e.charCode===eK.Z.ENTER||e.keyCode===eK.Z.ENTER){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;om?m:ei*et])),ez=null,eB=$j(void 0,et,m);if(S&&m<=et)return null;var eF=[],eW={rootPrefixCls:i,onClick:ex,onKeyPress:eM,showTitle:I,itemRender:q,page:-1},eX=ei-1>0?ei-1:0,eU=ei+1=2*e0&&3!==ei&&(eF[0]=p().cloneElement(eF[0],{className:g()("".concat(i,"-item-after-jump-prev"),eF[0].props.className)}),eF.unshift(eA)),eB-ei>=2*e0&&ei!==eB-2){var e9=eF[eF.length-1];eF[eF.length-1]=p().cloneElement(e9,{className:g()("".concat(i,"-item-before-jump-next"),e9.props.className)}),eF.push(ez)}1!==e8&&eF.unshift(p().createElement($Z,(0,_.Z)({},eW,{key:1,page:1}))),e6!==eB&&eF.push(p().createElement($Z,(0,_.Z)({},eW,{key:eB,page:eB})))}var te=eT(eX);if(te){var tt=!eS||!eB;te=p().createElement("li",{title:I?T.prev_page:null,onClick:eC,tabIndex:tt?null:0,onKeyDown:eI,className:g()("".concat(i,"-prev"),(0,eV.Z)({},"".concat(i,"-disabled"),tt)),"aria-disabled":tt},te)}var tn=eP(eU);tn&&(z?(n=!ek,r=eS?0:null):r=(n=!ek||!eB)?null:0,tn=p().createElement("li",{title:I?T.next_page:null,onClick:e$,tabIndex:r,onKeyDown:eN,className:g()("".concat(i,"-next"),(0,eV.Z)({},"".concat(i,"-disabled"),n)),"aria-disabled":n},tn));var tr=g()(i,s,(t={},(0,eV.Z)(t,"".concat(i,"-start"),"start"===k),(0,eV.Z)(t,"".concat(i,"-center"),"center"===k),(0,eV.Z)(t,"".concat(i,"-end"),"end"===k),(0,eV.Z)(t,"".concat(i,"-simple"),z),(0,eV.Z)(t,"".concat(i,"-disabled"),D),t));return p().createElement("ul",(0,_.Z)({className:tr,style:P,ref:Q},eD),e_,te,z?eJ:eF,tn,p().createElement($N,{locale:T,rootPrefixCls:i,disabled:D,selectPrefixCls:l,changeSize:ew,pageSize:et,pageSizeOptions:W,quickGo:eg?ex:null,goButton:eQ,showSizeChanger:H,sizeChangerRender:F}))};var $D=n(62906),$_=n(14781);let $z=e=>{let{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},$L=(0,k.bk)(["Pagination","bordered"],e=>[$z((0,$_.B4)(e))],$_.eh);function $B(e){return(0,h.useMemo)(()=>"boolean"==typeof e?[e,{}]:e&&"object"==typeof e?[!0,e]:[void 0,void 0],[e])}var $H=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let $F=e=>{let{align:t,prefixCls:n,selectPrefixCls:r,className:o,rootClassName:i,style:a,size:l,locale:s,responsive:c,showSizeChanger:u,selectComponentClass:d,pageSizeOptions:f}=e,p=$H(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:m}=lV(c),[,v]=(0,e$.ZP)(),{getPrefixCls:b,direction:y,pagination:w={}}=h.useContext(S.E_),x=b("pagination",n),[k,C,$]=(0,$_.ZP)(x),E=(0,aj.Z)(l),O="small"===E||!!(m&&!E&&c),[M]=(0,nn.Z)("Pagination",$D.Z),I=Object.assign(Object.assign({},M),s),[N,Z]=$B(u),[R,T]=$B(w.showSizeChanger),P=null!=N?N:R,j=null!=Z?Z:T,A=d||lR,D=h.useMemo(()=>f?f.map(e=>Number(e)):void 0,[f]),_=e=>{var t;let{disabled:n,size:r,onSizeChange:o,"aria-label":i,className:a,options:l}=e,{className:s,onChange:c}=j||{},u=null==(t=l.find(e=>String(e.value)===String(r)))?void 0:t.value;return h.createElement(A,Object.assign({disabled:n,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:e=>e.parentNode,"aria-label":i,options:l},j,{value:u,onChange:(e,t)=>{null==o||o(e),null==c||c(e,t)},size:O?"small":"middle",className:g()(a,s)}))},z=h.useMemo(()=>{let e=h.createElement("span",{className:`${x}-item-ellipsis`},"•••"),t=h.createElement("button",{className:`${x}-item-link`,type:"button",tabIndex:-1},"rtl"===y?h.createElement(sH.Z,null):h.createElement(um,null)),n=h.createElement("button",{className:`${x}-item-link`,type:"button",tabIndex:-1},"rtl"===y?h.createElement(um,null):h.createElement(sH.Z,null));return{prevIcon:t,nextIcon:n,jumpPrevIcon:h.createElement("a",{className:`${x}-item-link`},h.createElement("div",{className:`${x}-item-container`},"rtl"===y?h.createElement($O,{className:`${x}-item-link-icon`}):h.createElement($C,{className:`${x}-item-link-icon`}),e)),jumpNextIcon:h.createElement("a",{className:`${x}-item-link`},h.createElement("div",{className:`${x}-item-container`},"rtl"===y?h.createElement($C,{className:`${x}-item-link-icon`}):h.createElement($O,{className:`${x}-item-link-icon`}),e))}},[y,x]),L=b("select",r),B=g()({[`${x}-${t}`]:!!t,[`${x}-mini`]:O,[`${x}-rtl`]:"rtl"===y,[`${x}-bordered`]:v.wireframe},null==w?void 0:w.className,o,i,C,$),H=Object.assign(Object.assign({},null==w?void 0:w.style),a);return k(h.createElement(h.Fragment,null,v.wireframe&&h.createElement($L,{prefixCls:x}),h.createElement($A,Object.assign({},z,p,{style:H,prefixCls:x,selectPrefixCls:L,className:B,locale:I,pageSizeOptions:D,showSizeChanger:P,sizeChangerRender:_}))))},$W=100,$V=20,$q=40,$K=80*Math.PI,$X=50,$U=e=>{let{dotClassName:t,style:n,hasCircleCls:r}=e;return h.createElement("circle",{className:g()(`${t}-circle`,{[`${t}-circle-bg`]:r}),r:$q,cx:$X,cy:$X,strokeWidth:$V,style:n})},$G=e=>{let{percent:t,prefixCls:n}=e,r=`${n}-dot`,o=`${r}-holder`,i=`${o}-hidden`,[a,l]=h.useState(!1);(0,oE.Z)(()=>{0!==t&&l(!0)},[0!==t]);let s=Math.max(Math.min(t,100),0);if(!a)return null;let c={strokeDashoffset:`${$K/4}`,strokeDasharray:`${$K*s/100} ${$K*(100-s)/100}`};return h.createElement("span",{className:g()(o,`${r}-progress`,s<=0&&i)},h.createElement("svg",{viewBox:`0 0 ${$W} ${$W}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":s},h.createElement($U,{dotClassName:r,hasCircleCls:!0}),h.createElement($U,{dotClassName:r,style:c})))};function $Y(e){let{prefixCls:t,percent:n=0}=e,r=`${t}-dot`,o=`${r}-holder`,i=`${o}-hidden`;return h.createElement(h.Fragment,null,h.createElement("span",{className:g()(o,n>0&&i)},h.createElement("span",{className:g()(r,`${t}-dot-spin`)},[1,2,3,4].map(e=>h.createElement("i",{className:`${t}-dot-item`,key:e})))),h.createElement($G,{prefixCls:t,percent:n}))}function $Q(e){let{prefixCls:t,indicator:n,percent:r}=e,o=`${t}-dot`;return n&&h.isValidElement(n)?(0,U.Tm)(n,{className:g()(n.props.className,o),percent:r}):h.createElement($Y,{prefixCls:t,percent:r})}let $J=new G.E4("antSpinMove",{to:{opacity:1}}),$0=new G.E4("antRotate",{to:{transform:"rotate(405deg)"}}),$1=e=>{let{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",top:"50%",transform:"translate(-50%, -50%)",insetInlineStart:"50%"},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:$J,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:$0,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(t=>`${t} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},$2=e=>{let{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:n}},$4=(0,k.I$)("Spin",e=>[$1((0,eI.IX)(e,{spinDotDefault:e.colorTextDescription}))],$2),$3=200,$5=[[30,.05],[70,.03],[96,.01]];function $8(e,t){let[n,r]=h.useState(0),o=h.useRef(null),i="auto"===t;return h.useEffect(()=>(i&&e&&(r(0),o.current=setInterval(()=>{r(e=>{let t=100-e;for(let n=0;n<$5.length;n+=1){let[r,o]=$5[n];if(e<=r)return e+t*o}return e})},$3)),()=>{clearInterval(o.current)}),[i,e]),i?n:t}var $6=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function $7(e,t){return!!e&&!!t&&!isNaN(Number(t))}let $9=e=>{var t;let{prefixCls:n,spinning:r=!0,delay:o=0,className:i,rootClassName:a,size:l="default",tip:c,wrapperClassName:u,style:d,children:f,fullscreen:p=!1,indicator:m,percent:v}=e,b=$6(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:y,direction:w,spin:x}=h.useContext(S.E_),k=y("spin",n),[C,$,E]=$4(k),[O,M]=h.useState(()=>r&&!$7(r,o)),I=$8(O,v);h.useEffect(()=>{if(r){let e=mP(o,()=>{M(!0)});return e(),()=>{var t;null==(t=null==e?void 0:e.cancel)||t.call(e)}}M(!1)},[o,r]);let N=h.useMemo(()=>void 0!==f&&!p,[f,p]),Z=g()(k,null==x?void 0:x.className,{[`${k}-sm`]:"small"===l,[`${k}-lg`]:"large"===l,[`${k}-spinning`]:O,[`${k}-show-text`]:!!c,[`${k}-rtl`]:"rtl"===w},i,!p&&a,$,E),R=g()(`${k}-container`,{[`${k}-blur`]:O}),T=null!=(t=null!=m?m:null==x?void 0:x.indicator)?t:s,P=Object.assign(Object.assign({},null==x?void 0:x.style),d),j=h.createElement("div",Object.assign({},b,{style:P,className:Z,"aria-live":"polite","aria-busy":O}),h.createElement($Q,{prefixCls:k,indicator:T,percent:I}),c&&(N||p)?h.createElement("div",{className:`${k}-text`},c):null);return C(N?h.createElement("div",Object.assign({},b,{className:g()(`${k}-nested-loading`,u,$,E)}),O&&h.createElement("div",{key:"loading"},j),h.createElement("div",{className:R,key:"container"},f)):p?h.createElement("div",{className:g()(`${k}-fullscreen`,{[`${k}-fullscreen-show`]:O},a,$,E)},j):j)};$9.setDefaultIndicator=e=>{s=e};let Ee=$9,Et=p().createContext({});Et.Consumer;var En=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let Er=e=>{var{prefixCls:t,className:n,avatar:r,title:o,description:i}=e,a=En(e,["prefixCls","className","avatar","title","description"]);let{getPrefixCls:l}=(0,h.useContext)(S.E_),s=l("list",t),c=g()(`${s}-item-meta`,n),u=p().createElement("div",{className:`${s}-item-meta-content`},o&&p().createElement("h4",{className:`${s}-item-meta-title`},o),i&&p().createElement("div",{className:`${s}-item-meta-description`},i));return p().createElement("div",Object.assign({},a,{className:c}),r&&p().createElement("div",{className:`${s}-item-meta-avatar`},r),(o||i)&&u)},Eo=p().forwardRef((e,t)=>{let{prefixCls:n,children:r,actions:o,extra:i,styles:a,className:l,classNames:s,colStyle:c}=e,u=En(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:d,itemLayout:f}=(0,h.useContext)(Et),{getPrefixCls:m,list:v}=(0,h.useContext)(S.E_),b=e=>{var t,n;return g()(null==(n=null==(t=null==v?void 0:v.item)?void 0:t.classNames)?void 0:n[e],null==s?void 0:s[e])},y=e=>{var t,n;return Object.assign(Object.assign({},null==(n=null==(t=null==v?void 0:v.item)?void 0:t.styles)?void 0:n[e]),null==a?void 0:a[e])},w=()=>{let e=!1;return h.Children.forEach(r,t=>{"string"==typeof t&&(e=!0)}),e&&h.Children.count(r)>1},x=()=>"vertical"===f?!!i:!w(),k=m("list",n),C=o&&o.length>0&&p().createElement("ul",{className:g()(`${k}-item-action`,b("actions")),key:"actions",style:y("actions")},o.map((e,t)=>p().createElement("li",{key:`${k}-item-action-${t}`},e,t!==o.length-1&&p().createElement("em",{className:`${k}-item-action-split`})))),$=d?"div":"li",E=p().createElement($,Object.assign({},u,d?{}:{ref:t},{className:g()(`${k}-item`,{[`${k}-item-no-flex`]:!x()},l)}),"vertical"===f&&i?[p().createElement("div",{className:`${k}-item-main`,key:"content"},r,C),p().createElement("div",{className:g()(`${k}-item-extra`,b("extra")),key:"extra",style:y("extra")},i)]:[r,C,(0,U.Tm)(i,{key:"extra"})]);return d?p().createElement(bs,{ref:t,flex:1,style:c},E):E});Eo.Meta=Er;let Ei=Eo,Ea=e=>{let{listBorderedCls:t,componentCls:n,paddingLG:r,margin:o,itemPaddingSM:i,itemPaddingLG:a,marginLG:l,borderRadiusLG:s}=e;return{[t]:{border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:s,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${(0,G.bf)(o)} ${(0,G.bf)(l)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:i}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:a}}}},El=e=>{let{componentCls:t,screenSM:n,screenMD:r,marginLG:o,marginSM:i,margin:a}=e;return{[`@media screen and (max-width:${r}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:o}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:o}}}},[`@media screen and (max-width: ${n}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${(0,G.bf)(a)}`}}}}}},Es=e=>{let{componentCls:t,antCls:n,controlHeight:r,minHeight:o,paddingSM:i,marginLG:a,padding:l,itemPadding:s,colorPrimary:c,itemPaddingSM:u,itemPaddingLG:d,paddingXS:f,margin:h,colorText:p,colorTextDescription:m,motionDurationSlow:g,lineWidth:v,headerBg:b,footerBg:y,emptyTextPadding:w,metaMarginBottom:x,avatarMarginRight:S,titleMarginBottom:k,descriptionFontSize:C}=e;return{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:b},[`${t}-footer`]:{background:y},[`${t}-header, ${t}-footer`]:{paddingBlock:i},[`${t}-pagination`]:{marginBlockStart:a,[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:o,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:s,color:p,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:S},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:p},[`${t}-item-meta-title`]:{margin:`0 0 ${(0,G.bf)(e.marginXXS)} 0`,color:p,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:p,transition:`all ${g}`,"&:hover":{color:c}}},[`${t}-item-meta-description`]:{color:m,fontSize:C,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${(0,G.bf)(f)}`,color:m,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:v,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${(0,G.bf)(l)} 0`,color:m,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:w,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:h,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:a},[`${t}-item-meta`]:{marginBlockEnd:x,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:k,color:p,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:l,marginInlineStart:"auto","> li":{padding:`0 ${(0,G.bf)(l)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:d},[`${t}-sm ${t}-item`]:{padding:u},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},Ec=e=>({contentWidth:220,itemPadding:`${(0,G.bf)(e.paddingContentVertical)} 0`,itemPaddingSM:`${(0,G.bf)(e.paddingContentVerticalSM)} ${(0,G.bf)(e.paddingContentHorizontal)}`,itemPaddingLG:`${(0,G.bf)(e.paddingContentVerticalLG)} ${(0,G.bf)(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),Eu=(0,k.I$)("List",e=>{let t=(0,eI.IX)(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[Es(t),Ea(t),El(t)]},Ec);var Ed=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function Ef(e,t){var{pagination:n=!1,prefixCls:r,bordered:o=!1,split:i=!0,className:a,rootClassName:l,style:s,children:c,itemLayout:u,loadMore:d,grid:f,dataSource:p=[],size:m,header:v,footer:b,loading:w=!1,rowKey:x,renderItem:k,locale:C}=e,$=Ed(e,["pagination","prefixCls","bordered","split","className","rootClassName","style","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]);let E=n&&"object"==typeof n?n:{},[O,M]=h.useState(E.defaultCurrent||1),[I,N]=h.useState(E.defaultPageSize||10),{getPrefixCls:Z,renderEmpty:R,direction:T,list:P}=h.useContext(S.E_),j={current:1,total:0},A=e=>(t,r)=>{var o;M(t),N(r),n&&(null==(o=null==n?void 0:n[e])||o.call(n,t,r))},D=A("onChange"),_=A("onShowSizeChange"),z=(e,t)=>{let n;return k?((n="function"==typeof x?x(e):x?e[x]:e.key)||(n=`list-item-${t}`),h.createElement(h.Fragment,{key:n},k(e,t))):null},L=()=>!!(d||n||b),B=Z("list",r),[H,F,W]=Eu(B),V=w;"boolean"==typeof V&&(V={spinning:V});let q=!!(null==V?void 0:V.spinning),K=(0,aj.Z)(m),X="";switch(K){case"large":X="lg";break;case"small":X="sm"}let U=g()(B,{[`${B}-vertical`]:"vertical"===u,[`${B}-${X}`]:X,[`${B}-split`]:i,[`${B}-bordered`]:o,[`${B}-loading`]:q,[`${B}-grid`]:!!f,[`${B}-something-after-last-item`]:L(),[`${B}-rtl`]:"rtl"===T},null==P?void 0:P.className,a,l,F,W),G=$x(j,{total:p.length,current:O,pageSize:I},n||{}),Y=Math.ceil(G.total/G.pageSize);G.current>Y&&(G.current=Y);let Q=n&&h.createElement("div",{className:g()(`${B}-pagination`)},h.createElement($F,Object.assign({align:"end"},G,{onChange:D,onShowSizeChange:_}))),J=(0,y.Z)(p);n&&p.length>(G.current-1)*G.pageSize&&(J=(0,y.Z)(p).splice((G.current-1)*G.pageSize,G.pageSize));let ee=lV(Object.keys(f||{}).some(e=>["xs","sm","md","lg","xl","xxl"].includes(e))),et=h.useMemo(()=>{for(let e=0;e{if(!f)return;let e=et&&f[et]?f[et]:f.column;if(e)return{width:`${100/e}%`,maxWidth:`${100/e}%`}},[JSON.stringify(f),et]),er=q&&h.createElement("div",{style:{minHeight:53}});if(J.length>0){let e=J.map((e,t)=>z(e,t));er=f?h.createElement(kY,{gutter:f.gutter},h.Children.map(e,e=>h.createElement("div",{key:null==e?void 0:e.key,style:en},e))):h.createElement("ul",{className:`${B}-items`},e)}else c||q||(er=h.createElement("div",{className:`${B}-empty-text`},(null==C?void 0:C.emptyText)||(null==R?void 0:R("List"))||h.createElement(aP,{componentName:"List"})));let eo=G.position||"bottom",ei=h.useMemo(()=>({grid:f,itemLayout:u}),[JSON.stringify(f),u]);return H(h.createElement(Et.Provider,{value:ei},h.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},null==P?void 0:P.style),s),className:U},$),("top"===eo||"both"===eo)&&Q,v&&h.createElement("div",{className:`${B}-header`},v),h.createElement(Ee,Object.assign({},V),er,c),b&&h.createElement("div",{className:`${B}-footer`},b),d||("bottom"===eo||"both"===eo)&&Q)))}let Eh=h.forwardRef(Ef);Eh.Item=Ei;let Ep=Eh;function Em(){var e=(0,h.useState)({id:0,callback:null}),t=(0,eL.Z)(e,2),n=t[0],r=t[1],o=(0,h.useCallback)(function(e){r(function(t){return{id:t.id+1,callback:e}})},[]);return(0,h.useEffect)(function(){var e;null==(e=n.callback)||e.call(n)},[n]),o}let Eg=h.createContext(null),Ev=function(e){var t=h.useContext(Eg),n=t.notFoundContent,r=t.activeIndex,o=t.setActiveIndex,i=t.selectOption,a=t.onFocus,l=t.onBlur,s=e.prefixCls,c=e.options,u=c[r]||{};return h.createElement(uc,{prefixCls:"".concat(s,"-menu"),activeKey:u.key,onSelect:function(e){var t=e.key;i(c.find(function(e){return e.key===t}))},onFocus:a,onBlur:l},c.map(function(e,t){var n=e.key,r=e.disabled,i=e.className,a=e.style,l=e.label;return h.createElement(cq,{key:n,disabled:r,className:i,style:a,onMouseEnter:function(){o(t)}},l)}),!c.length&&h.createElement(cq,{disabled:!0},n))};var Eb={bottomRight:{points:["tl","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomLeft:{points:["tr","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["bl","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["br","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}};let Ey=function(e){var t=e.prefixCls,n=e.options,r=e.children,o=e.visible,i=e.transitionName,a=e.getPopupContainer,l=e.dropdownClassName,s=e.direction,c=e.placement,u="".concat(t,"-dropdown"),d=h.createElement(Ev,{prefixCls:u,options:n}),f=(0,h.useMemo)(function(){var e;return"rtl"===s?"top"===c?"topLeft":"bottomLeft":"top"===c?"topRight":"bottomRight"},[s,c]);return h.createElement(ih.Z,{prefixCls:u,popupVisible:o,popup:d,popupPlacement:f,popupTransitionName:i,builtinPlacements:Eb,getPopupContainer:a,popupClassName:l},r)},Ew=function(){return null};function Ex(e){var t=e.selectionStart;return e.value.slice(0,t)}function ES(e,t){return t.reduce(function(t,n){var r=e.lastIndexOf(n);return r>t.location?{location:r,prefix:n}:t},{location:-1,prefix:""})}function Ek(e){return(e||"").toLowerCase()}function EC(e,t,n){var r=e[0];if(!r||r===n)return e;for(var o=e,i=t.length,a=0;a=0)return[!0,"",t,n]}return[X,Q,en,ea]},[b,X,B,eb,Q,en,ea]),ex=(0,eL.Z)(ew,4),eS=ex[0],ek=ex[1],eC=ex[2],e$=ex[3],eE=p().useCallback(function(e){var t;return(t=v&&v.length>0?v.map(function(e){var t;return(0,eH.Z)((0,eH.Z)({},e),{},{key:null!=(t=null==e?void 0:e.key)?t:e.value})}):(0,oS.Z)(m).map(function(e){var t=e.props,n=e.key;return(0,eH.Z)((0,eH.Z)({},t),{},{label:t.children,key:n||t.value})})).filter(function(t){return!1===k||k(e,t)})},[m,v,k]),eO=p().useMemo(function(){return eE(ek)},[eE,ek]),eM=Em(),eI=function(e,t,n){U(!0),J(e),er(t),el(n),ed(0)},eN=function(e){U(!1),el(0),J(""),eM(e)},eZ=function(e){ey(e),null==C||C(e)},eR=function(e){eZ(e.target.value)},eT=function(e){var t,n=e.value,r=E$(eb,{measureLocation:e$,targetText:void 0===n?"":n,prefix:eC,selectionStart:null==(t=V())?void 0:t.selectionStart,split:s}),o=r.text,i=r.selectionLocation;eZ(o),eN(function(){EE(V(),i)}),null==I||I(e,eC)},eP=function(e){var t=e.which;if(null==$||$(e),eS){if(t===eK.Z.UP||t===eK.Z.DOWN){var n=eO.length;ed((eu+(t===eK.Z.UP?-1:1)+n)%n),e.preventDefault()}else if(t===eK.Z.ESC)eN();else if(t===eK.Z.ENTER){if(e.preventDefault(),y)return;if(!eO.length)return void eN();eT(eO[eu])}}},ej=function(e){var t=e.key,n=e.which,r=Ex(e.target),o=ES(r,B),i=o.location,a=o.prefix;if(null==E||E(e),-1===[eK.Z.ESC,eK.Z.UP,eK.Z.DOWN,eK.Z.ENTER].indexOf(n))if(-1!==i){var l=r.slice(i+a.length),c=x(l,s),u=!!eE(l).length;c?(t===a||"Shift"===t||n===eK.Z.ALT||"AltGraph"===t||eS||l!==ek&&u)&&eI(l,a,i):eS&&eN(),M&&c&&M(l,a)}else eS&&eN()},eA=function(e){!eS&&O&&O(e)},eD=(0,h.useRef)(),e_=function(e){window.clearTimeout(eD.current),!ep&&e&&N&&N(e),em(!0)},ez=function(e){eD.current=window.setTimeout(function(){em(!1),eN(),null==Z||Z(e)},0)},eF=function(){e_()},eW=function(){ez()};return p().createElement("div",{className:g()(n,r),style:o,ref:H},p().createElement(y6,(0,_.Z)({ref:F,value:eb},L,{rows:z,onChange:eR,onKeyDown:eP,onKeyUp:ej,onPressEnter:eA,onFocus:e_,onBlur:ez})),eS&&p().createElement("div",{ref:W,className:"".concat(n,"-measure")},eb.slice(0,e$),p().createElement(Eg.Provider,{value:{notFoundContent:u,activeIndex:eu,setActiveIndex:ed,selectOption:eT,onFocus:eF,onBlur:eW}},p().createElement(Ey,{prefixCls:n,transitionName:R,placement:T,direction:P,options:eO,visible:!0,getPopupContainer:j,dropdownClassName:A},p().createElement("span",null,eC))),eb.slice(e$+eC.length)))}),ER=(0,h.forwardRef)(function(e,t){var n=e.suffix,r=e.prefixCls,o=void 0===r?"rc-mentions":r,i=e.defaultValue,a=e.value,l=e.allowClear,s=e.onChange,c=e.classNames,u=e.className,d=e.disabled,f=e.onClear,m=(0,eB.Z)(e,EN),g=(0,h.useRef)(null),v=(0,h.useRef)(null);(0,h.useImperativeHandle)(t,function(){var e,t;return(0,eH.Z)((0,eH.Z)({},v.current),{},{nativeElement:(null==(e=g.current)?void 0:e.nativeElement)||(null==(t=v.current)?void 0:t.nativeElement)})});var b=(0,ok.Z)("",{defaultValue:i,value:a}),y=(0,eL.Z)(b,2),w=y[0],x=y[1],S=function(e){x(e),null==s||s(e)},k=function(){S("")};return p().createElement(b5,{suffix:n,prefixCls:o,value:w,allowClear:l,handleReset:k,className:u,classNames:c,disabled:d,ref:g,onClear:f},p().createElement(EZ,(0,_.Z)({className:null==c?void 0:c.mentions,prefixCls:o,ref:v,onChange:S,disabled:d},m)))});ER.Option=Ew;let ET=ER;function EP(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t&&null==e?[]:Array.isArray(e)?e:[e]}let Ej=e=>{let{componentCls:t,colorTextDisabled:n,controlItemBgHover:r,controlPaddingHorizontal:o,colorText:i,motionDurationSlow:a,lineHeight:l,controlHeight:s,paddingInline:c,paddingBlock:u,fontSize:d,fontSizeIcon:f,colorTextTertiary:h,colorTextQuaternary:p,colorBgElevated:m,paddingXXS:g,paddingLG:v,borderRadius:b,borderRadiusLG:y,boxShadowSecondary:w,itemPaddingVertical:x,calc:S}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),(0,yp.ik)(e)),{position:"relative",display:"inline-block",height:"auto",padding:0,overflow:"hidden",lineHeight:l,whiteSpace:"pre-wrap",verticalAlign:"bottom"}),(0,ym.qG)(e)),(0,ym.H8)(e)),(0,ym.Mu)(e)),{"&-affix-wrapper":Object.assign(Object.assign({},(0,yp.ik)(e)),{display:"inline-flex",padding:0,"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-suffix`]:{position:"absolute",top:0,insetInlineEnd:c,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},[`&:has(${t}-suffix) > ${t} > textarea`]:{paddingInlineEnd:v},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:0,insetBlockStart:S(d).mul(l).mul(.5).add(u).equal(),transform:"translateY(-50%)",margin:0,color:p,fontSize:f,verticalAlign:-1,cursor:"pointer",transition:`color ${a}`,"&:hover":{color:h},"&:active":{color:i},"&-hidden":{visibility:"hidden"}}}),"&-disabled":{"> textarea":Object.assign({},(0,ym.Xy)(e))},[`&, &-affix-wrapper > ${t}`]:{[`> textarea, ${t}-measure`]:{color:i,boxSizing:"border-box",minHeight:e.calc(s).sub(2),margin:0,padding:`${(0,G.bf)(u)} ${(0,G.bf)(c)}`,overflow:"inherit",overflowX:"hidden",overflowY:"auto",fontWeight:"inherit",fontSize:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontVariant:"inherit",fontSizeAdjust:"inherit",fontStretch:"inherit",lineHeight:"inherit",direction:"inherit",letterSpacing:"inherit",whiteSpace:"inherit",textAlign:"inherit",verticalAlign:"top",wordWrap:"break-word",wordBreak:"inherit",tabSize:"inherit"},"> textarea":Object.assign({width:"100%",border:"none",outline:"none",resize:"none",backgroundColor:"transparent"},(0,yp.nz)(e.colorTextPlaceholder)),[`${t}-measure`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:-1,color:"transparent",pointerEvents:"none","> span":{display:"inline-block",minHeight:"1em"}}},"&-dropdown":Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"absolute",top:-9999,insetInlineStart:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",fontSize:d,fontVariant:"initial",padding:g,backgroundColor:m,borderRadius:y,outline:"none",boxShadow:w,"&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.dropdownHeight,margin:0,paddingInlineStart:0,overflow:"auto",listStyle:"none",outline:"none","&-item":Object.assign(Object.assign({},Y.vS),{position:"relative",display:"block",minWidth:e.controlItemWidth,padding:`${(0,G.bf)(x)} ${(0,G.bf)(o)}`,color:i,borderRadius:b,fontWeight:"normal",lineHeight:l,cursor:"pointer",transition:`background ${a} ease`,"&:hover":{backgroundColor:r},"&-disabled":{color:n,cursor:"not-allowed","&:hover":{color:n,backgroundColor:r,cursor:"not-allowed"}},"&-selected":{color:i,fontWeight:e.fontWeightStrong,backgroundColor:r},"&-active":{backgroundColor:r}})}})})}},EA=e=>Object.assign(Object.assign({},(0,pl.T)(e)),{dropdownHeight:250,controlItemWidth:100,zIndexPopup:e.zIndexPopupBase+50,itemPaddingVertical:(e.controlHeight-e.fontHeight)/2}),ED=(0,k.I$)("Mentions",e=>[Ej((0,eI.IX)(e,(0,pl.e)(e)))],EA);var E_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let{Option:Ez}=ET;function EL(){return!0}let EB=h.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:o,disabled:i,loading:a,filterOption:l,children:s,notFoundContent:c,options:u,status:d,allowClear:f=!1,popupClassName:p,style:m,variant:v}=e,b=E_(e,["prefixCls","className","rootClassName","disabled","loading","filterOption","children","notFoundContent","options","status","allowClear","popupClassName","style","variant"]),[y,w]=h.useState(!1),x=h.useRef(null),k=(0,X.sQ)(t,x),{getPrefixCls:C,renderEmpty:$,direction:E,mentions:O}=h.useContext(S.E_),{status:M,hasFeedback:I,feedbackIcon:N}=h.useContext(aA.aM),Z=aC(M,d),R=function(){b.onFocus&&b.onFocus.apply(b,arguments),w(!0)},T=function(){b.onBlur&&b.onBlur.apply(b,arguments),w(!1)},P=h.useMemo(()=>void 0!==c?c:(null==$?void 0:$("Select"))||h.createElement(aP,{componentName:"Select"}),[c,$]),j=h.useMemo(()=>a?h.createElement(Ez,{value:"ANTD_SEARCHING",disabled:!0},h.createElement(Ee,{size:"small"})):s,[a,s]),A=a?[{value:"ANTD_SEARCHING",disabled:!0,label:h.createElement(Ee,{size:"small"})}]:u,D=a?EL:l,_=C("mentions",n),z=yM(f),L=eE(_),[B,H,F]=ED(_,L),[W,V]=aD("mentions",v),q=I&&h.createElement(h.Fragment,null,N),K=g()(null==O?void 0:O.className,r,o,F,L);return B(h.createElement(ET,Object.assign({silent:a,prefixCls:_,notFoundContent:P,className:K,disabled:i,allowClear:z,direction:E,style:Object.assign(Object.assign({},null==O?void 0:O.style),m)},b,{filterOption:D,onFocus:R,onBlur:T,dropdownClassName:g()(p,o,H,F,L),ref:k,options:A,suffix:q,classNames:{mentions:g()({[`${_}-disabled`]:i,[`${_}-focused`]:y,[`${_}-rtl`]:"rtl"===E},H),variant:g()({[`${_}-${W}`]:V},ak(_,Z)),affixWrapper:H}}),j))});EB.Option=Ez;let EH=o$(EB,"mentions");EB._InternalPanelDoNotUseOrYouWillBeFired=EH,EB.getMentions=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{prefix:n="@",split:r=" "}=t,o=EP(n);return e.split(r).map(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=null;return(o.some(n=>e.slice(0,n.length)===n&&(t=n,!0)),null!==t)?{prefix:t,value:e.slice(t.length)}:null}).filter(e=>!!e&&!!e.value)};let EF=EB,EW=null,EV=e=>e(),Eq=[],EK={};function EX(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=EK,i=(null==e?void 0:e())||document.body;return{getContainer:()=>i,duration:t,rtl:n,maxCount:r,top:o}}let EU=p().forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:o}=(0,h.useContext)(S.E_),i=EK.prefixCls||o("message"),a=(0,h.useContext)(om),[l,s]=tb(Object.assign(Object.assign(Object.assign({},n),{prefixCls:i}),a.message));return p().useImperativeHandle(t,()=>{let e=Object.assign({},l);return Object.keys(e).forEach(t=>{e[t]=function(){return r(),l[t].apply(l,arguments)}}),{instance:e,sync:r}}),s}),EG=p().forwardRef((e,t)=>{let[n,r]=p().useState(EX),o=()=>{r(EX)};p().useEffect(o,[]);let i=t8(),a=i.getRootPrefixCls(),l=i.getIconPrefixCls(),s=i.getTheme(),c=p().createElement(EU,{ref:t,sync:o,messageConfig:n});return p().createElement(t9,{prefixCls:a,iconPrefixCls:l,theme:s},i.holderRender?i.holderRender(c):c)});function EY(){if(!EW){let e=document.createDocumentFragment(),t={fragment:e};EW=t,EV(()=>{(0,ne.x)()(p().createElement(EG,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,EY())})}}),e)});return}EW.instance&&(Eq.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":EV(()=>{let t=EW.instance.open(Object.assign(Object.assign({},EK),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":EV(()=>{null==EW||EW.instance.destroy(e.key)});break;default:EV(()=>{var n;let r=(n=EW.instance)[t].apply(n,(0,y.Z)(e.args));null==r||r.then(e.resolve),e.setCloseFn(r)})}}),Eq=[])}function EQ(e,t){t8();let n=tu(n=>{let r,o={type:e,args:t,resolve:n,setCloseFn:e=>{r=e}};return Eq.push(o),()=>{r?EV(()=>{r()}):o.skipped=!0}});return EY(),n}let EJ={open:function(e){let t=tu(t=>{let n,r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return Eq.push(r),()=>{n?EV(()=>{n()}):r.skipped=!0}});return EY(),t},destroy:e=>{Eq.push({type:"destroy",key:e}),EY()},config:function(e){EK=Object.assign(Object.assign({},EK),e),EV(()=>{var e;null==(e=null==EW?void 0:EW.sync)||e.call(EW)})},useMessage:ty,_InternalPanelDoNotUseOrYouWillBeFired:ts};["success","info","warning","error","loading"].forEach(e=>{EJ[e]=function(){for(var t=arguments.length,n=Array(t),r=0;rt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let E2=oC(e=>{let{prefixCls:t,className:n,closeIcon:r,closable:o,type:i,title:a,children:l,footer:s}=e,c=E1(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:u}=h.useContext(S.E_),d=u(),f=t||u("modal"),p=eE(d),[m,v,b]=rk(f,p),y=`${f}-confirm`,w={};return w=i?{closable:null!=o&&o,title:"",footer:"",children:h.createElement(rN,Object.assign({},e,{prefixCls:f,confirmPrefixCls:y,rootPrefixCls:d,content:l}))}:{closable:null==o||o,title:a,footer:null!==s&&h.createElement(rd,Object.assign({},e)),children:l},m(h.createElement(nS,Object.assign({prefixCls:f,className:g()(v,`${f}-pure-panel`,i&&y,i&&`${y}-${i}`,n,b,p)},c,{closeIcon:ru(f,r),closable:o},w)))});function E4(e){return rD(r_(e))}let E3=rE;E3.useModal=rU,E3.info=function(e){return rD(rz(e))},E3.success=function(e){return rD(rL(e))},E3.error=function(e){return rD(rB(e))},E3.warning=E4,E3.warn=E4,E3.confirm=function(e){return rD(rH(e))},E3.destroyAll=function(){for(;rT.length;){let e=rT.pop();e&&e()}},E3.config=rF,E3._InternalPanelDoNotUseOrYouWillBeFired=E2;let E5=E3,E8=null,E6=e=>e(),E7=[],E9={};function Oe(){let{getContainer:e,rtl:t,maxCount:n,top:r,bottom:o,showProgress:i,pauseOnHover:a}=E9,l=(null==e?void 0:e())||document.body;return{getContainer:()=>l,rtl:t,maxCount:n,top:r,bottom:o,showProgress:i,pauseOnHover:a}}let Ot=p().forwardRef((e,t)=>{let{notificationConfig:n,sync:r}=e,{getPrefixCls:o}=(0,h.useContext)(S.E_),i=E9.prefixCls||o("notification"),a=(0,h.useContext)(om),[l,s]=oh(Object.assign(Object.assign(Object.assign({},n),{prefixCls:i}),a.notification));return p().useEffect(r,[]),p().useImperativeHandle(t,()=>{let e=Object.assign({},l);return Object.keys(e).forEach(t=>{e[t]=function(){return r(),l[t].apply(l,arguments)}}),{instance:e,sync:r}}),s}),On=p().forwardRef((e,t)=>{let[n,r]=p().useState(Oe),o=()=>{r(Oe)};p().useEffect(o,[]);let i=t8(),a=i.getRootPrefixCls(),l=i.getIconPrefixCls(),s=i.getTheme(),c=p().createElement(Ot,{ref:t,sync:o,notificationConfig:n});return p().createElement(t9,{prefixCls:a,iconPrefixCls:l,theme:s},i.holderRender?i.holderRender(c):c)});function Or(){if(!E8){let e=document.createDocumentFragment(),t={fragment:e};E8=t,E6(()=>{(0,ne.x)()(p().createElement(On,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,Or())})}}),e)});return}E8.instance&&(E7.forEach(e=>{switch(e.type){case"open":E6(()=>{E8.instance.open(Object.assign(Object.assign({},E9),e.config))});break;case"destroy":E6(()=>{null==E8||E8.instance.destroy(e.key)})}}),E7=[])}function Oo(e){t8(),E7.push({type:"open",config:e}),Or()}let Oi={open:Oo,destroy:e=>{E7.push({type:"destroy",key:e}),Or()},config:function(e){E9=Object.assign(Object.assign({},E9),e),E6(()=>{var e;null==(e=null==E8?void 0:E8.sync)||e.call(E8)})},useNotification:op,_InternalPanelDoNotUseOrYouWillBeFired:or};["success","info","warning","error"].forEach(e=>{Oi[e]=t=>Oo(Object.assign(Object.assign({},t),{type:e}))});let Oa=Oi,Ol=e=>{let{componentCls:t,iconCls:n,antCls:r,zIndexPopup:o,colorText:i,colorWarning:a,marginXXS:l,marginXS:s,fontSize:c,fontWeightStrong:u,colorTextHeading:d}=e;return{[t]:{zIndex:o,[`&${r}-popover`]:{fontSize:c},[`${t}-message`]:{marginBottom:s,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:a,fontSize:c,lineHeight:1,marginInlineEnd:s},[`${t}-title`]:{fontWeight:u,color:d,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:l,color:i}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:s}}}}},Os=e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},Oc=(0,k.I$)("Popconfirm",e=>Ol(e),Os,{resetStyle:!1});var Ou=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let Od=e=>{let{prefixCls:t,okButtonProps:n,cancelButtonProps:r,title:o,description:i,cancelText:a,okText:l,okType:s="primary",icon:c=h.createElement(H,null),showCancel:u=!0,close:d,onConfirm:f,onCancel:p,onPopupClick:m}=e,{getPrefixCls:g}=h.useContext(S.E_),[v]=(0,nn.Z)("Popconfirm",t$.Z.Popconfirm),b=l0(o),y=l0(i);return h.createElement("div",{className:`${t}-inner-content`,onClick:m},h.createElement("div",{className:`${t}-message`},c&&h.createElement("span",{className:`${t}-message-icon`},c),h.createElement("div",{className:`${t}-message-text`},b&&h.createElement("div",{className:`${t}-title`},b),y&&h.createElement("div",{className:`${t}-description`},y))),h.createElement("div",{className:`${t}-buttons`},u&&h.createElement(no.ZP,Object.assign({onClick:p,size:"small"},r),a||(null==v?void 0:v.cancelText)),h.createElement(nl,{buttonProps:Object.assign(Object.assign({size:"small"},(0,ni.nx)(s)),n),actionFn:f,close:d,prefixCls:g("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},l||(null==v?void 0:v.okText))))},Of=e=>{let{prefixCls:t,placement:n,className:r,style:o}=e,i=Ou(e,["prefixCls","placement","className","style"]),{getPrefixCls:a}=h.useContext(S.E_),l=a("popconfirm",t),[s]=Oc(l);return s(h.createElement(sr,{placement:n,className:g()(l,r),style:o,content:h.createElement(Od,Object.assign({prefixCls:l},i))}))};var Oh=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let Op=h.forwardRef((e,t)=>{var n,r;let{prefixCls:o,placement:i="top",trigger:a="click",okType:l="primary",icon:s=h.createElement(H,null),children:c,overlayClassName:u,onOpenChange:d,onVisibleChange:f}=e,p=Oh(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:m}=h.useContext(S.E_),[v,y]=(0,ok.Z)(!1,{value:null!=(n=e.open)?n:e.visible,defaultValue:null!=(r=e.defaultOpen)?r:e.defaultVisible}),w=(e,t)=>{y(e,!0),null==f||f(e),null==d||d(e,t)},x=e=>{w(!1,e)},k=t=>{var n;return null==(n=e.onConfirm)?void 0:n.call(void 0,t)},C=t=>{var n;w(!1,t),null==(n=e.onCancel)||n.call(void 0,t)},$=(t,n)=>{let{disabled:r=!1}=e;r||w(t,n)},E=m("popconfirm",o),O=g()(E,u),[M]=Oc(E);return M(h.createElement(sa,Object.assign({},(0,b.Z)(p,["title"]),{trigger:a,placement:i,onOpenChange:$,open:v,ref:t,overlayClassName:O,content:h.createElement(Od,Object.assign({okType:l,icon:s},e,{prefixCls:E,close:x,onConfirm:k,onCancel:C})),"data-popover-inject":!0}),c))});Op._InternalPanelDoNotUseOrYouWillBeFired=Of;let Om=Op;var Og=n(6672),Ov=n(52487);function Ob(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,Ov.Z)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function Oy(e,t,n){if(t<0||t>31||e>>>t!=0)throw RangeError("Value out of range");for(var r=t-1;r>=0;r--)n.push(e>>>r&1)}function Ow(e,t){return(e>>>t&1)!=0}function Ox(e){if(!e)throw Error("Assertion error")}var OS=function(){function e(t,n){(0,ec.Z)(this,e),(0,eV.Z)(this,"modeBits",void 0),(0,eV.Z)(this,"numBitsCharCount",void 0),this.modeBits=t,this.numBitsCharCount=n}return(0,eu.Z)(e,[{key:"numCharCountBits",value:function(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}}]),e}();d=OS,(0,eV.Z)(OS,"NUMERIC",new d(1,[10,12,14])),(0,eV.Z)(OS,"ALPHANUMERIC",new d(2,[9,11,13])),(0,eV.Z)(OS,"BYTE",new d(4,[8,16,16])),(0,eV.Z)(OS,"KANJI",new d(8,[8,10,12])),(0,eV.Z)(OS,"ECI",new d(7,[0,0,0]));var Ok=(0,eu.Z)(function e(t,n){(0,ec.Z)(this,e),(0,eV.Z)(this,"ordinal",void 0),(0,eV.Z)(this,"formatBits",void 0),this.ordinal=t,this.formatBits=n});f=Ok,(0,eV.Z)(Ok,"LOW",new f(0,1)),(0,eV.Z)(Ok,"MEDIUM",new f(1,0)),(0,eV.Z)(Ok,"QUARTILE",new f(2,3)),(0,eV.Z)(Ok,"HIGH",new f(3,2));var OC=function(){function e(t,n,r){if((0,ec.Z)(this,e),(0,eV.Z)(this,"mode",void 0),(0,eV.Z)(this,"numChars",void 0),(0,eV.Z)(this,"bitData",void 0),this.mode=t,this.numChars=n,this.bitData=r,n<0)throw RangeError("Invalid argument");this.bitData=r.slice()}return(0,eu.Z)(e,[{key:"getData",value:function(){return this.bitData.slice()}}],[{key:"makeBytes",value:function(t){var n,r=[],o=Ob(t);try{for(o.s();!(n=o.n()).done;){var i=n.value;Oy(i,8,r)}}catch(e){o.e(e)}finally{o.f()}return new e(OS.BYTE,t.length,r)}},{key:"makeNumeric",value:function(t){if(!e.isNumeric(t))throw RangeError("String contains non-numeric characters");for(var n=[],r=0;r=1<e.MAX_VERSION)throw RangeError("Version value out of range");if(i<-1||i>7)throw RangeError("Mask value out of range");this.size=4*t+17;for(var a=[],l=0;l>>9)*1335;var o=(t<<10|n)^21522;Ox(o>>>15==0);for(var i=0;i<=5;i++)this.setFunctionModule(8,i,Ow(o,i));this.setFunctionModule(8,7,Ow(o,6)),this.setFunctionModule(8,8,Ow(o,7)),this.setFunctionModule(7,8,Ow(o,8));for(var a=9;a<15;a++)this.setFunctionModule(14-a,8,Ow(o,a));for(var l=0;l<8;l++)this.setFunctionModule(this.size-1-l,8,Ow(o,l));for(var s=8;s<15;s++)this.setFunctionModule(8,this.size-15+s,Ow(o,s));this.setFunctionModule(8,this.size-8,!0)}},{key:"drawVersion",value:function(){if(!(this.version<7)){for(var e=this.version,t=0;t<12;t++)e=e<<1^(e>>>11)*7973;var n=this.version<<12|e;Ox(n>>>18==0);for(var r=0;r<18;r++){var o=Ow(n,r),i=this.size-11+r%3,a=Math.floor(r/3);this.setFunctionModule(i,a,o),this.setFunctionModule(a,i,o)}}}},{key:"drawFinderPattern",value:function(e,t){for(var n=-4;n<=4;n++)for(var r=-4;r<=4;r++){var o=Math.max(Math.abs(r),Math.abs(n)),i=e+r,a=t+n;0<=i&&i=l)&&m.push(t[e])})},v=0;v=1;r-=2){6==r&&(r=5);for(var o=0;o>>3],7-(7&n)),n++)}}Ox(n==8*t.length)}},{key:"applyMask",value:function(e){if(e<0||e>7)throw RangeError("Mask value out of range");for(var t=0;t5&&t++:(this.finderPenaltyAddHistory(o,i),r||(t+=this.finderPenaltyCountPatterns(i)*e.PENALTY_N3),r=this.modules[n][a],o=1);t+=this.finderPenaltyTerminateAndCount(r,o,i)*e.PENALTY_N3}for(var l=0;l5&&t++:(this.finderPenaltyAddHistory(c,u),s||(t+=this.finderPenaltyCountPatterns(u)*e.PENALTY_N3),s=this.modules[d][l],c=1);t+=this.finderPenaltyTerminateAndCount(s,c,u)*e.PENALTY_N3}for(var f=0;f0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}},{key:"finderPenaltyTerminateAndCount",value:function(e,t,n){var r=t;return e&&(this.finderPenaltyAddHistory(r,n),r=0),r+=this.size,this.finderPenaltyAddHistory(r,n),this.finderPenaltyCountPatterns(n)}},{key:"finderPenaltyAddHistory",value:function(e,t){var n=e;0==t[0]&&(n+=this.size),t.pop(),t.unshift(n)}}],[{key:"encodeText",value:function(t,n){var r=OC.makeSegments(t);return e.encodeSegments(r,n)}},{key:"encodeBinary",value:function(t,n){var r=OC.makeBytes(t);return e.encodeSegments([r],n)}},{key:"encodeSegments",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:40,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,a=!(arguments.length>5)||void 0===arguments[5]||arguments[5];if(!(e.MIN_VERSION<=r&&r<=o&&o<=e.MAX_VERSION)||i<-1||i>7)throw RangeError("Invalid value");for(h=r;;h++){var l=8*e.getNumDataCodewords(h,n),s=OC.getTotalBits(t,h);if(s<=l){p=s;break}if(h>=o)throw RangeError("Data too long")}for(var c=n,u=0,d=[Ok.MEDIUM,Ok.QUARTILE,Ok.HIGH];u>>3]|=e<<7-(7&t)}),new e(h,c,C,i)}},{key:"getNumRawDataModules",value:function(t){if(te.MAX_VERSION)throw RangeError("Version number out of range");var n=(16*t+128)*t+64;if(t>=2){var r=Math.floor(t/7)+2;n-=(25*r-10)*r-55,t>=7&&(n-=36)}return Ox(208<=n&&n<=29648),n}},{key:"getNumDataCodewords",value:function(t,n){return Math.floor(e.getNumRawDataModules(t)/8)-e.ECC_CODEWORDS_PER_BLOCK[n.ordinal][t]*e.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][t]}},{key:"reedSolomonComputeDivisor",value:function(t){if(t<1||t>255)throw RangeError("Degree out of range");for(var n=[],r=0;r>>8!=0||t>>>8!=0)throw RangeError("Byte out of range");for(var n=0,r=7;r>=0;r--)n=n<<1^(n>>>7)*285^(t>>>r&1)*e;return Ox(n>>>8==0),n}}]),e}();(0,eV.Z)(O$,"MIN_VERSION",1),(0,eV.Z)(O$,"MAX_VERSION",40),(0,eV.Z)(O$,"PENALTY_N1",3),(0,eV.Z)(O$,"PENALTY_N2",3),(0,eV.Z)(O$,"PENALTY_N3",40),(0,eV.Z)(O$,"PENALTY_N4",10),(0,eV.Z)(O$,"ECC_CODEWORDS_PER_BLOCK",[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]]),(0,eV.Z)(O$,"NUM_ERROR_CORRECTION_BLOCKS",[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]]);var OE={L:Ok.LOW,M:Ok.MEDIUM,Q:Ok.QUARTILE,H:Ok.HIGH},OO=128,OM="L",OI="#FFFFFF",ON="#000000",OZ=!1,OR=1,OT=4,OP=0,Oj=.1;function OA(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[];return e.forEach(function(e,r){var o=null;e.forEach(function(i,a){if(!i&&null!==o){n.push("M".concat(o+t," ").concat(r+t,"h").concat(a-o,"v1H").concat(o+t,"z")),o=null;return}if(a===e.length-1){if(!i)return;null===o?n.push("M".concat(a+t,",").concat(r+t," h1v1H").concat(a+t,"z")):n.push("M".concat(o+t,",").concat(r+t," h").concat(a+1-o,"v1H").concat(o+t,"z"));return}i&&null===o&&(o=a)})}),n.join("")}function OD(e,t){return e.slice().map(function(e,n){return n=t.y+t.h?e:e.map(function(e,n){return(n=t.x+t.w)&&e})})}function O_(e,t,n,r){if(null==r)return null;var o=e.length+2*n,i=Math.floor(t*Oj),a=o/t,l=(r.width||i)*a,s=(r.height||i)*a,c=null==r.x?e.length/2-l/2:r.x*a,u=null==r.y?e.length/2-s/2:r.y*a,d=null==r.opacity?1:r.opacity,f=null;if(r.excavate){var h=Math.floor(c),p=Math.floor(u),m=Math.ceil(l+c-h),g=Math.ceil(s+u-p);f={x:h,y:p,w:m,h:g}}return{x:c,y:u,h:s,w:l,excavation:f,opacity:d,crossOrigin:r.crossOrigin}}function Oz(e,t){return null!=t?Math.floor(t):e?OT:OP}var OL=function(){try{new Path2D().addPath(new Path2D)}catch(e){return!1}return!0}();function OB(e){var t=e.value,n=e.level,r=e.minVersion,o=e.includeMargin,i=e.marginSize,a=e.imageSettings,l=e.size,s=(0,h.useMemo)(function(){var e=OC.makeSegments(t);return O$.encodeSegments(e,OE[n],r)},[t,n,r]),c=(0,h.useMemo)(function(){var e=s.getModules(),t=Oz(o,i),n=e.length+2*t,r=O_(e,l,t,a);return{cells:e,margin:t,numCells:n,calculatedImageSettings:r}},[s,l,a,o,i]),u=c.cells;return{qrcode:s,margin:c.margin,cells:u,numCells:c.numCells,calculatedImageSettings:c.calculatedImageSettings}}var OH=["value","size","level","bgColor","fgColor","includeMargin","minVersion","marginSize","style","imageSettings"],OF=p().forwardRef(function(e,t){var n=e.value,r=e.size,o=void 0===r?OO:r,i=e.level,a=void 0===i?OM:i,l=e.bgColor,s=void 0===l?OI:l,c=e.fgColor,u=void 0===c?ON:c,d=e.includeMargin,f=void 0===d?OZ:d,m=e.minVersion,g=void 0===m?OR:m,v=e.marginSize,b=e.style,y=e.imageSettings,w=(0,eB.Z)(e,OH),x=null==y?void 0:y.src,S=(0,h.useRef)(null),k=(0,h.useRef)(null),C=(0,h.useCallback)(function(e){S.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t]),$=(0,h.useState)(!1),E=(0,eL.Z)($,2)[1],O=OB({value:n,level:a,minVersion:g,includeMargin:f,marginSize:v,imageSettings:y,size:o}),M=O.margin,I=O.cells,N=O.numCells,Z=O.calculatedImageSettings;(0,h.useEffect)(function(){if(null!=S.current){var e=S.current,t=e.getContext("2d");if(t){var n=I,r=k.current,i=null!=Z&&null!==r&&r.complete&&0!==r.naturalHeight&&0!==r.naturalWidth;i&&null!=Z.excavation&&(n=OD(I,Z.excavation));var a=window.devicePixelRatio||1;e.height=e.width=o*a;var l=o/N*a;t.scale(l,l),t.fillStyle=s,t.fillRect(0,0,N,N),t.fillStyle=u,OL?t.fill(new Path2D(OA(n,M))):I.forEach(function(e,n){e.forEach(function(e,r){e&&t.fillRect(r+M,n+M,1,1)})}),Z&&(t.globalAlpha=Z.opacity),i&&t.drawImage(r,Z.x+M,Z.y+M,Z.w,Z.h)}}}),(0,h.useEffect)(function(){E(!1)},[x]);var R=(0,eH.Z)({height:o,width:o},b),T=null;return null!=x&&(T=p().createElement("img",{src:x,key:x,style:{display:"none"},onLoad:function(){E(!0)},ref:k,crossOrigin:null==Z?void 0:Z.crossOrigin})),p().createElement(p().Fragment,null,p().createElement("canvas",(0,_.Z)({style:R,height:o,width:o,ref:C,role:"img"},w)),T)});OF.displayName="QRCodeCanvas";var OW=["value","size","level","bgColor","fgColor","includeMargin","minVersion","title","marginSize","imageSettings"],OV=p().forwardRef(function(e,t){var n=e.value,r=e.size,o=void 0===r?OO:r,i=e.level,a=void 0===i?OM:i,l=e.bgColor,s=void 0===l?OI:l,c=e.fgColor,u=void 0===c?ON:c,d=e.includeMargin,f=void 0===d?OZ:d,h=e.minVersion,m=void 0===h?OR:h,g=e.title,v=e.marginSize,b=e.imageSettings,y=(0,eB.Z)(e,OW),w=OB({value:n,level:a,minVersion:m,includeMargin:f,marginSize:v,imageSettings:b,size:o}),x=w.margin,S=w.cells,k=w.numCells,C=w.calculatedImageSettings,$=S,E=null;null!=b&&null!=C&&(null!=C.excavation&&($=OD(S,C.excavation)),E=p().createElement("image",{href:b.src,height:C.h,width:C.w,x:C.x+x,y:C.y+x,preserveAspectRatio:"none",opacity:C.opacity,crossOrigin:C.crossOrigin}));var O=OA($,x);return p().createElement("svg",(0,_.Z)({height:o,width:o,viewBox:"0 0 ".concat(k," ").concat(k),ref:t,role:"img"},y),!!g&&p().createElement("title",null,g),p().createElement("path",{fill:s,d:"M0,0 h".concat(k,"v").concat(k,"H0z"),shapeRendering:"crispEdges"}),p().createElement("path",{fill:u,d:O,shapeRendering:"crispEdges"}),E)});OV.displayName="QRCodeSVG";let Oq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};var OK=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:Oq}))};let OX=h.forwardRef(OK),OU=p().createElement(Ee,null);function OG(e){let{prefixCls:t,locale:n,onRefresh:r,statusRender:o,status:i}=e,a={expired:p().createElement(p().Fragment,null,p().createElement("p",{className:`${t}-expired`},null==n?void 0:n.expired),r&&p().createElement(no.ZP,{type:"link",icon:p().createElement(OX,null),onClick:r},null==n?void 0:n.refresh)),loading:OU,scanned:p().createElement("p",{className:`${t}-scanned`},null==n?void 0:n.scanned)},l=e=>a[e.status];return(null!=o?o:l)({status:i,locale:n,onRefresh:r})}let OY=e=>{let{componentCls:t,lineWidth:n,lineType:r,colorSplit:o}=e;return{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${(0,G.bf)(n)} ${r} ${o}`,position:"relative",overflow:"hidden",[`& > ${t}-mask`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeMaskBackgroundColor,textAlign:"center",[`& > ${t}-expired, & > ${t}-scanned`]:{color:e.QRCodeTextColor}},"> canvas":{alignSelf:"stretch",flex:"auto",minWidth:0},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}}),[`${t}-borderless`]:{borderColor:"transparent",padding:0,borderRadius:0}}},OQ=e=>({QRCodeMaskBackgroundColor:new tD.C(e.colorBgContainer).setAlpha(.96).toRgbString()}),OJ=(0,k.I$)("QRCode",e=>OY((0,eI.IX)(e,{QRCodeTextColor:e.colorText})),OQ);var O0=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let O1=e=>{var t,n,r,o;let[,i]=(0,e$.ZP)(),{value:a,type:l="canvas",icon:s="",size:c=160,iconSize:u,color:d=i.colorText,errorLevel:f="M",status:m="active",bordered:v=!0,onRefresh:y,style:w,className:x,rootClassName:k,prefixCls:C,bgColor:$="transparent",statusRender:E}=e,O=O0(e,["value","type","icon","size","iconSize","color","errorLevel","status","bordered","onRefresh","style","className","rootClassName","prefixCls","bgColor","statusRender"]),{getPrefixCls:M}=(0,h.useContext)(S.E_),I=M("qrcode",C),[N,Z,R]=OJ(I),T={src:s,x:void 0,y:void 0,height:"number"==typeof u?u:null!=(t=null==u?void 0:u.height)?t:40,width:"number"==typeof u?u:null!=(n=null==u?void 0:u.width)?n:40,excavate:!0,crossOrigin:"anonymous"},P=(0,K.Z)(O,!0),j=(0,b.Z)(O,Object.keys(P)),A=Object.assign({value:a,size:c,level:f,bgColor:$,fgColor:d,style:{width:null==w?void 0:w.width,height:null==w?void 0:w.height},imageSettings:s?T:void 0},P),[D]=(0,nn.Z)("QRCode");if(!a)return null;let _=g()(I,x,k,Z,R,{[`${I}-borderless`]:!v}),z=Object.assign(Object.assign({backgroundColor:$},w),{width:null!=(r=null==w?void 0:w.width)?r:c,height:null!=(o=null==w?void 0:w.height)?o:c});return N(p().createElement("div",Object.assign({},j,{className:_,style:z}),"active"!==m&&p().createElement("div",{className:`${I}-mask`},p().createElement(OG,{prefixCls:I,locale:D,status:m,onRefresh:y,statusRender:E})),"canvas"===l?p().createElement(OF,Object.assign({},A)):p().createElement(OV,Object.assign({},A))))},O2=h1;O2.Button=h8,O2.Group=h4,O2.__ANT_RADIO=!0;let O4=O2,O3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};var O5=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:O3}))};let O8=h.forwardRef(O5);function O6(e,t){var n=e.disabled,r=e.prefixCls,o=e.character,i=e.characterRender,a=e.index,l=e.count,s=e.value,c=e.allowHalf,u=e.focused,d=e.onHover,f=e.onClick,h=function(e){d(e,a)},m=function(e){f(e,a)},v=function(e){e.keyCode===eK.Z.ENTER&&f(e,a)},b=a+1,y=new Set([r]);0===s&&0===a&&u?y.add("".concat(r,"-focused")):c&&s+.5>=b&&sa?"true":"false","aria-posinset":a+1,"aria-setsize":l,tabIndex:n?-1:0},p().createElement("div",{className:"".concat(r,"-first")},w),p().createElement("div",{className:"".concat(r,"-second")},w)));return i&&(x=i(x,e)),x}let O7=p().forwardRef(O6);function O9(){var e=h.useRef({});return[function(t){return e.current[t]},function(t){return function(n){e.current[t]=n}}]}function Me(e){var t=e.pageXOffset,n="scrollLeft";if("number"!=typeof t){var r=e.document;"number"!=typeof(t=r.documentElement[n])&&(t=r.body[n])}return t}function Mt(e){var t,n,r=e.ownerDocument,o=r.body,i=r&&r.documentElement,a=e.getBoundingClientRect();return t=a.left,n=a.top,{left:t-=i.clientLeft||o.clientLeft||0,top:n-=i.clientTop||o.clientTop||0}}function Mn(e){var t=Mt(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=Me(r),t.left}var Mr=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Mo(e,t){var n=e.prefixCls,r=void 0===n?"rc-rate":n,o=e.className,i=e.defaultValue,a=e.value,l=e.count,s=void 0===l?5:l,c=e.allowHalf,u=void 0!==c&&c,d=e.allowClear,f=void 0===d||d,h=e.keyboard,m=void 0===h||h,v=e.character,b=void 0===v?"★":v,y=e.characterRender,w=e.disabled,x=e.direction,S=void 0===x?"ltr":x,k=e.tabIndex,C=void 0===k?0:k,$=e.autoFocus,E=e.onHoverChange,O=e.onChange,M=e.onFocus,I=e.onBlur,N=e.onKeyDown,Z=e.onMouseLeave,R=(0,eB.Z)(e,Mr),T=O9(),P=(0,eL.Z)(T,2),j=P[0],A=P[1],D=p().useRef(null),z=function(){if(!w){var e;null==(e=D.current)||e.focus()}};p().useImperativeHandle(t,function(){return{focus:z,blur:function(){if(!w){var e;null==(e=D.current)||e.blur()}}}});var L=(0,ok.Z)(i||0,{value:a}),B=(0,eL.Z)(L,2),H=B[0],F=B[1],W=(0,ok.Z)(null),V=(0,eL.Z)(W,2),q=V[0],X=V[1],U=function(e,t){var n="rtl"===S,r=e+1;if(u){var o=j(e),i=Mn(o),a=o.clientWidth;n&&t-i>a/2?r-=.5:!n&&t-i0&&!n||t===eK.Z.RIGHT&&H>0&&n?(G(H-r),e.preventDefault()):t===eK.Z.LEFT&&H{let{componentCls:t}=e;return{[`${t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:`all ${e.motionDurationMid}, outline 0s`,"&:hover":{transform:e.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,G.bf)(e.lineWidth)} dashed ${e.starColor}`,transform:e.starHoverScale}},"&-first, &-second":{color:e.starBg,transition:`all ${e.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${t}-star-first, &-half ${t}-star-second`]:{opacity:1},[`&-half ${t}-star-first, &-full ${t}-star-second`]:{color:"inherit"}}}},Ml=e=>({[`&-rtl${e.componentCls}`]:{direction:"rtl"}}),Ms=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),{display:"inline-block",margin:0,padding:0,color:e.starColor,fontSize:e.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${t} ${t}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ma(e)),Ml(e))}},Mc=e=>({starColor:e.yellow6,starSize:.5*e.controlHeightLG,starHoverScale:"scale(1.1)",starBg:e.colorFillContent}),Mu=(0,k.I$)("Rate",e=>[Ms((0,eI.IX)(e,{}))],Mc);var Md=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let Mf=h.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:o,style:i,tooltips:a,character:l=h.createElement(O8,null),disabled:s}=e,c=Md(e,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),u=(e,t)=>{let{index:n}=t;return a?h.createElement(l1.Z,{title:a[n]},e):e},{getPrefixCls:d,direction:f,rate:p}=h.useContext(S.E_),m=d("rate",n),[v,b,y]=Mu(m),w=Object.assign(Object.assign({},null==p?void 0:p.style),i),x=h.useContext(tF.Z),k=null!=s?s:x;return v(h.createElement(Mi,Object.assign({ref:t,character:l,characterRender:u,disabled:k},c,{className:g()(r,o,b,y,null==p?void 0:p.className),style:w,prefixCls:m,direction:f})))}),Mh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"};var Mp=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:Mh}))};let Mm=h.forwardRef(Mp),Mg=()=>h.createElement("svg",{width:"252",height:"294"},h.createElement("title",null,"No Found"),h.createElement("defs",null,h.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),h.createElement("g",{fill:"none",fillRule:"evenodd"},h.createElement("g",{transform:"translate(0 .012)"},h.createElement("mask",{fill:"#fff"}),h.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),h.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),h.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),h.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),h.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),h.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),h.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),h.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),h.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),h.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),h.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1677ff"}),h.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),h.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),h.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),h.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),h.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),h.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),h.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),h.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),h.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),h.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),h.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),h.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),h.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),h.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),h.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),h.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),h.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),h.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),h.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),h.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),h.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),h.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),h.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),h.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),h.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),h.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),h.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),h.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),h.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),h.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),h.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}))),Mv=()=>h.createElement("svg",{width:"254",height:"294"},h.createElement("title",null,"Server Error"),h.createElement("defs",null,h.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),h.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),h.createElement("g",{fill:"none",fillRule:"evenodd"},h.createElement("g",{transform:"translate(0 .067)"},h.createElement("mask",{fill:"#fff"}),h.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),h.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),h.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),h.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),h.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),h.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),h.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),h.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),h.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),h.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),h.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),h.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),h.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),h.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),h.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),h.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),h.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),h.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),h.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),h.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),h.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),h.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),h.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),h.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),h.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),h.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),h.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),h.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),h.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),h.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),h.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),h.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),h.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),h.createElement("mask",{fill:"#fff"}),h.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),h.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),h.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),h.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),h.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),h.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),h.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),h.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),h.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),h.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),h.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"}))),Mb=e=>{let{componentCls:t,lineHeightHeading3:n,iconCls:r,padding:o,paddingXL:i,paddingXS:a,paddingLG:l,marginXS:s,lineHeight:c}=e;return{[t]:{padding:`${(0,G.bf)(e.calc(l).mul(2).equal())} ${(0,G.bf)(i)}`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:l,textAlign:"center",[`& > ${r}`]:{fontSize:e.iconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.titleFontSize,lineHeight:n,marginBlock:s,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.subtitleFontSize,lineHeight:c,textAlign:"center"},[`${t} ${t}-content`]:{marginTop:l,padding:`${(0,G.bf)(l)} ${(0,G.bf)(e.calc(o).mul(2.5).equal())}`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.extraMargin,textAlign:"center","& > *":{marginInlineEnd:a,"&:last-child":{marginInlineEnd:0}}}}},My=e=>{let{componentCls:t,iconCls:n}=e;return{[`${t}-success ${t}-icon > ${n}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${n}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${n}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${n}`]:{color:e.resultWarningIconColor}}},Mw=e=>[Mb(e),My(e)],Mx=e=>Mw(e),MS=e=>({titleFontSize:e.fontSizeHeading3,subtitleFontSize:e.fontSize,iconFontSize:3*e.fontSizeHeading3,extraMargin:`${e.paddingLG}px 0 0 0`}),Mk=(0,k.I$)("Result",e=>{let t=e.colorInfo,n=e.colorError,r=e.colorSuccess,o=e.colorWarning;return[Mx((0,eI.IX)(e,{resultInfoIconColor:t,resultErrorIconColor:n,resultSuccessIconColor:r,resultWarningIconColor:o,imageWidth:250,imageHeight:295}))]},MS),MC=()=>h.createElement("svg",{width:"251",height:"294"},h.createElement("title",null,"Unauthorized"),h.createElement("g",{fill:"none",fillRule:"evenodd"},h.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),h.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),h.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),h.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),h.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),h.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),h.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),h.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),h.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),h.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),h.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),h.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),h.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),h.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),h.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),h.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),h.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),h.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),h.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),h.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),h.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),h.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),h.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),h.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),h.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),h.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),h.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),h.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),h.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),h.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),h.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),h.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),h.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),h.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),h.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),h.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),h.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),h.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),h.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}))),M$={success:j.Z,error:A.Z,info:H,warning:Mm},ME={404:Mg,500:Mv,403:MC},MO=Object.keys(ME),MM=e=>{let{prefixCls:t,icon:n,status:r}=e,o=g()(`${t}-icon`);if(MO.includes(`${r}`)){let e=ME[r];return h.createElement("div",{className:`${o} ${t}-image`},h.createElement(e,null))}let i=h.createElement(M$[r]);return null===n||!1===n?null:h.createElement("div",{className:o},n||i)},MI=e=>{let{prefixCls:t,extra:n}=e;return n?h.createElement("div",{className:`${t}-extra`},n):null},MN=e=>{let{prefixCls:t,className:n,rootClassName:r,subTitle:o,title:i,style:a,children:l,status:s="info",icon:c,extra:u}=e,{getPrefixCls:d,direction:f,result:p}=h.useContext(S.E_),m=d("result",t),[v,b,y]=Mk(m),w=g()(m,`${m}-${s}`,n,null==p?void 0:p.className,r,{[`${m}-rtl`]:"rtl"===f},b,y),x=Object.assign(Object.assign({},null==p?void 0:p.style),a);return v(h.createElement("div",{className:w,style:x},h.createElement(MM,{prefixCls:m,status:s,icon:c}),h.createElement("div",{className:`${m}-title`},i),o&&h.createElement("div",{className:`${m}-subtitle`},o),h.createElement(MI,{prefixCls:m,extra:u}),l&&h.createElement("div",{className:`${m}-content`},l)))};MN.PRESENTED_IMAGE_403=ME["403"],MN.PRESENTED_IMAGE_404=ME["404"],MN.PRESENTED_IMAGE_500=ME["500"];let MZ=MN,MR=kY,MT=e=>{let t,{value:n,formatter:r,precision:o,decimalSeparator:i,groupSeparator:a="",prefixCls:l}=e;if("function"==typeof r)t=r(n);else{let e=String(n),r=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(r&&"-"!==e){let e=r[1],n=r[2]||"0",s=r[4]||"";n=n.replace(/\B(?=(\d{3})+(?!\d))/g,a),"number"==typeof o&&(s=s.padEnd(o,"0").slice(0,o>0?o:0)),s&&(s=`${i}${s}`),t=[h.createElement("span",{key:"int",className:`${l}-content-value-int`},e,n),s&&h.createElement("span",{key:"decimal",className:`${l}-content-value-decimal`},s)]}else t=e}return h.createElement("span",{className:`${l}-content-value`},t)},MP=e=>{let{componentCls:t,marginXXS:n,padding:r,colorTextDescription:o,titleFontSize:i,colorTextHeading:a,contentFontSize:l,fontFamily:s}=e;return{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{[`${t}-title`]:{marginBottom:n,color:o,fontSize:i},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:a,fontSize:l,fontFamily:s,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}})}},Mj=e=>{let{fontSizeHeading3:t,fontSize:n}=e;return{titleFontSize:n,contentFontSize:t}},MA=(0,k.I$)("Statistic",e=>[MP((0,eI.IX)(e,{}))],Mj);var MD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let M_=e=>{let{prefixCls:t,className:n,rootClassName:r,style:o,valueStyle:i,value:a=0,title:l,valueRender:s,prefix:c,suffix:u,loading:d=!1,formatter:f,precision:p,decimalSeparator:m=".",groupSeparator:v=",",onMouseEnter:b,onMouseLeave:y}=e,w=MD(e,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:x,direction:k,statistic:C}=h.useContext(S.E_),$=x("statistic",t),[E,O,M]=MA($),I=h.createElement(MT,{decimalSeparator:m,groupSeparator:v,prefixCls:$,formatter:f,precision:p,value:a}),N=g()($,{[`${$}-rtl`]:"rtl"===k},null==C?void 0:C.className,n,r,O,M),Z=(0,K.Z)(w,{aria:!0,data:!0});return E(h.createElement("div",Object.assign({},Z,{className:N,style:Object.assign(Object.assign({},null==C?void 0:C.style),o),onMouseEnter:b,onMouseLeave:y}),l&&h.createElement("div",{className:`${$}-title`},l),h.createElement(rr,{paragraph:!1,loading:d,className:`${$}-skeleton`},h.createElement("div",{style:i,className:`${$}-content`},c&&h.createElement("span",{className:`${$}-content-prefix`},c),s?s(I):I,u&&h.createElement("span",{className:`${$}-content-suffix`},u)))))},Mz=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];function ML(e,t){let n=e,r=/\[[^\]]*]/g,o=(t.match(r)||[]).map(e=>e.slice(1,-1)),i=t.replace(r,"[]"),a=Mz.reduce((e,t)=>{let[r,o]=t;if(e.includes(r)){let t=Math.floor(n/o);return n-=t*o,e.replace(RegExp(`${r}+`,"g"),e=>{let n=e.length;return t.toString().padStart(n,"0")})}return e},i),l=0;return a.replace(r,()=>{let e=o[l];return l+=1,e})}function MB(e,t){let{format:n=""}=t;return ML(Math.max(new Date(e).getTime()-Date.now(),0),n)}var MH=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let MF=1e3/30;function MW(e){return new Date(e).getTime()}let MV=e=>{let{value:t,format:n="HH:mm:ss",onChange:r,onFinish:o}=e,i=MH(e,["value","format","onChange","onFinish"]),a=(0,lW.Z)(),l=h.useRef(null),s=()=>{null==o||o(),l.current&&(clearInterval(l.current),l.current=null)},c=()=>{let e=MW(t);e>=Date.now()&&(l.current=setInterval(()=>{a(),null==r||r(e-Date.now()),e(c(),()=>{l.current&&(clearInterval(l.current),l.current=null)}),[t]);let u=(e,t)=>MB(e,Object.assign(Object.assign({},t),{format:n})),d=e=>(0,U.Tm)(e,{title:void 0});return h.createElement(M_,Object.assign({},i,{value:t,valueRender:d,formatter:u}))};M_.Countdown=h.memo(MV);let Mq=M_;var MK=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function MX(e){return"string"==typeof e}let MU=function(e){var t,n=e.className,r=e.prefixCls,o=e.style,i=e.active,a=e.status,l=e.iconPrefix,s=e.icon,c=(e.wrapperStyle,e.stepNumber),u=e.disabled,d=e.description,f=e.title,p=e.subTitle,m=e.progressDot,v=e.stepIcon,b=e.tailContent,y=e.icons,w=e.stepIndex,x=e.onStepClick,S=e.onClick,k=e.render,C=(0,eB.Z)(e,MK),$={};x&&!u&&($.role="button",$.tabIndex=0,$.onClick=function(e){null==S||S(e),x(w)},$.onKeyDown=function(e){var t=e.which;(t===eK.Z.ENTER||t===eK.Z.SPACE)&&x(w)});var E=function(){var e,t,n=g()("".concat(r,"-icon"),"".concat(l,"icon"),(e={},(0,eV.Z)(e,"".concat(l,"icon-").concat(s),s&&MX(s)),(0,eV.Z)(e,"".concat(l,"icon-check"),!s&&"finish"===a&&(y&&!y.finish||!y)),(0,eV.Z)(e,"".concat(l,"icon-cross"),!s&&"error"===a&&(y&&!y.error||!y)),e)),o=h.createElement("span",{className:"".concat(r,"-icon-dot")});return t=m?"function"==typeof m?h.createElement("span",{className:"".concat(r,"-icon")},m(o,{index:c-1,status:a,title:f,description:d})):h.createElement("span",{className:"".concat(r,"-icon")},o):s&&!MX(s)?h.createElement("span",{className:"".concat(r,"-icon")},s):y&&y.finish&&"finish"===a?h.createElement("span",{className:"".concat(r,"-icon")},y.finish):y&&y.error&&"error"===a?h.createElement("span",{className:"".concat(r,"-icon")},y.error):s||"finish"===a||"error"===a?h.createElement("span",{className:n}):h.createElement("span",{className:"".concat(r,"-icon")},c),v&&(t=v({index:c-1,status:a,title:f,description:d,node:t})),t},O=a||"wait",M=g()("".concat(r,"-item"),"".concat(r,"-item-").concat(O),n,(t={},(0,eV.Z)(t,"".concat(r,"-item-custom"),s),(0,eV.Z)(t,"".concat(r,"-item-active"),i),(0,eV.Z)(t,"".concat(r,"-item-disabled"),!0===u),t)),I=(0,eH.Z)({},o),N=h.createElement("div",(0,_.Z)({},C,{className:M,style:I}),h.createElement("div",(0,_.Z)({onClick:S},$,{className:"".concat(r,"-item-container")}),h.createElement("div",{className:"".concat(r,"-item-tail")},b),h.createElement("div",{className:"".concat(r,"-item-icon")},E()),h.createElement("div",{className:"".concat(r,"-item-content")},h.createElement("div",{className:"".concat(r,"-item-title")},f,p&&h.createElement("div",{title:"string"==typeof p?p:void 0,className:"".concat(r,"-item-subtitle")},p)),d&&h.createElement("div",{className:"".concat(r,"-item-description")},d))));return k&&(N=k(N)||null),N};var MG=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function MY(e){var t,n=e.prefixCls,r=void 0===n?"rc-steps":n,o=e.style,i=void 0===o?{}:o,a=e.className,l=(e.children,e.direction),s=void 0===l?"horizontal":l,c=e.type,u=void 0===c?"default":c,d=e.labelPlacement,f=void 0===d?"horizontal":d,h=e.iconPrefix,m=void 0===h?"rc":h,v=e.status,b=void 0===v?"process":v,y=e.size,w=e.current,x=void 0===w?0:w,S=e.progressDot,k=void 0!==S&&S,C=e.stepIcon,$=e.initial,E=void 0===$?0:$,O=e.icons,M=e.onChange,I=e.itemRender,N=e.items,Z=void 0===N?[]:N,R=(0,eB.Z)(e,MG),T="navigation"===u,P="inline"===u,j=P||k,A=P?"horizontal":s,D=P?void 0:y,z=j?"vertical":f,L=g()(r,"".concat(r,"-").concat(A),a,(t={},(0,eV.Z)(t,"".concat(r,"-").concat(D),D),(0,eV.Z)(t,"".concat(r,"-label-").concat(z),"horizontal"===A),(0,eV.Z)(t,"".concat(r,"-dot"),!!j),(0,eV.Z)(t,"".concat(r,"-navigation"),T),(0,eV.Z)(t,"".concat(r,"-inline"),P),t)),B=function(e){M&&x!==e&&M(e)},H=function(e,t){var n=(0,eH.Z)({},e),o=E+t;return"error"===b&&t===x-1&&(n.className="".concat(r,"-next-error")),n.status||(o===x?n.status=b:o{let{componentCls:t,customIconTop:n,customIconSize:r,customIconFontSize:o}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:n,width:r,height:r,fontSize:o,lineHeight:(0,G.bf)(r)}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},M0=e=>{let{componentCls:t}=e,n=`${t}-item`;return{[`${t}-horizontal`]:{[`${n}-tail`]:{transform:"translateY(-50%)"}}}},M1=e=>{let{componentCls:t,inlineDotSize:n,inlineTitleColor:r,inlineTailColor:o}=e,i=e.calc(e.paddingXS).add(e.lineWidth).equal(),a={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:r}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${(0,G.bf)(i)} ${(0,G.bf)(e.paddingXXS)} 0`,margin:`0 ${(0,G.bf)(e.calc(e.marginXXS).div(2).equal())}`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:n,height:n,marginInlineStart:`calc(50% - ${(0,G.bf)(e.calc(n).div(2).equal())})`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.calc(e.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:e.calc(e.marginXS).sub(e.lineWidth).equal()},"&-title":{color:r,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.calc(e.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:e.calc(n).div(2).add(i).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:o}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${o}`}},a),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:o},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:o,border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${o}`}},a),"&-error":a,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:n,height:n,marginInlineStart:`calc(50% - ${(0,G.bf)(e.calc(n).div(2).equal())})`,top:0}},a),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:r}}}}}},M2=e=>{let{componentCls:t,iconSize:n,lineHeight:r,iconSizeSM:o}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:e.calc(n).div(2).add(e.controlHeightLG).equal(),padding:`0 ${(0,G.bf)(e.paddingLG)}`},"&-content":{display:"block",width:e.calc(n).div(2).add(e.controlHeightLG).mul(2).equal(),marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:r}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.calc(n).sub(o).div(2).add(e.controlHeightLG).equal()}}}}}},M4=e=>{let{componentCls:t,navContentMaxWidth:n,navArrowColor:r,stepsNavActiveColor:o,motionDurationSlow:i}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:e.calc(e.marginSM).mul(-1).equal()}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:e.calc(e.margin).mul(-1).equal(),paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${i}`,[`${t}-item-content`]:{maxWidth:n},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},Y.vS),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${(0,G.bf)(e.calc(e.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${r}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:o,transition:`width ${i}, inset-inline-start ${i}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.calc(e.lineWidth).mul(3).equal(),height:`calc(100% - ${(0,G.bf)(e.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.calc(e.controlHeight).mul(.25).equal(),height:e.calc(e.controlHeight).mul(.25).equal(),marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},M3=e=>{let{antCls:t,componentCls:n,iconSize:r,iconSizeSM:o,processIconColor:i,marginXXS:a,lineWidthBold:l,lineWidth:s,paddingXXS:c}=e,u=e.calc(r).add(e.calc(l).mul(4).equal()).equal(),d=e.calc(o).add(e.calc(e.lineWidth).mul(4).equal()).equal();return{[`&${n}-with-progress`]:{[`${n}-item`]:{paddingTop:c,[`&-process ${n}-item-container ${n}-item-icon ${n}-icon`]:{color:i}},[`&${n}-vertical > ${n}-item `]:{paddingInlineStart:c,[`> ${n}-item-container > ${n}-item-tail`]:{top:a,insetInlineStart:e.calc(r).div(2).sub(s).add(c).equal()}},[`&, &${n}-small`]:{[`&${n}-horizontal ${n}-item:first-child`]:{paddingBottom:c,paddingInlineStart:c}},[`&${n}-small${n}-vertical > ${n}-item > ${n}-item-container > ${n}-item-tail`]:{insetInlineStart:e.calc(o).div(2).sub(s).add(c).equal()},[`&${n}-label-vertical ${n}-item ${n}-item-tail`]:{top:e.calc(r).div(2).add(c).equal()},[`${n}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetInlineStart:"50%",top:"50%",transform:"translate(-50%, -50%)","&-inner":{width:`${(0,G.bf)(u)} !important`,height:`${(0,G.bf)(u)} !important`}}},[`&${n}-small`]:{[`&${n}-label-vertical ${n}-item ${n}-item-tail`]:{top:e.calc(o).div(2).add(c).equal()},[`${n}-item-icon ${t}-progress-inner`]:{width:`${(0,G.bf)(d)} !important`,height:`${(0,G.bf)(d)} !important`}}}}},M5=e=>{let{componentCls:t,descriptionMaxWidth:n,lineHeight:r,dotCurrentSize:o,dotSize:i,motionDurationSlow:a}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:r},"&-tail":{top:e.calc(e.dotSize).sub(e.calc(e.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${(0,G.bf)(e.calc(n).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${(0,G.bf)(e.calc(e.marginSM).mul(2).equal())})`,height:e.calc(e.lineWidth).mul(3).equal(),marginInlineStart:e.marginSM}},"&-icon":{width:i,height:i,marginInlineStart:e.calc(e.descriptionMaxWidth).sub(i).div(2).equal(),paddingInlineEnd:0,lineHeight:(0,G.bf)(i),background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${a}`,"&::after":{position:"absolute",top:e.calc(e.marginSM).mul(-1).equal(),insetInlineStart:e.calc(i).sub(e.calc(e.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:e.calc(e.controlHeightLG).mul(1.5).equal(),height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:n},[`&-process ${t}-item-icon`]:{position:"relative",top:e.calc(i).sub(o).div(2).equal(),width:o,height:o,lineHeight:(0,G.bf)(o),background:"none",marginInlineStart:e.calc(e.descriptionMaxWidth).sub(o).div(2).equal()},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(i).div(2).equal(),marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(o).div(2).equal(),top:0,insetInlineStart:e.calc(i).sub(o).div(2).equal(),marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeight).sub(i).div(2).equal(),insetInlineStart:0,margin:0,padding:`${(0,G.bf)(e.calc(i).add(e.paddingXS).equal())} 0 ${(0,G.bf)(e.paddingXS)}`,"&::after":{marginInlineStart:e.calc(i).sub(e.lineWidth).div(2).equal()}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(i).div(2).equal()},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(o).div(2).equal()},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeightSM).sub(i).div(2).equal()}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},M8=e=>{let{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},M6=e=>{let{componentCls:t,iconSizeSM:n,fontSizeSM:r,fontSize:o,colorTextDescription:i}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:n,height:n,marginTop:0,marginBottom:0,marginInline:`0 ${(0,G.bf)(e.marginXS)}`,fontSize:r,lineHeight:(0,G.bf)(n),textAlign:"center",borderRadius:n},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:o,lineHeight:(0,G.bf)(n),"&::after":{top:e.calc(n).div(2).equal()}},[`${t}-item-description`]:{color:i,fontSize:o},[`${t}-item-tail`]:{top:e.calc(n).div(2).sub(e.paddingXXS).equal()},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:n,lineHeight:(0,G.bf)(n),transform:"none"}}}}},M7=e=>{let{componentCls:t,iconSizeSM:n,iconSize:r}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.calc(e.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${t}-item-title`]:{lineHeight:(0,G.bf)(r)},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(r).div(2).sub(e.lineWidth).equal(),width:e.lineWidth,height:"100%",padding:`${(0,G.bf)(e.calc(e.marginXXS).mul(1.5).add(r).equal())} 0 ${(0,G.bf)(e.calc(e.marginXXS).mul(1.5).equal())}`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(n).div(2).sub(e.lineWidth).equal(),padding:`${(0,G.bf)(e.calc(e.marginXXS).mul(1.5).add(n).equal())} 0 ${(0,G.bf)(e.calc(e.marginXXS).mul(1.5).equal())}`},[`${t}-item-title`]:{lineHeight:(0,G.bf)(n)}}}}},M9="wait",Ie="process",It="finish",In="error",Ir=(e,t)=>{let n=`${t.componentCls}-item`,r=`${e}IconColor`,o=`${e}TitleColor`,i=`${e}DescriptionColor`,a=`${e}TailColor`,l=`${e}IconBgColor`,s=`${e}IconBorderColor`,c=`${e}DotColor`;return{[`${n}-${e} ${n}-icon`]:{backgroundColor:t[l],borderColor:t[s],[`> ${t.componentCls}-icon`]:{color:t[r],[`${t.componentCls}-icon-dot`]:{background:t[c]}}},[`${n}-${e}${n}-custom ${n}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[c]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-title`]:{color:t[o],"&::after":{backgroundColor:t[a]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-description`]:{color:t[i]},[`${n}-${e} > ${n}-container > ${n}-tail::after`]:{backgroundColor:t[a]}}},Io=e=>{let{componentCls:t,motionDurationSlow:n}=e,r=`${t}-item`,o=`${r}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[r]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${r}-container > ${r}-tail, > ${r}-container > ${r}-content > ${r}-title::after`]:{display:"none"}}},[`${r}-container`]:{outline:"none","&:focus-visible":{[o]:Object.assign({},(0,Y.oN)(e))}},[`${o}, ${r}-content`]:{display:"inline-block",verticalAlign:"top"},[o]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:(0,G.bf)(e.iconSize),textAlign:"center",borderRadius:e.iconSize,border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} transparent`,transition:`background-color ${n}, border-color ${n}`,[`${t}-icon`]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},[`${r}-tail`]:{position:"absolute",top:e.calc(e.iconSize).div(2).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${n}`,content:'""'}},[`${r}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:(0,G.bf)(e.titleLineHeight),"&::after":{position:"absolute",top:e.calc(e.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${r}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${r}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},Ir(M9,e)),Ir(Ie,e)),{[`${r}-process > ${r}-container > ${r}-title`]:{fontWeight:e.fontWeightStrong}}),Ir(It,e)),Ir(In,e)),{[`${r}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${r}-disabled`]:{cursor:"not-allowed"}})},Ii=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${n}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionMaxWidth,whiteSpace:"normal"}}}}},Ia=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),Io(e)),Ii(e)),MJ(e)),M6(e)),M7(e)),M0(e)),M2(e)),M5(e)),M4(e)),M8(e)),M3(e)),M1(e))}},Il=e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}),Is=(0,k.I$)("Steps",e=>{let{colorTextDisabled:t,controlHeightLG:n,colorTextLightSolid:r,colorText:o,colorPrimary:i,colorTextDescription:a,colorTextQuaternary:l,colorError:s,colorBorderSecondary:c,colorSplit:u}=e;return[Ia((0,eI.IX)(e,{processIconColor:r,processTitleColor:o,processDescriptionColor:o,processIconBgColor:i,processIconBorderColor:i,processDotColor:i,processTailColor:u,waitTitleColor:a,waitDescriptionColor:a,waitTailColor:u,waitDotColor:t,finishIconColor:i,finishTitleColor:o,finishDescriptionColor:a,finishTailColor:i,finishDotColor:i,errorIconColor:r,errorTitleColor:s,errorDescriptionColor:s,errorTailColor:u,errorIconBgColor:s,errorIconBorderColor:s,errorDotColor:s,stepsNavActiveColor:i,stepsProgressSize:n,inlineDotSize:6,inlineTitleColor:l,inlineTailColor:c}))]},Il);function Ic(e){return e.filter(e=>e)}function Iu(e,t){return e||Ic((0,oS.Z)(t).map(e=>{if(h.isValidElement(e)){let{props:t}=e;return Object.assign({},t)}return null}))}var Id=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let If=e=>{let{percent:t,size:n,className:r,rootClassName:o,direction:i,items:a,responsive:l=!0,current:s=0,children:c,style:u}=e,d=Id(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:f}=lV(l),{getPrefixCls:p,direction:m,steps:v}=h.useContext(S.E_),b=h.useMemo(()=>l&&f?"vertical":i,[f,i]),y=(0,aj.Z)(n),w=p("steps",e.prefixCls),[x,k,C]=Is(w),$="inline"===e.type,E=p("",e.iconPrefix),O=Iu(a,c),M=$?void 0:t,I=Object.assign(Object.assign({},null==v?void 0:v.style),u),N=g()(null==v?void 0:v.className,{[`${w}-rtl`]:"rtl"===m,[`${w}-with-progress`]:void 0!==M},r,o,k,C),Z={finish:h.createElement(lb.Z,{className:`${w}-finish-icon`}),error:h.createElement(D.Z,{className:`${w}-error-icon`})},R=e=>{let{node:t,status:n}=e;if("process"===n&&void 0!==M){let e="small"===y?32:40;return h.createElement("div",{className:`${w}-progress-icon`},h.createElement(Og.Z,{type:"circle",percent:M,size:e,strokeWidth:4,format:()=>null}),t)}return t},T=(e,t)=>e.description?h.createElement(l1.Z,{title:e.description},t):t;return x(h.createElement(MQ,Object.assign({icons:Z},d,{style:I,current:s,size:y,items:O,itemRender:$?T:void 0,stepIcon:R,direction:b,prefixCls:w,iconPrefix:E,className:N})))};If.Step=MQ.Step;let Ih=If;var Ip=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Im=h.forwardRef(function(e,t){var n,r=e.prefixCls,o=void 0===r?"rc-switch":r,i=e.className,a=e.checked,l=e.defaultChecked,s=e.disabled,c=e.loadingIcon,u=e.checkedChildren,d=e.unCheckedChildren,f=e.onClick,p=e.onChange,m=e.onKeyDown,v=(0,eB.Z)(e,Ip),b=(0,ok.Z)(!1,{value:a,defaultValue:l}),y=(0,eL.Z)(b,2),w=y[0],x=y[1];function S(e,t){var n=w;return s||(x(n=e),null==p||p(n,t)),n}function k(e){e.which===eK.Z.LEFT?S(!1,e):e.which===eK.Z.RIGHT&&S(!0,e),null==m||m(e)}function C(e){var t=S(!w,e);null==f||f(t,e)}var $=g()(o,i,(n={},(0,eV.Z)(n,"".concat(o,"-checked"),w),(0,eV.Z)(n,"".concat(o,"-disabled"),s),n));return h.createElement("button",(0,_.Z)({},v,{type:"button",role:"switch","aria-checked":w,disabled:s,className:$,ref:t,onKeyDown:k,onClick:C}),c,h.createElement("span",{className:"".concat(o,"-inner")},h.createElement("span",{className:"".concat(o,"-inner-checked")},u),h.createElement("span",{className:"".concat(o,"-inner-unchecked")},d)))});Im.displayName="Switch";let Ig=Im,Iv=e=>{let{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:o,innerMinMarginSM:i,innerMaxMarginSM:a,handleSizeSM:l,calc:s}=e,c=`${t}-inner`,u=(0,G.bf)(s(l).add(s(r).mul(2)).equal()),d=(0,G.bf)(s(a).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:o,height:n,lineHeight:(0,G.bf)(n),[`${t}-inner`]:{paddingInlineStart:a,paddingInlineEnd:i,[`${c}-checked, ${c}-unchecked`]:{minHeight:n},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${c}-unchecked`]:{marginTop:s(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:l,height:l},[`${t}-loading-icon`]:{top:s(s(l).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:a,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${(0,G.bf)(s(l).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:s(e.marginXXS).div(2).equal(),marginInlineEnd:s(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:s(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:s(e.marginXXS).div(2).equal()}}}}}}},Ib=e=>{let{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},Iy=e=>{let{componentCls:t,trackPadding:n,handleBg:r,handleShadow:o,handleSize:i,calc:a}=e,l=`${t}-handle`;return{[t]:{[l]:{position:"absolute",top:n,insetInlineStart:n,width:i,height:i,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:a(i).div(2).equal(),boxShadow:o,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${l}`]:{insetInlineStart:`calc(100% - ${(0,G.bf)(a(i).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${l}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${l}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},Iw=e=>{let{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:o,innerMaxMargin:i,handleSize:a,calc:l}=e,s=`${t}-inner`,c=(0,G.bf)(l(a).add(l(r).mul(2)).equal()),u=(0,G.bf)(l(i).mul(2).equal());return{[t]:{[s]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:i,paddingInlineEnd:o,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${s}-checked, ${s}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${s}-checked`]:{marginInlineStart:`calc(-100% + ${c} - ${u})`,marginInlineEnd:`calc(100% - ${c} + ${u})`},[`${s}-unchecked`]:{marginTop:l(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${s}`]:{paddingInlineStart:o,paddingInlineEnd:i,[`${s}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${s}-unchecked`]:{marginInlineStart:`calc(100% - ${c} + ${u})`,marginInlineEnd:`calc(-100% + ${c} - ${u})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${s}`]:{[`${s}-unchecked`]:{marginInlineStart:l(r).mul(2).equal(),marginInlineEnd:l(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${s}`]:{[`${s}-checked`]:{marginInlineStart:l(r).mul(-1).mul(2).equal(),marginInlineEnd:l(r).mul(2).equal()}}}}}},Ix=e=>{let{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:(0,G.bf)(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),(0,Y.Qy)(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},IS=e=>{let{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:o}=e,i=t*n,a=r/2,l=2,s=i-4,c=a-4;return{trackHeight:i,trackHeightSM:a,trackMinWidth:2*s+8,trackMinWidthSM:2*c+4,trackPadding:2,handleBg:o,handleSize:s,handleSizeSM:c,handleShadow:`0 2px 4px 0 ${new tD.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:s/2,innerMaxMargin:s+l+2*l,innerMinMarginSM:c/2,innerMaxMarginSM:c+l+2*l}},Ik=(0,k.I$)("Switch",e=>{let t=(0,eI.IX)(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Ix(t),Iw(t),Iy(t),Ib(t),Iv(t)]},IS);var IC=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let I$=h.forwardRef((e,t)=>{let{prefixCls:n,size:r,disabled:o,loading:i,className:a,rootClassName:l,style:s,checked:c,value:u,defaultChecked:d,defaultValue:f,onChange:p}=e,m=IC(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[v,b]=(0,ok.Z)(!1,{value:null!=c?c:u,defaultValue:null!=d?d:f}),{getPrefixCls:y,direction:w,switch:x}=h.useContext(S.E_),k=h.useContext(tF.Z),C=(null!=o?o:k)||i,$=y("switch",n),E=h.createElement("div",{className:`${$}-handle`},i&&h.createElement(te.Z,{className:`${$}-loading-icon`})),[O,M,I]=Ik($),N=(0,aj.Z)(r),Z=g()(null==x?void 0:x.className,{[`${$}-small`]:"small"===N,[`${$}-loading`]:i,[`${$}-rtl`]:"rtl"===w},a,l,M,I),R=Object.assign(Object.assign({},null==x?void 0:x.style),s),T=function(){b(arguments.length<=0?void 0:arguments[0]),null==p||p.apply(void 0,arguments)};return O(h.createElement(hV.Z,{component:"Switch"},h.createElement(Ig,Object.assign({},m,{checked:v,onChange:T,prefixCls:$,className:Z,style:R,disabled:C,ref:t,loadingIcon:E}))))});I$.__ANT_SWITCH=!0;let IE=I$;var IO={},IM="rc-table-internal-hook";function II(e){var t=h.createContext(void 0),n=function(e){var n=e.value,r=e.children,o=h.useRef(n);o.current=n;var i=h.useState(function(){return{getValue:function(){return o.current},listeners:new Set}}),a=(0,eL.Z)(i,1)[0];return(0,oE.Z)(function(){(0,eF.unstable_batchedUpdates)(function(){a.listeners.forEach(function(e){e(n)})})},[n]),h.createElement(t.Provider,{value:a},r)};return{Context:t,Provider:n,defaultValue:e}}function IN(e,t){var n=(0,ey.Z)("function"==typeof t?t:function(e){if(void 0===t)return e;if(!Array.isArray(t))return e[t];var n={};return t.forEach(function(t){n[t]=e[t]}),n}),r=h.useContext(null==e?void 0:e.Context),o=r||{},i=o.listeners,a=o.getValue,l=h.useRef();l.current=n(r?a():null==e?void 0:e.defaultValue);var s=h.useState({}),c=(0,eL.Z)(s,2)[1];return(0,oE.Z)(function(){if(r)return i.add(e),function(){i.delete(e)};function e(e){var t=n(e);(0,tq.Z)(l.current,t,!0)||c({})}},[r]),l.current}function IZ(){var e=h.createContext(null);function t(){return h.useContext(e)}return{makeImmutable:function(n,r){var o=(0,X.Yr)(n),i=function(i,a){var l=o?{ref:a}:{},s=h.useRef(0),c=h.useRef(i);return null!==t()?h.createElement(n,(0,_.Z)({},i,l)):((!r||r(c.current,i))&&(s.current+=1),c.current=i,h.createElement(e.Provider,{value:s.current},h.createElement(n,(0,_.Z)({},i,l))))};return o?h.forwardRef(i):i},responseImmutable:function(e,n){var r=(0,X.Yr)(e),o=function(n,o){var i=r?{ref:o}:{};return t(),h.createElement(e,(0,_.Z)({},n,i))};return r?h.memo(h.forwardRef(o),n):h.memo(o,n)},useImmutableMark:t}}var IR=IZ();IR.makeImmutable,IR.responseImmutable,IR.useImmutableMark;var IT=IZ(),IP=IT.makeImmutable,Ij=IT.responseImmutable,IA=IT.useImmutableMark;let ID=II();var I_=n(88306);let Iz=h.createContext({renderWithProps:!1});var IL="RC_TABLE_KEY";function IB(e){return null==e?[]:Array.isArray(e)?e:[e]}function IH(e){var t=[],n={};return e.forEach(function(e){for(var r=e||{},o=r.key,i=r.dataIndex,a=o||IB(i).join("-")||IL;n[a];)a="".concat(a,"_next");n[a]=!0,t.push(a)}),t}function IF(e){return null!=e}function IW(e){return"number"==typeof e&&!Number.isNaN(e)}function IV(e){return e&&"object"===(0,eq.Z)(e)&&!Array.isArray(e)&&!h.isValidElement(e)}function Iq(e,t,n,r,o,i){var a=h.useContext(Iz),l=IA();return(0,tS.Z)(function(){if(IF(r))return[r];var i=null==t||""===t?[]:Array.isArray(t)?t:[t],l=(0,I_.Z)(e,i),s=l,c=void 0;if(o){var u=o(l,e,n);IV(u)?(s=u.children,c=u.props,a.renderWithProps=!0):s=u}return[s,c]},[l,e,r,t,o,n],function(e,t){if(i){var n=(0,eL.Z)(e,2)[1];return i((0,eL.Z)(t,2)[1],n)}return!!a.renderWithProps||!(0,tq.Z)(e,t,!0)})}function IK(e,t,n,r){var o=e+t-1;return e<=r&&o>=n}function IX(e,t){return IN(ID,function(n){return[IK(e,t||1,n.hoverStartRow,n.hoverEndRow),n.onHover]})}var IU=function(e){var t,n=e.ellipsis,r=e.rowType,o=e.children,i=!0===n?{showTitle:!0}:n;return i&&(i.showTitle||"header"===r)&&("string"==typeof o||"number"==typeof o?t=o.toString():h.isValidElement(o)&&"string"==typeof o.props.children&&(t=o.props.children)),t};function IG(e){var t,n,r,o,i,a,l,s,c=e.component,u=e.children,d=e.ellipsis,f=e.scope,p=e.prefixCls,m=e.className,v=e.align,b=e.record,y=e.render,w=e.dataIndex,x=e.renderIndex,S=e.shouldCellUpdate,k=e.index,C=e.rowType,$=e.colSpan,E=e.rowSpan,O=e.fixLeft,M=e.fixRight,I=e.firstFixLeft,N=e.lastFixLeft,Z=e.firstFixRight,R=e.lastFixRight,T=e.appendNode,P=e.additionalProps,j=void 0===P?{}:P,A=e.isSticky,D="".concat(p,"-cell"),z=IN(ID,["supportSticky","allColumnsFixedLeft","rowHoverable"]),L=z.supportSticky,B=z.allColumnsFixedLeft,H=z.rowHoverable,F=Iq(b,w,x,u,y,S),W=(0,eL.Z)(F,2),V=W[0],q=W[1],K={},X="number"==typeof O&&L,U="number"==typeof M&&L;X&&(K.position="sticky",K.left=O),U&&(K.position="sticky",K.right=M);var G=null!=(t=null!=(n=null!=(r=null==q?void 0:q.colSpan)?r:j.colSpan)?n:$)?t:1,Y=null!=(o=null!=(i=null!=(a=null==q?void 0:q.rowSpan)?a:j.rowSpan)?i:E)?o:1,Q=IX(k,Y),J=(0,eL.Z)(Q,2),ee=J[0],et=J[1],en=(0,e3.zX)(function(e){var t;b&&et(k,k+Y-1),null==j||null==(t=j.onMouseEnter)||t.call(j,e)}),er=(0,e3.zX)(function(e){var t;b&&et(-1,-1),null==j||null==(t=j.onMouseLeave)||t.call(j,e)});if(0===G||0===Y)return null;var eo=null!=(l=j.title)?l:IU({rowType:C,ellipsis:d,children:V}),ei=g()(D,m,(s={},(0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)(s,"".concat(D,"-fix-left"),X&&L),"".concat(D,"-fix-left-first"),I&&L),"".concat(D,"-fix-left-last"),N&&L),"".concat(D,"-fix-left-all"),N&&B&&L),"".concat(D,"-fix-right"),U&&L),"".concat(D,"-fix-right-first"),Z&&L),"".concat(D,"-fix-right-last"),R&&L),"".concat(D,"-ellipsis"),d),"".concat(D,"-with-append"),T),"".concat(D,"-fix-sticky"),(X||U)&&A&&L),(0,eV.Z)(s,"".concat(D,"-row-hover"),!q&&ee)),j.className,null==q?void 0:q.className),ea={};v&&(ea.textAlign=v);var el=(0,eH.Z)((0,eH.Z)((0,eH.Z)((0,eH.Z)({},null==q?void 0:q.style),K),ea),j.style),es=V;return"object"!==(0,eq.Z)(es)||Array.isArray(es)||h.isValidElement(es)||(es=null),d&&(N||Z)&&(es=h.createElement("span",{className:"".concat(D,"-content")},es)),h.createElement(c,(0,_.Z)({},q,j,{className:ei,style:el,title:eo,scope:f,onMouseEnter:H?en:void 0,onMouseLeave:H?er:void 0,colSpan:1!==G?G:null,rowSpan:1!==Y?Y:null}),T,es)}let IY=h.memo(IG);function IQ(e,t,n,r,o){var i,a,l=n[e]||{},s=n[t]||{};"left"===l.fixed?i=r.left["rtl"===o?t:e]:"right"===s.fixed&&(a=r.right["rtl"===o?e:t]);var c=!1,u=!1,d=!1,f=!1,h=n[t+1],p=n[e-1],m=h&&!h.fixed||p&&!p.fixed||n.every(function(e){return"left"===e.fixed});return"rtl"===o?void 0!==i?f=!(p&&"left"===p.fixed)&&m:void 0!==a&&(d=!(h&&"right"===h.fixed)&&m):void 0!==i?c=!(h&&"left"===h.fixed)&&m:void 0!==a&&(u=!(p&&"right"===p.fixed)&&m),{fixLeft:i,fixRight:a,lastFixLeft:c,firstFixRight:u,lastFixRight:d,firstFixLeft:f,isSticky:r.isSticky}}let IJ=h.createContext({});function I0(e){var t=e.className,n=e.index,r=e.children,o=e.colSpan,i=void 0===o?1:o,a=e.rowSpan,l=e.align,s=IN(ID,["prefixCls","direction"]),c=s.prefixCls,u=s.direction,d=h.useContext(IJ),f=d.scrollColumnIndex,p=d.stickyOffsets,m=d.flattenColumns,g=n+i-1+1===f?i+1:i,v=IQ(n,n+g-1,m,p,u);return h.createElement(IY,(0,_.Z)({className:t,index:n,component:"td",prefixCls:c,record:null,dataIndex:null,align:l,colSpan:g,rowSpan:a,render:function(){return r}},v))}var I1=["children"];function I2(e){return e.children}I2.Row=function(e){var t=e.children,n=(0,eB.Z)(e,I1);return h.createElement("tr",n,t)},I2.Cell=I0;let I4=I2,I3=Ij(function(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,o=IN(ID,"prefixCls"),i=r.length-1,a=r[i],l=h.useMemo(function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:null!=a&&a.scrollbar?i:null}},[a,r,i,n]);return h.createElement(IJ.Provider,{value:l},h.createElement("tfoot",{className:"".concat(o,"-summary")},t))});var I5=I4,I8=function(e){if((0,t_.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},I6=function(e,t){if(!I8(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function I7(e,t){return Array.isArray(e)||void 0===t?I8(e):I6(e,t)}var I9=n(74204);function Ne(e,t,n,r,o,i,a){e.push({record:t,indent:n,index:a});var l=i(t),s=null==o?void 0:o.has(l);if(t&&Array.isArray(t[r])&&s)for(var c=0;c1?n-1:0),o=1;o=1)),style:(0,eH.Z)((0,eH.Z)({},r),null==w?void 0:w.style)}),v.map(function(e,t){var n=e.render,r=e.dataIndex,l=e.className,s=Nl(p,e,t,c,i),u=s.key,g=s.fixedInfo,v=s.appendCellNode,b=s.additionalCellProps;return h.createElement(IY,(0,_.Z)({className:l,ellipsis:e.ellipsis,align:e.align,scope:e.rowScope,component:e.rowScope?f:d,prefixCls:m,key:u,record:o,index:i,renderIndex:a,dataIndex:r,render:n,shouldCellUpdate:e.shouldCellUpdate},g,{appendNode:v,additionalProps:b}))}));if(S&&(k.current||x)){var E=y(o,i,c+1,x);t=h.createElement(Nr,{expanded:x,className:g()("".concat(m,"-expanded-row"),"".concat(m,"-expanded-row-level-").concat(c+1),C),prefixCls:m,component:u,cellComponent:d,colSpan:v.length,isEmpty:!1},E)}return h.createElement(h.Fragment,null,$,t)});function Nc(e){var t=e.columnKey,n=e.onColumnResize,r=h.useRef();return h.useEffect(function(){r.current&&n(t,r.current.offsetWidth)},[]),h.createElement(v.Z,{data:t},h.createElement("td",{ref:r,style:{padding:0,border:0,height:0}},h.createElement("div",{style:{height:0,overflow:"hidden"}},"\xa0")))}function Nu(e){var t=e.prefixCls,n=e.columnsKey,r=e.onColumnResize;return h.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},h.createElement(v.Z.Collection,{onBatchResize:function(e){e.forEach(function(e){r(e.data,e.size.offsetWidth)})}},n.map(function(e){return h.createElement(Nc,{key:e,columnKey:e,onColumnResize:r})})))}let Nd=Ij(function e(e){var t,n=e.data,r=e.measureColumnWidth,o=IN(ID,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),i=o.prefixCls,a=o.getComponent,l=o.onColumnResize,s=o.flattenColumns,c=o.getRowKey,u=o.expandedKeys,d=o.childrenColumnName,f=o.emptyNode,p=Nt(n,d,u,c),m=h.useRef({renderWithProps:!1}),g=a(["body","wrapper"],"tbody"),v=a(["body","row"],"tr"),b=a(["body","cell"],"td"),y=a(["body","cell"],"th");t=n.length?p.map(function(e,t){var n=e.record,r=e.indent,o=e.index,i=c(n,t);return h.createElement(Ns,{key:i,rowKey:i,record:n,index:t,renderIndex:o,rowComponent:v,cellComponent:b,scopeCellComponent:y,getRowKey:c,indent:r})}):h.createElement(Nr,{expanded:!0,className:"".concat(i,"-placeholder"),prefixCls:i,component:v,cellComponent:b,colSpan:s.length,isEmpty:!0},f);var w=IH(s);return h.createElement(Iz.Provider,{value:m.current},h.createElement(g,{className:"".concat(i,"-tbody")},r&&h.createElement(Nu,{prefixCls:i,columnsKey:w,onColumnResize:l}),t))});var Nf=["expandable"],Nh="RC_TABLE_INTERNAL_COL_DEFINE";function Np(e){var t,n=e.expandable,r=(0,eB.Z)(e,Nf);return!1===(t="expandable"in e?(0,eH.Z)((0,eH.Z)({},r),n):r).showExpandColumn&&(t.expandIconColumnIndex=-1),t}var Nm=["columnType"];let Ng=function(e){for(var t=e.colWidths,n=e.columns,r=e.columCount,o=IN(ID,["tableLayout"]).tableLayout,i=[],a=r||n.length,l=!1,s=a-1;s>=0;s-=1){var c=t[s],u=n&&n[s],d=void 0,f=void 0;if(u&&(d=u[Nh],"auto"===o&&(f=u.minWidth)),c||f||d||l){var p=d||{},m=(p.columnType,(0,eB.Z)(p,Nm));i.unshift(h.createElement("col",(0,_.Z)({key:s,style:{width:c,minWidth:f}},m))),l=!0}}return h.createElement("colgroup",null,i)};var Nv=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Nb(e,t){return(0,h.useMemo)(function(){for(var n=[],r=0;r1?"colgroup":"col":null,ellipsis:i.ellipsis,align:i.align,component:a,prefixCls:u,key:f[t]},l,{additionalProps:n,rowType:"header"}))}))};function NS(e){var t=[];function n(e,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;t[o]=t[o]||[];var i=r;return e.filter(Boolean).map(function(e){var r={key:e.key,className:e.className||"",children:e.title,column:e,colStart:i},a=1,l=e.children;return l&&l.length>0&&(a=n(l,i,o+1).reduce(function(e,t){return e+t},0),r.hasSubColumns=!0),"colSpan"in e&&(a=e.colSpan),"rowSpan"in e&&(r.rowSpan=e.rowSpan),r.colSpan=a,r.colEnd=r.colStart+a-1,t[o].push(r),i+=a,a})}n(e,0);for(var r=t.length,o=function(e){t[e].forEach(function(t){"rowSpan"in t||t.hasSubColumns||(t.rowSpan=r-e)})},i=0;i1&&void 0!==arguments[1]?arguments[1]:"";return"number"==typeof t?t:t.endsWith("%")?e*parseFloat(t)/100:null}function N$(e,t,n){return h.useMemo(function(){if(t&&t>0){var r=0,o=0;e.forEach(function(e){var n=NC(t,e.width);n?r+=n:o+=1});var i=Math.max(t,n),a=Math.max(i-r,o),l=o,s=a/o,c=0,u=e.map(function(e){var n=(0,eH.Z)({},e),r=NC(t,n.width);if(r)n.width=r;else{var o=Math.floor(s);n.width=1===l?a:o,a-=o,l-=1}return c+=n.width,n});if(c0?(0,eH.Z)((0,eH.Z)({},e),{},{children:NI(t)}):e})}function NN(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key";return e.filter(function(e){return e&&"object"===(0,eq.Z)(e)}).reduce(function(e,n,r){var o=n.fixed,i=!0===o?"left":o,a="".concat(t,"-").concat(r),l=n.children;return l&&l.length>0?[].concat((0,y.Z)(e),(0,y.Z)(NN(l,a).map(function(e){return(0,eH.Z)({fixed:i},e)}))):[].concat((0,y.Z)(e),[(0,eH.Z)((0,eH.Z)({key:a},n),{},{fixed:i})])},[])}function NZ(e){return e.map(function(e){var t=e.fixed,n=(0,eB.Z)(e,NO),r=t;return"left"===t?r="right":"right"===t&&(r="left"),(0,eH.Z)({fixed:r},n)})}let NR=function(e,t){var n=e.prefixCls,r=e.columns,o=e.children,i=e.expandable,a=e.expandedKeys,l=e.columnTitle,s=e.getRowKey,c=e.onTriggerExpand,u=e.expandIcon,d=e.rowExpandable,f=e.expandIconColumnIndex,p=e.direction,m=e.expandRowByClick,g=e.columnWidth,v=e.fixed,b=e.scrollWidth,y=e.clientWidth,w=h.useMemo(function(){return NI((r||NM(o)||[]).slice())},[r,o]),x=h.useMemo(function(){if(i){var e,t=w.slice();if(!t.includes(IO)){var r=f||0;r>=0&&t.splice(r,0,IO)}var o=t.indexOf(IO);t=t.filter(function(e,t){return e!==IO||t===o});var p=w[o];e=("left"===v||v)&&!f?"left":("right"===v||v)&&f===w.length?"right":p?p.fixed:null;var b=(0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)((0,eV.Z)({},Nh,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",l),"fixed",e),"className","".concat(n,"-row-expand-icon-cell")),"width",g),"render",function(e,t,r){var o=s(t,r),i=u({prefixCls:n,expanded:a.has(o),expandable:!d||d(t),record:t,onExpand:c});return m?h.createElement("span",{onClick:function(e){return e.stopPropagation()}},i):i});return t.map(function(e){return e===IO?b:e})}return w.filter(function(e){return e!==IO})},[i,w,s,a,u,p]),S=h.useMemo(function(){var e=x;return t&&(e=t(e)),e.length||(e=[{render:function(){return null}}]),e},[t,x,p]),k=h.useMemo(function(){return"rtl"===p?NZ(NN(S)):NN(S)},[S,p,b]),C=h.useMemo(function(){for(var e=-1,t=k.length-1;t>=0;t-=1){var n=k[t].fixed;if("left"===n||!0===n){e=t;break}}if(e>=0)for(var r=0;r<=e;r+=1){var o=k[r].fixed;if("left"!==o&&!0!==o)return!0}var i=k.findIndex(function(e){return"right"===e.fixed});if(i>=0){for(var a=i;a=u&&(r=u-d),i({scrollLeft:r/u*(c+2)}),y.current.x=e.pageX},I=function(){$.current=(0,w.Z)(function(){if(o.current){var e=Cm(o.current).top,t=e+o.current.offsetHeight,n=l===window?document.documentElement.scrollTop+window.innerHeight:Cm(l).top+l.clientHeight;t-(0,I9.Z)()<=n||e>=n-a?b(function(e){return(0,eH.Z)((0,eH.Z)({},e),{},{isHiddenScrollBar:!0})}):b(function(e){return(0,eH.Z)((0,eH.Z)({},e),{},{isHiddenScrollBar:!1})})}})},N=function(e){b(function(t){return(0,eH.Z)((0,eH.Z)({},t),{},{scrollLeft:e/c*u||0})})};return(h.useImperativeHandle(t,function(){return{setScrollLeft:N,checkScrollBarVisible:I}}),h.useEffect(function(){var e=Cg(document.body,"mouseup",E,!1),t=Cg(document.body,"mousemove",M,!1);return I(),function(){e.remove(),t.remove()}},[d,k]),h.useEffect(function(){var e=Cg(l,"scroll",I,!1),t=Cg(window,"resize",I,!1);return function(){e.remove(),t.remove()}},[l]),h.useEffect(function(){v.isHiddenScrollBar||b(function(e){var t=o.current;return t?(0,eH.Z)((0,eH.Z)({},e),{},{scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}):e})},[v.isHiddenScrollBar]),c<=u||!d||v.isHiddenScrollBar)?null:h.createElement("div",{style:{height:(0,I9.Z)(),width:u,bottom:a},className:"".concat(s,"-sticky-scroll")},h.createElement("div",{onMouseDown:O,ref:f,className:g()("".concat(s,"-sticky-scroll-bar"),(0,eV.Z)({},"".concat(s,"-sticky-scroll-bar-active"),k)),style:{width:"".concat(d,"px"),transform:"translate3d(".concat(v.scrollLeft,"px, 0, 0)")}}))};let NF=h.forwardRef(NH),NW=function(e){return null},NV=function(e){return null};var Nq=n(34203),NK="rc-table",NX=[],NU={};function NG(){return"No Data"}function NY(e,t){var n=(0,eH.Z)({rowKey:"key",prefixCls:NK,emptyText:NG},e),r=n.prefixCls,o=n.className,i=n.rowClassName,a=n.style,l=n.data,s=n.rowKey,c=n.scroll,u=n.tableLayout,d=n.direction,f=n.title,p=n.footer,m=n.summary,b=n.caption,y=n.id,w=n.showHeader,x=n.components,S=n.emptyText,k=n.onRow,C=n.onHeaderRow,$=n.onScroll,E=n.internalHooks,O=n.transformColumns,M=n.internalRefs,I=n.tailor,N=n.getContainerWidth,Z=n.sticky,R=n.rowHoverable,T=void 0===R||R,P=l||NX,j=!!P.length,A=E===IM,D=h.useCallback(function(e,t){return(0,I_.Z)(x,e)||t},[x]),z=h.useMemo(function(){return"function"==typeof s?s:function(e){return e&&e[s]}},[s]),L=D(["body"]),B=ND(),H=(0,eL.Z)(B,3),F=H[0],W=H[1],V=H[2],q=NT(n,P,z),X=(0,eL.Z)(q,6),U=X[0],G=X[1],Y=X[2],Q=X[3],J=X[4],ee=X[5],et=null==c?void 0:c.x,en=h.useState(0),er=(0,eL.Z)(en,2),eo=er[0],ei=er[1],ea=NR((0,eH.Z)((0,eH.Z)((0,eH.Z)({},n),U),{},{expandable:!!U.expandedRowRender,columnTitle:U.columnTitle,expandedKeys:Y,getRowKey:z,onTriggerExpand:ee,expandIcon:Q,expandIconColumnIndex:U.expandIconColumnIndex,direction:d,scrollWidth:A&&I&&"number"==typeof et?et:null,clientWidth:eo}),A?O:null),el=(0,eL.Z)(ea,4),es=el[0],ec=el[1],eu=el[2],ed=el[3],ef=null!=eu?eu:et,eh=h.useMemo(function(){return{columns:es,flattenColumns:ec}},[es,ec]),ep=h.useRef(),em=h.useRef(),eg=h.useRef(),ev=h.useRef();h.useImperativeHandle(t,function(){return{nativeElement:ep.current,scrollTo:function(e){var t;if(eg.current instanceof HTMLElement){var n=e.index,r=e.top,o=e.key;if(IW(r))null==(i=eg.current)||i.scrollTo({top:r});else{var i,a,l=null!=o?o:z(P[n]);null==(a=eg.current.querySelector('[data-row-key="'.concat(l,'"]')))||a.scrollIntoView()}}else null!=(t=eg.current)&&t.scrollTo&&eg.current.scrollTo(e)}}});var eb=h.useRef(),ew=h.useState(!1),ex=(0,eL.Z)(ew,2),eS=ex[0],ek=ex[1],eC=h.useState(!1),e$=(0,eL.Z)(eC,2),eE=e$[0],eO=e$[1],eM=Nj(new Map),eI=(0,eL.Z)(eM,2),eN=eI[0],eZ=eI[1],eR=IH(ec).map(function(e){return eN.get(e)}),eT=h.useMemo(function(){return eR},[eR.join("_")]),eP=NL(eT,ec,d),ej=c&&IF(c.y),eA=c&&IF(ef)||!!U.fixed,eD=eA&&ec.some(function(e){return e.fixed}),e_=h.useRef(),ez=Nz(Z,r),eB=ez.isSticky,eF=ez.offsetHeader,eW=ez.offsetSummary,eq=ez.offsetScroll,eK=ez.stickyClassName,eX=ez.container,eU=h.useMemo(function(){return null==m?void 0:m(P)},[m,P]),eG=(ej||eB)&&h.isValidElement(eU)&&eU.type===I4&&eU.props.fixed;ej&&(tb={overflowY:j?"scroll":"auto",maxHeight:c.y}),eA&&(tv={overflowX:"auto"},ej||(tb={overflowY:"hidden"}),ty={width:!0===ef?"auto":ef,minWidth:"100%"});var eY=h.useCallback(function(e,t){(0,ci.Z)(ep.current)&&eZ(function(n){if(n.get(e)!==t){var r=new Map(n);return r.set(e,t),r}return n})},[]),eQ=NA(null),eJ=(0,eL.Z)(eQ,2),e0=eJ[0],e1=eJ[1];function e2(e,t){t&&("function"==typeof t?t(e):t.scrollLeft!==e&&(t.scrollLeft=e,t.scrollLeft!==e&&setTimeout(function(){t.scrollLeft=e},0)))}var e4=(0,ey.Z)(function(e){var t,n=e.currentTarget,r=e.scrollLeft,o="rtl"===d,i="number"==typeof r?r:n.scrollLeft,a=n||NU;e1()&&e1()!==a||(e0(a),e2(i,em.current),e2(i,eg.current),e2(i,eb.current),e2(i,null==(t=e_.current)?void 0:t.setScrollLeft));var l=n||em.current;if(l){var s=A&&I&&"number"==typeof ef?ef:l.scrollWidth,c=l.clientWidth;if(s===c){ek(!1),eO(!1);return}o?(ek(-i0)):(ek(i>0),eO(i1?b-N:0,R=(0,eH.Z)((0,eH.Z)((0,eH.Z)({},$),c),{},{flex:"0 0 ".concat(N,"px"),width:"".concat(N,"px"),marginRight:Z,pointerEvents:"auto"}),T=h.useMemo(function(){return d?I<=1:0===O||0===I||I>1},[I,O,d]);T?R.visibility="hidden":d&&(R.height=null==f?void 0:f(I));var P=T?function(){return null}:p,j={};return(0===I||0===O)&&(j.rowSpan=1,j.colSpan=1),h.createElement(IY,(0,_.Z)({className:g()(v,u),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:a,prefixCls:t.prefixCls,key:x,record:s,index:i,renderIndex:l,dataIndex:m,render:P,shouldCellUpdate:n.shouldCellUpdate},S,{appendNode:k,additionalProps:(0,eH.Z)((0,eH.Z)({},C),{},{style:R},j)}))};var N8=["data","index","className","rowKey","style","extra","getHeight"];let N6=Ij(h.forwardRef(function(e,t){var n,r=e.data,o=e.index,i=e.className,a=e.rowKey,l=e.style,s=e.extra,c=e.getHeight,u=(0,eB.Z)(e,N8),d=r.record,f=r.indent,p=r.index,m=IN(ID,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),v=m.scrollX,b=m.flattenColumns,y=m.prefixCls,w=m.fixColumn,x=m.componentWidth,S=IN(N2,["getComponent"]).getComponent,k=Nn(d,a,o,f),C=S(["body","row"],"div"),$=S(["body","cell"],"div"),E=k.rowSupportExpand,O=k.expanded,M=k.rowProps,I=k.expandedRowRender,N=k.expandedRowClassName;if(E&&O){var Z=I(d,o,f+1,O),R=Na(N,d,o,f),T={};w&&(T={style:(0,eV.Z)({},"--virtual-width","".concat(x,"px"))});var P="".concat(y,"-expanded-row-cell");n=h.createElement(C,{className:g()("".concat(y,"-expanded-row"),"".concat(y,"-expanded-row-level-").concat(f+1),R)},h.createElement(IY,{component:$,prefixCls:y,className:g()(P,(0,eV.Z)({},"".concat(P,"-fixed"),w)),additionalProps:T},Z))}var j=(0,eH.Z)((0,eH.Z)({},l),{},{width:v});s&&(j.position="absolute",j.pointerEvents="none");var A=h.createElement(C,(0,_.Z)({},M,u,{"data-row-key":a,ref:E?null:t,className:g()(i,"".concat(y,"-row"),null==M?void 0:M.className,(0,eV.Z)({},"".concat(y,"-row-extra"),s)),style:(0,eH.Z)((0,eH.Z)({},j),null==M?void 0:M.style)}),b.map(function(e,t){return h.createElement(N5,{key:t,component:$,rowInfo:k,column:e,colIndex:t,indent:f,index:o,renderIndex:p,record:d,inverse:s,getHeight:c})}));return E?h.createElement("div",{ref:t},A,n):A})),N7=Ij(h.forwardRef(function(e,t){var n=e.data,r=e.onScroll,o=IN(ID,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),i=o.flattenColumns,a=o.onColumnResize,l=o.getRowKey,s=o.expandedKeys,c=o.prefixCls,u=o.childrenColumnName,d=o.scrollX,f=o.direction,p=IN(N2),m=p.sticky,g=p.scrollY,v=p.listItemHeight,b=p.getComponent,y=p.onScroll,w=h.useRef(),x=Nt(n,u,s,l),S=h.useMemo(function(){var e=0;return i.map(function(t){var n=t.width,r=t.key;return e+=n,[r,n,e]})},[i]),k=h.useMemo(function(){return S.map(function(e){return e[2]})},[S]);h.useEffect(function(){S.forEach(function(e){var t=(0,eL.Z)(e,2);a(t[0],t[1])})},[S]),h.useImperativeHandle(t,function(){var e,t={scrollTo:function(e){var t;null==(t=w.current)||t.scrollTo(e)},nativeElement:null==(e=w.current)?void 0:e.nativeElement};return Object.defineProperty(t,"scrollLeft",{get:function(){var e;return(null==(e=w.current)?void 0:e.getScrollInfo().x)||0},set:function(e){var t;null==(t=w.current)||t.scrollTo({left:e})}}),t});var C=function(e,t){var n=null==(o=x[t])?void 0:o.record,r=e.onCell;if(r){var o,i,a=r(n,t);return null!=(i=null==a?void 0:a.rowSpan)?i:1}return 1},$=function(e){var t=e.start,n=e.end,r=e.getSize,o=e.offsetY;if(n<0)return null;for(var a=i.filter(function(e){return 0===C(e,t)}),s=t,c=function(e){if(!(a=a.filter(function(t){return 0===C(t,e)})).length)return s=e,1},u=t;u>=0&&!c(u);u-=1);for(var d=i.filter(function(e){return 1!==C(e,n)}),f=n,p=function(e){if(!(d=d.filter(function(t){return 1!==C(t,e)})).length)return f=Math.max(e-1,n),1},m=n;m1})&&g.push(e)},b=s;b<=f;b+=1)if(v(b))continue;return g.map(function(e){var t=x[e],n=l(t.record,e),i=function(t){var o=e+t-1,i=r(n,l(x[o].record,o));return i.bottom-i.top},a=r(n);return h.createElement(N6,{key:e,data:t,rowKey:n,index:e,style:{top:-o+a.top},extra:!0,getHeight:i})})},E=h.useMemo(function(){return{columnsOffset:k}},[k]),O="".concat(c,"-tbody"),M=b(["body","wrapper"]),I={};return m&&(I.position="sticky",I.bottom=0,"object"===(0,eq.Z)(m)&&m.offsetScroll&&(I.bottom=m.offsetScroll)),h.createElement(N4.Provider,{value:E},h.createElement(i9,{fullHeight:!1,ref:w,prefixCls:"".concat(O,"-virtual"),styles:{horizontalScrollBar:I},className:O,height:g,itemHeight:v||24,data:x,itemKey:function(e){return l(e.record)},component:M,scrollWidth:d,direction:f,onVirtualScroll:function(e){var t,n=e.x;r({currentTarget:null==(t=w.current)?void 0:t.nativeElement,scrollLeft:n})},onScroll:y,extraRender:$},function(e,t,n){var r=l(e.record,t);return h.createElement(N6,{data:e,rowKey:r,index:t,style:n.style})}))}));var N9=function(e,t){var n=t.ref,r=t.onScroll;return h.createElement(N7,{ref:n,data:e,onScroll:r})};function Ze(e,t){var n=e.data,r=e.columns,o=e.scroll,i=e.sticky,a=e.prefixCls,l=void 0===a?NK:a,s=e.className,c=e.listItemHeight,u=e.components,d=e.onScroll,f=o||{},p=f.x,m=f.y;"number"!=typeof p&&(p=1),"number"!=typeof m&&(m=500);var v=(0,e3.zX)(function(e,t){return(0,I_.Z)(u,e)||t}),b=(0,e3.zX)(d),y=h.useMemo(function(){return{sticky:i,scrollY:m,listItemHeight:c,getComponent:v,onScroll:b}},[i,m,c,v,b]);return h.createElement(N2.Provider,{value:y},h.createElement(N1,(0,_.Z)({},e,{className:g()(s,"".concat(l,"-virtual")),scroll:(0,eH.Z)((0,eH.Z)({},o),{},{x:p}),components:(0,eH.Z)((0,eH.Z)({},u),{},{body:null!=n&&n.length?N9:void 0}),columns:r,internalHooks:IM,tailor:!0,ref:t})))}var Zt=h.forwardRef(Ze);function Zn(e){return IP(Zt,e)}Zn();let Zr=e=>null,Zo=e=>null;var Zi=n(64222),Za=h.createContext(null),Zl=function(e){for(var t=e.prefixCls,n=e.level,r=e.isStart,o=e.isEnd,i="".concat(t,"-indent-unit"),a=[],l=0;l=0&&n.splice(r,1),n}function Zv(e,t){var n=(e||[]).slice();return -1===n.indexOf(t)&&n.push(t),n}function Zb(e){return e.split("-")}function Zy(e,t){var n=[];function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach(function(e){var t=e.key,o=e.children;n.push(t),r(o)})}return r(g5(t,e).children),n}function Zw(e){if(e.parent){var t=Zb(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function Zx(e){var t=Zb(e.pos);return 0===Number(t[t.length-1])}function ZS(e,t,n,r,o,i,a,l,s,c){var u,d=e.clientX,f=e.clientY,h=e.target.getBoundingClientRect(),p=h.top,m=h.height,g=(("rtl"===c?-1:1)*(((null==o?void 0:o.x)||0)-d)-12)/r,v=s.filter(function(e){var t;return null==(t=l[e])||null==(t=t.children)?void 0:t.length}),b=g5(l,n.props.eventKey);if(f-1.5?i({dragNode:E,dropNode:O,dropPosition:1})?k=1:M=!1:i({dragNode:E,dropNode:O,dropPosition:0})?k=0:i({dragNode:E,dropNode:O,dropPosition:1})?k=1:M=!1:i({dragNode:E,dropNode:O,dropPosition:1})?k=1:M=!1,{dropPosition:k,dropLevelOffset:C,dropTargetKey:b.key,dropTargetPos:b.pos,dragOverNodeKey:S,dropContainerKey:0===k?null:(null==(u=b.parent)?void 0:u.key)||null,dropAllowed:M}}function Zk(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function ZC(e){var t;if(!e)return null;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,eq.Z)(e))return(0,nE.ZP)(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function Z$(e,t){var n=new Set;function r(e){if(!n.has(e)){var o=g5(t,e);if(o){n.add(e);var i=o.parent;!o.node.disabled&&i&&r(i.key)}}}return(e||[]).forEach(function(e){r(e)}),(0,y.Z)(n)}function ZE(e){let[t,n]=(0,h.useState)(null);return[(0,h.useCallback)((r,o,i)=>{let a=null!=t?t:r,l=Math.min(a||0,r),s=Math.max(a||0,r),c=o.slice(l,s+1).map(t=>e(t)),u=c.some(e=>!i.has(e)),d=[];return c.forEach(e=>{u?(i.has(e)||d.push(e),i.add(e)):(i.delete(e),d.push(e))}),n(u?s:null),d},[t]),e=>{n(e)}]}let ZO={},ZM="SELECT_ALL",ZI="SELECT_INVERT",ZN="SELECT_NONE",ZZ=[],ZR=(e,t)=>{let n=[];return(t||[]).forEach(t=>{n.push(t),t&&"object"==typeof t&&e in t&&(n=[].concat((0,y.Z)(n),(0,y.Z)(ZR(e,t[e]))))}),n},ZT=(e,t)=>{let{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:o,getCheckboxProps:i,onChange:a,onSelect:l,onSelectAll:s,onSelectInvert:c,onSelectNone:u,onSelectMultiple:d,columnWidth:f,type:p,selections:m,fixed:v,renderCell:b,hideSelectAll:w,checkStrictly:x=!0}=t||{},{prefixCls:S,data:k,pageData:C,getRecordByKey:$,getRowKey:E,expandType:O,childrenColumnName:M,locale:I,getPopupContainer:N}=e,Z=(0,ez.ln)("Table"),[R,T]=ZE(e=>e),[P,j]=(0,ok.Z)(r||o||ZZ,{value:r}),A=h.useRef(new Map),D=(0,h.useCallback)(e=>{if(n){let t=new Map;e.forEach(e=>{let n=$(e);!n&&A.current.has(e)&&(n=A.current.get(e)),t.set(e,n)}),A.current=t}},[$,n]);h.useEffect(()=>{D(P)},[P]);let _=(0,h.useMemo)(()=>ZR(M,C),[M,C]),{keyEntities:z}=(0,h.useMemo)(()=>{if(x)return{keyEntities:null};let e=k;if(n){let t=new Set(_.map((e,t)=>E(e,t))),n=Array.from(A.current).reduce((e,n)=>{let[r,o]=n;return t.has(r)?e:e.concat(o)},[]);e=[].concat((0,y.Z)(e),(0,y.Z)(n))}return vo(e,{externalGetKey:E,childrenPropName:M})},[k,E,x,M,n,_]),L=(0,h.useMemo)(()=>{let e=new Map;return _.forEach((t,n)=>{let r=E(t,n),o=(i?i(t):null)||{};e.set(r,o)}),e},[_,E,i]),B=(0,h.useCallback)(e=>{var t;return!!(null==(t=L.get(E(e)))?void 0:t.disabled)},[L,E]),[H,F]=(0,h.useMemo)(()=>{if(x)return[P||[],[]];let{checkedKeys:e,halfCheckedKeys:t}=vp(P,!0,z,B);return[e||[],t]},[P,x,z,B]),W=(0,h.useMemo)(()=>new Set("radio"===p?H.slice(0,1):H),[H,p]),V=(0,h.useMemo)(()=>"radio"===p?new Set:new Set(F),[F,p]);h.useEffect(()=>{t||j(ZZ)},[!!t]);let q=(0,h.useCallback)((e,t)=>{let r,o;D(e),n?(r=e,o=e.map(e=>A.current.get(e))):(r=[],o=[],e.forEach(e=>{let t=$(e);void 0!==t&&(r.push(e),o.push(t))})),j(r),null==a||a(r,o,{type:t})},[j,$,a,n]),K=(0,h.useCallback)((e,t,n,r)=>{if(l){let o=n.map(e=>$(e));l($(e),t,o,r)}q(n,"single")},[l,$,q]),X=(0,h.useMemo)(()=>!m||w?null:(!0===m?[ZM,ZI,ZN]:m).map(e=>e===ZM?{key:"all",text:I.selectionAll,onSelect(){q(k.map((e,t)=>E(e,t)).filter(e=>{let t=L.get(e);return!(null==t?void 0:t.disabled)||W.has(e)}),"all")}}:e===ZI?{key:"invert",text:I.selectInvert,onSelect(){let e=new Set(W);C.forEach((t,n)=>{let r=E(t,n),o=L.get(r);(null==o?void 0:o.disabled)||(e.has(r)?e.delete(r):e.add(r))});let t=Array.from(e);c&&(Z.deprecated(!1,"onSelectInvert","onChange"),c(t)),q(t,"invert")}}:e===ZN?{key:"none",text:I.selectNone,onSelect(){null==u||u(),q(Array.from(W).filter(e=>{let t=L.get(e);return null==t?void 0:t.disabled}),"none")}}:e).map(e=>Object.assign(Object.assign({},e),{onSelect:function(){for(var t,n,r=arguments.length,o=Array(r),i=0;i{var n;let r,o,i;if(!t)return e.filter(e=>e!==ZO);let a=(0,y.Z)(e),l=new Set(W),c=_.map(E).filter(e=>!L.get(e).disabled),u=c.every(e=>l.has(e)),k=c.some(e=>l.has(e)),C=()=>{let e=[];u?c.forEach(t=>{l.delete(t),e.push(t)}):c.forEach(t=>{l.has(t)||(l.add(t),e.push(t))});let t=Array.from(l);null==s||s(!u,t.map(e=>$(e)),e.map(e=>$(e))),q(t,"all"),T(null)};if("radio"!==p){let e;if(X){let t={getPopupContainer:N,items:X.map((e,t)=>{let{key:n,text:r,onSelect:o}=e;return{key:null!=n?n:t,onClick:()=>{null==o||o(c)},label:r}})};e=h.createElement("div",{className:`${S}-selection-extra`},h.createElement(SH,{menu:t,getPopupContainer:N},h.createElement("span",null,h.createElement(lx,null))))}let t=_.map((e,t)=>{let n=E(e,t),r=L.get(n)||{};return Object.assign({checked:l.has(n)},r)}).filter(e=>{let{disabled:t}=e;return t}),n=!!t.length&&t.length===_.length,i=n&&t.every(e=>{let{checked:t}=e;return t}),a=n&&t.some(e=>{let{checked:t}=e;return t});o=h.createElement(v3,{checked:n?i:!!_.length&&u,indeterminate:n?!i&&a:!u&&k,onChange:C,disabled:0===_.length||n,"aria-label":e?"Custom selection":"Select all",skipGroup:!0}),r=!w&&h.createElement("div",{className:`${S}-selection`},o,e)}i="radio"===p?(e,t,n)=>{let r=E(t,n),o=l.has(r),i=L.get(r);return{node:h.createElement(O4,Object.assign({},i,{checked:o,onClick:e=>{var t;e.stopPropagation(),null==(t=null==i?void 0:i.onClick)||t.call(i,e)},onChange:e=>{var t;l.has(r)||K(r,!0,[r],e.nativeEvent),null==(t=null==i?void 0:i.onChange)||t.call(i,e)}})),checked:o}}:(e,t,n)=>{var r;let o,i=E(t,n),a=l.has(i),s=V.has(i),u=L.get(i);return o="nest"===O?s:null!=(r=null==u?void 0:u.indeterminate)?r:s,{node:h.createElement(v3,Object.assign({},u,{indeterminate:o,checked:a,skipGroup:!0,onClick:e=>{var t;e.stopPropagation(),null==(t=null==u?void 0:u.onClick)||t.call(u,e)},onChange:e=>{var t;let{nativeEvent:n}=e,{shiftKey:r}=n,o=c.findIndex(e=>e===i),s=H.some(e=>c.includes(e));if(r&&x&&s){let e=R(o,c,l),t=Array.from(l);null==d||d(!a,t.map(e=>$(e)),e.map(e=>$(e))),q(t,"multiple")}else{let e=H;if(x){let t=a?Zg(e,i):Zv(e,i);K(i,!a,t,n)}else{let{checkedKeys:t,halfCheckedKeys:r}=vp([].concat((0,y.Z)(e),[i]),!0,z,B),o=t;if(a){let e=new Set(t);e.delete(i),o=vp(Array.from(e),{checked:!1,halfCheckedKeys:r},z,B).checkedKeys}K(i,!a,o,n)}}a?T(null):T(o),null==(t=null==u?void 0:u.onChange)||t.call(u,e)}})),checked:a}};let M=(e,t,n)=>{let{node:r,checked:o}=i(e,t,n);return b?b(o,t,n,r):r};if(!a.includes(ZO))if(0===a.findIndex(e=>{var t;return(null==(t=e[Nh])?void 0:t.columnType)==="EXPAND_COLUMN"})){let[e,...t]=a;a=[e,ZO].concat((0,y.Z)(t))}else a=[ZO].concat((0,y.Z)(a));let I=a.indexOf(ZO),Z=(a=a.filter((e,t)=>e!==ZO||t===I))[I-1],P=a[I+1],j=v;void 0===j&&((null==P?void 0:P.fixed)!==void 0?j=P.fixed:(null==Z?void 0:Z.fixed)!==void 0&&(j=Z.fixed)),j&&Z&&(null==(n=Z[Nh])?void 0:n.columnType)==="EXPAND_COLUMN"&&void 0===Z.fixed&&(Z.fixed=j);let A=g()(`${S}-selection-col`,{[`${S}-selection-col-with-dropdown`]:m&&"checkbox"===p}),D={fixed:j,width:f,className:`${S}-selection-column`,title:(null==t?void 0:t.columnTitle)?"function"==typeof t.columnTitle?t.columnTitle(o):t.columnTitle:r,render:M,onCell:t.onCell,[Nh]:{className:A}};return a.map(e=>e===ZO?D:e)},[E,_,t,H,W,V,f,X,O,L,d,K,B]),W]};function ZP(e,t){return e._antProxy=e._antProxy||{},Object.keys(t).forEach(n=>{if(!(n in e._antProxy)){let r=e[n];e._antProxy[n]=r,e[n]=t[n]}}),e}function Zj(e,t){return(0,h.useImperativeHandle)(e,()=>{let e=t(),{nativeElement:n}=e;return"undefined"!=typeof Proxy?new Proxy(n,{get:(t,n)=>e[n]?e[n]:Reflect.get(t,n)}):ZP(n,e)})}let ZA=function(e){return t=>{let{prefixCls:n,onExpand:r,record:o,expanded:i,expandable:a}=t,l=`${n}-row-expand-icon`;return h.createElement("button",{type:"button",onClick:e=>{r(o,e),e.stopPropagation()},className:g()(l,{[`${l}-spaced`]:!a,[`${l}-expanded`]:a&&i,[`${l}-collapsed`]:a&&!i}),"aria-label":i?e.collapse:e.expand,"aria-expanded":i})}};function ZD(e){return(t,n)=>{let r=t.querySelector(`.${e}-container`),o=n;if(r){let e=getComputedStyle(r);o=n-parseInt(e.borderLeftWidth,10)-parseInt(e.borderRightWidth,10)}return o}}let Z_=(e,t)=>"key"in e&&void 0!==e.key&&null!==e.key?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function Zz(e,t){return t?`${t}-${e}`:`${e}`}let ZL=(e,t)=>"function"==typeof e?e(t):e,ZB=(e,t)=>{let n=ZL(e,t);return"[object Object]"===Object.prototype.toString.call(n)?"":n},ZH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};var ZF=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:ZH}))};let ZW=h.forwardRef(ZF);function ZV(e){let t=h.useRef(e),n=(0,lW.Z)();return[()=>t.current,e=>{t.current=e,n()}]}function Zq(e){var t=e.dropPosition,n=e.dropLevelOffset,r=e.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case -1:o.top=0,o.left=-n*r;break;case 1:o.bottom=0,o.left=-n*r;break;case 0:o.bottom=0,o.left=r}return h.createElement("div",{style:o})}function ZK(e){if(null==e)throw TypeError("Cannot destructure "+e)}function ZX(e,t){var n=h.useState(!1),r=(0,eL.Z)(n,2),o=r[0],i=r[1];(0,oE.Z)(function(){if(o)return e(),function(){t()}},[o]),(0,oE.Z)(function(){return i(!0),function(){i(!1)}},[])}var ZU=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ZG=function(e,t){var n=e.className,r=e.style,o=e.motion,i=e.motionNodes,a=e.motionType,l=e.onMotionStart,s=e.onMotionEnd,c=e.active,u=e.treeNodeRequiredProps,d=(0,eB.Z)(e,ZU),f=h.useState(!0),p=(0,eL.Z)(f,2),m=p[0],v=p[1],b=h.useContext(Za).prefixCls,y=i&&"hide"!==a;(0,oE.Z)(function(){i&&y!==m&&v(y)},[i]);var w=function(){i&&l()},x=h.useRef(!1),S=function(){i&&!x.current&&(x.current=!0,s())};ZX(w,S);var k=function(e){y===e&&S()};return i?h.createElement(q.ZP,(0,_.Z)({ref:t,visible:m},o,{motionAppear:"show"===a,onVisibleChanged:k}),function(e,t){var n=e.className,r=e.style;return h.createElement("div",{ref:t,className:g()("".concat(b,"-treenode-motion"),n),style:r},i.map(function(e){var t=Object.assign({},(ZK(e.data),e.data)),n=e.title,r=e.key,o=e.isStart,i=e.isEnd;delete t.children;var a=vi(r,u);return h.createElement(Zm,(0,_.Z)({},t,a,{title:n,active:c,data:e.data,key:r,isStart:o,isEnd:i}))}))}):h.createElement(Zm,(0,_.Z)({domRef:t,className:n,style:r},d,{active:c}))};ZG.displayName="MotionTreeNode";let ZY=h.forwardRef(ZG);function ZQ(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,r=t.length;if(1!==Math.abs(n-r))return{add:!1,key:null};function o(e,t){var n=new Map;e.forEach(function(e){n.set(e,!0)});var r=t.filter(function(e){return!n.has(e)});return 1===r.length?r[0]:null}return n ").concat(t);return t}var Re=h.forwardRef(function(e,t){var n=e.prefixCls,r=e.data,o=(e.selectable,e.checkable,e.expandedKeys),i=e.selectedKeys,a=e.checkedKeys,l=e.loadedKeys,s=e.loadingKeys,c=e.halfCheckedKeys,u=e.keyEntities,d=e.disabled,f=e.dragging,p=e.dragOverNodeKey,m=e.dropPosition,g=e.motion,v=e.height,b=e.itemHeight,y=e.virtual,w=e.focusable,x=e.activeItem,S=e.focused,k=e.tabIndex,C=e.onKeyDown,$=e.onFocus,E=e.onBlur,O=e.onActiveChange,M=e.onListChangeStart,I=e.onListChangeEnd,N=(0,eB.Z)(e,Z0),Z=h.useRef(null),R=h.useRef(null);h.useImperativeHandle(t,function(){return{scrollTo:function(e){Z.current.scrollTo(e)},getIndentWidth:function(){return R.current.offsetWidth}}});var T=h.useState(o),P=(0,eL.Z)(T,2),j=P[0],A=P[1],D=h.useState(r),z=(0,eL.Z)(D,2),L=z[0],B=z[1],H=h.useState(r),F=(0,eL.Z)(H,2),W=F[0],V=F[1],q=h.useState([]),K=(0,eL.Z)(q,2),X=K[0],U=K[1],G=h.useState(null),Y=(0,eL.Z)(G,2),Q=Y[0],J=Y[1],ee=h.useRef(r);function et(){var e=ee.current;B(e),V(e),U([]),J(null),I()}ee.current=r,(0,oE.Z)(function(){A(o);var e=ZQ(j,o);if(null!==e.key)if(e.add){var t=L.findIndex(function(t){return t.key===e.key}),n=Z6(ZJ(L,r,e.key),y,v,b),i=L.slice();i.splice(t+1,0,Z8),V(i),U(n),J("show")}else{var a=r.findIndex(function(t){return t.key===e.key}),l=Z6(ZJ(r,L,e.key),y,v,b),s=r.slice();s.splice(a+1,0,Z8),V(s),U(l),J("hide")}else L!==r&&(B(r),V(r))},[o,r]),h.useEffect(function(){f||et()},[f]);var en=g?W:r,er={expandedKeys:o,selectedKeys:i,loadedKeys:l,loadingKeys:s,checkedKeys:a,halfCheckedKeys:c,dragOverNodeKey:p,dropPosition:m,keyEntities:u};return h.createElement(h.Fragment,null,S&&x&&h.createElement("span",{style:Z1,"aria-live":"assertive"},Z9(x)),h.createElement("div",null,h.createElement("input",{style:Z1,disabled:!1===w||d,tabIndex:!1!==w?k:null,onKeyDown:C,onFocus:$,onBlur:E,value:"",onChange:Z2,"aria-label":"for screen reader"})),h.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},h.createElement("div",{className:"".concat(n,"-indent")},h.createElement("div",{ref:R,className:"".concat(n,"-indent-unit")}))),h.createElement(i9,(0,_.Z)({},N,{data:en,itemKey:Z7,height:v,fullHeight:!1,virtual:y,itemHeight:b,prefixCls:"".concat(n,"-list"),ref:Z,onVisibleChange:function(e){e.every(function(e){return Z7(e)!==Z4})&&et()}}),function(e){var t=e.pos,n=Object.assign({},(ZK(e.data),e.data)),r=e.title,o=e.key,i=e.isStart,a=e.isEnd,l=g9(o,t);delete n.key,delete n.children;var s=vi(l,er);return h.createElement(ZY,(0,_.Z)({},n,s,{title:r,active:!!x&&o===x.key,pos:t,data:e.data,isStart:i,isEnd:a,motion:g,motionNodes:o===Z4?X:null,motionType:Q,onMotionStart:M,onMotionEnd:et,treeNodeRequiredProps:er,onMouseMove:function(){O(null)}}))}))});Re.displayName="NodeList";let Rt=Re;var Rn=10,Rr=function(e){(0,em.Z)(n,e);var t=(0,cP.Z)(n);function n(){var e;(0,ec.Z)(this,n);for(var r=arguments.length,o=Array(r),i=0;i2&&void 0!==arguments[2]&&arguments[2],i=e.state,a=i.dragChildrenKeys,l=i.dropPosition,s=i.dropTargetKey,c=i.dropTargetPos;if(i.dropAllowed){var u=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==s){var d=(0,eH.Z)((0,eH.Z)({},vi(s,e.getTreeNodeRequiredProps())),{},{active:(null==(r=e.getActiveItem())?void 0:r.key)===s,data:g5(e.state.keyEntities,s).node}),f=-1!==a.indexOf(s);(0,nE.ZP)(!f,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var h=Zb(c),p={event:t,node:va(d),dragNode:e.dragNode?va(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(a),dropToGap:0!==l,dropPosition:l+Number(h[h.length-1])};o||null==u||u(p),e.dragNode=null}}}),(0,eV.Z)((0,Zi.Z)(e),"cleanDragState",function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null}),(0,eV.Z)((0,Zi.Z)(e),"triggerExpandActionExpand",function(t,n){var r=e.state,o=r.expandedKeys,i=r.flattenNodes,a=n.expanded,l=n.key;if(!n.isLeaf&&!t.shiftKey&&!t.metaKey&&!t.ctrlKey){var s=i.filter(function(e){return e.key===l})[0],c=va((0,eH.Z)((0,eH.Z)({},vi(l,e.getTreeNodeRequiredProps())),{},{data:s.data}));e.setExpandedKeys(a?Zg(o,l):Zv(o,l)),e.onNodeExpand(t,c)}}),(0,eV.Z)((0,Zi.Z)(e),"onNodeClick",function(t,n){var r=e.props,o=r.onClick;"click"===r.expandAction&&e.triggerExpandActionExpand(t,n),null==o||o(t,n)}),(0,eV.Z)((0,Zi.Z)(e),"onNodeDoubleClick",function(t,n){var r=e.props,o=r.onDoubleClick;"doubleClick"===r.expandAction&&e.triggerExpandActionExpand(t,n),null==o||o(t,n)}),(0,eV.Z)((0,Zi.Z)(e),"onNodeSelect",function(t,n){var r=e.state.selectedKeys,o=e.state,i=o.keyEntities,a=o.fieldNames,l=e.props,s=l.onSelect,c=l.multiple,u=n.selected,d=n[a.key],f=!u,h=(r=f?c?Zv(r,d):[d]:Zg(r,d)).map(function(e){var t=g5(i,e);return t?t.node:null}).filter(function(e){return e});e.setUncontrolledState({selectedKeys:r}),null==s||s(r,{event:"select",selected:f,node:n,selectedNodes:h,nativeEvent:t.nativeEvent})}),(0,eV.Z)((0,Zi.Z)(e),"onNodeCheck",function(t,n,r){var o,i=e.state,a=i.keyEntities,l=i.checkedKeys,s=i.halfCheckedKeys,c=e.props,u=c.checkStrictly,d=c.onCheck,f=n.key,h={event:"check",node:n,checked:r,nativeEvent:t.nativeEvent};if(u){var p=r?Zv(l,f):Zg(l,f);o={checked:p,halfChecked:Zg(s,f)},h.checkedNodes=p.map(function(e){return g5(a,e)}).filter(function(e){return e}).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:p})}else{var m=vp([].concat((0,y.Z)(l),[f]),!0,a),g=m.checkedKeys,v=m.halfCheckedKeys;if(!r){var b=new Set(g);b.delete(f);var w=vp(Array.from(b),{checked:!1,halfCheckedKeys:v},a);g=w.checkedKeys,v=w.halfCheckedKeys}o=g,h.checkedNodes=[],h.checkedNodesPositions=[],h.halfCheckedKeys=v,g.forEach(function(e){var t=g5(a,e);if(t){var n=t.node,r=t.pos;h.checkedNodes.push(n),h.checkedNodesPositions.push({node:n,pos:r})}}),e.setUncontrolledState({checkedKeys:g},!1,{halfCheckedKeys:v})}null==d||d(o,h)}),(0,eV.Z)((0,Zi.Z)(e),"onNodeLoad",function(t){var n,r=t.key,o=g5(e.state.keyEntities,r);if(null==o||null==(n=o.children)||!n.length){var i=new Promise(function(n,o){e.setState(function(i){var a=i.loadedKeys,l=void 0===a?[]:a,s=i.loadingKeys,c=void 0===s?[]:s,u=e.props,d=u.loadData,f=u.onLoad;return d&&-1===l.indexOf(r)&&-1===c.indexOf(r)?(d(t).then(function(){var o=Zv(e.state.loadedKeys,r);null==f||f(o,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:o}),e.setState(function(e){return{loadingKeys:Zg(e.loadingKeys,r)}}),n()}).catch(function(t){if(e.setState(function(e){return{loadingKeys:Zg(e.loadingKeys,r)}}),e.loadingRetryTimes[r]=(e.loadingRetryTimes[r]||0)+1,e.loadingRetryTimes[r]>=Rn){var i=e.state.loadedKeys;(0,nE.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:Zv(i,r)}),n()}o(t)}),{loadingKeys:Zv(c,r)}):null})});return i.catch(function(){}),i}}),(0,eV.Z)((0,Zi.Z)(e),"onNodeMouseEnter",function(t,n){var r=e.props.onMouseEnter;null==r||r({event:t,node:n})}),(0,eV.Z)((0,Zi.Z)(e),"onNodeMouseLeave",function(t,n){var r=e.props.onMouseLeave;null==r||r({event:t,node:n})}),(0,eV.Z)((0,Zi.Z)(e),"onNodeContextMenu",function(t,n){var r=e.props.onRightClick;r&&(t.preventDefault(),r({event:t,node:n}))}),(0,eV.Z)((0,Zi.Z)(e),"onFocus",function(){var t=e.props.onFocus;e.setState({focused:!0});for(var n=arguments.length,r=Array(n),o=0;o1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var o=!1,i=!0,a={};Object.keys(t).forEach(function(n){if(e.props.hasOwnProperty(n)){i=!1;return}o=!0,a[n]=t[n]}),o&&(!n||i)&&e.setState((0,eH.Z)((0,eH.Z)({},a),r))}}),(0,eV.Z)((0,Zi.Z)(e),"scrollTo",function(t){e.listRef.current.scrollTo(t)}),e}return(0,eu.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props,t=e.activeKey,n=e.itemScrollOffset,r=void 0===n?0:n;void 0!==t&&t!==this.state.activeKey&&(this.setState({activeKey:t}),null!==t&&this.scrollTo({key:t,offset:r}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var e,t=this.state,n=t.focused,r=t.flattenNodes,o=t.keyEntities,i=t.draggingNodeKey,a=t.activeKey,l=t.dropLevelOffset,s=t.dropContainerKey,c=t.dropTargetKey,u=t.dropPosition,d=t.dragOverNodeKey,f=t.indent,p=this.props,m=p.prefixCls,v=p.className,b=p.style,y=p.showLine,w=p.focusable,x=p.tabIndex,S=void 0===x?0:x,k=p.selectable,C=p.showIcon,$=p.icon,E=p.switcherIcon,O=p.draggable,M=p.checkable,I=p.checkStrictly,N=p.disabled,Z=p.motion,R=p.loadData,T=p.filterTreeNode,P=p.height,j=p.itemHeight,A=p.virtual,D=p.titleRender,z=p.dropIndicatorRender,L=p.onContextMenu,B=p.onScroll,H=p.direction,F=p.rootClassName,W=p.rootStyle,V=(0,K.Z)(this.props,{aria:!0,data:!0});return O&&(e="object"===(0,eq.Z)(O)?O:"function"==typeof O?{nodeDraggable:O}:{}),h.createElement(Za.Provider,{value:{prefixCls:m,selectable:k,showIcon:C,icon:$,switcherIcon:E,draggable:e,draggingNodeKey:i,checkable:M,checkStrictly:I,disabled:N,keyEntities:o,dropLevelOffset:l,dropContainerKey:s,dropTargetKey:c,dropPosition:u,dragOverNodeKey:d,indent:f,direction:H,dropIndicatorRender:z,loadData:R,filterTreeNode:T,titleRender:D,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},h.createElement("div",{role:"tree",className:g()(m,v,F,(0,eV.Z)((0,eV.Z)((0,eV.Z)({},"".concat(m,"-show-line"),y),"".concat(m,"-focused"),n),"".concat(m,"-active-focused"),null!==a)),style:W},h.createElement(Rt,(0,_.Z)({ref:this.listRef,prefixCls:m,style:b,data:r,disabled:N,selectable:k,checkable:!!M,motion:Z,dragging:null!==i,height:P,itemHeight:j,virtual:A,focusable:w,focused:n,tabIndex:S,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:L,onScroll:B},this.getTreeNodeRequiredProps(),V))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r,o=t.prevProps,i={prevProps:e};function a(t){return!o&&e.hasOwnProperty(t)||o&&o[t]!==e[t]}var l=t.fieldNames;if(a("fieldNames")&&(i.fieldNames=l=ve(e.fieldNames)),a("treeData")?n=e.treeData:a("children")&&((0,nE.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=vt(e.children)),n){i.treeData=n;var s=vo(n,{fieldNames:l});i.keyEntities=(0,eH.Z)((0,eV.Z)({},Z4,Z5),s.keyEntities)}var c=i.keyEntities||t.keyEntities;if(a("expandedKeys")||o&&a("autoExpandParent"))i.expandedKeys=e.autoExpandParent||!o&&e.defaultExpandParent?Z$(e.expandedKeys,c):e.expandedKeys;else if(!o&&e.defaultExpandAll){var u=(0,eH.Z)({},c);delete u[Z4];var d=[];Object.keys(u).forEach(function(e){var t=u[e];t.children&&t.children.length&&d.push(t.key)}),i.expandedKeys=d}else!o&&e.defaultExpandedKeys&&(i.expandedKeys=e.autoExpandParent||e.defaultExpandParent?Z$(e.defaultExpandedKeys,c):e.defaultExpandedKeys);if(i.expandedKeys||delete i.expandedKeys,n||i.expandedKeys){var f=vn(n||t.treeData,i.expandedKeys||t.expandedKeys,l);i.flattenNodes=f}if(e.selectable&&(a("selectedKeys")?i.selectedKeys=Zk(e.selectedKeys,e):!o&&e.defaultSelectedKeys&&(i.selectedKeys=Zk(e.defaultSelectedKeys,e))),e.checkable&&(a("checkedKeys")?r=ZC(e.checkedKeys)||{}:!o&&e.defaultCheckedKeys?r=ZC(e.defaultCheckedKeys)||{}:n&&(r=ZC(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),r)){var h=r,p=h.checkedKeys,m=void 0===p?[]:p,g=h.halfCheckedKeys,v=void 0===g?[]:g;if(!e.checkStrictly){var b=vp(m,!0,c);m=b.checkedKeys,v=b.halfCheckedKeys}i.checkedKeys=m,i.halfCheckedKeys=v}return a("loadedKeys")&&(i.loadedKeys=e.loadedKeys),i}}]),n}(h.Component);(0,eV.Z)(Rr,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Zq,allowDrop:function(){return!0},expandAction:!1}),(0,eV.Z)(Rr,"TreeNode",Zm);let Ro=Rr,Ri={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};var Ra=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:Ri}))};let Rl=h.forwardRef(Ra),Rs={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};var Rc=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:Rs}))};let Ru=h.forwardRef(Rc),Rd={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};var Rf=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:Rd}))};let Rh=h.forwardRef(Rf),Rp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"};var Rm=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:Rp}))};let Rg=h.forwardRef(Rm),Rv=e=>{let{treeCls:t,treeNodeCls:n,directoryNodeSelectedBg:r,directoryNodeSelectedColor:o,motionDurationMid:i,borderRadius:a,controlItemBgHover:l}=e;return{[`${t}${t}-directory ${n}`]:{[`${t}-node-content-wrapper`]:{position:"static",[`> *:not(${t}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${i}`,content:'""',borderRadius:a},"&:hover:before":{background:l}},[`${t}-switcher, ${t}-checkbox, ${t}-draggable-icon`]:{zIndex:1},"&-selected":{[`${t}-switcher, ${t}-draggable-icon`]:{color:o},[`${t}-node-content-wrapper`]:{color:o,background:"transparent","&:before, &:hover:before":{background:r}}}}}},Rb=new G.E4("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ry=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),Rw=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,G.bf)(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Rx=(e,t)=>{let{treeCls:n,treeNodeCls:r,treeNodePadding:o,titleHeight:i,indentSize:a,nodeSelectedBg:l,nodeHoverBg:s,colorTextQuaternary:c}=t;return{[n]:Object.assign(Object.assign({},(0,Y.Wf)(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${n}-rtl ${n}-switcher_close ${n}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},(0,Y.oN)(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:Rb,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:t.borderRadius}}},[r]:{display:"flex",alignItems:"flex-start",marginBottom:o,lineHeight:(0,G.bf)(i),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:o},[`&-disabled ${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`&:not(${r}-disabled)`]:{[`${n}-node-content-wrapper`]:{"&:hover":{color:t.nodeHoverColor}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:i,textAlign:"center",visibility:"visible",color:c},[`&${r}-disabled ${n}-draggable-icon`]:{visibility:"hidden"}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:a}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher, ${n}-checkbox`]:{marginInlineEnd:t.calc(t.calc(i).sub(t.controlInteractiveSize)).div(2).equal()},[`${n}-switcher`]:Object.assign(Object.assign({},Ry(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:i,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:i,height:i,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},[`&_close ${n}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(i).div(2).equal(),bottom:t.calc(o).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(i).div(2).equal()).mul(.8).equal(),height:t.calc(i).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:i,paddingBlock:0,paddingInline:t.paddingXS,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},Rw(e,t)),{"&:hover":{backgroundColor:s},[`&${n}-node-selected`]:{color:t.nodeSelectedColor,backgroundColor:l},[`${n}-iconEle`]:{display:"inline-block",width:i,height:i,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${r}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${t.colorPrimary}`},"&-show-line":{[`${n}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(i).div(2).equal(),bottom:t.calc(o).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last ${n}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,G.bf)(t.calc(i).div(2).equal())} !important`}})}},RS=(e,t)=>{let n=`.${e}`,r=`${n}-treenode`,o=t.calc(t.paddingXS).div(2).equal(),i=(0,eI.IX)(t,{treeCls:n,treeNodeCls:r,treeNodePadding:o});return[Rx(e,i),Rv(i)]},Rk=e=>{let{controlHeightSM:t,controlItemBgHover:n,controlItemBgActive:r}=e,o=t;return{titleHeight:o,indentSize:o,nodeHoverBg:n,nodeHoverColor:e.colorText,nodeSelectedBg:r,nodeSelectedColor:e.colorText}},RC=e=>{let{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},Rk(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})},R$=(0,k.I$)("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:vP(`${n}-checkbox`,e)},RS(n,e),(0,uL.Z)(e)]},RC),RE=4,RO=function(e){let{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:o,direction:i="ltr"}=e,a="ltr"===i?"left":"right",l={[a]:-n*o+RE,["ltr"===i?"right":"left"]:0};switch(t){case -1:l.top=-3;break;case 1:l.bottom=-3;break;default:l.bottom=-3,l[a]=o+RE}return p().createElement("div",{style:l,className:`${r}-drop-indicator`})},RM={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};var RI=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:RM}))};let RN=h.forwardRef(RI),RZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};var RR=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:RZ}))};let RT=h.forwardRef(RR),RP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};var Rj=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:RP}))};let RA=h.forwardRef(Rj),RD=e=>{let t,{prefixCls:n,switcherIcon:r,treeNodeProps:o,showLine:i,switcherLoadingIcon:a}=e,{isLeaf:l,expanded:s,loading:c}=o;if(c)return h.isValidElement(a)?a:h.createElement(te.Z,{className:`${n}-switcher-loading-icon`});if(i&&"object"==typeof i&&(t=i.showLeafIcon),l){if(!i)return null;if("boolean"!=typeof t&&t){let e="function"==typeof t?t(o):t,r=`${n}-switcher-line-custom-icon`;return h.isValidElement(e)?(0,U.Tm)(e,{className:g()(e.props.className||"",r)}):e}return t?h.createElement(Rl,{className:`${n}-switcher-line-icon`}):h.createElement("span",{className:`${n}-switcher-leaf-line`})}let u=`${n}-switcher-icon`,d="function"==typeof r?r(o):r;return h.isValidElement(d)?(0,U.Tm)(d,{className:g()(d.props.className||"",u)}):void 0!==d?d:i?s?h.createElement(RT,{className:`${n}-switcher-line-icon`}):h.createElement(RA,{className:`${n}-switcher-line-icon`}):h.createElement(RN,{className:u})},R_=p().forwardRef((e,t)=>{var n;let{getPrefixCls:r,direction:o,virtual:i,tree:a}=p().useContext(S.E_),{prefixCls:l,className:s,showIcon:c=!1,showLine:u,switcherIcon:d,switcherLoadingIcon:f,blockNode:h=!1,children:m,checkable:v=!1,selectable:b=!0,draggable:y,motion:w,style:x}=e,k=r("tree",l),C=r(),$=null!=w?w:Object.assign(Object.assign({},(0,nt.Z)(C)),{motionAppear:!1}),E=Object.assign(Object.assign({},e),{checkable:v,selectable:b,showIcon:c,motion:$,blockNode:h,showLine:!!u,dropIndicatorRender:RO}),[O,M,I]=R$(k),[,N]=(0,e$.ZP)(),Z=N.paddingXS/2+((null==(n=N.Tree)?void 0:n.titleHeight)||N.controlHeightSM),R=p().useMemo(()=>{if(!y)return!1;let e={};switch(typeof y){case"function":e.nodeDraggable=y;break;case"object":e=Object.assign({},y)}return!1!==e.icon&&(e.icon=e.icon||p().createElement(Rg,null)),e},[y]),T=e=>p().createElement(RD,{prefixCls:k,switcherIcon:d,switcherLoadingIcon:f,treeNodeProps:e,showLine:u});return O(p().createElement(Ro,Object.assign({itemHeight:Z,ref:t,virtual:i},E,{style:Object.assign(Object.assign({},null==a?void 0:a.style),x),prefixCls:k,className:g()({[`${k}-icon-hide`]:!c,[`${k}-block-node`]:h,[`${k}-unselectable`]:!b,[`${k}-rtl`]:"rtl"===o},null==a?void 0:a.className,s,M,I),direction:o,checkable:v?p().createElement("span",{className:`${k}-checkbox-inner`}):v,selectable:b,switcherIcon:T,draggable:R}),m))}),Rz=0,RL=1,RB=2;function RH(e,t,n){let{key:r,children:o}=n;function i(e){let i=e[r],a=e[o];!1!==t(i,e)&&RH(a||[],t,n)}e.forEach(i)}function RF(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:o,fieldNames:i}=e,a=[],l=Rz;if(r&&r===o)return[r];if(!r||!o)return[];function s(e){return e===r||e===o}return RH(t,e=>{if(l===RB)return!1;if(s(e)){if(a.push(e),l===Rz)l=RL;else if(l===RL)return l=RB,!1}else l===RL&&a.push(e);return n.includes(e)},ve(i)),a}function RW(e,t,n){let r=(0,y.Z)(t),o=[];return RH(e,(e,t)=>{let n=r.indexOf(e);return -1!==n&&(o.push(t),r.splice(n,1)),!!r.length},ve(n)),o}var RV=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function Rq(e){let{isLeaf:t,expanded:n}=e;return t?h.createElement(Rl,null):n?h.createElement(Ru,null):h.createElement(Rh,null)}function RK(e){let{treeData:t,children:n}=e;return t||vt(n)}let RX=(e,t)=>{var{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:o}=e,i=RV(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);let a=h.useRef(null),l=h.useRef(null),s=()=>{let e,{keyEntities:t}=vo(RK(i));return n?Object.keys(t):r?Z$(i.expandedKeys||o||[],t):i.expandedKeys||o||[]},[c,u]=h.useState(i.selectedKeys||i.defaultSelectedKeys||[]),[d,f]=h.useState(()=>s());h.useEffect(()=>{"selectedKeys"in i&&u(i.selectedKeys)},[i.selectedKeys]),h.useEffect(()=>{"expandedKeys"in i&&f(i.expandedKeys)},[i.expandedKeys]);let p=(e,t)=>{var n;return"expandedKeys"in i||f(e),null==(n=i.onExpand)?void 0:n.call(i,e,t)},m=(e,t)=>{var n;let r,{multiple:o,fieldNames:s}=i,{node:c,nativeEvent:f}=t,{key:h=""}=c,p=RK(i),m=Object.assign(Object.assign({},t),{selected:!0}),g=(null==f?void 0:f.ctrlKey)||(null==f?void 0:f.metaKey),v=null==f?void 0:f.shiftKey;o&&g?(r=e,a.current=h,l.current=r):o&&v?r=Array.from(new Set([].concat((0,y.Z)(l.current||[]),(0,y.Z)(RF({treeData:p,expandedKeys:d,startKey:h,endKey:a.current,fieldNames:s}))))):(r=[h],a.current=h,l.current=r),m.selectedNodes=RW(p,r,s),null==(n=i.onSelect)||n.call(i,r,m),"selectedKeys"in i||u(r)},{getPrefixCls:v,direction:b}=h.useContext(S.E_),{prefixCls:w,className:x,showIcon:k=!0,expandAction:C="click"}=i,$=RV(i,["prefixCls","className","showIcon","expandAction"]),E=v("tree",w),O=g()(`${E}-directory`,{[`${E}-directory-rtl`]:"rtl"===b},x);return h.createElement(R_,Object.assign({icon:Rq,ref:t,blockNode:!0},$,{showIcon:k,expandAction:C,prefixCls:E,className:O,expandedKeys:d,selectedKeys:c,onSelect:m,onExpand:p}))},RU=h.forwardRef(RX),RG=R_;RG.DirectoryTree=RU,RG.TreeNode=Zm;let RY=RG,RQ=e=>{let{value:t,filterSearch:n,tablePrefixCls:r,locale:o,onChange:i}=e;return n?h.createElement("div",{className:`${r}-filter-dropdown-search`},h.createElement(wt,{prefix:h.createElement(lC,null),placeholder:o.filterSearchPlaceholder,onChange:i,value:t,htmlSize:1,className:`${r}-filter-dropdown-search-input`})):null},RJ=e=>{let{keyCode:t}=e;t===eK.Z.ENTER&&e.stopPropagation()},R0=h.forwardRef((e,t)=>h.createElement("div",{className:e.className,onClick:e=>e.stopPropagation(),onKeyDown:RJ,ref:t},e.children));function R1(e){let t=[];return(e||[]).forEach(e=>{let{value:n,children:r}=e;t.push(n),r&&(t=[].concat((0,y.Z)(t),(0,y.Z)(R1(r))))}),t}function R2(e){return e.some(e=>{let{children:t}=e;return t})}function R4(e,t){return("string"==typeof t||"number"==typeof t)&&(null==t?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()))}function R3(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:o,searchValue:i,filterSearch:a}=e;return t.map((e,t)=>{let l=String(e.value);if(e.children)return{key:l||t,label:e.text,popupClassName:`${n}-dropdown-submenu`,children:R3({filters:e.children,prefixCls:n,filteredKeys:r,filterMultiple:o,searchValue:i,filterSearch:a})};let s=o?v3:O4,c={key:void 0!==e.value?l:t,label:h.createElement(h.Fragment,null,h.createElement(s,{checked:r.includes(l)}),h.createElement("span",null,e.text))};return i.trim()?"function"==typeof a?a(i,e)?c:null:R4(i,e.text)?c:null:c})}function R5(e){return e||[]}let R8=e=>{var t,n,r,o;let i,{tablePrefixCls:a,prefixCls:l,column:s,dropdownPrefixCls:c,columnKey:u,filterOnClose:d,filterMultiple:f,filterMode:p="menu",filterSearch:m=!1,filterState:v,triggerFilter:b,locale:y,children:w,getPopupContainer:x,rootClassName:k}=e,{filterResetToDefaultFilteredValue:C,defaultFilteredValue:$,filterDropdownProps:E={},filterDropdownOpen:O,filterDropdownVisible:M,onFilterDropdownVisibleChange:I,onFilterDropdownOpenChange:N}=s,[Z,R]=h.useState(!1),T=!!(v&&((null==(t=v.filteredKeys)?void 0:t.length)||v.forceFiltered)),P=e=>{var t;R(e),null==(t=E.onOpenChange)||t.call(E,e),null==N||N(e),null==I||I(e)},j=null!=(o=null!=(r=null!=(n=E.open)?n:O)?r:M)?o:Z,A=null==v?void 0:v.filteredKeys,[D,_]=ZV(R5(A)),z=e=>{let{selectedKeys:t}=e;_(t)},L=(e,t)=>{let{node:n,checked:r}=t;f?z({selectedKeys:e}):z({selectedKeys:r&&n.key?[n.key]:[]})};h.useEffect(()=>{Z&&z({selectedKeys:R5(A)})},[A]);let[B,H]=h.useState([]),F=e=>{H(e)},[W,V]=h.useState(""),q=e=>{let{value:t}=e.target;V(t)};h.useEffect(()=>{Z||V("")},[Z]);let K=e=>{let t=(null==e?void 0:e.length)?e:null;if(null===t&&(!v||!v.filteredKeys)||(0,tq.Z)(t,null==v?void 0:v.filteredKeys,!0))return null;b({column:s,key:u,filteredKeys:t})},X=()=>{P(!1),K(D())},U=function(){let{confirm:e,closeDropdown:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1};e&&K([]),t&&P(!1),V(""),C?_(($||[]).map(e=>String(e))):_([])},G=function(){let{closeDropdown:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0};e&&P(!1),K(D())},Y=(e,t)=>{"trigger"===t.source&&(e&&void 0!==A&&_(R5(A)),P(e),e||s.filterDropdown||!d||X())},Q=g()({[`${c}-menu-without-submenu`]:!R2(s.filters||[])}),J=e=>{e.target.checked?_(R1(null==s?void 0:s.filters).map(e=>String(e))):_([])},ee=e=>{let{filters:t}=e;return(t||[]).map((e,t)=>{let n=String(e.value),r={title:e.text,key:void 0!==e.value?n:String(t)};return e.children&&(r.children=ee({filters:e.children})),r})},et=e=>{var t;return Object.assign(Object.assign({},e),{text:e.title,value:e.key,children:(null==(t=e.children)?void 0:t.map(e=>et(e)))||[]})},{direction:en,renderEmpty:er}=h.useContext(S.E_);if("function"==typeof s.filterDropdown)i=s.filterDropdown({prefixCls:`${c}-custom`,setSelectedKeys:e=>z({selectedKeys:e}),selectedKeys:D(),confirm:G,clearFilters:U,filters:s.filters,visible:j,close:()=>{P(!1)}});else if(s.filterDropdown)i=s.filterDropdown;else{let e=D()||[],t=()=>{var t;let n=null!=(t=null==er?void 0:er("Table.filter"))?t:h.createElement(aT,{image:aT.PRESENTED_IMAGE_SIMPLE,description:y.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}});if(0===(s.filters||[]).length)return n;if("tree"===p)return h.createElement(h.Fragment,null,h.createElement(RQ,{filterSearch:m,value:W,onChange:q,tablePrefixCls:a,locale:y}),h.createElement("div",{className:`${a}-filter-dropdown-tree`},f?h.createElement(v3,{checked:e.length===R1(s.filters).length,indeterminate:e.length>0&&e.length"function"==typeof m?m(W,et(e)):R4(W,e.title):void 0})));let r=R3({filters:s.filters||[],filterSearch:m,prefixCls:l,filteredKeys:D(),filterMultiple:f,searchValue:W}),o=r.every(e=>null===e);return h.createElement(h.Fragment,null,h.createElement(RQ,{filterSearch:m,value:W,onChange:q,tablePrefixCls:a,locale:y}),o?n:h.createElement(u3,{selectable:!0,multiple:f,prefixCls:`${c}-menu`,className:Q,onSelect:z,onDeselect:z,selectedKeys:e,getPopupContainer:x,openKeys:B,onOpenChange:F,items:r}))},n=()=>C?(0,tq.Z)(($||[]).map(e=>String(e)),e,!0):0===e.length;i=h.createElement(h.Fragment,null,t(),h.createElement("div",{className:`${l}-dropdown-btns`},h.createElement(no.ZP,{type:"link",size:"small",disabled:n(),onClick:()=>U()},y.filterReset),h.createElement(no.ZP,{type:"primary",size:"small",onClick:X},y.filterConfirm)))}s.filterDropdown&&(i=h.createElement(u_,{selectable:void 0},i)),i=h.createElement(R0,{className:`${l}-dropdown`},i);let eo=$x({trigger:["click"],placement:"rtl"===en?"bottomLeft":"bottomRight",children:(()=>{let e;return e="function"==typeof s.filterIcon?s.filterIcon(T):s.filterIcon?s.filterIcon:h.createElement(ZW,null),h.createElement("span",{role:"button",tabIndex:-1,className:g()(`${l}-trigger`,{active:T}),onClick:e=>{e.stopPropagation()}},e)})(),getPopupContainer:x},Object.assign(Object.assign({},E),{rootClassName:g()(k,E.rootClassName),open:j,onOpenChange:Y,dropdownRender:()=>"function"==typeof(null==E?void 0:E.dropdownRender)?E.dropdownRender(i):i}));return h.createElement("div",{className:`${l}-column`},h.createElement("span",{className:`${a}-column-title`},w),h.createElement(SH,Object.assign({},eo)))},R6=(e,t,n)=>{let r=[];return(e||[]).forEach((e,o)=>{var i;let a=Zz(o,n);if(e.filters||"filterDropdown"in e||"onFilter"in e)if("filteredValue"in e){let t=e.filteredValue;"filterDropdown"in e||(t=null!=(i=null==t?void 0:t.map(String))?i:t),r.push({column:e,key:Z_(e,a),filteredKeys:t,forceFiltered:e.filtered})}else r.push({column:e,key:Z_(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered});"children"in e&&(r=[].concat((0,y.Z)(r),(0,y.Z)(R6(e.children,t,a))))}),r};function R7(e,t,n,r,o,i,a,l,s){return n.map((n,c)=>{let u=Zz(c,l),{filterOnClose:d=!0,filterMultiple:f=!0,filterMode:p,filterSearch:m}=n,g=n;if(g.filters||g.filterDropdown){let l=Z_(g,u),c=r.find(e=>{let{key:t}=e;return l===t});g=Object.assign(Object.assign({},g),{title:r=>h.createElement(R8,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:g,columnKey:l,filterState:c,filterOnClose:d,filterMultiple:f,filterMode:p,filterSearch:m,triggerFilter:i,locale:o,getPopupContainer:a,rootClassName:s},ZL(n.title,r))})}return"children"in g&&(g=Object.assign(Object.assign({},g),{children:R7(e,t,g.children,r,o,i,a,u,s)})),g})}let R9=e=>{let t={};return e.forEach(e=>{let{key:n,filteredKeys:r,column:o}=e,i=n,{filters:a,filterDropdown:l}=o;if(l)t[i]=r||null;else if(Array.isArray(r)){let e=R1(a);t[i]=e.filter(e=>r.includes(String(e)))}else t[i]=null}),t},Te=(e,t,n)=>t.reduce((e,r)=>{let{column:{onFilter:o,filters:i},filteredKeys:a}=r;return o&&a&&a.length?e.map(e=>Object.assign({},e)).filter(e=>a.some(r=>{let a=R1(i),l=a.findIndex(e=>String(e)===String(r)),s=-1!==l?a[l]:r;return e[n]&&(e[n]=Te(e[n],t,n)),o(s,e)})):e},e),Tt=e=>e.flatMap(e=>"children"in e?[e].concat((0,y.Z)(Tt(e.children||[]))):[e]),Tn=e=>{let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:o,getPopupContainer:i,locale:a,rootClassName:l}=e;(0,ez.ln)("Table");let s=h.useMemo(()=>Tt(r||[]),[r]),[c,u]=h.useState(()=>R6(s,!0)),d=h.useMemo(()=>{let e=R6(s,!1);if(0===e.length)return e;let t=!0,n=!0;if(e.forEach(e=>{let{filteredKeys:r}=e;void 0!==r?t=!1:n=!1}),t){let e=(s||[]).map((e,t)=>Z_(e,Zz(t)));return c.filter(t=>{let{key:n}=t;return e.includes(n)}).map(t=>{let n=s[e.findIndex(e=>e===t.key)];return Object.assign(Object.assign({},t),{column:Object.assign(Object.assign({},t.column),n),forceFiltered:n.filtered})})}return e},[s,c]),f=h.useMemo(()=>R9(d),[d]),p=e=>{let t=d.filter(t=>{let{key:n}=t;return n!==e.key});t.push(e),u(t),o(R9(t),t)};return[e=>R7(t,n,e,d,a,p,i,void 0,l),d,f]},Tr=(e,t,n)=>{let r=h.useRef({});return[function(o){var i;if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){let o=new Map;function a(e){e.forEach((e,r)=>{let i=n(e,r);o.set(i,e),e&&"object"==typeof e&&t in e&&a(e[t]||[])})}a(e),r.current={data:e,childrenColumnName:t,kvMap:o,getRowKey:n}}return null==(i=r.current.kvMap)?void 0:i.get(o)}]};var To=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let Ti=10;function Ta(e,t){let n={current:e.current,pageSize:e.pageSize};return Object.keys(t&&"object"==typeof t?t:{}).forEach(t=>{let r=e[t];"function"!=typeof r&&(n[t]=r)}),n}let Tl=function(e,t,n){let r=n&&"object"==typeof n?n:{},{total:o=0}=r,i=To(r,["total"]),[a,l]=(0,h.useState)(()=>({current:"defaultCurrent"in i?i.defaultCurrent:1,pageSize:"defaultPageSize"in i?i.defaultPageSize:Ti})),s=$x(a,i,{total:o>0?o:e}),c=Math.ceil((o||e)/s.pageSize);s.current>c&&(s.current=c||1);let u=(e,t)=>{l({current:null!=e?e:1,pageSize:t||s.pageSize})},d=(e,r)=>{var o;n&&(null==(o=n.onChange)||o.call(n,e,r)),u(e,r),t(e,r||(null==s?void 0:s.pageSize))};return!1===n?[{},()=>{}]:[Object.assign(Object.assign({},s),{onChange:d}),u]},Ts={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};var Tc=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:Ts}))};let Tu=h.forwardRef(Tc),Td={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};var Tf=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:Td}))};let Th=h.forwardRef(Tf),Tp="ascend",Tm="descend",Tg=e=>"object"==typeof e.sorter&&"number"==typeof e.sorter.multiple&&e.sorter.multiple,Tv=e=>"function"==typeof e?e:!!e&&"object"==typeof e&&!!e.compare&&e.compare,Tb=(e,t)=>t?e[e.indexOf(t)+1]:e[0],Ty=(e,t,n)=>{let r=[],o=(e,t)=>{r.push({column:e,key:Z_(e,t),multiplePriority:Tg(e),sortOrder:e.sortOrder})};return(e||[]).forEach((e,i)=>{let a=Zz(i,n);e.children?("sortOrder"in e&&o(e,a),r=[].concat((0,y.Z)(r),(0,y.Z)(Ty(e.children,t,a)))):e.sorter&&("sortOrder"in e?o(e,a):t&&e.defaultSortOrder&&r.push({column:e,key:Z_(e,a),multiplePriority:Tg(e),sortOrder:e.defaultSortOrder}))}),r},Tw=(e,t,n,r,o,i,a,l)=>(t||[]).map((t,s)=>{let c=Zz(s,l),u=t;if(u.sorter){let l,s=u.sortDirections||o,d=void 0===u.showSorterTooltip?a:u.showSorterTooltip,f=Z_(u,c),p=n.find(e=>{let{key:t}=e;return t===f}),m=p?p.sortOrder:null,v=Tb(s,m);if(t.sortIcon)l=t.sortIcon({sortOrder:m});else{let t=s.includes(Tp)&&h.createElement(Th,{className:g()(`${e}-column-sorter-up`,{active:m===Tp})}),n=s.includes(Tm)&&h.createElement(Tu,{className:g()(`${e}-column-sorter-down`,{active:m===Tm})});l=h.createElement("span",{className:g()(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(t&&n)})},h.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},t,n))}let{cancelSort:b,triggerAsc:y,triggerDesc:w}=i||{},x=b;v===Tm?x=w:v===Tp&&(x=y);let S="object"==typeof d?Object.assign({title:x},d):{title:x};u=Object.assign(Object.assign({},u),{className:g()(u.className,{[`${e}-column-sort`]:m}),title:n=>{let r=`${e}-column-sorters`,o=h.createElement("span",{className:`${e}-column-title`},ZL(t.title,n)),i=h.createElement("div",{className:r},o,l);return d?"boolean"!=typeof d&&(null==d?void 0:d.target)==="sorter-icon"?h.createElement("div",{className:`${r} ${e}-column-sorters-tooltip-target-sorter`},o,h.createElement(l1.Z,Object.assign({},S),l)):h.createElement(l1.Z,Object.assign({},S),i):i},onHeaderCell:n=>{var o;let i=(null==(o=t.onHeaderCell)?void 0:o.call(t,n))||{},a=i.onClick,l=i.onKeyDown;i.onClick=e=>{r({column:t,key:f,sortOrder:v,multiplePriority:Tg(t)}),null==a||a(e)},i.onKeyDown=e=>{e.keyCode===eK.Z.ENTER&&(r({column:t,key:f,sortOrder:v,multiplePriority:Tg(t)}),null==l||l(e))};let s=ZB(t.title,{}),c=null==s?void 0:s.toString();return m?i["aria-sort"]="ascend"===m?"ascending":"descending":i["aria-label"]=c||"",i.className=g()(i.className,`${e}-column-has-sorters`),i.tabIndex=0,t.ellipsis&&(i.title=(null!=s?s:"").toString()),i}})}return"children"in u&&(u=Object.assign(Object.assign({},u),{children:Tw(e,u.children,n,r,o,i,a,c)})),u}),Tx=e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},TS=e=>{let t=e.filter(e=>{let{sortOrder:t}=e;return t}).map(Tx);if(0===t.length&&e.length){let t=e.length-1;return Object.assign(Object.assign({},Tx(e[t])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return t.length<=1?t[0]||{}:t},Tk=(e,t,n)=>{let r=t.slice().sort((e,t)=>t.multiplePriority-e.multiplePriority),o=e.slice(),i=r.filter(e=>{let{column:{sorter:t},sortOrder:n}=e;return Tv(t)&&n});return i.length?o.sort((e,t)=>{for(let n=0;n{let r=e[n];return r?Object.assign(Object.assign({},e),{[n]:Tk(r,t,n)}):e}):o},TC=e=>{let{prefixCls:t,mergedColumns:n,sortDirections:r,tableLocale:o,showSorterTooltip:i,onSorterChange:a}=e,[l,s]=h.useState(Ty(n,!0)),c=(e,t)=>{let n=[];return e.forEach((e,r)=>{let o=Zz(r,t);if(n.push(Z_(e,o)),Array.isArray(e.children)){let t=c(e.children,o);n.push.apply(n,(0,y.Z)(t))}}),n},u=h.useMemo(()=>{let e=!0,t=Ty(n,!1);if(!t.length){let e=c(n);return l.filter(t=>{let{key:n}=t;return e.includes(n)})}let r=[];function o(t){e?r.push(t):r.push(Object.assign(Object.assign({},t),{sortOrder:null}))}let i=null;return t.forEach(t=>{null===i?(o(t),t.sortOrder&&(!1===t.multiplePriority?e=!1:i=!0)):(i&&!1!==t.multiplePriority||(e=!1),o(t))}),r},[n,l]),d=h.useMemo(()=>{var e,t;let n=u.map(e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n}});return{sortColumns:n,sortColumn:null==(e=n[0])?void 0:e.column,sortOrder:null==(t=n[0])?void 0:t.order}},[u]),f=e=>{let t;s(t=!1!==e.multiplePriority&&u.length&&!1!==u[0].multiplePriority?[].concat((0,y.Z)(u.filter(t=>{let{key:n}=t;return n!==e.key})),[e]):[e]),a(TS(t),t)},p=()=>TS(u);return[e=>Tw(t,e,u,f,r,o,i),u,d,p]},T$=(e,t)=>e.map(e=>{let n=Object.assign({},e);return n.title=ZL(e.title,t),"children"in n&&(n.children=T$(n.children,t)),n}),TE=e=>[h.useCallback(t=>T$(t,e),[e])],TO=NJ((e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),TM=Zn((e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r});var TI=n(32517);let TN=[],TZ=(e,t)=>{var n,r;let o,i,a,{prefixCls:l,className:s,rootClassName:c,style:u,size:d,bordered:f,dropdownPrefixCls:p,dataSource:m,pagination:v,rowSelection:y,rowKey:w="key",rowClassName:x,columns:k,children:C,childrenColumnName:$,onChange:E,getPopupContainer:O,loading:M,expandIcon:I,expandable:N,expandedRowRender:Z,expandIconColumnIndex:R,indentSize:T,scroll:P,sortDirections:j,locale:A,showSorterTooltip:D={target:"full-header"},virtual:_}=e;(0,ez.ln)("Table");let z=h.useMemo(()=>k||NM(C),[k,C]),L=lV(h.useMemo(()=>z.some(e=>e.responsive),[z])),B=h.useMemo(()=>{let e=new Set(Object.keys(L).filter(e=>L[e]));return z.filter(t=>!t.responsive||t.responsive.some(t=>e.has(t)))},[z,L]),H=(0,b.Z)(e,["className","style","columns"]),{locale:F=t$.Z,direction:W,table:V,renderEmpty:q,getPrefixCls:K,getPopupContainer:X}=h.useContext(S.E_),U=(0,aj.Z)(d),G=Object.assign(Object.assign({},F.Table),A),Y=m||TN,Q=K("table",l),J=K("dropdown",p),[,ee]=(0,e$.ZP)(),et=eE(Q),[en,er,eo]=(0,TI.Z)(Q,et),ei=Object.assign(Object.assign({childrenColumnName:$,expandIconColumnIndex:R},N),{expandIcon:null!=(n=null==N?void 0:N.expandIcon)?n:null==(r=null==V?void 0:V.expandable)?void 0:r.expandIcon}),{childrenColumnName:ea="children"}=ei,el=h.useMemo(()=>Y.some(e=>null==e?void 0:e[ea])?"nest":Z||(null==N?void 0:N.expandedRowRender)?"row":null,[Y]),es={body:h.useRef(null)},ec=ZD(Q),eu=h.useRef(null),ed=h.useRef(null);Zj(t,()=>Object.assign(Object.assign({},ed.current),{nativeElement:eu.current}));let ef=h.useMemo(()=>"function"==typeof w?w:e=>null==e?void 0:e[w],[w]),[eh]=Tr(Y,ea,ef),ep={},em=function(e,t){var n,r,o,i;let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=Object.assign(Object.assign({},ep),e);a&&(null==(n=ep.resetPagination)||n.call(ep),(null==(r=l.pagination)?void 0:r.current)&&(l.pagination.current=1),v&&(null==(o=v.onChange)||o.call(v,1,null==(i=l.pagination)?void 0:i.pageSize))),P&&!1!==P.scrollToFirstRowOnChange&&es.body.current&&eC(0,{getContainer:()=>es.body.current}),null==E||E(l.pagination,l.filters,l.sorter,{currentDataSource:Te(Tk(Y,l.sorterStates,ea),l.filterStates,ea),action:t})},[eg,ev,eb,ey]=TC({prefixCls:Q,mergedColumns:B,onSorterChange:(e,t)=>{em({sorter:e,sorterStates:t},"sort",!1)},sortDirections:j||["ascend","descend"],tableLocale:G,showSorterTooltip:D}),ew=h.useMemo(()=>Tk(Y,ev,ea),[Y,ev]);ep.sorter=ey(),ep.sorterStates=ev;let[ex,eS,ek]=Tn({prefixCls:Q,locale:G,dropdownPrefixCls:J,mergedColumns:B,onFilterChange:(e,t)=>{em({filters:e,filterStates:t},"filter",!0)},getPopupContainer:O||X,rootClassName:g()(c,et)}),eO=Te(ew,eS,ea);ep.filters=ek,ep.filterStates=eS;let[eM]=TE(h.useMemo(()=>{let e={};return Object.keys(ek).forEach(t=>{null!==ek[t]&&(e[t]=ek[t])}),Object.assign(Object.assign({},eb),{filters:e})},[eb,ek])),eI=(e,t)=>{em({pagination:Object.assign(Object.assign({},ep.pagination),{current:e,pageSize:t})},"paginate")},[eN,eZ]=Tl(eO.length,eI,v);ep.pagination=!1===v?{}:Ta(eN,v),ep.resetPagination=eZ;let eR=h.useMemo(()=>{if(!1===v||!eN.pageSize)return eO;let{current:e=1,total:t,pageSize:n=Ti}=eN;return eO.lengthn?eO.slice((e-1)*n,e*n):eO:eO.slice((e-1)*n,e*n)},[!!v,eO,null==eN?void 0:eN.current,null==eN?void 0:eN.pageSize,null==eN?void 0:eN.total]),[eT,eP]=ZT({prefixCls:Q,data:eO,pageData:eR,getRowKey:ef,getRecordByKey:eh,expandType:el,childrenColumnName:ea,locale:G,getPopupContainer:O||X},y),ej=(e,t,n)=>{let r;return r="function"==typeof x?g()(x(e,t,n)):g()(x),g()({[`${Q}-row-selected`]:eP.has(ef(e,t))},r)};ei.__PARENT_RENDER_ICON__=ei.expandIcon,ei.expandIcon=ei.expandIcon||I||ZA(G),"nest"===el&&void 0===ei.expandIconColumnIndex?ei.expandIconColumnIndex=+!!y:ei.expandIconColumnIndex>0&&y&&(ei.expandIconColumnIndex-=1),"number"!=typeof ei.indentSize&&(ei.indentSize="number"==typeof T?T:15);let eA=h.useCallback(e=>eM(eT(ex(eg(e)))),[eg,ex,eT]);if(!1!==v&&(null==eN?void 0:eN.total)){let e;e=eN.size?eN.size:"small"===U||"middle"===U?"small":void 0;let t=t=>h.createElement($F,Object.assign({},eN,{className:g()(`${Q}-pagination ${Q}-pagination-${t}`,eN.className),size:e})),n="rtl"===W?"left":"right",{position:r}=eN;if(null!==r&&Array.isArray(r)){let e=r.find(e=>e.includes("top")),a=r.find(e=>e.includes("bottom")),l=r.every(e=>"none"==`${e}`);e||a||l||(i=t(n)),e&&(o=t(e.toLowerCase().replace("top",""))),a&&(i=t(a.toLowerCase().replace("bottom","")))}else i=t(n)}"boolean"==typeof M?a={spinning:M}:"object"==typeof M&&(a=Object.assign({spinning:!0},M));let eD=g()(eo,et,`${Q}-wrapper`,null==V?void 0:V.className,{[`${Q}-wrapper-rtl`]:"rtl"===W},s,c,er),e_=Object.assign(Object.assign({},null==V?void 0:V.style),u),eL=void 0!==(null==A?void 0:A.emptyText)?A.emptyText:(null==q?void 0:q("Table"))||h.createElement(aP,{componentName:"Table"}),eB=_?TM:TO,eH={},eF=h.useMemo(()=>{let{fontSize:e,lineHeight:t,padding:n,paddingXS:r,paddingSM:o}=ee,i=Math.floor(e*t);switch(U){case"large":return 2*n+i;case"small":return 2*r+i;default:return 2*o+i}},[ee,U]);return _&&(eH.listItemHeight=eF),en(h.createElement("div",{ref:eu,className:eD,style:e_},h.createElement(Ee,Object.assign({spinning:!1},a),o,h.createElement(eB,Object.assign({},eH,H,{ref:ed,columns:B,direction:W,expandable:ei,prefixCls:Q,className:g()({[`${Q}-middle`]:"middle"===U,[`${Q}-small`]:"small"===U,[`${Q}-bordered`]:f,[`${Q}-empty`]:0===Y.length},eo,et,er),data:eR,rowKey:ef,rowClassName:ej,emptyText:eL,internalHooks:IM,internalRefs:es,transformColumns:eA,getContainerWidth:ec})),i)))},TR=h.forwardRef(TZ),TT=(e,t)=>{let n=h.useRef(0);return n.current+=1,h.createElement(TR,Object.assign({},e,{ref:t,_renderTimes:n.current}))},TP=h.forwardRef(TT);TP.SELECTION_COLUMN=ZO,TP.EXPAND_COLUMN=IO,TP.SELECTION_ALL=ZM,TP.SELECTION_INVERT=ZI,TP.SELECTION_NONE=ZN,TP.Column=Zr,TP.ColumnGroup=Zo,TP.Summary=I5;let Tj=TP,TA=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o,calc:i}=e,a=i(r).sub(n).equal(),l=i(t).sub(n).equal();return{[o]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},TD=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,o=e.fontSizeSM;return(0,eI.IX)(e,{tagFontSize:o,tagLineHeight:(0,G.bf)(r(e.lineHeightSM).mul(o).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},T_=e=>({defaultBg:new tD.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),Tz=(0,k.I$)("Tag",e=>TA(TD(e)),T_);var TL=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let TB=h.forwardRef((e,t)=>{let{prefixCls:n,style:r,className:o,checked:i,onChange:a,onClick:l}=e,s=TL(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:c,tag:u}=h.useContext(S.E_),d=e=>{null==a||a(!i),null==l||l(e)},f=c("tag",n),[p,m,v]=Tz(f),b=g()(f,`${f}-checkable`,{[`${f}-checkable-checked`]:i},null==u?void 0:u.className,o,m,v);return p(h.createElement("span",Object.assign({},s,{ref:t,style:Object.assign(Object.assign({},r),null==u?void 0:u.style),className:b,onClick:d})))}),TH=e=>(0,sw.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:i,darkColor:a}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),TF=(0,k.bk)(["Tag","preset"],e=>TH(TD(e)),T_);function TW(e){return"string"!=typeof e?e:e.charAt(0).toUpperCase()+e.slice(1)}let TV=(e,t,n)=>{let r=TW(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},Tq=(0,k.bk)(["Tag","status"],e=>{let t=TD(e);return[TV(t,"success","Success"),TV(t,"processing","Info"),TV(t,"error","Error"),TV(t,"warning","Warning")]},T_);var TK=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let TX=h.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:o,style:i,children:a,icon:l,color:s,onClose:c,bordered:u=!0,visible:d}=e,f=TK(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:p,direction:m,tag:v}=h.useContext(S.E_),[y,w]=h.useState(!0),x=(0,b.Z)(f,["closeIcon","closable"]);h.useEffect(()=>{void 0!==d&&w(d)},[d]);let k=(0,sy.o2)(s),C=(0,sy.yT)(s),$=k||C,E=Object.assign(Object.assign({backgroundColor:s&&!$?s:void 0},null==v?void 0:v.style),i),O=p("tag",n),[M,I,N]=Tz(O),Z=g()(O,null==v?void 0:v.className,{[`${O}-${s}`]:$,[`${O}-has-color`]:s&&!$,[`${O}-hidden`]:!y,[`${O}-rtl`]:"rtl"===m,[`${O}-borderless`]:!u},r,o,I,N),R=e=>{e.stopPropagation(),null==c||c(e),e.defaultPrevented||w(!1)},[,T]=nj(nZ(e),nZ(v),{closable:!1,closeIconRender:e=>{let t=h.createElement("span",{className:`${O}-close-icon`,onClick:R},e);return(0,U.wm)(e,t,e=>({onClick:t=>{var n;null==(n=null==e?void 0:e.onClick)||n.call(e,t),R(t)},className:g()(null==e?void 0:e.className,`${O}-close-icon`)}))}}),P="function"==typeof f.onClick||a&&"a"===a.type,j=l||null,A=j?h.createElement(h.Fragment,null,j,a&&h.createElement("span",null,a)):a,D=h.createElement("span",Object.assign({},x,{ref:t,className:Z,style:E}),A,T,k&&h.createElement(TF,{key:"preset",prefixCls:O}),C&&h.createElement(Tq,{key:"status",prefixCls:O}));return M(P?h.createElement(hV.Z,{component:"Tag"},D):D)});TX.CheckableTag=TB;let TU=TX;var TG=n(67880),TY=n(55948);let TQ=e=>{let t=(null==e?void 0:e.algorithm)?(0,G.jG)(e.algorithm):(0,G.jG)(TG.Z),n=Object.assign(Object.assign({},tj.Z),null==e?void 0:e.token);return(0,G.t2)(n,{override:null==e?void 0:e.token},t,TY.Z)};var TJ=n(372),T0=n(69594);function T1(e){let{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}let T2=(e,t)=>{let n=null!=t?t:(0,TG.Z)(e),r=n.fontSizeSM,o=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),T1(null!=t?t:e)),(0,T0.Z)(r)),{controlHeight:o}),(0,TJ.Z)(Object.assign(Object.assign({},n),{controlHeight:o})))};var T4=n(57);let T3=(e,t)=>new tD.C(e).setAlpha(t).toRgbString(),T5=(e,t)=>new tD.C(e).lighten(t).toHexString(),T8=e=>{let t=(0,tA.R_)(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},T6=(e,t)=>{let n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:T3(r,.85),colorTextSecondary:T3(r,.65),colorTextTertiary:T3(r,.45),colorTextQuaternary:T3(r,.25),colorFill:T3(r,.18),colorFillSecondary:T3(r,.12),colorFillTertiary:T3(r,.08),colorFillQuaternary:T3(r,.04),colorBgSolid:T3(r,.95),colorBgSolidHover:T3(r,1),colorBgSolidActive:T3(r,.9),colorBgElevated:T5(n,12),colorBgContainer:T5(n,8),colorBgLayout:T5(n,0),colorBgSpotlight:T5(n,26),colorBgBlur:T3(r,.04),colorBorder:T5(n,26),colorBorderSecondary:T5(n,19)}},T7=(e,t)=>{let n=Object.keys(tj.M).map(t=>{let n=(0,tA.R_)(e[t],{theme:"dark"});return Array(10).fill(1).reduce((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e),{})}).reduce((e,t)=>e=Object.assign(Object.assign({},e),t),{});return Object.assign(Object.assign(Object.assign({},null!=t?t:(0,TG.Z)(e)),n),(0,T4.Z)(e,{generateColorPalettes:T8,generateNeutralColorPalettes:T6}))};function T9(){let[e,t,n]=(0,e$.ZP)();return{theme:e,token:t,hashId:n}}let Pe={defaultSeed:tP.u_.token,useToken:T9,defaultAlgorithm:TG.Z,darkAlgorithm:T7,compactAlgorithm:T2,getDesignToken:TQ,defaultConfig:tP.u_,_internalContext:tP.Mj};var Pt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let{TimePicker:Pn,RangePicker:Pr}=xG,Po=h.forwardRef((e,t)=>h.createElement(Pr,Object.assign({},e,{picker:"time",mode:void 0,ref:t}))),Pi=h.forwardRef((e,t)=>{var{addon:n,renderExtraFooter:r,variant:o,bordered:i}=e,a=Pt(e,["addon","renderExtraFooter","variant","bordered"]);let[l]=aD("timePicker",o,i),s=h.useMemo(()=>r||n||void 0,[n,r]);return h.createElement(Pn,Object.assign({},a,{mode:void 0,ref:t,renderExtraFooter:s,variant:l}))}),Pa=o$(Pi,"picker");Pi._InternalPanelDoNotUseOrYouWillBeFired=Pa,Pi.RangePicker=Po,Pi._InternalPanelDoNotUseOrYouWillBeFired=Pa;let Pl=Pi,Ps=e=>{let{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{margin:0,padding:0,listStyle:"none",[`${t}-item`]:{position:"relative",margin:0,paddingBottom:e.itemPaddingBottom,fontSize:e.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:e.itemHeadSize,insetInlineStart:n(n(e.itemHeadSize).sub(e.tailWidth)).div(2).equal(),height:`calc(100% - ${(0,G.bf)(e.itemHeadSize)})`,borderInlineStart:`${(0,G.bf)(e.tailWidth)} ${e.lineType} ${e.tailColor}`},"&-pending":{[`${t}-item-head`]:{fontSize:e.fontSizeSM,backgroundColor:"transparent"},[`${t}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:e.itemHeadSize,height:e.itemHeadSize,backgroundColor:e.dotBg,border:`${(0,G.bf)(e.dotBorderWidth)} ${e.lineType} transparent`,borderRadius:"50%","&-blue":{color:e.colorPrimary,borderColor:e.colorPrimary},"&-red":{color:e.colorError,borderColor:e.colorError},"&-green":{color:e.colorSuccess,borderColor:e.colorSuccess},"&-gray":{color:e.colorTextDisabled,borderColor:e.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:n(e.itemHeadSize).div(2).equal(),insetInlineStart:n(e.itemHeadSize).div(2).equal(),width:"auto",height:"auto",marginBlockStart:0,paddingBlock:e.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.lineWidth).equal(),marginInlineStart:n(e.margin).add(e.itemHeadSize).equal(),marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${t}-item-tail`]:{display:"none"},[`> ${t}-item-content`]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}}},[`&${t}-alternate, - &${t}-right, - &${t}-label`]:{[`${t}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:n(e.marginXXS).mul(-1).equal(),"&-custom":{marginInlineStart:n(e.tailWidth).div(2).equal()}},"&-left":{[`${t}-item-content`]:{insetInlineStart:`calc(50% - ${(0,G.bf)(e.marginXXS)})`,width:`calc(50% - ${(0,G.bf)(e.marginSM)})`,textAlign:"start"}},"&-right":{[`${t}-item-content`]:{width:`calc(50% - ${(0,G.bf)(e.marginSM)})`,margin:0,textAlign:"end"}}}},[`&${t}-right`]:{[`${t}-item-right`]:{[`${t}-item-tail, - ${t}-item-head, - ${t}-item-head-custom`]:{insetInlineStart:`calc(100% - ${(0,G.bf)(n(n(e.itemHeadSize).add(e.tailWidth)).div(2).equal())})`},[`${t}-item-content`]:{width:`calc(100% - ${(0,G.bf)(n(e.itemHeadSize).add(e.marginXS).equal())})`}}},[`&${t}-pending - ${t}-item-last - ${t}-item-tail`]:{display:"block",height:`calc(100% - ${(0,G.bf)(e.margin)})`,borderInlineStart:`${(0,G.bf)(e.tailWidth)} dotted ${e.tailColor}`},[`&${t}-reverse - ${t}-item-last - ${t}-item-tail`]:{display:"none"},[`&${t}-reverse ${t}-item-pending`]:{[`${t}-item-tail`]:{insetBlockStart:e.margin,display:"block",height:`calc(100% - ${(0,G.bf)(e.margin)})`,borderInlineStart:`${(0,G.bf)(e.tailWidth)} dotted ${e.tailColor}`},[`${t}-item-content`]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}},[`&${t}-label`]:{[`${t}-item-label`]:{position:"absolute",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.tailWidth).equal(),width:`calc(50% - ${(0,G.bf)(e.marginSM)})`,textAlign:"end"},[`${t}-item-right`]:{[`${t}-item-label`]:{insetInlineStart:`calc(50% + ${(0,G.bf)(e.marginSM)})`,width:`calc(50% - ${(0,G.bf)(e.marginSM)})`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${t}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}},Pc=e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.wireframe?e.lineWidthBold:3*e.lineWidth,dotBg:e.colorBgContainer,itemPaddingBottom:1.25*e.padding}),Pu=(0,k.I$)("Timeline",e=>[Ps((0,eI.IX)(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2}))],Pc);var Pd=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let Pf=e=>{var{prefixCls:t,className:n,color:r="blue",dot:o,pending:i=!1,position:a,label:l,children:s}=e,c=Pd(e,["prefixCls","className","color","dot","pending","position","label","children"]);let{getPrefixCls:u}=h.useContext(S.E_),d=u("timeline",t),f=g()(`${d}-item`,{[`${d}-item-pending`]:i},n),p=/blue|red|green|gray/.test(r||"")?void 0:r,m=g()(`${d}-item-head`,{[`${d}-item-head-custom`]:!!o,[`${d}-item-head-${r}`]:!p});return h.createElement("li",Object.assign({},c,{className:f}),l&&h.createElement("div",{className:`${d}-item-label`},l),h.createElement("div",{className:`${d}-item-tail`}),h.createElement("div",{className:m,style:{borderColor:p,color:p}},o),h.createElement("div",{className:`${d}-item-content`},s))};var Ph=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let Pp=e=>{var{prefixCls:t,className:n,pending:r=!1,children:o,items:i,rootClassName:a,reverse:l=!1,direction:s,hashId:c,pendingDot:u,mode:d=""}=e,f=Ph(e,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);let p=(e,n)=>"alternate"===d?"right"===e?`${t}-item-right`:"left"===e||n%2==0?`${t}-item-left`:`${t}-item-right`:"left"===d?`${t}-item-left`:"right"===d||"right"===e?`${t}-item-right`:"",m=(0,y.Z)(i||[]),v="boolean"==typeof r?null:r;r&&m.push({pending:!!r,dot:u||h.createElement(te.Z,null),children:v}),l&&m.reverse();let b=m.length,w=`${t}-item-last`,x=m.filter(e=>!!e).map((e,t)=>{var n;let o=t===b-2?w:"",i=t===b-1?w:"",{className:a}=e,s=Ph(e,["className"]);return h.createElement(Pf,Object.assign({},s,{className:g()([a,!l&&r?o:i,p(null!=(n=null==e?void 0:e.position)?n:"",t)]),key:(null==e?void 0:e.key)||t}))}),S=m.some(e=>!!(null==e?void 0:e.label)),k=g()(t,{[`${t}-pending`]:!!r,[`${t}-reverse`]:!!l,[`${t}-${d}`]:!!d&&!S,[`${t}-label`]:S,[`${t}-rtl`]:"rtl"===s},n,a,c);return h.createElement("ul",Object.assign({},f,{className:k}),x)},Pm=function(e,t){return e&&Array.isArray(e)?e:(0,oS.Z)(t).map(e=>{var t,n;return Object.assign({children:null!=(n=null==(t=null==e?void 0:e.props)?void 0:t.children)?n:""},e.props)})};var Pg=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let Pv=e=>{let{getPrefixCls:t,direction:n,timeline:r}=h.useContext(S.E_),{prefixCls:o,children:i,items:a,className:l,style:s}=e,c=Pg(e,["prefixCls","children","items","className","style"]),u=t("timeline",o),d=eE(u),[f,p,m]=Pu(u,d),v=Pm(a,i);return f(h.createElement(Pp,Object.assign({},c,{className:g()(null==r?void 0:r.className,l,m,d),style:Object.assign(Object.assign({},null==r?void 0:r.style),s),prefixCls:u,direction:n,items:v,hashId:p})))};Pv.Item=Pf;let Pb=Pv;function Py(e){return null!==e&&"object"===(0,eq.Z)(e)}function Pw(e,t,n){if(!1===e||!1===t&&(!Py(e)||!e.closeIcon))return null;var r,o="boolean"!=typeof t?t:void 0;return Py(e)?(0,eH.Z)((0,eH.Z)({},e),{},{closeIcon:null!=(r=e.closeIcon)?r:o}):n||e||t?{closeIcon:o}:"empty"}function Px(e,t,n,r){return h.useMemo(function(){var o=Pw(e,t,!1),i=Pw(n,r,!0);return"empty"!==o?o:i},[n,r,e,t])}function PS(e){var t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,r=e.getBoundingClientRect(),o=r.top,i=r.right,a=r.bottom,l=r.left;return o>=0&&l>=0&&i<=t&&a<=n}function Pk(e,t,n){var r;return null!=(r=null!=n?n:t)?r:null===e?"center":"bottom"}function PC(e){return"number"==typeof e&&!Number.isNaN(e)}function P$(e,t,n,r){var o=(0,h.useState)(void 0),i=(0,eL.Z)(o,2),a=i[0],l=i[1];(0,oE.Z)(function(){l(("function"==typeof e?e():e)||null)});var s=(0,h.useState)(null),c=(0,eL.Z)(s,2),u=c[0],d=c[1],f=(0,ey.Z)(function(){if(a){!PS(a)&&t&&a.scrollIntoView(r);var e=a.getBoundingClientRect(),n={left:e.left,top:e.top,width:e.width,height:e.height,radius:0};d(function(e){return JSON.stringify(e)!==JSON.stringify(n)?n:e})}else d(null)}),p=function(e){var t;return null!=(t=Array.isArray(null==n?void 0:n.offset)?null==n?void 0:n.offset[e]:null==n?void 0:n.offset)?t:6};return(0,oE.Z)(function(){return f(),window.addEventListener("resize",f),function(){window.removeEventListener("resize",f)}},[a,t,f]),[(0,h.useMemo)(function(){if(!u)return u;var e=p(0),t=p(1),r=PC(null==n?void 0:n.radius)?null==n?void 0:n.radius:2;return{left:u.left-e,top:u.top-t,width:u.width+2*e,height:u.height+2*t,radius:r}},[u,n]),a]}var PE={fill:"transparent",pointerEvents:"auto"};let PO=function(e){var t=e.prefixCls,n=e.rootClassName,r=e.pos,o=e.showMask,i=e.style,a=void 0===i?{}:i,l=e.fill,s=void 0===l?"rgba(0,0,0,0.5)":l,c=e.open,u=e.animated,d=e.zIndex,f=e.disabledInteraction,h=(0,nm.Z)(),m="".concat(t,"-mask-").concat(h),v="object"===(0,eq.Z)(u)?null==u?void 0:u.placeholder:u,b="undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?{width:"100%",height:"100%"}:{width:"100vw",height:"100vh"};return p().createElement(nf.Z,{open:c,autoLock:!0},p().createElement("div",{className:g()("".concat(t,"-mask"),n),style:(0,eH.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:d,pointerEvents:r&&!f?"none":"auto"},a)},o?p().createElement("svg",{style:{width:"100%",height:"100%"}},p().createElement("defs",null,p().createElement("mask",{id:m},p().createElement("rect",(0,_.Z)({x:"0",y:"0"},b,{fill:"white"})),r&&p().createElement("rect",{x:r.left,y:r.top,rx:r.radius,width:r.width,height:r.height,fill:"black",className:v?"".concat(t,"-placeholder-animated"):""}))),p().createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:s,mask:"url(#".concat(m,")")}),r&&p().createElement(p().Fragment,null,p().createElement("rect",(0,_.Z)({},PE,{x:"0",y:"0",width:"100%",height:r.top})),p().createElement("rect",(0,_.Z)({},PE,{x:"0",y:"0",width:r.left,height:"100%"})),p().createElement("rect",(0,_.Z)({},PE,{x:"0",y:r.top+r.height,width:"100%",height:"calc(100vh - ".concat(r.top+r.height,"px)")})),p().createElement("rect",(0,_.Z)({},PE,{x:r.left+r.width,y:"0",width:"calc(100vw - ".concat(r.left+r.width,"px)"),height:"100%"})))):null))};var PM=[0,0],PI={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function PN(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t={};return Object.keys(PI).forEach(function(n){t[n]=(0,eH.Z)((0,eH.Z)({},PI[n]),{},{autoArrow:e,targetOffset:PM})}),t}function PZ(e){var t,n=e.prefixCls,r=e.current,o=e.total,i=e.title,a=e.description,l=e.onClose,s=e.onPrev,c=e.onNext,u=e.onFinish,d=e.className,f=e.closable,p=(0,K.Z)(f||{},!0),m=null!=(t=null==f?void 0:f.closeIcon)?t:h.createElement("span",{className:"".concat(n,"-close-x")},"\xd7"),v=!!f;return h.createElement("div",{className:g()("".concat(n,"-content"),d)},h.createElement("div",{className:"".concat(n,"-inner")},v&&h.createElement("button",(0,_.Z)({type:"button",onClick:l,"aria-label":"Close"},p,{className:"".concat(n,"-close")}),m),h.createElement("div",{className:"".concat(n,"-header")},h.createElement("div",{className:"".concat(n,"-title")},i)),h.createElement("div",{className:"".concat(n,"-description")},a),h.createElement("div",{className:"".concat(n,"-footer")},h.createElement("div",{className:"".concat(n,"-sliders")},o>1?(0,y.Z)(Array.from({length:o}).keys()).map(function(e,t){return h.createElement("span",{key:e,className:t===r?"active":""})}):null),h.createElement("div",{className:"".concat(n,"-buttons")},0!==r?h.createElement("button",{className:"".concat(n,"-prev-btn"),onClick:s},"Prev"):null,r===o-1?h.createElement("button",{className:"".concat(n,"-finish-btn"),onClick:u},"Finish"):h.createElement("button",{className:"".concat(n,"-next-btn"),onClick:c},"Next")))))}PN();let PR=function(e){var t=e.current,n=e.renderPanel;return h.createElement(h.Fragment,null,"function"==typeof n?n(e,t):h.createElement(PZ,e))};var PT=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon","closable","builtinPlacements","disabledInteraction"],PP={left:"50%",top:"50%",width:1,height:1},Pj={block:"center",inline:"center"};let PA=function(e){var t=e.prefixCls,n=void 0===t?"rc-tour":t,r=e.steps,o=void 0===r?[]:r,i=e.defaultCurrent,a=e.current,l=e.onChange,s=e.onClose,c=e.onFinish,u=e.open,d=e.mask,f=void 0===d||d,p=e.arrow,m=void 0===p||p,v=e.rootClassName,b=e.placement,y=e.renderPanel,w=e.gap,x=e.animated,S=e.scrollIntoViewOptions,k=void 0===S?Pj:S,C=e.zIndex,$=void 0===C?1001:C,E=e.closeIcon,O=e.closable,M=e.builtinPlacements,I=e.disabledInteraction,N=(0,eB.Z)(e,PT),Z=h.useRef(),R=(0,ok.Z)(0,{value:a,defaultValue:i}),T=(0,eL.Z)(R,2),P=T[0],j=T[1],A=(0,ok.Z)(void 0,{value:u,postState:function(e){return!(P<0)&&!(P>=o.length)&&(null==e||e)}}),D=(0,eL.Z)(A,2),z=D[0],L=D[1],B=h.useState(z),H=(0,eL.Z)(B,2),F=H[0],W=H[1],V=h.useRef(z);(0,oE.Z)(function(){z&&(V.current||j(0),W(!0)),V.current=z},[z]);var q=o[P]||{},K=q.target,X=q.placement,U=q.style,G=q.arrow,Y=q.className,Q=q.mask,J=q.scrollIntoViewOptions,ee=void 0===J?Pj:J,et=q.closeIcon,en=Px(q.closable,et,O,E),er=z&&(null!=Q?Q:f),eo=P$(K,u,w,null!=ee?ee:k),ei=(0,eL.Z)(eo,2),ea=ei[0],el=ei[1],es=Pk(el,b,X),ec=!!el&&(void 0===G?m:G),eu="object"===(0,eq.Z)(ec)&&ec.pointAtCenter;(0,oE.Z)(function(){var e;null==(e=Z.current)||e.forceAlign()},[eu,P]);var ed=function(e){j(e),null==l||l(e)},ef=(0,h.useMemo)(function(){return M?"function"==typeof M?M({arrowPointAtCenter:eu}):M:PN(eu)},[M,eu]);if(void 0===el||!F)return null;var eh=function(){L(!1),null==s||s(P)},ep=function(){return h.createElement(PR,(0,_.Z)({arrow:ec,key:"content",prefixCls:n,total:o.length,renderPanel:y,onPrev:function(){ed(P-1)},onNext:function(){ed(P+1)},onClose:eh,current:P,onFinish:function(){eh(),null==c||c()}},o[P],{closable:en}))},em="boolean"==typeof er?er:!!er,eg="boolean"==typeof er?void 0:er,ev=function(e){return e||el||document.body};return h.createElement(h.Fragment,null,h.createElement(PO,{zIndex:$,prefixCls:n,pos:ea,showMask:em,style:null==eg?void 0:eg.style,fill:null==eg?void 0:eg.color,open:z,animated:x,rootClassName:v,disabledInteraction:I}),h.createElement(ih.Z,(0,_.Z)({},N,{builtinPlacements:ef,ref:Z,popupStyle:U,popupPlacement:es,popupVisible:z,popupClassName:g()(v,Y),prefixCls:n,popup:ep,forceRender:!1,destroyPopupOnHide:!0,zIndex:$,getTriggerDOMNode:ev,arrow:!!ec}),h.createElement(nf.Z,{open:z,autoLock:!0},h.createElement("div",{className:g()(v,"".concat(n,"-target-placeholder")),style:(0,eH.Z)((0,eH.Z)({},ea||PP),{},{position:"fixed",pointerEvents:"none"})}))))};function PD(e){return null!=e}let P_=e=>{var t,n;let r,{stepProps:o,current:i,type:a,indicatorsRender:l}=e,{prefixCls:s,total:c=1,title:u,onClose:d,onPrev:f,onNext:h,onFinish:m,cover:v,description:b,nextButtonProps:w,prevButtonProps:x,type:S,closable:k}=o,C=null!=S?S:a,$=p().createElement("button",{type:"button",onClick:d,className:`${s}-close`},(null==k?void 0:k.closeIcon)||p().createElement(D.Z,{className:`${s}-close-icon`})),E=i===c-1,O=()=>{var e;null==f||f(),null==(e=null==x?void 0:x.onClick)||e.call(x)},M=()=>{var e;E?null==m||m():null==h||h(),null==(e=null==w?void 0:w.onClick)||e.call(w)},I=PD(u)?p().createElement("div",{className:`${s}-header`},p().createElement("div",{className:`${s}-title`},u)):null,N=PD(b)?p().createElement("div",{className:`${s}-description`},b):null,Z=PD(v)?p().createElement("div",{className:`${s}-cover`},v):null;r=l?l(i,c):(0,y.Z)(Array.from({length:c}).keys()).map((e,t)=>p().createElement("span",{key:e,className:g()(t===i&&`${s}-indicator-active`,`${s}-indicator`)}));let R="primary"===C?"default":"primary",T={type:"default",ghost:"primary"===C},[P]=(0,nn.Z)("Tour",t$.Z.Tour);return p().createElement("div",{className:`${s}-content`},p().createElement("div",{className:`${s}-inner`},k&&$,Z,I,N,p().createElement("div",{className:`${s}-footer`},c>1&&p().createElement("div",{className:`${s}-indicators`},r),p().createElement("div",{className:`${s}-buttons`},0!==i?p().createElement(no.ZP,Object.assign({},T,x,{onClick:O,size:"small",className:g()(`${s}-prev-btn`,null==x?void 0:x.className)}),null!=(t=null==x?void 0:x.children)?t:null==P?void 0:P.Previous):null,p().createElement(no.ZP,Object.assign({type:R},w,{onClick:M,size:"small",className:g()(`${s}-next-btn`,null==w?void 0:w.className)}),null!=(n=null==w?void 0:w.children)?n:E?null==P?void 0:P.Finish:null==P?void 0:P.Next)))))},Pz=e=>{let{componentCls:t,padding:n,paddingXS:r,borderRadius:o,borderRadiusXS:i,colorPrimary:a,colorFill:l,indicatorHeight:s,indicatorWidth:c,boxShadowTertiary:u,zIndexPopup:d,colorBgElevated:f,fontWeightStrong:h,marginXS:p,colorTextLightSolid:m,tourBorderRadius:g,colorWhite:v,primaryNextBtnHoverBg:b,closeBtnSize:y,motionDurationSlow:w,antCls:x,primaryPrevBtnBg:S}=e;return[{[t]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"absolute",zIndex:d,maxWidth:"fit-content",visibility:"visible",width:520,"--antd-arrow-background-color":f,"&-pure":{maxWidth:"100%",position:"relative"},[`&${t}-hidden`]:{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:g,boxShadow:u,position:"relative",backgroundColor:f,border:"none",backgroundClip:"padding-box",[`${t}-close`]:Object.assign({position:"absolute",top:n,insetInlineEnd:n,color:e.colorIcon,background:"none",border:"none",width:y,height:y,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer","&:hover":{color:e.colorIconHover,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},(0,Y.Qy)(e)),[`${t}-cover`]:{textAlign:"center",padding:`${(0,G.bf)(e.calc(n).add(y).add(r).equal())} ${(0,G.bf)(n)} 0`,img:{width:"100%"}},[`${t}-header`]:{padding:`${(0,G.bf)(n)} ${(0,G.bf)(n)} ${(0,G.bf)(r)}`,width:`calc(100% - ${(0,G.bf)(y)})`,wordBreak:"break-word",[`${t}-title`]:{fontWeight:h}},[`${t}-description`]:{padding:`0 ${(0,G.bf)(n)}`,wordWrap:"break-word"},[`${t}-footer`]:{padding:`${(0,G.bf)(r)} ${(0,G.bf)(n)} ${(0,G.bf)(n)}`,textAlign:"end",borderRadius:`0 0 ${(0,G.bf)(i)} ${(0,G.bf)(i)}`,display:"flex",[`${t}-indicators`]:{display:"inline-block",[`${t}-indicator`]:{width:c,height:s,display:"inline-block",borderRadius:"50%",background:l,"&:not(:last-child)":{marginInlineEnd:s},"&-active":{background:a}}},[`${t}-buttons`]:{marginInlineStart:"auto",[`${x}-btn`]:{marginInlineStart:p}}}},[`${t}-primary, &${t}-primary`]:{"--antd-arrow-background-color":a,[`${t}-inner`]:{color:m,textAlign:"start",textDecoration:"none",backgroundColor:a,borderRadius:o,boxShadow:u,[`${t}-close`]:{color:m},[`${t}-indicators`]:{[`${t}-indicator`]:{background:S,"&-active":{background:m}}},[`${t}-prev-btn`]:{color:m,borderColor:S,backgroundColor:a,"&:hover":{backgroundColor:S,borderColor:"transparent"}},[`${t}-next-btn`]:{color:a,borderColor:"transparent",background:v,"&:hover":{background:b}}}}}),[`${t}-mask`]:{[`${t}-placeholder-animated`]:{transition:`all ${w}`}},"&-placement-left,&-placement-leftTop,&-placement-leftBottom,&-placement-right,&-placement-rightTop,&-placement-rightBottom":{[`${t}-inner`]:{borderRadius:e.min(g,l4.qN)}}},(0,l4.ZP)(e,"var(--antd-arrow-background-color)")]},PL=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70,closeBtnSize:e.fontSize*e.lineHeight,primaryPrevBtnBg:new tD.C(e.colorTextLightSolid).setAlpha(.15).toRgbString(),primaryNextBtnHoverBg:new tD.C(e.colorBgTextHover).onBackground(e.colorWhite).toRgbString()},(0,l4.wZ)({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),(0,l3.w)(e)),PB=(0,k.I$)("Tour",e=>{let{borderRadiusLG:t}=e;return[Pz((0,eI.IX)(e,{indicatorWidth:6,indicatorHeight:6,tourBorderRadius:t}))]},PL);var PH=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let PF=oC(e=>{let{prefixCls:t,current:n=0,total:r=6,className:o,style:i,type:a,closable:l,closeIcon:s}=e,c=PH(e,["prefixCls","current","total","className","style","type","closable","closeIcon"]),{getPrefixCls:u}=h.useContext(S.E_),d=u("tour",t),[f,p,m]=PB(d),[v,b]=nj({closable:l,closeIcon:s},null,{closable:!0,closeIconRender:e=>h.isValidElement(e)?(0,U.Tm)(e,{className:g()(e.props.className,`${d}-close-icon`)}):e});return f(h.createElement(sn,{prefixCls:d,hashId:p,className:g()(o,`${d}-pure`,a&&`${d}-${a}`,m),style:i},h.createElement(P_,{stepProps:Object.assign(Object.assign({},c),{prefixCls:d,total:r,closable:v?{closeIcon:b}:void 0}),current:n,type:a})))});var PW=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let PV=e=>{let{prefixCls:t,type:n,rootClassName:r,indicatorsRender:o,steps:i,closeIcon:a}=e,l=PW(e,["prefixCls","type","rootClassName","indicatorsRender","steps","closeIcon"]),{getPrefixCls:s,direction:c,tour:u}=(0,h.useContext)(S.E_),d=s("tour",t),[f,m,v]=PB(d),[,b]=(0,e$.ZP)(),y=p().useMemo(()=>null==i?void 0:i.map(e=>{var t;return Object.assign(Object.assign({},e),{className:g()(e.className,{[`${d}-primary`]:(null!=(t=e.type)?t:n)==="primary"})})}),[i,n]),w=e=>{var t;return(0,s0.Z)({arrowPointAtCenter:null==(t=null==e?void 0:e.arrowPointAtCenter)||t,autoAdjustOverflow:!0,offset:b.marginXXS,arrowWidth:b.sizePopupArrow,borderRadius:b.borderRadius})},x=g()({[`${d}-rtl`]:"rtl"===c},m,v,r),k=(e,t)=>p().createElement(P_,{type:n,stepProps:e,current:t,indicatorsRender:o}),[C,$]=(0,tt.Cn)("Tour",l.zIndex);return f(p().createElement(nD.Z.Provider,{value:$},p().createElement(PA,Object.assign({},l,{closeIcon:null!=a?a:null==u?void 0:u.closeIcon,zIndex:C,rootClassName:x,prefixCls:d,animated:!0,renderPanel:k,builtinPlacements:w,steps:y}))))};PV._InternalPanelDoNotUseOrYouWillBeFired=PF;let Pq=PV,PK=e=>{let t=new Map;return e.forEach((e,n)=>{t.set(e,n)}),t},PX=e=>{let t=new Map;return e.forEach((e,n)=>{let{disabled:r,key:o}=e;r&&t.set(o,n)}),t},PU=(e,t,n)=>{let r=h.useMemo(()=>(e||[]).map(e=>t?Object.assign(Object.assign({},e),{key:t(e)}):e),[e,t]),[o,i]=h.useMemo(()=>{let e=[],t=Array((n||[]).length),o=PK(n||[]);return r.forEach(n=>{o.has(n.key)?t[o.get(n.key)]=n:e.push(n)}),[e,t]},[r,n,t]);return[r,o,i]},PG=[];function PY(e,t){let n=e.filter(e=>t.has(e));return e.length===n.length?e:n}function PQ(e){return Array.from(e).join(";")}function PJ(e,t,n){let[r,o]=h.useMemo(()=>[new Set(e.map(e=>e.key)),new Set(t.map(e=>e.key))],[e,t]),[i,a]=(0,e3.C8)(PG,{value:n}),l=h.useMemo(()=>PY(i,r),[i,r]),s=h.useMemo(()=>PY(i,o),[i,o]);h.useEffect(()=>{a([].concat((0,y.Z)(PY(i,r)),(0,y.Z)(PY(i,o))))},[PQ(r),PQ(o)]);let c=(0,e3.zX)(e=>{a([].concat((0,y.Z)(e),(0,y.Z)(s)))}),u=(0,e3.zX)(e=>{a([].concat((0,y.Z)(l),(0,y.Z)(e)))});return[l,s,c,u]}var P0=n(59840);let P1=e=>{let t,{renderedText:n,renderedEl:r,item:o,checked:i,disabled:a,prefixCls:l,onClick:s,onRemove:c,showRemove:u}=e,d=g()(`${l}-content-item`,{[`${l}-content-item-disabled`]:a||o.disabled,[`${l}-content-item-checked`]:i&&!o.disabled});("string"==typeof n||"number"==typeof n)&&(t=String(n));let[f]=(0,nn.Z)("Transfer",t$.Z.Transfer),p={className:d,title:t},m=h.createElement("span",{className:`${l}-content-item-text`},r);return u?h.createElement("li",Object.assign({},p),m,h.createElement("button",{type:"button",disabled:a||o.disabled,className:`${l}-content-item-remove`,"aria-label":null==f?void 0:f.remove,onClick:()=>null==c?void 0:c(o)},h.createElement(P0.Z,null))):(p.onClick=a||o.disabled?void 0:e=>s(o,e),h.createElement("li",Object.assign({},p),h.createElement(v3,{className:`${l}-checkbox`,checked:i,disabled:a||o.disabled}),m))},P2=h.memo(P1),P4=["handleFilter","handleClear","checkedKeys"],P3=e=>Object.assign(Object.assign({},{simple:!0,showSizeChanger:!1,showLessItems:!1}),e),P5=(e,t)=>{let{prefixCls:n,filteredRenderItems:r,selectedKeys:o,disabled:i,showRemove:a,pagination:l,onScroll:s,onItemSelect:c,onItemRemove:u}=e,[d,f]=h.useState(1),p=h.useMemo(()=>l?P3("object"==typeof l?l:{}):null,[l]),[m,v]=(0,ok.Z)(10,{value:null==p?void 0:p.pageSize});h.useEffect(()=>{p&&f(Math.min(d,Math.ceil(r.length/m)))},[r,p,m]);let b=(e,t)=>{c(e.key,!o.includes(e.key),t)},y=e=>{null==u||u([e.key])},w=e=>{f(e)},x=(e,t)=>{f(e),v(t)},S=h.useMemo(()=>p?r.slice((d-1)*m,d*m):r,[d,r,p,m]);h.useImperativeHandle(t,()=>({items:S}));let k=p?h.createElement($F,{size:"small",disabled:i,simple:p.simple,pageSize:m,showLessItems:p.showLessItems,showSizeChanger:p.showSizeChanger,className:`${n}-pagination`,total:r.length,current:d,onChange:w,onShowSizeChange:x}):null,C=g()(`${n}-content`,{[`${n}-content-show-remove`]:a});return h.createElement(h.Fragment,null,h.createElement("ul",{className:C,onScroll:s},(S||[]).map(e=>{let{renderedEl:t,renderedText:r,item:l}=e;return h.createElement(P2,{key:l.key,item:l,renderedText:r,renderedEl:t,prefixCls:n,showRemove:a,onClick:b,onRemove:y,checked:o.includes(l.key),disabled:i||l.disabled})})),k)},P8=h.forwardRef(P5),P6=e=>{let{placeholder:t="",value:n,prefixCls:r,disabled:o,onChange:i,handleClear:a}=e,l=h.useCallback(e=>{null==i||i(e),""===e.target.value&&(null==a||a())},[i]);return h.createElement(wt,{placeholder:t,className:r,value:n,onChange:l,disabled:o,allowClear:!0,prefix:h.createElement(lC,null)})},P7=()=>null;function P9(e){return!!(e&&!p().isValidElement(e)&&"[object Object]"===Object.prototype.toString.call(e))}function je(e){return e.filter(e=>!e.disabled).map(e=>e.key)}let jt=e=>void 0!==e,jn=e=>{let t,{prefixCls:n,dataSource:r=[],titleText:o="",checkedKeys:i,disabled:a,showSearch:l=!1,style:s,searchPlaceholder:c,notFoundContent:u,selectAll:d,deselectAll:f,selectCurrent:m,selectInvert:v,removeAll:y,removeCurrent:w,showSelectAll:x=!0,showRemove:S,pagination:k,direction:C,itemsUnit:$,itemUnit:E,selectAllLabel:O,selectionsIcon:M,footer:I,renderList:N,onItemSelectAll:Z,onItemRemove:R,handleFilter:T,handleClear:P,filterOption:j,render:A=P7}=e,[D,_]=(0,h.useState)(""),z=(0,h.useRef)({}),L=e=>{_(e.target.value),T(e)},B=()=>{_(""),P()},H=(e,t)=>j?j(D,t,C):e.includes(D),F=e=>{let t=N?N(Object.assign(Object.assign({},e),{onItemSelect:(t,n)=>e.onItemSelect(t,n)})):null,n=!!t;return n||(t=p().createElement(P8,Object.assign({ref:z},e))),{customize:n,bodyContent:t}},W=e=>{let t=A(e),n=P9(t);return{item:e,renderedEl:n?t.label:t,renderedText:n?t.value:t}},V=(0,h.useMemo)(()=>Array.isArray(u)?u[+("left"!==C)]:u,[u,C]),[q,K]=(0,h.useMemo)(()=>{let e=[],t=[];return r.forEach(n=>{let r=W(n);(!D||H(r.renderedText,n))&&(e.push(n),t.push(r))}),[e,t]},[r,D]),X=(0,h.useMemo)(()=>q.filter(e=>i.includes(e.key)&&!e.disabled),[i,q]),U=(0,h.useMemo)(()=>{if(0===X.length)return"none";let e=PK(i);return q.every(t=>e.has(t.key)||!!t.disabled)?"all":"part"},[i,X]),G=(0,h.useMemo)(()=>{let t,r=l?p().createElement("div",{className:`${n}-body-search-wrapper`},p().createElement(P6,{prefixCls:`${n}-search`,onChange:L,handleClear:B,placeholder:c,value:D,disabled:a})):null,{customize:o,bodyContent:s}=F(Object.assign(Object.assign({},(0,b.Z)(e,P4)),{filteredItems:q,filteredRenderItems:K,selectedKeys:i}));return t=o?p().createElement("div",{className:`${n}-body-customize-wrapper`},s):q.length?s:p().createElement("div",{className:`${n}-body-not-found`},V),p().createElement("div",{className:g()(l?`${n}-body ${n}-body-with-search`:`${n}-body`)},r,t)},[l,n,c,D,a,i,q,K,V]),Y=p().createElement(v3,{disabled:0===r.filter(e=>!e.disabled).length||a,checked:"all"===U,indeterminate:"part"===U,className:`${n}-checkbox`,onChange:()=>{null==Z||Z(q.filter(e=>!e.disabled).map(e=>{let{key:t}=e;return t}),"all"!==U)}}),Q=(e,t)=>{if(O)return"function"==typeof O?O({selectedCount:e,totalCount:t}):O;let n=t>1?$:E;return p().createElement(p().Fragment,null,(e>0?`${e}/`:"")+t," ",n)},J=I&&(I.length<2?I(e):I(e,{direction:C})),ee=g()(n,{[`${n}-with-pagination`]:!!k,[`${n}-with-footer`]:!!J}),et=J?p().createElement("div",{className:`${n}-footer`},J):null,en=!S&&!k&&Y;t=S?[k?{key:"removeCurrent",label:w,onClick(){var e;let t=je(((null==(e=z.current)?void 0:e.items)||[]).map(e=>e.item));null==R||R(t)}}:null,{key:"removeAll",label:y,onClick(){null==R||R(je(q))}}].filter(Boolean):[{key:"selectAll",label:"all"===U?f:d,onClick(){let e=je(q);null==Z||Z(e,e.length!==i.length)}},k?{key:"selectCurrent",label:m,onClick(){var e;let t=(null==(e=z.current)?void 0:e.items)||[];null==Z||Z(je(t.map(e=>e.item)),!0)}}:null,{key:"selectInvert",label:v,onClick(){var e;let t=je(((null==(e=z.current)?void 0:e.items)||[]).map(e=>e.item)),n=new Set(i),r=new Set(n);t.forEach(e=>{n.has(e)?r.delete(e):r.add(e)}),null==Z||Z(Array.from(r),"replace")}}];let er=p().createElement(SH,{className:`${n}-header-dropdown`,menu:{items:t},disabled:a},jt(M)?M:p().createElement(lx,null));return p().createElement("div",{className:ee,style:s},p().createElement("div",{className:`${n}-header`},x?p().createElement(p().Fragment,null,en,er):null,p().createElement("span",{className:`${n}-header-selected`},Q(X.length,q.length)),p().createElement("span",{className:`${n}-header-title`},o)),G,et)},jr=e=>{let{disabled:t,moveToLeft:n,moveToRight:r,leftArrowText:o="",rightArrowText:i="",leftActive:a,rightActive:l,className:s,style:c,direction:u,oneWay:d}=e;return h.createElement("div",{className:s,style:c},h.createElement(no.ZP,{type:"primary",size:"small",disabled:t||!l,onClick:r,icon:"rtl"!==u?h.createElement(sH.Z,null):h.createElement(um,null)},i),!d&&h.createElement(no.ZP,{type:"primary",size:"small",disabled:t||!a,onClick:n,icon:"rtl"!==u?h.createElement(um,null):h.createElement(sH.Z,null)},o))},jo=e=>{let{antCls:t,componentCls:n,listHeight:r,controlHeightLG:o}=e,i=`${t}-table`,a=`${t}-input`;return{[`${n}-customize-list`]:{[`${n}-list`]:{flex:"1 1 50%",width:"auto",height:"auto",minHeight:r,minWidth:0},[`${i}-wrapper`]:{[`${i}-small`]:{border:0,borderRadius:0,[`${i}-selection-column`]:{width:o,minWidth:o}},[`${i}-pagination${i}-pagination`]:{margin:0,padding:e.paddingXS}},[`${a}[disabled]`]:{backgroundColor:"transparent"}}}},ji=(e,t)=>{let{componentCls:n,colorBorder:r}=e;return{[`${n}-list`]:{borderColor:t,"&-search:not([disabled])":{borderColor:r}}}},ja=e=>{let{componentCls:t}=e;return{[`${t}-status-error`]:Object.assign({},ji(e,e.colorError)),[`${t}-status-warning`]:Object.assign({},ji(e,e.colorWarning))}},jl=e=>{let{componentCls:t,colorBorder:n,colorSplit:r,lineWidth:o,itemHeight:i,headerHeight:a,transferHeaderVerticalPadding:l,itemPaddingBlock:s,controlItemBgActive:c,colorTextDisabled:u,colorTextSecondary:d,listHeight:f,listWidth:h,listWidthLG:p,fontSizeIcon:m,marginXS:g,paddingSM:v,lineType:b,antCls:y,iconCls:w,motionDurationSlow:x,controlItemBgHover:S,borderRadiusLG:k,colorBgContainer:C,colorText:$,controlItemBgActiveHover:E}=e,O=(0,G.bf)(e.calc(k).sub(o).equal());return{display:"flex",flexDirection:"column",width:h,height:f,border:`${(0,G.bf)(o)} ${b} ${n}`,borderRadius:e.borderRadiusLG,"&-with-pagination":{width:p,height:"auto"},"&-search":{[`${w}-search`]:{color:u}},"&-header":{display:"flex",flex:"none",alignItems:"center",height:a,padding:`${(0,G.bf)(e.calc(l).sub(o).equal())} ${(0,G.bf)(v)} ${(0,G.bf)(l)}`,color:$,background:C,borderBottom:`${(0,G.bf)(o)} ${b} ${r}`,borderRadius:`${(0,G.bf)(k)} ${(0,G.bf)(k)} 0 0`,"> *:not(:last-child)":{marginInlineEnd:4},"> *":{flex:"none"},"&-title":Object.assign(Object.assign({},Y.vS),{flex:"auto",textAlign:"end"}),"&-dropdown":Object.assign(Object.assign({},(0,Y.Ro)()),{fontSize:m,transform:"translateY(10%)",cursor:"pointer","&[disabled]":{cursor:"not-allowed"}})},"&-body":{display:"flex",flex:"auto",flexDirection:"column",fontSize:e.fontSize,minHeight:0,"&-search-wrapper":{position:"relative",flex:"none",padding:v}},"&-content":{flex:"auto",margin:0,padding:0,overflow:"auto",listStyle:"none",borderRadius:`0 0 ${O} ${O}`,"&-item":{display:"flex",alignItems:"center",minHeight:i,padding:`${(0,G.bf)(s)} ${(0,G.bf)(v)}`,transition:`all ${x}`,"> *:not(:last-child)":{marginInlineEnd:g},"> *":{flex:"none"},"&-text":Object.assign(Object.assign({},Y.vS),{flex:"auto"}),"&-remove":Object.assign(Object.assign({},(0,Y.Nd)(e)),{color:n,"&:hover, &:focus":{color:d}}),[`&:not(${t}-list-content-item-disabled)`]:{"&:hover":{backgroundColor:S,cursor:"pointer"},[`&${t}-list-content-item-checked:hover`]:{backgroundColor:E}},"&-checked":{backgroundColor:c},"&-disabled":{color:u,cursor:"not-allowed"}},[`&-show-remove ${t}-list-content-item:not(${t}-list-content-item-disabled):hover`]:{background:"transparent",cursor:"default"}},"&-pagination":{padding:e.paddingXS,textAlign:"end",borderTop:`${(0,G.bf)(o)} ${b} ${r}`,[`${y}-pagination-options`]:{paddingInlineEnd:e.paddingXS}},"&-body-not-found":{flex:"none",width:"100%",margin:"auto 0",color:u,textAlign:"center"},"&-footer":{borderTop:`${(0,G.bf)(o)} ${b} ${r}`},"&-checkbox":{lineHeight:1}}},js=e=>{let{antCls:t,iconCls:n,componentCls:r,marginXS:o,marginXXS:i,fontSizeIcon:a,colorBgContainerDisabled:l}=e;return{[r]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{position:"relative",display:"flex",alignItems:"stretch",[`${r}-disabled`]:{[`${r}-list`]:{background:l}},[`${r}-list`]:jl(e),[`${r}-operation`]:{display:"flex",flex:"none",flexDirection:"column",alignSelf:"center",margin:`0 ${(0,G.bf)(o)}`,verticalAlign:"middle",gap:i,[`${t}-btn ${n}`]:{fontSize:a}}})}},jc=e=>{let{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},ju=e=>{let{fontSize:t,lineHeight:n,controlHeight:r,controlHeightLG:o,lineWidth:i}=e,a=Math.round(t*n);return{listWidth:180,listHeight:200,listWidthLG:250,headerHeight:o,itemHeight:r,itemPaddingBlock:(r-a)/2,transferHeaderVerticalPadding:Math.ceil((o-i-a)/2)}},jd=(0,k.I$)("Transfer",e=>{let t=(0,eI.IX)(e);return[js(t),jo(t),ja(t),jc(t)]},ju),jf=e=>{let{dataSource:t,targetKeys:n=[],selectedKeys:r,selectAllLabels:o=[],operations:i=[],style:a={},listStyle:l={},locale:s={},titles:c,disabled:u,showSearch:d=!1,operationStyle:f,showSelectAll:m,oneWay:v,pagination:b,status:w,prefixCls:x,className:k,rootClassName:C,selectionsIcon:$,filterOption:E,render:O,footer:M,children:I,rowKey:N,onScroll:Z,onChange:R,onSearch:T,onSelectChange:P}=e,{getPrefixCls:j,renderEmpty:A,direction:D,transfer:_}=(0,h.useContext)(S.E_),z=j("transfer",x),[L,B,H]=jd(z),[F,W,V]=PU(t,N,n),[q,K,X,U]=PJ(W,V,r),[G,Y]=ZE(e=>e.key),[Q,J]=ZE(e=>e.key),ee=(0,h.useCallback)((e,t)=>{"left"===e?X("function"==typeof t?t(q||[]):t):U("function"==typeof t?t(K||[]):t)},[q,K]),et=(e,t)=>{("left"===e?Y:J)(t)},en=(0,h.useCallback)((e,t)=>{"left"===e?null==P||P(t,K):null==P||P(q,t)},[q,K]),er=e=>{var t;return null!=(t=null!=c?c:e.titles)?t:[]},eo=e=>{null==Z||Z("left",e)},ei=e=>{null==Z||Z("right",e)},ea=e=>{let t="right"===e?q:K,r=PX(F),o=t.filter(e=>!r.has(e)),i=PK(o),a="right"===e?o.concat(n):n.filter(e=>!i.has(e)),l="right"===e?"left":"right";ee(l,[]),en(l,[]),null==R||R(a,e,o)},el=()=>{ea("left"),et("left",null)},es=()=>{ea("right"),et("right",null)},ec=(e,t,n)=>{ee(e,r=>{let o=[];if("replace"===n)o=t;else if(n)o=Array.from(new Set([].concat((0,y.Z)(r),(0,y.Z)(t))));else{let e=PK(t);o=r.filter(t=>!e.has(t))}return en(e,o),o}),et(e,null)},eu=(e,t)=>{ec("left",e,t)},ed=(e,t)=>{ec("right",e,t)},ef=e=>null==T?void 0:T("left",e.target.value),eh=e=>null==T?void 0:T("right",e.target.value),ep=()=>null==T?void 0:T("left",""),em=()=>null==T?void 0:T("right",""),eg=(e,t,n,r,o)=>{t.has(n)&&(t.delete(n),et(e,null)),r&&(t.add(n),et(e,o))},ev=(e,t,n,r)=>{("left"===e?G:Q)(r,t,n)},eb=(t,n,r,o)=>{let i="left"===t,a=(0,y.Z)(i?q:K),l=new Set(a),s=(0,y.Z)(i?W:V).filter(e=>!(null==e?void 0:e.disabled)),c=s.findIndex(e=>e.key===n);o&&a.length>0?ev(t,s,l,c):eg(t,l,n,r,c);let u=Array.from(l);en(t,u),e.selectedKeys||ee(t,u)},ey=(e,t,n)=>{eb("left",e,t,null==n?void 0:n.shiftKey)},ew=(e,t,n)=>{eb("right",e,t,null==n?void 0:n.shiftKey)},ex=e=>{ee("right",[]),null==R||R(n.filter(t=>!e.includes(t)),"left",(0,y.Z)(e))},eS=e=>"function"==typeof l?l({direction:e}):l||{},{hasFeedback:ek,status:eC}=(0,h.useContext)(aA.aM),e$=e=>Object.assign(Object.assign(Object.assign({},e),{notFoundContent:(null==A?void 0:A("Transfer"))||p().createElement(aP,{componentName:"Transfer"})}),s),eE=aC(eC,w),eO=!I&&b,eM=V.filter(e=>K.includes(e.key)&&!e.disabled).length>0,eI=W.filter(e=>q.includes(e.key)&&!e.disabled).length>0,eN=g()(z,{[`${z}-disabled`]:u,[`${z}-customize-list`]:!!I,[`${z}-rtl`]:"rtl"===D},ak(z,eE,ek),null==_?void 0:_.className,k,C,B,H),[eZ]=(0,nn.Z)("Transfer",t$.Z.Transfer),eR=e$(eZ),[eT,eP]=er(eR),ej=null!=$?$:null==_?void 0:_.selectionsIcon;return L(p().createElement("div",{className:eN,style:Object.assign(Object.assign({},null==_?void 0:_.style),a)},p().createElement(jn,Object.assign({prefixCls:`${z}-list`,titleText:eT,dataSource:W,filterOption:E,style:eS("left"),checkedKeys:q,handleFilter:ef,handleClear:ep,onItemSelect:ey,onItemSelectAll:eu,render:O,showSearch:d,renderList:I,footer:M,onScroll:eo,disabled:u,direction:"rtl"===D?"right":"left",showSelectAll:m,selectAllLabel:o[0],pagination:eO,selectionsIcon:ej},eR)),p().createElement(jr,{className:`${z}-operation`,rightActive:eI,rightArrowText:i[0],moveToRight:es,leftActive:eM,leftArrowText:i[1],moveToLeft:el,style:f,disabled:u,direction:D,oneWay:v}),p().createElement(jn,Object.assign({prefixCls:`${z}-list`,titleText:eP,dataSource:V,filterOption:E,style:eS("right"),checkedKeys:K,handleFilter:eh,handleClear:em,onItemSelect:ew,onItemSelectAll:ed,onItemRemove:ex,render:O,showSearch:d,renderList:I,footer:M,onScroll:ei,disabled:u,direction:"rtl"===D?"left":"right",showSelectAll:m,selectAllLabel:o[1],showRemove:v,pagination:eO,selectionsIcon:ej},eR))))};jf.List=jn,jf.Search=P6,jf.Operation=jr;let jh=jf,jp=function(e){var t=h.useRef({valueLabels:new Map});return h.useMemo(function(){var n=t.current.valueLabels,r=new Map,o=e.map(function(e){var t=e.value,o=e.label,i=null!=o?o:n.get(t);return r.set(t,i),(0,eH.Z)((0,eH.Z)({},e),{},{label:i})});return t.current.valueLabels=r,[o]},[e])},jm=function(e,t,n,r){return h.useMemo(function(){var o=function(e){return e.map(function(e){return e.value})},i=o(e),a=o(t),l=i.filter(function(e){return!r[e]}),s=i,c=a;if(n){var u=vp(i,!0,r);s=u.checkedKeys,c=u.halfCheckedKeys}return[Array.from(new Set([].concat((0,y.Z)(l),(0,y.Z)(s)))),c]},[e,t,n,r])},jg=function(e,t){return h.useMemo(function(){return vo(e,{fieldNames:t,initWrapper:function(e){return(0,eH.Z)((0,eH.Z)({},e),{},{valueEntities:new Map})},processEntity:function(e,n){var r=e.node[t.value];n.valueEntities.set(r,e)}})},[e,t])},jv=function(){return null};var jb=["children","value"];function jy(e){return(0,oS.Z)(e).map(function(e){if(!h.isValidElement(e)||!e.type)return null;var t=e,n=t.key,r=t.props,o=r.children,i=r.value,a=(0,eB.Z)(r,jb),l=(0,eH.Z)({key:n,value:i},a),s=jy(o);return s.length&&(l.children=s),l}).filter(function(e){return e})}function jw(e){if(!e)return e;var t=(0,eH.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,nE.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function jx(e,t,n,r,o,i){var a=null,l=null;function s(){function e(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0",s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return r.map(function(r,c){var u="".concat(o,"-").concat(c),d=r[i.value],f=n.includes(d),p=e(r[i.children]||[],u,f),m=h.createElement(jv,r,p.map(function(e){return e.node}));if(t===d&&(a=m),f){var g={pos:u,node:m,children:p};return s||l.push(g),g}return null}).filter(function(e){return e})}l||(l=[],e(r),l.sort(function(e,t){var r=e.node.props.value,o=t.node.props.value;return n.indexOf(r)-n.indexOf(o)}))}Object.defineProperty(e,"triggerNode",{get:function(){return(0,nE.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),s(),a}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return((0,nE.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),s(),o)?l:l.map(function(e){return e.node})}})}let jS=function(e,t,n){var r=n.fieldNames,o=n.treeNodeFilterProp,i=n.filterTreeNode,a=r.children;return h.useMemo(function(){if(!t||!1===i)return e;var n="function"==typeof i?i:function(e,n){return String(n[o]).toUpperCase().includes(t.toUpperCase())};return function e(r){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r.reduce(function(r,i){var l=i[a],s=o||n(t,jw(i)),c=e(l||[],s);return(s||c.length)&&r.push((0,eH.Z)((0,eH.Z)({},i),{},(0,eV.Z)({isLeaf:void 0},a,c))),r},[])}(e)},[e,t,a,o,i])};function jk(e){var t=h.useRef();return t.current=e,h.useCallback(function(){return t.current.apply(t,arguments)},[])}function jC(e,t){var n=t.id,r=t.pId,o=t.rootPId,i=new Map,a=[];return e.forEach(function(e){var t=e[n],r=(0,eH.Z)((0,eH.Z)({},e),{},{key:e.key||t});i.set(t,r)}),i.forEach(function(e){var t=e[r],n=i.get(t);n?(n.children=n.children||[],n.children.push(e)):(t===o||null===o)&&a.push(e)}),a}function j$(e,t,n){return h.useMemo(function(){return e?n?jC(e,(0,eH.Z)({id:"id",pId:"pId",rootPId:null},"object"===(0,eq.Z)(n)?n:{})):e:jy(t)},[t,n,e])}let jE=h.createContext(null),jO=h.createContext(null);var jM=function(e){return Array.isArray(e)?e:void 0!==e?[e]:[]},jI=function(e){var t=e||{},n=t.label,r=t.value;return{_title:n?[n]:["title","label"],value:r||"value",key:r||"value",children:t.children||"children"}},jN=function(e){return!e||e.disabled||e.disableCheckbox||!1===e.checkable},jZ=function(e,t){var n=[];return function e(r){r.forEach(function(r){var o=r[t.children];o&&(n.push(r[t.value]),e(o))})}(e),n},jR=function(e){return null==e},jT={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},jP=function(e,t){var n=oZ(),r=n.prefixCls,o=n.multiple,i=n.searchValue,a=n.toggleOpen,l=n.open,s=n.notFoundContent,c=h.useContext(jO),u=c.virtual,d=c.listHeight,f=c.listItemHeight,p=c.listItemScrollOffset,m=c.treeData,g=c.fieldNames,v=c.onSelect,b=c.dropdownMatchSelectWidth,w=c.treeExpandAction,x=c.treeTitleRender,S=c.onPopupScroll,k=h.useContext(jE),C=k.checkable,$=k.checkedKeys,E=k.halfCheckedKeys,O=k.treeExpandedKeys,M=k.treeDefaultExpandAll,I=k.treeDefaultExpandedKeys,N=k.onTreeExpand,Z=k.treeIcon,R=k.showTreeIcon,T=k.switcherIcon,P=k.treeLine,j=k.treeNodeFilterProp,A=k.loadData,D=k.treeLoadedKeys,z=k.treeMotion,L=k.onTreeLoad,B=k.keyEntities,H=h.useRef(),F=(0,tS.Z)(function(){return m},[l,m],function(e,t){return t[0]&&e[1]!==t[1]}),W=h.useMemo(function(){return C?{checked:$,halfChecked:E}:null},[C,$,E]);h.useEffect(function(){if(l&&!o&&$.length){var e;null==(e=H.current)||e.scrollTo({key:$[0]})}},[l]);var V=function(e){e.preventDefault()},q=function(e,t){var n=t.node;!(C&&jN(n))&&(v(n.key,{selected:!$.includes(n.key)}),o||a(!1))},K=h.useState(I),X=(0,eL.Z)(K,2),U=X[0],G=X[1],Y=h.useState(null),Q=(0,eL.Z)(Y,2),J=Q[0],ee=Q[1],et=h.useMemo(function(){return O?(0,y.Z)(O):i?J:U},[U,J,O,i]),en=function(e){G(e),ee(e),N&&N(e)},er=String(i).toLowerCase(),eo=function(e){return!!er&&String(e[j]).toLowerCase().includes(er)};h.useEffect(function(){i&&ee(jZ(m,g))},[i]);var ei=function e(t){var n,r=Ob(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!o.disabled&&!1!==o.selectable){if(!i||eo(o))return o;if(o[g.children]){var a=e(o[g.children]);if(a)return a}}}}catch(e){r.e(e)}finally{r.f()}return null},ea=h.useState(null),el=(0,eL.Z)(ea,2),es=el[0],ec=el[1],eu=B[es];h.useEffect(function(){if(l){var e=null,t=function(){var e=ei(F);return e?e[g.value]:null};e=o||!$.length||i?t():$[0],ec(e)}},[l,i]),h.useImperativeHandle(t,function(){var e;return{scrollTo:null==(e=H.current)?void 0:e.scrollTo,onKeyDown:function(e){var t;switch(e.which){case eK.Z.UP:case eK.Z.DOWN:case eK.Z.LEFT:case eK.Z.RIGHT:null==(t=H.current)||t.onKeyDown(e);break;case eK.Z.ENTER:if(eu){var n=(null==eu?void 0:eu.node)||{},r=n.selectable,o=n.value,i=n.disabled;!1===r||i||q(null,{node:{key:es},selected:!$.includes(o)})}break;case eK.Z.ESC:a(!1)}},onKeyUp:function(){}}});var ed=(0,tS.Z)(function(){return!i},[i,O||U],function(e,t){var n=(0,eL.Z)(e,1)[0],r=(0,eL.Z)(t,2),o=r[0],i=r[1];return n!==o&&!!(o||i)})?A:null;if(0===F.length)return h.createElement("div",{role:"listbox",className:"".concat(r,"-empty"),onMouseDown:V},s);var ef={fieldNames:g};return D&&(ef.loadedKeys=D),et&&(ef.expandedKeys=et),h.createElement("div",{onMouseDown:V},eu&&l&&h.createElement("span",{style:jT,"aria-live":"assertive"},eu.node.value),h.createElement(Ro,(0,_.Z)({ref:H,focusable:!1,prefixCls:"".concat(r,"-tree"),treeData:F,height:d,itemHeight:f,itemScrollOffset:p,virtual:!1!==u&&!1!==b,multiple:o,icon:Z,showIcon:R,switcherIcon:T,showLine:P,loadData:ed,motion:z,activeKey:es,checkable:C,checkStrictly:!0,checkedKeys:W,selectedKeys:C?[]:$,defaultExpandAll:M,titleRender:x},ef,{onActiveChange:ec,onSelect:q,onCheck:q,onExpand:en,onLoad:L,filterTreeNode:eo,expandAction:w,onScroll:S})))};let jj=h.forwardRef(jP);var jA="SHOW_ALL",jD="SHOW_PARENT",j_="SHOW_CHILD";function jz(e,t,n,r){var o=new Set(e);return t===j_?e.filter(function(e){var t=n[e];return!t||!t.children||!t.children.some(function(e){var t=e.node;return o.has(t[r.value])})||!t.children.every(function(e){var t=e.node;return jN(t)||o.has(t[r.value])})}):t===jD?e.filter(function(e){var t=n[e],r=t?t.parent:null;return!r||jN(r.node)||!o.has(r.key)}):e}var jL=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"];function jB(e){return!e||"object"!==(0,eq.Z)(e)}var jH=h.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,o=void 0===r?"rc-tree-select":r,i=e.value,a=e.defaultValue,l=e.onChange,s=e.onSelect,c=e.onDeselect,u=e.searchValue,d=e.inputValue,f=e.onSearch,p=e.autoClearSearchValue,m=void 0===p||p,g=e.filterTreeNode,v=e.treeNodeFilterProp,b=void 0===v?"value":v,w=e.showCheckedStrategy,x=e.treeNodeLabelProp,S=e.multiple,k=e.treeCheckable,C=e.treeCheckStrictly,$=e.labelInValue,E=e.fieldNames,O=e.treeDataSimpleMode,M=e.treeData,I=e.children,N=e.loadData,Z=e.treeLoadedKeys,R=e.onTreeLoad,T=e.treeDefaultExpandAll,P=e.treeExpandedKeys,j=e.treeDefaultExpandedKeys,A=e.onTreeExpand,D=e.treeExpandAction,z=e.virtual,L=e.listHeight,B=void 0===L?200:L,H=e.listItemHeight,F=void 0===H?20:H,W=e.listItemScrollOffset,V=void 0===W?0:W,q=e.onDropdownVisibleChange,K=e.dropdownMatchSelectWidth,X=void 0===K||K,U=e.treeLine,G=e.treeIcon,Y=e.showTreeIcon,Q=e.switcherIcon,J=e.treeMotion,ee=e.treeTitleRender,et=e.onPopupScroll,en=(0,eB.Z)(e,jL),er=ad(n),eo=k&&!C,ei=k||C,ea=C||$,el=ei||S,es=(0,ok.Z)(a,{value:i}),ec=(0,eL.Z)(es,2),eu=ec[0],ed=ec[1],ef=h.useMemo(function(){return k?w||j_:jA},[w,k]),eh=h.useMemo(function(){return jI(E)},[JSON.stringify(E)]),ep=(0,ok.Z)("",{value:void 0!==u?u:d,postState:function(e){return e||""}}),em=(0,eL.Z)(ep,2),eg=em[0],ev=em[1],eb=function(e){ev(e),null==f||f(e)},ey=j$(M,I,O),ew=jg(ey,eh),ex=ew.keyEntities,eS=ew.valueEntities,ek=h.useCallback(function(e){var t=[],n=[];return e.forEach(function(e){eS.has(e)?n.push(e):t.push(e)}),{missingRawValues:t,existRawValues:n}},[eS]),eC=jS(ey,eg,{fieldNames:eh,treeNodeFilterProp:b,filterTreeNode:g}),e$=h.useCallback(function(e){if(e){if(x)return e[x];for(var t=eh._title,n=0;n{let{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,o=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${(0,G.bf)(e.paddingXS)} ${(0,G.bf)(e.calc(e.paddingXS).div(2).equal())}`},RS(n,(0,eI.IX)(e,{colorBgContainer:r})),{[o]:{borderRadius:0,[`${o}-list-holder-inner`]:{alignItems:"stretch",[`${o}-treenode`]:{[`${o}-node-content-wrapper`]:{flex:"auto"}}}}},vP(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${o}-switcher${o}-switcher_close`]:{[`${o}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function jV(e,t,n){return(0,k.I$)("TreeSelect",e=>[jW((0,eI.IX)(e,{treePrefixCls:t}))],Rk)(e,n)}var jq=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let jK=(e,t)=>{var n;let r,{prefixCls:o,size:i,disabled:a,bordered:l=!0,className:s,rootClassName:c,treeCheckable:u,multiple:d,listHeight:f=256,listItemHeight:p,placement:m,notFoundContent:v,switcherIcon:y,treeLine:w,getPopupContainer:x,popupClassName:k,dropdownClassName:C,treeIcon:$=!1,transitionName:E,choiceTransitionName:O="",status:M,treeExpandAction:I,builtinPlacements:N,dropdownMatchSelectWidth:Z,popupMatchSelectWidth:R,allowClear:T,variant:P,dropdownStyle:j,tagRender:A}=e,D=jq(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender"]),{getPopupContainer:_,getPrefixCls:z,renderEmpty:L,direction:B,virtual:H,popupMatchSelectWidth:F,popupOverflow:W}=h.useContext(S.E_),[,V]=(0,e$.ZP)(),q=null!=p?p:(null==V?void 0:V.controlHeightSM)+(null==V?void 0:V.paddingXXS),K=z(),X=z("select",o),U=z("select-tree",o),G=z("tree-select",o),{compactSize:Y,compactItemClassnames:Q}=(0,a_.ri)(X,B),J=eE(X),ee=eE(G),[et,en,er]=lv(X,J),[eo]=jV(G,U,ee),[ei,ea]=aD("treeSelect",P,l),el=g()(k||C,`${G}-dropdown`,{[`${G}-dropdown-rtl`]:"rtl"===B},c,er,J,ee,en),es=!!(u||d),ec=lE(e.suffixIcon,e.showArrow),eu=null!=(n=null!=R?R:Z)?n:F,{status:ed,hasFeedback:ef,isFormItemInput:eh,feedbackIcon:ep}=h.useContext(aA.aM),em=aC(ed,M),{suffixIcon:eg,removeIcon:ev,clearIcon:eb}=l$(Object.assign(Object.assign({},D),{multiple:es,showSuffixIcon:ec,hasFeedback:ef,feedbackIcon:ep,prefixCls:X,componentName:"TreeSelect"})),ey=!0===T?{clearIcon:eb}:T;r=void 0!==v?v:(null==L?void 0:L("Select"))||h.createElement(aP,{componentName:"Select"});let ew=(0,b.Z)(D,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),ex=h.useMemo(()=>void 0!==m?m:"rtl"===B?"bottomRight":"bottomLeft",[m,B]),eS=(0,aj.Z)(e=>{var t;return null!=(t=null!=i?i:Y)?t:e}),ek=h.useContext(tF.Z),eC=null!=a?a:ek,eO=g()(!o&&G,{[`${X}-lg`]:"large"===eS,[`${X}-sm`]:"small"===eS,[`${X}-rtl`]:"rtl"===B,[`${X}-${ei}`]:ea,[`${X}-in-form-item`]:eh},ak(X,em,ef),Q,s,c,er,J,ee,en),eM=e=>h.createElement(RD,{prefixCls:U,switcherIcon:y,treeNodeProps:e,showLine:w}),[eI]=(0,tt.Cn)("SelectLike",null==j?void 0:j.zIndex);return et(eo(h.createElement(jF,Object.assign({virtual:H,disabled:eC},ew,{dropdownMatchSelectWidth:eu,builtinPlacements:aL(N,W),ref:t,prefixCls:X,className:eO,listHeight:f,listItemHeight:q,treeCheckable:u?h.createElement("span",{className:`${X}-tree-checkbox-inner`}):u,treeLine:!!w,suffixIcon:eg,multiple:es,placement:ex,removeIcon:ev,allowClear:ey,switcherIcon:eM,showTreeIcon:$,notFoundContent:r,getPopupContainer:x||_,treeMotion:null,dropdownClassName:el,dropdownStyle:Object.assign(Object.assign({},j),{zIndex:eI}),choiceTransitionName:(0,nt.m)(K,"",O),transitionName:(0,nt.m)(K,"slide-up",E),treeExpandAction:I,tagRender:es?A:void 0}))))},jX=h.forwardRef(jK),jU=o$(jX,void 0,void 0,e=>(0,b.Z)(e,["visible"]));jX.TreeNode=jv,jX.SHOW_ALL=jA,jX.SHOW_PARENT=jD,jX.SHOW_CHILD=j_,jX._InternalPanelDoNotUseOrYouWillBeFired=jU;let jG=jX,jY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};var jQ=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:jY}))};let jJ=h.forwardRef(jQ),j0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};var j1=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:j0}))};let j2=h.forwardRef(j1),j4=(e,t,n,r)=>{let{titleMarginBottom:o,fontWeightStrong:i}=r;return{marginBottom:o,color:n,fontWeight:i,fontSize:e,lineHeight:t}},j3=e=>{let t={};return[1,2,3,4,5].forEach(n=>{t[` - h${n}&, - div&-h${n}, - div&-h${n} > textarea, - h${n} - `]=j4(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),t},j5=e=>{let{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,Y.Nd)(e)),{userSelect:"text",[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},j8=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:tA.EV["2"]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),j6=e=>{let{componentCls:t,paddingSM:n}=e,r=n;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(r).mul(-1).equal(),marginBottom:`calc(1em - ${(0,G.bf)(r)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},j7=e=>({[`${e.componentCls}-copy-success`]:{[` - &, - &:hover, - &:focus`]:{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),j9=()=>({[` - a&-ellipsis, - span&-ellipsis - `]:{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),Ae=e=>{let{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},[` - div&, - p - `]:{marginBottom:"1em"}},j3(e)),{[` - & + h1${t}, - & + h2${t}, - & + h3${t}, - & + h4${t}, - & + h5${t} - `]:{marginTop:n},[` - div, - ul, - li, - p, - h1, - h2, - h3, - h4, - h5`]:{[` - + h1, - + h2, - + h3, - + h4, - + h5 - `]:{marginTop:n}}}),j8(e)),j5(e)),{[` - ${t}-expand, - ${t}-collapse, - ${t}-edit, - ${t}-copy - `]:Object.assign(Object.assign({},(0,Y.Nd)(e)),{marginInlineStart:e.marginXXS})}),j6(e)),j7(e)),j9()),{"&-rtl":{direction:"rtl"}})}},At=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),An=(0,k.I$)("Typography",e=>[Ae(e)],At),Ar=e=>{let{prefixCls:t,"aria-label":n,className:r,style:o,direction:i,maxLength:a,autoSize:l=!0,value:s,onSave:c,onCancel:u,onEnd:d,component:f,enterIcon:p=h.createElement(j2,null)}=e,m=h.useRef(null),v=h.useRef(!1),b=h.useRef(null),[y,w]=h.useState(s);h.useEffect(()=>{w(s)},[s]),h.useEffect(()=>{var e;if(null==(e=m.current)?void 0:e.resizableTextArea){let{textArea:e}=m.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let x=e=>{let{target:t}=e;w(t.value.replace(/[\n\r]/g,""))},S=()=>{v.current=!0},k=()=>{v.current=!1},C=e=>{let{keyCode:t}=e;v.current||(b.current=t)},$=()=>{c(y.trim())},E=e=>{let{keyCode:t,ctrlKey:n,altKey:r,metaKey:o,shiftKey:i}=e;b.current!==t||v.current||n||r||o||i||(t===eK.Z.ENTER?($(),null==d||d()):t===eK.Z.ESC&&u())},O=()=>{$()},[M,I,N]=An(t),Z=g()(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===i,[`${t}-${f}`]:!!f},r,I,N);return M(h.createElement("div",{className:Z,style:o},h.createElement(y9,{ref:m,maxLength:a,value:y,onChange:x,onKeyDown:C,onKeyUp:E,onCompositionStart:S,onCompositionEnd:k,onBlur:O,"aria-label":n,rows:1,autoSize:l}),null!==p?(0,U.Tm)(p,{className:`${t}-edit-content-confirm`}):null))};var Ao=n(20640),Ai=n.n(Ao),Aa=function(e,t,n,r){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){e.done?n(e.value):o(e.value).then(a,l)}s((r=r.apply(e,t||[])).next())})};let Al=e=>{let{copyConfig:t,children:n}=e,[r,o]=h.useState(!1),[i,a]=h.useState(!1),l=h.useRef(null),s=()=>{l.current&&clearTimeout(l.current)},c={};t.format&&(c.format=t.format),h.useEffect(()=>s,[]);let u=(0,ey.Z)(e=>Aa(void 0,void 0,void 0,function*(){var r;null==e||e.preventDefault(),null==e||e.stopPropagation(),a(!0);try{let i="function"==typeof t.text?yield t.text():t.text;Ai()(i||EP(n,!0).join("")||"",c),a(!1),o(!0),s(),l.current=setTimeout(()=>{o(!1)},3e3),null==(r=t.onCopy)||r.call(t,e)}catch(e){throw a(!1),e}}));return{copied:r,copyLoading:i,onClick:u}};function As(e,t){return h.useMemo(()=>{let n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]},[e])}let Ac=e=>{let t=(0,h.useRef)(void 0);return(0,h.useEffect)(()=>{t.current=e}),t.current},Au=(e,t,n)=>(0,h.useMemo)(()=>!0===e?{title:null!=t?t:n}:(0,h.isValidElement)(e)?{title:e}:"object"==typeof e?Object.assign({title:null!=t?t:n},e):{title:e},[e,t,n]);var Ad=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let Af=h.forwardRef((e,t)=>{let{prefixCls:n,component:r="article",className:o,rootClassName:i,setContentRef:a,children:l,direction:s,style:c}=e,u=Ad(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:d,direction:f,typography:p}=h.useContext(S.E_),m=null!=s?s:f,v=a?(0,X.sQ)(t,a):t,b=d("typography",n),[y,w,x]=An(b),k=g()(b,null==p?void 0:p.className,{[`${b}-rtl`]:"rtl"===m},o,i,w,x),C=Object.assign(Object.assign({},null==p?void 0:p.style),c);return y(h.createElement(r,Object.assign({className:k,style:C,ref:v},u),l))}),Ah={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};var Ap=function(e,t){return h.createElement(L.Z,(0,_.Z)({},e,{ref:t,icon:Ah}))};let Am=h.forwardRef(Ap);function Ag(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function Av(e,t,n){return!0===e||void 0===e?t:e||n&&t}function Ab(e){let t=document.createElement("em");e.appendChild(t);let n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return e.removeChild(t),n.left>r.left||r.right>n.right||n.top>r.top||r.bottom>n.bottom}let Ay=e=>["string","number"].includes(typeof e),Aw=e=>{let{prefixCls:t,copied:n,locale:r,iconOnly:o,tooltips:i,icon:a,tabIndex:l,onCopy:s,loading:c}=e,u=Ag(i),d=Ag(a),{copied:f,copy:p}=null!=r?r:{},m=n?f:p,v=Av(u[+!!n],m),b="string"==typeof v?v:m;return h.createElement(l1.Z,{title:v},h.createElement("button",{type:"button",className:g()(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:o}),onClick:s,"aria-label":b,tabIndex:l},n?Av(d[1],h.createElement(lb.Z,null),!0):Av(d[0],c?h.createElement(te.Z,null):h.createElement(Am,null),!0)))},Ax=h.forwardRef((e,t)=>{let{style:n,children:r}=e,o=h.useRef(null);return h.useImperativeHandle(t,()=>({isExceed:()=>{let e=o.current;return e.scrollHeight>e.clientHeight},getHeight:()=>o.current.clientHeight})),h.createElement("span",{"aria-hidden":!0,ref:o,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},r)}),AS=e=>e.reduce((e,t)=>e+(Ay(t)?String(t).length:1),0);function Ak(e,t){let n=0,r=[];for(let o=0;ot){let e=t-n;return r.push(String(i).slice(0,e)),r}r.push(i),n=a}return e}let AC=0,A$=1,AE=2,AO=3,AM=4,AI={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function AN(e){let{enableMeasure:t,width:n,text:r,children:o,rows:i,expanded:a,miscDeps:l,onEllipsis:s}=e,c=h.useMemo(()=>(0,oS.Z)(r),[r]),u=h.useMemo(()=>AS(c),[r]),d=h.useMemo(()=>o(c,!1),[r]),[f,p]=h.useState(null),m=h.useRef(null),g=h.useRef(null),v=h.useRef(null),b=h.useRef(null),w=h.useRef(null),[x,S]=h.useState(!1),[k,C]=h.useState(AC),[$,E]=h.useState(0),[O,M]=h.useState(null);(0,oE.Z)(()=>{t&&n&&u?C(A$):C(AC)},[n,r,i,t,c]),(0,oE.Z)(()=>{var e,t,n,r;if(k===A$)C(AE),M(g.current&&getComputedStyle(g.current).whiteSpace);else if(k===AE){let o=!!(null==(e=v.current)?void 0:e.isExceed());C(o?AO:AM),p(o?[0,u]:null),S(o);let a=(null==(t=v.current)?void 0:t.getHeight())||0;E(Math.max(a,(1===i?0:(null==(n=b.current)?void 0:n.getHeight())||0)+((null==(r=w.current)?void 0:r.getHeight())||0))+1),s(o)}},[k]);let I=f?Math.ceil((f[0]+f[1])/2):0;(0,oE.Z)(()=>{var e;let[t,n]=f||[0,0];if(t!==n){let r=((null==(e=m.current)?void 0:e.getHeight())||0)>$,o=I;n-t==1&&(o=r?t:n),p(r?[t,o]:[o,n])}},[f,I]);let N=h.useMemo(()=>{if(!t)return o(c,!1);if(k!==AO||!f||f[0]!==f[1]){let e=o(c,!1);return[AM,AC].includes(k)?e:h.createElement("span",{style:Object.assign(Object.assign({},AI),{WebkitLineClamp:i})},e)}return o(a?c:Ak(c,f[0]),x)},[a,k,f,c].concat((0,y.Z)(l))),Z={width:n,margin:0,padding:0,whiteSpace:"nowrap"===O?"normal":"inherit"};return h.createElement(h.Fragment,null,N,k===AE&&h.createElement(h.Fragment,null,h.createElement(Ax,{style:Object.assign(Object.assign(Object.assign({},Z),AI),{WebkitLineClamp:i}),ref:v},d),h.createElement(Ax,{style:Object.assign(Object.assign(Object.assign({},Z),AI),{WebkitLineClamp:i-1}),ref:b},d),h.createElement(Ax,{style:Object.assign(Object.assign(Object.assign({},Z),AI),{WebkitLineClamp:1}),ref:w},o([],!0))),k===AO&&f&&f[0]!==f[1]&&h.createElement(Ax,{style:Object.assign(Object.assign({},Z),{top:400}),ref:m},o(Ak(c,I),!0)),k===A$&&h.createElement("span",{style:{whiteSpace:"inherit"},ref:g}))}let AZ=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:o}=e;return(null==o?void 0:o.title)&&t?h.createElement(l1.Z,Object.assign({open:!!n&&void 0},o),r):r};var AR=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function AT(e,t){let{mark:n,code:r,underline:o,delete:i,strong:a,keyboard:l,italic:s}=e,c=t;function u(e,t){t&&(c=h.createElement(e,{},c))}return u("strong",a),u("u",o),u("del",i),u("code",r),u("mark",n),u("kbd",l),u("i",s),c}let AP="...",Aj=h.forwardRef((e,t)=>{var n;let{prefixCls:r,className:o,style:i,type:a,disabled:l,children:s,ellipsis:c,editable:u,copyable:d,component:f,title:p}=e,m=AR(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:y,direction:w}=h.useContext(S.E_),[x]=(0,nn.Z)("Text"),k=h.useRef(null),C=h.useRef(null),$=y("typography",r),E=(0,b.Z)(m,["mark","code","delete","underline","strong","keyboard","italic"]),[O,M]=As(u),[I,N]=(0,ok.Z)(!1,{value:M.editing}),{triggerType:Z=["icon"]}=M,R=e=>{var t;e&&(null==(t=M.onStart)||t.call(M)),N(e)},T=Ac(I);(0,oE.Z)(()=>{var e;!I&&T&&(null==(e=C.current)||e.focus())},[I]);let P=e=>{null==e||e.preventDefault(),R(!0)},j=e=>{var t;null==(t=M.onChange)||t.call(M,e),R(!1)},A=()=>{var e;null==(e=M.onCancel)||e.call(M),R(!1)},[D,_]=As(d),{copied:z,copyLoading:L,onClick:B}=Al({copyConfig:_,children:s}),[H,F]=h.useState(!1),[W,V]=h.useState(!1),[q,K]=h.useState(!1),[U,G]=h.useState(!1),[Y,Q]=h.useState(!0),[J,ee]=As(c,{expandable:!1,symbol:e=>e?null==x?void 0:x.collapse:null==x?void 0:x.expand}),[et,en]=(0,ok.Z)(ee.defaultExpanded||!1,{value:ee.expanded}),er=J&&(!et||"collapsible"===ee.expandable),{rows:eo=1}=ee,ei=h.useMemo(()=>er&&(void 0!==ee.suffix||ee.onEllipsis||ee.expandable||O||D),[er,ee,O,D]);(0,oE.Z)(()=>{J&&!ei&&(F(I7("webkitLineClamp")),V(I7("textOverflow")))},[ei,J]);let[ea,el]=h.useState(er),es=h.useMemo(()=>!ei&&(1===eo?W:H),[ei,W,H]);(0,oE.Z)(()=>{el(es&&er)},[es,er]);let ec=er&&(ea?U:q),eu=er&&1===eo&&ea,ed=er&&eo>1&&ea,ef=(e,t)=>{var n;en(t.expanded),null==(n=ee.onExpand)||n.call(ee,e,t)},[eh,ep]=h.useState(0),em=e=>{let{offsetWidth:t}=e;ep(t)},eg=e=>{var t;K(e),q!==e&&(null==(t=ee.onEllipsis)||t.call(ee,e))};h.useEffect(()=>{let e=k.current;if(J&&ea&&e){let t=Ab(e);U!==t&&G(t)}},[J,ea,s,ed,Y,eh]),h.useEffect(()=>{let e=k.current;if("undefined"==typeof IntersectionObserver||!e||!ea||!er)return;let t=new IntersectionObserver(()=>{Q(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[ea,er]);let ev=Au(ee.tooltip,M.text,s),eb=h.useMemo(()=>{if(J&&!ea)return[M.text,s,p,ev.title].find(Ay)},[J,ea,p,ev.title,ec]);if(I)return h.createElement(Ar,{value:null!=(n=M.text)?n:"string"==typeof s?s:"",onSave:j,onCancel:A,onEnd:M.onEnd,prefixCls:$,className:o,style:i,direction:w,component:f,maxLength:M.maxLength,autoSize:M.autoSize,enterIcon:M.enterIcon});let ey=()=>{let{expandable:e,symbol:t}=ee;return e?h.createElement("button",{type:"button",key:"expand",className:`${$}-${et?"collapse":"expand"}`,onClick:e=>ef(e,{expanded:!et}),"aria-label":et?x.collapse:null==x?void 0:x.expand},"function"==typeof t?t(et):t):null},ew=()=>{if(!O)return;let{icon:e,tooltip:t,tabIndex:n}=M,r=(0,oS.Z)(t)[0]||(null==x?void 0:x.edit),o="string"==typeof r?r:"";return Z.includes("icon")?h.createElement(l1.Z,{key:"edit",title:!1===t?"":r},h.createElement("button",{type:"button",ref:C,className:`${$}-edit`,onClick:P,"aria-label":o,tabIndex:n},e||h.createElement(jJ,{role:"button"}))):null},ex=()=>D?h.createElement(Aw,Object.assign({key:"copy"},_,{prefixCls:$,copied:z,locale:x,onCopy:B,loading:L,iconOnly:null==s})):null,eS=e=>[e&&ey(),ew(),ex()],ek=e=>[e&&!et&&h.createElement("span",{"aria-hidden":!0,key:"ellipsis"},AP),ee.suffix,eS(e)];return h.createElement(v.Z,{onResize:em,disabled:!er},n=>h.createElement(AZ,{tooltipProps:ev,enableEllipsis:er,isEllipsis:ec},h.createElement(Af,Object.assign({className:g()({[`${$}-${a}`]:a,[`${$}-disabled`]:l,[`${$}-ellipsis`]:J,[`${$}-ellipsis-single-line`]:eu,[`${$}-ellipsis-multiple-line`]:ed},o),prefixCls:r,style:Object.assign(Object.assign({},i),{WebkitLineClamp:ed?eo:void 0}),component:f,ref:(0,X.sQ)(n,k,t),direction:w,onClick:Z.includes("text")?P:void 0,"aria-label":null==eb?void 0:eb.toString(),title:p},E),h.createElement(AN,{enableMeasure:er&&!ea,text:s,rows:eo,width:eh,onEllipsis:eg,expanded:et,miscDeps:[z,et,L,O,D,x]},(t,n)=>AT(e,h.createElement(h.Fragment,null,t.length>0&&n&&!et&&eb?h.createElement("span",{key:"show-content","aria-hidden":!0},t):t,ek(n)))))))});var AA=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let AD=h.forwardRef((e,t)=>{var{ellipsis:n,rel:r}=e,o=AA(e,["ellipsis","rel"]);let i=Object.assign(Object.assign({},o),{rel:void 0===r&&"_blank"===o.target?"noopener noreferrer":r});return delete i.navigate,h.createElement(Aj,Object.assign({},i,{ref:t,ellipsis:!!n,component:"a"}))}),A_=h.forwardRef((e,t)=>h.createElement(Aj,Object.assign({ref:t},e,{component:"div"})));var Az=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let AL=(e,t)=>{var{ellipsis:n}=e,r=Az(e,["ellipsis"]);let o=h.useMemo(()=>n&&"object"==typeof n?(0,b.Z)(n,["expandable","rows"]):n,[n]);return h.createElement(Aj,Object.assign({ref:t},r,{ellipsis:o,component:"span"}))},AB=h.forwardRef(AL);var AH=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let AF=[1,2,3,4,5],AW=h.forwardRef((e,t)=>{let{level:n=1}=e,r=AH(e,["level"]),o=AF.includes(n)?`h${n}`:"h1";return h.createElement(Aj,Object.assign({ref:t},r,{component:o}))}),AV=Af;AV.Text=AB,AV.Link=AD,AV.Title=AW,AV.Paragraph=A_;let Aq=AV;var AK=n(76887),AX=n(11954);let AU=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return n.some(function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var n=r.toLowerCase(),a=t.toLowerCase(),l=[a];return(".jpg"===a||".jpeg"===a)&&(l=[".jpg",".jpeg"]),l.some(function(e){return n.endsWith(e)})}return/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t||!!/^\w+$/.test(t)&&((0,nE.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)})}return!0};function AG(e,t){var n=Error("cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"));return n.status=t.status,n.method=e.method,n.url=e.action,n}function AY(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function AQ(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach(function(t){var r=e.data[t];if(Array.isArray(r))return void r.forEach(function(e){n.append("".concat(t,"[]"),e)});n.append(t,r)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(AG(e,t),AY(t)):e.onSuccess(AY(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach(function(e){null!==r[e]&&t.setRequestHeader(e,r[e])}),t.send(n),{abort:function(){t.abort()}}}let AJ=function(){var e=(0,AX.Z)((0,AK.Z)().mark(function e(t,n){var r,o,i,a,l,s,c,u;return(0,AK.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:s=function(){return(s=(0,AX.Z)((0,AK.Z)().mark(function e(t){return(0,AK.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(e){t.file(function(r){n(r)?(t.fullPath&&!r.webkitRelativePath&&(Object.defineProperties(r,{webkitRelativePath:{writable:!0}}),r.webkitRelativePath=t.fullPath.replace(/^\//,""),Object.defineProperties(r,{webkitRelativePath:{writable:!1}})),e(r)):e(null)})}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)},l=function(e){return s.apply(this,arguments)},a=function(){return(a=(0,AX.Z)((0,AK.Z)().mark(function e(t){var n,r,o,i,a;return(0,AK.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=t.createReader(),r=[];case 2:return e.next=5,new Promise(function(e){n.readEntries(e,function(){return e([])})});case 5:if(i=(o=e.sent).length){e.next=9;break}return e.abrupt("break",12);case 9:for(a=0;a{let{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${(0,G.bf)(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${(0,G.bf)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` - &:not(${t}-disabled):hover, - &-hover:not(${t}-disabled) - `]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${(0,G.bf)(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${n}, - p${t}-text, - p${t}-hint - `]:{color:e.colorTextDisabled}}}}}},A9=e=>{let{componentCls:t,iconCls:n,fontSize:r,lineHeight:o,calc:i}=e,a=`${t}-list-item`,l=`${a}-actions`,s=`${a}-action`;return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},(0,Y.dF)()),{lineHeight:e.lineHeight,[a]:{position:"relative",height:i(e.lineHeight).mul(r).equal(),marginTop:e.marginXS,fontSize:r,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,borderRadius:e.borderRadiusSM,"&:hover":{backgroundColor:e.controlItemBgHover},[`${a}-name`]:Object.assign(Object.assign({},Y.vS),{padding:`0 ${(0,G.bf)(e.paddingXS)}`,lineHeight:o,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[l]:{whiteSpace:"nowrap",[s]:{opacity:0},[n]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[` - ${s}:focus-visible, - &.picture ${s} - `]:{opacity:1}},[`${t}-icon ${n}`]:{color:e.colorTextDescription,fontSize:r},[`${a}-progress`]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:i(r).add(e.paddingXS).equal(),fontSize:r,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${a}:hover ${s}`]:{opacity:1},[`${a}-error`]:{color:e.colorError,[`${a}-name, ${t}-icon ${n}`]:{color:e.colorError},[l]:{[`${n}, ${n}:hover`]:{color:e.colorError},[s]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},De=e=>{let{componentCls:t}=e,n=new G.E4("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),r=new G.E4("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),o=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${o}-appear, ${o}-enter, ${o}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${o}-appear, ${o}-enter`]:{animationName:n},[`${o}-leave`]:{animationName:r}}},{[`${t}-wrapper`]:rm(e)},n,r]},Dt=e=>{let{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:o,calc:i}=e,a=`${t}-list`,l=`${a}-item`;return{[`${t}-wrapper`]:{[` - ${a}${a}-picture, - ${a}${a}-picture-card, - ${a}${a}-picture-circle - `]:{[l]:{position:"relative",height:i(r).add(i(e.lineWidth).mul(2)).add(i(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${(0,G.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${l}-thumbnail`]:Object.assign(Object.assign({},Y.vS),{width:r,height:r,lineHeight:(0,G.bf)(i(r).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${l}-progress`]:{bottom:o,width:`calc(100% - ${(0,G.bf)(i(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:i(r).add(e.paddingXS).equal()}},[`${l}-error`]:{borderColor:e.colorError,[`${l}-thumbnail ${n}`]:{[`svg path[fill='${tA.iN["0"]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${tA.iN.primary}']`]:{fill:e.colorError}}},[`${l}-uploading`]:{borderStyle:"dashed",[`${l}-name`]:{marginBottom:o}}},[`${a}${a}-picture-circle ${l}`]:{[`&, &::before, ${l}-thumbnail`]:{borderRadius:"50%"}}}}},Dn=e=>{let{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:o,calc:i}=e,a=`${t}-list`,l=`${a}-item`,s=e.uploadPicCardSize;return{[` - ${t}-wrapper${t}-picture-card-wrapper, - ${t}-wrapper${t}-picture-circle-wrapper - `]:Object.assign(Object.assign({},(0,Y.dF)()),{display:"block",[`${t}${t}-select`]:{width:s,height:s,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${(0,G.bf)(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${a}${a}-picture-card, ${a}${a}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:e.marginXS,marginInlineEnd:e.marginXS}},"@supports (gap: 1px)":{gap:e.marginXS},[`${a}-item-container`]:{display:"inline-block",width:s,height:s,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[l]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,G.bf)(i(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,G.bf)(i(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${l}:hover`]:{[`&::before, ${l}-actions`]:{opacity:1}},[`${l}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[` - ${n}-eye, - ${n}-download, - ${n}-delete - `]:{zIndex:10,width:r,margin:`0 ${(0,G.bf)(e.marginXXS)}`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,color:o,"&:hover":{color:o},svg:{verticalAlign:"baseline"}}},[`${l}-thumbnail, ${l}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${l}-name`]:{display:"none",textAlign:"center"},[`${l}-file + ${l}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${(0,G.bf)(i(e.paddingXS).mul(2).equal())})`},[`${l}-uploading`]:{[`&${l}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${l}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${(0,G.bf)(i(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}},Dr=e=>{let{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},Do=e=>{let{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,Y.Wf)(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-hidden`]:{display:"none"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},Di=e=>({actionsColor:e.colorTextDescription}),Da=(0,k.I$)("Upload",e=>{let{fontSizeHeading3:t,fontHeight:n,lineWidth:r,controlHeightLG:o,calc:i}=e,a=(0,eI.IX)(e,{uploadThumbnailSize:i(t).mul(2).equal(),uploadProgressOffset:i(i(n).div(2)).add(r).equal(),uploadPicCardSize:i(o).mul(2.55).equal()});return[Do(a),A7(a),Dt(a),Dn(a),A9(a),De(a),Dr(a),(0,uL.Z)(a)]},Di);var Dl=n(67115),Ds=n(12766),Dc=function(e,t,n,r){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){e.done?n(e.value):o(e.value).then(a,l)}s((r=r.apply(e,t||[])).next())})};let Du=`__LIST_IGNORE_${Date.now()}__`,Dd=(e,t)=>{let{fileList:n,defaultFileList:r,onRemove:o,showUploadList:i=!0,listType:a="text",onPreview:l,onDownload:s,onChange:c,onDrop:u,previewFile:d,disabled:f,locale:p,iconRender:m,isImageUrl:v,progress:b,prefixCls:w,className:x,type:k="select",children:C,style:$,itemRender:E,maxCount:O,data:M={},multiple:I=!1,hasControlInside:N=!0,action:Z="",accept:R="",supportServerRender:T=!0,rootClassName:P}=e,j=h.useContext(tF.Z),A=null!=f?f:j,[D,_]=(0,ok.Z)(r||[],{value:n,postState:e=>null!=e?e:[]}),[z,L]=h.useState("drop"),B=h.useRef(null),H=h.useRef(null);h.useMemo(()=>{let e=Date.now();(n||[]).forEach((t,n)=>{t.uid||Object.isFrozen(t)||(t.uid=`__AUTO__${e}_${n}__`)})},[n]);let F=(e,t,n)=>{let r=(0,y.Z)(t),o=!1;1===O?r=r.slice(-1):O&&(o=r.length>O,r=r.slice(0,O)),(0,eF.flushSync)(()=>{_(r)});let i={file:e,fileList:r};n&&(i.event=n),(!o||"removed"===e.status||r.some(t=>t.uid===e.uid))&&(0,eF.flushSync)(()=>{null==c||c(i)})},W=(t,n)=>Dc(void 0,void 0,void 0,function*(){let{beforeUpload:r,transformFile:o}=e,i=t;if(r){let e=yield r(t,n);if(!1===e)return!1;if(delete t[Du],e===Du)return Object.defineProperty(t,Du,{value:!0,configurable:!0}),!1;"object"==typeof e&&e&&(i=e)}return o&&(i=yield o(i)),i}),V=e=>{let t=e.filter(e=>!e.file[Du]);if(!t.length)return;let n=t.map(e=>(0,Ds.ZF)(e.file)),r=(0,y.Z)(D);n.forEach(e=>{r=(0,Ds.Og)(e,r)}),n.forEach((e,n)=>{let o=e;if(t[n].parsedFile)e.status="uploading";else{let t,{originFileObj:n}=e;try{t=new File([n],n.name,{type:n.type})}catch(e){(t=new Blob([n],{type:n.type})).name=n.name,t.lastModifiedDate=new Date,t.lastModified=new Date().getTime()}t.uid=e.uid,o=t}F(o,r)})},q=(e,t,n)=>{try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}if(!(0,Ds.L4)(t,D))return;let r=(0,Ds.ZF)(t);r.status="done",r.percent=100,r.response=e,r.xhr=n;let o=(0,Ds.Og)(r,D);F(r,o)},K=(e,t)=>{if(!(0,Ds.L4)(t,D))return;let n=(0,Ds.ZF)(t);n.status="uploading",n.percent=e.percent;let r=(0,Ds.Og)(n,D);F(n,r,e)},X=(e,t,n)=>{if(!(0,Ds.L4)(n,D))return;let r=(0,Ds.ZF)(n);r.error=e,r.response=t,r.status="error";let o=(0,Ds.Og)(r,D);F(r,o)},U=e=>{let t;Promise.resolve("function"==typeof o?o(e):o).then(n=>{var r;if(!1===n)return;let o=(0,Ds.XO)(e,D);o&&(t=Object.assign(Object.assign({},e),{status:"removed"}),null==D||D.forEach(e=>{let n=void 0!==t.uid?"uid":"name";e[n]!==t[n]||Object.isFrozen(e)||(e.status="removed")}),null==(r=B.current)||r.abort(t),F(t,o))})},G=e=>{L(e.type),"drop"===e.type&&(null==u||u(e))};h.useImperativeHandle(t,()=>({onBatchStart:V,onSuccess:q,onProgress:K,onError:X,fileList:D,upload:B.current,nativeElement:H.current}));let{getPrefixCls:Y,direction:Q,upload:J}=h.useContext(S.E_),ee=Y("upload",w),et=Object.assign(Object.assign({onBatchStart:V,onError:X,onProgress:K,onSuccess:q},e),{data:M,multiple:I,action:Z,accept:R,supportServerRender:T,prefixCls:ee,disabled:A,beforeUpload:W,onChange:void 0,hasControlInside:N});delete et.className,delete et.style,(!C||A)&&delete et.id;let en=`${ee}-wrapper`,[er,eo,ei]=Da(ee,en),[ea]=(0,nn.Z)("Upload",t$.Z.Upload),{showRemoveIcon:el,showPreviewIcon:es,showDownloadIcon:ec,removeIcon:eu,previewIcon:ed,downloadIcon:ef,extra:eh}="boolean"==typeof i?{}:i,ep=void 0===el?!A:el,em=(e,t)=>i?h.createElement(Dl.Z,{prefixCls:ee,listType:a,items:D,previewFile:d,onPreview:l,onDownload:s,onRemove:U,showRemoveIcon:ep,showPreviewIcon:es,showDownloadIcon:ec,removeIcon:eu,previewIcon:ed,downloadIcon:ef,iconRender:m,extra:eh,locale:Object.assign(Object.assign({},ea),p),isImageUrl:v,progress:b,appendAction:e,appendActionVisible:t,itemRender:E,disabled:A}):e,eg=g()(en,x,P,eo,ei,null==J?void 0:J.className,{[`${ee}-rtl`]:"rtl"===Q,[`${ee}-picture-card-wrapper`]:"picture-card"===a,[`${ee}-picture-circle-wrapper`]:"picture-circle"===a}),ev=Object.assign(Object.assign({},null==J?void 0:J.style),$);if("drag"===k){let e=g()(eo,ee,`${ee}-drag`,{[`${ee}-drag-uploading`]:D.some(e=>"uploading"===e.status),[`${ee}-drag-hover`]:"dragover"===z,[`${ee}-disabled`]:A,[`${ee}-rtl`]:"rtl"===Q});return er(h.createElement("span",{className:eg,ref:H},h.createElement("div",{className:e,style:ev,onDrop:G,onDragOver:G,onDragLeave:G},h.createElement(A6,Object.assign({},et,{ref:B,className:`${ee}-btn`}),h.createElement("div",{className:`${ee}-drag-container`},C))),em()))}let eb=g()(ee,`${ee}-select`,{[`${ee}-disabled`]:A,[`${ee}-hidden`]:!C}),ey=h.createElement("div",{className:eb},h.createElement(A6,Object.assign({},et,{ref:B})));return er("picture-card"===a||"picture-circle"===a?h.createElement("span",{className:eg,ref:H},em(ey,!!C)):h.createElement("span",{className:eg,ref:H},ey,em()))},Df=h.forwardRef(Dd);var Dh=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let Dp=h.forwardRef((e,t)=>{var{style:n,height:r,hasControlInside:o=!1}=e,i=Dh(e,["style","height","hasControlInside"]);return h.createElement(Df,Object.assign({ref:t,hasControlInside:o},i,{type:"drag",style:Object.assign(Object.assign({},n),{height:r})}))}),Dm=Df;Dm.Dragger=Dp,Dm.LIST_IGNORE=Du;let Dg=Dm;var Dv=n(64481);p().Component;var Db={subtree:!0,childList:!0,attributeFilter:["style","class"]};function Dy(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Db;h.useEffect(function(){if((0,t_.Z)()&&e){var r,o=Array.isArray(e)?e:[e];return"MutationObserver"in window&&(r=new MutationObserver(t),o.forEach(function(e){r.observe(e,n)})),function(){var e,t;null==(e=r)||e.takeRecords(),null==(t=r)||t.disconnect()}}},[n,e])}let Dw=3;function Dx(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=document.createElement("canvas"),o=r.getContext("2d"),i=e*n,a=t*n;return r.setAttribute("width",`${i}px`),r.setAttribute("height",`${a}px`),o.save(),[o,r,i,a]}function DS(){return function(e,t,n,r,o,i,a,l){let[s,c,u,d]=Dx(r,o,n);if(e instanceof HTMLImageElement)s.drawImage(e,0,0,u,d);else{let{color:t,fontSize:r,fontStyle:a,fontWeight:l,fontFamily:c,textAlign:d}=i,f=Number(r)*n;s.font=`${a} normal ${l} ${f}px/${o}px ${c}`,s.fillStyle=t,s.textAlign=d,s.textBaseline="top";let h=EP(e);null==h||h.forEach((e,t)=>{s.fillText(null!=e?e:"",u/2,t*(f+Dw*n))})}let f=Math.PI/180*Number(t),h=Math.max(r,o),[p,m,g]=Dx(h,h,n);function v(e,t){return[e*Math.cos(f)-t*Math.sin(f),e*Math.sin(f)+t*Math.cos(f)]}p.translate(g/2,g/2),p.rotate(f),u>0&&d>0&&p.drawImage(c,-u/2,-d/2);let b=0,y=0,w=0,x=0,S=u/2,k=d/2;[[0-S,0-k],[0+S,0-k],[0+S,0+k],[0-S,0+k]].forEach(e=>{let[t,n]=e,[r,o]=v(t,n);b=Math.min(b,r),y=Math.max(y,r),w=Math.min(w,o),x=Math.max(x,o)});let C=b+g/2,$=w+g/2,E=y-b,O=x-w,M=a*n,I=l*n,N=(E+M)*2,Z=O+I,[R,T]=Dx(N,Z);function P(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;R.drawImage(m,C,$,E,O,e,t,E,O)}return P(),P(E+M,-O/2-I/2),P(E+M,O/2+I/2),[T.toDataURL(),N/n,Z/n]}}function Dk(e){let t=p().useRef(!1),n=p().useRef(null),r=(0,ey.Z)(e);return()=>{t.current||(t.current=!0,r(),n.current=(0,w.Z)(()=>{t.current=!1}))}}function DC(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function D$(e){return Object.keys(e).map(t=>`${DC(t)}: ${e[t]};`).join(" ")}function DE(){return window.devicePixelRatio||1}let DO=(e,t)=>{let n=!1;return e.removedNodes.length&&(n=Array.from(e.removedNodes).some(e=>t(e))),"attributes"===e.type&&t(e.target)&&(n=!0),n},DM={visibility:"visible !important"};function DI(e){let t=h.useRef(new Map);return[(n,r,o)=>{if(o){if(!t.current.get(o)){let e=document.createElement("div");t.current.set(o,e)}let i=t.current.get(o);i.setAttribute("style",D$(Object.assign(Object.assign(Object.assign({},e),{backgroundImage:`url('${n}')`,backgroundSize:`${Math.floor(r)}px`}),DM))),i.removeAttribute("class"),i.parentElement!==o&&o.append(i)}return t.current.get(o)},e=>{let n=t.current.get(e);n&&e&&e.removeChild(n),t.current.delete(e)},e=>Array.from(t.current.values()).includes(e)]}function DN(e,t){return e.size===t.size?e:t}let DZ=100,DR=100,DT={position:"relative",overflow:"hidden"},DP=e=>{var t,n;let{zIndex:r=9,rotate:o=-22,width:i,height:a,image:l,content:s,font:c={},style:u,className:d,rootClassName:f,gap:m=[DZ,DR],offset:v,children:b,inherit:w=!0}=e,x=Object.assign(Object.assign({},DT),u),[,S]=(0,e$.ZP)(),{color:k=S.colorFill,fontSize:C=S.fontSizeLG,fontWeight:$="normal",fontStyle:E="normal",fontFamily:O="sans-serif",textAlign:M="center"}=c,[I=DZ,N=DR]=m,Z=I/2,R=N/2,T=null!=(t=null==v?void 0:v[0])?t:Z,P=null!=(n=null==v?void 0:v[1])?n:R,j=p().useMemo(()=>{let e={zIndex:r,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"},t=T-Z,n=P-R;return t>0&&(e.left=`${t}px`,e.width=`calc(100% - ${t}px)`,t=0),n>0&&(e.top=`${n}px`,e.height=`calc(100% - ${n}px)`,n=0),e.backgroundPosition=`${t}px ${n}px`,e},[r,T,Z,P,R]),[A,D]=p().useState(),[_,z]=p().useState(new Set),L=p().useMemo(()=>[].concat(A?[A]:[],(0,y.Z)(Array.from(_))),[A,_]),B=e=>{let t=120,n=64;if(!l&&e.measureText){e.font=`${Number(C)}px ${O}`;let r=EP(s),o=r.map(t=>{let n=e.measureText(t);return[n.width,n.fontBoundingBoxAscent+n.fontBoundingBoxDescent]});t=Math.ceil(Math.max.apply(Math,(0,y.Z)(o.map(e=>e[0])))),n=Math.ceil(Math.max.apply(Math,(0,y.Z)(o.map(e=>e[1]))))*r.length+(r.length-1)*Dw}return[null!=i?i:t,null!=a?a:n]},H=DS(),[F,W]=p().useState(null),V=Dk(()=>{let e=document.createElement("canvas").getContext("2d");if(e){let t=DE(),[n,r]=B(e),i=e=>{let[i,a]=H(e||"",o,t,n,r,{color:k,fontSize:C,fontStyle:E,fontWeight:$,fontFamily:O,textAlign:M},I,N);W([i,a])};if(l){let e=new Image;e.onload=()=>{i(e)},e.onerror=()=>{i(s)},e.crossOrigin="anonymous",e.referrerPolicy="no-referrer",e.src=l}else i(s)}}),[q,K,X]=DI(j);(0,h.useEffect)(()=>{F&&L.forEach(e=>{q(F[0],F[1],e)})},[F,L]),Dy(L,(0,ey.Z)(e=>{e.forEach(e=>{if(DO(e,X))V();else if(e.target===A&&"style"===e.attributeName){let e=Object.keys(DT);for(let t=0;t({add:e=>{z(t=>{let n=new Set(t);return n.add(e),DN(t,n)})},remove:e=>{K(e),z(t=>{let n=new Set(t);return n.delete(e),DN(t,n)})}}),[]),G=w?p().createElement(rl.Provider,{value:U},b):b;return p().createElement("div",{ref:D,className:g()(d,f),style:x},G)},Dj=(0,h.forwardRef)((e,t)=>{let{prefixCls:n,className:r,children:o,size:i,style:a={}}=e,l=g()(`${n}-panel`,{[`${n}-panel-hidden`]:0===i},r),s=void 0!==i;return p().createElement("div",{ref:t,className:l,style:Object.assign(Object.assign({},a),{flexBasis:s?i:"auto",flexGrow:+!s})},o)}),DA=()=>null;var DD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function D_(e){if(e&&"object"==typeof e)return e;let t=!!e;return{start:t,end:t}}function Dz(e){return h.useMemo(()=>(0,oS.Z)(e).filter(h.isValidElement).map(e=>{let{props:t}=e,{collapsible:n}=t;return Object.assign(Object.assign({},DD(t,["collapsible"])),{collapsible:D_(n)})}),[e])}function DL(e,t){return h.useMemo(()=>{let n=[];for(let r=0;r0||h.start&&0===l&&a>0,g=h.start&&l>0||u.end&&0===a&&l>0;n[r]={resizable:p,startCollapsible:!!m,endCollapsible:!!g}}return n},[t,e])}function DB(e){return Number(e.slice(0,-1))/100}function DH(e){return"string"==typeof e&&e.endsWith("%")}function DF(e,t){let n=e.map(e=>e.size),r=e.length,o=t||0,i=e=>e*o,[a,l]=p().useState(()=>e.map(e=>e.defaultSize)),s=p().useMemo(()=>{var e;let t=[];for(let o=0;o{let e=[],t=0;for(let n=0;ne+(t||0),0);if(n>1||!t){let t=1/n;e=e.map(e=>void 0===e?0:e*t)}else{let r=(1-n)/t;e=e.map(e=>void 0===e?r:e)}return e},[s,o]),u=p().useMemo(()=>c.map(i),[c,o]),d=p().useMemo(()=>e.map(e=>DH(e.min)?DB(e.min):(e.min||0)/o),[e,o]),f=p().useMemo(()=>e.map(e=>DH(e.max)?DB(e.max):(e.max||o)/o),[e,o]);return[p().useMemo(()=>t?u:s,[u,t]),u,c,d,f,l]}function DW(e,t,n,r,o){let i=e.map(e=>[e.min,e.max]),a=r||0,l=e=>e*a;function s(e,t){return"string"==typeof e?l(DB(e)):null!=e?e:t}let[c,u]=h.useState([]),[d,f]=h.useState(null),p=()=>n.map(l);return[e=>{u(p()),f({index:e,confirmed:!1})},(e,n)=>{var r;let l=null;if((!d||!d.confirmed)&&0!==n){if(n>0)l=e,f({index:e,confirmed:!0});else for(let n=e;n>=0;n-=1)if(c[n]>0&&t[n].resizable){l=n,f({index:n,confirmed:!0});break}}let u=null!=(r=null!=l?l:null==d?void 0:d.index)?r:e,h=(0,y.Z)(c),p=u+1,m=s(i[u][0],0),g=s(i[p][0],0),v=s(i[u][1],a),b=s(i[p][1],a),w=n;return h[u]+wv&&(w=v-h[u]),h[p]-w>b&&(w=h[p]-b),h[u]+=w,h[p]-=w,o(h),h},()=>{f(null)},(e,t)=>{let n=p(),r="start"===t?e:e+1,l="start"===t?e+1:e,c=n[r],u=n[l];if(0!==c&&0!==u)n[r]=0,n[l]+=c;else{let e=c+u,t=s(i[r][0],0),o=s(i[r][1],a),d=s(i[l][0],0),f=Math.max(t,e-s(i[l][1],a)),h=(Math.min(o,e-d)-f)/2;n[r]-=h,n[l]+=h}return o(n),n},null==d?void 0:d.index]}function DV(e){return"number"!=typeof e||Number.isNaN(e)?0:Math.round(e)}let Dq=e=>{let{prefixCls:t,vertical:n,index:r,active:o,ariaNow:i,ariaMin:a,ariaMax:l,resizable:s,startCollapsible:c,endCollapsible:u,onOffsetStart:d,onOffsetUpdate:f,onOffsetEnd:m,onCollapse:v}=e,b=`${t}-bar`,[y,w]=(0,h.useState)(null),x=e=>{s&&e.currentTarget&&(w([e.pageX,e.pageY]),d(r))},S=e=>{if(s&&1===e.touches.length){let t=e.touches[0];w([t.pageX,t.pageY]),d(r)}};p().useEffect(()=>{if(y){let e=e=>{let{pageX:t,pageY:n}=e;f(r,t-y[0],n-y[1])},t=()=>{w(null),m()},n=e=>{if(1===e.touches.length){let t=e.touches[0];f(r,t.pageX-y[0],t.pageY-y[1])}},o=()=>{w(null),m()};return window.addEventListener("touchmove",n),window.addEventListener("touchend",o),window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t),window.removeEventListener("touchmove",n),window.removeEventListener("touchend",o)}}},[y]);let k=n?bB:um,C=n?lx:sH.Z;return p().createElement("div",{className:b,role:"separator","aria-valuenow":DV(i),"aria-valuemin":DV(a),"aria-valuemax":DV(l)},p().createElement("div",{className:g()(`${b}-dragger`,{[`${b}-dragger-disabled`]:!s,[`${b}-dragger-active`]:o}),onMouseDown:x,onTouchStart:S}),c&&p().createElement("div",{className:g()(`${b}-collapse-bar`,`${b}-collapse-bar-start`),onClick:()=>v(r,"start")},p().createElement(k,{className:g()(`${b}-collapse-icon`,`${b}-collapse-start`)})),u&&p().createElement("div",{className:g()(`${b}-collapse-bar`,`${b}-collapse-bar-end`),onClick:()=>v(r,"end")},p().createElement(C,{className:g()(`${b}-collapse-icon`,`${b}-collapse-end`)})))},DK=e=>{let{componentCls:t}=e;return{[`&-rtl${t}-horizontal`]:{[`> ${t}-bar`]:{[`${t}-bar-collapse-previous`]:{insetInlineEnd:0,insetInlineStart:"unset"},[`${t}-bar-collapse-next`]:{insetInlineEnd:"unset",insetInlineStart:0}}},[`&-rtl${t}-vertical`]:{[`> ${t}-bar`]:{[`${t}-bar-collapse-previous`]:{insetInlineEnd:"50%",insetInlineStart:"unset"},[`${t}-bar-collapse-next`]:{insetInlineEnd:"50%",insetInlineStart:"unset"}}}}},DX={position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)"},DU=e=>{let{componentCls:t,colorFill:n,splitBarDraggableSize:r,splitBarSize:o,splitTriggerSize:i,controlItemBgHover:a,controlItemBgActive:l,controlItemBgActiveHover:s}=e,c=`${t}-bar`,u=`${t}-mask`,d=`${t}-panel`,f=e.calc(i).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(e)),{display:"flex",width:"100%",height:"100%",alignItems:"stretch",[`> ${c}`]:{flex:"none",position:"relative",userSelect:"none",[`${c}-dragger`]:Object.assign(Object.assign({},DX),{zIndex:1,"&::before":Object.assign({content:'""',background:a},DX),"&::after":Object.assign({content:'""',background:n},DX),[`&:hover:not(${c}-dragger-active)`]:{"&::before":{background:l}},"&-active":{zIndex:2,"&::before":{background:s}},[`&-disabled${c}-dragger`]:{zIndex:0,"&, &:hover, &-active":{cursor:"default","&::before":{background:a}},"&::after":{display:"none"}}}),[`${c}-collapse-bar`]:Object.assign(Object.assign({},DX),{zIndex:e.zIndexPopupBase,background:a,fontSize:e.fontSizeSM,borderRadius:e.borderRadiusXS,color:e.colorText,cursor:"pointer",opacity:0,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{background:l},"&:active":{background:s}}),"&:hover, &:active":{[`${c}-collapse-bar`]:{opacity:1}}},[u]:{position:"fixed",zIndex:e.zIndexPopupBase,inset:0,"&-horizontal":{cursor:"col-resize"},"&-vertical":{cursor:"row-resize"}},"&-horizontal":{flexDirection:"row",[`> ${c}`]:{width:0,[`${c}-dragger`]:{cursor:"col-resize",height:"100%",width:i,"&::before":{height:"100%",width:o},"&::after":{height:r,width:o}},[`${c}-collapse-bar`]:{width:e.fontSizeSM,height:e.controlHeightSM,"&-start":{left:{_skip_check_:!0,value:"auto"},right:{_skip_check_:!0,value:f},transform:"translateY(-50%)"},"&-end":{left:{_skip_check_:!0,value:f},right:{_skip_check_:!0,value:"auto"},transform:"translateY(-50%)"}}}},"&-vertical":{flexDirection:"column",[`> ${c}`]:{height:0,[`${c}-dragger`]:{cursor:"row-resize",width:"100%",height:i,"&::before":{width:"100%",height:o},"&::after":{width:r,height:o}},[`${c}-collapse-bar`]:{height:e.fontSizeSM,width:e.controlHeightSM,"&-start":{top:"auto",bottom:f,transform:"translateX(-50%)"},"&-end":{top:f,bottom:"auto",transform:"translateX(-50%)"}}}},[d]:{overflow:"auto",padding:"0 1px",scrollbarWidth:"thin",boxSizing:"border-box","&-hidden":{padding:0,overflow:"hidden"},[`&:has(${t}:only-child)`]:{overflow:"hidden"}}}),DK(e))}},DG=e=>{var t;let n=e.splitBarSize||2,r=e.splitTriggerSize||6,o=e.resizeSpinnerSize||20;return{splitBarSize:n,splitTriggerSize:r,splitBarDraggableSize:null!=(t=e.splitBarDraggableSize)?t:o,resizeSpinnerSize:o}},DY=(0,k.I$)("Splitter",e=>[DU(e)],DG),DQ=e=>{let{prefixCls:t,className:n,style:r,layout:o="horizontal",children:i,rootClassName:a,onResizeStart:l,onResize:s,onResizeEnd:c}=e,{getPrefixCls:u,direction:d,splitter:f}=p().useContext(S.E_),m=u("splitter",t),b=eE(m),[y,w,x]=DY(m,b),k="vertical"===o,C="rtl"===d,$=!k&&C,E=Dz(i),[O,M]=(0,h.useState)(),I=e=>{let{offsetWidth:t,offsetHeight:n}=e,r=k?n:t;0!==r&&M(r)},[N,Z,R,T,P,j]=DF(E,O),A=DL(E,Z),[D,_,z,L,B]=DW(E,A,R,O,j),H=(0,ey.Z)(e=>{D(e),null==l||l(Z)}),F=(0,ey.Z)((e,t)=>{let n=_(e,t);null==s||s(n)}),W=(0,ey.Z)(()=>{z(),null==c||c(Z)}),V=(0,ey.Z)((e,t)=>{let n=L(e,t);null==s||s(n),null==c||c(n)}),q=g()(m,n,`${m}-${o}`,{[`${m}-rtl`]:C},a,null==f?void 0:f.className,x,b,w),K=`${m}-mask`,X=p().useMemo(()=>{let e=[],t=0;for(let n=0;n{let n=p().createElement(Dj,Object.assign({},e,{prefixCls:m,size:N[t]})),r=null,o=A[t];if(o){let e=(X[t-1]||0)+T[t],n=(X[t+1]||100)-P[t+1],i=(X[t-1]||0)+P[t],a=(X[t+1]||100)-T[t+1];r=p().createElement(Dq,{index:t,active:B===t,prefixCls:m,vertical:k,resizable:o.resizable,ariaNow:100*X[t],ariaMin:100*Math.max(e,n),ariaMax:100*Math.min(i,a),startCollapsible:o.startCollapsible,endCollapsible:o.endCollapsible,onOffsetStart:H,onOffsetUpdate:(e,t,n)=>{let r=k?n:t;$&&(r=-r),F(e,r)},onOffsetEnd:W,onCollapse:V})}return p().createElement(p().Fragment,{key:`split-panel-${t}`},n,r)}),"number"==typeof B&&p().createElement("div",{"aria-hidden":!0,className:g()(K,`${K}-${o}`)}))))};DQ.Panel=DA;let DJ=DQ},47673:function(e,t,n){"use strict";n.d(t,{ZP:()=>S,ik:()=>h,nz:()=>u,s7:()=>p,x0:()=>f});var r=n(80271),o=n(14747),i=n(80110),a=n(83559),l=n(40326),s=n(20353),c=n(93900);let u=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),d=e=>{let{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:o,paddingInlineLG:i}=e;return{padding:`${(0,r.bf)(t)} ${(0,r.bf)(i)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:o}},f=e=>({padding:`${(0,r.bf)(e.paddingBlockSM)} ${(0,r.bf)(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),h=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,r.bf)(e.paddingBlock)} ${(0,r.bf)(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},u(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},d(e)),"&-sm":Object.assign({},f(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),p=e=>{let{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},d(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},f(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,r.bf)(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${(0,r.bf)(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${(0,r.bf)(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${(0,r.bf)(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${n}-cascader-picker`]:{margin:`-9px ${(0,r.bf)(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,o.dF)()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` - & > ${t}-affix-wrapper, - & > ${t}-number-affix-wrapper, - & > ${n}-picker-range - `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${n}-select > ${n}-select-selector, - & > ${n}-select-auto-complete ${t}, - & > ${n}-cascader-picker ${t}, - & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child, - & > ${n}-select:first-child > ${n}-select-selector, - & > ${n}-select-auto-complete:first-child ${t}, - & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, - & > ${n}-select:last-child > ${n}-select-selector, - & > ${n}-cascader-picker:last-child ${t}, - & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},m=e=>{let{componentCls:t,controlHeightSM:n,lineWidth:r,calc:i}=e,a=16,l=i(n).sub(i(r).mul(2)).sub(a).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,o.Wf)(e)),h(e)),(0,c.qG)(e)),(0,c.H8)(e)),(0,c.Mu)(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:l,paddingBottom:l}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},g=e=>{let{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,r.bf)(e.inputAffixPadding)}`}}}},v=e=>{let{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:l}=e,s=`${t}-affix-wrapper`,c=`${t}-affix-wrapper-disabled`;return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({},h(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),g(e)),{[`${l}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}}),[c]:{[`${l}${t}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},b=e=>{let{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},(0,o.Wf)(e)),p(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},(0,c.ir)(e)),(0,c.S5)(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},y=e=>{let{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[t]:{"&:hover, &:focus":{[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${t}-affix-wrapper, ${r}-button`]:{height:e.controlHeightLG}},"&-small":{[`${t}-affix-wrapper, ${r}-button`]:{height:e.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, - > ${t}, - ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},w=e=>{let{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` - &-allow-clear > ${t}, - &-affix-wrapper${r}-has-feedback ${t} - `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},x=e=>{let{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},S=(0,a.I$)("Input",e=>{let t=(0,l.IX)(e,(0,s.e)(e));return[m(t),w(t),v(t),b(t),y(t),x(t),(0,i.c)(t)]},s.T,{resetFont:!1})},20353:function(e,t,n){"use strict";n.d(t,{T:()=>i,e:()=>o});var r=n(40326);function o(e){return(0,r.IX)(e,{inputAffixPadding:e.paddingXXS})}let i=e=>{let{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:o,controlHeightSM:i,controlHeightLG:a,fontSizeLG:l,lineHeightLG:s,paddingSM:c,controlPaddingHorizontalSM:u,controlPaddingHorizontal:d,colorFillAlter:f,colorPrimaryHover:h,colorPrimary:p,controlOutlineWidth:m,controlOutline:g,colorErrorOutline:v,colorWarningOutline:b,colorBgContainer:y}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-o,0),paddingBlockSM:Math.max(Math.round((i-n*r)/2*10)/10-o,0),paddingBlockLG:Math.ceil((a-l*s)/2*10)/10-o,paddingInline:c-o,paddingInlineSM:u-o,paddingInlineLG:d-o,addonBg:f,activeBorderColor:p,hoverBorderColor:h,activeShadow:`0 0 0 ${m}px ${g}`,errorActiveShadow:`0 0 0 ${m}px ${v}`,warningActiveShadow:`0 0 0 ${m}px ${b}`,hoverBg:y,activeBg:y,inputFontSize:n,inputFontSizeLG:l,inputFontSizeSM:n}}},93900:function(e,t,n){"use strict";n.d(t,{$U:()=>l,H8:()=>m,Mu:()=>f,S5:()=>v,Xy:()=>a,ir:()=>d,qG:()=>c});var r=n(80271),o=n(40326);let i=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),a=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},i((0,o.IX)(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),l=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),s=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},l(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),c=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},l(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),s(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),s(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),u=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),d=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${(0,r.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},u(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),u(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},a(e))}})}),f=(e,t)=>{let{componentCls:n}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},h=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:null==t?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),p=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},h(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),m=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},h(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),p(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),p(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),g=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),v=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,r.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,r.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},g(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),g(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,r.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,r.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,r.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,r.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,r.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,r.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})})},76745:function(e,t,n){"use strict";n.d(t,{Z:()=>r});let r=(0,n(81004).createContext)(void 0)},40378:function(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n(62906),o=n(74228),i=n(13168),a=n(42115);let l="${label} is not a valid ${type}",s={locale:"en",Pagination:r.Z,DatePicker:i.Z,TimePicker:a.Z,Calendar:o.Z,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:l,method:l,array:l,object:l,number:l,date:l,boolean:l,integer:l,float:l,regexp:l,email:l,url:l,hex:l},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}}},10110:function(e,t,n){"use strict";n.d(t,{Z:()=>a});var r=n(81004),o=n(76745),i=n(40378);let a=(e,t)=>{let n=r.useContext(o.Z);return[r.useMemo(()=>{var r;let o=t||i.Z[e],a=null!=(r=null==n?void 0:n[e])?r:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),a||{})},[e,t,n]),r.useMemo(()=>{let e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?i.Z.locale:e},[n])]}},14781:function(e,t,n){"use strict";n.d(t,{B4:()=>b,ZP:()=>y,eh:()=>v});var r=n(80271),o=n(47673),i=n(20353),a=n(93900),l=n(14747),s=n(40326),c=n(83559);let u=e=>{let{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},d=e=>{let{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:(0,r.bf)(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,r.bf)(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,r.bf)(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` - &${t}-mini ${t}-prev ${t}-item-link, - &${t}-mini ${t}-next ${t}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:(0,r.bf)(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:(0,r.bf)(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:(0,r.bf)(e.itemSizeSM),input:Object.assign(Object.assign({},(0,o.x0)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},f=e=>{let{componentCls:t}=e;return{[` - &${t}-simple ${t}-prev, - &${t}-simple ${t}-next - `]:{height:e.itemSizeSM,lineHeight:(0,r.bf)(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:(0,r.bf)(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,r.bf)(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${(0,r.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${(0,r.bf)(e.inputOutlineOffset)} 0 ${(0,r.bf)(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},h=e=>{let{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` - ${t}-prev, - ${t}-jump-prev, - ${t}-jump-next - `]:{marginInlineEnd:e.marginXS},[` - ${t}-prev, - ${t}-next, - ${t}-jump-prev, - ${t}-jump-next - `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:(0,r.bf)(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,r.bf)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:(0,r.bf)(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,o.ik)(e)),(0,a.$U)(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},(0,a.Xy)(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},p=e=>{let{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:(0,r.bf)(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${(0,r.bf)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,r.bf)(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},m=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,l.Wf)(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:(0,r.bf)(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),p(e)),h(e)),f(e)),d(e)),u(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},g=e=>{let{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},(0,l.Qy)(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},(0,l.oN)(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},(0,l.oN)(e))}}}},v=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},(0,i.T)(e)),b=e=>(0,s.IX)(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,i.e)(e)),y=(0,c.I$)("Pagination",e=>{let t=b(e);return[m(t),g(t)]},v)},6672:function(e,t,n){"use strict";n.d(t,{Z:()=>ec});var r=n(81004),o=n(40778),i=n(8567),a=n(69515),l=n(69485),s=n(49585),c=n(58793),u=n.n(c),d=n(98423),f=n(53124),h={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},p=function(){var e=(0,r.useRef)([]),t=(0,r.useRef)(null);return(0,r.useEffect)(function(){var n=Date.now(),r=!1;e.current.forEach(function(e){if(e){r=!0;var o=e.style;o.transitionDuration=".3s, .3s, .3s, .06s",t.current&&n-t.current<100&&(o.transitionDuration="0s, 0s")}}),r&&(t.current=Date.now())}),e.current},m=n(16019),g=n(58133),v=n(50324),b=n(77354),y=n(25002),w=n(98924),x=0,S=(0,w.Z)();function k(){var e;return S?(e=x,x+=1):e="TEST_OR_SSR",e}let C=function(e){var t=r.useState(),n=(0,y.Z)(t,2),o=n[0],i=n[1];return r.useEffect(function(){i("rc_progress_".concat(k()))},[]),e||o};var $=function(e){var t=e.bg,n=e.children;return r.createElement("div",{style:{width:"100%",height:"100%",background:t}},n)};function E(e,t){return Object.keys(e).map(function(n){var r=parseFloat(n),o="".concat(Math.floor(r*t),"%");return"".concat(e[n]," ").concat(o)})}let O=r.forwardRef(function(e,t){var n=e.prefixCls,o=e.color,i=e.gradientId,a=e.radius,l=e.style,s=e.ptg,c=e.strokeLinecap,u=e.strokeWidth,d=e.size,f=e.gapDegree,h=o&&"object"===(0,g.Z)(o),p=h?"#FFF":void 0,m=d/2,v=r.createElement("circle",{className:"".concat(n,"-circle-path"),r:a,cx:m,cy:m,stroke:p,strokeLinecap:c,strokeWidth:u,opacity:+(0!==s),style:l,ref:t});if(!h)return v;var b="".concat(i,"-conic"),y=f?"".concat(180+f/2,"deg"):"0deg",w=E(o,(360-f)/360),x=E(o,1),S="conic-gradient(from ".concat(y,", ").concat(w.join(", "),")"),k="linear-gradient(to ".concat(f?"bottom":"top",", ").concat(x.join(", "),")");return r.createElement(r.Fragment,null,r.createElement("mask",{id:b},v),r.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(b,")")},r.createElement($,{bg:k},r.createElement($,{bg:S}))))});var M=100,I=function(e,t,n,r,o,i,a,l,s,c){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,d=n/100*360*((360-i)/360),f=0===i?0:({bottom:0,top:180,left:90,right:-90})[a],h=(100-r)/100*t;"round"===s&&100!==r&&(h+=c/2)>=t&&(h=t-.01);var p=M/2;return{stroke:"string"==typeof l?l:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:h+u,transform:"rotate(".concat(o+d+f,"deg)"),transformOrigin:"".concat(p,"px ").concat(p,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},N=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Z(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}let R=function(e){var t=(0,v.Z)((0,v.Z)({},h),e),n=t.id,o=t.prefixCls,i=t.steps,a=t.strokeWidth,l=t.trailWidth,s=t.gapDegree,c=void 0===s?0:s,d=t.gapPosition,f=t.trailColor,y=t.strokeLinecap,w=t.style,x=t.className,S=t.strokeColor,k=t.percent,$=(0,b.Z)(t,N),E=M/2,R=C(n),T="".concat(R,"-gradient"),P=E-a/2,j=2*Math.PI*P,A=c>0?90+c/2:-90,D=(360-c)/360*j,_="object"===(0,g.Z)(i)?i:{count:i,gap:2},z=_.count,L=_.gap,B=Z(k),H=Z(S),F=H.find(function(e){return e&&"object"===(0,g.Z)(e)}),W=F&&"object"===(0,g.Z)(F)?"butt":y,V=I(j,D,0,100,A,c,d,f,W,a),q=p(),K=function(){var e=0;return B.map(function(t,n){var i=H[n]||H[H.length-1],l=I(j,D,e,t,A,c,d,i,W,a);return e+=t,r.createElement(O,{key:n,color:i,ptg:t,radius:P,prefixCls:o,gradientId:T,style:l,strokeLinecap:W,strokeWidth:a,gapDegree:c,ref:function(e){q[n]=e},size:M})}).reverse()},X=function(){var e=Math.round(z*(B[0]/100)),t=100/z,n=0;return Array(z).fill(null).map(function(i,l){var s=l<=e-1?H[0]:f,u=s&&"object"===(0,g.Z)(s)?"url(#".concat(T,")"):void 0,h=I(j,D,n,t,A,c,d,s,"butt",a,L);return n+=(D-h.strokeDashoffset+L)*100/D,r.createElement("circle",{key:l,className:"".concat(o,"-circle-path"),r:P,cx:E,cy:E,stroke:u,strokeWidth:a,opacity:1,style:h,ref:function(e){q[l]=e}})})};return r.createElement("svg",(0,m.Z)({className:u()("".concat(o,"-circle"),x),viewBox:"0 0 ".concat(M," ").concat(M),style:w,id:n,role:"presentation"},$),!z&&r.createElement("circle",{className:"".concat(o,"-circle-trail"),r:P,cx:E,cy:E,stroke:f,strokeLinecap:W,strokeWidth:l||a,style:V}),z?X():K())};var T=n(65049),P=n(32282);function j(e){return!e||e<0?0:e>100?100:e}function A(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}let D=e=>{let{percent:t,success:n,successPercent:r}=e,o=j(A({success:n,successPercent:r}));return[o,j(j(t)-o)]},_=e=>{let{success:t={},strokeColor:n}=e,{strokeColor:r}=t;return[r||P.ez.green,n||null]},z=(e,t,n)=>{var r,o,i,a;let l=-1,s=-1;if("step"===t){let t=n.steps,r=n.strokeWidth;"string"==typeof e||void 0===e?(l="small"===e?2:14,s=null!=r?r:8):"number"==typeof e?[l,s]=[e,e]:[l=14,s=8]=Array.isArray(e)?e:[e.width,e.height],l*=t}else if("line"===t){let t=null==n?void 0:n.strokeWidth;"string"==typeof e||void 0===e?s=t||("small"===e?6:8):"number"==typeof e?[l,s]=[e,e]:[l=-1,s=8]=Array.isArray(e)?e:[e.width,e.height]}else("circle"===t||"dashboard"===t)&&("string"==typeof e||void 0===e?[l,s]="small"===e?[60,60]:[120,120]:"number"==typeof e?[l,s]=[e,e]:Array.isArray(e)&&(l=null!=(o=null!=(r=e[0])?r:e[1])?o:120,s=null!=(a=null!=(i=e[0])?i:e[1])?a:120));return[l,s]},L=3,B=e=>L/e*100,H=e=>{let{prefixCls:t,trailColor:n=null,strokeLinecap:o="round",gapPosition:i,gapDegree:a,width:l=120,type:s,children:c,success:d,size:f=l,steps:h}=e,[p,m]=z(f,"circle"),{strokeWidth:g}=e;void 0===g&&(g=Math.max(B(p),6));let v={width:p,height:m,fontSize:.15*p+6},b=r.useMemo(()=>a||0===a?a:"dashboard"===s?75:void 0,[a,s]),y=D(e),w=i||"dashboard"===s&&"bottom"||void 0,x="[object Object]"===Object.prototype.toString.call(e.strokeColor),S=_({success:d,strokeColor:e.strokeColor}),k=u()(`${t}-inner`,{[`${t}-circle-gradient`]:x}),C=r.createElement(R,{steps:h,percent:h?y[1]:y,strokeWidth:g,trailWidth:g,strokeColor:h?S[1]:S,strokeLinecap:o,trailColor:n,prefixCls:t,gapDegree:b,gapPosition:w}),$=p<=20,E=r.createElement("div",{className:k,style:v},C,!$&&c);return $?r.createElement(T.Z,{title:c},E):E};var F=n(80271),W=n(14747),V=n(83559),q=n(40326);let K="--progress-line-stroke-color",X="--progress-percent",U=e=>{let t=e?"100%":"-100%";return new F.E4(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},G=e=>{let{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},(0,W.Wf)(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${t}-text`]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${K})`]},height:"100%",width:`calc(1 / var(${X}) * 100%)`,display:"block"},[`&${t}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${t}-text-inner`]:{color:e.colorWhite,[`&${t}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize},[`&${t}-text-outer`]:{width:"max-content"},[`&${t}-text-outer${t}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},[`${t}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,F.bf)(e.paddingXXS)}`,[`&${t}-text-start`]:{justifyContent:"start"},[`&${t}-text-end`]:{justifyContent:"end"}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:U(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:U(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},Y=e=>{let{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},Q=e=>{let{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},J=e=>{let{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},ee=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`}),et=(0,V.I$)("Progress",e=>{let t=e.calc(e.marginXXS).div(2).equal(),n=(0,q.IX)(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[G(n),Y(n),Q(n),J(n)]},ee);var en=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let er=e=>{let t=[];return Object.keys(e).forEach(n=>{let r=parseFloat(n.replace(/%/g,""));Number.isNaN(r)||t.push({key:r,value:e[n]})}),(t=t.sort((e,t)=>e.key-t.key)).map(e=>{let{key:t,value:n}=e;return`${n} ${t}%`}).join(", ")},eo=(e,t)=>{let{from:n=P.ez.blue,to:r=P.ez.blue,direction:o="rtl"===t?"to left":"to right"}=e,i=en(e,["from","to","direction"]);if(0!==Object.keys(i).length){let e=er(i),t=`linear-gradient(${o}, ${e})`;return{background:t,[K]:t}}let a=`linear-gradient(${o}, ${n}, ${r})`;return{background:a,[K]:a}},ei=e=>{let{prefixCls:t,direction:n,percent:o,size:i,strokeWidth:a,strokeColor:l,strokeLinecap:s="round",children:c,trailColor:d=null,percentPosition:f,success:h}=e,{align:p,type:m}=f,g=l&&"string"!=typeof l?eo(l,n):{[K]:l,background:l},v="square"===s||"butt"===s?0:void 0,[b,y]=z(null!=i?i:[-1,a||("small"===i?6:8)],"line",{strokeWidth:a}),w={backgroundColor:d||void 0,borderRadius:v},x=Object.assign(Object.assign({width:`${j(o)}%`,height:y,borderRadius:v},g),{[X]:j(o)/100}),S=A(e),k={width:`${j(S)}%`,height:y,borderRadius:v,backgroundColor:null==h?void 0:h.strokeColor},C={width:b<0?"100%":b},$=r.createElement("div",{className:`${t}-inner`,style:w},r.createElement("div",{className:u()(`${t}-bg`,`${t}-bg-${m}`),style:x},"inner"===m&&c),void 0!==S&&r.createElement("div",{className:`${t}-success-bg`,style:k})),E="outer"===m&&"start"===p,O="outer"===m&&"end"===p;return"outer"===m&&"center"===p?r.createElement("div",{className:`${t}-layout-bottom`},$,c):r.createElement("div",{className:`${t}-outer`,style:C},E&&c,$,O&&c)},ea=e=>{let{size:t,steps:n,percent:o=0,strokeWidth:i=8,strokeColor:a,trailColor:l=null,prefixCls:s,children:c}=e,d=Math.round(o/100*n),f="small"===t?2:14,[h,p]=z(null!=t?t:[f,i],"step",{steps:n,strokeWidth:i}),m=h/n,g=Array(n);for(let e=0;et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let es=["normal","exception","active","success"],ec=r.forwardRef((e,t)=>{let n,{prefixCls:c,className:h,rootClassName:p,steps:m,strokeColor:g,percent:v=0,size:b="default",showInfo:y=!0,type:w="line",status:x,format:S,style:k,percentPosition:C={}}=e,$=el(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:E="end",type:O="outer"}=C,M=Array.isArray(g)?g[0]:g,I="string"==typeof g||Array.isArray(g)?g:void 0,N=r.useMemo(()=>{if(M){let e="string"==typeof M?M:Object.values(M)[0];return new s.C(e).isLight()}return!1},[g]),Z=r.useMemo(()=>{var t,n;let r=A(e);return parseInt(void 0!==r?null==(t=null!=r?r:0)?void 0:t.toString():null==(n=null!=v?v:0)?void 0:n.toString(),10)},[v,e.success,e.successPercent]),R=r.useMemo(()=>!es.includes(x)&&Z>=100?"success":x||"normal",[x,Z]),{getPrefixCls:T,direction:P,progress:D}=r.useContext(f.E_),_=T("progress",c),[L,B,F]=et(_),W="line"===w,V=W&&!m,q=r.useMemo(()=>{let t;if(!y)return null;let n=A(e),s=S||(e=>`${e}%`),c=W&&N&&"inner"===O;return"inner"===O||S||"exception"!==R&&"success"!==R?t=s(j(v),j(n)):"exception"===R?t=W?r.createElement(a.Z,null):r.createElement(l.Z,null):"success"===R&&(t=W?r.createElement(o.Z,null):r.createElement(i.Z,null)),r.createElement("span",{className:u()(`${_}-text`,{[`${_}-text-bright`]:c,[`${_}-text-${E}`]:V,[`${_}-text-${O}`]:V}),title:"string"==typeof t?t:void 0},t)},[y,v,Z,R,w,_,S]);"line"===w?n=m?r.createElement(ea,Object.assign({},e,{strokeColor:I,prefixCls:_,steps:"object"==typeof m?m.count:m}),q):r.createElement(ei,Object.assign({},e,{strokeColor:M,prefixCls:_,direction:P,percentPosition:{align:E,type:O}}),q):("circle"===w||"dashboard"===w)&&(n=r.createElement(H,Object.assign({},e,{strokeColor:M,prefixCls:_,progressStatus:R}),q));let K=u()(_,`${_}-status-${R}`,{[`${_}-${"dashboard"===w&&"circle"||w}`]:"line"!==w,[`${_}-inline-circle`]:"circle"===w&&z(b,"circle")[0]<=20,[`${_}-line`]:V,[`${_}-line-align-${E}`]:V,[`${_}-line-position-${O}`]:V,[`${_}-steps`]:m,[`${_}-show-info`]:y,[`${_}-${b}`]:"string"==typeof b,[`${_}-rtl`]:"rtl"===P},null==D?void 0:D.className,h,p,B,F);return L(r.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},null==D?void 0:D.style),k),className:K,role:"progressbar","aria-valuenow":Z,"aria-valuemin":0,"aria-valuemax":100},(0,d.Z)($,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),n))})},4173:function(e,t,n){"use strict";n.d(t,{BR:()=>h,ZP:()=>m,ri:()=>f});var r=n(81004),o=n(58793),i=n.n(o),a=n(50344),l=n(53124),s=n(98675),c=n(3429),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let d=r.createContext(null),f=(e,t)=>{let n=r.useContext(d),o=r.useMemo(()=>{if(!n)return"";let{compactDirection:r,isFirstItem:o,isLastItem:a}=n,l="vertical"===r?"-vertical-":"-";return i()(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:o,[`${e}-compact${l}last-item`]:a,[`${e}-compact${l}item-rtl`]:"rtl"===t})},[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:o}},h=e=>{let{children:t}=e;return r.createElement(d.Provider,{value:null},t)},p=e=>{var{children:t}=e,n=u(e,["children"]);return r.createElement(d.Provider,{value:n},t)},m=e=>{let{getPrefixCls:t,direction:n}=r.useContext(l.E_),{size:o,direction:f,block:h,prefixCls:m,className:g,rootClassName:v,children:b}=e,y=u(e,["size","direction","block","prefixCls","className","rootClassName","children"]),w=(0,s.Z)(e=>null!=o?o:e),x=t("space-compact",m),[S,k]=(0,c.Z)(x),C=i()(x,k,{[`${x}-rtl`]:"rtl"===n,[`${x}-block`]:h,[`${x}-vertical`]:"vertical"===f},g,v),$=r.useContext(d),E=(0,a.Z)(b),O=r.useMemo(()=>E.map((e,t)=>{let n=(null==e?void 0:e.key)||`${x}-item-${t}`;return r.createElement(p,{key:n,compactSize:w,compactDirection:f,isFirstItem:0===t&&(!$||(null==$?void 0:$.isFirstItem)),isLastItem:t===E.length-1&&(!$||(null==$?void 0:$.isLastItem))},e)}),[o,E,$]);return 0===E.length?null:S(r.createElement("div",Object.assign({className:C},y),O))}},3429:function(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n(83559),o=n(40326);let i=e=>{let{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},a=e=>{let{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},l=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},s=(0,r.I$)("Space",e=>{let t=(0,o.IX)(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[a(t),l(t),i(t)]},()=>({}),{resetStyle:!1})},80110:function(e,t,n){"use strict";function r(e,t,n){let{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",l=["hover",o?"focus":null,"active"].filter(Boolean).map(e=>`&:${e} ${a}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[l]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function o(e,t,n){let{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0},{componentCls:n}=e,i=`${n}-compact`;return{[i]:Object.assign(Object.assign({},r(e,i,t)),o(n,i,t))}}n.d(t,{c:()=>i})},14747:function(e,t,n){"use strict";n.d(t,{JT:()=>f,Lx:()=>s,Nd:()=>h,Qy:()=>d,Ro:()=>a,Wf:()=>i,dF:()=>l,du:()=>c,oN:()=>u,vS:()=>o});var r=n(80271);let o={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},a=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),l=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),s=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),c=(e,t,n,r)=>{let o=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},l={};return!1!==r&&(l={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},l),a),{[o]:a})}},u=e=>({outline:`${(0,r.bf)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),d=e=>({"&:focus-visible":Object.assign({},u(e))}),f=e=>({[`.${e}`]:Object.assign(Object.assign({},a()),{[`.${e} .${e}-icon`]:{display:"block"}})}),h=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},d(e)),{"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}})},33507:function(e,t,n){"use strict";n.d(t,{Z:()=>r});let r=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},93590:function(e,t,n){"use strict";n.d(t,{R:()=>i});let r=e=>({animationDuration:e,animationFillMode:"both"}),o=e=>({animationDuration:e,animationFillMode:"both"}),i=function(e,t,n,i){let a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=a?"&":"";return{[` - ${l}${e}-enter, - ${l}${e}-appear - `]:Object.assign(Object.assign({},r(i)),{animationPlayState:"paused"}),[`${l}${e}-leave`]:Object.assign(Object.assign({},o(i)),{animationPlayState:"paused"}),[` - ${l}${e}-enter${e}-enter-active, - ${l}${e}-appear${e}-appear-active - `]:{animationName:t,animationPlayState:"running"},[`${l}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}}},50438:function(e,t,n){"use strict";n.d(t,{_y:()=>g,kr:()=>i});var r=n(80271),o=n(93590);let i=new r.E4("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),a=new r.E4("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),l=new r.E4("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),s=new r.E4("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),c=new r.E4("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),u=new r.E4("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),d=new r.E4("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),f=new r.E4("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),h=new r.E4("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),p=new r.E4("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),m={zoom:{inKeyframes:i,outKeyframes:a},"zoom-big":{inKeyframes:l,outKeyframes:s},"zoom-big-fast":{inKeyframes:l,outKeyframes:s},"zoom-left":{inKeyframes:d,outKeyframes:f},"zoom-right":{inKeyframes:h,outKeyframes:p},"zoom-up":{inKeyframes:c,outKeyframes:u},"zoom-down":{inKeyframes:new r.E4("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),outKeyframes:new r.E4("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}})}},g=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=m[t];return[(0,o.R)(r,i,a,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},97414:function(e,t,n){"use strict";n.d(t,{ZP:()=>s,qN:()=>i,wZ:()=>a});var r=n(80271),o=n(79511);let i=8;function a(e){let{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12,o=n?i:r;return{arrowOffsetHorizontal:r,arrowOffsetVertical:o}}function l(e,t){return e?t:{}}function s(e,t,n){let{componentCls:i,boxShadowPopoverArrow:a,arrowOffsetVertical:s,arrowOffsetHorizontal:c}=e,{arrowDistance:u=0,arrowPlacement:d={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[i]:Object.assign(Object.assign(Object.assign(Object.assign({[`${i}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,o.W)(e,t,a)),{"&:before":{background:t}})]},l(!!d.top,{[`&-placement-top > ${i}-arrow,&-placement-topLeft > ${i}-arrow,&-placement-topRight > ${i}-arrow`]:{bottom:u,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${i}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":c,[`> ${i}-arrow`]:{left:{_skip_check_:!0,value:c}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,r.bf)(c)})`,[`> ${i}-arrow`]:{right:{_skip_check_:!0,value:c}}}})),l(!!d.bottom,{[`&-placement-bottom > ${i}-arrow,&-placement-bottomLeft > ${i}-arrow,&-placement-bottomRight > ${i}-arrow`]:{top:u,transform:"translateY(-100%)"},[`&-placement-bottom > ${i}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":c,[`> ${i}-arrow`]:{left:{_skip_check_:!0,value:c}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,r.bf)(c)})`,[`> ${i}-arrow`]:{right:{_skip_check_:!0,value:c}}}})),l(!!d.left,{[`&-placement-left > ${i}-arrow,&-placement-leftTop > ${i}-arrow,&-placement-leftBottom > ${i}-arrow`]:{right:{_skip_check_:!0,value:u},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${i}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${i}-arrow`]:{top:s},[`&-placement-leftBottom > ${i}-arrow`]:{bottom:s}})),l(!!d.right,{[`&-placement-right > ${i}-arrow,&-placement-rightTop > ${i}-arrow,&-placement-rightBottom > ${i}-arrow`]:{left:{_skip_check_:!0,value:u},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${i}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${i}-arrow`]:{top:s},[`&-placement-rightBottom > ${i}-arrow`]:{bottom:s}}))}}},79511:function(e,t,n){"use strict";n.d(t,{W:()=>i,w:()=>o});var r=n(80271);function o(e){let{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,o=t/2,i=0,a=o,l=r/Math.sqrt(2),s=o-r*(1-1/Math.sqrt(2)),c=o-1/Math.sqrt(2)*n,u=r*(Math.sqrt(2)-1)+1/Math.sqrt(2)*n,d=2*o-c,f=u,h=2*o-l,p=s,m=2*o-0,g=a,v=o*Math.sqrt(2)+r*(Math.sqrt(2)-2),b=r*(Math.sqrt(2)-1);return{arrowShadowWidth:v,arrowPath:`path('M ${i} ${a} A ${r} ${r} 0 0 0 ${l} ${s} L ${c} ${u} A ${n} ${n} 0 0 1 ${d} ${f} L ${h} ${p} A ${r} ${r} 0 0 0 ${m} ${g} Z')`,arrowPolygon:`polygon(${b}px 100%, 50% ${b}px, ${2*o-b}px 100%, ${b}px 100%)`}}let i=(e,t,n)=>{let{sizePopupArrow:o,arrowPolygon:i,arrowPath:a,arrowShadowWidth:l,borderRadiusXS:s,calc:c}=e;return{pointerEvents:"none",width:o,height:o,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:o,height:c(o).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:l,height:l,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,r.bf)(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}}},32517:function(e,t,n){"use strict";n.d(t,{Z:()=>E});var r=n(80271),o=n(49585),i=n(14747),a=n(83559),l=n(40326);let s=e=>{let{componentCls:t,lineWidth:n,lineType:o,tableBorderColor:i,tableHeaderBg:a,tablePaddingVertical:l,tablePaddingHorizontal:s,calc:c}=e,u=`${(0,r.bf)(n)} ${o} ${i}`,d=(e,o,i)=>({[`&${t}-${e}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{[` - > table > tbody > tr > th, - > table > tbody > tr > td - `]:{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,r.bf)(c(o).mul(-1).equal())} - ${(0,r.bf)(c(c(i).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:u,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:u,borderTop:u,[` - > ${t}-content, - > ${t}-header, - > ${t}-body, - > ${t}-summary - `]:{"> table":{[` - > thead > tr > th, - > thead > tr > td, - > tbody > tr > th, - > tbody > tr > td, - > tfoot > tr > th, - > tfoot > tr > td - `]:{borderInlineEnd:u},"> thead":{"> tr:not(:last-child) > th":{borderBottom:u},"> tr > th::before":{backgroundColor:"transparent !important"}},[` - > thead > tr, - > tbody > tr, - > tfoot > tr - `]:{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:u}},[` - > tbody > tr > th, - > tbody > tr > td - `]:{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,r.bf)(c(l).mul(-1).equal())} ${(0,r.bf)(c(c(s).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:u,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` - > tr${t}-expanded-row, - > tr${t}-placeholder - `]:{"> th, > td":{borderInlineEnd:0}}}}}},d("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),d("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:u,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,r.bf)(n)} 0 ${(0,r.bf)(n)} ${a}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:u}}}},c=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},i.vS),{wordBreak:"keep-all",[` - &${t}-cell-fix-left-last, - &${t}-cell-fix-right-first - `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},u=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,[` - &:hover > th, - &:hover > td, - `]:{background:e.colorBgContainer}}}}},d=e=>{let{componentCls:t,antCls:n,motionDurationSlow:o,lineWidth:a,paddingXS:l,lineType:s,tableBorderColor:c,tableExpandIconBg:u,tableExpandColumnWidth:d,borderRadius:f,tablePaddingVertical:h,tablePaddingHorizontal:p,tableExpandedRowBg:m,paddingXXS:g,expandIconMarginTop:v,expandIconSize:b,expandIconHalfInner:y,expandIconScale:w,calc:x}=e,S=`${(0,r.bf)(a)} ${s} ${c}`,k=x(g).sub(a).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:d},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},(0,i.Nd)(e)),{position:"relative",float:"left",width:b,height:b,color:"inherit",lineHeight:(0,r.bf)(b),background:u,border:S,borderRadius:f,transform:`scale(${w})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${o} ease-out`,content:'""'},"&::before":{top:y,insetInlineEnd:k,insetInlineStart:k,height:a},"&::after":{top:k,bottom:k,insetInlineStart:y,width:a,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:v,marginInlineEnd:l},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:m}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${(0,r.bf)(x(h).mul(-1).equal())} ${(0,r.bf)(x(p).mul(-1).equal())}`,padding:`${(0,r.bf)(h)} ${(0,r.bf)(p)}`}}}},f=e=>{let{componentCls:t,antCls:n,iconCls:o,tableFilterDropdownWidth:a,tableFilterDropdownSearchWidth:l,paddingXXS:s,paddingXS:c,colorText:u,lineWidth:d,lineType:f,tableBorderColor:h,headerIconColor:p,fontSizeSM:m,tablePaddingHorizontal:g,borderRadius:v,motionDurationSlow:b,colorTextDescription:y,colorPrimary:w,tableHeaderFilterActiveBg:x,colorTextDisabled:S,tableFilterDropdownBg:k,tableFilterDropdownHeight:C,controlItemBgHover:$,controlItemBgActive:E,boxShadowSecondary:O,filterDropdownMenuBg:M,calc:I}=e,N=`${n}-dropdown`,Z=`${t}-filter-dropdown`,R=`${n}-tree`,T=`${(0,r.bf)(d)} ${f} ${h}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:I(s).mul(-1).equal(),marginInline:`${(0,r.bf)(s)} ${(0,r.bf)(I(g).div(2).mul(-1).equal())}`,padding:`0 ${(0,r.bf)(s)}`,color:p,fontSize:m,borderRadius:v,cursor:"pointer",transition:`all ${b}`,"&:hover":{color:y,background:x},"&.active":{color:w}}}},{[`${n}-dropdown`]:{[Z]:Object.assign(Object.assign({},(0,i.Wf)(e)),{minWidth:a,backgroundColor:k,borderRadius:v,boxShadow:O,overflow:"hidden",[`${N}-menu`]:{maxHeight:C,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:M,"&:empty::after":{display:"block",padding:`${(0,r.bf)(c)} 0`,color:S,fontSize:m,textAlign:"center",content:'"Not Found"'}},[`${Z}-tree`]:{paddingBlock:`${(0,r.bf)(c)} 0`,paddingInline:c,[R]:{padding:0},[`${R}-treenode ${R}-node-content-wrapper:hover`]:{backgroundColor:$},[`${R}-treenode-checkbox-checked ${R}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:E}}},[`${Z}-search`]:{padding:c,borderBottom:T,"&-input":{input:{minWidth:l},[o]:{color:S}}},[`${Z}-checkall`]:{width:"100%",marginBottom:s,marginInlineStart:s},[`${Z}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,r.bf)(I(c).sub(d).equal())} ${(0,r.bf)(c)}`,overflow:"hidden",borderTop:T}})}},{[`${n}-dropdown ${Z}, ${Z}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:c,color:u},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},h=e=>{let{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:o,zIndexTableFixed:i,tableBg:a,zIndexTableSticky:l,calc:s}=e,c=r;return{[`${t}-wrapper`]:{[` - ${t}-cell-fix-left, - ${t}-cell-fix-right - `]:{position:"sticky !important",zIndex:i,background:a},[` - ${t}-cell-fix-left-first::after, - ${t}-cell-fix-left-last::after - `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:s(n).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[` - ${t}-cell-fix-right-first::after, - ${t}-cell-fix-right-last::after - `]:{position:"absolute",top:0,bottom:s(n).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:s(l).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${c}`},[` - ${t}-cell-fix-left-first::after, - ${t}-cell-fix-left-last::after - `]:{boxShadow:`inset 10px 0 8px -8px ${c}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${c}`},[` - ${t}-cell-fix-right-first::after, - ${t}-cell-fix-right-last::after - `]:{boxShadow:`inset -10px 0 8px -8px ${c}`}},[`${t}-fixed-column-gapped`]:{[` - ${t}-cell-fix-left-first::after, - ${t}-cell-fix-left-last::after, - ${t}-cell-fix-right-first::after, - ${t}-cell-fix-right-last::after - `]:{boxShadow:"none"}}}}},p=e=>{let{componentCls:t,antCls:n,margin:o}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${(0,r.bf)(o)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},m=e=>{let{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${(0,r.bf)(n)} ${(0,r.bf)(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${(0,r.bf)(n)} ${(0,r.bf)(n)}`}}}}},g=e=>{let{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},v=e=>{let{componentCls:t,antCls:n,iconCls:o,fontSizeIcon:i,padding:a,paddingXS:l,headerIconColor:s,headerIconHoverColor:c,tableSelectionColumnWidth:u,tableSelectedRowBg:d,tableSelectedRowHoverBg:f,tableRowHoverBg:h,tablePaddingHorizontal:p,calc:m}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:u,[`&${t}-selection-col-with-dropdown`]:{width:m(u).add(i).add(m(a).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:m(u).add(m(l).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:m(u).add(i).add(m(a).div(4)).add(m(l).mul(2)).equal()}},[` - table tr th${t}-selection-column, - table tr td${t}-selection-column, - ${t}-selection-column - `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:m(e.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,r.bf)(m(p).div(4).equal()),[o]:{color:s,fontSize:i,verticalAlign:"baseline","&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:d,"&-row-hover":{background:f}}},[`> ${t}-cell-row-hover`]:{background:h}}}}}},b=e=>{let{componentCls:t,tableExpandColumnWidth:n,calc:o}=e,i=(e,i,a,l)=>({[`${t}${t}-${e}`]:{fontSize:l,[` - ${t}-title, - ${t}-footer, - ${t}-cell, - ${t}-thead > tr > th, - ${t}-tbody > tr > th, - ${t}-tbody > tr > td, - tfoot > tr > th, - tfoot > tr > td - `]:{padding:`${(0,r.bf)(i)} ${(0,r.bf)(a)}`},[`${t}-filter-trigger`]:{marginInlineEnd:(0,r.bf)(o(a).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${(0,r.bf)(o(i).mul(-1).equal())} ${(0,r.bf)(o(a).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:(0,r.bf)(o(i).mul(-1).equal()),marginInline:`${(0,r.bf)(o(n).sub(a).equal())} ${(0,r.bf)(o(a).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:(0,r.bf)(o(a).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},i("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),i("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},y=e=>{let{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:o,headerIconHoverColor:i}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}, left 0s`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` - &${t}-cell-fix-left:hover, - &${t}-cell-fix-right:hover - `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${t}-column-sorter`]:{marginInlineStart:n,color:o,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:i}}}},w=e=>{let{componentCls:t,opacityLoading:n,tableScrollThumbBg:o,tableScrollThumbBgHover:i,tableScrollThumbSize:a,tableScrollBg:l,zIndexTableSticky:s,stickyScrollBarBorderRadius:c,lineWidth:u,lineType:d,tableBorderColor:f}=e,h=`${(0,r.bf)(u)} ${d} ${f}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:s,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,r.bf)(a)} !important`,zIndex:s,display:"flex",alignItems:"center",background:l,borderTop:h,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:a,backgroundColor:o,borderRadius:c,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:i}}}}}}},x=e=>{let{componentCls:t,lineWidth:n,tableBorderColor:o,calc:i}=e,a=`${(0,r.bf)(n)} ${e.lineType} ${o}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:a}}},[`div${t}-summary`]:{boxShadow:`0 ${(0,r.bf)(i(n).mul(-1).equal())} 0 ${o}`}}}},S=e=>{let{componentCls:t,motionDurationMid:n,lineWidth:o,lineType:i,tableBorderColor:a,calc:l}=e,s=`${(0,r.bf)(o)} ${i} ${a}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-tbody-virtual-holder-inner`]:{[` - & > ${t}-row, - & > div:not(${t}-row) > ${t}-row - `]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${t}-cell`]:{borderBottom:s,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,r.bf)(o)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:s,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:s,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:l(o).mul(-1).equal(),borderInlineStart:s}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:s,borderBottom:s}}}}}},k=e=>{let{componentCls:t,fontWeightStrong:n,tablePaddingVertical:o,tablePaddingHorizontal:a,tableExpandColumnWidth:l,lineWidth:s,lineType:c,tableBorderColor:u,tableFontSize:d,tableBg:f,tableRadius:h,tableHeaderTextColor:p,motionDurationMid:m,tableHeaderBg:g,tableHeaderCellSplitColor:v,tableFooterTextColor:b,tableFooterBg:y,calc:w}=e,x=`${(0,r.bf)(s)} ${c} ${u}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,i.dF)()),{[t]:Object.assign(Object.assign({},(0,i.Wf)(e)),{fontSize:d,background:f,borderRadius:`${(0,r.bf)(h)} ${(0,r.bf)(h)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,r.bf)(h)} ${(0,r.bf)(h)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` - ${t}-cell, - ${t}-thead > tr > th, - ${t}-tbody > tr > th, - ${t}-tbody > tr > td, - tfoot > tr > th, - tfoot > tr > td - `]:{position:"relative",padding:`${(0,r.bf)(o)} ${(0,r.bf)(a)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${(0,r.bf)(o)} ${(0,r.bf)(a)}`},[`${t}-thead`]:{[` - > tr > th, - > tr > td - `]:{position:"relative",color:p,fontWeight:n,textAlign:"start",background:g,borderBottom:x,transition:`background ${m} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:v,transform:"translateY(-50%)",transition:`background-color ${m}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${m}, border-color ${m}`,borderBottom:x,[` - > ${t}-wrapper:only-child, - > ${t}-expanded-row-fixed > ${t}-wrapper:only-child - `]:{[t]:{marginBlock:(0,r.bf)(w(o).mul(-1).equal()),marginInline:`${(0,r.bf)(w(l).sub(a).equal())} - ${(0,r.bf)(w(a).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:p,fontWeight:n,textAlign:"start",background:g,borderBottom:x,transition:`background ${m} ease`}}},[`${t}-footer`]:{padding:`${(0,r.bf)(o)} ${(0,r.bf)(a)}`,color:b,background:y}})}},C=e=>{let{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:i,colorFillContent:a,controlItemBgActive:l,controlItemBgActiveHover:s,padding:c,paddingSM:u,paddingXS:d,colorBorderSecondary:f,borderRadiusLG:h,controlHeight:p,colorTextPlaceholder:m,fontSize:g,fontSizeSM:v,lineHeight:b,lineWidth:y,colorIcon:w,colorIconHover:x,opacityLoading:S,controlInteractiveSize:k}=e,C=new o.C(i).onBackground(n).toHexShortString(),$=new o.C(a).onBackground(n).toHexShortString(),E=new o.C(t).onBackground(n).toHexShortString(),O=new o.C(w),M=new o.C(x),I=k/2-y,N=2*I+3*y;return{headerBg:E,headerColor:r,headerSortActiveBg:C,headerSortHoverBg:$,bodySortBg:E,rowHoverBg:E,rowSelectedBg:l,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:u,cellPaddingInlineMD:d,cellPaddingBlockSM:d,cellPaddingInlineSM:d,borderColor:f,headerBorderRadius:h,footerBg:E,footerColor:r,cellFontSize:g,cellFontSizeMD:g,cellFontSizeSM:g,headerSplitColor:f,fixedHeaderSortActiveBg:C,headerFilterHoverBg:a,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:p,stickyScrollBarBg:m,stickyScrollBarBorderRadius:100,expandIconMarginTop:(g*b-3*y)/2-Math.ceil((1.4*v-3*y)/2),headerIconColor:O.clone().setAlpha(O.getAlpha()*S).toRgbString(),headerIconHoverColor:M.clone().setAlpha(M.getAlpha()*S).toRgbString(),expandIconHalfInner:I,expandIconSize:N,expandIconScale:k/N}},$=2,E=(0,a.I$)("Table",e=>{let{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:o,headerBg:i,headerColor:a,headerSortActiveBg:C,headerSortHoverBg:E,bodySortBg:O,rowHoverBg:M,rowSelectedBg:I,rowSelectedHoverBg:N,rowExpandedBg:Z,cellPaddingBlock:R,cellPaddingInline:T,cellPaddingBlockMD:P,cellPaddingInlineMD:j,cellPaddingBlockSM:A,cellPaddingInlineSM:D,borderColor:_,footerBg:z,footerColor:L,headerBorderRadius:B,cellFontSize:H,cellFontSizeMD:F,cellFontSizeSM:W,headerSplitColor:V,fixedHeaderSortActiveBg:q,headerFilterHoverBg:K,filterDropdownBg:X,expandIconBg:U,selectionColumnWidth:G,stickyScrollBarBg:Y,calc:Q}=e,J=(0,l.IX)(e,{tableFontSize:H,tableBg:r,tableRadius:B,tablePaddingVertical:R,tablePaddingHorizontal:T,tablePaddingVerticalMiddle:P,tablePaddingHorizontalMiddle:j,tablePaddingVerticalSmall:A,tablePaddingHorizontalSmall:D,tableBorderColor:_,tableHeaderTextColor:a,tableHeaderBg:i,tableFooterTextColor:L,tableFooterBg:z,tableHeaderCellSplitColor:V,tableHeaderSortBg:C,tableHeaderSortHoverBg:E,tableBodySortBg:O,tableFixedHeaderSortActiveBg:q,tableHeaderFilterActiveBg:K,tableFilterDropdownBg:X,tableRowHoverBg:M,tableSelectedRowBg:I,tableSelectedRowHoverBg:N,zIndexTableFixed:$,zIndexTableSticky:Q($).add(1).equal({unit:!1}),tableFontSizeMiddle:F,tableFontSizeSmall:W,tableSelectionColumnWidth:G,tableExpandIconBg:U,tableExpandColumnWidth:Q(o).add(Q(e.padding).mul(2)).equal(),tableExpandedRowBg:Z,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Y,tableScrollThumbBgHover:t,tableScrollBg:n});return[k(J),p(J),x(J),y(J),f(J),s(J),m(J),d(J),x(J),u(J),v(J),h(J),w(J),c(J),b(J),g(J),S(J)]},C,{unitless:{expandIconScale:!0}})},33083:function(e,t,n){"use strict";n.d(t,{Mj:()=>u,uH:()=>s,u_:()=>c});var r=n(81004),o=n.n(r),i=n(80271),a=n(67880),l=n(2790);let s=(0,i.jG)(a.Z),c={token:l.Z,override:{override:l.Z},hashed:!0},u=o().createContext(c)},8796:function(e,t,n){"use strict";n.d(t,{i:()=>r});let r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},67880:function(e,t,n){"use strict";n.d(t,{Z:()=>g});var r=n(32282),o=n(2790),i=n(57);let a=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};function l(e){let{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:o+1},a(r))}var s=n(372),c=n(69594);function u(e){let{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}var d=n(49585);let f=(e,t)=>new d.C(e).setAlpha(t).toRgbString(),h=(e,t)=>new d.C(e).darken(t).toHexString(),p=e=>{let t=(0,r.R_)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},m=(e,t)=>{let n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:f(r,.88),colorTextSecondary:f(r,.65),colorTextTertiary:f(r,.45),colorTextQuaternary:f(r,.25),colorFill:f(r,.15),colorFillSecondary:f(r,.06),colorFillTertiary:f(r,.04),colorFillQuaternary:f(r,.02),colorBgSolid:f(r,1),colorBgSolidHover:f(r,.75),colorBgSolidActive:f(r,.95),colorBgLayout:h(n,4),colorBgContainer:h(n,0),colorBgElevated:h(n,0),colorBgSpotlight:f(r,.85),colorBgBlur:"transparent",colorBorder:h(n,15),colorBorderSecondary:h(n,6)}};function g(e){r.ez.pink=r.ez.magenta,r.Ti.pink=r.Ti.magenta;let t=Object.keys(o.M).map(t=>{let n=e[t]===r.ez[t]?r.Ti[t]:(0,r.R_)(e[t]);return Array(10).fill(1).reduce((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e),{})}).reduce((e,t)=>e=Object.assign(Object.assign({},e),t),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),(0,i.Z)(e,{generateColorPalettes:p,generateNeutralColorPalettes:m})),(0,c.Z)(e.fontSize)),u(e)),(0,s.Z)(e)),l(e))}},2790:function(e,t,n){"use strict";n.d(t,{M:()=>r,Z:()=>o});let r={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},o=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, -'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', -'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0})},57:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n(49585);function o(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:o}=t,{colorSuccess:i,colorWarning:a,colorError:l,colorInfo:s,colorPrimary:c,colorBgBase:u,colorTextBase:d}=e,f=n(c),h=n(i),p=n(a),m=n(l),g=n(s),v=o(u,d),b=n(e.colorLink||e.colorInfo),y=new r.C(m[1]).mix(new r.C(m[3]),50).toHexString();return Object.assign(Object.assign({},v),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:h[1],colorSuccessBgHover:h[2],colorSuccessBorder:h[3],colorSuccessBorderHover:h[4],colorSuccessHover:h[4],colorSuccess:h[6],colorSuccessActive:h[7],colorSuccessTextHover:h[8],colorSuccessText:h[9],colorSuccessTextActive:h[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgFilledHover:y,colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new r.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}},372:function(e,t,n){"use strict";n.d(t,{Z:()=>r});let r=e=>{let{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}},69594:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n(51734);let o=e=>{let t=(0,r.Z)(e),n=t.map(e=>e.size),o=t.map(e=>e.lineHeight),i=n[1],a=n[0],l=n[2],s=o[1],c=o[0],u=o[2];return{fontSizeSM:a,fontSize:i,fontSizeLG:l,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:u,lineHeightSM:c,fontHeight:Math.round(s*i),fontHeightLG:Math.round(u*l),fontHeightSM:Math.round(c*a),lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}}},51734:function(e,t,n){"use strict";function r(e){return(e+8)/e}function o(e){let t=Array(10).fill(null).map((t,n)=>{let r=e*Math.pow(Math.E,(n-1)/5);return 2*Math.floor((n>1?Math.floor(r):Math.ceil(r))/2)});return t[1]=e,t.map(e=>({size:e,lineHeight:r(e)}))}n.d(t,{D:()=>r,Z:()=>o})},29691:function(e,t,n){"use strict";n.d(t,{NJ:()=>d,ZP:()=>m});var r=n(81004),o=n.n(r),i=n(80271),a=n(64481),l=n(33083),s=n(2790),c=n(55948),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let d={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},f={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},h={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},p=(e,t,n)=>{let r=n.getDerivativeToken(e),{override:o}=t,i=u(t,["override"]),a=Object.assign(Object.assign({},r),{override:o});return a=(0,c.Z)(a),i&&Object.entries(i).forEach(e=>{let[t,n]=e,{theme:r}=n,o=u(n,["theme"]),i=o;r&&(i=p(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i}),a};function m(){let{token:e,hashed:t,theme:n,override:r,cssVar:u}=o().useContext(l.Mj),m=`${a.Z}-${t||""}`,g=n||l.uH,[v,b,y]=(0,i.fp)(g,[s.Z,e],{salt:m,override:r,getComputedToken:p,formatToken:c.Z,cssVar:u&&{prefix:u.prefix,key:u.key,unitless:d,ignore:f,preserve:h}});return[g,y,t?b:"",v,u]}},55948:function(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n(49585),o=n(2790);function i(e){return e>=0&&e<=255}let a=function(e,t){let{r:n,g:o,b:a,a:l}=new r.C(e).toRgb();if(l<1)return e;let{r:s,g:c,b:u}=new r.C(t).toRgb();for(let e=.01;e<=1;e+=.01){let t=Math.round((n-s*(1-e))/e),l=Math.round((o-c*(1-e))/e),d=Math.round((a-u*(1-e))/e);if(i(t)&&i(l)&&i(d))return new r.C({r:t,g:l,b:d,a:Math.round(100*e)/100}).toRgbString()}return new r.C({r:n,g:o,b:a,a:1}).toRgbString()};var l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function s(e){let{override:t}=e,n=l(e,["override"]),i=Object.assign({},t);Object.keys(o.Z).forEach(e=>{delete i[e]});let s=Object.assign(Object.assign({},n),i),c=480,u=576,d=768,f=992,h=1200,p=1600;if(!1===s.motion){let e="0s";s.motionDurationFast=e,s.motionDurationMid=e,s.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},s),{colorFillContent:s.colorFillSecondary,colorFillContentHover:s.colorFill,colorFillAlter:s.colorFillQuaternary,colorBgContainerDisabled:s.colorFillTertiary,colorBorderBg:s.colorBgContainer,colorSplit:a(s.colorBorderSecondary,s.colorBgContainer),colorTextPlaceholder:s.colorTextQuaternary,colorTextDisabled:s.colorTextQuaternary,colorTextHeading:s.colorText,colorTextLabel:s.colorTextSecondary,colorTextDescription:s.colorTextTertiary,colorTextLightSolid:s.colorWhite,colorHighlight:s.colorError,colorBgTextHover:s.colorFillSecondary,colorBgTextActive:s.colorFill,colorIcon:s.colorTextTertiary,colorIconHover:s.colorText,colorErrorOutline:a(s.colorErrorBg,s.colorBgContainer),colorWarningOutline:a(s.colorWarningBg,s.colorBgContainer),fontSizeIcon:s.fontSizeSM,lineWidthFocus:3*s.lineWidth,lineWidth:s.lineWidth,controlOutlineWidth:2*s.lineWidth,controlInteractiveSize:s.controlHeight/2,controlItemBgHover:s.colorFillTertiary,controlItemBgActive:s.colorPrimaryBg,controlItemBgActiveHover:s.colorPrimaryBgHover,controlItemBgActiveDisabled:s.colorFill,controlTmpOutline:s.colorFillQuaternary,controlOutline:a(s.colorPrimaryBg,s.colorBgContainer),lineType:s.lineType,borderRadius:s.borderRadius,borderRadiusXS:s.borderRadiusXS,borderRadiusSM:s.borderRadiusSM,borderRadiusLG:s.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:s.sizeXXS,paddingXS:s.sizeXS,paddingSM:s.sizeSM,padding:s.size,paddingMD:s.sizeMD,paddingLG:s.sizeLG,paddingXL:s.sizeXL,paddingContentHorizontalLG:s.sizeLG,paddingContentVerticalLG:s.sizeMS,paddingContentHorizontal:s.sizeMS,paddingContentVertical:s.sizeSM,paddingContentHorizontalSM:s.size,paddingContentVerticalSM:s.sizeXS,marginXXS:s.sizeXXS,marginXS:s.sizeXS,marginSM:s.sizeSM,margin:s.size,marginMD:s.sizeMD,marginLG:s.sizeLG,marginXL:s.sizeXL,marginXXL:s.sizeXXL,boxShadow:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowSecondary:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTertiary:` - 0 1px 2px 0 rgba(0, 0, 0, 0.03), - 0 1px 6px -1px rgba(0, 0, 0, 0.02), - 0 2px 4px 0 rgba(0, 0, 0, 0.02) - `,screenXS:c,screenXSMin:c,screenXSMax:u-1,screenSM:u,screenSMMin:u,screenSMMax:d-1,screenMD:d,screenMDMin:d,screenMDMax:f-1,screenLG:f,screenLGMin:f,screenLGMax:h-1,screenXL:h,screenXLMin:h,screenXLMax:p-1,screenXXL:p,screenXXLMin:p,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` - 0 1px 2px -2px ${new r.C("rgba(0, 0, 0, 0.16)").toRgbString()}, - 0 3px 6px 0 ${new r.C("rgba(0, 0, 0, 0.12)").toRgbString()}, - 0 5px 12px 4px ${new r.C("rgba(0, 0, 0, 0.09)").toRgbString()} - `,boxShadowDrawerRight:` - -6px 0 16px 0 rgba(0, 0, 0, 0.08), - -3px 0 6px -4px rgba(0, 0, 0, 0.12), - -9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerLeft:` - 6px 0 16px 0 rgba(0, 0, 0, 0.08), - 3px 0 6px -4px rgba(0, 0, 0, 0.12), - 9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerUp:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerDown:` - 0 -6px 16px 0 rgba(0, 0, 0, 0.08), - 0 -3px 6px -4px rgba(0, 0, 0, 0.12), - 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),i)}},98719:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n(8796);function o(e,t){return r.i.reduce((n,r)=>{let o=e[`${r}1`],i=e[`${r}3`],a=e[`${r}6`],l=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:l}))},{})}},83559:function(e,t,n){"use strict";n.d(t,{A1:()=>c,I$:()=>s,bk:()=>u});var r=n(81004),o=n(40326),i=n(53124),a=n(14747),l=n(29691);let{genStyleHooks:s,genComponentStyleHook:c,genSubStyleComponent:u}=(0,o.rb)({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:t}=(0,r.useContext)(i.E_);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{let[e,t,n,r,o]=(0,l.ZP)();return{theme:e,realToken:t,hashId:n,token:r,cssVar:o}},useCSP:()=>{let{csp:e}=(0,r.useContext)(i.E_);return null!=e?e:{}},getResetStyles:(e,t)=>{var n;return[{"&":(0,a.Lx)(e)},(0,a.JT)(null!=(n=null==t?void 0:t.prefix.iconPrefixCls)?n:i.oR)]},getCommonStyle:a.du,getCompUnitless:()=>l.NJ})},42115:function(e,t,n){"use strict";n.d(t,{Z:()=>r});let r={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},65049:function(e,t,n){"use strict";n.d(t,{Z:()=>T});var r=n(81004),o=n(58793),i=n.n(o),a=n(53844),l=n(21770),s=n(89942),c=n(87263),u=n(33603),d=n(80636),f=n(96159),h=n(27288),p=n(43945),m=n(53124),g=n(29691),v=n(80271),b=n(14747),y=n(50438),w=n(97414),x=n(79511),S=n(98719),k=n(40326),C=n(83559);let $=e=>{let{calc:t,componentCls:n,tooltipMaxWidth:r,tooltipColor:o,tooltipBg:i,tooltipBorderRadius:a,zIndexPopup:l,controlHeight:s,boxShadowSecondary:c,paddingSM:u,paddingXS:d,arrowOffsetHorizontal:f,sizePopupArrow:h}=e,p=t(a).add(h).add(f).equal(),m=t(a).mul(2).add(h).equal();return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,b.Wf)(e)),{position:"absolute",zIndex:l,display:"block",width:"max-content",maxWidth:r,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:"var(--valid-offset-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":i,[`${n}-inner`]:{minWidth:m,minHeight:s,padding:`${(0,v.bf)(e.calc(u).div(2).equal())} ${(0,v.bf)(d)}`,color:o,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:i,borderRadius:a,boxShadow:c,boxSizing:"border-box"},"&-placement-topLeft,&-placement-topRight,&-placement-bottomLeft,&-placement-bottomRight":{minWidth:p},"&-placement-left,&-placement-leftTop,&-placement-leftBottom,&-placement-right,&-placement-rightTop,&-placement-rightBottom":{[`${n}-inner`]:{borderRadius:e.min(a,w.qN)}},[`${n}-content`]:{position:"relative"}}),(0,S.Z)(e,(e,t)=>{let{darkColor:r}=t;return{[`&${n}-${e}`]:{[`${n}-inner`]:{backgroundColor:r},[`${n}-arrow`]:{"--antd-arrow-background-color":r}}}})),{"&-rtl":{direction:"rtl"}})},(0,w.ZP)(e,"var(--antd-arrow-background-color)"),{[`${n}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},E=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},(0,w.wZ)({contentRadius:e.borderRadius,limitVerticalRadius:!0})),(0,x.w)((0,k.IX)(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),O=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,C.I$)("Tooltip",e=>{let{borderRadius:t,colorTextLightSolid:n,colorBgSpotlight:r}=e;return[$((0,k.IX)(e,{tooltipMaxWidth:250,tooltipColor:n,tooltipBorderRadius:t,tooltipBg:r})),(0,y._y)(e,"zoom-big-fast")]},E,{resetStyle:!1,injectStyle:t})(e)};var M=n(98787);function I(e,t){let n=(0,M.o2)(t),r=i()({[`${e}-${t}`]:t&&n}),o={},a={};return t&&!n&&(o.background=t,a["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:a}}let N=e=>{let{prefixCls:t,className:n,placement:o="top",title:l,color:s,overlayInnerStyle:c}=e,{getPrefixCls:u}=r.useContext(m.E_),d=u("tooltip",t),[f,h,p]=O(d),g=I(d,s),v=g.arrowStyle,b=Object.assign(Object.assign({},c),g.overlayStyle),y=i()(h,p,d,`${d}-pure`,`${d}-placement-${o}`,n,g.className);return f(r.createElement("div",{className:y,style:v},r.createElement("div",{className:`${d}-arrow`}),r.createElement(a.G,Object.assign({},e,{className:h,prefixCls:d,overlayInnerStyle:b}),l)))};var Z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let R=r.forwardRef((e,t)=>{var n,o;let{prefixCls:v,openClassName:b,getTooltipContainer:y,overlayClassName:w,color:x,overlayInnerStyle:S,children:k,afterOpenChange:C,afterVisibleChange:$,destroyTooltipOnHide:E,arrow:M=!0,title:N,overlay:R,builtinPlacements:T,arrowPointAtCenter:P=!1,autoAdjustOverflow:j=!0}=e,A=!!M,[,D]=(0,g.ZP)(),{getPopupContainer:_,getPrefixCls:z,direction:L}=r.useContext(m.E_),B=(0,h.ln)("Tooltip"),H=r.useRef(null),F=()=>{var e;null==(e=H.current)||e.forceAlign()};r.useImperativeHandle(t,()=>{var e;return{forceAlign:F,forcePopupAlign:()=>{B.deprecated(!1,"forcePopupAlign","forceAlign"),F()},nativeElement:null==(e=H.current)?void 0:e.nativeElement}});let[W,V]=(0,l.Z)(!1,{value:null!=(n=e.open)?n:e.visible,defaultValue:null!=(o=e.defaultOpen)?o:e.defaultVisible}),q=!N&&!R&&0!==N,K=t=>{var n,r;V(!q&&t),q||(null==(n=e.onOpenChange)||n.call(e,t),null==(r=e.onVisibleChange)||r.call(e,t))},X=r.useMemo(()=>{var e,t;let n=P;return"object"==typeof M&&(n=null!=(t=null!=(e=M.pointAtCenter)?e:M.arrowPointAtCenter)?t:P),T||(0,d.Z)({arrowPointAtCenter:n,autoAdjustOverflow:j,arrowWidth:A?D.sizePopupArrow:0,borderRadius:D.borderRadius,offset:D.marginXXS,visibleFirst:!0})},[P,M,T,D]),U=r.useMemo(()=>0===N?N:R||N||"",[R,N]),G=r.createElement(s.Z,{space:!0},"function"==typeof U?U():U),{getPopupContainer:Y,placement:Q="top",mouseEnterDelay:J=.1,mouseLeaveDelay:ee=.1,overlayStyle:et,rootClassName:en}=e,er=Z(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),eo=z("tooltip",v),ei=z(),ea=e["data-popover-inject"],el=W;"open"in e||"visible"in e||!q||(el=!1);let es=r.isValidElement(k)&&!(0,f.M2)(k)?k:r.createElement("span",null,k),ec=es.props,eu=ec.className&&"string"!=typeof ec.className?ec.className:i()(ec.className,b||`${eo}-open`),[ed,ef,eh]=O(eo,!ea),ep=I(eo,x),em=ep.arrowStyle,eg=Object.assign(Object.assign({},S),ep.overlayStyle),ev=i()(w,{[`${eo}-rtl`]:"rtl"===L},ep.className,en,ef,eh),[eb,ey]=(0,c.Cn)("Tooltip",er.zIndex),ew=r.createElement(a.Z,Object.assign({},er,{zIndex:eb,showArrow:A,placement:Q,mouseEnterDelay:J,mouseLeaveDelay:ee,prefixCls:eo,overlayClassName:ev,overlayStyle:Object.assign(Object.assign({},em),et),getTooltipContainer:Y||y||_,ref:H,builtinPlacements:X,overlay:G,visible:el,onVisibleChange:K,afterVisibleChange:null!=C?C:$,overlayInnerStyle:eg,arrowContent:r.createElement("span",{className:`${eo}-arrow-content`}),motion:{motionName:(0,u.m)(ei,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!E}),el?(0,f.Tm)(es,{className:eu}):es);return ed(r.createElement(p.Z.Provider,{value:ey},ew))});R._InternalPanelDoNotUseOrYouWillBeFired=N;let T=R},67115:function(e,t,n){"use strict";n.d(t,{Z:()=>A});var r=n(98477),o=n(81004),i=n(16019);let a={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}}]}},name:"file",theme:"twotone"};var l=n(64632),s=function(e,t){return o.createElement(l.Z,(0,i.Z)({},e,{ref:t,icon:a}))};let c=o.forwardRef(s);var u=n(45540);let d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};var f=function(e,t){return o.createElement(l.Z,(0,i.Z)({},e,{ref:t,icon:d}))};let h=o.forwardRef(f),p={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:e}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:t}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:t}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:t}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:e}}]}},name:"picture",theme:"twotone"};var m=function(e,t){return o.createElement(l.Z,(0,i.Z)({},e,{ref:t,icon:p}))};let g=o.forwardRef(m);var v=n(58793),b=n.n(v),y=n(54490),w=n(98423),x=n(57838),S=n(33603),k=n(96159),C=n(13754),$=n(53124),E=n(12766),O=n(59840);let M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};var I=function(e,t){return o.createElement(l.Z,(0,i.Z)({},e,{ref:t,icon:M}))};let N=o.forwardRef(I);var Z=n(29567),R=n(6672),T=n(65049);let P=o.forwardRef((e,t)=>{var n,r;let{prefixCls:i,className:a,style:l,locale:s,listType:c,file:u,items:d,progress:f,iconRender:h,actionIconRender:p,itemRender:m,isImgUrl:g,showPreviewIcon:v,showRemoveIcon:w,showDownloadIcon:x,previewIcon:S,removeIcon:k,downloadIcon:C,extra:E,onPreview:M,onDownload:I,onClose:P}=e,{status:j}=u,[A,D]=o.useState(j);o.useEffect(()=>{"removed"!==j&&D(j)},[j]);let[_,z]=o.useState(!1);o.useEffect(()=>{let e=setTimeout(()=>{z(!0)},300);return()=>{clearTimeout(e)}},[]);let L=h(u),B=o.createElement("div",{className:`${i}-icon`},L);if("picture"===c||"picture-card"===c||"picture-circle"===c)if("uploading"!==A&&(u.thumbUrl||u.url)){let e=(null==g?void 0:g(u))?o.createElement("img",{src:u.thumbUrl||u.url,alt:u.name,className:`${i}-list-item-image`,crossOrigin:u.crossOrigin}):L,t=b()(`${i}-list-item-thumbnail`,{[`${i}-list-item-file`]:g&&!g(u)});B=o.createElement("a",{className:t,onClick:e=>M(u,e),href:u.url||u.thumbUrl,target:"_blank",rel:"noopener noreferrer"},e)}else{let e=b()(`${i}-list-item-thumbnail`,{[`${i}-list-item-file`]:"uploading"!==A});B=o.createElement("div",{className:e},L)}let H=b()(`${i}-list-item`,`${i}-list-item-${A}`),F="string"==typeof u.linkProps?JSON.parse(u.linkProps):u.linkProps,W=("function"==typeof w?w(u):w)?p(("function"==typeof k?k(u):k)||o.createElement(O.Z,null),()=>P(u),i,s.removeFile,!0):null,V=("function"==typeof x?x(u):x)&&"done"===A?p(("function"==typeof C?C(u):C)||o.createElement(N,null),()=>I(u),i,s.downloadFile):null,q="picture-card"!==c&&"picture-circle"!==c&&o.createElement("span",{key:"download-delete",className:b()(`${i}-list-item-actions`,{picture:"picture"===c})},V,W),K="function"==typeof E?E(u):E,X=K&&o.createElement("span",{className:`${i}-list-item-extra`},K),U=b()(`${i}-list-item-name`),G=u.url?o.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:U,title:u.name},F,{href:u.url,onClick:e=>M(u,e)}),u.name,X):o.createElement("span",{key:"view",className:U,onClick:e=>M(u,e),title:u.name},u.name,X),Y=("function"==typeof v?v(u):v)&&(u.url||u.thumbUrl)?o.createElement("a",{href:u.url||u.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:e=>M(u,e),title:s.previewFile},"function"==typeof S?S(u):S||o.createElement(Z.Z,null)):null,Q=("picture-card"===c||"picture-circle"===c)&&"uploading"!==A&&o.createElement("span",{className:`${i}-list-item-actions`},Y,"done"===A&&V,W),{getPrefixCls:J}=o.useContext($.E_),ee=J(),et=o.createElement("div",{className:H},B,G,q,Q,_&&o.createElement(y.ZP,{motionName:`${ee}-fade`,visible:"uploading"===A,motionDeadline:2e3},e=>{let{className:t}=e,n="percent"in u?o.createElement(R.Z,Object.assign({},f,{type:"line",percent:u.percent,"aria-label":u["aria-label"],"aria-labelledby":u["aria-labelledby"]})):null;return o.createElement("div",{className:b()(`${i}-list-item-progress`,t)},n)})),en=u.response&&"string"==typeof u.response?u.response:(null==(n=u.error)?void 0:n.statusText)||(null==(r=u.error)?void 0:r.message)||s.uploadError,er="error"===A?o.createElement(T.Z,{title:en,getPopupContainer:e=>e.parentNode},et):et;return o.createElement("div",{className:b()(`${i}-list-item-container`,a),style:l,ref:t},m?m(er,u,d,{download:I.bind(null,u),preview:M.bind(null,u),remove:P.bind(null,u)}):er)}),j=(e,t)=>{let{listType:n="text",previewFile:i=E.EO,onPreview:a,onDownload:l,onRemove:s,locale:d,iconRender:f,isImageUrl:p=E.hU,prefixCls:m,items:v=[],showPreviewIcon:O=!0,showRemoveIcon:M=!0,showDownloadIcon:I=!1,removeIcon:N,previewIcon:Z,downloadIcon:R,extra:T,progress:j={size:[-1,2],showInfo:!1},appendAction:A,appendActionVisible:D=!0,itemRender:_,disabled:z}=e,L=(0,x.Z)(),[B,H]=o.useState(!1),F=["picture-card","picture-circle"].includes(n);o.useEffect(()=>{n.startsWith("picture")&&(v||[]).forEach(e=>{(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",null==i||i(e.originFileObj).then(t=>{e.thumbUrl=t||"",L()}))})},[n,v,i]),o.useEffect(()=>{H(!0)},[]);let W=(e,t)=>{if(a)return null==t||t.preventDefault(),a(e)},V=e=>{"function"==typeof l?l(e):e.url&&window.open(e.url)},q=e=>{null==s||s(e)},K=e=>{if(f)return f(e,n);let t="uploading"===e.status;if(n.startsWith("picture")){let r="picture"===n?o.createElement(u.Z,null):d.uploading,i=(null==p?void 0:p(e))?o.createElement(g,null):o.createElement(c,null);return t?r:i}return t?o.createElement(u.Z,null):o.createElement(h,null)},X=(e,t,n,r,i)=>{let a={type:"text",size:"small",title:r,onClick:n=>{var r,i;t(),o.isValidElement(e)&&(null==(i=(r=e.props).onClick)||i.call(r,n))},className:`${n}-list-item-action`};return i&&(a.disabled=z),o.isValidElement(e)?o.createElement(C.ZP,Object.assign({},a,{icon:(0,k.Tm)(e,Object.assign(Object.assign({},e.props),{onClick:()=>{}}))})):o.createElement(C.ZP,Object.assign({},a),o.createElement("span",null,e))};o.useImperativeHandle(t,()=>({handlePreview:W,handleDownload:V}));let{getPrefixCls:U}=o.useContext($.E_),G=U("upload",m),Y=U(),Q=b()(`${G}-list`,`${G}-list-${n}`),J=o.useMemo(()=>(0,w.Z)((0,S.Z)(Y),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[Y]),ee=Object.assign(Object.assign({},F?{}:J),{motionDeadline:2e3,motionName:`${G}-${F?"animate-inline":"animate"}`,keys:(0,r.Z)(v.map(e=>({key:e.uid,file:e}))),motionAppear:B});return o.createElement("div",{className:Q},o.createElement(y.V4,Object.assign({},ee,{component:!1}),e=>{let{key:t,file:r,className:i,style:a}=e;return o.createElement(P,{key:t,locale:d,prefixCls:G,className:i,style:a,file:r,items:v,progress:j,listType:n,isImgUrl:p,showPreviewIcon:O,showRemoveIcon:M,showDownloadIcon:I,removeIcon:N,previewIcon:Z,downloadIcon:R,extra:T,iconRender:K,actionIconRender:X,itemRender:_,onPreview:W,onDownload:V,onClose:q})}),A&&o.createElement(y.ZP,Object.assign({},ee,{visible:D,forceRender:!0}),e=>{let{className:t,style:n}=e;return(0,k.Tm)(A,e=>({className:b()(e.className,t),style:Object.assign(Object.assign(Object.assign({},n),{pointerEvents:t?"none":void 0}),e.style)}))}))},A=o.forwardRef(j)},12766:function(e,t,n){"use strict";n.d(t,{EO:()=>f,L4:()=>a,Og:()=>i,XO:()=>l,ZF:()=>o,hU:()=>u});var r=n(98477);function o(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function i(e,t){let n=(0,r.Z)(t),o=n.findIndex(t=>{let{uid:n}=t;return n===e.uid});return -1===o?n.push(e):n[o]=e,n}function a(e,t){let n=void 0!==e.uid?"uid":"name";return t.filter(t=>t[n]===e[n])[0]}function l(e,t){let n=void 0!==e.uid?"uid":"name",r=t.filter(t=>t[n]!==e[n]);return r.length===t.length?null:r}let s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[""])[0]},c=e=>0===e.indexOf("image/"),u=e=>{if(e.type&&!e.thumbUrl)return c(e.type);let t=e.thumbUrl||e.url||"",n=s(t);return!!(/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n))||!/^data:/.test(t)&&!n},d=200;function f(e){return new Promise(t=>{if(!e.type||!c(e.type))return void t("");let n=document.createElement("canvas");n.width=d,n.height=d,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${d}px; height: ${d}px; z-index: 9999; display: none;`,document.body.appendChild(n);let r=n.getContext("2d"),o=new Image;if(o.onload=()=>{let{width:e,height:i}=o,a=d,l=d,s=0,c=0;e>i?c=-((l=d/e*i)-a)/2:s=-((a=d/i*e)-l)/2,r.drawImage(o,s,c,a,l);let u=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(o.src),t(u)},o.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){let t=new FileReader;t.onload=()=>{t.result&&"string"==typeof t.result&&(o.src=t.result)},t.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){let n=new FileReader;n.onload=()=>{n.result&&t(n.result)},n.readAsDataURL(e)}else o.src=window.URL.createObjectURL(e)})}},64481:function(e,t,n){"use strict";n.d(t,{Z:()=>r});let r="5.22.7"},20640:function(e,t,n){"use strict";var r=n(11742),o={"text/plain":"Text","text/html":"Url",default:"Text"},i="Copy to clipboard: #{key}, Enter";function a(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}e.exports=function(e,t){var n,l,s,c,u,d,f=!1;t||(t={}),n=t.debug||!1;try{if(s=r(),c=document.createRange(),u=document.getSelection(),(d=document.createElement("span")).textContent=e,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))}),document.body.appendChild(d),c.selectNodeContents(d),u.addRange(c),!document.execCommand("copy"))throw Error("copy command was unsuccessful");f=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),f=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),l=a("message"in t?t.message:i),window.prompt(l,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(c):u.removeAllRanges()),d&&document.body.removeChild(d),s()}return f}},27484:function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",i="minute",a="hour",l="day",s="week",c="month",u="quarter",d="year",f="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},b={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(o,2,"0")},m:function e(t,n){if(t.date()1)return e(a[0])}else{var l=t.name;w[l]=t,o=l}return!r&&o&&(y=o),o||!r&&y},C=function(e,t){if(S(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new E(n)},$=b;$.l=k,$.i=S,$.w=function(e,t){return C(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=k(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var v=g.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if($.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(p);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return $},v.isValid=function(){return this.$d.toString()!==h},v.isSame=function(e,t){var n=C(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return C(e)68?1900:2e3)},s=function(e){return function(t){this[e]=+t}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e||"Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],u=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=a.meridiem;if(r){for(var o=1;o<=24;o+=1)if(e.indexOf(r(o,0,t))>-1){n=o>12;break}}else n=e===(t?"pm":"PM");return n},f={A:[i,function(e){this.afternoon=d(e,!1)}],a:[i,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[o,s("seconds")],ss:[o,s("seconds")],m:[o,s("minutes")],mm:[o,s("minutes")],H:[o,s("hours")],h:[o,s("hours")],HH:[o,s("hours")],hh:[o,s("hours")],D:[o,s("day")],DD:[r,s("day")],Do:[i,function(e){var t=a.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],w:[o,s("week")],ww:[r,s("week")],M:[o,s("month")],MM:[r,s("month")],MMM:[i,function(e){var t=u("months"),n=(u("monthsShort")||t.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[i,function(e){var t=u("months").indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,s("year")],YY:[r,function(e){this.year=l(e)}],YYYY:[/\d{4}/,s("year")],Z:c,ZZ:c};function h(n){var r,o;r=n,o=a&&a.formats;for(var i=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,n,r){var i=r&&r.toUpperCase();return n||o[r]||e[r]||o[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})})).match(t),l=i.length,s=0;s-1)return new Date(("X"===t?1e3:1)*e);var o=h(t)(e),i=o.year,a=o.month,l=o.day,s=o.hours,c=o.minutes,u=o.seconds,d=o.milliseconds,f=o.zone,p=o.week,m=new Date,g=l||(i||a?1:m.getDate()),v=i||m.getFullYear(),b=0;i&&!a||(b=a>0?a-1:m.getMonth());var y,w=s||0,x=c||0,S=u||0,k=d||0;return f?new Date(Date.UTC(v,b,g,w,x,S,k+60*f.offset*1e3)):n?new Date(Date.UTC(v,b,g,w,x,S,k)):(y=new Date(v,b,g,w,x,S,k),p&&(y=r(y).week(p).toDate()),y)}catch(e){return new Date("")}}(t,l,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(l)&&(this.$d=new Date("")),a={}}else if(l instanceof Array)for(var f=l.length,p=1;p<=f;p+=1){i[1]=l[p-1];var m=n.apply(this,i);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}p===f&&(this.$d=new Date(""))}else o.call(this,e)}}})},96036:function(e){!function(t,n){e.exports=n()}(0,function(){return function(e,t,n){var r=t.prototype,o=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,n,r,i){var a=e.name?e:e.$locale(),l=o(a[t]),s=o(a[n]),c=l||s.map(function(e){return e.slice(0,r)});if(!i)return c;var u=a.weekStart;return c.map(function(e,t){return c[(t+(u||0))%7]})},a=function(){return n.Ls[n.locale()]},l=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})}(e.formats[t.toUpperCase()])},s=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return l(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return s.bind(this)()},n.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return l(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return i(a(),"months")},n.monthsShort=function(){return i(a(),"monthsShort","months",3)},n.weekdays=function(e){return i(a(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return i(a(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return i(a(),"weekdaysMin","weekdays",2,e)}}})},55183:function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";var e="week",t="year";return function(n,r,o){var i=r.prototype;i.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var i=o(this).startOf(t).add(1,t).date(r),a=o(this).endOf(e);if(i.isBefore(a))return 1}var l=o(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),s=this.diff(l,e,!0);return s<0?o(this).startOf("week").week():Math.ceil(s)},i.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}})},172:function(e){!function(t,n){e.exports=n()}(0,function(){return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return 1===t&&11===e?n+1:0===e&&t>=52?n-1:n}}})},6833:function(e){!function(t,n){e.exports=n()}(0,function(){return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(neP,zb:()=>S,gN:()=>eT,ZM:()=>k,qo:()=>eG,RV:()=>eW,cI:()=>eH,ZP:()=>eQ});var r,o=n(81004),i=n(16019),a=n(77354),l=n(76887),s=n(11954),c=n(50324),u=n(98477),d=n(46932),f=n(89526),h=n(64222),p=n(26238),m=n(90015),g=n(17508),v=n(50344),b=n(91881),y=n(80334),w="RC_FORM_INTERNAL_HOOKS",x=function(){(0,y.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")};let S=o.createContext({getFieldValue:x,getFieldsValue:x,getFieldError:x,getFieldWarning:x,getFieldsError:x,isFieldsTouched:x,isFieldTouched:x,isFieldValidating:x,isFieldsValidating:x,resetFields:x,setFields:x,setFieldValue:x,setFieldsValue:x,validateFields:x,submit:x,getInternalHooks:function(){return x(),{dispatch:x,initEntityValue:x,registerField:x,useSubscribe:x,setInitialValues:x,destroyForm:x,setCallbacks:x,registerWatch:x,getFields:x,setValidateMessages:x,setPreserve:x,getInitialValue:x}}}),k=o.createContext(null);function C(e){return null==e?[]:Array.isArray(e)?e:[e]}function $(e){return e&&!!e._init}var E=n(58133);function O(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var M=O(),I=n(28446),N=n(86143);function Z(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}var R=n(87230);function T(e,t,n){if((0,R.Z)())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&(0,N.Z)(o,n.prototype),o}function P(e){var t="function"==typeof Map?new Map:void 0;return(P=function(e){if(null===e||!Z(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return T(e,arguments,(0,I.Z)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,N.Z)(n,e)})(e)}var j=/%[sdj%]/g,A=function(){};function D(e){if(!e||!e.length)return null;var t={};return e.forEach(function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)}),t}function _(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(e){return"[Circular]"}default:return e}}):e}function z(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}function L(e,t){return!!(null==e||"array"===t&&Array.isArray(e)&&!e.length||z(t)&&"string"==typeof e&&!e)}function B(e,t,n){var r=[],o=0,i=e.length;function a(e){r.push.apply(r,(0,u.Z)(e||[])),++o===i&&n(r)}e.forEach(function(e){t(e,a)})}function H(e,t,n){var r=0,o=e.length;function i(a){if(a&&a.length)return void n(a);var l=r;r+=1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},ee={integer:function(e){return ee.number(e)&&parseInt(e,10)===e},float:function(e){return ee.number(e)&&!ee.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return new RegExp(e),!0}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(0,E.Z)(e)&&!ee.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(J.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(Q())},hex:function(e){return"string"==typeof e&&!!e.match(J.hex)}};let et=function(e,t,n,r,o){if(e.required&&void 0===t)return void Y(e,t,n,r,o);var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=e.type;i.indexOf(a)>-1?ee[a](t)||r.push(_(o.messages.types[a],e.fullField,e.type)):a&&(0,E.Z)(t)!==e.type&&r.push(_(o.messages.types[a],e.fullField,e.type))},en={required:Y,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(_(o.messages.whitespace,e.fullField))},type:et,range:function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,l="number"==typeof e.max,s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,u=null,d="number"==typeof t,f="string"==typeof t,h=Array.isArray(t);if(d?u="number":f?u="string":h&&(u="array"),!u)return!1;h&&(c=t.length),f&&(c=t.replace(s,"_").length),i?c!==e.len&&r.push(_(o.messages[u].len,e.fullField,e.len)):a&&!l&&ce.max?r.push(_(o.messages[u].max,e.fullField,e.max)):a&&l&&(ce.max)&&r.push(_(o.messages[u].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[G]=Array.isArray(e[G])?e[G]:[],-1===e[G].indexOf(t)&&r.push(_(o.messages[G],e.fullField,e[G].join(", ")))},pattern:function(e,t,n,r,o){e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(_(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"==typeof e.pattern&&(new RegExp(e.pattern).test(t)||r.push(_(o.messages.pattern.mismatch,e.fullField,t,e.pattern))))}};var er="enum";let eo=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(L(t,i)&&!e.required)return n();en.required(e,t,r,a,o,i),L(t,i)||en.type(e,t,r,a,o)}n(a)},ei={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(L(t,"string")&&!e.required)return n();en.required(e,t,r,i,o,"string"),L(t,"string")||(en.type(e,t,r,i,o),en.range(e,t,r,i,o),en.pattern(e,t,r,i,o),!0===e.whitespace&&en.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(L(t)&&!e.required)return n();en.required(e,t,r,i,o),void 0!==t&&en.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),L(t)&&!e.required)return n();en.required(e,t,r,i,o),void 0!==t&&(en.type(e,t,r,i,o),en.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(L(t)&&!e.required)return n();en.required(e,t,r,i,o),void 0!==t&&en.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(L(t)&&!e.required)return n();en.required(e,t,r,i,o),L(t)||en.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(L(t)&&!e.required)return n();en.required(e,t,r,i,o),void 0!==t&&(en.type(e,t,r,i,o),en.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(L(t)&&!e.required)return n();en.required(e,t,r,i,o),void 0!==t&&(en.type(e,t,r,i,o),en.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();en.required(e,t,r,i,o,"array"),null!=t&&(en.type(e,t,r,i,o),en.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(L(t)&&!e.required)return n();en.required(e,t,r,i,o),void 0!==t&&en.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(L(t)&&!e.required)return n();en.required(e,t,r,i,o),void 0!==t&&en[er](e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(L(t,"string")&&!e.required)return n();en.required(e,t,r,i,o),L(t,"string")||en.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(L(t,"date")&&!e.required)return n();en.required(e,t,r,a,o),!L(t,"date")&&(i=t instanceof Date?t:new Date(t),en.type(e,i,r,a,o),i&&en.range(e,i.getTime(),r,a,o))}n(a)},url:eo,hex:eo,email:eo,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":(0,E.Z)(t);en.required(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(L(t)&&!e.required)return n();en.required(e,t,r,i,o)}n(i)}};var ea=function(){function e(t){(0,d.Z)(this,e),(0,g.Z)(this,"rules",null),(0,g.Z)(this,"_messages",M),this.define(t)}return(0,f.Z)(e,[{key:"define",value:function(e){var t=this;if(!e)throw Error("Cannot configure a schema with no rules");if("object"!==(0,E.Z)(e)||Array.isArray(e))throw Error("Rules must be an object");this.rules={},Object.keys(e).forEach(function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]})}},{key:"messages",value:function(e){return e&&(this._messages=U(O(),e)),this._messages}},{key:"validate",value:function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},i=t,a=r,l=o;if("function"==typeof a&&(l=a,a={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(null,i),Promise.resolve(i);function s(e){var t=[],n={};function r(e){if(Array.isArray(e)){var n;t=(n=t).concat.apply(n,(0,u.Z)(e))}else t.push(e)}for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:[],o=Array.isArray(r)?r:[r];!a.suppressWarning&&o.length&&e.warning("async-validator:",o),o.length&&void 0!==s.message&&(o=[].concat(s.message));var l=o.map(X(s,i));if(a.first&&l.length)return h[s.field]=1,n(l);if(d){if(s.required&&!t.value)return void 0!==s.message?l=[].concat(s.message).map(X(s,i)):a.error&&(l=[a.error(s,_(a.messages.required,s.field))]),n(l);var p={};s.defaultField&&Object.keys(t.value).map(function(e){p[e]=s.defaultField});var m={};Object.keys(p=(0,c.Z)((0,c.Z)({},p),t.rule.fields)).forEach(function(e){var t=p[e],n=Array.isArray(t)?t:[t];m[e]=n.map(f.bind(null,e))});var g=new e(m);g.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),g.validate(t.value,t.rule.options||a,function(e){var t=[];l&&l.length&&t.push.apply(t,(0,u.Z)(l)),e&&e.length&&t.push.apply(t,(0,u.Z)(e)),n(t.length?t:null)})}else n(l)}if(d=d&&(s.required||!s.required&&t.value),s.field=t.field,s.asyncValidator)r=s.asyncValidator(s,t.value,p,t.source,a);else if(s.validator){try{r=s.validator(s,t.value,p,t.source,a)}catch(e){null==(o=(l=console).error)||o.call(l,e),a.suppressValidatorError||setTimeout(function(){throw e},0),p(e.message)}!0===r?p():!1===r?p("function"==typeof s.message?s.message(s.fullField||s.field):s.message||"".concat(s.fullField||s.field," fails")):r instanceof Array?p(r):r instanceof Error&&p(r.message)}r&&r.then&&r.then(function(){return p()},function(e){return p(e)})},function(e){s(e)},i)}},{key:"getType",value:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!ei.hasOwnProperty(e.type))throw Error(_("Unknown rule type %s",e.type));return e.type||"string"}},{key:"getValidationMethod",value:function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return(-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0])?ei.required:ei[this.getType(e)]||void 0}}]),e}();(0,g.Z)(ea,"register",function(e,t){if("function"!=typeof t)throw Error("Cannot register a validator by type, validator is not a function");ei[e]=t}),(0,g.Z)(ea,"warning",A),(0,g.Z)(ea,"messages",M),(0,g.Z)(ea,"validators",ei);let el=ea;var es="'${name}' is not a valid ${type}",ec={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:es,method:es,array:es,object:es,number:es,date:es,boolean:es,integer:es,float:es,regexp:es,email:es,url:es,hex:es},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},eu=n(8880),ed=el;function ef(e,t){return e.replace(/\\?\$\{\w+\}/g,function(e){return e.startsWith("\\")?e.slice(1):t[e.slice(2,-1)]})}var eh="CODE_LOGIC_ERROR";function ep(e,t,n,r,o){return em.apply(this,arguments)}function em(){return(em=(0,s.Z)((0,l.Z)().mark(function e(t,n,r,i,a){var s,d,f,h,p,m,v,b,y;return(0,l.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(0,c.Z)({},r),delete s.ruleIndex,ed.warning=function(){},s.validator&&(d=s.validator,s.validator=function(){try{return d.apply(void 0,arguments)}catch(e){return console.error(e),Promise.reject(eh)}}),f=null,s&&"array"===s.type&&s.defaultField&&(f=s.defaultField,delete s.defaultField),h=new ed((0,g.Z)({},t,[s])),p=(0,eu.T)(ec,i.validateMessages),h.messages(p),m=[],e.prev=10,e.next=13,Promise.resolve(h.validate((0,g.Z)({},t,n),(0,c.Z)({},i)));case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(10),e.t0.errors&&(m=e.t0.errors.map(function(e,t){var n=e.message,r=n===eh?p.default:n;return o.isValidElement(r)?o.cloneElement(r,{key:"error_".concat(t)}):r}));case 18:if(!(!m.length&&f)){e.next=23;break}return e.next=21,Promise.all(n.map(function(e,n){return ep("".concat(t,".").concat(n),e,f,i,a)}));case 21:return v=e.sent,e.abrupt("return",v.reduce(function(e,t){return[].concat((0,u.Z)(e),(0,u.Z)(t))},[]));case 23:return b=(0,c.Z)((0,c.Z)({},r),{},{name:t,enum:(r.enum||[]).join(", ")},a),y=m.map(function(e){return"string"==typeof e?ef(e,b):e}),e.abrupt("return",y);case 26:case"end":return e.stop()}},e,null,[[10,15]])}))).apply(this,arguments)}function eg(e,t,n,r,o,i){var a,u=e.join("."),d=n.map(function(e,t){var n=e.validator,r=(0,c.Z)((0,c.Z)({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var o=!1,i=n(e,t,function(){for(var e=arguments.length,t=Array(e),n=0;n2&&void 0!==arguments[2]&&arguments[2];return e&&e.some(function(e){return e$(t,e,n)})}function e$(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!e&&!!t&&(!!n||e.length===t.length)&&t.every(function(t,n){return e[n]===t})}function eE(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||"object"!==(0,E.Z)(e)||"object"!==(0,E.Z)(t))return!1;var n=new Set([].concat(Object.keys(e),Object.keys(t)));return(0,u.Z)(n).every(function(n){var r=e[n],o=t[n];return"function"==typeof r&&"function"==typeof o||r===o})}function eO(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,E.Z)(t.target)&&e in t.target?t.target[e]:t}function eM(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat((0,u.Z)(e.slice(0,n)),[o],(0,u.Z)(e.slice(n,t)),(0,u.Z)(e.slice(t+1,r))):i<0?[].concat((0,u.Z)(e.slice(0,t)),(0,u.Z)(e.slice(t+1,n+1)),[o],(0,u.Z)(e.slice(n+1,r))):e}var eI=["name"],eN=[];function eZ(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var eR=function(e){(0,p.Z)(n,e);var t=(0,m.Z)(n);function n(e){var r;return(0,d.Z)(this,n),r=t.call(this,e),(0,g.Z)((0,h.Z)(r),"state",{resetCount:0}),(0,g.Z)((0,h.Z)(r),"cancelRegisterFunc",null),(0,g.Z)((0,h.Z)(r),"mounted",!1),(0,g.Z)((0,h.Z)(r),"touched",!1),(0,g.Z)((0,h.Z)(r),"dirty",!1),(0,g.Z)((0,h.Z)(r),"validatePromise",void 0),(0,g.Z)((0,h.Z)(r),"prevValidating",void 0),(0,g.Z)((0,h.Z)(r),"errors",eN),(0,g.Z)((0,h.Z)(r),"warnings",eN),(0,g.Z)((0,h.Z)(r),"cancelRegister",function(){var e=r.props,t=e.preserve,n=e.isListField,o=e.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(n,t,eS(o)),r.cancelRegisterFunc=null}),(0,g.Z)((0,h.Z)(r),"getNamePath",function(){var e=r.props,t=e.name,n=e.fieldContext.prefixName,o=void 0===n?[]:n;return void 0!==t?[].concat((0,u.Z)(o),(0,u.Z)(t)):[]}),(0,g.Z)((0,h.Z)(r),"getRules",function(){var e=r.props,t=e.rules,n=void 0===t?[]:t,o=e.fieldContext;return n.map(function(e){return"function"==typeof e?e(o):e})}),(0,g.Z)((0,h.Z)(r),"refresh",function(){r.mounted&&r.setState(function(e){return{resetCount:e.resetCount+1}})}),(0,g.Z)((0,h.Z)(r),"metaCache",null),(0,g.Z)((0,h.Z)(r),"triggerMetaEvent",function(e){var t=r.props.onMetaChange;if(t){var n=(0,c.Z)((0,c.Z)({},r.getMeta()),{},{destroy:e});(0,b.Z)(r.metaCache,n)||t(n),r.metaCache=n}else r.metaCache=null}),(0,g.Z)((0,h.Z)(r),"onStoreChange",function(e,t,n){var o=r.props,i=o.shouldUpdate,a=o.dependencies,l=void 0===a?[]:a,s=o.onReset,c=n.store,u=r.getNamePath(),d=r.getValue(e),f=r.getValue(c),h=t&&eC(t,u);switch("valueUpdate"===n.type&&"external"===n.source&&!(0,b.Z)(d,f)&&(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=eN,r.warnings=eN,r.triggerMetaEvent()),n.type){case"reset":if(!t||h){r.touched=!1,r.dirty=!1,r.validatePromise=void 0,r.errors=eN,r.warnings=eN,r.triggerMetaEvent(),null==s||s(),r.refresh();return}break;case"remove":if(i&&eZ(i,e,c,d,f,n))return void r.reRender();break;case"setField":var p=n.data;if(h){"touched"in p&&(r.touched=p.touched),"validating"in p&&!("originRCField"in p)&&(r.validatePromise=p.validating?Promise.resolve([]):null),"errors"in p&&(r.errors=p.errors||eN),"warnings"in p&&(r.warnings=p.warnings||eN),r.dirty=!0,r.triggerMetaEvent(),r.reRender();return}if("value"in p&&eC(t,u,!0)||i&&!u.length&&eZ(i,e,c,d,f,n))return void r.reRender();break;case"dependenciesUpdate":if(l.map(eS).some(function(e){return eC(n.relatedFields,e)}))return void r.reRender();break;default:if(h||(!l.length||u.length||i)&&eZ(i,e,c,d,f,n))return void r.reRender()}!0===i&&r.reRender()}),(0,g.Z)((0,h.Z)(r),"validateRules",function(e){var t=r.getNamePath(),n=r.getValue(),o=e||{},i=o.triggerName,a=o.validateOnly,c=void 0!==a&&a,d=Promise.resolve().then((0,s.Z)((0,l.Z)().mark(function o(){var a,s,c,f,h,p,m;return(0,l.Z)().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(r.mounted){o.next=2;break}return o.abrupt("return",[]);case 2:if(c=void 0!==(s=(a=r.props).validateFirst)&&s,f=a.messageVariables,h=a.validateDebounce,p=r.getRules(),i&&(p=p.filter(function(e){return e}).filter(function(e){var t=e.validateTrigger;return!t||C(t).includes(i)})),!(h&&i)){o.next=10;break}return o.next=8,new Promise(function(e){setTimeout(e,h)});case 8:if(r.validatePromise===d){o.next=10;break}return o.abrupt("return",[]);case 10:return(m=eg(t,n,p,e,c,f)).catch(function(e){return e}).then(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:eN;if(r.validatePromise===d){r.validatePromise=null;var t,n=[],o=[];null==(t=e.forEach)||t.call(e,function(e){var t=e.rule.warningOnly,r=e.errors,i=void 0===r?eN:r;t?o.push.apply(o,(0,u.Z)(i)):n.push.apply(n,(0,u.Z)(i))}),r.errors=n,r.warnings=o,r.triggerMetaEvent(),r.reRender()}}),o.abrupt("return",m);case 13:case"end":return o.stop()}},o)})));return c||(r.validatePromise=d,r.dirty=!0,r.errors=eN,r.warnings=eN,r.triggerMetaEvent(),r.reRender()),d}),(0,g.Z)((0,h.Z)(r),"isFieldValidating",function(){return!!r.validatePromise}),(0,g.Z)((0,h.Z)(r),"isFieldTouched",function(){return r.touched}),(0,g.Z)((0,h.Z)(r),"isFieldDirty",function(){return!!r.dirty||void 0!==r.props.initialValue||void 0!==(0,r.props.fieldContext.getInternalHooks(w).getInitialValue)(r.getNamePath())}),(0,g.Z)((0,h.Z)(r),"getErrors",function(){return r.errors}),(0,g.Z)((0,h.Z)(r),"getWarnings",function(){return r.warnings}),(0,g.Z)((0,h.Z)(r),"isListField",function(){return r.props.isListField}),(0,g.Z)((0,h.Z)(r),"isList",function(){return r.props.isList}),(0,g.Z)((0,h.Z)(r),"isPreserve",function(){return r.props.preserve}),(0,g.Z)((0,h.Z)(r),"getMeta",function(){return r.prevValidating=r.isFieldValidating(),{touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath(),validated:null===r.validatePromise}}),(0,g.Z)((0,h.Z)(r),"getOnlyChild",function(e){if("function"==typeof e){var t=r.getMeta();return(0,c.Z)((0,c.Z)({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})}var n=(0,v.Z)(e);return 1===n.length&&o.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}}),(0,g.Z)((0,h.Z)(r),"getValue",function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return(0,ex.Z)(e||t(!0),n)}),(0,g.Z)((0,h.Z)(r),"getControlled",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.props,n=t.name,o=t.trigger,i=t.validateTrigger,a=t.getValueFromEvent,l=t.normalize,s=t.valuePropName,u=t.getValueProps,d=t.fieldContext,f=void 0!==i?i:d.validateTrigger,h=r.getNamePath(),p=d.getInternalHooks,m=d.getFieldsValue,v=p(w).dispatch,b=r.getValue(),y=u||function(e){return(0,g.Z)({},s,e)},x=e[o],S=void 0!==n?y(b):{},k=(0,c.Z)((0,c.Z)({},e),S);return k[o]=function(){r.touched=!0,r.dirty=!0,r.triggerMetaEvent();for(var e,t=arguments.length,n=Array(t),o=0;o=0&&t<=n.length?(f.keys=[].concat((0,u.Z)(f.keys.slice(0,t)),[f.id],(0,u.Z)(f.keys.slice(t))),i([].concat((0,u.Z)(n.slice(0,t)),[e],(0,u.Z)(n.slice(t))))):(f.keys=[].concat((0,u.Z)(f.keys),[f.id]),i([].concat((0,u.Z)(n),[e]))),f.id+=1},remove:function(e){var t=l(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(f.keys=f.keys.filter(function(e,t){return!n.has(t)}),i(t.filter(function(e,t){return!n.has(t)})))},move:function(e,t){if(e!==t){var n=l();e<0||e>=n.length||t<0||t>=n.length||(f.keys=eM(f.keys,e,t),i(eM(n,e,t)))}}},d=o||[];return Array.isArray(d)||(d=[]),r(d.map(function(e,t){var n=f.keys[t];return void 0===n&&(f.keys[t]=f.id,n=f.keys[t],f.id+=1),{name:t,key:n,isListField:!0}}),c,t)})))};var ej=n(25002);function eA(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(o,i){e.forEach(function(e,a){e.catch(function(e){return t=!0,e}).then(function(e){n-=1,r[a]=e,n>0||(t&&i(r),o(r))})})}):Promise.resolve([])}var eD="__@field_split__";function e_(e){return e.map(function(e){return"".concat((0,E.Z)(e),":").concat(e)}).join(eD)}let ez=function(){function e(){(0,d.Z)(this,e),(0,g.Z)(this,"kvs",new Map)}return(0,f.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(e_(e),t)}},{key:"get",value:function(e){return this.kvs.get(e_(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(e_(e))}},{key:"map",value:function(e){return(0,u.Z)(this.kvs.entries()).map(function(t){var n=(0,ej.Z)(t,2),r=n[0],o=n[1];return e({key:r.split(eD).map(function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,ej.Z)(t,3),r=n[1],o=n[2];return"number"===r?Number(o):o}),value:o})})}},{key:"toJSON",value:function(){var e={};return this.map(function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null}),e}}]),e}();var eL=["name"],eB=(0,f.Z)(function e(t){var n=this;(0,d.Z)(this,e),(0,g.Z)(this,"formHooked",!1),(0,g.Z)(this,"forceRootUpdate",void 0),(0,g.Z)(this,"subscribable",!0),(0,g.Z)(this,"store",{}),(0,g.Z)(this,"fieldEntities",[]),(0,g.Z)(this,"initialValues",{}),(0,g.Z)(this,"callbacks",{}),(0,g.Z)(this,"validateMessages",null),(0,g.Z)(this,"preserve",null),(0,g.Z)(this,"lastValidatePromise",null),(0,g.Z)(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),(0,g.Z)(this,"getInternalHooks",function(e){return e===w?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):((0,y.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,g.Z)(this,"useSubscribe",function(e){n.subscribable=e}),(0,g.Z)(this,"prevWithoutPreserves",null),(0,g.Z)(this,"setInitialValues",function(e,t){if(n.initialValues=e||{},t){var r,o=(0,eu.T)(e,n.store);null==(r=n.prevWithoutPreserves)||r.map(function(t){var n=t.key;o=(0,eu.Z)(o,n,(0,ex.Z)(e,n))}),n.prevWithoutPreserves=null,n.updateStore(o)}}),(0,g.Z)(this,"destroyForm",function(e){if(e)n.updateStore({});else{var t=new ez;n.getFieldEntities(!0).forEach(function(e){n.isMergedPreserve(e.isPreserve())||t.set(e.getNamePath(),!0)}),n.prevWithoutPreserves=t}}),(0,g.Z)(this,"getInitialValue",function(e){var t=(0,ex.Z)(n.initialValues,e);return e.length?(0,eu.T)(t):t}),(0,g.Z)(this,"setCallbacks",function(e){n.callbacks=e}),(0,g.Z)(this,"setValidateMessages",function(e){n.validateMessages=e}),(0,g.Z)(this,"setPreserve",function(e){n.preserve=e}),(0,g.Z)(this,"watchList",[]),(0,g.Z)(this,"registerWatch",function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter(function(t){return t!==e})}}),(0,g.Z)(this,"notifyWatch",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue(),r=n.getFieldsValue(!0);n.watchList.forEach(function(n){n(t,r,e)})}}),(0,g.Z)(this,"timeoutId",null),(0,g.Z)(this,"warningUnhooked",function(){}),(0,g.Z)(this,"updateStore",function(e){n.store=e}),(0,g.Z)(this,"getFieldEntities",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?n.fieldEntities.filter(function(e){return e.getNamePath().length}):n.fieldEntities}),(0,g.Z)(this,"getFieldsMap",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new ez;return n.getFieldEntities(e).forEach(function(e){var n=e.getNamePath();t.set(n,e)}),t}),(0,g.Z)(this,"getFieldEntitiesForNamePathList",function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map(function(e){var n=eS(e);return t.get(n)||{INVALIDATE_NAME_PATH:eS(e)}})}),(0,g.Z)(this,"getFieldsValue",function(e,t){if(n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===(0,E.Z)(e)&&(i=e.strict,o=e.filter),!0===r&&!o)return n.store;var r,o,i,a=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),l=[];return a.forEach(function(e){var t,n,a,s,c="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null!=(a=(s=e).isList)&&a.call(s))return}else if(!r&&null!=(t=(n=e).isListField)&&t.call(n))return;if(o){var u="getMeta"in e?e.getMeta():null;o(u)&&l.push(c)}else l.push(c)}),ek(n.store,l.map(eS))}),(0,g.Z)(this,"getFieldValue",function(e){n.warningUnhooked();var t=eS(e);return(0,ex.Z)(n.store,t)}),(0,g.Z)(this,"getFieldsError",function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map(function(t,n){return!t||"INVALIDATE_NAME_PATH"in t?{name:eS(e[n]),errors:[],warnings:[]}:{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}})}),(0,g.Z)(this,"getFieldError",function(e){n.warningUnhooked();var t=eS(e);return n.getFieldsError([t])[0].errors}),(0,g.Z)(this,"getFieldWarning",function(e){n.warningUnhooked();var t=eS(e);return n.getFieldsError([t])[0].warnings}),(0,g.Z)(this,"isFieldsTouched",function(){n.warningUnhooked();for(var e,t=arguments.length,r=Array(t),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},r=new ez,o=n.getFieldEntities(!0);o.forEach(function(e){var t=e.props.initialValue,n=e.getNamePath();if(void 0!==t){var o=r.get(n)||new Set;o.add({entity:e,value:t}),r.set(n,o)}});var i=function(e){e.forEach(function(e){if(void 0!==e.props.initialValue){var o=e.getNamePath();if(void 0!==n.getInitialValue(o))(0,y.ZP)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=r.get(o);if(i&&i.size>1)(0,y.ZP)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var a=n.getFieldValue(o);e.isListField()||t.skipExist&&void 0!==a||n.updateStore((0,eu.Z)(n.store,o,(0,u.Z)(i)[0].value))}}}})};t.entities?e=t.entities:t.namePathList?(e=[],t.namePathList.forEach(function(t){var n,o=r.get(t);o&&(n=e).push.apply(n,(0,u.Z)((0,u.Z)(o).map(function(e){return e.entity})))})):e=o,i(e)}),(0,g.Z)(this,"resetFields",function(e){n.warningUnhooked();var t=n.store;if(!e){n.updateStore((0,eu.T)(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),n.notifyWatch();return}var r=e.map(eS);r.forEach(function(e){var t=n.getInitialValue(e);n.updateStore((0,eu.Z)(n.store,e,t))}),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)}),(0,g.Z)(this,"setFields",function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach(function(e){var o=e.name,i=(0,a.Z)(e,eL),l=eS(o);r.push(l),"value"in i&&n.updateStore((0,eu.Z)(n.store,l,i.value)),n.notifyObservers(t,[l],{type:"setField",data:e})}),n.notifyWatch(r)}),(0,g.Z)(this,"getFields",function(){return n.getFieldEntities(!0).map(function(e){var t=e.getNamePath(),r=e.getMeta(),o=(0,c.Z)((0,c.Z)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,"originRCField",{value:!0}),o})}),(0,g.Z)(this,"initEntityValue",function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===(0,ex.Z)(n.store,r)&&n.updateStore((0,eu.Z)(n.store,r,t))}}),(0,g.Z)(this,"isMergedPreserve",function(e){var t=void 0!==e?e:n.preserve;return null==t||t}),(0,g.Z)(this,"registerField",function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(t){return t!==e}),!n.isMergedPreserve(o)&&(!r||i.length>1)){var a=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every(function(e){return!e$(e.getNamePath(),t)})){var l=n.store;n.updateStore((0,eu.Z)(l,t,a,!0)),n.notifyObservers(l,[t],{type:"remove"}),n.triggerDependenciesUpdate(l,t)}}n.notifyWatch([t])}}),(0,g.Z)(this,"dispatch",function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i})}}),(0,g.Z)(this,"notifyObservers",function(e,t,r){if(n.subscribable){var o=(0,c.Z)((0,c.Z)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(n){(0,n.onStoreChange)(e,t,o)})}else n.forceRootUpdate()}),(0,g.Z)(this,"triggerDependenciesUpdate",function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat((0,u.Z)(r))}),r}),(0,g.Z)(this,"updateValue",function(e,t){var r=eS(e),o=n.store;n.updateStore((0,eu.Z)(n.store,r,t)),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var i=n.triggerDependenciesUpdate(o,r),a=n.callbacks.onValuesChange;a&&a(ek(n.store,[r]),n.getFieldsValue()),n.triggerOnFieldsChange([r].concat((0,u.Z)(i)))}),(0,g.Z)(this,"setFieldsValue",function(e){n.warningUnhooked();var t=n.store;if(e){var r=(0,eu.T)(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),(0,g.Z)(this,"setFieldValue",function(e,t){n.setFields([{name:e,value:t,errors:[],warnings:[]}])}),(0,g.Z)(this,"getDependencyChildrenFields",function(e){var t=new Set,r=[],o=new ez;return n.getFieldEntities().forEach(function(e){(e.props.dependencies||[]).forEach(function(t){var n=eS(t);o.update(n,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t})})}),function e(n){(o.get(n)||new Set).forEach(function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}})}(e),r}),(0,g.Z)(this,"triggerOnFieldsChange",function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new ez;t.forEach(function(e){var t=e.name,n=e.errors;i.set(t,n)}),o.forEach(function(e){e.errors=i.get(e.name)||e.errors})}var a=o.filter(function(t){return eC(e,t.name)});a.length&&r(a,o)}}),(0,g.Z)(this,"validateFields",function(e,t){n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(r=e,o=t):o=e;var r,o,i=!!r,a=i?r.map(eS):[],l=[],s=String(Date.now()),d=new Set,f=o||{},h=f.recursive,p=f.dirty;n.getFieldEntities(!0).forEach(function(e){if((i||a.push(e.getNamePath()),e.props.rules&&e.props.rules.length)&&(!p||e.isFieldDirty())){var t=e.getNamePath();if(d.add(t.join(s)),!i||eC(a,t,h)){var r=e.validateRules((0,c.Z)({validateMessages:(0,c.Z)((0,c.Z)({},ec),n.validateMessages)},o));l.push(r.then(function(){return{name:t,errors:[],warnings:[]}}).catch(function(e){var n,r=[],o=[];return(null==(n=e.forEach)||n.call(e,function(e){var t=e.rule.warningOnly,n=e.errors;t?o.push.apply(o,(0,u.Z)(n)):r.push.apply(r,(0,u.Z)(n))}),r.length)?Promise.reject({name:t,errors:r,warnings:o}):{name:t,errors:r,warnings:o}}))}}});var m=eA(l);n.lastValidatePromise=m,m.catch(function(e){return e}).then(function(e){var t=e.map(function(e){return e.name});n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)});var g=m.then(function(){return n.lastValidatePromise===m?Promise.resolve(n.getFieldsValue(a)):Promise.reject([])}).catch(function(e){var t=e.filter(function(e){return e&&e.errors.length});return Promise.reject({values:n.getFieldsValue(a),errorFields:t,outOfDate:n.lastValidatePromise!==m})});g.catch(function(e){return e});var v=a.filter(function(e){return d.has(e.join(s))});return n.triggerOnFieldsChange(v),g}),(0,g.Z)(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}}).catch(function(e){var t=n.callbacks.onFinishFailed;t&&t(e)})}),this.forceRootUpdate=t});let eH=function(e){var t=o.useRef(),n=o.useState({}),r=(0,ej.Z)(n,2)[1];return t.current||(e?t.current=e:t.current=new eB(function(){r({})}).getForm()),[t.current]};var eF=o.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),eW=function(e){var t=e.validateMessages,n=e.onFormChange,r=e.onFormFinish,i=e.children,a=o.useContext(eF),l=o.useRef({});return o.createElement(eF.Provider,{value:(0,c.Z)((0,c.Z)({},a),{},{validateMessages:(0,c.Z)((0,c.Z)({},a.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:l.current}),a.triggerFormChange(e,t)},triggerFormFinish:function(e,t){r&&r(e,{values:t,forms:l.current}),a.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(l.current=(0,c.Z)((0,c.Z)({},l.current),{},(0,g.Z)({},e,t))),a.registerForm(e,t)},unregisterForm:function(e){var t=(0,c.Z)({},l.current);delete t[e],l.current=t,a.unregisterForm(e)}})},i)};let eV=eF;var eq=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"];let eK=function(e,t){var n,r=e.name,l=e.initialValues,s=e.fields,u=e.form,d=e.preserve,f=e.children,h=e.component,p=void 0===h?"form":h,m=e.validateMessages,g=e.validateTrigger,v=void 0===g?"onChange":g,b=e.onValuesChange,y=e.onFieldsChange,x=e.onFinish,C=e.onFinishFailed,$=e.clearOnDestroy,E=(0,a.Z)(e,eq),O=o.useRef(null),M=o.useContext(eV),I=eH(u),N=(0,ej.Z)(I,1)[0],Z=N.getInternalHooks(w),R=Z.useSubscribe,T=Z.setInitialValues,P=Z.setCallbacks,j=Z.setValidateMessages,A=Z.setPreserve,D=Z.destroyForm;o.useImperativeHandle(t,function(){return(0,c.Z)((0,c.Z)({},N),{},{nativeElement:O.current})}),o.useEffect(function(){return M.registerForm(r,N),function(){M.unregisterForm(r)}},[M,N,r]),j((0,c.Z)((0,c.Z)({},M.validateMessages),m)),P({onValuesChange:b,onFieldsChange:function(e){if(M.triggerFormChange(r,e),y){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;oeb,V4:()=>ev,zt:()=>m});var r=n(17508),o=n(50324),i=n(25002),a=n(58133),l=n(58793),s=n.n(l),c=n(34203),u=n(42550),d=n(81004),f=n(77354),h=["children"],p=d.createContext({});function m(e){var t=e.children,n=(0,f.Z)(e,h);return d.createElement(p.Provider,{value:n},t)}var g=n(46932),v=n(89526),b=n(26238),y=n(90015);let w=function(e){(0,b.Z)(n,e);var t=(0,y.Z)(n);function n(){return(0,g.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(d.Component);var x=n(56790),S=n(30470),k=n(66680);function C(e){var t=d.useReducer(function(e){return e+1},0),n=(0,i.Z)(t,2)[1],r=d.useRef(e);return[(0,k.Z)(function(){return r.current}),(0,k.Z)(function(e){r.current="function"==typeof e?e(r.current):e,n()})]}var $="none",E="appear",O="enter",M="leave",I="none",N="prepare",Z="start",R="active",T="end",P="prepared",j=n(98924);function A(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var D=function(e,t){var n={animationend:A("Animation","AnimationEnd"),transitionend:A("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}((0,j.Z)(),"undefined"!=typeof window?window:{}),_={};(0,j.Z)()&&(_=document.createElement("div").style);var z={};function L(e){if(z[e])return z[e];var t=D[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,U.Z)(function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)});e.current=i}return d.useEffect(function(){return function(){t()}},[]),[n,t]};var Y=[N,Z,R,T],Q=[N,P],J=!1,ee=!0;function et(e){return e===R||e===T}let en=function(e,t,n){var r=(0,S.Z)(I),o=(0,i.Z)(r,2),a=o[0],l=o[1],s=G(),c=(0,i.Z)(s,2),u=c[0],f=c[1];function h(){l(N,!0)}var p=t?Q:Y;return X(function(){if(a!==I&&a!==T){var e=p.indexOf(a),t=p[e+1],r=n(a);r===J?l(t,!0):t&&u(function(e){function n(){e.isCanceled()||l(t,!0)}!0===r?n():Promise.resolve(r).then(n)})}},[e,a]),d.useEffect(function(){return function(){f()}},[]),[h,a]};function er(e,t,n,a){var l=a.motionEnter,s=void 0===l||l,c=a.motionAppear,u=void 0===c||c,f=a.motionLeave,h=void 0===f||f,p=a.motionDeadline,m=a.motionLeaveImmediately,g=a.onAppearPrepare,v=a.onEnterPrepare,b=a.onLeavePrepare,y=a.onAppearStart,w=a.onEnterStart,k=a.onLeaveStart,I=a.onAppearActive,T=a.onEnterActive,j=a.onLeaveActive,A=a.onAppearEnd,D=a.onEnterEnd,_=a.onLeaveEnd,z=a.onVisibleChanged,L=(0,S.Z)(),B=(0,i.Z)(L,2),H=B[0],F=B[1],W=C($),V=(0,i.Z)(W,2),q=V[0],U=V[1],G=(0,S.Z)(null),Y=(0,i.Z)(G,2),Q=Y[0],er=Y[1],eo=q(),ei=(0,d.useRef)(!1),ea=(0,d.useRef)(null);function el(){return n()}var es=(0,d.useRef)(!1);function ec(){U($),er(null,!0)}var eu=(0,x.zX)(function(e){var t,n=q();if(n!==$){var r=el();if(!e||e.deadline||e.target===r){var o=es.current;n===E&&o?t=null==A?void 0:A(r,e):n===O&&o?t=null==D?void 0:D(r,e):n===M&&o&&(t=null==_?void 0:_(r,e)),o&&!1!==t&&ec()}}}),ed=K(eu),ef=(0,i.Z)(ed,1)[0],eh=function(e){switch(e){case E:return(0,r.Z)((0,r.Z)((0,r.Z)({},N,g),Z,y),R,I);case O:return(0,r.Z)((0,r.Z)((0,r.Z)({},N,v),Z,w),R,T);case M:return(0,r.Z)((0,r.Z)((0,r.Z)({},N,b),Z,k),R,j);default:return{}}},ep=d.useMemo(function(){return eh(eo)},[eo]),em=en(eo,!e,function(e){if(e===N){var t,n=ep[N];return n?n(el()):J}return eb in ep&&er((null==(t=ep[eb])?void 0:t.call(ep,el(),null))||null),eb===R&&eo!==$&&(ef(el()),p>0&&(clearTimeout(ea.current),ea.current=setTimeout(function(){eu({deadline:!0})},p))),eb===P&&ec(),ee}),eg=(0,i.Z)(em,2),ev=eg[0],eb=eg[1];es.current=et(eb);var ey=(0,d.useRef)(null);X(function(){if(!ei.current||ey.current!==t){F(t);var n,r=ei.current;ei.current=!0,!r&&t&&u&&(n=E),r&&t&&s&&(n=O),(r&&!t&&h||!r&&m&&!t&&h)&&(n=M);var o=eh(n);n&&(e||o[N])?(U(n),ev()):U($),ey.current=t}},[t]),(0,d.useEffect)(function(){(eo!==E||u)&&(eo!==O||s)&&(eo!==M||h)||U($)},[u,s,h]),(0,d.useEffect)(function(){return function(){ei.current=!1,clearTimeout(ea.current)}},[]);var ew=d.useRef(!1);(0,d.useEffect)(function(){H&&(ew.current=!0),void 0!==H&&eo===$&&((ew.current||H)&&(null==z||z(H)),ew.current=!0)},[H,eo]);var ex=Q;return ep[N]&&eb===Z&&(ex=(0,o.Z)({transition:"none"},ex)),[eo,eb,ex,null!=H?H:t]}let eo=function(e){var t=e;function n(e,n){return!!(e.motionName&&t&&!1!==n)}"object"===(0,a.Z)(e)&&(t=e.transitionSupport);var l=d.forwardRef(function(e,t){var a=e.visible,l=void 0===a||a,f=e.removeOnLeave,h=void 0===f||f,m=e.forceRender,g=e.children,v=e.motionName,b=e.leavedClassName,y=e.eventProps,x=n(e,d.useContext(p).motion),S=(0,d.useRef)(),k=(0,d.useRef)(),C=er(x,l,function(){try{return S.current instanceof HTMLElement?S.current:(0,c.ZP)(k.current)}catch(e){return null}},e),E=(0,i.Z)(C,4),O=E[0],M=E[1],I=E[2],R=E[3],T=d.useRef(R);R&&(T.current=!0);var P=d.useCallback(function(e){S.current=e,(0,u.mH)(t,e)},[t]),j=(0,o.Z)((0,o.Z)({},y),{},{visible:l});if(g)if(O===$)A=R?g((0,o.Z)({},j),P):!h&&T.current&&b?g((0,o.Z)((0,o.Z)({},j),{},{className:b}),P):!m&&(h||b)?null:g((0,o.Z)((0,o.Z)({},j),{},{style:{display:"none"}}),P);else{M===N?D="prepare":et(M)?D="active":M===Z&&(D="start");var A,D,_=q(v,"".concat(O,"-").concat(D));A=g((0,o.Z)((0,o.Z)({},j),{},{className:s()(q(v,O),(0,r.Z)((0,r.Z)({},_,_&&D),v,"string"==typeof v)),style:I}),P)}else A=null;return d.isValidElement(A)&&(0,u.Yr)(A)&&((0,u.C4)(A)||(A=d.cloneElement(A,{ref:P}))),d.createElement(w,{ref:k},A)});return l.displayName="CSSMotion",l}(F);var ei=n(16019),ea=n(64222),el="add",es="keep",ec="remove",eu="removed";function ed(e){var t;return t=e&&"object"===(0,a.Z)(e)&&"key"in e?e:{key:e},(0,o.Z)((0,o.Z)({},t),{},{key:String(t.key)})}function ef(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(ed)}function eh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,a=ef(e),l=ef(t);a.forEach(function(e){for(var t=!1,a=r;a1}).forEach(function(e){(n=n.filter(function(t){var n=t.key,r=t.status;return n!==e||r!==ec})).forEach(function(t){t.key===e&&(t.status=es)})}),n}var ep=["component","children","onVisibleChanged","onAllRemoved"],em=["status"],eg=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];let ev=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eo,n=function(e){(0,b.Z)(i,e);var n=(0,y.Z)(i);function i(){var e;(0,g.Z)(this,i);for(var t=arguments.length,a=Array(t),l=0;lr});let r={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},73097:function(e,t,n){"use strict";n.d(t,{Z:()=>M});var r=n(16019),o=n(81004),i=n(50344);n(80334);var a=n(50324),l=n(58133),s=n(34203),c=n(42550),u=o.createContext(null);function d(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),a=o.useContext(u),l=o.useCallback(function(e,t,o){r.current+=1;var l=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then(function(){l===r.current&&(null==n||n(i.current),i.current=[])}),null==a||a(e,t,o)},[n,a]);return o.createElement(u.Provider,{value:l},t)}var f=n(91033),h=new Map;function p(e){e.forEach(function(e){var t,n=e.target;null==(t=h.get(n))||t.forEach(function(e){return e(n)})})}var m=new f.Z(p);function g(e,t){h.has(e)||(h.set(e,new Set),m.observe(e)),h.get(e).add(t)}function v(e,t){h.has(e)&&(h.get(e).delete(t),h.get(e).size||(m.unobserve(e),h.delete(e)))}var b=n(46932),y=n(89526),w=n(26238),x=n(90015),S=function(e){(0,w.Z)(n,e);var t=(0,x.Z)(n);function n(){return(0,b.Z)(this,n),t.apply(this,arguments)}return(0,y.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component);function k(e,t){var n=e.children,r=e.disabled,i=o.useRef(null),d=o.useRef(null),f=o.useContext(u),h="function"==typeof n,p=h?n(i):n,m=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),b=!h&&o.isValidElement(p)&&(0,c.Yr)(p),y=b?(0,c.C4)(p):null,w=(0,c.x1)(y,i),x=function(){var e;return(0,s.ZP)(i.current)||(i.current&&"object"===(0,l.Z)(i.current)?(0,s.ZP)(null==(e=i.current)?void 0:e.nativeElement):null)||(0,s.ZP)(d.current)};o.useImperativeHandle(t,function(){return x()});var k=o.useRef(e);k.current=e;var C=o.useCallback(function(e){var t=k.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,l=o.height,s=e.offsetWidth,c=e.offsetHeight,u=Math.floor(i),d=Math.floor(l);if(m.current.width!==u||m.current.height!==d||m.current.offsetWidth!==s||m.current.offsetHeight!==c){var h={width:u,height:d,offsetWidth:s,offsetHeight:c};m.current=h;var p=s===Math.round(i)?i:s,g=c===Math.round(l)?l:c,v=(0,a.Z)((0,a.Z)({},h),{},{offsetWidth:p,offsetHeight:g});null==f||f(v,e,r),n&&Promise.resolve().then(function(){n(v,e)})}},[]);return o.useEffect(function(){var e=x();return e&&!r&&g(e,C),function(){return v(e,C)}},[i.current,r]),o.createElement(S,{ref:d},b?o.cloneElement(p,{ref:w}):p)}let C=o.forwardRef(k);var $="rc-observer-key";function E(e,t){var n=e.children;return("function"==typeof n?[n]:(0,i.Z)(n)).map(function(n,i){var a=(null==n?void 0:n.key)||"".concat($,"-").concat(i);return o.createElement(C,(0,r.Z)({},e,{key:a,ref:0===i?t:void 0}),n)})}var O=o.forwardRef(E);O.Collection=d;let M=O},53844:function(e,t,n){"use strict";n.d(t,{G:()=>a,Z:()=>v});var r=n(58793),o=n.n(r),i=n(81004);function a(e){var t=e.children,n=e.prefixCls,r=e.id,a=e.overlayInnerStyle,l=e.className,s=e.style;return i.createElement("div",{className:o()("".concat(n,"-content"),l),style:s},i.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:a},"function"==typeof t?t():t))}var l=n(16019),s=n(50324),c=n(77354),u=n(76582),d={shiftX:64,adjustY:1},f={adjustX:1,shiftY:!0},h=[0,0],p={left:{points:["cr","cl"],overflow:f,offset:[-4,0],targetOffset:h},right:{points:["cl","cr"],overflow:f,offset:[4,0],targetOffset:h},top:{points:["bc","tc"],overflow:d,offset:[0,-4],targetOffset:h},bottom:{points:["tc","bc"],overflow:d,offset:[0,4],targetOffset:h},topLeft:{points:["bl","tl"],overflow:d,offset:[0,-4],targetOffset:h},leftTop:{points:["tr","tl"],overflow:f,offset:[-4,0],targetOffset:h},topRight:{points:["br","tr"],overflow:d,offset:[0,-4],targetOffset:h},rightTop:{points:["tl","tr"],overflow:f,offset:[4,0],targetOffset:h},bottomRight:{points:["tr","br"],overflow:d,offset:[0,4],targetOffset:h},rightBottom:{points:["bl","br"],overflow:f,offset:[4,0],targetOffset:h},bottomLeft:{points:["tl","bl"],overflow:d,offset:[0,4],targetOffset:h},leftBottom:{points:["br","bl"],overflow:f,offset:[-4,0],targetOffset:h}},m=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],g=function(e,t){var n=e.overlayClassName,r=e.trigger,o=void 0===r?["hover"]:r,d=e.mouseEnterDelay,f=void 0===d?0:d,h=e.mouseLeaveDelay,g=void 0===h?.1:h,v=e.overlayStyle,b=e.prefixCls,y=void 0===b?"rc-tooltip":b,w=e.children,x=e.onVisibleChange,S=e.afterVisibleChange,k=e.transitionName,C=e.animation,$=e.motion,E=e.placement,O=void 0===E?"right":E,M=e.align,I=void 0===M?{}:M,N=e.destroyTooltipOnHide,Z=void 0!==N&&N,R=e.defaultVisible,T=e.getTooltipContainer,P=e.overlayInnerStyle,j=(e.arrowContent,e.overlay),A=e.id,D=e.showArrow,_=void 0===D||D,z=(0,c.Z)(e,m),L=(0,i.useRef)(null);(0,i.useImperativeHandle)(t,function(){return L.current});var B=(0,s.Z)({},z);"visible"in e&&(B.popupVisible=e.visible);var H=function(){return i.createElement(a,{key:"content",prefixCls:y,id:A,overlayInnerStyle:P},j)};return i.createElement(u.Z,(0,l.Z)({popupClassName:n,prefixCls:y,popup:H,action:o,builtinPlacements:p,popupPlacement:O,ref:L,popupAlign:I,getPopupContainer:T,onPopupVisibleChange:x,afterPopupVisibleChange:S,popupTransitionName:k,popupAnimation:C,popupMotion:$,defaultPopupVisible:R,autoDestroy:Z,mouseLeaveDelay:g,popupStyle:v,mouseEnterDelay:f,arrow:_},B),w)};let v=(0,i.forwardRef)(g)},50344:function(e,t,n){"use strict";n.d(t,{Z:()=>a});var r=n(25517),o=n(81004),i=n.n(o);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return i().Children.forEach(e,function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(a(e)):(0,r.Z)(e)&&e.props?n=n.concat(a(e.props.children,t)):n.push(e))}),n}},98924:function(e,t,n){"use strict";function r(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}n.d(t,{Z:()=>r})},94999:function(e,t,n){"use strict";function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}n.d(t,{Z:()=>r})},44958:function(e,t,n){"use strict";n.d(t,{hq:()=>b,jL:()=>g});var r=n(50324),o=n(98924),i=n(94999),a="data-rc-order",l="data-rc-priority",s="rc-util-key",c=new Map;function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):s}function d(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function f(e){return"queue"===e?"prependQueue":e?"prepend":"append"}function h(e){return Array.from((c.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.Z)())return null;var n=t.csp,r=t.prepend,i=t.priority,s=void 0===i?0:i,c=f(r),u="prependQueue"===c,p=document.createElement("style");p.setAttribute(a,c),u&&s&&p.setAttribute(l,"".concat(s)),null!=n&&n.nonce&&(p.nonce=null==n?void 0:n.nonce),p.innerHTML=e;var m=d(t),g=m.firstChild;if(r){if(u){var v=(t.styles||h(m)).filter(function(e){return!!["prepend","prependQueue"].includes(e.getAttribute(a))&&s>=Number(e.getAttribute(l)||0)});if(v.length)return m.insertBefore(p,v[v.length-1].nextSibling),p}m.insertBefore(p,g)}else m.appendChild(p);return p}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=d(t);return(t.styles||h(n)).find(function(n){return n.getAttribute(u(t))===e})}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=m(e,t);n&&d(t).removeChild(n)}function v(e,t){var n=c.get(e);if(!n||!(0,i.Z)(document,n)){var r=p("",t),o=r.parentNode;c.set(e,o),e.removeChild(r)}}function b(e,t){var n,o,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=d(a),s=h(l),c=(0,r.Z)((0,r.Z)({},a),{},{styles:s});v(l,c);var f=m(t,c);if(f)return null!=(n=c.csp)&&n.nonce&&f.nonce!==(null==(o=c.csp)?void 0:o.nonce)&&(f.nonce=null==(i=c.csp)?void 0:i.nonce),f.innerHTML!==e&&(f.innerHTML=e),f;var g=p(e,c);return g.setAttribute(u(c),t),g}},34203:function(e,t,n){"use strict";n.d(t,{Sh:()=>s,ZP:()=>u,bn:()=>c});var r=n(58133),o=n(81004),i=n.n(o),a=n(3859),l=n.n(a);function s(e){return e instanceof HTMLElement||e instanceof SVGElement}function c(e){return e&&"object"===(0,r.Z)(e)&&s(e.nativeElement)?e.nativeElement:s(e)?e:null}function u(e){var t,n=c(e);return n||(e instanceof i().Component?null==(t=l().findDOMNode)?void 0:t.call(l(),e):null)}},5110:function(e,t,n){"use strict";n.d(t,{Z:()=>r});let r=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1}},27571:function(e,t,n){"use strict";function r(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}function o(e){return r(e)instanceof ShadowRoot}function i(e){return o(e)?r(e):null}n.d(t,{A:()=>i})},15105:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE||e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY||e>=r.A&&e<=r.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};let o=r},25517:function(e,t,n){"use strict";n.d(t,{Z:()=>l});var r=n(58133),o=Symbol.for("react.element"),i=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function l(e){return e&&"object"===(0,r.Z)(e)&&(e.$$typeof===o||e.$$typeof===i)&&e.type===a}},74204:function(e,t,n){"use strict";n.d(t,{Z:()=>a,o:()=>l});var r,o=n(44958);function i(e){var t,n,r="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),i=document.createElement("div");i.id=r;var a=i.style;if(a.position="absolute",a.left="0",a.top="0",a.width="100px",a.height="100px",a.overflow="scroll",e){var l=getComputedStyle(e);a.scrollbarColor=l.scrollbarColor,a.scrollbarWidth=l.scrollbarWidth;var s=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(s.width,10),u=parseInt(s.height,10);try{var d=c?"width: ".concat(s.width,";"):"",f=u?"height: ".concat(s.height,";"):"";(0,o.hq)("\n#".concat(r,"::-webkit-scrollbar {\n").concat(d,"\n").concat(f,"\n}"),r)}catch(e){console.error(e),t=c,n=u}}document.body.appendChild(i);var h=e&&t&&!isNaN(t)?t:i.offsetWidth-i.clientWidth,p=e&&n&&!isNaN(n)?n:i.offsetHeight-i.clientHeight;return document.body.removeChild(i),(0,o.jL)(r),{width:h,height:p}}function a(e){return"undefined"==typeof document?0:((e||void 0===r)&&(r=i()),r.width)}function l(e){return"undefined"!=typeof document&&e&&e instanceof Element?i(e):{width:0,height:0}}},66680:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n(81004);function o(e){var t=r.useRef();return t.current=e,r.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;os});var r=n(25002),o=n(50324),i=n(81004),a=0,l=function(){return(0,o.Z)({},i).useId}();let s=l?function(e){var t=l();return e||t}:function(e){var t=i.useState("ssr-id"),n=(0,r.Z)(t,2),o=n[0],l=n[1];return(i.useEffect(function(){var e=a;a+=1,l("rc_unique_".concat(e))},[]),e)?e:o}},8410:function(e,t,n){"use strict";n.d(t,{Z:()=>l,o:()=>a});var r=n(81004),o=(0,n(98924).Z)()?r.useLayoutEffect:r.useEffect,i=function(e,t){var n=r.useRef(!0);o(function(){return e(n.current)},t),o(function(){return n.current=!1,function(){n.current=!0}},[])},a=function(e,t){i(function(t){if(!t)return e()},t)};let l=i},56982:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n(81004);function o(e,t,n){var o=r.useRef({});return(!("value"in o.current)||n(o.current.condition,t))&&(o.current.value=e(),o.current.condition=t),o.current.value}},21770:function(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n(25002),o=n(66680),i=n(8410),a=n(30470);function l(e){return void 0!==e}function s(e,t){var n=t||{},s=n.defaultValue,c=n.value,u=n.onChange,d=n.postState,f=(0,a.Z)(function(){return l(c)?c:l(s)?"function"==typeof s?s():s:"function"==typeof e?e():e}),h=(0,r.Z)(f,2),p=h[0],m=h[1],g=void 0!==c?c:p,v=d?d(g):g,b=(0,o.Z)(u),y=(0,a.Z)([g]),w=(0,r.Z)(y,2),x=w[0],S=w[1];return(0,i.o)(function(){var e=x[0];p!==e&&b(p,e)},[x]),(0,i.o)(function(){l(c)||m(c)},[c]),[v,(0,o.Z)(function(e,t){m(e,t),S([g],t)})]}},30470:function(e,t,n){"use strict";n.d(t,{Z:()=>i});var r=n(25002),o=n(81004);function i(e){var t=o.useRef(!1),n=o.useState(e),i=(0,r.Z)(n,2),a=i[0],l=i[1];return o.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]),[a,function(e,n){n&&t.current||l(e)}]}},56790:function(e,t,n){"use strict";n.d(t,{C8:()=>o.Z,U2:()=>i.Z,t8:()=>a.Z,zX:()=>r.Z});var r=n(66680),o=n(21770);n(42550);var i=n(88306),a=n(8880);n(80334)},91881:function(e,t,n){"use strict";n.d(t,{Z:()=>i});var r=n(58133),o=n(80334);let i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new Set;function a(e,t){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=i.has(e);if((0,o.ZP)(!s,"Warning: There may be circular references"),s)return!1;if(e===t)return!0;if(n&&l>1)return!1;i.add(e);var c=l+1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(var u=0;ur});let r=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))}},98423:function(e,t,n){"use strict";function r(e,t){var n=Object.assign({},e);return Array.isArray(t)&&t.forEach(function(e){delete n[e]}),n}n.d(t,{Z:()=>r})},64217:function(e,t,n){"use strict";n.d(t,{Z:()=>u});var r=n(50324),o="accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap",i="onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError",a="".concat(o," ").concat(i).split(/[\s\n]+/),l="aria-",s="data-";function c(e,t){return 0===e.indexOf(t)}function u(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:(0,r.Z)({},n);var o={};return Object.keys(e).forEach(function(n){(t.aria&&("role"===n||c(n,l))||t.data&&c(n,s)||t.attr&&a.includes(n))&&(o[n]=e[n])}),o}},75164:function(e,t,n){"use strict";n.d(t,{Z:()=>c});var r=function(e){return+setTimeout(e,16)},o=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(r=function(e){return window.requestAnimationFrame(e)},o=function(e){return window.cancelAnimationFrame(e)});var i=0,a=new Map;function l(e){a.delete(e)}var s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=i+=1;function o(t){if(0===t)l(n),e();else{var i=r(function(){o(t-1)});a.set(n,i)}}return o(t),n};s.cancel=function(e){var t=a.get(e);return l(e),o(t)};let c=s},42550:function(e,t,n){"use strict";n.d(t,{C4:()=>m,Yr:()=>f,mH:()=>c,sQ:()=>u,t4:()=>p,x1:()=>d});var r=n(58133),o=n(81004),i=n(11805),a=n(56982),l=n(25517),s=Number(o.version.split(".")[0]),c=function(e,t){"function"==typeof e?e(t):"object"===(0,r.Z)(e)&&e&&"current"in e&&(e.current=t)},u=function(){for(var e=arguments.length,t=Array(e),n=0;n=19)return!0;var t,n,r=(0,i.isMemo)(e)?e.type.type:e.type;return("function"!=typeof r||!!(null!=(t=r.prototype)&&t.render)||r.$$typeof===i.ForwardRef)&&("function"!=typeof e||!!(null!=(n=e.prototype)&&n.render)||e.$$typeof===i.ForwardRef)};function h(e){return(0,o.isValidElement)(e)&&!(0,l.Z)(e)}var p=function(e){return h(e)&&f(e)},m=function(e){if(e&&h(e)){var t=e;return t.props.propertyIsEnumerable("ref")?t.props.ref:t.ref}return null}},88306:function(e,t,n){"use strict";function r(e,t){for(var n=e,r=0;rr})},8880:function(e,t,n){"use strict";n.d(t,{T:()=>h,Z:()=>c});var r=n(58133),o=n(50324),i=n(98477),a=n(53150),l=n(88306);function s(e,t,n,r){if(!t.length)return n;var l,c=(0,a.Z)(t),u=c[0],d=c.slice(1);return l=e||"number"!=typeof u?Array.isArray(e)?(0,i.Z)(e):(0,o.Z)({},e):[],r&&void 0===n&&1===d.length?delete l[u][d[0]]:l[u]=s(l[u],d,n,r),l}function c(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!(0,l.Z)(e,t.slice(0,-1))?e:s(e,t,n,r)}function u(e){return"object"===(0,r.Z)(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype}function d(e){return Array.isArray(e)?[]:{}}var f="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function h(){for(var e=arguments.length,t=Array(e),n=0;ni,ZP:()=>d});var r={},o=[];function i(e,t){}function a(e,t){}function l(){r={}}function s(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function c(e,t){s(i,e,t)}function u(e,t){s(a,e,t)}c.preMessage=function(e){o.push(e)},c.resetWarned=l,c.noteOnce=u;let d=c},51162:function(e,t){"use strict";var n,r,o=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case a:case s:case l:case h:case p:return e;default:switch(e=e&&e.$$typeof){case d:case u:case f:case g:case m:case c:return e;default:return t}}case i:return t}}}Symbol.for("react.offscreen"),r=Symbol.for("react.module.reference"),n=u,n=c,n=o,t.ForwardRef=f,n=a,n=g,n=m,n=i,n=s,n=l,n=h,n=p,n=function(){return!1},n=function(){return!1},n=function(e){return v(e)===u},n=function(e){return v(e)===c},n=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},n=function(e){return v(e)===f},n=function(e){return v(e)===a},n=function(e){return v(e)===g},t.isMemo=function(e){return v(e)===m},n=function(e){return v(e)===i},n=function(e){return v(e)===s},n=function(e){return v(e)===l},n=function(e){return v(e)===h},n=function(e){return v(e)===p}},11805:function(e,t,n){"use strict";e.exports=n(51162)},64448:function(e,t,n){"use strict";var r,o,i,a,l,s,c=n(81004),u=n(63840);function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}function C(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var $={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$[e]=new C(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$[t]=new C(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){$[e]=new C(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$[e]=new C(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){$[e]=new C(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){$[e]=new C(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){$[e]=new C(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){$[e]=new C(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){$[e]=new C(e,5,!1,e.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function O(e){return e[1].toUpperCase()}function M(e,t,n,r){var o=$.hasOwnProperty(t)?$[t]:null;(null!==o?0!==o.type:r||!(2--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=a&&0<=l);break}}}finally{X=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?K(e):""}function G(e){switch(e.tag){case 5:return K(e.type);case 16:return K("Lazy");case 13:return K("Suspense");case 19:return K("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function Y(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case R:return"Fragment";case Z:return"Portal";case P:return"Profiler";case T:return"StrictMode";case _:return"Suspense";case z:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case A:return(e.displayName||"Context")+".Consumer";case j:return(e._context.displayName||"Context")+".Provider";case D:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(t=e.displayName||null)?t:Y(e.type)||"Memo";case B:t=e._payload,e=e._init;try{return Y(e(t))}catch(e){}}return null}function Q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Y(t);case 8:return t===T?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function J(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ee(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function et(e){var t=ee(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function en(e){e._valueTracker||(e._valueTracker=et(e))}function er(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ee(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function eo(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function ei(e,t){var n=t.checked;return q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ea(e,t){var n=null==t.defaultValue?"":t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:n=J(null!=t.value?t.value:n),controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function el(e,t){null!=(t=t.checked)&&M(e,"checked",t,!1)}function es(e,t){el(e,t);var n=J(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?eu(e,t.type,n):t.hasOwnProperty("defaultValue")&&eu(e,t.type,J(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ec(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&(void 0===t.value||null===t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function eu(e,t,n){("number"!==t||eo(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ed=Array.isArray;function ef(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=ey.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ex(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var eS={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ek=["Webkit","ms","Moz","O"];function eC(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||eS.hasOwnProperty(e)&&eS[e]?(""+t).trim():t+"px"}function e$(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=eC(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(eS).forEach(function(e){ek.forEach(function(t){eS[t=t+e.charAt(0).toUpperCase()+e.substring(1)]=eS[e]})});var eE=q({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function eO(e,t){if(t){if(eE[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(d(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(d(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(d(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(d(62))}}function eM(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var eI=null;function eN(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var eZ=null,eR=null,eT=null;function eP(e){if(e=r4(e)){if("function"!=typeof eZ)throw Error(d(280));var t=e.stateNode;t&&(t=r5(t),eZ(e.stateNode,e.type,t))}}function ej(e){eR?eT?eT.push(e):eT=[e]:eR=e}function eA(){if(eR){var e=eR,t=eT;if(eT=eR=null,eP(e),t)for(e=0;e>>=0)?32:31-(tc(e)/tu|0)|0}var tf=64,th=4194304;function tp(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:return 0x7c00000&e;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0x40000000;default:return e}}function tm(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=0xfffffff&n;if(0!==a){var l=a&~o;0!==l?r=tp(l):0!=(i&=a)&&(r=tp(i))}else 0!=(a=n&~o)?r=tp(a):0!==i&&(r=tp(i));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!=(4194240&i)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function tx(e,t,n){e.pendingLanes|=t,0x20000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ts(t)]=n}function tS(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=nO),nN=" ",nZ=!1;function nR(e,t){switch(e){case"keyup":return -1!==n$.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nT(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var nP=!1;function nj(e,t){switch(e){case"compositionend":return nT(t);case"keypress":if(32!==t.which)return null;return nZ=!0,nN;case"textInput":return(e=t.data)===nN&&nZ?null:e;default:return null}}function nA(e,t){if(nP)return"compositionend"===e||!nE&&nR(e,t)?(e=t8(),t5=t3=t4=null,nP=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=n4(r)}}function n5(e,t){return!!e&&!!t&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?n5(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function n8(){for(var e=window,t=eo();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=eo(e.document)}return t}function n6(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function n7(e){var t=n8(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&n5(n.ownerDocument.documentElement,n)){if(null!==r&&n6(n)){if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=n3(n,i);var a=n3(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n=document.documentMode,re=null,rt=null,rn=null,rr=!1;function ro(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;rr||null==re||re!==eo(r)||(r="selectionStart"in(r=re)&&n6(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},rn&&n2(rn,r)||(rn=r,0<(r=rN(rt,"onSelect")).length&&(t=new ni("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=re)))}function ri(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ra={animationend:ri("Animation","AnimationEnd"),animationiteration:ri("Animation","AnimationIteration"),animationstart:ri("Animation","AnimationStart"),transitionend:ri("Transition","TransitionEnd")},rl={},rs={};function rc(e){if(rl[e])return rl[e];if(!ra[e])return e;var t,n=ra[e];for(t in n)if(n.hasOwnProperty(t)&&t in rs)return rl[e]=n[t];return e}g&&(rs=document.createElement("div").style,"AnimationEvent"in window||(delete ra.animationend.animation,delete ra.animationiteration.animation,delete ra.animationstart.animation),"TransitionEvent"in window||delete ra.transitionend.transition);var ru=rc("animationend"),rd=rc("animationiteration"),rf=rc("animationstart"),rh=rc("transitionend"),rp=new Map,rm="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function rg(e,t){rp.set(e,t),p(t,[e])}for(var rv=0;rvr6||(e.current=r8[r6],r8[r6]=null,r6--)}function oe(e,t){r8[++r6]=e.current,e.current=t}var ot={},on=r7(ot),or=r7(!1),oo=ot;function oi(e,t){var n=e.type.contextTypes;if(!n)return ot;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function oa(e){return null!=(e=e.childContextTypes)}function ol(){r9(or),r9(on)}function os(e,t,n){if(on.current!==ot)throw Error(d(168));oe(on,t),oe(or,n)}function oc(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(d(108,Q(e)||"Unknown",o));return q({},n,r)}function ou(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ot,oo=on.current,oe(on,e),oe(or,or.current),!0}function od(e,t,n){var r=e.stateNode;if(!r)throw Error(d(169));n?(r.__reactInternalMemoizedMergedChildContext=e=oc(e,t,oo),r9(or),r9(on),oe(on,e)):r9(or),oe(or,n)}var of=null,oh=!1,op=!1;function om(e){null===of?of=[e]:of.push(e)}function og(e){oh=!0,om(e)}function ov(){if(!op&&null!==of){op=!0;var e=0,t=tC;try{var n=of;for(tC=1;e>=a,o-=a,o$=1<<32-ts(t)+o|n<m?(g=d,d=null):g=d.sibling;var v=h(o,d,l[m],s);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(o,d),a=i(v,a,m),null===u?c=v:u.sibling=v,u=v,d=g}if(m===l.length)return n(o,d),oT&&oO(o,m),c;if(null===d){for(;mg?(v=m,m=null):v=m.sibling;var y=h(o,m,b.value,s);if(null===y){null===m&&(m=v);break}e&&m&&null===y.alternate&&t(o,m),a=i(y,a,g),null===u?c=y:u.sibling=y,u=y,m=v}if(b.done)return n(o,m),oT&&oO(o,g),c;if(null===m){for(;!b.done;g++,b=l.next())null!==(b=f(o,b.value,s))&&(a=i(b,a,g),null===u?c=b:u.sibling=b,u=b);return oT&&oO(o,g),c}for(m=r(o,m);!b.done;g++,b=l.next())null!==(b=p(m,o,g,b.value,s))&&(e&&null!==b.alternate&&m.delete(null===b.key?g:b.key),a=i(b,a,g),null===u?c=b:u.sibling=b,u=b);return e&&m.forEach(function(e){return t(o,e)}),oT&&oO(o,g),c}function v(e,r,i,l){if("object"==typeof i&&null!==i&&i.type===R&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case N:e:{for(var s=i.key,c=r;null!==c;){if(c.key===s){if((s=i.type)===R){if(7===c.tag){n(e,c.sibling),(r=o(c,i.props.children)).return=e,e=r;break e}}else if(c.elementType===s||"object"==typeof s&&null!==s&&s.$$typeof===B&&oK(s)===c.type){n(e,c.sibling),(r=o(c,i.props)).ref=oV(e,c,i),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}i.type===R?((r=sE(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=s$(i.type,i.key,i.props,null,e.mode,l)).ref=oV(e,r,i),l.return=e,e=l)}return a(e);case Z:e:{for(c=i.key;null!==r;){if(r.key===c)if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}else{n(e,r);break}t(e,r),r=r.sibling}(r=sI(i,e.mode,l)).return=e,e=r}return a(e);case B:return v(e,r,(c=i._init)(i._payload),l)}if(ed(i))return m(e,r,i,l);if(W(i))return g(e,r,i,l);oq(e,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e):(n(e,r),(r=sM(i,e.mode,l)).return=e),a(e=r)):n(e,r)}return v}var oU=oX(!0),oG=oX(!1),oY=r7(null),oQ=null,oJ=null,o0=null;function o1(){o0=oJ=oQ=null}function o2(e){var t=oY.current;r9(oY),e._currentValue=t}function o4(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function o3(e,t){oQ=e,o0=oJ=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(aI=!0),e.firstContext=null)}function o5(e){var t=e._currentValue;if(o0!==e)if(e={context:e,memoizedValue:t,next:null},null===oJ){if(null===oQ)throw Error(d(308));oJ=e,oQ.dependencies={lanes:0,firstContext:e}}else oJ=oJ.next=e;return t}var o8=null;function o6(e){null===o8?o8=[e]:o8.push(e)}function o7(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,o6(t)):(n.next=o.next,o.next=n),t.interleaved=n,o9(e,r)}function o9(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var ie=!1;function it(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ir(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function io(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ii(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&lE)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,o9(e,n)}return null===(o=r.interleaved)?(t.next=t,o6(r)):(t.next=o.next,o.next=t),r.interleaved=t,o9(e,n)}function ia(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tk(e,n)}}function il(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function is(e,t,n,r){var o=e.updateQueue;ie=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===a?i=c:a.next=c,a=s;var u=e.alternate;null!==u&&(l=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===l?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s)}if(null!==i){var d=o.baseState;for(a=0,u=c=s=null,l=i;;){var f=l.lane,h=l.eventTime;if((r&f)===f){null!==u&&(u=u.next={eventTime:h,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var p=e,m=l;switch(f=t,h=n,m.tag){case 1:if("function"==typeof(p=m.payload)){d=p.call(h,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(f="function"==typeof(p=m.payload)?p.call(h,d,f):p))break e;d=q({},d,f);break e;case 2:ie=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else h={eventTime:h,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===u?(c=u=h,s=d):u=u.next=h,a|=f;if(null===(l=l.next))if(null===(l=o.shared.pending))break;else l=(f=l).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}if(null===u&&(s=d),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do a|=o.lane,o=o.next;while(o!==t)}else null===i&&(o.shared.lanes=0);lP|=a,e.lanes=a,e.memoizedState=d}}function ic(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;tn?n:4,e(!0);var r=i$.transition;i$.transition={};try{e(!1),t()}finally{tC=n,i$.transition=r}}function an(){return iz().memoizedState}function ar(e,t,n){var r=lJ(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ai(e)?aa(t,n):null!==(n=o7(e,t,n,r))&&(l0(n,e,r,lQ()),al(n,t,r))}function ao(e,t,n){var r=lJ(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ai(e))aa(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,n1(l,a)){var s=t.interleaved;null===s?(o.next=o,o6(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch(e){}finally{}null!==(n=o7(e,t,o,r))&&(l0(n,e,r,o=lQ()),al(n,t,r))}}function ai(e){var t=e.alternate;return e===iO||null!==t&&t===iO}function aa(e,t){iZ=iN=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function al(e,t,n){if(0!=(4194240&n)){var r=t.lanes;r&=e.pendingLanes,t.lanes=n|=r,tk(e,n)}}var as={readContext:o5,useCallback:iP,useContext:iP,useEffect:iP,useImperativeHandle:iP,useInsertionEffect:iP,useLayoutEffect:iP,useMemo:iP,useReducer:iP,useRef:iP,useState:iP,useDebugValue:iP,useDeferredValue:iP,useTransition:iP,useMutableSource:iP,useSyncExternalStore:iP,useId:iP,unstable_isNewReconciler:!1},ac={readContext:o5,useCallback:function(e,t){return i_().memoizedState=[e,void 0===t?null:t],e},useContext:o5,useEffect:i1,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,iJ(4194308,4,i5.bind(null,t,e),n)},useLayoutEffect:function(e,t){return iJ(4194308,4,e,t)},useInsertionEffect:function(e,t){return iJ(4,2,e,t)},useMemo:function(e,t){return t=void 0===t?null:t,i_().memoizedState=[e=e(),t],e},useReducer:function(e,t,n){var r=i_();return r.memoizedState=r.baseState=t=void 0!==n?n(t):t,r.queue=e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=ar.bind(null,iO,e),[r.memoizedState,e]},useRef:function(e){return i_().memoizedState=e={current:e}},useState:iG,useDebugValue:i6,useDeferredValue:function(e){return i_().memoizedState=e},useTransition:function(){var e=iG(!1),t=e[0];return e=at.bind(null,e[1]),i_().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=iO,o=i_();if(oT){if(void 0===n)throw Error(d(407));n=n()}else{if(n=t(),null===lO)throw Error(d(349));0!=(30&iE)||iV(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,i1(iK.bind(null,r,i,e),[e]),r.flags|=2048,iY(9,iq.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=i_(),t=lO.identifierPrefix;if(oT){var n=oE,r=o$;t=":"+t+"R"+(n=(r&~(1<<32-ts(r)-1)).toString(32)+n),0<(n=iR++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=iT++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},au={readContext:o5,useCallback:i7,useContext:o5,useEffect:i2,useImperativeHandle:i8,useInsertionEffect:i4,useLayoutEffect:i3,useMemo:i9,useReducer:iB,useRef:iQ,useState:function(){return iB(iL)},useDebugValue:i6,useDeferredValue:function(e){return ae(iz(),iM.memoizedState,e)},useTransition:function(){return[iB(iL)[0],iz().memoizedState]},useMutableSource:iF,useSyncExternalStore:iW,useId:an,unstable_isNewReconciler:!1},ad={readContext:o5,useCallback:i7,useContext:o5,useEffect:i2,useImperativeHandle:i8,useInsertionEffect:i4,useLayoutEffect:i3,useMemo:i9,useReducer:iH,useRef:iQ,useState:function(){return iH(iL)},useDebugValue:i6,useDeferredValue:function(e){var t=iz();return null===iM?t.memoizedState=e:ae(t,iM.memoizedState,e)},useTransition:function(){return[iH(iL)[0],iz().memoizedState]},useMutableSource:iF,useSyncExternalStore:iW,useId:an,unstable_isNewReconciler:!1};function af(e,t){if(e&&e.defaultProps)for(var n in t=q({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}function ah(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:q({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ap={isMounted:function(e){return!!(e=e._reactInternals)&&eQ(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=lQ(),o=lJ(e),i=io(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=ii(e,i,o))&&(l0(t,e,o,r),ia(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=lQ(),o=lJ(e),i=io(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=ii(e,i,o))&&(l0(t,e,o,r),ia(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=lQ(),r=lJ(e),o=io(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=ii(e,o,r))&&(l0(t,e,r,n),ia(t,e,r))}};function am(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||!n2(n,r)||!n2(o,i)}function ag(e,t,n){var r=!1,o=ot,i=t.contextType;return"object"==typeof i&&null!==i?i=o5(i):(o=oa(t)?oo:on.current,i=(r=null!=(r=t.contextTypes))?oi(e,o):ot),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ap,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function av(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ap.enqueueReplaceState(t,t.state,null)}function ab(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},it(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=o5(i):o.context=oi(e,i=oa(t)?oo:on.current),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(ah(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&ap.enqueueReplaceState(o,o.state,null),is(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function ay(e,t){try{var n="",r=t;do n+=G(r),r=r.return;while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function aw(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ax(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var aS="function"==typeof WeakMap?WeakMap:Map;function ak(e,t,n){(n=io(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){lH||(lH=!0,lF=r),ax(e,t)},n}function aC(e,t,n){(n=io(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ax(e,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){ax(e,t),"function"!=typeof r&&(null===lW?lW=new Set([this]):lW.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}function a$(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new aS;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=sm.bind(null,e,t,n),t.then(e,e))}function aE(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function aO(e,t,n,r,o){return 0==(1&e.mode)?e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=io(-1,1)).tag=2,ii(n,t,1))),n.lanes|=1):(e.flags|=65536,e.lanes=o),e}var aM=I.ReactCurrentOwner,aI=!1;function aN(e,t,n,r){t.child=null===e?oG(t,null,n,r):oU(t,e.child,n,r)}function aZ(e,t,n,r,o){n=n.render;var i=t.ref;return(o3(t,o),r=iA(e,t,n,r,i,o),n=iD(),null===e||aI)?(oT&&n&&oI(t),t.flags|=1,aN(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,aY(e,t,o))}function aR(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||sS(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=s$(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,aT(e,t,i,r,o))}if(i=e.child,0==(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:n2)(a,r)&&e.ref===t.ref)return aY(e,t,o)}return t.flags|=1,(e=sC(i,r)).ref=t.ref,e.return=t,t.child=e}function aT(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(n2(i,r)&&e.ref===t.ref)if(aI=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,aY(e,t,o);else 0!=(131072&e.flags)&&(aI=!0)}return aA(e,t,n,r,o)}function aP(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},oe(lZ,lN),lN|=n;else{if(0==(0x40000000&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=0x40000000,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,oe(lZ,lN),lN|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,oe(lZ,lN),lN|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,oe(lZ,lN),lN|=r;return aN(e,t,o,n),t.child}function aj(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function aA(e,t,n,r,o){var i=oa(n)?oo:on.current;return(i=oi(t,i),o3(t,o),n=iA(e,t,n,r,i,o),r=iD(),null===e||aI)?(oT&&r&&oI(t),t.flags|=1,aN(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,aY(e,t,o))}function aD(e,t,n,r,o){if(oa(n)){var i=!0;ou(t)}else i=!1;if(o3(t,o),null===t.stateNode)aG(e,t),ag(t,n,r),ab(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,c=n.contextType;c="object"==typeof c&&null!==c?o5(c):oi(t,c=oa(n)?oo:on.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==c)&&av(t,a,r,c),ie=!1;var f=t.memoizedState;a.state=f,is(t,r,a,o),s=t.memoizedState,l!==r||f!==s||or.current||ie?("function"==typeof u&&(ah(t,n,u,r),s=t.memoizedState),(l=ie||am(t,n,l,r,f,s,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=c,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ir(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:af(t.type,l),a.props=c,d=t.pendingProps,f=a.context,s="object"==typeof(s=n.contextType)&&null!==s?o5(s):oi(t,s=oa(n)?oo:on.current);var h=n.getDerivedStateFromProps;(u="function"==typeof h||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||f!==s)&&av(t,a,r,s),ie=!1,f=t.memoizedState,a.state=f,is(t,r,a,o);var p=t.memoizedState;l!==d||f!==p||or.current||ie?("function"==typeof h&&(ah(t,n,h,r),p=t.memoizedState),(c=ie||am(t,n,c,r,f,p,s)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=s,r=c):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a_(e,t,n,r,i,o)}function a_(e,t,n,r,o,i){aj(e,t);var a=0!=(128&t.flags);if(!r&&!a)return o&&od(t,n,!1),aY(e,t,i);r=t.stateNode,aM.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=oU(t,e.child,null,i),t.child=oU(t,null,l,i)):aN(e,t,l,i),t.memoizedState=r.state,o&&od(t,n,!0),t.child}function az(e){var t=e.stateNode;t.pendingContext?os(e,t.pendingContext,t.pendingContext!==t.context):t.context&&os(e,t.context,!1),ig(e,t.containerInfo)}function aL(e,t,n,r,o){return oH(),oF(o),t.flags|=256,aN(e,t,n,r),t.child}var aB={dehydrated:null,treeContext:null,retryLane:0};function aH(e){return{baseLanes:e,cachePool:null,transitions:null}}function aF(e,t,n){var r,o=t.pendingProps,i=iw.current,a=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(a=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(i|=1),oe(iw,1&i),null===e)return(o_(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=0x40000000,null):(l=o.children,e=o.fallback,a?(o=t.mode,a=t.child,l={mode:"hidden",children:l},0==(1&o)&&null!==a?(a.childLanes=0,a.pendingProps=l):a=sO(l,o,0,null),e=sE(e,o,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=aH(n),t.memoizedState=aB,e):aW(t,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return aq(e,t,l,o,r,i,n);if(a){a=o.fallback,l=t.mode,r=(i=e.child).sibling;var s={mode:"hidden",children:o.children};return 0==(1&l)&&t.child!==i?((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null):(o=sC(i,s)).subtreeFlags=0xe00000&i.subtreeFlags,null!==r?a=sC(r,a):(a=sE(a,l,n,null),a.flags|=2),a.return=t,o.return=t,o.sibling=a,t.child=o,o=a,a=t.child,l=null===(l=e.child.memoizedState)?aH(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},a.memoizedState=l,a.childLanes=e.childLanes&~n,t.memoizedState=aB,o}return e=(a=e.child).sibling,o=sC(a,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function aW(e,t){return(t=sO({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function aV(e,t,n,r){return null!==r&&oF(r),oU(t,e.child,null,n),e=aW(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function aq(e,t,n,r,o,i,a){if(n)return 256&t.flags?(t.flags&=-257,aV(e,t,a,r=aw(Error(d(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=sO({mode:"visible",children:r.children},o,0,null),i=sE(i,o,a,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&oU(t,e.child,null,a),t.child.memoizedState=aH(a),t.memoizedState=aB,i);if(0==(1&t.mode))return aV(e,t,a,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,aV(e,t,a,r=aw(i=Error(d(419)),r,void 0))}if(l=0!=(a&e.childLanes),aI||l){if(null!==(r=lO)){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:o=32;break;case 0x20000000:o=0x10000000;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|a))?0:o)&&o!==i.retryLane&&(i.retryLane=o,o9(e,o),l0(r,e,o,-1))}return so(),aV(e,t,a,r=aw(Error(d(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=sv.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,oR=rK(o.nextSibling),oZ=t,oT=!0,oP=null,null!==e&&(oS[ok++]=o$,oS[ok++]=oE,oS[ok++]=oC,o$=e.id,oE=e.overflow,oC=t),t=aW(t,r.children),t.flags|=4096,t)}function aK(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),o4(e.return,t,n)}function aX(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function aU(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(aN(e,t,r.children,n),0!=(2&(r=iw.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&aK(e,n,t);else if(19===e.tag)aK(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(oe(iw,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(o=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===ix(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),aX(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ix(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}aX(t,!0,n,null,i);break;case"together":aX(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function aG(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function aY(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),lP|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(d(153));if(null!==t.child){for(n=sC(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=sC(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function aQ(e,t,n){switch(t.tag){case 3:az(t),oH();break;case 5:ib(t);break;case 1:oa(t.type)&&ou(t);break;case 4:ig(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;oe(oY,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState)){if(null!==r.dehydrated)return oe(iw,1&iw.current),t.flags|=128,null;if(0!=(n&t.child.childLanes))return aF(e,t,n);return oe(iw,1&iw.current),null!==(e=aY(e,t,n))?e.sibling:null}oe(iw,1&iw.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return aU(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),oe(iw,iw.current),!r)return null;break;case 22:case 23:return t.lanes=0,aP(e,t,n)}return aY(e,t,n)}function aJ(e,t){if(!oT)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function a0(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=0xe00000&o.subtreeFlags,r|=0xe00000&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function a1(e,t,n){var r=t.pendingProps;switch(oN(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return a0(t),null;case 1:case 17:return oa(t.type)&&ol(),a0(t),null;case 3:return r=t.stateNode,iv(),r9(or),r9(on),ik(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===e||null===e.child)&&(oL(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==oP&&(l3(oP),oP=null))),i(e,t),a0(t),null;case 5:iy(t);var s=im(ip.current);if(n=t.type,null!==e&&null!=t.stateNode)a(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(d(166));return a0(t),null}if(e=im(id.current),oL(t)){r=t.stateNode,n=t.type;var c=t.memoizedProps;switch(r[rG]=t,r[rY]=c,e=0!=(1&t.mode),n){case"dialog":rk("cancel",r),rk("close",r);break;case"iframe":case"object":case"embed":rk("load",r);break;case"video":case"audio":for(s=0;s<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[rG]=t,e[rY]=r,o(e,t,!1,!1),t.stateNode=e;e:{switch(u=eM(n,r),n){case"dialog":rk("cancel",e),rk("close",e),s=r;break;case"iframe":case"object":case"embed":rk("load",e),s=r;break;case"video":case"audio":for(s=0;slL&&(t.flags|=128,r=!0,aJ(c,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ix(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),aJ(c,!0),null===c.tail&&"hidden"===c.tailMode&&!u.alternate&&!oT)return a0(t),null}else 2*e7()-c.renderingStartTime>lL&&0x40000000!==n&&(t.flags|=128,r=!0,aJ(c,!1),t.lanes=4194304);c.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=c.last)?n.sibling=u:t.child=u,c.last=u)}if(null!==c.tail)return t=c.tail,c.rendering=t,c.tail=t.sibling,c.renderingStartTime=e7(),t.sibling=null,n=iw.current,oe(iw,r?1&n|2:1&n),t;return a0(t),null;case 22:case 23:return se(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(0x40000000&lN)&&(a0(t),6&t.subtreeFlags&&(t.flags|=8192)):a0(t),null;case 24:case 25:return null}throw Error(d(156,t.tag))}function a2(e,t){switch(oN(t),t.tag){case 1:return oa(t.type)&&ol(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return iv(),r9(or),r9(on),ik(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return iy(t),null;case 13:if(r9(iw),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(d(340));oH()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return r9(iw),null;case 4:return iv(),null;case 10:return o2(t.type._context),null;case 22:case 23:return se(),null;default:return null}}o=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},i=function(){},a=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,im(id.current);var i,a=null;switch(n){case"input":o=ei(e,o),r=ei(e,r),a=[];break;case"select":o=q({},o,{value:void 0}),r=q({},r,{value:void 0}),a=[];break;case"textarea":o=eh(e,o),r=eh(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=rD)}for(c in eO(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(h.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var s=r[c];if(l=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&s!==l&&(null!=s||null!=l))if("style"===c)if(l){for(i in l)!l.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&l[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(a=a||[]).push(c,s)):"children"===c?"string"!=typeof s&&"number"!=typeof s||(a=a||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(h.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&rk("scroll",e),a||l===s||(a=[])):(a=a||[]).push(c,s))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},l=function(e,t,n,r){n!==r&&(t.flags|=4)};var a4=!1,a3=!1,a5="function"==typeof WeakSet?WeakSet:Set,a8=null;function a6(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){sp(e,t,n)}else n.current=null}function a7(e,t,n){try{n()}catch(n){sp(e,t,n)}}var a9=!1;function le(e,t){if(r_=tG,n6(e=n8())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o,i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var l=0,s=-1,c=-1,u=0,f=0,h=e,p=null;t:for(;;){for(;h!==n||0!==i&&3!==h.nodeType||(s=l+i),h!==a||0!==r&&3!==h.nodeType||(c=l+r),3===h.nodeType&&(l+=h.nodeValue.length),null!==(o=h.firstChild);)p=h,h=o;for(;;){if(h===e)break t;if(p===n&&++u===i&&(s=l),p===a&&++f===r&&(c=l),null!==(o=h.nextSibling))break;p=(h=p).parentNode}h=o}n=-1===s||-1===c?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(rz={focusedElem:e,selectionRange:n},tG=!1,a8=t;null!==a8;)if(e=(t=a8).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,a8=e;else for(;null!==a8;){t=a8;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?g:af(t.type,g),v);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(d(163))}}catch(e){sp(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,a8=e;break}a8=t.return}return m=a9,a9=!1,m}function lt(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&a7(t,n,i)}o=o.next}while(o!==r)}}function ln(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function lr(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function lo(e){var t=e.alternate;null!==t&&(e.alternate=null,lo(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[rG],delete t[rY],delete t[rJ],delete t[r0],delete t[r1]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function li(e){return 5===e.tag||3===e.tag||4===e.tag}function la(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||li(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=rD));else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}function ls(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ls(e,t,n),e=e.sibling;null!==e;)ls(e,t,n),e=e.sibling}var lc=null,lu=!1;function ld(e,t,n){for(n=n.child;null!==n;)lf(e,t,n),n=n.sibling}function lf(e,t,n){if(ta&&"function"==typeof ta.onCommitFiberUnmount)try{ta.onCommitFiberUnmount(ti,n)}catch(e){}switch(n.tag){case 5:a3||a6(n,t);case 6:var r=lc,o=lu;lc=null,ld(e,t,n),lc=r,lu=o,null!==lc&&(lu?(e=lc,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):lc.removeChild(n.stateNode));break;case 18:null!==lc&&(lu?(e=lc,n=n.stateNode,8===e.nodeType?rq(e.parentNode,n):1===e.nodeType&&rq(e,n),tX(e)):rq(lc,n.stateNode));break;case 4:r=lc,o=lu,lc=n.stateNode.containerInfo,lu=!0,ld(e,t,n),lc=r,lu=o;break;case 0:case 11:case 14:case 15:if(!a3&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!=(2&i)?a7(n,t,a):0!=(4&i)&&a7(n,t,a)),o=o.next}while(o!==r)}ld(e,t,n);break;case 1:if(!a3&&(a6(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){sp(n,t,e)}ld(e,t,n);break;case 21:default:ld(e,t,n);break;case 22:1&n.mode?(a3=(r=a3)||null!==n.memoizedState,ld(e,t,n),a3=r):ld(e,t,n)}}function lh(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new a5),t.forEach(function(t){var r=sb.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function lp(e,t){var n=t.deletions;if(null!==n)for(var r=0;ro&&(o=a),r&=~i}if(r=o,10<(r=(120>(r=e7()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*lS(r/1960))-r)){e.timeoutHandle=rB(su.bind(null,e,l_,lB),r);break}su(e,l_,lB);break;default:throw Error(d(329))}}}return l1(e,e7()),e.callbackNode===n?l2.bind(null,e):null}function l4(e,t){var n=lD;return e.current.memoizedState.isDehydrated&&(st(e,t).flags|=256),2!==(e=si(e,t))&&(t=l_,l_=n,null!==t&&l3(t)),e}function l3(e){null===l_?l_=e:l_.push.apply(l_,e)}function l5(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;re?16:e,null===lq)var r=!1;else{if(e=lq,lq=null,lK=0,0!=(6&lE))throw Error(d(331));var o=lE;for(lE|=4,a8=e.current;null!==a8;){var i=a8,a=i.child;if(0!=(16&a8.flags)){var l=i.deletions;if(null!==l){for(var s=0;se7()-lz?st(e,0):lA|=n),l1(e,t)}function sg(e,t){0===t&&(0==(1&e.mode)?t=1:(t=th,0==(0x7c00000&(th<<=1))&&(th=4194304)));var n=lQ();null!==(e=o9(e,t))&&(tx(e,t,n),l1(e,n))}function sv(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),sg(e,n)}function sb(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(d(314))}null!==r&&r.delete(t),sg(e,n)}function sy(e,t){return e3(e,t)}function sw(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function sx(e,t,n,r){return new sw(e,t,n,r)}function sS(e){return!(!(e=e.prototype)||!e.isReactComponent)}function sk(e){if("function"==typeof e)return+!!sS(e);if(null!=e){if((e=e.$$typeof)===D)return 11;if(e===L)return 14}return 2}function sC(e,t){var n=e.alternate;return null===n?((n=sx(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0xe00000&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function s$(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)sS(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case R:return sE(n.children,o,i,t);case T:a=8,o|=8;break;case P:return(e=sx(12,n,t,2|o)).elementType=P,e.lanes=i,e;case _:return(e=sx(13,n,t,o)).elementType=_,e.lanes=i,e;case z:return(e=sx(19,n,t,o)).elementType=z,e.lanes=i,e;case H:return sO(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case j:a=10;break e;case A:a=9;break e;case D:a=11;break e;case L:a=14;break e;case B:a=16,r=null;break e}throw Error(d(130,null==e?e:typeof e,""))}return(t=sx(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function sE(e,t,n,r){return(e=sx(7,e,r,t)).lanes=n,e}function sO(e,t,n,r){return(e=sx(22,e,r,t)).elementType=H,e.lanes=n,e.stateNode={isHidden:!1},e}function sM(e,t,n){return(e=sx(6,e,null,t)).lanes=n,e}function sI(e,t,n){return(t=sx(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function sN(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tw(0),this.expirationTimes=tw(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tw(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function sZ(e,t,n,r,o,i,a,l,s){return e=new sN(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=sx(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},it(i),e}function sR(e,t,n){var r=3Z});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),d?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;u.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),I="undefined"!=typeof WeakMap?new WeakMap:new r,N=function(){function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new M(t,f.getInstance(),this);I.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){N.prototype[e]=function(){var t;return(t=I.get(this))[e].apply(t,arguments)}});let Z=function(){return void 0!==i.ResizeObserver?i.ResizeObserver:N}()},60053:function(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0>>1,o=e[r];if(0>>1;ri(s,n))ci(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[l]=n,r=l);else if(ci(u,n))e[r]=u,e[c]=n,r=c;else break}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a,l=performance;t.unstable_now=function(){return l.now()}}else{var s=Date,c=s.now();t.unstable_now=function(){return s.now()-c}}var u=[],d=[],f=1,h=null,p=3,m=!1,g=!1,v=!1,b="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var t=r(d);null!==t;){if(null===t.callback)o(d);else if(t.startTime<=e)o(d),t.sortIndex=t.expirationTime,n(u,t);else break;t=r(d)}}function S(e){if(v=!1,x(e),!g)if(null!==r(u))g=!0,T(k);else{var t=r(d);null!==t&&P(S,t.startTime-e)}}function k(e,n){g=!1,v&&(v=!1,y(E),E=-1),m=!0;var i=p;try{for(x(n),h=r(u);null!==h&&(!(h.expirationTime>n)||e&&!I());){var a=h.callback;if("function"==typeof a){h.callback=null,p=h.priorityLevel;var l=a(h.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?h.callback=l:h===r(u)&&o(u),x(n)}else o(u);h=r(u)}if(null!==h)var s=!0;else{var c=r(d);null!==c&&P(S,c.startTime-n),s=!1}return s}finally{h=null,p=i,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C=!1,$=null,E=-1,O=5,M=-1;function I(){return!(t.unstable_now()-Me||125a?(e.sortIndex=i,n(d,e),null===r(u)&&e===r(d)&&(v?(y(E),E=-1):v=!0,P(S,i-a))):(e.sortIndex=l,n(u,e),g||m||(g=!0,T(k))),e},t.unstable_shouldYield=I,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},63840:function(e,t,n){"use strict";e.exports=n(60053)},71169:function(e){e.exports=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()}},11742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r{let t=e.split("-")[0].toLowerCase();return`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${t}/${e}`},h=(e,t,n,r)=>{let o=[`${[t[e]]} #${e}`];return n&&o.push(`args: ${JSON.stringify(n)}`),o.push(f(e)),r&&o.push(`Original Error Message: - ${r}`),o.join("\n")};function p(){return(p=Object.assign||function(e){for(var t=1;te===t)&&e.push(t),e}function f(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function h(e){return void 0!==e.entry}function p(e){return!e.entry.includes(".json")&&e.entry.includes(".js")}async function m(e,t){try{return await e()}catch(e){t||u(e);return}}function g(e){return e&&"object"==typeof e}let v=Object.prototype.toString;function b(e){return"[object Object]"===v.call(e)}function y(e,t){let n=/^(https?:)?\/\//i;return e.replace(n,"").replace(/\/$/,"")===t.replace(n,"").replace(/\/$/,"")}function w(e){return Array.isArray(e)?e:[e]}function x(e){let t={url:"",type:"global",globalName:""};return o.isBrowserEnv()||o.isReactNativeEnv()?"remoteEntry"in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:t:"ssrRemoteEntry"in e?{url:e.ssrRemoteEntry||t.url,type:e.ssrRemoteEntryType||t.type,globalName:e.globalName}:t}let S=(e,t)=>{let n;return n=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),n+=t},k="object"==typeof globalThis?globalThis:window,C=(()=>{try{return document.defaultView}catch(e){return k}})(),$=C;function E(e,t,n){Object.defineProperty(e,t,{value:n,configurable:!1,writable:!0})}function O(e,t){return Object.hasOwnProperty.call(e,t)}O(k,"__GLOBAL_LOADING_REMOTE_ENTRY__")||E(k,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});let M=k.__GLOBAL_LOADING_REMOTE_ENTRY__;function I(e){var t,n,r,o,i,a,l,s,c,u,d,f;O(e,"__VMOK__")&&!O(e,"__FEDERATION__")&&E(e,"__FEDERATION__",e.__VMOK__),O(e,"__FEDERATION__")||(E(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),E(e,"__VMOK__",e.__FEDERATION__)),null!=(l=(t=e.__FEDERATION__).__GLOBAL_PLUGIN__)||(t.__GLOBAL_PLUGIN__=[]),null!=(s=(n=e.__FEDERATION__).__INSTANCES__)||(n.__INSTANCES__=[]),null!=(c=(r=e.__FEDERATION__).moduleInfo)||(r.moduleInfo={}),null!=(u=(o=e.__FEDERATION__).__SHARE__)||(o.__SHARE__={}),null!=(d=(i=e.__FEDERATION__).__MANIFEST_LOADING__)||(i.__MANIFEST_LOADING__={}),null!=(f=(a=e.__FEDERATION__).__PRELOADED_MAP__)||(a.__PRELOADED_MAP__=new Map)}function N(){k.__FEDERATION__.__GLOBAL_PLUGIN__=[],k.__FEDERATION__.__INSTANCES__=[],k.__FEDERATION__.moduleInfo={},k.__FEDERATION__.__SHARE__={},k.__FEDERATION__.__MANIFEST_LOADING__={},Object.keys(M).forEach(e=>{delete M[e]})}function Z(e){k.__FEDERATION__.__INSTANCES__.push(e)}function R(){return k.__FEDERATION__.__DEBUG_CONSTRUCTOR__}function T(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.isDebugMode();t&&(k.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,k.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.13.1")}function P(e,t){if("string"==typeof t){if(e[t])return{value:e[t],key:t};for(let n of Object.keys(e)){let[r,o]=n.split(":"),i=`${r}:${t}`,a=e[i];if(a)return{value:a,key:i}}return{value:void 0,key:t}}throw Error("key must be string")}I(k),I(C);let j=()=>C.__FEDERATION__.moduleInfo,A=(e,t)=>{let n=P(t,f(e)).value;if(n&&!n.version&&"version"in e&&e.version&&(n.version=e.version),n)return n;if("version"in e&&e.version){let{version:t}=e,n=f(r._object_without_properties_loose(e,["version"])),o=P(C.__FEDERATION__.moduleInfo,n).value;if((null==o?void 0:o.version)===t)return o}},D=e=>A(e,C.__FEDERATION__.moduleInfo),_=(e,t)=>{let n=f(e);return C.__FEDERATION__.moduleInfo[n]=t,C.__FEDERATION__.moduleInfo},z=e=>(C.__FEDERATION__.moduleInfo=r._extends({},C.__FEDERATION__.moduleInfo,e),()=>{for(let t of Object.keys(e))delete C.__FEDERATION__.moduleInfo[t]}),L=(e,t)=>{let n=t||`__FEDERATION_${e}:custom__`,r=k[n];return{remoteEntryKey:n,entryExports:r}},B=e=>{let{__GLOBAL_PLUGIN__:t}=C.__FEDERATION__;e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):u(`The plugin ${e.name} has been registered.`)})},H=()=>C.__FEDERATION__.__GLOBAL_PLUGIN__,F=e=>k.__FEDERATION__.__PRELOADED_MAP__.get(e),W=e=>k.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),V="default",q="global",K="[0-9A-Za-z-]+",X=`(?:\\+(${K}(?:\\.${K})*))`,U="0|[1-9]\\d*",G="[0-9]+",Y="\\d*[a-zA-Z-][a-zA-Z0-9-]*",Q=`(?:${G}|${Y})`,J=`(?:-?(${Q}(?:\\.${Q})*))`,ee=`(?:${U}|${Y})`,et=`(?:-(${ee}(?:\\.${ee})*))`,en=`${U}|x|X|\\*`,er=`[v=\\s]*(${en})(?:\\.(${en})(?:\\.(${en})(?:${et})?${X}?)?)?`,eo=`^\\s*(${er})\\s+-\\s+(${er})\\s*$`,ei=`(${G})\\.(${G})\\.(${G})`,ea=`[v=\\s]*${ei}${J}?${X}?`,el="((?:<|>)?=?)",es=`(\\s*)${el}\\s*(${ea}|${er})`,ec="(?:~>?)",eu=`(\\s*)${ec}\\s+`,ed="(?:\\^)",ef=`(\\s*)${ed}\\s+`,eh="(<|>)?=?\\s*\\*",ep=`^${ed}${er}$`,em=`(${U})\\.(${U})\\.(${U})`,eg=`v?${em}${et}?${X}?`,ev=`^${ec}${er}$`,eb=`^${el}\\s*${er}$`,ey=`^${el}\\s*(${eg})$|^$`,ew="^\\s*>=\\s*0.0.0\\s*$";function ex(e){return new RegExp(e)}function eS(e){return!e||"x"===e.toLowerCase()||"*"===e}function ek(){for(var e=arguments.length,t=Array(e),n=0;nt.reduce((e,t)=>t(e),e)}function eC(e){return e.match(ex(ey))}function e$(e,t,n,r){let o=`${e}.${t}.${n}`;return r?`${o}-${r}`:o}function eE(e){return e.replace(ex(eo),(e,t,n,r,o,i,a,l,s,c,u,d)=>(t=eS(n)?"":eS(r)?`>=${n}.0.0`:eS(o)?`>=${n}.${r}.0`:`>=${t}`,l=eS(s)?"":eS(c)?`<${Number(s)+1}.0.0-0`:eS(u)?`<${s}.${Number(c)+1}.0-0`:d?`<=${s}.${c}.${u}-${d}`:`<=${l}`,`${t} ${l}`.trim()))}function eO(e){return e.replace(ex(es),"$1$2$3")}function eM(e){return e.replace(ex(eu),"$1~")}function eI(e){return e.replace(ex(ef),"$1^")}function eN(e){return e.trim().split(/\s+/).map(e=>e.replace(ex(ep),(e,t,n,r,o)=>{if(eS(t))return"";if(eS(n))return`>=${t}.0.0 <${Number(t)+1}.0.0-0`;if(eS(r))if("0"===t)return`>=${t}.${n}.0 <${t}.${Number(n)+1}.0-0`;else return`>=${t}.${n}.0 <${Number(t)+1}.0.0-0`;if(o)if("0"!==t)return`>=${t}.${n}.${r}-${o} <${Number(t)+1}.0.0-0`;else if("0"===n)return`>=${t}.${n}.${r}-${o} <${t}.${n}.${Number(r)+1}-0`;else return`>=${t}.${n}.${r}-${o} <${t}.${Number(n)+1}.0-0`;if("0"===t)if("0"===n)return`>=${t}.${n}.${r} <${t}.${n}.${Number(r)+1}-0`;else return`>=${t}.${n}.${r} <${t}.${Number(n)+1}.0-0`;return`>=${t}.${n}.${r} <${Number(t)+1}.0.0-0`})).join(" ")}function eZ(e){return e.trim().split(/\s+/).map(e=>e.replace(ex(ev),(e,t,n,r,o)=>eS(t)?"":eS(n)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:eS(r)?`>=${t}.${n}.0 <${t}.${Number(n)+1}.0-0`:o?`>=${t}.${n}.${r}-${o} <${t}.${Number(n)+1}.0-0`:`>=${t}.${n}.${r} <${t}.${Number(n)+1}.0-0`)).join(" ")}function eR(e){return e.split(/\s+/).map(e=>e.trim().replace(ex(eb),(e,t,n,r,o,i)=>{let a=eS(n),l=a||eS(r),s=l||eS(o);if("="===t&&s&&(t=""),i="",a)if(">"===t||"<"===t)return"<0.0.0-0";else return"*";return t&&s?(l&&(r=0),o=0,">"===t?(t=">=",l?(n=Number(n)+1,r=0):r=Number(r)+1,o=0):"<="===t&&(t="<",l?n=Number(n)+1:r=Number(r)+1),"<"===t&&(i="-0"),`${t+n}.${r}.${o}${i}`):l?`>=${n}.0.0${i} <${Number(n)+1}.0.0-0`:s?`>=${n}.${r}.0${i} <${n}.${Number(r)+1}.0-0`:e})).join(" ")}function eT(e){return e.trim().replace(ex(eh),"")}function eP(e){return e.trim().replace(ex(ew),"")}function ej(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function eA(e,t){let{preRelease:n}=e,{preRelease:r}=t;if(void 0===n&&r)return 1;if(n&&void 0===r)return -1;if(void 0===n&&void 0===r)return 0;for(let e=0,t=n.length;e<=t;e++){let t=n[e],o=r[e];if(t!==o){if(void 0===t&&void 0===o)return 0;if(!t)return 1;if(!o)return -1;return ej(t,o)}}return 0}function eD(e,t){return ej(e.major,t.major)||ej(e.minor,t.minor)||ej(e.patch,t.patch)||eA(e,t)}function e_(e,t){return e.version===t.version}function ez(e,t){switch(e.operator){case"":case"=":return e_(e,t);case">":return 0>eD(e,t);case">=":return e_(e,t)||0>eD(e,t);case"<":return eD(e,t)>0;case"<=":return e_(e,t)||eD(e,t)>0;case void 0:return!0;default:return!1}}function eL(e){return ek(eN,eZ,eR,eT)(e)}function eB(e){return ek(eE,eO,eM,eI)(e.trim()).split(/\s+/).join(" ")}function eH(e,t){if(!e)return!1;let n=eB(t).split(" ").map(e=>eL(e)).join(" ").split(/\s+/).map(e=>eP(e)),r=eC(e);if(!r)return!1;let[,o,,i,a,l,s]=r,c={operator:o,version:e$(i,a,l,s),major:i,minor:a,patch:l,preRelease:null==s?void 0:s.split(".")};for(let e of n){let t=eC(e);if(!t)return!1;let[,n,,r,o,i,a]=t;if(!ez({operator:n,version:e$(r,o,i,a),major:r,minor:o,patch:i,preRelease:null==a?void 0:a.split(".")},c))return!1}return!0}function eF(e,t,n,o){var i,a,l;let s;return s="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{throw Error(`Can not get shared '${n}'!`)}),r._extends({deps:[],useIn:[],from:t,loading:null},e,{shareConfig:r._extends({requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1},e.shareConfig),get:s,loaded:null!=e&&!!e.loaded||"lib"in e||void 0,version:null!=(i=e.version)?i:"0",scope:Array.isArray(e.scope)?e.scope:[null!=(a=e.scope)?a:"default"],strategy:(null!=(l=e.strategy)?l:o)||"version-first"})}function eW(e,t){let n=t.shared||{},o=t.name,i=Object.keys(n).reduce((e,r)=>{let i=w(n[r]);return e[r]=e[r]||[],i.forEach(n=>{e[r].push(eF(n,o,r,t.shareStrategy))}),e},{}),a=r._extends({},e.shared);return Object.keys(i).forEach(e=>{a[e]?i[e].forEach(t=>{a[e].find(e=>e.version===t.version)||a[e].push(t)}):a[e]=i[e]}),{shared:a,shareInfos:i}}function eV(e,t){let n=e=>{if(!Number.isNaN(Number(e))){let t=e.split("."),n=e;for(let e=0;e<3-t.length;e++)n+=".0";return n}return e};return!!eH(n(e),`<=${n(t)}`)}let eq=(e,t)=>{let n=t||function(e,t){return eV(e,t)};return Object.keys(e).reduce((e,t)=>!e||n(e,t)||"0"===e?t:e,0)},eK=e=>!!e.loaded||"function"==typeof e.lib,eX=e=>!!e.loading;function eU(e,t,n){let r=e[t][n],o=function(e,t){return!eK(r[e])&&eV(e,t)};return eq(e[t][n],o)}function eG(e,t,n){let r=e[t][n],o=function(e,t){let n=e=>eK(e)||eX(e);if(n(r[t]))if(n(r[e]))return!!eV(e,t);else return!0;return!n(r[e])&&eV(e,t)};return eq(e[t][n],o)}function eY(e){return"loaded-first"===e?eG:eU}function eQ(e,t,n,r){if(!e)return;let{shareConfig:o,scope:i=V,strategy:a}=n;for(let l of Array.isArray(i)?i:[i])if(o&&e[l]&&e[l][t]){let{requiredVersion:i}=o,s=eY(a)(e,l,t),d=()=>{if(o.singleton){if("string"==typeof i&&!eH(s,i)){let r=`Version ${s} from ${s&&e[l][t][s].from} of shared singleton module ${t} does not satisfy the requirement of ${n.from} which needs ${i})`;o.strictVersion?c(r):u(r)}return e[l][t][s]}if(!1===i||"*"===i||eH(s,i))return e[l][t][s];for(let[n,r]of Object.entries(e[l][t]))if(eH(n,i))return r},f={shareScopeMap:e,scope:l,pkgName:t,version:s,GlobalFederation:$.__FEDERATION__,resolver:d};return(r.emit(f)||f).resolver()}}function eJ(){return $.__FEDERATION__.__SHARE__}function e0(e){var t;let{pkgName:n,extraOptions:r,shareInfos:o}=e,i=e=>{if(!e)return;let t={};e.forEach(e=>{t[e.version]=e});let n=function(e,n){return!eK(t[e])&&eV(e,n)},r=eq(t,n);return t[r]};return Object.assign({},(null!=(t=null==r?void 0:r.resolver)?t:i)(o[n]),null==r?void 0:r.customShareInfo)}var e1={global:{Global:$,nativeGlobal:C,resetFederationGlobalInfo:N,setGlobalFederationInstance:Z,getGlobalFederationConstructor:R,setGlobalFederationConstructor:T,getInfoWithoutType:P,getGlobalSnapshot:j,getTargetSnapshotInfoByModuleInfo:A,getGlobalSnapshotInfoByModuleInfo:D,setGlobalSnapshotInfoByModuleInfo:_,addGlobalSnapshot:z,getRemoteEntryExports:L,registerGlobalPlugins:B,getGlobalHostPlugins:H,getPreloaded:F,setPreloaded:W},share:{getRegisteredShare:eQ,getGlobalShareScope:eJ}};function e2(){return"pimcore_studio_ui_bundle:0.0.1"}function e4(e,t){for(let n of e){let e=t.startsWith(n.name),r=t.replace(n.name,"");if(e){if(r.startsWith("/"))return{pkgNameOrAlias:n.name,expose:r=`.${r}`,remote:n};else if(""===r)return{pkgNameOrAlias:n.name,expose:".",remote:n}}let o=n.alias&&t.startsWith(n.alias),i=n.alias&&t.replace(n.alias,"");if(n.alias&&o){if(i&&i.startsWith("/"))return{pkgNameOrAlias:n.alias,expose:i=`.${i}`,remote:n};else if(""===i)return{pkgNameOrAlias:n.alias,expose:".",remote:n}}}}function e3(e,t){for(let n of e)if(t===n.name||n.alias&&t===n.alias)return n}function e5(e,t){let n=H();return n.length>0&&n.forEach(t=>{(null==e?void 0:e.find(e=>e.name!==t.name))&&e.push(t)}),e&&e.length>0&&e.forEach(e=>{t.forEach(t=>{t.applyPlugin(e)})}),e}async function e8(e){let{entry:t,remoteEntryExports:n}=e;return new Promise((e,r)=>{try{n?e(n):"undefined"!=typeof FEDERATION_ALLOW_NEW_FUNCTION?Function("callbacks",`import("${t}").then(callbacks[0]).catch(callbacks[1])`)([e,r]):import(t).then(e).catch(r)}catch(e){r(e)}})}async function e6(e){let{entry:t,remoteEntryExports:n}=e;return new Promise((e,r)=>{try{n?e(n):Function("callbacks",`System.import("${t}").then(callbacks[0]).catch(callbacks[1])`)([e,r])}catch(e){r(e)}})}async function e7(e){let{name:t,globalName:n,entry:r,loaderHook:a}=e,{entryExports:l}=L(t,n);return l||o.loadScript(r,{attrs:{},createScriptHook:(e,t)=>{let n=a.lifecycle.createScript.emit({url:e,attrs:t});if(n&&(n instanceof HTMLScriptElement||"script"in n||"timeout"in n))return n}}).then(()=>{let{remoteEntryKey:e,entryExports:o}=L(t,n);return s(o,i.getShortErrorMsg(i.RUNTIME_001,i.runtimeDescMap,{remoteName:t,remoteEntryUrl:r,remoteEntryKey:e})),o}).catch(e=>{throw s(void 0,i.getShortErrorMsg(i.RUNTIME_008,i.runtimeDescMap,{remoteName:t,resourceUrl:r})),e})}async function e9(e){let{remoteInfo:t,remoteEntryExports:n,loaderHook:r}=e,{entry:o,entryGlobalName:i,name:a,type:l}=t;switch(l){case"esm":case"module":return e8({entry:o,remoteEntryExports:n});case"system":return e6({entry:o,remoteEntryExports:n});default:return e7({entry:o,globalName:i,name:a,loaderHook:r})}}async function te(e){let{remoteInfo:t,loaderHook:n}=e,{entry:r,entryGlobalName:a,name:l,type:c}=t,{entryExports:u}=L(l,a);return u||o.loadScriptNode(r,{attrs:{name:l,globalName:a,type:c},loaderHook:{createScriptHook:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.lifecycle.createScript.emit({url:e,attrs:t});if(r&&"url"in r)return r}}}).then(()=>{let{remoteEntryKey:e,entryExports:t}=L(l,a);return s(t,i.getShortErrorMsg(i.RUNTIME_001,i.runtimeDescMap,{remoteName:l,remoteEntryUrl:r,remoteEntryKey:e})),t}).catch(e=>{throw e})}function tt(e){let{entry:t,name:n}=e;return o.composeKeyWithSeparator(n,t)}async function tn(e){let{origin:t,remoteEntryExports:n,remoteInfo:r}=e,i=tt(r);if(n)return n;if(!M[i]){let e=t.remoteHandler.hooks.lifecycle.loadEntry,a=t.loaderHook;M[i]=e.emit({loaderHook:a,remoteInfo:r,remoteEntryExports:n}).then(e=>e||(o.isBrowserEnv()?e9({remoteInfo:r,remoteEntryExports:n,loaderHook:a}):te({remoteInfo:r,loaderHook:a})))}return M[i]}function tr(e){return r._extends({},e,{entry:"entry"in e?e.entry:"",type:e.type||q,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||V})}let to=class{async getEntry(){let e;if(this.remoteEntryExports)return this.remoteEntryExports;try{e=await tn({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports})}catch(n){let t=tt(this.remoteInfo);e=await this.host.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:tn,origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports,globalLoading:M,uniqueKey:t})}return s(e,`remoteEntryExports is undefined - ${o.safeToString(this.remoteInfo)}`),this.remoteEntryExports=e,this.remoteEntryExports}async get(e,t,n,o){let a,{loadFactory:l=!0}=n||{loadFactory:!0},u=await this.getEntry();if(!this.inited){let t=this.host.shareScopeMap,n=Array.isArray(this.remoteInfo.shareScope)?this.remoteInfo.shareScope:[this.remoteInfo.shareScope];n.length||n.push("default"),n.forEach(e=>{t[e]||(t[e]={})});let a=t[n[0]],l=[],s={version:this.remoteInfo.version||"",shareScopeKeys:Array.isArray(this.remoteInfo.shareScope)?n:this.remoteInfo.shareScope||"default"};Object.defineProperty(s,"shareScopeMap",{value:t,enumerable:!1});let d=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:a,remoteEntryInitOptions:s,initScope:l,remoteInfo:this.remoteInfo,origin:this.host});void 0===(null==u?void 0:u.init)&&c(i.getShortErrorMsg(i.RUNTIME_002,i.runtimeDescMap,{remoteName:name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName})),await u.init(d.shareScope,d.initScope,d.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit(r._extends({},d,{id:e,remoteSnapshot:o,remoteEntryExports:u}))}this.lib=u,this.inited=!0,(a=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:u,expose:t,moduleInfo:this.remoteInfo}))||(a=await u.get(t)),s(a,`${f(this.remoteInfo)} remote don't export ${t}.`);let d=S(this.remoteInfo.name,t),h=this.wraperFactory(a,d);return l?await h():h}wraperFactory(e,t){function n(e,t){e&&"object"==typeof e&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for("mf_module_id"))&&Object.defineProperty(e,Symbol.for("mf_module_id"),{value:t,enumerable:!1})}return e instanceof Promise?async()=>{let r=await e();return n(r,t),r}:()=>{let r=e();return n(r,t),r}}constructor({remoteInfo:e,host:t}){this.inited=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}};class ti{on(e){"function"==typeof e&&this.listeners.add(e)}once(e){let t=this;this.on(function n(){for(var r=arguments.length,o=Array(r),i=0;i0&&this.listeners.forEach(t=>{e=t(...n)}),e}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}}class ta extends ti{emit(){let e;for(var t=arguments.length,n=Array(t),r=0;r0){let t=0,r=e=>!1!==e&&(t0){let n=0,r=t=>(u(t),this.onerror(t),e),o=i=>{if(tl(e,i)){if(e=i,n{let n=e[t];n&&this.lifecycle[t].on(n)}))}removePlugin(e){s(e,"A name is required.");let t=this.registerPlugins[e];s(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(t[e])})}inherit(e){let{lifecycle:t,registerPlugins:n}=e;Object.keys(t).forEach(e=>{s(!this.lifecycle[e],`The hook "${e}" has a conflict and cannot be inherited.`),this.lifecycle[e]=t[e]}),Object.keys(n).forEach(e=>{s(!this.registerPlugins[e],`The plugin "${e}" has a conflict and cannot be inherited.`),this.applyPlugin(n[e])})}constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}}function td(e){return r._extends({resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1},e)}function tf(e,t){return t.map(t=>{let n=e3(e,t.nameOrAlias);return s(n,`Unable to preload ${t.nameOrAlias} as it is not included in ${!n&&o.safeToString({remoteInfo:n,remotes:e})}`),{remote:n,preloadConfig:td(t)}})}function th(e){return e?e.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[]}function tp(e,t,n){let r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],{cssAssets:i,jsAssetsWithoutEntry:a,entryAssets:l}=n;if(t.options.inBrowser){if(l.forEach(n=>{let{moduleInfo:r}=n,o=t.moduleCache.get(e.name);o?tn({origin:t,remoteInfo:r,remoteEntryExports:o.remoteEntryExports}):tn({origin:t,remoteInfo:r,remoteEntryExports:void 0})}),r){let e={rel:"preload",as:"style"};i.forEach(n=>{let{link:r,needAttach:i}=o.createLink({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{let r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r}});i&&document.head.appendChild(r)})}else{let e={rel:"stylesheet",type:"text/css"};i.forEach(n=>{let{link:r,needAttach:i}=o.createLink({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{let r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r},needDeleteLink:!1});i&&document.head.appendChild(r)})}if(r){let e={rel:"preload",as:"script"};a.forEach(n=>{let{link:r,needAttach:i}=o.createLink({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{let r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r}});i&&document.head.appendChild(r)})}else{let n={fetchpriority:"high",type:(null==e?void 0:e.type)==="module"?"module":"text/javascript"};a.forEach(e=>{let{script:r,needAttach:i}=o.createScript({url:e,cb:()=>{},attrs:n,createScriptHook:(e,n)=>{let r=t.loaderHook.lifecycle.createScript.emit({url:e,attrs:n});if(r instanceof HTMLScriptElement)return r},needDeleteScript:!0});i&&document.head.appendChild(r)})}}}function tm(e,t){let n=x(t);n.url||c(`The attribute remoteEntry of ${e.name} must not be undefined.`);let r=o.getResourceUrl(t,n.url);o.isBrowserEnv()||r.startsWith("http")||(r=`https:${r}`),e.type=n.type,e.entryGlobalName=n.globalName,e.entry=r,e.version=t.version,e.buildVersion=t.buildVersion}function tg(){return{name:"snapshot-plugin",async afterResolve(e){let{remote:t,pkgNameOrAlias:n,expose:o,origin:i,remoteInfo:a}=e;if(!h(t)||!p(t)){let{remoteSnapshot:l,globalSnapshot:s}=await i.snapshotHandler.loadRemoteSnapshotInfo(t);tm(a,l);let c={remote:t,preloadConfig:{nameOrAlias:n,exposes:[o],resourceCategory:"sync",share:!1,depsRemote:!1}},u=await i.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:i,preloadOptions:c,remoteInfo:a,remote:t,remoteSnapshot:l,globalSnapshot:s});return u&&tp(a,i,u,!1),r._extends({},e,{remoteSnapshot:l})}return e}}}function tv(e){let t=e.split(":");return 1===t.length?{name:t[0],version:void 0}:2===t.length?{name:t[0],version:t[1]}:{name:t[1],version:t[2]}}function tb(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5?arguments[5]:void 0,{value:l}=P(e,f(t)),s=a||l;if(s&&!o.isManifestProvider(s)&&(n(s,t,r),s.remotesInfo))for(let t of Object.keys(s.remotesInfo)){if(i[t])continue;i[t]=!0;let r=tv(t),o=s.remotesInfo[t];tb(e,{name:r.name,version:o.matchedVersion},n,!1,i,void 0)}}let ty=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function tw(e,t,n,r,i){let a=[],l=[],s=[],c=new Set,u=new Set,{options:d}=e,{preloadConfig:f}=t,{depsRemote:h}=f;if(tb(r,n,(t,n,r)=>{let i;if(r)i=f;else if(Array.isArray(h)){let e=h.find(e=>e.nameOrAlias===n.name||e.nameOrAlias===n.alias);if(!e)return;i=td(e)}else{if(!0!==h)return;i=f}let c=o.getResourceUrl(t,x(t).url);c&&s.push({name:n.name,moduleInfo:{name:n.name,entry:c,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:n.name,shareScope:"",version:"version"in t?t.version:void 0},url:c});let u="modules"in t?t.modules:[],d=th(i.exposes);if(d.length&&"modules"in t){var p;u=null==t||null==(p=t.modules)?void 0:p.reduce((e,t)=>((null==d?void 0:d.indexOf(t.moduleName))!==-1&&e.push(t),e),[])}function m(e){let n=e.map(e=>o.getResourceUrl(t,e));return i.filter?n.filter(i.filter):n}if(u){let r=u.length;for(let o=0;o{let r=eQ(e.shareScopeMap,n.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare);r&&"function"==typeof r.lib&&(n.assets.js.sync.forEach(e=>{c.add(e)}),n.assets.css.sync.forEach(e=>{u.add(e)}))};i.shared.forEach(e=>{var n;let r=null==(n=d.shared)?void 0:n[e.sharedName];if(!r)return;let o=e.version?r.find(t=>t.version===e.version):r;o&&w(o).forEach(n=>{t(n,e)})})}let p=l.filter(e=>!c.has(e)&&!ty("script",e));return{cssAssets:a.filter(e=>!u.has(e)&&!ty("link",e)),jsAssetsWithoutEntry:p,entryAssets:s.filter(e=>!ty("script",e.url))}}let tx=function(){return{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){let{origin:t,preloadOptions:n,remoteInfo:r,remote:i,globalSnapshot:a,remoteSnapshot:l}=e;return o.isBrowserEnv()?h(i)&&p(i)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:i.name,url:i.entry,moduleInfo:{name:r.name,entry:i.entry,type:r.type||"global",entryGlobalName:"",shareScope:""}}]}:(tm(r,l),tw(t,n,r,a,l)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}};function tS(e,t){let n=D({name:t.options.name,version:t.options.version}),r=n&&"remotesInfo"in n&&n.remotesInfo&&P(n.remotesInfo,e.name).value;return r&&r.matchedVersion?{hostGlobalSnapshot:n,globalSnapshot:j(),remoteSnapshot:D({name:e.name,version:r.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:j(),remoteSnapshot:D({name:e.name,version:"version"in e?e.version:void 0})}}class tk{async loadSnapshot(e){let{options:t}=this.HostInstance,{hostGlobalSnapshot:n,remoteSnapshot:r,globalSnapshot:o}=this.getGlobalRemoteInfo(e),{remoteSnapshot:i,globalSnapshot:a}=await this.hooks.lifecycle.loadSnapshot.emit({options:t,moduleInfo:e,hostGlobalSnapshot:n,remoteSnapshot:r,globalSnapshot:o});return{remoteSnapshot:i,globalSnapshot:a}}async loadRemoteSnapshotInfo(e){let t,n,{options:a}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:a,moduleInfo:e});let l=D({name:this.HostInstance.options.name,version:this.HostInstance.options.version});l||(l={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},z({[this.HostInstance.options.name]:l})),l&&"remotesInfo"in l&&!P(l.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(l.remotesInfo=r._extends({},null==l?void 0:l.remotesInfo,{[e.name]:{matchedVersion:"version"in e?e.version:e.entry}}));let{hostGlobalSnapshot:s,remoteSnapshot:u,globalSnapshot:d}=this.getGlobalRemoteInfo(e),{remoteSnapshot:f,globalSnapshot:p}=await this.hooks.lifecycle.loadSnapshot.emit({options:a,moduleInfo:e,hostGlobalSnapshot:s,remoteSnapshot:u,globalSnapshot:d});if(f)if(o.isManifestProvider(f)){let i=o.isBrowserEnv()?f.remoteEntry:f.ssrRemoteEntry||f.remoteEntry||"",a=await this.getManifestJson(i,e,{}),l=_(r._extends({},e,{entry:i}),a);t=a,n=l}else{let{remoteSnapshot:r}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:f,from:"global"});t=r,n=p}else if(h(e)){let r=await this.getManifestJson(e.entry,e,{}),o=_(e,r),{remoteSnapshot:i}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:r,from:"global"});t=i,n=o}else c(i.getShortErrorMsg(i.RUNTIME_007,i.runtimeDescMap,{hostName:e.name,hostVersion:e.version,globalSnapshot:JSON.stringify(p)}));return await this.hooks.lifecycle.afterLoadSnapshot.emit({options:a,moduleInfo:e,remoteSnapshot:t}),{remoteSnapshot:t,globalSnapshot:n}}getGlobalRemoteInfo(e){return tS(e,this.HostInstance)}async getManifestJson(e,t,n){let r=async()=>{let n=this.manifestCache.get(e);if(n)return n;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{});t&&t instanceof Response||(t=await fetch(e,{})),n=await t.json()}catch(r){(n=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance}))||(delete this.manifestLoading[e],c(i.getShortErrorMsg(i.RUNTIME_003,i.runtimeDescMap,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${r}`)))}return s(n.metaData&&n.exposes&&n.shared,`${e} is not a federation manifest`),this.manifestCache.set(e,n),n},a=async()=>{let n=await r(),i=o.generateSnapshotFromManifest(n,{version:e}),{remoteSnapshot:a}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:n,remoteSnapshot:i,manifestUrl:e,from:"manifest"});return a};return this.manifestLoading[e]||(this.manifestLoading[e]=a().then(e=>e)),this.manifestLoading[e]}constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new tu({beforeLoadRemoteSnapshot:new ta("beforeLoadRemoteSnapshot"),loadSnapshot:new tc("loadGlobalSnapshot"),loadRemoteSnapshot:new tc("loadRemoteSnapshot"),afterLoadSnapshot:new tc("afterLoadSnapshot")}),this.manifestLoading=$.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}}class tC{registerShared(e,t){let{shareInfos:n,shared:r}=eW(e,t);return Object.keys(n).forEach(e=>{n[e].forEach(n=>{!eQ(this.shareScopeMap,e,n,this.hooks.lifecycle.resolveShare)&&n&&n.lib&&this.setShared({pkgName:e,lib:n.lib,get:n.get,loaded:!0,shared:n,from:t.name})})}),{shareInfos:n,shared:r}}async loadShare(e,t){let{host:n}=this,r=e0({pkgName:e,extraOptions:t,shareInfos:n.options.shared});(null==r?void 0:r.scope)&&await Promise.all(r.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:r.strategy}))}));let{shareInfo:o}=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:r,shared:n.options.shared,origin:n});s(o,`Cannot find ${e} Share in the ${n.options.name}. Please ensure that the ${e} Share parameters have been injected`);let i=eQ(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare),a=e=>{e.useIn||(e.useIn=[]),d(e.useIn,n.options.name)};if(i&&i.lib)return a(i),i.lib;if(i&&i.loading&&!i.loaded){let e=await i.loading;return i.loaded=!0,i.lib||(i.lib=e),a(i),e}if(i){let t=(async()=>{let t=await i.get();o.lib=t,o.loaded=!0,a(o);let n=eQ(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare);return n&&(n.lib=t,n.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:i,from:n.options.name,lib:null,loading:t}),t}{if(null==t?void 0:t.customShareInfo)return!1;let r=(async()=>{let t=await o.get();o.lib=t,o.loaded=!0,a(o);let n=eQ(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare);return n&&(n.lib=t,n.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:o,from:n.options.name,lib:null,loading:r}),r}}initializeSharing(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:V,t=arguments.length>1?arguments[1]:void 0,{host:n}=this,r=null==t?void 0:t.from,o=null==t?void 0:t.strategy,i=null==t?void 0:t.initScope,a=[];if("build"!==r){let{initTokens:t}=this;i||(i=[]);let n=t[e];if(n||(n=t[e]={from:this.host.name}),i.indexOf(n)>=0)return a;i.push(n)}let l=this.shareScopeMap,s=n.options.name;l[e]||(l[e]={});let c=l[e],u=(e,t)=>{var n;let{version:r,eager:o}=t;c[e]=c[e]||{};let i=c[e],a=i[r],l=!!(a&&(a.eager||(null==(n=a.shareConfig)?void 0:n.eager)));(!a||"loaded-first"!==a.strategy&&!a.loaded&&(!o!=!l?o:s>a.from))&&(i[r]=t)},d=t=>t&&t.init&&t.init(l[e],i),f=async e=>{let{module:t}=await n.remoteHandler.getRemoteModuleAndOptions({id:e});if(t.getEntry){let r;try{r=await t.getEntry()}catch(t){r=await n.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:t,from:"runtime",lifecycle:"beforeLoadShare",origin:n})}t.inited||(await d(r),t.inited=!0)}};return Object.keys(n.options.shared).forEach(t=>{n.options.shared[t].forEach(n=>{n.scope.includes(e)&&u(t,n)})}),("version-first"===n.options.shareStrategy||"version-first"===o)&&n.options.remotes.forEach(t=>{t.shareScope===e&&a.push(f(t.name))}),a}loadShareSync(e,t){let{host:n}=this,r=e0({pkgName:e,extraOptions:t,shareInfos:n.options.shared});(null==r?void 0:r.scope)&&r.scope.forEach(e=>{this.initializeSharing(e,{strategy:r.strategy})});let o=eQ(this.shareScopeMap,e,r,this.hooks.lifecycle.resolveShare),a=e=>{e.useIn||(e.useIn=[]),d(e.useIn,n.options.name)};if(o){if("function"==typeof o.lib)return a(o),o.loaded||(o.loaded=!0,o.from===n.options.name&&(r.loaded=!0)),o.lib;if("function"==typeof o.get){let t=o.get();if(!(t instanceof Promise))return a(o),this.setShared({pkgName:e,loaded:!0,from:n.options.name,lib:t,shared:o}),t}}if(r.lib)return r.loaded||(r.loaded=!0),r.lib;if(r.get){let o=r.get();if(o instanceof Promise){let r=(null==t?void 0:t.from)==="build"?i.RUNTIME_005:i.RUNTIME_006;throw Error(i.getShortErrorMsg(r,i.runtimeDescMap,{hostName:n.options.name,sharedPkgName:e}))}return r.lib=o,this.setShared({pkgName:e,loaded:!0,from:n.options.name,lib:r.lib,shared:r}),r.lib}throw Error(i.getShortErrorMsg(i.RUNTIME_006,i.runtimeDescMap,{hostName:n.options.name,sharedPkgName:e}))}initShareScopeMap(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{host:r}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:r.options,origin:r,scopeName:e,hostShareScopeMap:n.hostShareScopeMap})}setShared(e){let{pkgName:t,shared:n,from:o,lib:i,loading:a,loaded:l,get:s}=e,{version:c,scope:u="default"}=n,d=r._object_without_properties_loose(n,["version","scope"]);(Array.isArray(u)?u:[u]).forEach(e=>{if(this.shareScopeMap[e]||(this.shareScopeMap[e]={}),this.shareScopeMap[e][t]||(this.shareScopeMap[e][t]={}),!this.shareScopeMap[e][t][c]){this.shareScopeMap[e][t][c]=r._extends({version:c,scope:["default"]},d,{lib:i,loaded:l,loading:a}),s&&(this.shareScopeMap[e][t][c].get=s);return}let n=this.shareScopeMap[e][t][c];a&&!n.loading&&(n.loading=a)})}_setGlobalShareScopeMap(e){let t=eJ(),n=e.id||e.name;n&&!t[n]&&(t[n]=this.shareScopeMap)}constructor(e){this.hooks=new tu({afterResolve:new tc("afterResolve"),beforeLoadShare:new tc("beforeLoadShare"),loadShare:new ta,resolveShare:new ts("resolveShare"),initContainerShareScopeMap:new ts("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}}class t${formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((e,t)=>(this.registerRemote(t,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,t){let{remote:n,expose:r}=t,{name:o,alias:i}=n;if(this.idToRemoteMap[e]={name:n.name,expose:r},i&&e.startsWith(o)){let t=e.replace(o,i);this.idToRemoteMap[t]={name:n.name,expose:r};return}if(i&&e.startsWith(i)){let t=e.replace(i,o);this.idToRemoteMap[t]={name:n.name,expose:r}}}async loadRemote(e,t){let{host:n}=this;try{let{loadFactory:r=!0}=t||{loadFactory:!0},{module:o,moduleOptions:i,remoteMatchInfo:a}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:l,remote:s,expose:c,id:u,remoteSnapshot:d}=a,f=await o.get(u,c,t,d),h=await this.hooks.lifecycle.onLoad.emit({id:u,pkgNameOrAlias:l,expose:c,exposeModule:r?f:void 0,exposeModuleFactory:r?void 0:f,remote:s,options:i,moduleInstance:o,origin:n});if(this.setIdToRemoteMap(e,a),"function"==typeof h)return h;return f}catch(i){let{from:r="runtime"}=t||{from:"runtime"},o=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:i,from:r,lifecycle:"onLoad",origin:n});if(!o)throw i;return o}}async preloadRemote(e){let{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});let n=tf(t.options.remotes,e);await Promise.all(n.map(async e=>{let{remote:n}=e,r=tr(n),{globalSnapshot:o,remoteSnapshot:i}=await t.snapshotHandler.loadRemoteSnapshotInfo(n),a=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:n,remoteInfo:r,globalSnapshot:o,remoteSnapshot:i});a&&tp(r,t,a)}))}registerRemotes(e,t){let{host:n}=this;e.forEach(e=>{this.registerRemote(e,n.options.remotes,{force:null==t?void 0:t.force})})}async getRemoteModuleAndOptions(e){let t,{host:n}=this,{id:o}=e;try{t=await this.hooks.lifecycle.beforeRequest.emit({id:o,options:n.options,origin:n})}catch(e){if(!(t=await this.hooks.lifecycle.errorLoadRemote.emit({id:o,options:n.options,origin:n,from:"runtime",error:e,lifecycle:"beforeRequest"})))throw e}let{id:a}=t,l=e4(n.options.remotes,a);s(l,i.getShortErrorMsg(i.RUNTIME_004,i.runtimeDescMap,{hostName:n.options.name,requestId:a}));let{remote:c}=l,u=tr(c),d=await n.sharedHandler.hooks.lifecycle.afterResolve.emit(r._extends({id:a},l,{options:n.options,origin:n,remoteInfo:u})),{remote:f,expose:h}=d;s(f&&h,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${a}.`);let p=n.moduleCache.get(f.name),m={host:n,remoteInfo:u};return p||(p=new to(m),n.moduleCache.set(f.name,p)),{module:p,moduleOptions:m,remoteMatchInfo:d}}registerRemote(e,t,n){let{host:r}=this,i=()=>{if(e.alias){let n=t.find(t=>{var n;return e.alias&&(t.name.startsWith(e.alias)||(null==(n=t.alias)?void 0:n.startsWith(e.alias)))});s(!n,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${n&&n.name} name or alias`)}"entry"in e&&o.isBrowserEnv()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=V),e.type||(e.type=q)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:r});let a=t.find(t=>t.name===e.name);if(a){let l=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];(null==n?void 0:n.force)&&(this.removeRemote(a),i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r}),o.warn(l.join(" ")))}else i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r})}removeRemote(e){try{let{host:n}=this,{name:r}=e,i=n.options.remotes.findIndex(e=>e.name===r);-1!==i&&n.options.remotes.splice(i,1);let a=n.moduleCache.get(e.name);if(a){let r=a.remoteInfo,i=r.entryGlobalName;if(k[i]){var t;(null==(t=Object.getOwnPropertyDescriptor(k,i))?void 0:t.configurable)?delete k[i]:k[i]=void 0}let l=tt(a.remoteInfo);M[l]&&delete M[l],n.snapshotHandler.manifestCache.delete(r.entry);let s=r.buildVersion?o.composeKeyWithSeparator(r.name,r.buildVersion):r.name,c=k.__FEDERATION__.__INSTANCES__.findIndex(e=>r.buildVersion?e.options.id===s:e.name===s);if(-1!==c){let e=k.__FEDERATION__.__INSTANCES__[c];s=e.options.id||s;let t=eJ(),n=!0,o=[];Object.keys(t).forEach(e=>{let i=t[e];i&&Object.keys(i).forEach(t=>{let a=i[t];a&&Object.keys(a).forEach(i=>{let l=a[i];l&&Object.keys(l).forEach(a=>{let s=l[a];s&&"object"==typeof s&&s.from===r.name&&(s.loaded||s.loading?(s.useIn=s.useIn.filter(e=>e!==r.name),s.useIn.length?n=!1:o.push([e,t,i,a])):o.push([e,t,i,a]))})})})}),n&&(e.shareScopeMap={},delete t[s]),o.forEach(e=>{var n,r,o;let[i,a,l,s]=e;null==(o=t[i])||null==(r=o[a])||null==(n=r[l])||delete n[s]}),k.__FEDERATION__.__INSTANCES__.splice(c,1)}let{hostGlobalSnapshot:u}=tS(e,n);if(u){let t=u&&"remotesInfo"in u&&u.remotesInfo&&P(u.remotesInfo,e.name).key;t&&(delete u.remotesInfo[t],$.__FEDERATION__.__MANIFEST_LOADING__[t]&&delete $.__FEDERATION__.__MANIFEST_LOADING__[t])}n.moduleCache.delete(e.name)}}catch(e){l.log("removeRemote fail: ",e)}}constructor(e){this.hooks=new tu({beforeRegisterRemote:new ts("beforeRegisterRemote"),registerRemote:new ts("registerRemote"),beforeRequest:new tc("beforeRequest"),onLoad:new ta("onLoad"),handlePreloadModule:new ti("handlePreloadModule"),errorLoadRemote:new ta("errorLoadRemote"),beforePreloadRemote:new ta("beforePreloadRemote"),generatePreloadAssets:new ta("generatePreloadAssets"),afterPreloadRemote:new ta,loadEntry:new ta}),this.host=e,this.idToRemoteMap={}}}class tE{initOptions(e){this.registerPlugins(e.plugins);let t=this.formatOptions(this.options,e);return this.options=t,t}async loadShare(e,t){return this.sharedHandler.loadShare(e,t)}loadShareSync(e,t){return this.sharedHandler.loadShareSync(e,t)}initializeSharing(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:V,t=arguments.length>1?arguments[1]:void 0;return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,n){let r=new to({host:this,remoteInfo:tr({name:e,entry:t})});return r.remoteEntryExports=n,this.moduleCache.set(e,r),r}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.sharedHandler.initShareScopeMap(e,t,n)}formatOptions(e,t){let{shared:n}=eW(e,t),{userOptions:o,options:i}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:n}),a=this.remoteHandler.formatAndRegisterRemote(i,o),{shared:l}=this.sharedHandler.registerShared(i,o),s=[...i.plugins];o.plugins&&o.plugins.forEach(e=>{s.includes(e)||s.push(e)});let c=r._extends({},e,t,{plugins:s,remotes:a,shared:l});return this.hooks.lifecycle.init.emit({origin:this,options:c}),c}registerPlugins(e){let t=e5(e,[this.hooks,this.remoteHandler.hooks,this.sharedHandler.hooks,this.snapshotHandler.hooks,this.loaderHook,this.bridgeHook]);this.options.plugins=this.options.plugins.reduce((e,t)=>(t&&e&&!e.find(e=>e.name===t.name)&&e.push(t),e),t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}constructor(e){this.hooks=new tu({beforeInit:new ts("beforeInit"),init:new ti,beforeInitContainer:new tc("beforeInitContainer"),initContainer:new tc("initContainer")}),this.version="0.13.1",this.moduleCache=new Map,this.loaderHook=new tu({getModuleInfo:new ti,createScript:new ti,createLink:new ti,fetch:new ta,loadEntryError:new ta,getModuleFactory:new ta}),this.bridgeHook=new tu({beforeBridgeRender:new ti,afterBridgeRender:new ti,beforeBridgeDestroy:new ti,afterBridgeDestroy:new ti});let t={id:e2(),name:e.name,plugins:[tg(),tx()],remotes:[],shared:{},inBrowser:o.isBrowserEnv()};this.name=e.name,this.options=t,this.snapshotHandler=new tk(this),this.sharedHandler=new tC(this),this.remoteHandler=new t$(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...t.plugins,...e.plugins||[]]),this.options=this.formatOptions(t,e)}}var tO=Object.freeze({__proto__:null});t.loadScript=o.loadScript,t.loadScriptNode=o.loadScriptNode,t.CurrentGlobal=k,t.FederationHost=tE,t.Global=$,t.Module=to,t.addGlobalSnapshot=z,t.assert=s,t.getGlobalFederationConstructor=R,t.getGlobalSnapshot=j,t.getInfoWithoutType=P,t.getRegisteredShare=eQ,t.getRemoteEntry=tn,t.getRemoteInfo=tr,t.helpers=e1,t.isStaticResourcesEqual=y,t.matchRemoteWithNameAndExpose=e4,t.registerGlobalPlugins=B,t.resetFederationGlobalInfo=N,t.safeWrapper=m,t.satisfy=eH,t.setGlobalFederationConstructor=T,t.setGlobalFederationInstance=Z,t.types=tO},64538:function(e,t){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}t._extends=n,t._object_without_properties_loose=r},73364:function(e,t,n){"use strict";var r=n(2921),o=n(91858);let i=null;function a(e){let t=o.getGlobalFederationInstance(e.name,e.version);return t?(t.initOptions(e),i||(i=t),t):(i=new(r.getGlobalFederationConstructor()||r.FederationHost)(e),r.setGlobalFederationInstance(i),i)}function l(){for(var e=arguments.length,t=Array(e),n=0;n!!n&&r.options.id===o()||r.options.name===e&&!r.options.version&&!t||r.options.name===e&&!!t&&r.options.version===t)}},61322:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var polyfills=__webpack_require__(95877);let FederationModuleManifest="federation-manifest.json",MANIFEST_EXT=".json",BROWSER_LOG_KEY="FEDERATION_DEBUG",BROWSER_LOG_VALUE="1",NameTransformSymbol={AT:"@",HYPHEN:"-",SLASH:"/"},NameTransformMap={[NameTransformSymbol.AT]:"scope_",[NameTransformSymbol.HYPHEN]:"_",[NameTransformSymbol.SLASH]:"__"},EncodedNameTransformMap={[NameTransformMap[NameTransformSymbol.AT]]:NameTransformSymbol.AT,[NameTransformMap[NameTransformSymbol.HYPHEN]]:NameTransformSymbol.HYPHEN,[NameTransformMap[NameTransformSymbol.SLASH]]:NameTransformSymbol.SLASH},SEPARATOR=":",ManifestFileName="mf-manifest.json",StatsFileName="mf-stats.json",MFModuleType={NPM:"npm",APP:"app"},MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX",TEMP_DIR=".federation",MFPrefetchCommon={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"};var ContainerPlugin=Object.freeze({__proto__:null}),ContainerReferencePlugin=Object.freeze({__proto__:null}),ModuleFederationPlugin=Object.freeze({__proto__:null}),SharePlugin=Object.freeze({__proto__:null});function isBrowserEnv(){return"undefined"!=typeof window&&void 0!==window.document}function isReactNativeEnv(){var e;return"undefined"!=typeof navigator&&(null==(e=navigator)?void 0:e.product)==="ReactNative"}function isBrowserDebug(){try{if(isBrowserEnv()&&window.localStorage)return localStorage.getItem(BROWSER_LOG_KEY)===BROWSER_LOG_VALUE}catch(e){}return!1}function isDebugMode(){return"undefined"!=typeof process&&process.env&&process.env.FEDERATION_DEBUG?!!process.env.FEDERATION_DEBUG:!!("undefined"!=typeof FEDERATION_DEBUG&&FEDERATION_DEBUG)||isBrowserDebug()}let getProcessEnv=function(){return"undefined"!=typeof process&&process.env?process.env:{}},LOG_CATEGORY="[ Federation Runtime ]",parseEntry=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:SEPARATOR,r=e.split(n),o="development"===getProcessEnv().NODE_ENV&&t,i="*",a=e=>e.startsWith("http")||e.includes(MANIFEST_EXT);if(r.length>=2){let[t,...l]=r;e.startsWith(n)&&(t=r.slice(0,2).join(n),l=[o||r.slice(2).join(n)]);let s=o||l.join(n);return a(s)?{name:t,entry:s}:{name:t,version:s||i}}if(1===r.length){let[e]=r;return o&&a(o)?{name:e,entry:o}:{name:e,version:o||i}}throw`Invalid entry value: ${e}`},composeKeyWithSeparator=function(){for(var e=arguments.length,t=Array(e),n=0;nt?e?`${e}${SEPARATOR}${t}`:t:e,""):""},encodeName=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{let r=n?".js":"";return`${t}${e.replace(RegExp(`${NameTransformSymbol.AT}`,"g"),NameTransformMap[NameTransformSymbol.AT]).replace(RegExp(`${NameTransformSymbol.HYPHEN}`,"g"),NameTransformMap[NameTransformSymbol.HYPHEN]).replace(RegExp(`${NameTransformSymbol.SLASH}`,"g"),NameTransformMap[NameTransformSymbol.SLASH])}${r}`}catch(e){throw e}},decodeName=function(e,t,n){try{let r=e;if(t){if(!r.startsWith(t))return r;r=r.replace(RegExp(t,"g"),"")}return r=r.replace(RegExp(`${NameTransformMap[NameTransformSymbol.AT]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.SLASH]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.HYPHEN]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]),n&&(r=r.replace(".js","")),r}catch(e){throw e}},generateExposeFilename=(e,t)=>{if(!e)return"";let n=e;return"."===n&&(n="default_export"),n.startsWith("./")&&(n=n.replace("./","")),encodeName(n,"__federation_expose_",t)},generateShareFilename=(e,t)=>e?encodeName(e,"__federation_shared_",t):"",getResourceUrl=(e,t)=>{if("getPublicPath"in e){let n;return n=e.getPublicPath.startsWith("function")?Function("return "+e.getPublicPath)()():Function(e.getPublicPath)(),`${n}${t}`}return"publicPath"in e?!isBrowserEnv()&&!isReactNativeEnv()&&"ssrPublicPath"in e?`${e.ssrPublicPath}${t}`:`${e.publicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},assert=(e,t)=>{e||error(t)},error=e=>{throw Error(`${LOG_CATEGORY}: ${e}`)},warn=e=>{console.warn(`${LOG_CATEGORY}: ${e}`)};function safeToString(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}let VERSION_PATTERN_REGEXP=/^([\d^=v<>~]|[*xX]$)/;function isRequiredVersion(e){return VERSION_PATTERN_REGEXP.test(e)}let simpleJoinRemoteEntry=(e,t)=>{if(!e)return t;let n=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){let t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return n?n.endsWith("/")?`${n}${t}`:`${n}/${t}`:t};function inferAutoPublicPath(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(e){var t,n,r;let o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{remotes:a={},overrides:l={},version:s}=i,c=()=>"publicPath"in e.metaData?"auto"===e.metaData.publicPath&&s?inferAutoPublicPath(s):e.metaData.publicPath:e.metaData.getPublicPath,u=Object.keys(l),d={};Object.keys(a).length||(d=(null==(r=e.remotes)?void 0:r.reduce((e,t)=>{let n,r=t.federationContainerName;return n=u.includes(r)?l[r]:"version"in t?t.version:t.entry,e[r]={matchedVersion:n},e},{}))||{}),Object.keys(a).forEach(e=>d[e]={matchedVersion:u.includes(e)?l[e]:a[e]});let{remoteEntry:{path:f,name:h,type:p},types:m,buildInfo:{buildVersion:g},globalName:v,ssrRemoteEntry:b}=e.metaData,{exposes:y}=e,w={version:s||"",buildVersion:g,globalName:v,remoteEntry:simpleJoinRemoteEntry(f,h),remoteEntryType:p,remoteTypes:simpleJoinRemoteEntry(m.path,m.name),remoteTypesZip:m.zip||"",remoteTypesAPI:m.api||"",remotesInfo:d,shared:null==e?void 0:e.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version})),modules:null==y?void 0:y.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if(null==(t=e.metaData)?void 0:t.prefetchInterface){let t=e.metaData.prefetchInterface;w=polyfills._({},w,{prefetchInterface:t})}if(null==(n=e.metaData)?void 0:n.prefetchEntry){let{path:t,name:n,type:r}=e.metaData.prefetchEntry;w=polyfills._({},w,{prefetchEntry:simpleJoinRemoteEntry(t,n),prefetchEntryType:r})}return o="publicPath"in e.metaData?polyfills._({},w,{publicPath:c(),ssrPublicPath:e.metaData.ssrPublicPath}):polyfills._({},w,{getPublicPath:c()}),b&&(o.ssrRemoteEntry=simpleJoinRemoteEntry(b.path,b.name),o.ssrRemoteEntryType=b.type||"commonjs-module"),o}function isManifestProvider(e){return!!("remoteEntry"in e&&e.remoteEntry.includes(MANIFEST_EXT))}let PREFIX="[ Module Federation ]",Logger=class{setPrefix(e){this.prefix=e}log(){for(var e=arguments.length,t=Array(e),n=0;n{n&&("async"===e||"defer"===e?n[e]=r[e]:n.getAttribute(e)||n.setAttribute(e,r[e]))})}let a=async(r,o)=>{clearTimeout(t);let i=()=>{(null==o?void 0:o.type)==="error"?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(o)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(n&&(n.onerror=null,n.onload=null,safeWrapper(()=>{let{needDeleteScript:t=!0}=e;t&&(null==n?void 0:n.parentNode)&&n.parentNode.removeChild(n)}),r&&"function"==typeof r)){let e=r(o);if(e instanceof Promise){let t=await e;return i(),t}return i(),e}i()};return n.onerror=a.bind(null,n.onerror),n.onload=a.bind(null,n.onload),t=setTimeout(()=>{a(null,Error(`Remote script "${e.url}" time-outed.`))},o),{script:n,needAttach:r}}function createLink(e){let t=null,n=!0,r=document.getElementsByTagName("link");for(let o=0;o{t&&!t.getAttribute(e)&&t.setAttribute(e,r[e])})}let o=(n,r)=>{let o=()=>{(null==r?void 0:r.type)==="error"?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(r)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(t&&(t.onerror=null,t.onload=null,safeWrapper(()=>{let{needDeleteLink:n=!0}=e;n&&(null==t?void 0:t.parentNode)&&t.parentNode.removeChild(t)}),n)){let e=n(r);return o(),e}o()};return t.onerror=o.bind(null,t.onerror),t.onload=o.bind(null,t.onload),{link:t,needAttach:n}}function loadScript(e,t){let{attrs:n={},createScriptHook:r}=t;return new Promise((t,o)=>{let{script:i,needAttach:a}=createScript({url:e,cb:t,onErrorCallback:o,attrs:polyfills._({fetchpriority:"high"},n),createScriptHook:r,needDeleteScript:!0});a&&document.head.appendChild(i)})}function importNodeModule(e){if(!e)throw Error("import specifier is required");return Function("name","return import(name)")(e).then(e=>e).catch(t=>{throw console.error(`Error importing module ${e}:`,t),t})}let loadNodeFetch=async()=>{let e=await importNodeModule("node-fetch");return e.default||e},lazyLoaderHookFetch=async(e,t,n)=>{let r=(e,t)=>n.lifecycle.fetch.emit(e,t),o=await r(e,t||{});return o&&o instanceof Response?o:("undefined"==typeof fetch?await loadNodeFetch():fetch)(e,t||{})};function createScriptNode(url,cb,attrs,loaderHook){let urlObj;if(null==loaderHook?void 0:loaderHook.createScriptHook){let hookResult=loaderHook.createScriptHook(url);hookResult&&"object"==typeof hookResult&&"url"in hookResult&&(url=hookResult.url)}try{urlObj=new URL(url)}catch(e){console.error("Error constructing URL:",e),cb(Error(`Invalid URL: ${e}`));return}let getFetch=async()=>(null==loaderHook?void 0:loaderHook.fetch)?(e,t)=>lazyLoaderHookFetch(e,t,loaderHook):"undefined"==typeof fetch?loadNodeFetch():fetch,handleScriptFetch=async(f,urlObj)=>{try{var _vm_constants,_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER;let res=await f(urlObj.href),data=await res.text(),[path,vm]=await Promise.all([importNodeModule("path"),importNodeModule("vm")]),scriptContext={exports:{},module:{exports:{}}},urlDirname=urlObj.pathname.split("/").slice(0,-1).join("/"),filename=path.basename(urlObj.pathname),script=new vm.Script(`(function(exports, module, require, __dirname, __filename) {${data} -})`,{filename,importModuleDynamically:null!=(_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER=null==(_vm_constants=vm.constants)?void 0:_vm_constants.USE_MAIN_CONTEXT_DEFAULT_LOADER)?_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER:importNodeModule});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);let exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs.globalName){let container=exportedInterface[attrs.globalName]||exportedInterface;cb(void 0,container);return}cb(void 0,exportedInterface)}catch(e){cb(e instanceof Error?e:Error(`Script execution error: ${e}`))}};getFetch().then(async e=>{if((null==attrs?void 0:attrs.type)==="esm"||(null==attrs?void 0:attrs.type)==="module")return loadModule(urlObj.href,{fetch:e,vm:await importNodeModule("vm")}).then(async e=>{await e.evaluate(),cb(void 0,e.namespace)}).catch(e=>{cb(e instanceof Error?e:Error(`Script execution error: ${e}`))});handleScriptFetch(e,urlObj)}).catch(e=>{cb(e)})}function loadScriptNode(e,t){return new Promise((n,r)=>{createScriptNode(e,(e,o)=>{if(e)r(e);else{var i,a;let e=(null==t||null==(i=t.attrs)?void 0:i.globalName)||`__FEDERATION_${null==t||null==(a=t.attrs)?void 0:a.name}:custom__`;n(globalThis[e]=o)}},t.attrs,t.loaderHook)})}async function loadModule(e,t){let{fetch:n,vm:r}=t,o=await n(e),i=await o.text(),a=new r.SourceTextModule(i,{importModuleDynamically:async(n,r)=>loadModule(new URL(n,e).href,t)});return await a.link(async n=>{let r=new URL(n,e).href;return await loadModule(r,t)}),a}function normalizeOptions(e,t,n){return function(r){if(!1===r)return!1;if(void 0===r)if(e)return t;else return!1;if(!0===r)return t;if(r&&"object"==typeof r)return polyfills._({},t,r);throw Error(`Unexpected type for \`${n}\`, expect boolean/undefined/object, got: ${typeof r}`)}}exports.BROWSER_LOG_KEY=BROWSER_LOG_KEY,exports.BROWSER_LOG_VALUE=BROWSER_LOG_VALUE,exports.ENCODE_NAME_PREFIX=ENCODE_NAME_PREFIX,exports.EncodedNameTransformMap=EncodedNameTransformMap,exports.FederationModuleManifest=FederationModuleManifest,exports.MANIFEST_EXT=MANIFEST_EXT,exports.MFModuleType=MFModuleType,exports.MFPrefetchCommon=MFPrefetchCommon,exports.MODULE_DEVTOOL_IDENTIFIER=MODULE_DEVTOOL_IDENTIFIER,exports.ManifestFileName=ManifestFileName,exports.NameTransformMap=NameTransformMap,exports.NameTransformSymbol=NameTransformSymbol,exports.SEPARATOR=SEPARATOR,exports.StatsFileName=StatsFileName,exports.TEMP_DIR=TEMP_DIR,exports.assert=assert,exports.composeKeyWithSeparator=composeKeyWithSeparator,exports.containerPlugin=ContainerPlugin,exports.containerReferencePlugin=ContainerReferencePlugin,exports.createLink=createLink,exports.createLogger=createLogger,exports.createScript=createScript,exports.createScriptNode=createScriptNode,exports.decodeName=decodeName,exports.encodeName=encodeName,exports.error=error,exports.generateExposeFilename=generateExposeFilename,exports.generateShareFilename=generateShareFilename,exports.generateSnapshotFromManifest=generateSnapshotFromManifest,exports.getProcessEnv=getProcessEnv,exports.getResourceUrl=getResourceUrl,exports.inferAutoPublicPath=inferAutoPublicPath,exports.isBrowserEnv=isBrowserEnv,exports.isDebugMode=isDebugMode,exports.isManifestProvider=isManifestProvider,exports.isReactNativeEnv=isReactNativeEnv,exports.isRequiredVersion=isRequiredVersion,exports.isStaticResourcesEqual=isStaticResourcesEqual,exports.loadScript=loadScript,exports.loadScriptNode=loadScriptNode,exports.logger=logger,exports.moduleFederationPlugin=ModuleFederationPlugin,exports.normalizeOptions=normalizeOptions,exports.parseEntry=parseEntry,exports.safeToString=safeToString,exports.safeWrapper=safeWrapper,exports.sharePlugin=SharePlugin,exports.simpleJoinRemoteEntry=simpleJoinRemoteEntry,exports.warn=warn},95877:function(e,t){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t{let t=s.R;t||(t=[]);let r=l[e],a=c[e];if(t.indexOf(r)>=0)return;if(t.push(r),r.p)return n.push(r.p);let u=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=` -while loading "${r[1]}" from ${r[2]}`),s.m[e]=()=>{throw t},r.p=0},d=(e,t,o,i,a,l)=>{try{let s=e(t,o);if(!s||!s.then)return a(s,i,l);{let e=s.then(e=>a(e,i),u);if(!l)return e;n.push(r.p=e)}}catch(e){u(e)}},f=(e,t,n)=>e?d(s.I,r[0],0,e,h,n):u();var h=(e,n,o)=>d(n.get,r[1],t,0,p,o),p=t=>{r.p=1,s.m[e]=e=>{e.exports=t()}};let m=()=>{try{let e=i.decodeName(a[0].name,i.ENCODE_NAME_PREFIX)+r[1].slice(1),t=s.federation.instance,n=()=>s.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy)return Promise.all(t.sharedHandler.initializeSharing(r[0])).then(()=>n());return n()}catch(e){u(e)}};1===a.length&&o.FEDERATION_SUPPORTED_TYPES.includes(a[0].externalType)&&a[0].name?d(m,r[2],0,0,p,1):d(s,r[2],0,0,f,1)})}function s(e){let{chunkId:t,promises:n,chunkMapping:r,installedModules:o,moduleToHandlerMapping:i,webpackRequire:l}=e;a(l),l.o(r,t)&&r[t].forEach(e=>{if(l.o(o,e))return n.push(o[e]);let t=t=>{o[e]=0,l.m[e]=n=>{delete l.c[e],n.exports=t()}},r=t=>{delete o[e],l.m[e]=n=>{throw delete l.c[e],t}};try{let a=l.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:s,getter:c,shareInfo:u}=i[e],d=a.loadShare(s,{customShareInfo:u}).then(e=>!1===e?c():e);d.then?n.push(o[e]=d.then(t).catch(r)):t(d)}catch(e){r(e)}})}function c(e){let{shareScopeName:t,webpackRequire:n,initPromises:r,initTokens:i,initScope:l}=e,s=Array.isArray(t)?t:[t];var c=[],u=function(e){l||(l=[]);let s=n.federation.instance;var c=i[e];if(c||(c=i[e]={from:s.name}),l.indexOf(c)>=0)return;l.push(c);let u=r[e];if(u)return u;var d=e=>"undefined"!=typeof console&&console.warn&&console.warn(e),f=r=>{var o=e=>d("Initialization of sharing external failed: "+e);try{var i=n(r);if(!i)return;var a=r=>r&&r.init&&r.init(n.S[e],l,{shareScopeMap:n.S||{},shareScopeKeys:t});if(i.then)return h.push(i.then(a,o));var s=a(i);if(s&&"boolean"!=typeof s&&s.then)return h.push(s.catch(o))}catch(e){o(e)}};let h=s.initializeSharing(e,{strategy:s.options.shareStrategy,initScope:l,from:"build"});a(n);let p=n.federation.bundlerRuntimeOptions.remotes;return(p&&Object.keys(p.idToRemoteMap).forEach(e=>{let t=p.idToRemoteMap[e],n=p.idToExternalAndNameMapping[e][2];if(t.length>1)f(n);else if(1===t.length){let e=t[0];o.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||f(n)}}),h.length)?r[e]=Promise.all(h).then(()=>r[e]=!0):r[e]=!0};return s.forEach(e=>{c.push(u(e))}),Promise.all(c).then(()=>!0)}function u(e){let{moduleId:t,moduleToHandlerMapping:n,webpackRequire:r}=e,o=r.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:i,shareInfo:a}=n[t];try{return o.loadShareSync(i,{customShareInfo:a})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}function d(e){let{moduleToHandlerMapping:t,webpackRequire:n,installedModules:r,initialConsumes:o}=e;o.forEach(e=>{n.m[e]=o=>{r[e]=0,delete n.c[e];let i=u({moduleId:e,moduleToHandlerMapping:t,webpackRequire:n});if("function"!=typeof i)throw Error(`Shared module is not available for eager consumption: ${e}`);o.exports=i()}})}function f(){return(f=Object.assign||function(e){for(var t=1;t{if(!l||!s)return void a.initShareScopeMap(e,n,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}});s[e]||(s[e]={});let t=s[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}})});else{let e=o||"default";Array.isArray(l)?l.forEach(e=>{s[e]||(s[e]={});let t=s[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}})}):a.initShareScopeMap(e,n,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),"function"==typeof t.federation.prefetch&&t.federation.prefetch(),Array.isArray(o))?t.federation.initOptions.shared?t.I(o,r):Promise.all(o.map(e=>t.I(e,r))).then(()=>!0):t.I(o||"default",r)}e.exports={runtime:function(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}(r),instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:l,consumes:s,I:c,S:{},installInitialConsumes:d,initContainerEntry:h},attachShareScopeMap:a,bundlerRuntimeOptions:{}}},85193:function(e,t,n){"use strict";var r,o,i,a,l,s,c,u,d,f,h,p,m=n(20950),g=n.n(m);let v=[],b={},y="pimcore_studio_ui_bundle",w="version-first";if((n.initializeSharingData||n.initializeExposesData)&&n.federation){let e=(e,t,n)=>{e&&e[t]&&(e[t]=n)},t=(e,t,n)=>{var r,o,i,a,l,s;let c=n();Array.isArray(c)?(null!=(i=(r=e)[o=t])||(r[o]=[]),e[t].push(...c)):"object"==typeof c&&null!==c&&(null!=(s=(a=e)[l=t])||(a[l]={}),Object.assign(e[t],c))},m=(e,t,n)=>{var r,o,i;null!=(i=(r=e)[o=t])||(r[o]=n())},x=null!=(u=null==(r=n.remotesLoadingData)?void 0:r.chunkMapping)?u:{},S=null!=(d=null==(o=n.remotesLoadingData)?void 0:o.moduleIdToRemoteDataMapping)?d:{},k=null!=(f=null==(i=n.initializeSharingData)?void 0:i.scopeToSharingDataMapping)?f:{},C=null!=(h=null==(a=n.consumesLoadingData)?void 0:a.chunkMapping)?h:{},$=null!=(p=null==(l=n.consumesLoadingData)?void 0:l.moduleIdToConsumeDataMapping)?p:{},E={},O=[],M={},I=null==(s=n.initializeExposesData)?void 0:s.shareScope;for(let e in g())n.federation[e]=g()[e];m(n.federation,"consumesLoadingModuleToHandlerMapping",()=>{let e={};for(let[t,n]of Object.entries($))e[t]={getter:n.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager},scope:[n.shareScope]},shareKey:n.shareKey};return e}),m(n.federation,"initOptions",()=>({})),m(n.federation.initOptions,"name",()=>y),m(n.federation.initOptions,"shareStrategy",()=>w),m(n.federation.initOptions,"shared",()=>{let e={};for(let[t,n]of Object.entries(k))for(let r of n)if("object"==typeof r&&null!==r){let{name:n,version:o,factory:i,eager:a,singleton:l,requiredVersion:s,strictVersion:c}=r,u={},d=function(e){return void 0!==e};d(l)&&(u.singleton=l),d(s)&&(u.requiredVersion=s),d(a)&&(u.eager=a),d(c)&&(u.strictVersion=c);let f={version:o,scope:[t],shareConfig:u,get:i};e[n]?e[n].push(f):e[n]=[f]}return e}),t(n.federation.initOptions,"remotes",()=>Object.values(b).flat().filter(e=>"script"===e.externalType)),t(n.federation.initOptions,"plugins",()=>v),m(n.federation,"bundlerRuntimeOptions",()=>({})),m(n.federation.bundlerRuntimeOptions,"remotes",()=>({})),m(n.federation.bundlerRuntimeOptions.remotes,"chunkMapping",()=>x),m(n.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",()=>{let e={};for(let[t,n]of Object.entries(S))e[t]=[n.shareScope,n.name,n.externalModuleId,n.remoteName];return e}),m(n.federation.bundlerRuntimeOptions.remotes,"webpackRequire",()=>n),t(n.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",()=>{let e={};for(let[t,n]of Object.entries(S)){let r=b[n.remoteName];r&&(e[t]=r)}return e}),e(n,"S",n.federation.bundlerRuntime.S),n.federation.attachShareScopeMap&&n.federation.attachShareScopeMap(n),e(n.f,"remotes",(e,t)=>n.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:x,idToExternalAndNameMapping:n.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:n.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:n})),e(n.f,"consumes",(e,t)=>n.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:C,moduleToHandlerMapping:n.federation.consumesLoadingModuleToHandlerMapping,installedModules:E,webpackRequire:n})),e(n,"I",(e,t)=>n.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:O,initTokens:M,webpackRequire:n})),e(n,"initContainer",(e,t,r)=>n.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:r,shareScopeKey:I,webpackRequire:n})),e(n,"getContainer",(e,t)=>{var r=n.initializeExposesData.moduleMap;return n.R=t,t=Object.prototype.hasOwnProperty.call(r,e)?r[e]():Promise.resolve().then(()=>{throw Error('Module "'+e+'" does not exist in container.')}),n.R=void 0,t}),n.federation.instance=n.federation.runtime.init(n.federation.initOptions),(null==(c=n.consumesLoadingData)?void 0:c.initialConsumes)&&n.federation.bundlerRuntime.installInitialConsumes({webpackRequire:n,installedModules:E,initialConsumes:n.consumesLoadingData.initialConsumes,moduleToHandlerMapping:n.federation.consumesLoadingModuleToHandlerMapping})}},63387:function(e){!function(){"use strict";var t={}.hasOwnProperty;function n(){for(var e="",t=0;t=0;--n){var r=(0,e[n])(t);if(!O(r)&&!M(r)){if(!_(r))throw TypeError();t=r}}return t}function b(e,t,n,r){for(var o=e.length-1;o>=0;--o){var i=(0,e[o])(t,n,r);if(!O(i)&&!M(i)){if(!N(i))throw TypeError();r=i}}return r}function y(e,t,n){if(w(e,t,n))return!0;var r=q(t);return!M(r)&&y(e,r,n)}function w(e,t,n){var r=Y(t,n,!1);return!O(r)&&T(r.OrdinaryHasOwnMetadata(e,t,n))}function x(e,t,n){if(w(e,t,n))return S(e,t,n);var r=q(t);if(!M(r))return x(e,r,n)}function S(e,t,n){var r=Y(t,n,!1);if(!O(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function k(e,t,n,r){Y(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function C(e,t){var n=$(e,t),r=q(e);if(null===r)return n;var o=C(r,t);if(o.length<=0)return n;if(n.length<=0)return o;for(var i=new f,a=[],l=0,s=n;l=0&&e=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,o=n+1;oe.length)&&(t=e.length);for(var n=0,r=Array(t);nr})},63795:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>r})},64222:function(e,t,n){"use strict";function r(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>r})},11954:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise(function(o,i){var a=e.apply(t,n);function l(e){r(a,o,i,l,s,"next",e)}function s(e){r(a,o,i,l,s,"throw",e)}l(void 0)})}}n.d(t,{Z:()=>o})},46932:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>r})},89526:function(e,t,n){"use strict";n.d(t,{Z:()=>i});var r=n(2217);function o(e,t){for(var n=0;na});var r=n(28446),o=n(87230),i=n(11998);function a(e){var t=(0,o.Z)();return function(){var n,o=(0,r.Z)(e);return n=t?Reflect.construct(o,arguments,(0,r.Z)(this).constructor):o.apply(this,arguments),(0,i.Z)(this,n)}}},17508:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n(2217);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},16019:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;tr})},28446:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:()=>r})},26238:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n(86143);function o(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},87230:function(e,t,n){"use strict";function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(r=function(){return!!e})()}n.d(t,{Z:()=>r})},55444:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:()=>r})},35870:function(e,t,n){"use strict";function r(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},50324:function(e,t,n){"use strict";n.d(t,{Z:()=>i});var r=n(17508);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;to});var r=n(70443);function o(e,t){if(null==e)return{};var n,o,i=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;or})},11998:function(e,t,n){"use strict";n.d(t,{Z:()=>i});var r=n(58133),o=n(64222);function i(e,t){if(t&&("object"==(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},76887:function(e,t,n){"use strict";function r(e,t){this.v=e,this.k=t}function o(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}(o=function(e,t,n,r){if(t)i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var a=function(t,n){o(e,t,function(e){return this._invoke(t,n,e)})};a("next",0),a("throw",1),a("return",2)}})(e,t,n,r)}function i(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function l(n,r,i,a){var l=Object.create((r&&r.prototype instanceof c?r:c).prototype);return o(l,"_invoke",function(n,r,o){var i,a,l,c=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return i=t,a=0,l=e,f.n=n,s}};function h(n,r){for(a=n,l=r,t=0;!d&&c&&!o&&t3?(o=p===r)&&(a=i[4]||3,l=i[5]===e?i[3]:i[5],i[4]=3,i[5]=e):i[0]<=h&&((o=n<2&&hr||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return s;throw d=!0,r}return function(o,u,p){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&h(u,p),a=u,l=p;(t=a<2?e:l)||!d;){i||(a?a<3?(a>1&&(f.n=-1),h(a,l)):f.n=l:f.v=l);try{if(c=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){i=e,a=1,l=t}finally{c=1}}return{value:t,done:d}}}(n,i,a),!0),l}var s={};function c(){}function u(){}function d(){}t=Object.getPrototypeOf;var f=d.prototype=c.prototype=Object.create([][r]?t(t([][r]())):(o(t={},r,function(){return this}),t));function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,o(e,a,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=d,o(f,"constructor",d),o(d,"constructor",u),u.displayName="GeneratorFunction",o(d,a,"GeneratorFunction"),o(f),o(f,a,"Generator"),o(f,r,function(){return this}),o(f,"toString",function(){return"[object Generator]"}),(i=function(){return{w:l,m:h}})()}function a(e,t){var n;function i(n,o,a,l){try{var s=e[n](o),c=s.value;return c instanceof r?t.resolve(c.v).then(function(e){i("next",e,a,l)},function(e){i("throw",e,a,l)}):t.resolve(c).then(function(e){s.value=e,a(s)},function(e){return i("throw",e,a,l)})}catch(e){l(e)}}this.next||(o(a.prototype),o(a.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),o(this,"_invoke",function(e,r,o){function a(){return new t(function(t,n){i(e,o,t,n)})}return n=n?n.then(a,a):a()},!0)}function l(e,t,n,r,o){return new a(i().w(e,t,n,r),o||Promise)}function s(e,t,n,r,o){var i=l(e,t,n,r,o);return i.next().then(function(e){return e.done?e.value:i.next()})}function c(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}n.d(t,{Z:()=>f});var u=n(58133);function d(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw TypeError((0,u.Z)(e)+" is not iterable")}function f(){var e=i(),t=e.m(f),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function o(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var u={throw:1,return:2,break:3,continue:3};function h(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,u[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,d(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(f=function(){return{wrap:function(t,n,r,o){return e.w(h(t),n,r,o&&o.reverse())},isGeneratorFunction:o,mark:e.m,awrap:function(e,t){return new r(e,t)},AsyncIterator:a,async:function(e,t,n,r,i){return(o(t)?l:s)(h(e),t,n,r,i)},keys:c,values:d}})()}},86143:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:()=>r})},25002:function(e,t,n){"use strict";n.d(t,{Z:()=>l});var r=n(63795);function o(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}var i=n(52487),a=n(35870);function l(e,t){return(0,r.Z)(e)||o(e,t)||(0,i.Z)(e,t)||(0,a.Z)()}},53150:function(e,t,n){"use strict";n.d(t,{Z:()=>l});var r=n(63795),o=n(55444),i=n(52487),a=n(35870);function l(e){return(0,r.Z)(e)||(0,o.Z)(e)||(0,i.Z)(e)||(0,a.Z)()}},98477:function(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n(60550);function o(e){if(Array.isArray(e))return(0,r.Z)(e)}var i=n(55444),a=n(52487);function l(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e){return o(e)||(0,i.Z)(e)||(0,a.Z)(e)||l()}},2217:function(e,t,n){"use strict";n.d(t,{Z:()=>i});var r=n(58133);function o(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function i(e){var t=o(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},58133:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:()=>r})},52487:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n(60550);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},83582:function(e,t,n){"use strict";n.d(t,{B1:()=>eV,GA:()=>eT,Gn:()=>ex,Mb:()=>c,TK:()=>a,eC:()=>u,vQ:()=>eO,ys:()=>eW});var r=n(95235),o=n(94547),i=n(73015);class a{constructor(e,t,n,r){this.state=e,this.pos=t,this.explicit=n,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=(0,i.qz)(this.state).resolveInner(this.pos,-1);for(;t&&0>e.indexOf(t.name);)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),o=r.search(h(e,!1));return o<0?null:{from:n+o,to:this.pos,text:r.slice(o)}}get aborted(){return null==this.abortListeners}addEventListener(e,t,n){"abort"==e&&this.abortListeners&&(this.abortListeners.push(t),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function l(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function s(e){let t=Object.create(null),n=Object.create(null);for(let{label:r}of e){t[r[0]]=!0;for(let e=1;e"string"==typeof e?{label:e}:e),[n,r]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:s(t);return e=>{let o=e.matchBefore(r);return o||e.explicit?{from:o?o.from:e.pos,options:t,validFor:n}:null}}function u(e,t){return n=>{for(let t=(0,i.qz)(n.state).resolveInner(n.pos,-1);t;t=t.parent){if(e.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return t(n)}}class d{constructor(e,t,n,r){this.completion=e,this.source=t,this.match=n,this.score=r}}function f(e){return e.selection.main.from}function h(e,t){var n;let{source:r}=e,o=t&&"^"!=r[0],i="$"!=r[r.length-1];return o||i?RegExp(`${o?"^":""}(?:${r})${i?"$":""}`,null!=(n=e.flags)?n:e.ignoreCase?"i":""):e}let p=r.q6.define();function m(e,t,n,o){let{main:i}=e.selection,a=n-i.from,l=o-i.from;return Object.assign(Object.assign({},e.changeByRange(s=>{if(s!=i&&n!=o&&e.sliceDoc(s.from+a,s.from+l)!=e.sliceDoc(n,o))return{range:s};let c=e.toText(t);return{changes:{from:s.from+a,to:o==i.from?s.to:s.from+l,insert:c},range:r.jT.cursor(s.from+a+c.length)}})),{scrollIntoView:!0,userEvent:"input.complete"})}let g=new WeakMap;function v(e){if(!Array.isArray(e))return e;let t=g.get(e);return t||g.set(e,t=c(e)),t}let b=r.Py.define(),y=r.Py.define();class w{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t=48&&c<=57||c>=97&&c<=122?2:+(c>=65&&c<=90):(y=(0,r.bg)(c))!=y.toLowerCase()?1:2*(y!=y.toUpperCase());(!o||1==w&&g||0==b&&0!=w)&&(t[d]==c||n[d]==c&&(f=!0)?a[d++]=o:a.length&&(v=!1)),b=w,o+=(0,r.nZ)(c)}return d==s&&0==a[0]&&v?this.result(-100+(f?-200:0),a,e):h==s&&0==p?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):l>-1?this.ret(-700-e.length,[l,l+this.pattern.length]):h==s?this.ret(-900-e.length,[p,m]):d==s?this.result(-100+(f?-200:0)+-700+(v?0:-1100),a,e):2==t.length?null:this.result((o[0]?-700:0)+-200+-1100,o,e)}result(e,t,n){let o=[],i=0;for(let e of t){let t=e+(this.astral?(0,r.nZ)((0,r.gm)(n,e)):1);i&&o[i-1]==e?o[i-1]=t:(o[i++]=e,o[i++]=t)}return this.ret(e-n.length,o)}}class x{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length(0,r.BO)(e,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:C,filterStrict:!1,compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>k(e(n),t(n)),optionClass:(e,t)=>n=>k(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})});function k(e,t){return e?t?e+" "+t:e:t}function C(e,t,n,r,i,a){let l=e.textDirection==o.Nm.RTL,s=l,c=!1,u="top",d,f,h=t.left-i.left,p=i.right-t.right,m=r.right-r.left,g=r.bottom-r.top;if(s&&h=g||e>t.top?d=n.bottom-t.top:(u="bottom",d=t.bottom-n.top)}let v=(t.bottom-t.top)/a.offsetHeight,b=(t.right-t.left)/a.offsetWidth;return{style:`${u}: ${d/v}px; max-width: ${f/b}px`,class:"cm-completionInfo-"+(c?l?"left-narrow":"right-narrow":s?"left":"right")}}function $(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),t.push({render(e,t,n,r){let o=document.createElement("span");o.className="cm-completionLabel";let i=e.displayLabel||e.label,a=0;for(let e=0;ea&&o.appendChild(document.createTextNode(i.slice(a,t)));let l=o.appendChild(document.createElement("span"));l.appendChild(document.createTextNode(i.slice(t,n))),l.className="cm-completionMatchedText",a=n}return ae.position-t.position).map(e=>e.render)}function E(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/n);return{from:e*n,to:(e+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}class O{constructor(e,t,n){this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this},this.space=null,this.currentClass="";let r=e.state.field(t),{options:o,selected:i}=r.open,a=e.state.facet(S);this.optionContent=$(a),this.optionClass=a.optionClass,this.tooltipClass=a.tooltipClass,this.range=E(o.length,i,a.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",n=>{let{options:r}=e.state.field(t).open;for(let t=n.target,o;t&&t!=this.dom;t=t.parentNode)if("LI"==t.nodeName&&(o=/-(\d+)$/.exec(t.id))&&+o[1]{let n=e.state.field(this.stateField,!1);n&&n.tooltip&&e.state.facet(S).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:y.of(null)})}),this.showOptions(o,r.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var t;let n=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=r){let{options:o,selected:i,disabled:a}=n.open;r.open&&r.open.options==o||(this.range=E(o.length,i,e.state.facet(S).maxRenderedOptions),this.showOptions(o,n.id)),this.updateSel(),a!=(null==(t=r.open)?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!a)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let e of this.currentClass.split(" "))e&&this.dom.classList.remove(e);for(let e of t.split(" "))e&&this.dom.classList.add(e);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=E(t.options.length,t.selected,this.view.state.facet(S).maxRenderedOptions),this.showOptions(t.options,e.id)),this.updateSelectedOption(t.selected)){this.destroyInfo();let{completion:n}=t.options[t.selected],{info:r}=n;if(!r)return;let i="string"==typeof r?document.createTextNode(r):r(n);if(!i)return;"then"in i?i.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,n)}).catch(e=>(0,o.OO)(this.view.state,e,"completion info")):this.addInfoPane(i,n)}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",null!=e.nodeType)n.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:r}=e;n.appendChild(t),this.infoDestroy=r||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)"LI"==n.nodeName&&n.id?r==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected"):r--;return t&&I(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),o=this.space;if(!o){let e=this.dom.ownerDocument.documentElement;o={left:0,top:0,right:e.clientWidth,bottom:e.clientHeight}}return r.top>Math.min(o.bottom,t.bottom)-10||r.bottom{e.target==r&&e.preventDefault()});let o=null;for(let i=n.from;in.from||0==n.from)&&(o=e,"string"!=typeof s&&s.header?r.appendChild(s.header(s)):r.appendChild(document.createElement("completion-section")).textContent=e)}let c=r.appendChild(document.createElement("li"));c.id=t+"-"+i,c.setAttribute("role","option");let u=this.optionClass(a);for(let e of(u&&(c.className=u),this.optionContent)){let t=e(a,this.view.state,this.view,l);t&&c.appendChild(t)}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.tonew O(n,e,t)}function I(e,t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=n.height/e.offsetHeight;r.topn.bottom&&(e.scrollTop+=(r.bottom-n.bottom)/o)}function N(e){return 100*(e.boost||0)+10*!!e.apply+5*!!e.info+ +!!e.type}function Z(e,t){let n=[],r=null,o=e=>{n.push(e);let{section:t}=e.completion;if(t){r||(r=[]);let e="string"==typeof t?t:t.name;r.some(t=>t.name==e)||r.push("string"==typeof t?{name:e}:t)}},i=t.facet(S);for(let r of e)if(r.hasResult()){let e=r.result.getMatch;if(!1===r.result.filter)for(let t of r.result.options)o(new d(t,r.source,e?e(t):[],1e9-n.length));else{let n=t.sliceDoc(r.from,r.to),a,l=i.filterStrict?new x(n):new w(n);for(let t of r.result.options)if(a=l.match(t.label)){let n=t.displayLabel?e?e(t,a.matched):[]:a.matched;o(new d(t,r.source,n,a.score+(t.boost||0)))}}}if(r){let e=Object.create(null),t=0,o=(e,t)=>{var n,r;return(null!=(n=e.rank)?n:1e9)-(null!=(r=t.rank)?r:1e9)||(e.namet.score-e.score||s(e.completion,t.completion))){let t=e.completion;l&&l.label==t.label&&l.detail==t.detail&&(null==l.type||null==t.type||l.type==t.type)&&l.apply==t.apply&&l.boost==t.boost?N(e.completion)>N(l)&&(a[a.length-1]=e):a.push(e),l=e.completion}return a}class R{constructor(e,t,n,r,o,i){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=r,this.selected=o,this.disabled=i}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new R(this.options,D(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,r,o,i){if(r&&!i&&e.some(e=>e.isPending))return r.setDisabled();let a=Z(e,t);if(!a.length)return r&&e.some(e=>e.isPending)?r.setDisabled():null;let l=t.facet(S).selectOnOpen?0:-1;if(r&&r.selected!=l&&-1!=r.selected){let e=r.options[r.selected].completion;for(let t=0;tt.hasResult()?Math.min(e,t.from):e,1e8),create:K,above:o.aboveCursor},r?r.timestamp:Date.now(),l,!1)}map(e){return new R(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}setDisabled(){return new R(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class T{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new T(_,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(S),r=(n.override||t.languageDataAt("autocomplete",f(t)).map(v)).map(t=>(this.active.find(e=>e.source==t)||new L(t,+!!this.active.some(e=>0!=e.state))).update(e,n));r.length==this.active.length&&r.every((e,t)=>e==this.active[t])&&(r=this.active);let o=this.open,i=e.effects.some(e=>e.is(F));for(let a of(o&&e.docChanged&&(o=o.map(e.changes)),e.selection||r.some(t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to))||!P(r,this.active)||i?o=R.build(r,t,this.id,o,n,i):o&&o.disabled&&!r.some(e=>e.isPending)&&(o=null),!o&&r.every(e=>!e.isPending)&&r.some(e=>e.hasResult())&&(r=r.map(e=>e.hasResult()?new L(e.source,0):e)),e.effects))a.is(W)&&(o=o&&o.setSelected(a.value,this.id));return r==this.active&&o==this.open?this:new T(r,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?j:A}}function P(e,t){if(e==t)return!0;for(let n=0,r=0;;){for(;n-1&&(n["aria-activedescendant"]=e+"-"+t),n}let _=[];function z(e,t){if(e.isUserEvent("input.complete")){let n=e.annotation(p);if(n&&t.activateOnCompletion(n))return 12}let n=e.isUserEvent("input.type");return n&&t.activateOnTyping?5:n?1:e.isUserEvent("delete.backward")?2:e.selection?8:16*!!e.docChanged}class L{constructor(e,t,n=!1){this.source=e,this.state=t,this.explicit=n}hasResult(){return!1}get isPending(){return 1==this.state}update(e,t){let n=z(e,t),r=this;for(let t of((8&n||16&n&&this.touches(e))&&(r=new L(r.source,0)),4&n&&0==r.state&&(r=new L(this.source,1)),r=r.updateFor(e,n),e.effects))if(t.is(b))r=new L(r.source,1,t.value);else if(t.is(y))r=new L(r.source,0);else if(t.is(F))for(let e of t.value)e.source==r.source&&(r=e);return r}updateFor(e,t){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(f(e.state))}}class B extends L{constructor(e,t,n,r,o,i){super(e,3,t),this.limit=n,this.result=r,this.from=o,this.to=i}hasResult(){return!0}updateFor(e,t){var n;if(!(3&t))return this.map(e.changes);let r=this.result;r.map&&!e.changes.empty&&(r=r.map(r,e.changes));let o=e.changes.mapPos(this.from),i=e.changes.mapPos(this.to,1),l=f(e.state);if(l>i||!r||2&t&&(f(e.startState)==this.from||le.map(e=>e.map(t))}),W=r.Py.define(),V=r.QQ.define({create:()=>T.start(),update:(e,t)=>e.update(t),provide:e=>[o.hJ.from(e,e=>e.tooltip),o.tk.contentAttributes.from(e,e=>e.attrs)]});function q(e,t){let n=t.completion.apply||t.completion.label,r=e.state.field(V).active.find(e=>e.source==t.source);return r instanceof B&&("string"==typeof n?e.dispatch(Object.assign(Object.assign({},m(e.state,n,r.from,r.to)),{annotations:p.of(t.completion)})):n(e,t.completion,r.from,r.to),!0)}let K=M(V,q);function X(e,t="option"){return n=>{let r=n.state.field(V,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp-1?r.open.selected+i*(e?1:-1):e?0:l-1;return s<0?s="page"==t?0:l-1:s>=l&&(s="page"==t?l-1:0),n.dispatch({effects:W.of(s)}),!0}}let U=e=>{let t=e.state.field(V,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp!!e.state.field(V,!1)&&(e.dispatch({effects:b.of(!0)}),!0),Y=e=>{let t=e.state.field(V,!1);return!!t&&!!t.active.some(e=>0!=e.state)&&(e.dispatch({effects:y.of(null)}),!0)};class Q{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}let J=50,ee=1e3,et=o.lg.fromClass(class{constructor(e){for(let t of(this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0,e.state.field(V).active))t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(V),n=e.state.facet(S);if(!e.selectionSet&&!e.docChanged&&e.startState.field(V)==t)return;let r=e.transactions.some(e=>{let t=z(e,n);return 8&t||(e.selection||e.docChanged)&&!(3&t)});for(let t=0;tJ&&Date.now()-n.time>ee){for(let e of n.context.abortListeners)try{e()}catch(e){(0,o.OO)(this.view.state,e)}n.context.abortListeners=null,this.running.splice(t--,1)}else n.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(e=>e.effects.some(e=>e.is(b)))&&(this.pendingStart=!0);let i=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(e=>e.isPending&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),i):-1,0!=this.composing)for(let t of e.transactions)t.isUserEvent("input.type")?this.composing=2:2==this.composing&&t.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(V);for(let e of t.active)e.isPending&&!this.running.some(t=>t.active.source==e.source)&&this.startQuery(e);this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(S).updateSyncTime))}startQuery(e){let{state:t}=this.view,n=f(t),r=new a(t,n,e.explicit,this.view),i=new Q(e,r);this.running.push(i),Promise.resolve(e.source(r)).then(e=>{i.context.aborted||(i.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:y.of(null)}),(0,o.OO)(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(S).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(S),r=this.view.state.field(V);for(let o=0;oe.source==i.active.source);if(a&&a.isPending)if(null==i.done){let e=new L(i.active.source,0);for(let t of i.updates)e=e.update(t,n);e.isPending||t.push(e)}else this.startQuery(a)}(t.length||r.open&&r.open.disabled)&&this.view.dispatch({effects:F.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(V,!1);if(t&&t.tooltip&&this.view.state.facet(S).closeOnBlur){let n=t.open&&(0,o.gB)(this.view,t.open.tooltip);n&&n.dom.contains(e.relatedTarget)||setTimeout(()=>this.view.dispatch({effects:y.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:b.of(!1)}),20),this.composing=0}}}),en="object"==typeof navigator&&/Win/.test(navigator.platform),er=r.Wl.highest(o.tk.domEventHandlers({keydown(e,t){let n=t.state.field(V,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&!(en&&e.altKey)||e.metaKey)return!1;let r=n.open.options[n.open.selected],o=n.active.find(e=>e.source==r.source),i=r.completion.commitCharacters||o.result.commitCharacters;return i&&i.indexOf(e.key)>-1&&q(t,r),!1}})),eo=o.tk.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'\uD835\uDC65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\uD835\uDC36'"}},".cm-completionIcon-type":{"&:after":{content:"'\uD835\uDC61'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\uD83D\uDD11︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class ei{constructor(e,t,n,r){this.field=e,this.line=t,this.from=n,this.to=r}}class ea{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,r.gc.TrackDel),n=e.mapPos(this.to,1,r.gc.TrackDel);return null==t||null==n?null:new ea(this.field,t,n)}}class el{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],r=[t],o=e.doc.lineAt(t),a=/^\s*/.exec(o.text)[0];for(let o of this.lines){if(n.length){let n=a,l=/^\t*/.exec(o)[0].length;for(let t=0;tnew ea(e.field,r[e.line]+e.from,r[e.line]+e.to))}}static parse(e){let t=[],n=[],r=[],o;for(let i of e.split(/\r\n?|\n/)){for(;o=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(i);){let e=o[1]?+o[1]:null,a=o[2]||o[3]||"",l=-1,s=a.replace(/\\[{}]/g,e=>e[1]);for(let n=0;n=l&&o.field++}r.push(new ei(l,n.length,o.index,o.index+s.length)),i=i.slice(0,o.index)+a+i.slice(o.index+o[0].length)}i=i.replace(/\\([{}])/g,(e,t,o)=>{for(let e of r)e.line==n.length&&e.from>o&&(e.from--,e.to--);return t}),n.push(i)}return new el(n,r)}}let es=o.p.widget({widget:new class extends o.l9{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),ec=o.p.mark({class:"cm-snippetField"});class eu{constructor(e,t){this.ranges=e,this.active=t,this.deco=o.p.set(e.map(e=>(e.from==e.to?es:ec).range(e.from,e.to)))}map(e){let t=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null;t.push(r)}return new eu(t,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}let ed=r.Py.define({map:(e,t)=>e&&e.map(t)}),ef=r.Py.define(),eh=r.QQ.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(ed))return n.value;if(n.is(ef)&&e)return new eu(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>o.tk.decorations.from(e,e=>e?e.deco:o.p.none)});function ep(e,t){return r.jT.create(e.filter(e=>e.field==t).map(e=>r.jT.range(e.from,e.to)))}function em(e){let t=el.parse(e);return(e,n,o,i)=>{let{text:a,ranges:l}=t.instantiate(e.state,o),{main:s}=e.state.selection,c={changes:{from:o,to:i==s.from?s.to:i,insert:r.xv.of(a)},scrollIntoView:!0,annotations:n?[p.of(n),r.YW.userEvent.of("input.complete")]:void 0};if(l.length&&(c.selection=ep(l,0)),l.some(e=>e.field>0)){let t=new eu(l,0),n=c.effects=[ed.of(t)];void 0===e.state.field(eh,!1)&&n.push(r.Py.appendConfig.of([eh,ew,eS,eo]))}e.dispatch(e.state.update(c))}}function eg(e){return({state:t,dispatch:n})=>{let r=t.field(eh,!1);if(!r||e<0&&0==r.active)return!1;let o=r.active+e,i=e>0&&!r.ranges.some(t=>t.field==o+e);return n(t.update({selection:ep(r.ranges,o),effects:ed.of(i?null:new eu(r.ranges,o)),scrollIntoView:!0})),!0}}let ev=({state:e,dispatch:t})=>!!e.field(eh,!1)&&(t(e.update({effects:ed.of(null)})),!0),eb=[{key:"Tab",run:eg(1),shift:eg(-1)},{key:"Escape",run:ev}],ey=r.r$.define({combine:e=>e.length?e[0]:eb}),ew=r.Wl.highest(o.$f.compute([ey],e=>e.facet(ey)));function ex(e,t){return Object.assign(Object.assign({},t),{apply:em(e)})}let eS=o.tk.domEventHandlers({mousedown(e,t){let n=t.state.field(eh,!1),r;if(!n||null==(r=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let o=n.ranges.find(e=>e.from<=r&&e.to>=r);return!!o&&o.field!=n.active&&(t.dispatch({selection:ep(n.ranges,o.field),effects:ed.of(n.ranges.some(e=>e.field>o.field)?new eu(n.ranges,o.field):null),scrollIntoView:!0}),!0)}}),ek={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},eC=r.Py.define({map(e,t){let n=t.mapPos(e,-1,r.gc.TrackAfter);return null==n?void 0:n}}),e$=new class extends r.uU{};e$.startSide=1,e$.endSide=-1;let eE=r.QQ.define({create:()=>r.Xs.empty,update(e,t){if(e=e.map(t.changes),t.selection){let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=n.from&&e<=n.to})}for(let n of t.effects)n.is(eC)&&(e=e.update({add:[e$.range(n.value,n.value+1)]}));return e}});function eO(){return[eR,eE]}let eM="()[]{}<>\xab\xbb\xbb\xab[]{}";function eI(e){for(let t=0;t{if((eZ?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let i=e.state.selection.main;if(o.length>2||2==o.length&&1==(0,r.nZ)((0,r.gm)(o,0))||t!=i.from||n!=i.to)return!1;let a=eP(e.state,o);return!!a&&(e.dispatch(a),!0)}),eT=[{key:"Backspace",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=eN(e,e.selection.main.head).brackets||ek.brackets,o=null,i=e.changeByRange(t=>{if(t.empty){let o=eD(e.doc,t.head);for(let i of n)if(i==o&&eA(e.doc,t.head)==eI((0,r.gm)(i,0)))return{changes:{from:t.head-i.length,to:t.head+i.length},range:r.jT.cursor(t.head-i.length)}}return{range:o=t}});return o||t(e.update(i,{scrollIntoView:!0,userEvent:"delete.backward"})),!o}}];function eP(e,t){let n=eN(e,e.selection.main.head),o=n.brackets||ek.brackets;for(let i of o){let a=eI((0,r.gm)(i,0));if(t==i)return a==i?eL(e,i,o.indexOf(i+i+i)>-1,n):e_(e,i,a,n.before||ek.before);if(t==a&&ej(e,e.selection.main.from))return ez(e,i,a)}return null}function ej(e,t){let n=!1;return e.field(eE).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function eA(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,r.nZ)((0,r.gm)(n,0)))}function eD(e,t){let n=e.sliceString(t-2,t);return(0,r.nZ)((0,r.gm)(n,0))==n.length?n:n.slice(1)}function e_(e,t,n,o){let i=null,a=e.changeByRange(a=>{if(!a.empty)return{changes:[{insert:t,from:a.from},{insert:n,from:a.to}],effects:eC.of(a.to+t.length),range:r.jT.range(a.anchor+t.length,a.head+t.length)};let l=eA(e.doc,a.head);return!l||/\s/.test(l)||o.indexOf(l)>-1?{changes:{insert:t+n,from:a.head},effects:eC.of(a.head+t.length),range:r.jT.cursor(a.head+t.length)}:{range:i=a}});return i?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function ez(e,t,n){let o=null,i=e.changeByRange(t=>t.empty&&eA(e.doc,t.head)==n?{changes:{from:t.head,to:t.head+n.length,insert:n},range:r.jT.cursor(t.head+n.length)}:o={range:t});return o?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function eL(e,t,n,o){let i=o.stringPrefixes||ek.stringPrefixes,a=null,l=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:t,from:o.to}],effects:eC.of(o.to+t.length),range:r.jT.range(o.anchor+t.length,o.head+t.length)};let l=o.head,s=eA(e.doc,l),c;if(s==t){if(eB(e,l))return{changes:{insert:t+t,from:l},effects:eC.of(l+t.length),range:r.jT.cursor(l+t.length)};else if(ej(e,l)){let o=n&&e.sliceDoc(l,l+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:l,to:l+o.length,insert:o},range:r.jT.cursor(l+o.length)}}}else if(n&&e.sliceDoc(l-2*t.length,l)==t+t&&(c=eF(e,l-2*t.length,i))>-1&&eB(e,c))return{changes:{insert:t+t+t+t,from:l},effects:eC.of(l+t.length),range:r.jT.cursor(l+t.length)};else if(e.charCategorizer(l)(s)!=r.D0.Word&&eF(e,l,i)>-1&&!eH(e,l,t,i))return{changes:{insert:t+t,from:l},effects:eC.of(l+t.length),range:r.jT.cursor(l+t.length)};return{range:a=o}});return a?null:e.update(l,{scrollIntoView:!0,userEvent:"input.type"})}function eB(e,t){let n=(0,i.qz)(e).resolveInner(t+1);return n.parent&&n.from==t}function eH(e,t,n,r){let o=(0,i.qz)(e).resolveInner(t,-1),a=r.reduce((e,t)=>Math.max(e,t.length),0);for(let i=0;i<5;i++){let i=e.sliceDoc(o.from,Math.min(o.to,o.from+n.length+a)),l=i.indexOf(n);if(!l||l>-1&&r.indexOf(i.slice(0,l))>-1){let t=o.firstChild;for(;t&&t.from==o.from&&t.to-t.from>n.length+l;){if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}let s=o.to==t&&o.parent;if(!s)break;o=s}return!1}function eF(e,t,n){let o=e.charCategorizer(t);if(o(e.sliceDoc(t-1,t))!=r.D0.Word)return t;for(let i of n){let n=t-i.length;if(e.sliceDoc(n,t)==i&&o(e.sliceDoc(n-1,n))!=r.D0.Word)return n}return -1}function eW(e={}){return[er,V,S.of(e),et,eq,eo]}let eV=[{key:"Ctrl-Space",run:G},{mac:"Alt-`",run:G},{key:"Escape",run:Y},{key:"ArrowDown",run:X(!0)},{key:"ArrowUp",run:X(!1)},{key:"PageDown",run:X(!0,"page")},{key:"PageUp",run:X(!1,"page")},{key:"Enter",run:U}],eq=r.Wl.highest(o.$f.computeN([S],e=>e.facet(S).defaultKeymap?[eV]:[]))},73015:function(e,t,n){"use strict";n.d(t,{Be:()=>b,Dv:()=>G,Gn:()=>R,K0:()=>Z,KC:()=>d,Qf:()=>ew,R_:()=>eO,SQ:()=>f,SS:()=>N,Um:()=>eL,a0:()=>eD,c:()=>M,c6:()=>E,e7:()=>ec,kU:()=>u,mi:()=>eb,n$:()=>eA,nF:()=>eC,nY:()=>K,pp:()=>c,qp:()=>p,qz:()=>m,ri:()=>$,rs:()=>X,tC:()=>V,uj:()=>T,vw:()=>H,x0:()=>U,y1:()=>I,ze:()=>W});var r,o=n(31171),i=n(95235),a=n(94547),l=n(26644),s=n(20855);let c=new o.md;function u(e){return i.r$.define({combine:e?t=>t.concat(e):void 0})}let d=new o.md;class f{constructor(e,t,n=[],r=""){this.data=e,this.name=r,i.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(i.yy.prototype,"tree",{get(){return m(this)}}),this.parser=t,this.extension=[C.of(this),i.yy.languageData.of((e,t,n)=>{let r=h(e,t,n),o=r.type.prop(c);if(!o)return[];let i=e.facet(o),a=r.type.prop(d);if(a){let o=r.resolve(t-r.from,n);for(let t of a)if(t.test(o,e)){let n=e.facet(t.facet);return"replace"==t.type?n:n.concat(i)}}return i})].concat(n)}isActiveAt(e,t,n=-1){return h(e,t,n).type.prop(c)==this.data}findRegions(e){let t=e.facet(C);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(e,t)=>{if(e.prop(c)==this.data)return void n.push({from:t,to:t+e.length});let i=e.prop(o.md.mounted);if(i){if(i.tree.prop(c)==this.data){if(i.overlay)for(let e of i.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}else if(i.overlay){let e=n.length;if(r(i.tree,i.overlay[0].from+t),n.length>e)return}}for(let n=0;ne.isTop?t:void 0)]}),e.name)}configure(e,t){return new p(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function m(e){let t=e.field(f.state,!1);return t?t.tree:o.mp.empty}class g{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let v=null;class b{constructor(e,t,n=[],r,o,i,a,l){this.parser=e,this.state=t,this.fragments=n,this.tree=r,this.treeLen=o,this.viewport=i,this.skipped=a,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new b(e,t,[],o.mp.empty,0,n,[],null)}startParse(){return this.parser.startParse(new g(this.state.doc),this.fragments)}work(e,t){return(null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=o.mp.empty&&this.isDone(null!=t?t:this.state.doc.length))?(this.takeTree(),!0):this.withContext(()=>{var n;if("number"==typeof e){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(o.i9.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=v;v=this;try{return e()}finally{v=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=y(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:r,treeLen:i,viewport:a,skipped:l}=this;if(this.takeTree(),!e.empty){let t=[];if(e.iterChangedRanges((e,n,r,o)=>t.push({fromA:e,toA:n,fromB:r,toB:o})),n=o.i9.applyChanges(n,t),r=o.mp.empty,i=0,a={from:e.mapPos(a.from,-1),to:e.mapPos(a.to,1)},this.skipped.length)for(let t of(l=[],this.skipped)){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);ne.from&&(this.fragments=y(this.fragments,n,r),this.skipped.splice(t--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends o._b{createParse(t,n,r){let i=r[0].from,a=r[r.length-1].to;return{parsedPos:i,advance(){let t=v;if(t){for(let e of r)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=a,new o.mp(o.Jq.none,[],[],a-i)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return v}}function y(e,t,n){return o.i9.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class w{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new w(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=b.create(e.facet(C).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new w(n)}}f.state=i.QQ.define({create:w.init,update(e,t){for(let e of t.effects)if(e.is(f.setState))return e.value;return t.startState.facet(C)!=t.state.facet(C)?w.init(t.state):e.apply(t)}});let x=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(x=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});let S="undefined"!=typeof navigator&&(null==(r=navigator.scheduling)?void 0:r.isInputPending)?()=>navigator.scheduling.isInputPending():null,k=a.lg.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(f.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(f.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=x(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndr+1e3,l=o.context.work(()=>S&&S()||Date.now()>i,r+1e5*!a);this.chunkBudget-=Date.now()-t,(l||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:f.setState.of(new w(o.context))})),this.chunkBudget>0&&!(l&&!a)&&this.scheduleWork(),this.checkAsyncSchedule(o.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>(0,a.OO)(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),C=i.r$.define({combine:e=>e.length?e[0]:null,enables:e=>[f.state,k,a.tk.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class ${constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class E{constructor(e,t,n,r,o,i){this.name=e,this.alias=t,this.extensions=n,this.filename=r,this.loadFunc=o,this.support=i,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:t,support:n}=e;if(!t){if(!n)throw RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");t=()=>Promise.resolve(n)}return new E(e.name,(e.alias||[]).concat(e.name).map(e=>e.toLowerCase()),e.extensions||[],e.filename,t,n)}static matchFilename(e,t){for(let n of e)if(n.filename&&n.filename.test(t))return n;let n=/\.([^.]+)$/.exec(t);if(n){for(let t of e)if(t.extensions.indexOf(n[1])>-1)return t}return null}static matchLanguageName(e,t,n=!0){for(let n of(t=t.toLowerCase(),e))if(n.alias.some(e=>e==t))return n;if(n)for(let n of e)for(let e of n.alias){let r=t.indexOf(e);if(r>-1&&(e.length>2||!/\w/.test(t[r-1])&&!/\w/.test(t[r+e.length])))return n}return null}}let O=i.r$.define(),M=i.r$.define({combine:e=>{if(!e.length)return" ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(e=>e!=t[0]))throw Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function I(e){let t=e.facet(M);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function N(e,t){let n="",r=e.tabSize,o=e.facet(M)[0];if(" "==o){for(;t>=r;)n+=" ",t-=r;o=" "}for(let e=0;e=t?P(e,n,t):null}class R{constructor(e,t={}){this.state=e,this.options=t,this.unit=I(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:o}=this.options;if(null!=r&&r>=n.from&&r<=n.to)if(o&&r==e)return{text:"",from:e};else if(t<0?r-1&&(o+=i-this.countColumn(n,n.search(/\S|$/))),o}countColumn(e,t=e.length){return(0,i.IS)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:r}=this.lineAt(e,t),o=this.options.overrideIndentation;if(o){let e=o(r);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let T=new o.md;function P(e,t,n){let r=t.resolveStack(n),o=t.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n);if(o!=r.node){let e=[];for(let t=o;t&&!(t.fromr.node.to||t.from==r.node.from&&t.type==r.node.type);t=t.parent)e.push(t);for(let t=e.length-1;t>=0;t--)r={node:e[t],next:r}}return j(r,e,n)}function j(e,t,n){for(let r=e;r;r=r.next){let e=D(r.node);if(e)return e(z.create(t,n,r))}return 0}function A(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}function D(e){let t=e.type.prop(T);if(t)return t;let n=e.firstChild,r;if(n&&(r=n.type.prop(o.md.closedBy))){let t=e.lastChild,n=t&&r.indexOf(t.name)>-1;return e=>F(e,!0,1,void 0,n&&!A(e)?t.from:void 0)}return null==e.parent?_:null}function _(){return 0}class z extends R{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){return this.context.node}static create(e,t,n){return new z(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(L(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){return j(this.context.next,this.base,this.pos)}}function L(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}function B(e){let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;let o=e.options.simulateBreak,i=e.state.doc.lineAt(n.from),a=null==o||o<=i.from?i.to:Math.min(i.to,o);for(let e=n.to;;){let o=t.childAfter(e);if(!o||o==r)return null;if(!o.type.isSkipped){if(o.from>=a)return null;let e=/^ */.exec(i.text.slice(n.to-i.from))[0].length;return{from:n.from,to:n.to+e}}e=o.to}}function H({closing:e,align:t=!0,units:n=1}){return r=>F(r,t,n,e)}function F(e,t,n,r,o){let i=e.textAfter,a=i.match(/^\s*/)[0].length,l=r&&i.slice(a,a+r.length)==r||o==e.pos+a,s=t?B(e):null;return s?l?e.column(s.from):e.column(s.to):e.baseIndent+(l?0:e.unit*n)}let W=e=>e.baseIndent;function V({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}let q=200;function K(){return i.yy.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:r}=e.newSelection.main,o=n.lineAt(r);if(r>o.from+q)return e;let i=n.sliceString(o.from,r);if(!t.some(e=>e.test(i)))return e;let{state:a}=e,l=-1,s=[];for(let{head:e}of a.selection.ranges){let t=a.doc.lineAt(e);if(t.from==l)continue;l=t.from;let n=Z(a,t.from);if(null==n)continue;let r=/^\s*/.exec(t.text)[0],o=N(a,n);r!=o&&s.push({from:t.from,to:t.from+r.length,insert:o})}return s.length?[e,{changes:s,sequential:!0}]:e})}let X=i.r$.define(),U=new o.md;function G(e){let t=e.firstChild,n=e.lastChild;return t&&t.ton)continue;if(i&&o.from=t&&r.to>n&&(i=r)}}return i}function Q(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function J(e,t,n){for(let r of e.facet(X)){let o=r(e,t,n);if(o)return o}return Y(e,t,n)}function ee(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}let et=i.Py.define({map:ee}),en=i.Py.define({map:ee});function er(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some(e=>e.from<=n&&e.to>=n)||t.push(e.lineBlockAt(n));return t}let eo=i.QQ.define({create:()=>a.p.none,update(e,t){for(let n of(e=e.map(t.changes),t.effects))if(n.is(et)&&!ea(e,n.value.from,n.value.to)){let{preparePlaceholder:r}=t.state.facet(ed),o=r?a.p.replace({widget:new em(r(t.state,n.value))}):ep;e=e.update({add:[o.range(n.value.from,n.value.to)]})}else n.is(en)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));if(t.selection){let n=!1,{head:r}=t.selection.main;e.between(r,r,(e,t)=>{er&&(n=!0)}),n&&(e=e.update({filterFrom:r,filterTo:r,filter:(e,t)=>t<=r||e>=r}))}return e},provide:e=>a.tk.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n{(!o||o.from>e)&&(o={from:e,to:t})}),o}function ea(e,t,n){let r=!1;return e.between(t,t,(e,o)=>{e==t&&o==n&&(r=!0)}),r}function el(e,t){return e.field(eo,!1)?t:t.concat(i.Py.appendConfig.of(ef()))}function es(e,t,n=!0){let r=e.state.doc.lineAt(t.from).number,o=e.state.doc.lineAt(t.to).number;return a.tk.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${e.state.phrase("to")} ${o}.`)}let ec=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:e=>{for(let t of er(e)){let n=J(e.state,t.from,t.to);if(n)return e.dispatch({effects:el(e.state,[et.of(n),es(e,n)])}),!0}return!1}},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:e=>{if(!e.state.field(eo,!1))return!1;let t=[];for(let n of er(e)){let r=ei(e.state,n.from,n.to);r&&t.push(en.of(r),es(e,r,!1))}return t.length&&e.dispatch({effects:t}),t.length>0}},{key:"Ctrl-Alt-[",run:e=>{let{state:t}=e,n=[];for(let r=0;r{let t=e.state.field(eo,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(e,t)=>{n.push(en.of({from:e,to:t}))}),e.dispatch({effects:n}),!0}}],eu={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},ed=i.r$.define({combine:e=>(0,i.BO)(e,eu)});function ef(e){let t=[eo,ey];return e&&t.push(ed.of(e)),t}function eh(e,t){let{state:n}=e,r=n.facet(ed),o=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),r=ei(e.state,n.from,n.to);r&&e.dispatch({effects:en.of(r)}),t.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,o,t);let i=document.createElement("span");return i.textContent=r.placeholderText,i.setAttribute("aria-label",n.phrase("folded code")),i.title=n.phrase("unfold"),i.className="cm-foldPlaceholder",i.onclick=o,i}let ep=a.p.replace({widget:new class extends a.l9{toDOM(e){return eh(e,null)}}});class em extends a.l9{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return eh(e,this.value)}}let eg={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class ev extends a.SJ{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function eb(e={}){let t={...eg,...e},n=new ev(t,!0),r=new ev(t,!1),o=a.lg.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(C)!=e.state.facet(C)||e.startState.field(eo,!1)!=e.state.field(eo,!1)||m(e.startState)!=m(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new i.f_;for(let o of e.viewportLineBlocks){let i=ei(e.state,o.from,o.to)?r:J(e.state,o.from,o.to)?n:null;i&&t.add(o.from,o.from,i)}return t.finish()}}),{domEventHandlers:l}=t;return[o,(0,a.v5)({class:"cm-foldGutter",markers(e){var t;return(null==(t=e.plugin(o))?void 0:t.markers)||i.Xs.empty},initialSpacer:()=>new ev(t,!1),domEventHandlers:{...l,click:(e,t,n)=>{if(l.click&&l.click(e,t,n))return!0;let r=ei(e.state,t.from,t.to);if(r)return e.dispatch({effects:en.of(r)}),!0;let o=J(e.state,t.from,t.to);return!!o&&(e.dispatch({effects:et.of(o)}),!0)}}}),ef()]}let ey=a.tk.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class ew{constructor(e,t){let n;function r(e){let t=s.V.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;let o="string"==typeof t.all?t.all:t.all?r(t.all):void 0,i=t.scope;this.scope=i instanceof f?e=>e.prop(c)==i.data:i?e=>e==i:void 0,this.style=(0,l.QR)(e.map(e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{tag:null}))})),{all:o}).style,this.module=n?new s.V(n):null,this.themeType=t.themeType}static define(e,t){return new ew(e,t||{})}}let ex=i.r$.define(),eS=i.r$.define({combine:e=>e.length?[e[0]]:null});function ek(e){let t=e.facet(ex);return t.length?t:e.facet(eS)}function eC(e,t){let n=[eE],r;return e instanceof ew&&(e.module&&n.push(a.tk.styleModule.of(e.module)),r=e.themeType),(null==t?void 0:t.fallback)?n.push(eS.of(e)):r?n.push(ex.computeN([a.tk.darkTheme],t=>t.facet(a.tk.darkTheme)==("dark"==r)?[e]:[])):n.push(ex.of(e)),n}class e${constructor(e){this.markCache=Object.create(null),this.tree=m(e.state),this.decorations=this.buildDeco(e,ek(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=m(e.state),n=ek(e.state),r=n!=ek(e.startState),{viewport:o}=e.view,i=e.changes.mapPos(this.decoratedTo,1);t.length=o.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=i):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=o.to)}buildDeco(e,t){if(!t||!this.tree.length)return a.p.none;let n=new i.f_;for(let{from:r,to:o}of e.visibleRanges)(0,l.bW)(this.tree,t,(e,t,r)=>{n.add(e,t,this.markCache[r]||(this.markCache[r]=a.p.mark({class:r})))},r,o);return n.finish()}}let eE=i.Wl.high(a.lg.fromClass(e$,{decorations:e=>e.decorations})),eO=ew.define([{tag:l.pJ.meta,color:"#404740"},{tag:l.pJ.link,textDecoration:"underline"},{tag:l.pJ.heading,textDecoration:"underline",fontWeight:"bold"},{tag:l.pJ.emphasis,fontStyle:"italic"},{tag:l.pJ.strong,fontWeight:"bold"},{tag:l.pJ.strikethrough,textDecoration:"line-through"},{tag:l.pJ.keyword,color:"#708"},{tag:[l.pJ.atom,l.pJ.bool,l.pJ.url,l.pJ.contentSeparator,l.pJ.labelName],color:"#219"},{tag:[l.pJ.literal,l.pJ.inserted],color:"#164"},{tag:[l.pJ.string,l.pJ.deleted],color:"#a11"},{tag:[l.pJ.regexp,l.pJ.escape,l.pJ.special(l.pJ.string)],color:"#e40"},{tag:l.pJ.definition(l.pJ.variableName),color:"#00f"},{tag:l.pJ.local(l.pJ.variableName),color:"#30a"},{tag:[l.pJ.typeName,l.pJ.namespace],color:"#085"},{tag:l.pJ.className,color:"#167"},{tag:[l.pJ.special(l.pJ.variableName),l.pJ.macroName],color:"#256"},{tag:l.pJ.definition(l.pJ.propertyName),color:"#00c"},{tag:l.pJ.comment,color:"#940"},{tag:l.pJ.invalid,color:"#f00"}]),eM=a.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),eI=1e4,eN="()[]{}",eZ=i.r$.define({combine:e=>(0,i.BO)(e,{afterCursor:!0,brackets:eN,maxScanDistance:eI,renderMatch:eP})}),eR=a.p.mark({class:"cm-matchingBracket"}),eT=a.p.mark({class:"cm-nonmatchingBracket"});function eP(e){let t=[],n=e.matched?eR:eT;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}let ej=[i.QQ.define({create:()=>a.p.none,update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],r=t.state.facet(eZ);for(let e of t.state.selection.ranges){if(!e.empty)continue;let o=eL(t.state,e.head,-1,r)||e.head>0&&eL(t.state,e.head-1,1,r)||r.afterCursor&&(eL(t.state,e.head,1,r)||e.heada.tk.decorations.from(e)}),eM];function eA(e={}){return[eZ.of(e),ej]}let eD=new o.md;function e_(e,t,n){let r=e.prop(t<0?o.md.openedBy:o.md.closedBy);if(r)return r;if(1==e.name.length){let r=n.indexOf(e.name);if(r>-1&&r%2==+(t<0))return[n[r+t]]}return null}function ez(e){let t=e.type.prop(eD);return t?t(e.node):e}function eL(e,t,n,r={}){let o=r.maxScanDistance||eI,i=r.brackets||eN,a=m(e),l=a.resolveInner(t,n);for(let r=l;r;r=r.parent){let o=e_(r.type,n,i);if(o&&r.from0?t>=a.from&&ta.from&&t<=a.to))return eB(e,t,n,r,a,o,i)}}return eH(e,t,n,a,l.type,o,i)}function eB(e,t,n,r,o,i,a){let l=r.parent,s={from:o.from,to:o.to},c=0,u=null==l?void 0:l.cursor();if(u&&(n<0?u.childBefore(r.from):u.childAfter(r.to)))do if(n<0?u.to<=r.from:u.from>=r.to){if(0==c&&i.indexOf(u.type.name)>-1&&u.from0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},u=e.doc.iterRange(t,n>0?e.doc.length:0),d=0;for(let e=0;!u.next().done&&e<=i;){let i=u.value;n<0&&(e+=i.length);let l=t+e*n;for(let e=n>0?0:i.length-1,t=n>0?i.length:-1;e!=t;e+=n){let t=a.indexOf(i[e]);if(!(t<0)&&r.resolveInner(l+e,1).type==o)if(t%2==0==n>0)d++;else{if(1==d)return{start:c,end:{from:l+e,to:l+e+1},matched:t>>1==s>>1};d--}}n>0&&(e+=i.length)}return u.done?{start:c,matched:!1}:null}let eF=Object.create(null),eW=[o.Jq.none],eV=[],eq=Object.create(null),eK=Object.create(null);for(let[e,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])eK[e]=eU(eF,t);function eX(e,t){eV.indexOf(e)>-1||(eV.push(e),console.warn(t))}function eU(e,t){let n=[];for(let r of t.split(" ")){let t=[];for(let n of r.split(".")){let r=e[n]||l.pJ[n];r?"function"==typeof r?t.length?t=t.map(r):eX(n,`Modifier ${n} used at start of tag`):t.length?eX(n,`Tag ${n} used as modifier`):t=Array.isArray(r)?r:[r]:eX(n,`Unknown highlighting tag ${n}`)}for(let e of t)n.push(e)}if(!n.length)return 0;let r=t.replace(/ /g,"_"),i=r+" "+n.map(e=>e.id),a=eq[i];if(a)return a.id;let s=eq[i]=o.Jq.define({id:eW.length,name:r,props:[(0,l.Gv)({[r]:n})]});return eW.push(s),s.id}a.Nm.RTL,a.Nm.LTR},95235:function(e,t,n){"use strict";let r;n.d(t,{xv:()=>g,Xs:()=>eB,xm:()=>F,D6:()=>ew,jT:()=>W,gc:()=>P,e6:()=>e_,f_:()=>eF,yy:()=>ej,x1:()=>$,QQ:()=>ee,BO:()=>eA,cp:()=>O,nZ:()=>R,Gz:()=>e1,Wl:()=>er,Py:()=>ex,YW:()=>eS,n0:()=>j,JJ:()=>ey,as:()=>A,F6:()=>ei,IS:()=>e0,gm:()=>N,bg:()=>Z,uU:()=>eD,r$:()=>K,D0:()=>eZ,q6:()=>eb});let o=[],i=[];function a(e){if(e<768)return!1;for(let t=0,n=o.length;;){let r=t+n>>1;if(e=i[r]))return!0;t=r+1}if(t==n)return!1}}function l(e){return e>=127462&&e<=127487}(()=>{let e="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let t=0,n=0;t=0&&l(f(e,r));)n++,r-=2;if(n%2==0)break;t+=2}else break}return t}function d(e,t,n){for(;t>0;){let r=u(e,t-2,n);if(r=56320&&e<57344}function p(e){return e>=55296&&e<56320}function m(e){return e<65536?1:2}class g{lineAt(e){if(e<0||e>this.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=E(this,e,t);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),b.from(r,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=E(this,e,t);let n=[];return this.decompose(e,t,n,0),b.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new S(this),o=new S(e);for(let e=t,i=t;;){if(r.next(e),o.next(e),e=0,r.lineBreak!=o.lineBreak||r.done!=o.done||r.value!=o.value)return!1;if(i+=r.value.length,r.done||i>=n)return!0}}iter(e=1){return new S(this,e)}iterRange(e,t=this.length){return new k(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new C(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(0==e.length)throw RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new v(e):b.from(v.split(e,[])):g.empty}}class v extends g{constructor(e,t=y(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,r){for(let o=0;;o++){let i=this.text[o],a=r+i.length;if((t?n:a)>=e)return new $(r,a,n,i);r=a+1,n++}}decompose(e,t,n,r){let o=e<=0&&t>=this.length?this:new v(x(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(1&r){let e=n.pop(),t=w(o.text,e.text.slice(),0,o.length);if(t.length<=32)n.push(new v(t,e.length+o.length));else{let e=t.length>>1;n.push(new v(t.slice(0,e)),new v(t.slice(e)))}}else n.push(o)}replace(e,t,n){if(!(n instanceof v))return super.replace(e,t,n);[e,t]=E(this,e,t);let r=w(this.text,w(n.text,x(this.text,0,e)),t),o=this.length+n.length-(t-e);return r.length<=32?new v(r,o):b.from(v.split(r,[]),o)}sliceString(e,t=this.length,n="\n"){[e,t]=E(this,e,t);let r="";for(let o=0,i=0;o<=t&&ie&&i&&(r+=n),eo&&(r+=a.slice(Math.max(0,e-o),t-o)),o=l+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],r=-1;for(let o of e)n.push(o),r+=o.length+1,32==n.length&&(t.push(new v(n,r)),n=[],r=-1);return r>-1&&t.push(new v(n,r)),t}}class b extends g{constructor(e,t){for(let n of(super(),this.children=e,this.length=t,this.lines=0,e))this.lines+=n.lines}lineInner(e,t,n,r){for(let o=0;;o++){let i=this.children[o],a=r+i.length,l=n+i.lines-1;if((t?l:a)>=e)return i.lineInner(e,t,n,r);r=a+1,n=l+1}}decompose(e,t,n,r){for(let o=0,i=0;i<=t&&o=i){let o=r&(i<=e|2*(l>=t));i>=e&&l<=t&&!o?n.push(a):a.decompose(e-i,t-i,n,o)}i=l+1}}replace(e,t,n){if([e,t]=E(this,e,t),n.lines=o&&t<=a){let l=i.replace(e-o,t-o,n),s=this.lines-i.lines+l.lines;if(l.lines>4&&l.lines>s>>6){let o=this.children.slice();return o[r]=l,new b(o,this.length-(t-e)+n.length)}return super.replace(o,a,l)}o=a+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){[e,t]=E(this,e,t);let r="";for(let o=0,i=0;oe&&o&&(r+=n),ei&&(r+=a.sliceString(e-i,t-i,n)),i=l+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof b))return 0;let n=0,[r,o,i,a]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=t,o+=t){if(r==i||o==a)return n;let l=this.children[r],s=e.children[o];if(l!=s)return n+l.scanIdentical(s,t);n+=l.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let n=0;for(let t of e)n+=t.lines;if(n<32){let n=[];for(let t of e)t.flatten(n);return new v(n,t)}let r=Math.max(32,n>>5),o=r<<1,i=r>>1,a=[],l=0,s=-1,c=[];function u(e){let t;if(e.lines>o&&e instanceof b)for(let t of e.children)u(t);else e.lines>i&&(l>i||!l)?(d(),a.push(e)):e instanceof v&&l&&(t=c[c.length-1])instanceof v&&e.lines+t.lines<=32?(l+=e.lines,s+=e.length+1,c[c.length-1]=new v(t.text.concat(e.text),t.length+1+e.length)):(l+e.lines>r&&d(),l+=e.lines,s+=e.length+1,c.push(e))}function d(){0!=l&&(a.push(1==c.length?c[0]:b.from(c,s)),s=-1,l=c.length=0)}for(let t of e)u(t);return d(),1==a.length?a[0]:new b(a,t)}}function y(e){let t=-1;for(let n of e)t+=n.length+1;return t}function w(e,t,n=0,r=1e9){for(let o=0,i=0,a=!0;i=n&&(s>r&&(l=l.slice(0,r-o)),o0?1:(e instanceof v?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],o=this.offsets[n],i=o>>1,a=r instanceof v?r.text.length:r.children.length;if(i==(t>0?a:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&o)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(r instanceof v){let o=r.text[i+(t<0?-1:0)];if(this.offsets[n]+=t,o.length>Math.max(0,e))return this.value=0==e?o:t>0?o.slice(e):o.slice(0,o.length-e),this;e-=o.length}else{let o=r.children[i+(t<0?-1:0)];e>o.length?(e-=o.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(o),this.offsets.push(t>0?1:(o instanceof v?o.text.length:o.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class k{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new S(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class C{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:r}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(g.prototype[Symbol.iterator]=function(){return this.iter()},S.prototype[Symbol.iterator]=k.prototype[Symbol.iterator]=C.prototype[Symbol.iterator]=function(){return this});class ${constructor(e,t,n,r){this.from=e,this.to=t,this.number=n,this.text=r}get length(){return this.to-this.from}}function E(e,t,n){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,n))]}function O(e,t,n=!0,r=!0){return c(e,t,n,r)}function M(e){return e>=56320&&e<57344}function I(e){return e>=55296&&e<56320}function N(e,t){let n=e.charCodeAt(t);if(!I(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return M(r)?(n-55296<<10)+(r-56320)+65536:n}function Z(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}function R(e){return e<65536?1:2}let T=/\r\n?|\n/;var P=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(P||(P={}));class j{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return o+(e-r);o+=a}else{if(n!=P.Simple&&s>=e&&(n==P.TrackDel&&re||n==P.TrackBefore&&re))return null;if(s>e||s==e&&t<0&&!a)return e==r||t<0?o:o+l;o+=l}r=s}if(e>r)throw RangeError(`Position ${e} is out of range for changeset of length ${r}`);return o}touchesRange(e,t=e){for(let n=0,r=0;n=0&&r<=t&&a>=e)return!(rt)||"cover";r=a}return!1}toString(){let e="";for(let t=0;t=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw RangeError("Invalid JSON representation of ChangeDesc");return new j(e)}static create(e){return new j(e)}}class A extends j{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError("Applying change set to a document with the wrong length");return z(this,(t,n,r,o,i)=>e=e.replace(r,r+(n-t),i),!1),e}mapDesc(e,t=!1){return L(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let r=0,o=0;r=0){t[r]=a,t[r+1]=i;let l=r>>1;for(;n.length0&&_(n,t,o.text),o.forward(e),a+=e}let s=e[i++];for(;a>1].toJSON()))}return e}static of(e,t,n){let r=[],o=[],i=0,a=null;function l(e=!1){if(!e&&!r.length)return;is||a<0||s>t)throw RangeError(`Invalid change range ${a} to ${s} (in doc of length ${t})`);let u=c?"string"==typeof c?g.of(c.split(n||T)):c:g.empty,d=u.length;if(a==s&&0==d)return;ai&&D(r,a-i,-1),D(r,s-a,d),_(o,r,u),i=s}}return s(e),l(!a),a}static empty(e){return new A(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let r=0;rt&&"string"!=typeof e))throw RangeError("Invalid JSON representation of ChangeSet");else if(1==o.length)t.push(o[0],0);else{for(;n.length=0&&n<=0&&n==e[o+1]?e[o]+=t:o>=0&&0==t&&0==e[o]?e[o+1]+=n:r?(e[o]+=t,e[o+1]+=n):e.push(t,n)}function _(e,t,n){if(0==n.length)return;let r=t.length-2>>1;if(r>1])),!n&&a!=e.sections.length&&!(e.sections[a+1]<0);)l=e.sections[a++],s=e.sections[a++];t(o,c,i,u,d),o=c,i=u}}}function L(e,t,n,r=!1){let o=[],i=r?[]:null,a=new H(e),l=new H(t);for(let e=-1;;)if(a.done&&l.len||l.done&&a.len)throw Error("Mismatched change set lengths");else if(-1==a.ins&&-1==l.ins){let e=Math.min(a.len,l.len);D(o,e,-1),a.forward(e),l.forward(e)}else if(l.ins>=0&&(a.ins<0||e==a.i||0==a.off&&(l.len=0&&e=0){let t=0,n=a.len;for(;n;)if(-1==l.ins){let e=Math.min(n,l.len);t+=e,n-=e,l.forward(e)}else if(0==l.ins&&l.lent||a.ins>=0&&a.len>t)&&(e||r.length>n),i.forward2(t),a.forward(t)}else D(r,0,a.ins,e),o&&_(o,r,a.text),a.next()}class H{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?g.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?g.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class F{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return 32&this.flags?this.to:this.from}get head(){return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get bidiLevel(){let e=7&this.flags;return 7==e?null:e}get goalColumn(){let e=this.flags>>6;return 0xffffff==e?void 0:e}map(e,t=-1){let n,r;return this.empty?n=r=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new F(n,r,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return W.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return W.range(this.anchor,n)}eq(e,t=!1){return this.anchor==e.anchor&&this.head==e.head&&(!t||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid JSON representation for SelectionRange");return W.range(e.anchor,e.head)}static create(e,t,n){return new F(e,t,n)}}class W{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:W.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;ne.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new W(e.ranges.map(e=>F.fromJSON(e)),e.main)}static single(e,t=e){return new W([W.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw RangeError("A selection needs at least one range");for(let n=0,r=0;re)|o)}static normalized(e,t=0){let n=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(n);for(let n=1;nr.head?W.range(a,i):W.range(i,a))}}return new W(e,t)}}function V(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError("Selection points outside of document")}let q=0;class K{constructor(e,t,n,r,o){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=q++,this.default=e([]),this.extensions="function"==typeof o?o(this):o}get reader(){return this}static define(e={}){return new K(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(!e.combine?X:(e,t)=>e===t),!!e.static,e.enables)}of(e){return new U([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new U(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new U(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function X(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class U{constructor(e,t,n,r){this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=q++}dynamicSlot(e){var t;let n=this.value,r=this.facet.compareInput,o=this.id,i=e[o]>>1,a=2==this.type,l=!1,s=!1,c=[];for(let n of this.dependencies)"doc"==n?l=!0:"selection"==n?s=!0:((null!=(t=e[n.id])?t:1)&1)==0&&c.push(e[n.id]);return{create:e=>(e.values[i]=n(e),1),update(e,t){if(l&&t.docChanged||s&&(t.docChanged||t.selection)||Y(e,c)){let t=n(e);if(a?!G(t,e.values[i],r):!r(t,e.values[i]))return e.values[i]=t,1}return 0},reconfigure:(e,t)=>{let l,s=t.config.address[o];if(null!=s){let o=eu(t,s);if(this.dependencies.every(n=>n instanceof K?t.facet(n)===e.facet(n):!(n instanceof ee)||t.field(n,!1)==e.field(n,!1))||(a?G(l=n(e),o,r):r(l=n(e),o)))return e.values[i]=o,0}else l=n(e);return e.values[i]=l,1}}}}function G(e,t,n){if(e.length!=t.length)return!1;for(let r=0;re[t.id]),o=n.map(e=>e.type),i=r.filter(e=>!(1&e)),a=e[t.id]>>1;function l(e){let n=[];for(let t=0;te===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(J).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let r=e.values[t],o=this.updateF(r,n);return this.compareF(r,o)?0:(e.values[t]=o,1)},reconfigure:(e,n)=>{let r=e.facet(J),o=n.facet(J),i;return(i=r.find(e=>e.field==this))&&i!=o.find(e=>e.field==this)?(e.values[t]=i.create(e),1):null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}}init(e){return[this,J.of({field:this,create:e})]}get extension(){return this}}let et={lowest:4,low:3,default:2,high:1,highest:0};function en(e){return t=>new eo(t,e)}let er={highest:en(et.highest),high:en(et.high),default:en(et.default),low:en(et.low),lowest:en(et.lowest)};class eo{constructor(e,t){this.inner=e,this.prec=t}}class ei{of(e){return new ea(this,e)}reconfigure(e){return ei.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class ea{constructor(e,t){this.compartment=e,this.inner=t}}class el{constructor(e,t,n,r,o,i){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=o,this.facets=i,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let r=[],o=Object.create(null),i=new Map;for(let n of es(e,t,i))n instanceof ee?r.push(n):(o[n.facet.id]||(o[n.facet.id]=[])).push(n);let a=Object.create(null),l=[],s=[];for(let e of r)a[e.id]=s.length<<1,s.push(t=>e.slot(t));let c=null==n?void 0:n.config.facets;for(let e in o){let t=o[e],r=t[0].facet,i=c&&c[e]||[];if(t.every(e=>0==e.type))if(a[r.id]=l.length<<1|1,X(i,t))l.push(n.facet(r));else{let e=r.combine(t.map(e=>e.value));l.push(n&&r.compare(e,n.facet(r))?n.facet(r):e)}else{for(let e of t)0==e.type?(a[e.id]=l.length<<1|1,l.push(e.value)):(a[e.id]=s.length<<1,s.push(t=>e.dynamicSlot(t)));a[r.id]=s.length<<1,s.push(e=>Q(e,r,t))}}return new el(e,i,s.map(e=>e(a)),a,l,o)}}function es(e,t,n){let r=[[],[],[],[],[]],o=new Map;function i(e,a){let l=o.get(e);if(null!=l){if(l<=a)return;let t=r[l].indexOf(e);t>-1&&r[l].splice(t,1),e instanceof ea&&n.delete(e.compartment)}if(o.set(e,a),Array.isArray(e))for(let t of e)i(t,a);else if(e instanceof ea){if(n.has(e.compartment))throw RangeError("Duplicate use of compartment in extensions");let r=t.get(e.compartment)||e.inner;n.set(e.compartment,r),i(r,a)}else if(e instanceof eo)i(e.inner,e.prec);else if(e instanceof ee)r[a].push(e),e.provides&&i(e.provides,a);else if(e instanceof U)r[a].push(e),e.facet.extensions&&i(e.facet.extensions,et.default);else{let t=e.extension;if(!t)throw Error(`Unrecognized extension value in extension set (${e}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);i(t,a)}}return i(e,et.default),r.reduce((e,t)=>e.concat(t))}function ec(e,t){if(1&t)return 2;let n=t>>1,r=e.status[n];if(4==r)throw Error("Cyclic dependency between fields and/or facets");if(2&r)return r;e.status[n]=4;let o=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|o}function eu(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}let ed=K.define(),ef=K.define({combine:e=>e.some(e=>e),static:!0}),eh=K.define({combine:e=>e.length?e[0]:void 0,static:!0}),ep=K.define(),em=K.define(),eg=K.define(),ev=K.define({combine:e=>!!e.length&&e[0]});class eb{constructor(e,t){this.type=e,this.value=t}static define(){return new ey}}class ey{of(e){return new eb(this,e)}}class ew{constructor(e){this.map=e}of(e){return new ex(this,e)}}class ex{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new ex(this.type,t)}is(e){return this.type==e}static define(e={}){return new ew(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let r of e){let e=r.map(t);e&&n.push(e)}return n}}ex.reconfigure=ex.define(),ex.appendConfig=ex.define();class eS{constructor(e,t,n,r,o,i){this.startState=e,this.changes=t,this.selection=n,this.effects=r,this.annotations=o,this.scrollIntoView=i,this._doc=null,this._state=null,n&&V(n,t.newLength),o.some(e=>e.type==eS.time)||(this.annotations=o.concat(eS.time.of(Date.now())))}static create(e,t,n,r,o,i){return new eS(e,t,n,r,o,i)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(eS.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function ek(e,t){let n=[];for(let r=0,o=0;;){let i,a;if(r=e[r]))i=e[r++],a=e[r++];else{if(!(o=0;n--){let o=r[n](e);e=o instanceof eS?o:Array.isArray(o)&&1==o.length&&o[0]instanceof eS?o[0]:eE(t,eN(o),!1)}return e}function eM(e){let t=e.startState,n=t.facet(eg),r=e;for(let o=n.length-1;o>=0;o--){let i=n[o](e);i&&Object.keys(i).length&&(r=eC(r,e$(t,i,e.changes.newLength),!0))}return r==e?e:eS.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}eS.time=eb.define(),eS.userEvent=eb.define(),eS.addToHistory=eb.define(),eS.remote=eb.define();let eI=[];function eN(e){return null==e?eI:Array.isArray(e)?e:[e]}var eZ=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(eZ||(eZ={}));let eR=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{r=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(e){}function eT(e){if(r)return r.test(e);for(let t=0;t"\x80"&&(n.toUpperCase()!=n.toLowerCase()||eR.test(n)))return!0}return!1}function eP(e){return t=>{if(!/\S/.test(t))return eZ.Space;if(eT(t))return eZ.Word;for(let n=0;n-1)return eZ.Word;return eZ.Other}}class ej{constructor(e,t,n,r,o,i){this.config=e,this.doc=t,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=o,i&&(i._state=this);for(let e=0;eo.set(t,e)),n=null),o.set(t.value.compartment,t.value.extension)):t.is(ex.reconfigure)?(n=null,r=t.value):t.is(ex.appendConfig)&&(n=null,r=eN(r).concat(t.value));t=n?e.startState.values.slice():new ej(n=el.resolve(r,o,this),this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values;let i=e.startState.facet(ef)?e.newSelection:e.newSelection.asSingle();new ej(n,e.newDoc,i,t,(t,n)=>n.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:W.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),o=[n.range],i=eN(n.effects);for(let n=1;no.spec.fromJSON(i,e)))}}return ej.create({doc:e.doc,selection:W.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=el.resolve(e.extensions||[],new Map),n=e.doc instanceof g?e.doc:g.of((e.doc||"").split(t.staticFacet(ej.lineSeparator)||T)),r=e.selection?e.selection instanceof W?e.selection:W.single(e.selection.anchor,e.selection.head):W.single(0);return V(r,n.length),t.staticFacet(ef)||(r=r.asSingle()),new ej(t,n,r,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(ej.tabSize)}get lineBreak(){return this.facet(ej.lineSeparator)||"\n"}get readOnly(){return this.facet(ev)}phrase(e,...t){for(let t of this.facet(ej.phrases))if(Object.prototype.hasOwnProperty.call(t,e)){e=t[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,n)=>{if("$"==n)return"$";let r=+(n||1);return!r||r>t.length?e:t[r-1]})),e}languageDataAt(e,t,n=-1){let r=[];for(let o of this.facet(ed))for(let i of o(this,t,n))Object.prototype.hasOwnProperty.call(i,e)&&r.push(i[e]);return r}charCategorizer(e){return eP(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:n,length:r}=this.doc.lineAt(e),o=this.charCategorizer(e),i=e-n,a=e-n;for(;i>0;){let e=O(t,i,!1);if(o(t.slice(e,i))!=eZ.Word)break;i=e}for(;ae.length?e[0]:4}),ej.lineSeparator=eh,ej.readOnly=ev,ej.phrases=K.define({compare(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every(n=>e[n]==t[n])}}),ej.languageData=ed,ej.changeFilter=ep,ej.transactionFilter=em,ej.transactionExtender=eg,ei.reconfigure=ex.define();class eD{eq(e){return this==e}range(e,t=e){return e_.create(e,t,this)}}eD.prototype.startSide=eD.prototype.endSide=0,eD.prototype.point=!1,eD.prototype.mapMode=P.TrackDel;class e_{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new e_(e,t,n)}}function ez(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class eL{constructor(e,t,n,r){this.from=e,this.to=t,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,r=0){let o=n?this.to:this.from;for(let i=r,a=o.length;;){if(i==a)return i;let r=i+a>>1,l=o[r]-e||(n?this.value[r].endSide:this.value[r].startSide)-t;if(r==i)return l>=0?i:a;l>=0?a=r:i=r+1}}between(e,t,n,r){for(let o=this.findIndex(t,-1e9,!0),i=this.findIndex(n,1e9,!1,o);o(f=t.mapPos(u,s.endSide))||d==f&&s.startSide>0&&s.endSide<=0)continue;0>(f-d||s.endSide-s.startSide)||(i<0&&(i=d),s.point&&(a=Math.max(a,f-d)),n.push(s),r.push(d-i),o.push(f-i))}return{mapped:n.length?new eL(r,o,n,a):null,pos:i}}}class eB{constructor(e,t,n,r){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}static create(e,t,n,r){return new eB(e,t,n,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:r=0,filterTo:o=this.length}=e,i=e.filter;if(0==t.length&&!i)return this;if(n&&(t=t.slice().sort(ez)),this.isEmpty)return t.length?eB.of(t):this;let a=new eV(this,null,-1).goto(0),l=0,s=[],c=new eF;for(;a.value||l=0){let e=t[l++];c.addInner(e.from,e.to,e.value)||s.push(e)}else 1==a.rangeIndex&&a.chunkIndexthis.chunkEnd(a.chunkIndex)||oa.to||o=o&&e<=o+i.length&&!1===i.between(o,e-o,t-o,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return eq.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return eq.from(e).goto(t)}static compare(e,t,n,r,o=-1){let i=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=o),a=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=o),l=eW(i,a,n),s=new eX(i,l,o),c=new eX(a,l,o);n.iterGaps((e,t,n)=>eU(s,e,c,t,n,r)),n.empty&&0==n.length&&eU(s,0,c,0,0,r)}static eq(e,t,n=0,r){null==r&&(r=0x3b9ac9ff);let o=e.filter(e=>!e.isEmpty&&0>t.indexOf(e)),i=t.filter(t=>!t.isEmpty&&0>e.indexOf(t));if(o.length!=i.length)return!1;if(!o.length)return!0;let a=eW(o,i),l=new eX(o,a,0).goto(n),s=new eX(i,a,0).goto(n);for(;;){if(l.to!=s.to||!eG(l.active,s.active)||l.point&&(!s.point||!l.point.eq(s.point)))return!1;if(l.to>r)return!0;l.next(),s.next()}}static spans(e,t,n,r,o=-1){let i=new eX(e,null,o).goto(t),a=t,l=i.openStart;for(;;){let e=Math.min(i.to,n);if(i.point){let n=i.activeForPoint(i.to),o=i.pointFroma&&(r.span(a,e,i.active,l),l=i.openEnd(e));if(i.to>n)return l+(i.point&&i.to>n?1:0);a=i.to,i.next()}}static of(e,t=!1){let n=new eF;for(let r of e instanceof e_?[e]:t?eH(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return eB.empty;let t=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=eB.empty;r=r.nextLayer)t=new eB(r.chunkPos,r.chunk,t,Math.max(r.maxPoint,t.maxPoint));return t}}function eH(e){if(e.length>1)for(let t=e[0],n=1;n0)return e.slice().sort(ez);t=r}return e}eB.empty=new eB([],[],null,-1),eB.empty.nextLayer=eB.empty;class eF{finishChunk(e){this.chunks.push(new eL(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new eF)).add(e,t,n)}addInner(e,t,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&0>(e-this.lastFrom||n.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(r<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if(0>(e-this.lastTo||t.value[0].startSide-this.last.endSide))return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(eB.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=eB.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function eW(e,t,n){let r=new Map;for(let t of e)for(let e=0;e(this.to-e||this.endSide-t)&&this.gotoInner(e,t,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&r.push(new eV(i,t,n,o));return 1==r.length?r[0]:new eq(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let e=this.heap.length>>1;e>=0;e--)eK(this.heap,e);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)eK(this.heap,e);0>(this.to-e||this.value.endSide-t)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),eK(this.heap,0)}}}function eK(e,t){for(let n=e[t];;){let r=(t<<1)+1;if(r>=e.length)break;let o=e[r];if(r+1=0&&(o=e[r+1],r++),0>n.compare(o))break;e[r]=n,e[t]=o,t=r}}class eX{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=eq.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&0>(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t);)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){eY(this.active,e),eY(this.activeTo,e),eY(this.activeRank,e),this.minActive=eJ(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:r,rank:o}=this.cursor;for(;t0;)t++;eQ(this.active,t,n),eQ(this.activeTo,t,r),eQ(this.activeRank,t,o),e&&eQ(e,t,this.cursor.from),this.minActive=eJ(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&0>(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&eY(n,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let e=this.cursor.value;if(e.point)if(t&&this.cursor.to==this.to&&this.cursor.from=0&&n[t]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function eU(e,t,n,r,o,i){e.goto(t),n.goto(r);let a=r+o,l=r,s=r-t;for(;;){let t=e.to+s-n.to,r=t||e.endSide-n.endSide,o=r<0?e.to+s:n.to,c=Math.min(o,a);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&eG(e.activeForPoint(e.to),n.activeForPoint(n.to))||i.comparePoint(l,c,e.point,n.point):c>l&&!eG(e.active,n.active)&&i.compareRange(l,c,e.active,n.active),o>a)break;(t||e.openEnd!=n.openEnd)&&i.boundChange&&i.boundChange(o),l=o,r<=0&&e.next(),r>=0&&n.next()}}function eG(e,t){if(e.length!=t.length)return!1;for(let n=0;n=t;n--)e[n+1]=e[n];e[t]=n}function eJ(e,t){let n=-1,r=1e9;for(let o=0;o(t[o]-r||e[o].endSide-e[n].endSide)&&(n=o,r=t[o]);return n}function e0(e,t,n=e.length){let r=0;for(let o=0;o=t)return r;if(r==e.length)break;o+=9==e.charCodeAt(r)?n-o%n:1,r=O(e,r)}return!0===r?-1:e.length}},94547:function(e,t,n){"use strict";let r;n.d(t,{E8:()=>o0,SJ:()=>ia,Uw:()=>rJ,dc:()=>rW,tk:()=>rE,lg:()=>th,CZ:()=>eV,v5:()=>id,NO:()=>is,pk:()=>iz,$f:()=>rj,v7:()=>il,Dm:()=>oQ,Sd:()=>o3,AE:()=>oc,gB:()=>oY,td:()=>nK,EY:()=>rY,p2:()=>iS,Eu:()=>iM,h0:()=>o4,W$:()=>oS,$1:()=>r_,hJ:()=>oH,TB:()=>tE,$X:()=>iL,kH:()=>ex,Nm:()=>ej,Zs:()=>oM,HM:()=>r0,Yq:()=>ie,qr:()=>r9,vC:()=>o9,jH:()=>oP,E2:()=>o1,Y1:()=>on,bF:()=>oG,CT:()=>ov,HQ:()=>iR,ZO:()=>ob,OO:()=>tc,p:()=>eS,lc:()=>ip,DF:()=>iD,Bf:()=>ik,S2:()=>oZ,mH:()=>o7,l9:()=>ew});for(var o=n(95235),i=n(20855),a={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},l={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},s="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),c="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),u=0;u<10;u++)a[48+u]=a[96+u]=String(u);for(var u=1;u<=24;u++)a[u+111]="F"+u;for(var u=65;u<=90;u++)a[u]=String.fromCharCode(u+32),l[u]=String.fromCharCode(u);for(var d in a)l.hasOwnProperty(d)||(l[d]=a[d]);function f(e){var t=!(s&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||c&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?l:a)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}var h=n(84260);function p(e){let t;return(t=11==e.nodeType?e.getSelection?e:e.ownerDocument:e).getSelection()}function m(e,t){return!!t&&(e==t||e.contains(1!=t.nodeType?t.parentNode:t))}function g(e,t){if(!t.anchorNode)return!1;try{return m(e,t.anchorNode)}catch(e){return!1}}function v(e){return 3==e.nodeType?Z(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]}function b(e,t,n,r){return!!n&&(x(e,t,n,r,-1)||x(e,t,n,r,1))}function y(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t}function w(e){return 1==e.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}function x(e,t,n,r,o){for(;;){if(e==n&&t==r)return!0;if(t==(o<0?0:S(e))){if("DIV"==e.nodeName)return!1;let n=e.parentNode;if(!n||1!=n.nodeType)return!1;t=y(e)+(o<0?0:1),e=n}else{if(1!=e.nodeType||1==(e=e.childNodes[t+(o<0?-1:0)]).nodeType&&"false"==e.contentEditable)return!1;t=o<0?S(e):0}}}function S(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function k(e,t){let n=t?e.left:e.right;return{left:n,right:n,top:e.top,bottom:e.bottom}}function C(e){let t=e.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}function $(e,t){let n=t.width/e.offsetWidth,r=t.height/e.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||1>Math.abs(t.width-e.offsetWidth))&&(n=1),(r>.995&&r<1.005||!isFinite(r)||1>Math.abs(t.height-e.offsetHeight))&&(r=1),{scaleX:n,scaleY:r}}function E(e,t,n,r,o,i,a,l){let s=e.ownerDocument,c=s.defaultView||window;for(let u=e,d=!1;u&&!d;)if(1==u.nodeType){let e,f=u==s.body,h=1,p=1;if(f)e=C(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(d=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let t=u.getBoundingClientRect();({scaleX:h,scaleY:p}=$(u,t)),e={left:t.left,right:t.left+u.clientWidth*h,top:t.top,bottom:t.top+u.clientHeight*p}}let m=0,g=0;if("nearest"==o)t.top0&&t.bottom>e.bottom+g&&(g=t.bottom-e.bottom+a)):t.bottom>e.bottom&&(g=t.bottom-e.bottom+a,n<0&&t.top-g0&&t.right>e.right+m&&(m=t.right-e.right+i)):t.right>e.right&&(m=t.right-e.right+i,n<0&&t.leftMath.abs(e-m)&&(r="nearest"),n&&1>Math.abs(n-g)&&(o="nearest")}if(f)break;(t.tope.bottom||t.lefte.right)&&(t={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)}),u=u.assignedSlot||u.parentNode}else if(11==u.nodeType)u=u.host;else break}function O(e){let t=e.ownerDocument,n,r;for(let o=e.parentNode;o;)if(o==t.body||n&&r)break;else if(1==o.nodeType)!r&&o.scrollHeight>o.clientHeight&&(r=o),!n&&o.scrollWidth>o.clientWidth&&(n=o),o=o.assignedSlot||o.parentNode;else if(11==o.nodeType)o=o.host;else break;return{x:n,y:r}}class M{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:n}=e;this.set(t,Math.min(e.anchorOffset,t?S(t):0),n,Math.min(e.focusOffset,n?S(n):0))}set(e,t,n,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=r}}let I=null;function N(e){if(e.setActive)return e.setActive();if(I)return e.focus(I);let t=[];for(let n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(e.focus(null==I?{get preventScroll(){return I={preventScroll:!0},!0}}:void 0),!I){I=!1;for(let e=0;eMath.max(1,e.scrollHeight-e.clientHeight-4)}function D(e,t){for(let n=e,r=t;;)if(3==n.nodeType&&r>0)return{node:n,offset:r};else if(1==n.nodeType&&r>0){if("false"==n.contentEditable)return null;r=S(n=n.childNodes[r-1])}else{if(!n.parentNode||w(n))return null;r=y(n),n=n.parentNode}}function _(e,t){for(let n=e,r=t;;)if(3==n.nodeType&&rt)return n.domBoundsAround(e,t,s);if(u>=e&&-1==r&&(r=l,o=s),s>t&&n.dom.parentNode==this.dom){i=l,a=c;break}c=u,s=u+n.breakAfter}return{from:o,to:a<0?n+this.length:a,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:i=0?this.children[i].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.flags|=2),1&t.flags)return;t.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,7&this.flags&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,n=L){this.markDirty();for(let r=e;rn.indexOf(e)&&e.destroy()}n.length<250?this.children.splice(e,t-e,...n):this.children=[].concat(this.children.slice(0,e),n,this.children.slice(t));for(let e=0;ethis.pos||e==this.pos&&(t>0||0==this.i||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function W(e,t,n,r,o,i,a,l,s){let{children:c}=e,u=c.length?c[t]:null,d=i.length?i[i.length-1]:null,f=d?d.breakAfter:a;if(!(t==r&&u&&!a&&!f&&i.length<2&&u.merge(n,o,i.length?d:null,0==n,l,s))){if(r0&&(!a&&i.length&&u.merge(n,u.length,i[0],!1,l,0)?u.breakAfter=i.shift().breakAfter:(n2);var er={mac:en||/Mac/.test(q.platform),windows:/Win/.test(q.platform),linux:/Linux|X11/.test(q.platform),ie:Y,ie_version:U?K.documentMode||6:G?+G[1]:X?+X[1]:0,gecko:Q,gecko_version:Q?+(/Firefox\/(\d+)/.exec(q.userAgent)||[0,0])[1]:0,chrome:!!J,chrome_version:J?+J[1]:0,ios:en,android:/Android\b/.test(q.userAgent),webkit:ee,safari:et,webkit_version:ee?+(/\bAppleWebKit\/(\d+)/.exec(q.userAgent)||[0,0])[1]:0,tabSize:null!=K.documentElement.style.tabSize?"tab-size":"-moz-tab-size"};let eo=256;class ei extends B{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){3==e.nodeType&&this.createDOM(e)}merge(e,t,n){return!(8&this.flags)&&(!n||n instanceof ei&&!(this.length-(t-e)+n.length>eo)&&!(8&n.flags))&&(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(t),this.markDirty(),!0)}split(e){let t=new ei(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t.flags|=8&this.flags,t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new z(this.dom,e)}domBoundsAround(e,t,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return el(this.dom,e,t)}}class ea extends B{constructor(e,t=[],n=0){for(let r of(super(),this.mark=e,this.children=t,this.length=n,t))r.setParent(this)}setAttrs(e){if(P(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?4&this.flags&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(e,t,n,r,o,i){return(!n||!!(n instanceof ea&&n.mark.eq(this.mark))&&(!e||!(o<=0))&&(!(te&&t.push(n=e&&(r=o),n=a,o++}let i=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new ea(this.mark,t,i)}domAtPos(e){return eu(this,e)}coordsAt(e,t){return ef(this,e,t)}}function el(e,t,n){let r=e.nodeValue.length;t>r&&(t=r);let o=t,i=t,a=0;0==t&&n<0||t==r&&n>=0?!(er.chrome||er.gecko)&&(t?(o--,a=1):i=0)?0:l.length-1];return er.safari&&!a&&0==s.width&&(s=Array.prototype.find.call(l,e=>e.width)||s),a?k(s,a<0):s||null}class es extends B{static create(e,t,n){return new es(e,t,n)}constructor(e,t,n){super(),this.widget=e,this.length=t,this.side=n,this.prevWidget=null}split(e){let t=es.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(e){this.dom&&this.widget.updateDOM(this.dom,e)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,t,n,r,o,i){return(!n||n instanceof es&&!!this.widget.compare(n.widget)&&(!(e>0)||!(o<=0))&&(!(t0)?z.before(this.dom):z.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let n=this.widget.coordsAt(this.dom,e,t);if(n)return n;let r=this.dom.getClientRects(),o=null;if(!r.length)return null;let i=this.side?this.side<0:e>0;for(let t=i?r.length-1:0;o=r[t],e>0?0!=t:t!=r.length-1&&!(o.top0?z.before(this.dom):z.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return o.xv.empty}get isHidden(){return!0}}function eu(e,t){let n=e.dom,{children:r}=e,o=0;for(let e=0;o=i.getSide())){if(t>e&&t0;e--){let t=r[e-1];if(t.dom.parentNode==n)return t.domAtPos(t.length)}for(let e=o;e0&&t instanceof ea&&o.length&&(r=o[o.length-1])instanceof ea&&r.mark.eq(t.mark)?ed(r,t.children[0],n-1):(o.push(t),t.setParent(e)),e.length+=t.length}function ef(e,t,n){let r=null,o=-1,i=null,a=-1;function l(e,t){for(let s=0,c=0;s=t&&(u.children.length?l(u,t-c):(!i||i.isHidden&&(n>0||ep(i,u)))&&(d>t||c==d&&u.getSide()>0)?(i=u,a=t-c):(cu.getSide()&&!u.isHidden)&&(r=u,o=t-c)),c=d}}l(e,t);let s=(n<0?r:i)||r||i;return s?s.coordsAt(Math.max(0,s==r?o:a),n):eh(e)}function eh(e){let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let n=v(t);return n[n.length-1]||null}function ep(e,t){let n=e.coordsAt(0,1),r=t.coordsAt(0,1);return n&&r&&r.top-1?1:0)!=o.length-(n&&o.indexOf(n)>-1?1:0))return!1;for(let i of r)if(i!=n&&(-1==o.indexOf(i)||e[i]!==t[i]))return!1;return!0}function eb(e,t,n){let r=!1;if(t)for(let o in t)n&&o in n||(r=!0,"style"==o?e.style.cssText="":e.removeAttribute(o));if(n)for(let o in n)t&&t[o]==n[o]||(r=!0,"style"==o?e.style.cssText=n[o]:e.setAttribute(o,n[o]));return r}function ey(e){let t=Object.create(null);for(let n=0;n0?3e8:-4e8:t>0?1e8:-1e8,new e$(e,t,t,n,e.widget||null,!1)}static replace(e){let t=!!e.block,n,r;if(e.isBlockGap)n=-5e8,r=4e8;else{let{start:o,end:i}=eE(e,t);n=(o?t?-3e8:-1:5e8)-1,r=(i?t?2e8:1:-6e8)+1}return new e$(e,n,r,t,e.widget||null,!0)}static line(e){return new eC(e)}static set(e,t=!1){return o.Xs.of(e,t)}hasHeight(){return!!this.widget&&this.widget.estimatedHeight>-1}}eS.none=o.Xs.empty;class ek extends eS{constructor(e){let{start:t,end:n}=eE(e);super(t?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var t,n;return this==e||e instanceof ek&&this.tagName==e.tagName&&(this.class||(null==(t=this.attrs)?void 0:t.class))==(e.class||(null==(n=e.attrs)?void 0:n.class))&&ev(this.attrs,e.attrs,"class")}range(e,t=e){if(e>=t)throw RangeError("Mark decorations may not be empty");return super.range(e,t)}}ek.prototype.point=!1;class eC extends eS{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof eC&&this.spec.class==e.spec.class&&ev(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}eC.prototype.mapMode=o.gc.TrackBefore,eC.prototype.point=!0;class e$ extends eS{constructor(e,t,n,r,i,a){super(t,n,i,e),this.block=r,this.isReplace=a,this.mapMode=r?t<=0?o.gc.TrackBefore:o.gc.TrackAfter:o.gc.TrackDel}get type(){return this.startSide!=this.endSide?ex.WidgetRange:this.startSide<=0?ex.WidgetBefore:ex.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof e$&&eO(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}function eE(e,t=!1){let{inclusiveStart:n,inclusiveEnd:r}=e;return null==n&&(n=e.inclusive),null==r&&(r=e.inclusive),{start:null!=n?n:t,end:null!=r?r:t}}function eO(e,t){return e==t||!!(e&&t&&e.compare(t))}function eM(e,t,n,r=0){let o=n.length-1;o>=0&&n[o]+r>=e?n[o]=Math.max(n[o],t):n.push(e,t)}e$.prototype.point=!0;class eI extends B{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,n,r,o,i){if(n){if(!(n instanceof eI))return!1;this.dom||n.transferDOM(this)}return r&&this.setDeco(n?n.attrs:null),V(this,e,t,n?n.children.slice():[],o,i),!0}split(e){let t=new eI;if(t.breakAfter=this.breakAfter,0==this.length)return t;let{i:n,off:r}=this.childPos(e);r&&(t.append(this.children[n].split(r),0),this.children[n].merge(r,this.children[n].length,null,!1,0,0),n++);for(let e=n;e0&&0==this.children[n-1].length;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=e,t}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=void 0===this.prevAttrs?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){ev(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){ed(this,e,t)}addLineDeco(e){let t=e.spec.attributes,n=e.spec.class;t&&(this.attrs=em(t,this.attrs||{})),n&&(this.attrs=em({class:n},this.attrs||{}))}domAtPos(e){return eu(this,e)}reuseDOM(e){"DIV"==e.nodeName&&(this.setDOM(e),this.flags|=6)}sync(e,t){var n;this.dom?4&this.flags&&(P(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),void 0!==this.prevAttrs&&(eb(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t);let r=this.dom.lastChild;for(;r&&B.get(r)instanceof ea;)r=r.lastChild;if(!r||!this.length||"BR"!=r.nodeName&&(null==(n=B.get(r))?void 0:n.isEditable)==!1&&(!er.ios||!this.children.some(e=>e instanceof ei))){let e=document.createElement("BR");e.cmIgnore=!0,this.dom.appendChild(e)}}measureTextSize(){if(0==this.children.length||this.length>20)return null;let e=0,t;for(let n of this.children){if(!(n instanceof ei)||/[^ -~]/.test(n.text))return null;let r=v(n.dom);if(1!=r.length)return null;e+=r[0].width,t=r[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:t}:null}coordsAt(e,t){let n=ef(this,e,t);if(!this.children.length&&n&&this.parent){let{heightOracle:e}=this.parent.view.viewState,t=n.bottom-n.top;if(2>Math.abs(t-e.lineHeight)&&e.textHeight=t){if(o instanceof eI)return o;if(i>t)break}r=i+o.breakAfter}return null}}class eN extends B{constructor(e,t,n){super(),this.widget=e,this.length=t,this.deco=n,this.breakAfter=0,this.prevWidget=null}merge(e,t,n,r,o,i){return(!n||n instanceof eN&&!!this.widget.compare(n.widget)&&(!(e>0)||!(o<=0))&&(!(t0)}}class eZ extends ew{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}class eR{constructor(e,t,n,r){this.doc=e,this.pos=t,this.end=n,this.disallowBlockEffectsFor=r,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=t}posCovered(){if(0==this.content.length)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof eN&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new eI),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(eT(new ec(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,this.posCovered()||e&&this.content.length&&this.content[this.content.length-1]instanceof eN||this.getLine()}buildText(e,t,n){for(;e>0;){if(this.textOff==this.text.length){let{value:t,lineBreak:n,done:r}=this.cursor.next(this.skip);if(this.skip=0,r)throw Error("Ran out of text content when drawing inline views");if(n){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}this.text=t,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-n)),this.getLine().append(eT(new ei(this.text.slice(this.textOff,this.textOff+r)),t),n),this.atCursorPos=!0,this.textOff+=r,e-=r,n=0}}span(e,t,n,r){this.buildText(t-e,n,r),this.pos=t,this.openStart<0&&(this.openStart=r)}point(e,t,n,r,o,i){if(this.disallowBlockEffectsFor[i]&&n instanceof e$){if(n.block)throw RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw RangeError("Decorations that replace line breaks may not be specified via plugins")}let a=t-e;if(n instanceof e$)if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new eN(n.widget||eP.block,a,n));else{let i=es.create(n.widget||eP.inline,a,a?0:n.startSide),l=this.atCursorPos&&!i.isEditable&&o<=r.length&&(e0),s=!i.isEditable&&(er.length||n.startSide<=0),c=this.getLine();2!=this.pendingBuffer||l||i.isEditable||(this.pendingBuffer=0),this.flushBuffer(r),l&&(c.append(eT(new ec(1),r),o),o=r.length+Math.max(0,o-r.length)),c.append(eT(i,r),o),this.atCursorPos=s,this.pendingBuffer=s?er.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=r.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);a&&(this.textOff+a<=this.text.length?this.textOff+=a:(this.skip+=a-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=o)}static build(e,t,n,r,i){let a=new eR(e,t,n,i);return a.openEnd=o.Xs.spans(r,t,n,a),a.openStart<0&&(a.openStart=a.openEnd),a.finish(a.openEnd),a}}function eT(e,t){for(let n of t)e=new ea(n,[e],e.length);return e}class eP extends ew{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}eP.inline=new eP("span"),eP.block=new eP("div");var ej=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(ej||(ej={}));let eA=ej.LTR,eD=ej.RTL;function e_(e){let t=[];for(let n=0;n=t){if(a.level==n)return i;(o<0||(0!=r?r<0?a.fromt:e[o].level>a.level))&&(o=i)}}if(o<0)throw RangeError("Index out of range");return o}}function eq(e,t){if(e.length!=t.length)return!1;for(let n=0;n=0;e-=3)if(eH[e+1]==-r){let n=eH[e+2],r=2&n?o:4&n?1&n?i:o:0;r&&(eK[t]=eK[eH[e]]=r),l=e;break}}else if(189==eH.length)break;else eH[l++]=t,eH[l++]=n,eH[l++]=s;else if(2==(a=eK[t])||1==a){let e=a==o;s=+!e;for(let t=l-3;t>=0;t-=3){let n=eH[t+2];if(2&n)break;if(e)eH[t+2]|=2;else{if(4&n)break;eH[t+2]|=4}}}}}function eG(e,t,n,r){for(let o=0,i=r;o<=n.length;o++){let a=o?n[o-1].to:e,l=os;)t==i&&(t=n[--r].from,i=r?n[r-1].to:e),eK[--t]=u;s=a}else i=a,s++}}}function eY(e,t,n,r,o,i,a){let l=r%2?2:1;if(r%2==o%2)for(let s=t,c=0;ss&&a.push(new eV(s,p.from,f)),eQ(e,p.direction==eA!=!(f%2)?r+1:r,o,p.inner,p.from,p.to,a),s=p.to),h=p.to}else if(h==n||(t?eK[h]!=l:eK[h]==l))break;else h++;d?eY(e,s,h,r+1,o,d,a):st;){let n=!0,u=!1;if(!c||s>i[c-1].to){let e=eK[s-1];e!=l&&(n=!1,u=16==e)}let d=n||1!=l?null:[],f=n?r:r+1,h=s;r:for(;;)if(c&&h==i[c-1].to){if(u)break;let p=i[--c];if(!n)for(let e=p.from,n=c;;){if(e==t)break r;if(n&&i[n-1].to==e)e=i[--n].from;else if(eK[e-1]==l)break r;else break}d?d.push(p):(p.toeK.length;)eK[eK.length]=256;let r=[],o=+(t!=eA);return eQ(e,o,o,n,0,e.length,r),r}function e0(e){return[new eV(0,e,0)]}let e1="";function e2(e,t,n,r,i){var a;let l=r.head-e.from,s=eV.find(t,l,null!=(a=r.bidiLevel)?a:-1,r.assoc),c=t[s],u=c.side(i,n);if(l==u){let e=s+=i?1:-1;if(e<0||e>=t.length)return null;l=(c=t[s=e]).side(!i,n),u=c.side(i,n)}let d=(0,o.cp)(e.text,l,c.forward(i,n));(dc.to)&&(d=u),e1=e.text.slice(Math.min(l,d),Math.max(l,d));let f=s==(i?t.length-1:0)?null:t[s+(i?1:-1)];return f&&d==u&&f.level+ +!ie.some(e=>e)}),to=o.r$.define({combine:e=>e.some(e=>e)}),ti=o.r$.define();class ta{constructor(e,t="nearest",n="nearest",r=5,o=5,i=!1){this.range=e,this.y=t,this.x=n,this.yMargin=r,this.xMargin=o,this.isSnapshot=i}map(e){return e.empty?this:new ta(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new ta(o.jT.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}let tl=o.Py.define({map:(e,t)=>e.map(t)}),ts=o.Py.define();function tc(e,t,n){let r=e.facet(e6);r.length?r[0](t):window.onerror&&window.onerror(String(t),n,void 0,void 0,t)||(n?console.error(n+":",t):console.error(t))}let tu=o.r$.define({combine:e=>!e.length||e[0]}),td=0,tf=o.r$.define({combine:e=>e.filter((t,n)=>{for(let r=0;r{let t=[];return i&&t.push(tv.of(t=>{let n=t.plugin(e);return n?i(n):eS.none})),o&&t.push(o(e)),t})}static fromClass(e,t){return th.define((t,n)=>new e(t,n),t)}}class tp{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}get plugin(){return this.spec&&this.spec.plugin}update(e){if(this.value){if(this.mustUpdate){let e=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(e)}catch(t){if(tc(e.state,t,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(e){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.plugin.create(e,this.spec.arg)}catch(t){tc(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(null==(t=this.value)?void 0:t.destroy)try{this.value.destroy()}catch(t){tc(e.state,t,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}let tm=o.r$.define(),tg=o.r$.define(),tv=o.r$.define(),tb=o.r$.define(),ty=o.r$.define(),tw=o.r$.define();function tx(e,t){let n=e.state.facet(tw);if(!n.length)return n;let r=n.map(t=>t instanceof Function?t(e):t),i=[];return o.Xs.spans(r,t.from,t.to,{point(){},span(e,n,r,o){let a=e-t.from,l=n-t.from,s=i;for(let e=r.length-1;e>=0;e--,o--){let n=r[e].spec.bidiIsolate,i;if(null==n&&(n=e4(t.text,a,l)),o>0&&s.length&&(i=s[s.length-1]).to==a&&i.direction==n)i.to=l,s=i.inner;else{let e={from:a,to:l,direction:n,inner:[]};s.push(e),s=e.inner}}}}),i}let tS=o.r$.define();function tk(e){let t=0,n=0,r=0,o=0;for(let i of e.state.facet(tS)){let a=i(e);a&&(null!=a.left&&(t=Math.max(t,a.left)),null!=a.right&&(n=Math.max(n,a.right)),null!=a.top&&(r=Math.max(r,a.top)),null!=a.bottom&&(o=Math.max(o,a.bottom)))}return{left:t,right:n,top:r,bottom:o}}let tC=o.r$.define();class t${constructor(e,t,n,r){this.fromA=e,this.toA=t,this.fromB=n,this.toB=r}join(e){return new t$(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,n=this;for(;t>0;t--){let r=e[t-1];if(!(r.fromA>n.toA)){if(r.toAc)break;o+=2}if(!l)return n;new t$(l.fromA,l.toA,l.fromB,l.toB).addToSet(n),i=l.toA,a=l.toB}}}class tE{constructor(e,t,n){for(let r of(this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=o.as.empty(this.startState.doc.length),n))this.changes=this.changes.compose(r.changes);let r=[];this.changes.iterChangedRanges((e,t,n,o)=>r.push(new t$(e,t,n,o))),this.changedRanges=r}static create(e,t,n){return new tE(e,t,n)}get viewportChanged(){return(4&this.flags)>0}get viewportMoved(){return(8&this.flags)>0}get heightChanged(){return(2&this.flags)>0}get geometryChanged(){return this.docChanged||(18&this.flags)>0}get focusChanged(){return(1&this.flags)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return 0==this.flags&&0==this.transactions.length}}class tO extends B{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=eS.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new eI],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new t$(0,0,0,e.state.doc.length)],0,null)}update(e){var t;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:e,toA:t})=>tthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let r=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&((null==(t=this.domChanged)?void 0:t.newSel)?r=this.domChanged.newSel.head:tj(e.changes,this.hasComposition)||e.selectionSet||(r=e.state.selection.main.head));let o=r>-1?tN(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:t,to:r}=this.hasComposition;n=new t$(t,r,e.changes.mapPos(t,-1),e.changes.mapPos(r,1)).addToSet(n.slice())}this.hasComposition=o?{from:o.range.fromB,to:o.range.toB}:null,(er.ie||er.chrome)&&!o&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let i=tT(this.decorations,this.updateDeco(),e.changes);return n=t$.extendWithRanges(n,i),(!!(7&this.flags)||0!=n.length)&&(this.updateInner(n,e.startState.doc.length,o),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,n);let{observer:r}=this.view;r.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let e=er.chrome||er.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,e),this.flags&=-8,e&&(e.written||r.selectionRange.focusNode!=e.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(e=>e.flags&=-9);let o=[];if(this.view.viewport.from||this.view.viewport.to=0?r[e]:null;if(!t)break;let{fromA:i,toA:a,fromB:l,toB:s}=t,c,u,d,f;if(n&&n.range.fromBl){let e=eR.build(this.view.state.doc,l,n.range.fromB,this.decorations,this.dynamicDecorationMap),t=eR.build(this.view.state.doc,n.range.toB,s,this.decorations,this.dynamicDecorationMap);u=e.breakAtStart,d=e.openStart,f=t.openEnd;let r=this.compositionView(n);t.breakAtStart?r.breakAfter=1:t.content.length&&r.merge(r.length,r.length,t.content[0],!1,t.openStart,0)&&(r.breakAfter=t.content[0].breakAfter,t.content.shift()),e.content.length&&r.merge(0,0,e.content[e.content.length-1],!0,0,e.openEnd)&&e.content.pop(),c=e.content.concat(r).concat(t.content)}else({content:c,breakAtStart:u,openStart:d,openEnd:f}=eR.build(this.view.state.doc,l,s,this.decorations,this.dynamicDecorationMap));let{i:h,off:p}=o.findPos(a,1),{i:m,off:g}=o.findPos(i,-1);W(this,m,g,h,p,c,u,d,f)}n&&this.fixCompositionDOM(n)}updateEditContextFormatting(e){for(let t of(this.editContextFormatting=this.editContextFormatting.map(e.changes),e.transactions))for(let e of t.effects)e.is(ts)&&(this.editContextFormatting=e.value)}compositionView(e){let t=new ei(e.text.nodeValue);for(let{deco:n}of(t.flags|=8,e.marks))t=new ea(n,[t],t.length);let n=new eI;return n.append(t,0),n}fixCompositionDOM(e){let t=(e,t)=>{t.flags|=8|!!t.children.some(e=>7&e.flags),this.markedForComposition.add(t);let n=B.get(e);n&&n!=t&&(n.dom=null),t.setDOM(e)},n=this.childPos(e.range.fromB,1),r=this.children[n.i];t(e.line,r);for(let o=e.marks.length-1;o>=-1;o--)n=r.childPos(n.off,1),r=r.children[n.i],t(o>=0?e.marks[o].node:e.text,r)}updateSelection(e=!1,t=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let n=this.view.root.activeElement,r=n==this.dom,o=!r&&!(this.view.state.facet(tu)||this.dom.tabIndex>-1)&&g(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(r||t||o))return;let i=this.forceSelection;this.forceSelection=!1;let a=this.view.state.selection.main,l=this.moveToLine(this.domAtPos(a.anchor)),s=a.empty?l:this.moveToLine(this.domAtPos(a.head));if(er.gecko&&a.empty&&!this.hasComposition&&tM(l)){let e=document.createTextNode("");this.view.observer.ignore(()=>l.node.insertBefore(e,l.node.childNodes[l.offset]||null)),l=s=new z(e,0),i=!0}let c=this.view.observer.selectionRange;!i&&c.focusNode&&(b(l.node,l.offset,c.anchorNode,c.anchorOffset)&&b(s.node,s.offset,c.focusNode,c.focusOffset)||this.suppressWidgetCursorChange(c,a))||(this.view.observer.ignore(()=>{er.android&&er.chrome&&this.dom.contains(c.focusNode)&&tP(c.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let e=p(this.view.root);if(e)if(a.empty){if(er.gecko){let e=tZ(l.node,l.offset);if(e&&3!=e){let t=(1==e?D:_)(l.node,l.offset);t&&(l=new z(t.node,t.offset))}}e.collapse(l.node,l.offset),null!=a.bidiLevel&&void 0!==e.caretBidiLevel&&(e.caretBidiLevel=a.bidiLevel)}else if(e.extend){e.collapse(l.node,l.offset);try{e.extend(s.node,s.offset)}catch(e){}}else{let t=document.createRange();a.anchor>a.head&&([l,s]=[s,l]),t.setEnd(s.node,s.offset),t.setStart(l.node,l.offset),e.removeAllRanges(),e.addRange(t)}o&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())}),this.view.observer.setSelectionRange(l,s)),this.impreciseAnchor=l.precise?null:new z(c.anchorNode,c.anchorOffset),this.impreciseHead=s.precise?null:new z(c.focusNode,c.focusOffset)}suppressWidgetCursorChange(e,t){return this.hasComposition&&t.empty&&b(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==t.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,n=p(e.root),{anchorNode:r,anchorOffset:o}=e.observer.selectionRange;if(!n||!t.empty||!t.assoc||!n.modify)return;let i=eI.find(this,t.head);if(!i)return;let a=i.posAtStart;if(t.head==a||t.head==a+i.length)return;let l=this.coordsAt(t.head,-1),s=this.coordsAt(t.head,1);if(!l||!s||l.bottom>s.top)return;let c=this.domAtPos(t.head+t.assoc);n.collapse(c.node,c.offset),n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let u=e.observer.selectionRange;e.docView.posFromDOM(u.anchorNode,u.anchorOffset)!=t.from&&n.collapse(r,o)}moveToLine(e){let t=this.dom,n;if(e.node!=t)return e;for(let r=e.offset;!n&&r=0;r--){let e=B.get(t.childNodes[r]);e instanceof eI&&(n=e.domAtPos(e.length))}return n?new z(n.node,n.offset,!0):e}nearest(e){for(let t=e;t;){let e=B.get(t);if(e&&e.rootView==this)return e;t=t.parentNode}return null}posFromDOM(e,t){let n=this.nearest(e);if(!n)throw RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,t)+n.posAtStart}domAtPos(e){let{i:t,off:n}=this.childCursor().findPos(e,-1);for(;t=0;i--){let a=this.children[i],l=o-a.breakAfter,s=l-a.length;if(le||a.covers(1))&&(!n||a instanceof eI&&!(n instanceof eI&&t>=0)))n=a,r=s;else if(n&&s==e&&l==e&&a instanceof eN&&2>Math.abs(t))if(a.deco.startSide<0)break;else i&&(n=null);o=s}return n?n.coordsAt(e-r,t):null}coordsForChar(e){let{i:t,off:n}=this.childPos(e,1),r=this.children[t];if(!(r instanceof eI))return null;for(;r.children.length;){let{i:e,off:t}=r.childPos(n,1);for(;;e++){if(e==r.children.length)return null;if((r=r.children[e]).length)break}n=t}if(!(r instanceof ei))return null;let i=(0,o.cp)(r.text,n);if(i==n)return null;let a=Z(r.dom,n,i).getClientRects();for(let e=0;eMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,l=this.view.textDirection==ej.LTR;for(let e=0,s=0;sr)break;if(e>=n){let n=c.dom.getBoundingClientRect();if(t.push(n.height),i){let t=c.dom.lastChild,r=t?v(t):[];if(r.length){let t=r[r.length-1],i=l?t.right-n.left:n.right-t.left;i>a&&(a=i,this.minWidth=o,this.minWidthFrom=e,this.minWidthTo=u)}}}e=u+c.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return"rtl"==getComputedStyle(this.children[t].dom).direction?ej.RTL:ej.LTR}measureTextSize(){for(let e of this.children)if(e instanceof eI){let t=e.measureTextSize();if(t)return t}let e=document.createElement("div"),t,n,r;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let o=v(e.firstChild)[0];t=e.getBoundingClientRect().height,n=o?o.width/27:7,r=o?o.height:t,e.remove()}),{lineHeight:t,charWidth:n,textHeight:r}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new F(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,r=0;;r++){let o=r==t.viewports.length?null:t.viewports[r],i=o?o.from-1:this.length;if(i>n){let r=(t.lineBlockAt(i).bottom-t.lineBlockAt(n).top)/this.view.scaleY;e.push(eS.replace({widget:new eZ(r),block:!0,inclusive:!0,isBlockGap:!0}).range(n,i))}if(!o)break;n=o.to+1}return eS.set(e)}updateDeco(){let e=1,t=this.view.state.facet(tv).map(t=>(this.dynamicDecorationMap[e++]="function"==typeof t)?t(this.view):t),n=!1,r=this.view.state.facet(tb).map((e,t)=>{let r="function"==typeof e;return r&&(n=!0),r?e(this.view):e});for(r.length&&(this.dynamicDecorationMap[e++]=n,t.push(o.Xs.join(r))),this.decorations=[this.editContextFormatting,...t,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];et.anchor?-1:1),r;if(!n)return;!t.empty&&(r=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(n={left:Math.min(n.left,r.left),top:Math.min(n.top,r.top),right:Math.max(n.right,r.right),bottom:Math.max(n.bottom,r.bottom)});let o=tk(this.view),i={left:n.left-o.left,top:n.top-o.top,right:n.right+o.right,bottom:n.bottom+o.bottom},{offsetWidth:a,offsetHeight:l}=this.view.scrollDOM;E(this.view.scrollDOM,i,t.head{et.from&&(n=!0)}),n}function tA(e,t,n=1){let r=e.charCategorizer(t),i=e.doc.lineAt(t),a=t-i.from;if(0==i.length)return o.jT.cursor(t);0==a?n=1:a==i.length&&(n=-1);let l=a,s=a;n<0?l=(0,o.cp)(i.text,a,!1):s=(0,o.cp)(i.text,a);let c=r(i.text.slice(l,s));for(;l>0;){let e=(0,o.cp)(i.text,l,!1);if(r(i.text.slice(e,l))!=c)break;l=e}for(;se?t.left-e:Math.max(0,e-t.right)}function t_(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function tz(e,t){return e.topt.top+1}function tL(e,t){return te.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function tH(e,t,n){let r,o,i,a,l,s,c,u,d=!1;for(let f=e.firstChild;f;f=f.nextSibling){let e=v(f);for(let h=0;hg||u==g&&c>m){l=f,s=p,c=m,u=g;let r=g?n0?h0)}0==m?n>p.bottom&&(!i||i.bottomp.top)&&(o=f,a=p):i&&tz(i,p)?i=tB(i,p.bottom):a&&tz(a,p)&&(a=tL(a,p.top))}}if(i&&i.bottom>=n?(l=r,s=i):a&&a.top<=n&&(l=o,s=a),!l)return{node:e,offset:0};let f=Math.max(s.left,Math.min(s.right,t));if(3==l.nodeType)return tF(l,f,n);if(d&&"false"!=l.contentEditable)return tH(l,f,n);let h=Array.prototype.indexOf.call(e.childNodes,l)+ +(t>=(s.left+s.right)/2);return{node:e,offset:h}}function tF(e,t,n){let r=e.nodeValue.length,o=-1,i=1e9,a=0;for(let l=0;ln?c.top-n:n-c.bottom)-1;if(c.left-1<=t&&c.right+1>=t&&u=(c.left+c.right)/2,r=n;if((er.chrome||er.gecko)&&Z(e,l).getBoundingClientRect().left==c.right&&(r=!n),u<=0)return{node:e,offset:l+ +!!r};o=l+ +!!r,i=u}}}return{node:e,offset:o>-1?o:a>0?e.nodeValue.length:0}}function tW(e,t,n,r=-1){var o,i;let a=e.contentDOM.getBoundingClientRect(),l=a.top+e.viewState.paddingTop,s,{docHeight:c}=e.viewState,{x:u,y:d}=t,f=d-l;if(f<0)return 0;if(f>c)return e.state.doc.length;for(let t=e.viewState.heightOracle.textHeight/2,o=!1;(s=e.elementAtHeight(f)).type!=ex.Text;)for(;!((f=r>0?s.bottom+t:s.top-t)>=0)||!(f<=c);){if(o)return n?null:0;o=!0,r=-r}d=l+f;let h=s.from;if(he.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:n?null:tV(e,a,s,u,d);let p=e.dom.ownerDocument,m=e.root.elementFromPoint?e.root:p,g=m.elementFromPoint(u,d);g&&!e.contentDOM.contains(g)&&(g=null),!g&&(u=Math.max(a.left+1,Math.min(a.right-1,u)),(g=m.elementFromPoint(u,d))&&!e.contentDOM.contains(g)&&(g=null));let v,b=-1;if(g&&(null==(o=e.docView.nearest(g))?void 0:o.isEditable)!=!1){if(p.caretPositionFromPoint){let e=p.caretPositionFromPoint(u,d);e&&({offsetNode:v,offset:b}=e)}else if(p.caretRangeFromPoint){let t=p.caretRangeFromPoint(u,d);t&&({startContainer:v,startOffset:b}=t,(!e.contentDOM.contains(v)||er.safari&&tq(v,b,u)||er.chrome&&tK(v,b,u))&&(v=void 0))}v&&(b=Math.min(S(v),b))}if(!v||!e.docView.dom.contains(v)){let t=eI.find(e.docView,h);if(!t)return f>s.top+s.height/2?s.to:s.from;({node:v,offset:b}=tH(t.dom,u,d))}let y=e.docView.nearest(v);if(!y)return null;if(!y.isWidget||(null==(i=y.dom)?void 0:i.nodeType)!=1)return y.localPosFromDOM(v,b)+y.posAtStart;{let e=y.dom.getBoundingClientRect();return t.y1.5*e.defaultLineHeight){let t=e.viewState.heightOracle.textHeight;a+=Math.floor((i-n.top-(e.defaultLineHeight-t)*.5)/t)*e.viewState.heightOracle.lineLength}let l=e.state.sliceDoc(n.from,n.to);return n.from+(0,o.Gz)(l,a,e.state.tabSize)}function tq(e,t,n){let r;if(3!=e.nodeType||t!=(r=e.nodeValue.length))return!1;for(let t=e.nextSibling;t;t=t.nextSibling)if(1!=t.nodeType||"BR"!=t.nodeName)return!1;return Z(e,r-1,r).getBoundingClientRect().left>n}function tK(e,t,n){if(0!=t)return!1;for(let t=e;;){let e=t.parentNode;if(!e||1!=e.nodeType||e.firstChild!=t)return!1;if(e.classList.contains("cm-line"))break;t=e}return n-(1==e.nodeType?e.getBoundingClientRect():Z(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect()).left>5}function tX(e,t,n){let r=e.lineBlockAt(t);if(Array.isArray(r.type)){let e;for(let o of r.type){if(o.from>t)break;if(!(o.tot)return o;(!e||o.type==ex.Text&&(e.type!=o.type||(n<0?o.fromt)))&&(e=o)}}return e||r}return r}function tU(e,t,n,r){let i=tX(e,t.head,t.assoc||-1),a=r&&i.type==ex.Text&&(e.lineWrapping||i.widgetLineBreaks)?e.coordsAtPos(t.assoc<0&&t.head>i.from?t.head-1:t.head):null;if(a){let t=e.dom.getBoundingClientRect(),r=e.textDirectionAt(i.from),l=e.posAtCoords({x:n==(r==ej.LTR)?t.right-1:t.left+1,y:(a.top+a.bottom)/2});if(null!=l)return o.jT.cursor(l,n?-1:1)}return o.jT.cursor(n?i.to:i.from,n?-1:1)}function tG(e,t,n,r){let o=e.state.doc.lineAt(t.head),i=e.bidiSpans(o),a=e.textDirectionAt(o.from);for(let l=t,s=null;;){let t=e2(o,i,a,l,n),c=e1;if(!t){if(o.number==(n?e.state.doc.lines:1))return l;c="\n",o=e.state.doc.line(o.number+(n?1:-1)),i=e.bidiSpans(o),t=e.visualLineSide(o,!n)}if(s){if(!s(c))return l}else{if(!r)return t;s=r(c)}l=t}}function tY(e,t,n){let r=e.state.charCategorizer(t),i=r(n);return e=>{let t=r(e);return i==o.D0.Space&&(i=t),i==t}}function tQ(e,t,n,r){let i=t.head,a=n?1:-1;if(i==(n?e.state.doc.length:0))return o.jT.cursor(i,t.assoc);let l=t.goalColumn,s,c=e.contentDOM.getBoundingClientRect(),u=e.coordsAtPos(i,t.assoc||-1),d=e.documentTop;if(u)null==l&&(l=u.left-c.left),s=a<0?u.top:u.bottom;else{let t=e.viewState.lineBlockAt(i);null==l&&(l=Math.min(c.right-c.left,e.defaultCharacterWidth*(i-t.from))),s=(a<0?t.top:t.bottom)+d}let f=c.left+l,h=null!=r?r:e.viewState.heightOracle.textHeight>>1;for(let t=0;;t+=10){let n=s+(h+t)*a,r=tW(e,{x:f,y:n},!1,a);if(nc.bottom||(a<0?ri)){let t=e.docView.coordsForChar(r),i=!t||n{if(t>e&&tt(e)),n.from,t.head>n.from?-1:1);return r==n.from?n:o.jT.cursor(r,re)&&this.lineBreak(),r=o}return this.findPointBefore(n,t),this}readTextNode(e){let t=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,t.length));for(let n=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let o=-1,i=1,a;if(this.lineSeparator?(o=t.indexOf(this.lineSeparator,n),i=this.lineSeparator.length):(a=r.exec(t))&&(o=a.index,i=a[0].length),this.append(t.slice(n,o<0?t.length:o)),o<0)break;if(this.lineBreak(),i>1)for(let t of this.points)t.node==e&&t.pos>this.text.length&&(t.pos-=i-1);n=o+i}}readNode(e){if(e.cmIgnore)return;let t=B.get(e),n=t&&t.overrideDOMText;if(null!=n){this.findPointInside(e,n.length);for(let e=n.iter();!e.next().done;)e.lineBreak?this.lineBreak():this.append(e.value)}else 3==e.nodeType?this.readTextNode(e):"BR"==e.nodeName?e.nextSibling&&this.lineBreak():1==e.nodeType&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(3==e.nodeType?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(t4(e,n.node,n.offset)?t:0))}}function t4(e,t,n){for(;;){if(!t||n-1;let{impreciseHead:i,impreciseAnchor:a}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,n,0))){let t=i||a?[]:ne(e),n=new t2(t,e.state);n.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=n.text,this.newSel=nt(t,this.bounds.from)}else{let t=e.observer.selectionRange,n=i&&i.node==t.focusNode&&i.offset==t.focusOffset||!m(e.contentDOM,t.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(t.focusNode,t.focusOffset),r=a&&a.node==t.anchorNode&&a.offset==t.anchorOffset||!m(e.contentDOM,t.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(t.anchorNode,t.anchorOffset),l=e.viewport;if((er.ios||er.chrome)&&e.state.selection.main.empty&&n!=r&&(l.from>0||l.toDate.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:r,to:l}=t.bounds,s=i.from,c=null;(8===a||er.android&&t.text.length=i.from&&n.to<=i.to&&(n.from!=i.from||n.to!=i.to)&&i.to-i.from-(n.to-n.from)<=4?n={from:i.from,to:i.to,insert:e.state.doc.slice(i.from,n.from).append(n.insert).append(e.state.doc.slice(n.to,i.to))}:er.chrome&&n&&n.from==n.to&&n.from==i.head&&"\n "==n.insert.toString()&&e.lineWrapping&&(r&&(r=o.jT.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:o.xv.of([" "])}),n)return t6(e,n,r,a);if(!r||r.main.eq(i))return!1;{let t=!1,n="select";return e.inputState.lastSelectionTime>Date.now()-50&&("select"==e.inputState.lastSelectionOrigin&&(t=!0),n=e.inputState.lastSelectionOrigin),e.dispatch({selection:r,scrollIntoView:t,userEvent:n}),!0}}function t6(e,t,n,r=-1){let o;if(er.ios&&e.inputState.flushIOSKey(t))return!0;let i=e.state.selection.main;if(er.android&&(t.to==i.to&&(t.from==i.from||t.from==i.from-1&&" "==e.state.sliceDoc(t.from,i.from))&&1==t.insert.length&&2==t.insert.lines&&R(e.contentDOM,"Enter",13)||(t.from==i.from-1&&t.to==i.to&&0==t.insert.length||8==r&&t.insert.lengthi.head)&&R(e.contentDOM,"Backspace",8)||t.from==i.from&&t.to==i.to+1&&0==t.insert.length&&R(e.contentDOM,"Delete",46)))return!0;let a=t.insert.toString();e.inputState.composing>=0&&e.inputState.composing++;let l=()=>o||(o=t7(e,t,n));return e.state.facet(e9).some(n=>n(e,t.from,t.to,a,l))||e.dispatch(l()),!0}function t7(e,t,n){let r,i=e.state,a=i.selection.main;if(t.from>=a.from&&t.to<=a.to&&t.to-t.from>=(a.to-a.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&e.inputState.composing<0){let n=a.fromt.to?i.sliceDoc(t.to,a.to):"";r=i.replaceSelection(e.state.toText(n+t.insert.sliceString(0,void 0,e.state.lineBreak)+o))}else{let l=i.changes(t),s=n&&n.main.to<=l.newLength?n.main:void 0;if(i.selection.ranges.length>1&&e.inputState.composing>=0&&t.to<=a.to&&t.to>=a.to-10){let c=e.state.sliceDoc(t.from,t.to),u,d=n&&tI(e,n.main.head);if(d){let e=t.insert.length-(t.to-t.from);u={from:d.from,to:d.to-e}}else u=e.state.doc.lineAt(a.head);let f=a.to-t.to,h=a.to-a.from;r=i.changeByRange(n=>{if(n.from==a.from&&n.to==a.to)return{changes:l,range:s||n.map(l)};let r=n.to-f,d=r-c.length;if(n.to-n.from!=h||e.state.sliceDoc(d,r)!=c||n.to>=u.from&&n.from<=u.to)return{range:n};let p=i.changes({from:d,to:r,insert:t.insert}),m=n.to-a.to;return{changes:p,range:s?o.jT.range(Math.max(0,s.anchor+m),Math.max(0,s.head+m)):n.map(p)}})}else r={changes:l,selection:s&&i.selection.replaceRange(s)}}let l="input.type";return(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,l+=".compose",e.inputState.compositionFirstChange&&(l+=".start",e.inputState.compositionFirstChange=!1)),i.update(r,{userEvent:l,scrollIntoView:!0})}function t9(e,t,n,r){let o=Math.min(e.length,t.length),i=0;for(;i0&&l>0&&e.charCodeAt(a-1)==t.charCodeAt(l-1);)a--,l--;if("end"==r){let e=Math.max(0,i-Math.min(a,l));n-=a+e-i}if(a=a?i-n:0;i-=e,l=i+(l-a),a=i}else if(l=l?i-n:0;i-=e,a=i+(a-l),l=i}return{from:i,toA:a,toB:l}}function ne(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;let{anchorNode:n,anchorOffset:r,focusNode:o,focusOffset:i}=e.observer.selectionRange;return n&&(t.push(new t3(n,r)),(o!=n||i!=r)&&t.push(new t3(o,i))),t}function nt(e,t){if(0==e.length)return null;let n=e[0].pos,r=2==e.length?e[1].pos:n;return n>-1&&r>-1?o.jT.single(n+t,r+t):null}class nn{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,er.safari&&e.contentDOM.addEventListener("input",()=>null),er.gecko&&nB(e.contentDOM.ownerDocument)}handleEvent(e){!(!nm(this.view,e)||this.ignoreDuringComposition(e))&&("keydown"==e.type&&this.keydown(e)||(0!=this.view.updateState?Promise.resolve().then(()=>this.runHandlers(e.type,e)):this.runHandlers(e.type,e)))}runHandlers(e,t){let n=this.handlers[e];if(n){for(let e of n.observers)e(this.view,t);for(let e of n.handlers){if(t.defaultPrevented)break;if(e(this.view,t)){t.preventDefault();break}}}}ensureHandlers(e){let t=no(e),n=this.handlers,r=this.view.contentDOM;for(let e in t)if("scroll"!=e){let o=!t[e].handlers.length,i=n[e];i&&!i.handlers.length!=o&&(r.removeEventListener(e,this.handleEvent),i=null),i||r.addEventListener(e,this.handleEvent,{passive:o})}for(let e in n)"scroll"==e||t[e]||r.removeEventListener(e,this.handleEvent);this.handlers=t}keydown(e){let t;return this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),!!(9==e.keyCode&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))||((this.tabFocusMode>0&&27!=e.keyCode&&0>nl.indexOf(e.keyCode)&&(this.tabFocusMode=-1),er.android&&er.chrome&&!e.synthetic&&(13==e.keyCode||8==e.keyCode))?(this.view.observer.delayAndroidKey(e.key,e.keyCode),!0):er.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((t=ni.find(t=>t.keyCode==e.keyCode))&&!e.ctrlKey||na.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=t||e,setTimeout(()=>this.flushIOSKey(),250),!0):(229!=e.keyCode&&this.view.observer.forceFlush(),!1))}flushIOSKey(e){let t=this.pendingIOSKey;return!(!t||"Enter"==t.key&&e&&e.from0||!!(er.safari&&!er.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100)&&(this.compositionPendingKey=!1,!0))}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function nr(e,t){return(n,r)=>{try{return t.call(e,r,n)}catch(e){tc(n.state,e)}}}function no(e){let t=Object.create(null);function n(e){return t[e]||(t[e]={observers:[],handlers:[]})}for(let t of e){let e=t.spec,r=e&&e.plugin.domEventHandlers,o=e&&e.plugin.domEventObservers;if(r)for(let e in r){let o=r[e];o&&n(e).handlers.push(nr(t.value,o))}if(o)for(let e in o){let r=o[e];r&&n(e).observers.push(nr(t.value,r))}}for(let e in ng)n(e).handlers.push(ng[e]);for(let e in nv)n(e).observers.push(nv[e]);return t}let ni=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],na="dthko",nl=[16,17,18,20,91,92,224,225],ns=6;function nc(e){return .7*Math.max(0,e)+8}function nu(e,t){return Math.max(Math.abs(e.clientX-t.clientX),Math.abs(e.clientY-t.clientY))}class nd{constructor(e,t,n,r){this.view=e,this.startEvent=t,this.style=n,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParents=O(e.contentDOM),this.atoms=e.state.facet(ty).map(t=>t(e));let i=e.contentDOM.ownerDocument;i.addEventListener("mousemove",this.move=this.move.bind(this)),i.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(o.yy.allowMultipleSelections)&&nf(e,t),this.dragging=!!np(e,t)&&1==nN(t)&&null}start(e){!1===this.dragging&&this.select(e)}move(e){if(0==e.buttons)return this.destroy();if(this.dragging||null==this.dragging&&10>nu(this.startEvent,e))return;this.select(this.lastEvent=e);let t=0,n=0,r=0,o=0,i=this.view.win.innerWidth,a=this.view.win.innerHeight;this.scrollParents.x&&({left:r,right:i}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:o,bottom:a}=this.scrollParents.y.getBoundingClientRect());let l=tk(this.view);e.clientX-l.left<=r+ns?t=-nc(r-e.clientX):e.clientX+l.right>=i-ns&&(t=nc(e.clientX-i)),e.clientY-l.top<=o+ns?n=-nc(o-e.clientY):e.clientY+l.bottom>=a-ns&&(n=nc(e.clientY-a)),this.setScrollSpeed(t,n)}up(e){null==this.dragging&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:t}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),t&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=t,t=0),(e||t)&&this.view.win.scrollBy(e,t),!1===this.dragging&&this.select(this.lastEvent)}skipAtoms(e){let t=null;for(let n=0;ne.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function nf(e,t){let n=e.state.facet(e3);return n.length?n[0](t):er.mac?t.metaKey:t.ctrlKey}function nh(e,t){let n=e.state.facet(e5);return n.length?n[0](t):er.mac?!t.altKey:!t.ctrlKey}function np(e,t){let{main:n}=e.state.selection;if(n.empty)return!1;let r=p(e.root);if(!r||0==r.rangeCount)return!0;let o=r.getRangeAt(0).getClientRects();for(let e=0;e=t.clientX&&n.top<=t.clientY&&n.bottom>=t.clientY)return!0}return!1}function nm(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target,r;n!=e.contentDOM;n=n.parentNode)if(!n||11==n.nodeType||(r=B.get(n))&&r.ignoreEvent(t))return!1;return!0}let ng=Object.create(null),nv=Object.create(null),nb=er.ie&&er.ie_version<15||er.ios&&er.webkit_version<604;function ny(e){let t=e.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout(()=>{e.focus(),n.remove(),nx(e,n.value)},50)}function nw(e,t,n){for(let r of e.facet(t))n=r(n,e);return n}function nx(e,t){t=nw(e.state,tt,t);let{state:n}=e,r,i=1,a=n.toText(t),l=a.lines==n.selection.ranges.length;if(null!=nA&&n.selection.ranges.every(e=>e.empty)&&nA==a.toString()){let e=-1;r=n.changeByRange(r=>{let s=n.doc.lineAt(r.from);if(s.from==e)return{range:r};e=s.from;let c=n.toText((l?a.line(i++).text:t)+n.lineBreak);return{changes:{from:s.from,insert:c},range:o.jT.cursor(r.from+c.length)}})}else r=l?n.changeByRange(e=>{let t=a.line(i++);return{changes:{from:e.from,to:e.to,insert:t.text},range:o.jT.cursor(e.from+t.length)}}):n.replaceSelection(a);e.dispatch(r,{userEvent:"input.paste",scrollIntoView:!0})}function nS(e,t,n,r){if(1==r)return o.jT.cursor(t,n);{if(2==r)return tA(e.state,t,n);let i=eI.find(e.docView,t),a=e.state.doc.lineAt(i?i.posAtEnd:t),l=i?i.posAtStart:a.from,s=i?i.posAtEnd:a.to;return s{e.inputState.lastScrollTop=e.scrollDOM.scrollTop,e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft},ng.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),27==t.keyCode&&0!=e.inputState.tabFocusMode&&(e.inputState.tabFocusMode=Date.now()+2e3),!1),nv.touchstart=(e,t)=>{e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")},nv.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")},ng.mousedown=(e,t)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let r of e.state.facet(e8))if(n=r(e,t))break;if(n||0!=t.button||(n=nZ(e,t)),n){let r=!e.hasFocus;e.inputState.startMouseSelection(new nd(e,t,n,r)),r&&e.observer.ignore(()=>{N(e.contentDOM);let t=e.root.activeElement;t&&!t.contains(e.contentDOM)&&t.blur()});let o=e.inputState.mouseSelection;if(o)return o.start(t),!1===o.dragging}return!1};let nk=(e,t,n)=>t>=n.top&&t<=n.bottom&&e>=n.left&&e<=n.right;function nC(e,t,n,r){let o=eI.find(e.docView,t);if(!o)return 1;let i=t-o.posAtStart;if(0==i)return 1;if(i==o.length)return -1;let a=o.coordsAt(i,-1);if(a&&nk(n,r,a))return -1;let l=o.coordsAt(i,1);return l&&nk(n,r,l)?1:a&&a.bottom>=r?-1:1}function n$(e,t){let n=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:n,bias:nC(e,n,t.clientX,t.clientY)}}let nE=er.ie&&er.ie_version<=11,nO=null,nM=0,nI=0;function nN(e){if(!nE)return e.detail;let t=nO,n=nI;return nO=e,nI=Date.now(),nM=!t||n>Date.now()-400&&2>Math.abs(t.clientX-e.clientX)&&2>Math.abs(t.clientY-e.clientY)?(nM+1)%3:1}function nZ(e,t){let n=n$(e,t),r=nN(t),i=e.state.selection;return{update(e){e.docChanged&&(n.pos=e.changes.mapPos(n.pos),i=i.map(e.changes))},get(t,a,l){let s=n$(e,t),c,u=nS(e,s.pos,s.bias,r);if(n.pos!=s.pos&&!a){let t=nS(e,n.pos,n.bias,r),i=Math.min(t.from,u.from),a=Math.max(t.to,u.to);u=i1&&(c=nR(i,s.pos))?c:l?i.addRange(u):o.jT.create([u])}}}function nR(e,t){for(let n=0;n=t)return o.jT.create(e.ranges.slice(0,n).concat(e.ranges.slice(n+1)),e.mainIndex==n?0:e.mainIndex-(e.mainIndex>n))}return null}function nT(e,t,n,r){if(!(n=nw(e.state,tt,n)))return;let o=e.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:i}=e.inputState,a=r&&i&&nh(e,t)?{from:i.from,to:i.to}:null,l={from:o,insert:n},s=e.state.changes(a?[a,l]:l);e.focus(),e.dispatch({changes:s,selection:{anchor:s.mapPos(o,-1),head:s.mapPos(o,1)},userEvent:a?"move.drop":"input.drop"}),e.inputState.draggedContent=null}function nP(e,t){let n=e.dom.parentNode;if(!n)return;let r=n.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=t,r.focus(),r.selectionEnd=t.length,r.selectionStart=0,setTimeout(()=>{r.remove(),e.focus()},50)}function nj(e){let t=[],n=[],r=!1;for(let r of e.selection.ranges)r.empty||(t.push(e.sliceDoc(r.from,r.to)),n.push(r));if(!t.length){let o=-1;for(let{from:r}of e.selection.ranges){let i=e.doc.lineAt(r);i.number>o&&(t.push(i.text),n.push({from:i.from,to:Math.min(e.doc.length,i.to+1)})),o=i.number}r=!0}return{text:nw(e,tn,t.join(e.lineBreak)),ranges:n,linewise:r}}ng.dragstart=(e,t)=>{let{selection:{main:n}}=e.state;if(t.target.draggable){let r=e.docView.nearest(t.target);if(r&&r.isWidget){let e=r.posAtStart,t=e+r.length;(e>=n.to||t<=n.from)&&(n=o.jT.range(e,t))}}let{inputState:r}=e;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,t.dataTransfer&&(t.dataTransfer.setData("Text",nw(e.state,tn,e.state.sliceDoc(n.from,n.to))),t.dataTransfer.effectAllowed="copyMove"),!1},ng.dragend=e=>(e.inputState.draggedContent=null,!1),ng.drop=(e,t)=>{if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0;let n=t.dataTransfer.files;if(n&&n.length){let r=Array(n.length),o=0,i=()=>{++o==n.length&&nT(e,t,r.filter(e=>null!=e).join(e.state.lineBreak),!1)};for(let e=0;e{/[\x00-\x08\x0e-\x1f]{2}/.test(t.result)||(r[e]=t.result),i()},t.readAsText(n[e])}return!0}{let n=t.dataTransfer.getData("Text");if(n)return nT(e,t,n,!0),!0}return!1},ng.paste=(e,t)=>{if(e.state.readOnly)return!0;e.observer.flush();let n=nb?null:t.clipboardData;return n?(nx(e,n.getData("text/plain")||n.getData("text/uri-list")),!0):(ny(e),!1)};let nA=null;ng.copy=ng.cut=(e,t)=>{let{text:n,ranges:r,linewise:o}=nj(e.state);if(!n&&!o)return!1;nA=o?n:null,"cut"!=t.type||e.state.readOnly||e.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let i=nb?null:t.clipboardData;return i?(i.clearData(),i.setData("text/plain",n),!0):(nP(e,n),!1)};let nD=o.q6.define();function n_(e,t){let n=[];for(let r of e.facet(te)){let o=r(e,t);o&&n.push(o)}return n.length?e.update({effects:n,annotations:nD.of(!0)}):null}function nz(e){setTimeout(()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let n=n_(e.state,t);n?e.dispatch(n):e.update([])}},10)}nv.focus=e=>{e.inputState.lastFocusTime=Date.now(),!e.scrollDOM.scrollTop&&(e.inputState.lastScrollTop||e.inputState.lastScrollLeft)&&(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),nz(e)},nv.blur=e=>{e.observer.clearSelectionRange(),nz(e)},nv.compositionstart=nv.compositionupdate=e=>{!e.observer.editContext&&(null==e.inputState.compositionFirstChange&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0))},nv.compositionend=e=>{e.observer.editContext||(e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionPendingKey=!0,e.inputState.compositionPendingChange=e.observer.pendingRecords().length>0,e.inputState.compositionFirstChange=null,er.chrome&&er.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then(()=>e.observer.flush()):setTimeout(()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])},50))},nv.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()},ng.beforeinput=(e,t)=>{var n,r;let o;if("insertReplacementText"==t.inputType&&e.observer.editContext){let r=null==(n=t.dataTransfer)?void 0:n.getData("text/plain"),o=t.getTargetRanges();if(r&&o.length){let t=o[0],n=e.posAtDOM(t.startContainer,t.startOffset),i=e.posAtDOM(t.endContainer,t.endOffset);return t6(e,{from:n,to:i,insert:e.state.toText(r)},null),!0}}if(er.chrome&&er.android&&(o=ni.find(e=>e.inputType==t.inputType))&&(e.observer.delayAndroidKey(o.key,o.keyCode),"Backspace"==o.key||"Delete"==o.key)){let t=(null==(r=window.visualViewport)?void 0:r.height)||0;setTimeout(()=>{var n;((null==(n=window.visualViewport)?void 0:n.height)||0)>t+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())},100)}return er.ios&&"deleteContentForward"==t.inputType&&e.observer.flushSoon(),er.safari&&"insertText"==t.inputType&&e.inputState.composing>=0&&setTimeout(()=>nv.compositionend(e,t),20),!1};let nL=new Set;function nB(e){nL.has(e)||(nL.add(e),e.addEventListener("copy",()=>{}),e.addEventListener("cut",()=>{}))}let nH=["pre-wrap","normal","pre-line","break-spaces"],nF=!1;function nW(){nF=!1}class nV{constructor(e){this.lineWrapping=e,this.doc=o.xv.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return nH.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n-1,l=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=t,this.charWidth=n,this.textHeight=r,this.lineLength=o,l){this.heightSamples={};for(let e=0;e0}set outdated(e){this.flags=2*!!e|-3&this.flags}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>nU&&(nF=!0),this.height=e)}replace(e,t,n){return nG.of(n)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,r){let o=this,i=n.doc;for(let a=r.length-1;a>=0;a--){let{fromA:l,toA:s,fromB:c,toB:u}=r[a],d=o.lineAt(l,nX.ByPosNoHeight,n.setDoc(t),0,0),f=d.to>=s?d:o.lineAt(s,nX.ByPosNoHeight,n,0,0);for(u+=f.to-s,s=f.to;a>0&&d.from<=r[a-1].toA;)l=r[a-1].fromA,c=r[a-1].fromB,a--,l2*o){let o=e[t-1];o.break?e.splice(--t,1,o.left,null,o.right):e.splice(--t,1,o.left,o.right),n+=1+o.break,r-=o.size}else if(o>2*r){let t=e[n];t.break?e.splice(n,1,t.left,null,t.right):e.splice(n,1,t.left,t.right),n+=2+t.break,o-=t.size}else break;else if(r=o&&i(this.blockAt(0,n,r,o))}updateHeight(e,t=0,n=!1,r){return r&&r.from<=t&&r.more&&this.setHeight(r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class nJ extends nQ{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,n,r){return new nK(r,this.length,n,this.height,this.breaks)}replace(e,t,n){let r=n[0];return 1==n.length&&(r instanceof nJ||r instanceof n0&&4&r.flags)&&10>Math.abs(this.length-r.length)?(r instanceof n0?r=new nJ(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):nG.of(n)}updateHeight(e,t=0,n=!1,r){return r&&r.from<=t&&r.more?this.setHeight(r.heights[r.index++]):(n||this.outdated)&&this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class n0 extends nG{constructor(e){super(e,0)}heightMetrics(e,t){let n=e.doc.lineAt(t).number,r=e.doc.lineAt(t+this.length).number,o=r-n+1,i,a=0;if(e.lineWrapping){let t=Math.min(this.height,e.lineHeight*o);i=t/o,this.length>o+1&&(a=(this.height-t)/(this.length-o-1))}else i=this.height/o;return{firstLine:n,lastLine:r,perLine:i,perChar:a}}blockAt(e,t,n,r){let{firstLine:o,lastLine:i,perLine:a,perChar:l}=this.heightMetrics(t,r);if(t.lineWrapping){let o=r+(e0){let e=n[n.length-1];e instanceof n0?n[n.length-1]=new n0(e.length+r):n.push(null,new n0(r-1))}if(e>0){let t=n[0];t instanceof n0?n[0]=new n0(e+t.length):n.unshift(new n0(e-1),null)}return nG.of(n)}decomposeLeft(e,t){t.push(new n0(e-1),null)}decomposeRight(e,t){t.push(null,new n0(this.length-e-1))}updateHeight(e,t=0,n=!1,r){let o=t+this.length;if(r&&r.from<=t+this.length&&r.more){let n=[],i=Math.max(t,r.from),a=-1;for(r.from>t&&n.push(new n0(r.from-t-1).updateHeight(e,t));i<=o&&r.more;){let t=e.doc.lineAt(i).length;n.length&&n.push(null);let o=r.heights[r.index++];-1==a?a=o:Math.abs(o-a)>=nU&&(a=-2);let l=new nJ(t,o);l.outdated=!1,n.push(l),i+=t+1}i<=o&&n.push(null,new n0(o-i).updateHeight(e,i));let l=nG.of(n);return(a<0||Math.abs(l.height-this.height)>=nU||Math.abs(a-this.heightMetrics(e,t).perLine)>=nU)&&(nF=!0),nY(this,l)}return(n||this.outdated)&&(this.setHeight(e.heightForGap(t,t+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}}class n1 extends nG{constructor(e,t,n){super(e.length+t+n.length,e.height+n.height,t|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return 1&this.flags}blockAt(e,t,n,r){let o=n+this.left.height;return ea))return s;let c=t==nX.ByPosNoHeight?nX.ByPosNoHeight:nX.ByPos;return l?s.join(this.right.lineAt(a,c,n,i,a)):this.left.lineAt(a,c,n,r,o).join(s)}forEachLine(e,t,n,r,o,i){let a=r+this.left.height,l=o+this.left.length+this.break;if(this.break)e=l&&this.right.forEachLine(e,t,n,a,l,i);else{let s=this.lineAt(l,nX.ByPos,n,r,o);e=e&&s.from<=t&&i(s),t>s.to&&this.right.forEachLine(s.to+1,t,n,a,l,i)}}replace(e,t,n){let r=this.left.length+this.break;if(tthis.left.length)return this.balanced(this.left,this.right.replace(e-r,t-r,n));let o=[];e>0&&this.decomposeLeft(e,o);let i=o.length;for(let e of n)o.push(e);if(e>0&&n2(o,i-1),t=++n&&t.push(null),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,r=n+this.break;if(e>=r)return this.right.decomposeRight(e-r,t);e2*t.size||t.size>2*e.size?nG.of(this.break?[e,null,t]:[e,t]):(this.left=nY(this.left,e),this.right=nY(this.right,t),this.setHeight(e.height+t.height),this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,n=!1,r){let{left:o,right:i}=this,a=t+o.length+this.break,l=null;return(r&&r.from<=t+o.length&&r.more?l=o=o.updateHeight(e,t,n,r):o.updateHeight(e,t,n),r&&r.from<=a+i.length&&r.more?l=i=i.updateHeight(e,a,n,r):i.updateHeight(e,a,n),l)?this.balanced(o,i):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function n2(e,t){let n,r;null==e[t]&&(n=e[t-1])instanceof n0&&(r=e[t+1])instanceof n0&&e.splice(t-1,3,new n0(n.length+1+r.length))}let n4=5;class n3{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let e=Math.min(t,this.lineEnd),n=this.nodes[this.nodes.length-1];n instanceof nJ?n.length+=e-this.pos:(e>this.pos||!this.isCovered)&&this.nodes.push(new nJ(e-this.pos,-1)),this.writtenTo=e,t>e&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e=n4)&&this.addLineDeco(r,o,i)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenToe&&this.nodes.push(new nJ(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let n=new n0(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof nJ)return e;let t=new nJ(0,-1);return this.nodes.push(t),t}addBlock(e){this.enterLine();let t=e.deco;t&&t.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,t&&t.endSide>0&&(this.covering=e)}addLineDeco(e,t,n){let r=this.ensureLine();r.length+=n,r.collapsed+=n,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=t,this.writtenTo=this.pos=this.pos+n}finish(e){let t=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(this.lineStart>-1)||t instanceof nJ||this.isCovered?(this.writtenTon.clientHeight||n.scrollWidth>n.clientWidth)&&"visible"!=r.overflow){let r=n.getBoundingClientRect();i=Math.max(i,r.left),a=Math.min(a,r.right),l=Math.max(l,r.top),s=Math.min(t==e.parentNode?o.innerHeight:s,r.bottom)}t="absolute"==r.position||"fixed"==r.position?n.offsetParent:n.parentNode}else if(11==t.nodeType)t=t.host;else break;return{left:i-n.left,right:Math.max(i,a)-n.left,top:l-(n.top+t),bottom:Math.max(l,s)-(n.top+t)}}function n7(e){let t=e.getBoundingClientRect(),n=e.ownerDocument.defaultView||window;return t.left0&&t.top0}function n9(e,t){let n=e.getBoundingClientRect();return{left:0,right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}class re{constructor(e,t,n,r){this.from=e,this.to=t,this.size=n,this.displaySize=r}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;n"function"!=typeof e&&"cm-lineWrapping"==e.class);this.heightOracle=new nV(t),this.stateDeco=e.facet(tv).filter(e=>"function"!=typeof e),this.heightMap=nG.empty().applyChanges(this.stateDeco,o.xv.empty,this.heightOracle.setDoc(e.doc),[new t$(0,0,0,e.doc.length)]);for(let e=0;e<2&&(this.viewport=this.getViewport(0,null),this.updateForViewport());e++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=eS.set(this.lineGaps.map(e=>e.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let r=n?t.head:t.anchor;if(!e.some(({from:e,to:t})=>r>=e&&r<=t)){let{from:t,to:n}=this.lineBlockAt(r);e.push(new rr(t,n))}}return this.viewports=e.sort((e,t)=>e.from-t.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?rs:new rc(this.heightOracle,this.heightMap,this.viewports),2*!e.eq(this.scaler)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(ru(e,this.scaler))})}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(tv).filter(e=>"function"!=typeof e);let r=e.changedRanges,i=t$.extendWithRanges(r,n5(n,this.stateDeco,e?e.changes:o.as.empty(this.state.doc.length))),a=this.heightMap.height,l=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);nW(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),i),(this.heightMap.height!=a||nF)&&(e.flags|=2),l?(this.scrollAnchorPos=e.changes.mapPos(l.from,-1),this.scrollAnchorHeight=l.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=a);let s=i.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.heads.to)||!this.viewportIsAppropriate(s))&&(s=this.getViewport(0,t));let c=s.from!=this.viewport.from||s.to!=this.viewport.to;this.viewport=s,e.flags|=this.updateForViewport(),(c||!e.changes.empty||2&e.flags)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(e.changes),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(to)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,n=window.getComputedStyle(t),r=this.heightOracle,i=n.whiteSpace;this.defaultTextDirection="rtl"==n.direction?ej.RTL:ej.LTR;let a=this.heightOracle.mustRefreshForWrapping(i),l=t.getBoundingClientRect(),s=a||this.mustMeasureContent||this.contentDOMHeight!=l.height;this.contentDOMHeight=l.height,this.mustMeasureContent=!1;let c=0,u=0;if(l.width&&l.height){let{scaleX:e,scaleY:n}=$(t,l);(e>.005&&Math.abs(this.scaleX-e)>.005||n>.005&&Math.abs(this.scaleY-n)>.005)&&(this.scaleX=e,this.scaleY=n,c|=16,a=s=!0)}let d=(parseInt(n.paddingTop)||0)*this.scaleY,f=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=d||this.paddingBottom!=f)&&(this.paddingTop=d,this.paddingBottom=f,c|=18),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(s=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=16);let h=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=h&&(this.scrollAnchorHeight=-1,this.scrollTop=h),this.scrolledToBottom=A(e.scrollDOM);let p=(this.printing?n9:n6)(t,this.paddingTop),m=p.top-this.pixelViewport.top,g=p.bottom-this.pixelViewport.bottom;this.pixelViewport=p;let v=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(v!=this.inView&&(this.inView=v,v&&(s=!0)),!this.inView&&!this.scrollTarget&&!n7(e.dom))return 0;let b=l.width;if((this.contentDOMWidth!=b||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=l.width,this.editorHeight=e.scrollDOM.clientHeight,c|=16),s){let t=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(t)&&(a=!0),a||r.lineWrapping&&Math.abs(b-this.contentDOMWidth)>r.charWidth){let{lineHeight:n,charWidth:o,textHeight:l}=e.docView.measureTextSize();(a=n>0&&r.refresh(i,n,o,l,b/o,t))&&(e.docView.minWidth=0,c|=16)}for(let n of(m>0&&g>0?u=Math.max(m,g):m<0&&g<0&&(u=Math.min(m,g)),nW(),this.viewports)){let i=n.from==this.viewport.from?t:e.docView.measureVisibleLineHeights(n);this.heightMap=(a?nG.empty().applyChanges(this.stateDeco,o.xv.empty,this.heightOracle,[new t$(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,a,new nq(n.from,i))}nF&&(c|=2)}let y=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return y&&(2&c&&(c|=this.updateScaler()),this.viewport=this.getViewport(u,this.scrollTarget),c|=this.updateForViewport()),(2&c||y)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,o=this.heightOracle,{visibleTop:i,visibleBottom:a}=this,l=new rr(r.lineAt(i-1e3*n,nX.ByHeight,o,0,0).from,r.lineAt(a+(1-n)*1e3,nX.ByHeight,o,0,0).to);if(t){let{head:e}=t.range;if(el.to){let n=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),i=r.lineAt(e,nX.ByPos,o,0,0),a;a="center"==t.y?(i.top+i.bottom)/2-n/2:"start"==t.y||"nearest"==t.y&&e=a+Math.max(10,Math.min(n,250)))&&r>i-2e3&&o>1,a=r<<1;if(this.defaultTextDirection!=ej.LTR&&!n)return[];let l=[],s=(r,a,c,u)=>{if(a-rr&&ee.from>=c.from&&e.to<=c.to&&Math.abs(e.from-r)e.fromt));if(!h){if(ae.from<=a&&e.to>=a)){let e=t.moveToLineBoundary(o.jT.cursor(a),!1,!0).head;e>r&&(a=e)}let e=this.gapSize(c,r,a,u),i=n||e<2e6?e:2e6;h=new re(r,a,e,i)}l.push(h)},c=t=>{let o,i;if(t.length2e6)for(let n of e)n.from>=t.from&&n.fromt.from&&s(t.from,o,t,l),ie.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(e){let t=this.stateDeco;this.lineGaps.length&&(t=t.concat(this.lineGapDeco));let n=[];o.Xs.spans(t,this.viewport.from,this.viewport.to,{span(e,t){n.push({from:e,to:t})},point(){}},20);let r=0;if(n.length!=this.visibleRanges.length)r=12;else for(let t=0;t=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||ru(this.heightMap.lineAt(e,nX.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(t=>t.top<=e&&t.bottom>=e)||ru(this.heightMap.lineAt(this.scaler.fromDOM(e),nX.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return ru(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class rr{constructor(e,t){this.from=e,this.to=t}}function ro(e,t,n){let r=[],i=e,a=0;return o.Xs.spans(n,e,t,{span(){},point(e,t){e>i&&(r.push({from:i,to:e}),a+=e-i),i=t}},20),i=1)return t[t.length-1].to;let r=Math.floor(e*n);for(let e=0;;e++){let{from:n,to:o}=t[e],i=o-n;if(r<=i)return n+r;r-=i}}function ra(e,t){let n=0;for(let{from:r,to:o}of e.ranges){if(t<=o){n+=t-r;break}n+=o-r}return n/e.total}function rl(e,t){for(let n of e)if(t(n))return n}let rs={toDOM:e=>e,fromDOM:e=>e,scale:1,eq(e){return e==this}};class rc{constructor(e,t,n){let r=0,o=0,i=0;for(let a of(this.viewports=n.map(({from:n,to:o})=>{let i=t.lineAt(n,nX.ByPos,e,0,0).top,a=t.lineAt(o,nX.ByPos,e,0,0).bottom;return r+=a-i,{from:n,to:o,top:i,bottom:a,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(t.height-r),this.viewports))a.domTop=i+(a.top-o)*this.scale,i=a.domBottom=a.domTop+(a.bottom-a.top),o=a.bottom}toDOM(e){for(let t=0,n=0,r=0;;t++){let o=tt.from==e.viewports[n].from&&t.to==e.viewports[n].to)}}function ru(e,t){if(1==t.scale)return e;let n=t.toDOM(e.top),r=t.toDOM(e.bottom);return new nK(e.from,e.length,n,r-n,Array.isArray(e._content)?e._content.map(e=>ru(e,t)):e._content)}let rd=o.r$.define({combine:e=>e.join(" ")}),rf=o.r$.define({combine:e=>e.indexOf(!0)>-1}),rh=i.V.newName(),rp=i.V.newName(),rm=i.V.newName(),rg={"&light":"."+rp,"&dark":"."+rm};function rv(e,t,n){return new i.V(t,{finish:t=>/&/.test(t)?t.replace(/&\w*/,t=>{if("&"==t)return e;if(!n||!n[t])throw RangeError(`Unsupported selector: ${t}`);return n[t]}):e+" "+t})}let rb=rv("."+rh,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-dialog":{padding:"2px 19px 4px 6px",position:"relative","& label":{fontSize:"80%"}},".cm-dialog-close":{position:"absolute",top:"3px",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",fontSize:"14px",padding:"0"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top",userSelect:"none"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:'url(\'data:image/svg+xml,\')',backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},rg),ry={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},rw=er.ie&&er.ie_version<=11;class rx{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new M,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let e of t)this.queue.push(e);(er.ie&&er.ie_version<=11||er.ios&&e.composing)&&t.some(e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&!1!==e.constructor.EDIT_CONTEXT&&!(er.chrome&&er.chrome_version<126)&&(this.editContext=new r$(e),e.state.facet(tu)&&(e.contentDOM.editContext=this.editContext.editContext)),rw&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),"function"==typeof ResizeObserver&&(this.resizeScroll=new ResizeObserver(()=>{var e;(null==(e=this.view.docView)?void 0:e.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),e.length>0&&e[e.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(e=>{e.length>0&&e[e.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){("change"!=e.type&&e.type||e.matches)&&(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,n)=>t!=e[n]))){for(let t of(this.gapIntersection.disconnect(),e))this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,r=this.selectionRange;if(n.state.facet(tu)?n.root.activeElement!=this.dom:!g(this.dom,r))return;let o=r.anchorNode&&n.docView.nearest(r.anchorNode);if(o&&o.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(er.ie&&er.ie_version<=11||er.android&&er.chrome)&&!n.state.selection.main.empty&&r.focusNode&&b(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=p(e.root);if(!t)return!1;let n=er.safari&&11==e.root.nodeType&&e.root.activeElement==this.dom&&rC(this.view,t)||t;if(!n||this.selectionRange.eq(n))return!1;let r=g(this.dom,n);return r&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let e=this.delayedAndroidKey;e&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=e.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&e.force&&R(this.dom,e.key,e.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(e)}this.delayedAndroidKey&&"Enter"!=e||(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,n=-1,r=!1;for(let o of e){let e=this.readMutation(o);e&&(e.typeOver&&(r=!0),-1==t?{from:t,to:n}=e:(t=Math.min(e.from,t),n=Math.max(e.to,n)))}return{from:t,to:n,typeOver:r}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),r=this.selectionChanged&&g(this.dom,this.selectionRange);if(e<0&&!r)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let o=new t5(this.view,e,t,n);return this.view.docView.domChanged={newSel:o.newSel?o.newSel.main:null},o}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return this.view.requestMeasure(),!1;let n=this.view.state,r=t8(this.view,t);return this.view.state==n&&(t.domChanged||t.newSel&&!t.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),r}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty("attributes"==e.type),"attributes"==e.type&&(t.flags|=4),"childList"==e.type){let n=rS(t,e.previousSibling||e.target.previousSibling,-1),r=rS(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:r?t.posBefore(r):t.posAtEnd,typeOver:!1}}return"characterData"==e.type?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(tu)!=e.state.facet(tu)&&(e.view.contentDOM.editContext=e.state.facet(tu)?this.editContext.editContext:null))}destroy(){var e,t,n;for(let r of(this.stop(),null==(e=this.intersection)||e.disconnect(),null==(t=this.gapIntersection)||t.disconnect(),null==(n=this.resizeScroll)||n.disconnect(),this.scrollTargets))r.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function rS(e,t,n){for(;t;){let r=B.get(t);if(r&&r.parent==e)return r;let o=t.parentNode;t=o!=e.dom?o:n>0?t.nextSibling:t.previousSibling}return null}function rk(e,t){let n=t.startContainer,r=t.startOffset,o=t.endContainer,i=t.endOffset,a=e.docView.domAtPos(e.state.selection.main.anchor);return b(a.node,a.offset,o,i)&&([n,r,o,i]=[o,i,n,r]),{anchorNode:n,anchorOffset:r,focusNode:o,focusOffset:i}}function rC(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return rk(e,n)}let n=null;function r(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.contentDOM.addEventListener("beforeinput",r,!0),e.dom.ownerDocument.execCommand("indent"),e.contentDOM.removeEventListener("beforeinput",r,!0),n?rk(e,n):null}class r${constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(e.state);let t=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});for(let n in this.handlers.textupdate=t=>{let n=e.state.selection.main,{anchor:r,head:i}=n,a=this.toEditorPos(t.updateRangeStart),l=this.toEditorPos(t.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:t.updateRangeStart,editorBase:a,drifted:!1});let s={from:a,to:l,insert:o.xv.of(t.text.split("\n"))};if(s.from==this.from&&rthis.to&&(s.to=r),s.from==s.to&&!s.insert.length){let r=o.jT.single(this.toEditorPos(t.selectionStart),this.toEditorPos(t.selectionEnd));r.main.eq(n)||e.dispatch({selection:r,userEvent:"select"});return}if((er.mac||er.android)&&s.from==i-1&&/^\. ?$/.test(t.text)&&"off"==e.contentDOM.getAttribute("autocorrect")&&(s={from:a,to:l,insert:o.xv.of([t.text.replace("."," ")])}),this.pendingContextChange=s,!e.state.readOnly){let n=this.to-this.from+(s.to-s.from+s.insert.length);t6(e,s,o.jT.single(this.toEditorPos(t.selectionStart,n),this.toEditorPos(t.selectionEnd,n)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state))},this.handlers.characterboundsupdate=n=>{let r=[],o=null;for(let t=this.toEditorPos(n.rangeStart),i=this.toEditorPos(n.rangeEnd);t{let n=[];for(let e of t.getTextFormats()){let t=e.underlineStyle,r=e.underlineThickness;if("None"!=t&&"None"!=r){let o=this.toEditorPos(e.rangeStart),i=this.toEditorPos(e.rangeEnd);if(o{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(e.inputState.composing=-1,e.inputState.compositionFirstChange=null,this.composing){let{drifted:t}=this.composing;this.composing=null,t&&this.reset(e.state)}},this.handlers)t.addEventListener(n,this.handlers[n]);this.measureReq={read:e=>{this.editContext.updateControlBounds(e.contentDOM.getBoundingClientRect());let t=p(e.root);t&&t.rangeCount&&this.editContext.updateSelectionBounds(t.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let t=0,n=!1,r=this.pendingContextChange;return e.changes.iterChanges((o,i,a,l,s)=>{if(n)return;let c=s.length-(i-o);if(r&&i>=r.to)if(r.from==o&&r.to==i&&r.insert.eq(s)){r=this.pendingContextChange=null,t+=c,this.to+=c;return}else r=null,this.revertPending(e.state);if(o+=t,(i+=t)<=this.from)this.from+=c,this.to+=c;else if(othis.to||this.to-this.from+s.length>3e4){n=!0;return}this.editContext.updateText(this.toContextPos(o),this.toContextPos(i),s.toString()),this.to+=c}t+=c}),r&&!n&&this.revertPending(e.state),!n}update(e){let t=this.pendingContextChange,n=e.startState.selection.main;this.composing&&(this.composing.drifted||!e.changes.touchesRange(n.from,n.to)&&e.transactions.some(e=>!e.isUserEvent("input.type")&&e.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=e.changes.mapPos(this.composing.editorBase)):this.applyEdits(e)&&this.rangeIsValid(e.state)?(e.docChanged||e.selectionSet||t)&&this.setSelection(e.state):(this.pendingContextChange=null,this.reset(e.state)),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:t}=e.selection.main;this.from=Math.max(0,t-1e4),this.to=Math.min(e.doc.length,t+1e4)}reset(e){this.resetRange(e),this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),this.setSelection(e)}revertPending(e){let t=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(t.from),this.toContextPos(t.from+t.insert.length),e.doc.sliceString(t.from,t.to))}setSelection(e){let{main:t}=e.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,t.anchor))),r=this.toContextPos(t.head);(this.editContext.selectionStart!=n||this.editContext.selectionEnd!=r)&&this.editContext.updateSelection(n,r)}rangeIsValid(e){let{head:t}=e.selection.main;return!(this.from>0&&t-this.from<500||this.to3e4)}toEditorPos(e,t=this.to-this.from){e=Math.min(e,t);let n=this.composing;return n&&n.drifted?n.editorBase+(e-n.contextBase):e+this.from}toContextPos(e){let t=this.composing;return t&&t.drifted?t.contextBase+(e-t.editorBase):e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}}class rE{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return!!this.inputState&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var t;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:n}=e;for(let t of(this.dispatchTransactions=e.dispatchTransactions||n&&(e=>e.forEach(e=>n(e,this)))||(e=>this.update(e)),this.dispatch=this.dispatch.bind(this),this._root=e.root||T(e.parent)||document,this.viewState=new rn(e.state||o.yy.create(e)),e.scrollTo&&e.scrollTo.is(tl)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(tf).map(e=>new tp(e)),this.plugins))t.update(this);this.observer=new rx(this),this.inputState=new nn(this),this.inputState.ensureHandlers(this.plugins),this.docView=new tO(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),(null==(t=document.fonts)?void 0:t.ready)&&document.fonts.ready.then(()=>this.requestMeasure())}dispatch(...e){let t=1==e.length&&e[0]instanceof o.YW?e:1==e.length&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(0!=this.updateState)throw Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,n=!1,r,i=this.state;for(let t of e){if(t.startState!=i)throw RangeError("Trying to update state with a transaction that doesn't start from the previous state.");i=t.state}if(this.destroyed){this.viewState.state=i;return}let a=this.hasFocus,l=0,s=null;e.some(e=>e.annotation(nD))?(this.inputState.notifiedFocused=a,l=1):a!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=a,(s=n_(i,a))||(l=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),((u=this.observer.readChange())&&!this.state.doc.eq(i.doc)||!this.state.selection.eq(i.selection))&&(u=null)):this.observer.clear(),i.facet(o.yy.phrases)!=this.state.facet(o.yy.phrases))return this.setState(i);r=tE.create(this,i,e),r.flags|=l;let d=this.viewState.scrollTarget;try{for(let t of(this.updateState=2,e)){if(d&&(d=d.map(t.changes)),t.scrollIntoView){let{main:e}=t.state.selection;d=new ta(e.empty?e:o.jT.cursor(e.head,e.head>e.anchor?-1:1))}for(let e of t.effects)e.is(tl)&&(d=e.value.clip(this.state))}this.viewState.update(r,d),this.bidiCache=rI.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),t=this.docView.update(r),this.state.facet(tC)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(e=>e.isUserEvent("select.pointer")))}finally{this.updateState=0}if(r.startState.facet(rd)!=r.state.facet(rd)&&(this.viewState.mustMeasureContent=!0),(t||n||d||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),t&&this.docViewUpdate(),!r.empty)for(let e of this.state.facet(e7))try{e(r)}catch(e){tc(this.state,e,"update listener")}(s||u)&&Promise.resolve().then(()=>{s&&this.state==s.startState&&this.dispatch(s),u&&!t8(this,u)&&c.force&&R(this.contentDOM,c.key,c.keyCode)})}setState(e){if(0!=this.updateState)throw Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let e of this.plugins)e.destroy(this);for(let t of(this.viewState=new rn(e),this.plugins=e.facet(tf).map(e=>new tp(e)),this.pluginMap.clear(),this.plugins))t.update(this);this.docView.destroy(),this.docView=new tO(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(tf),n=e.state.facet(tf);if(t!=n){let r=[];for(let o of n){let n=t.indexOf(o);if(n<0)r.push(new tp(o));else{let t=this.plugins[n];t.mustUpdate=e,r.push(t)}}for(let t of this.plugins)t.mustUpdate!=e&&t.destroy(this);this.plugins=r,this.pluginMap.clear()}else for(let t of this.plugins)t.mustUpdate=e;for(let e=0;e-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,n=this.scrollDOM,r=n.scrollTop*this.scaleY,{scrollAnchorPos:o,scrollAnchorHeight:i}=this.viewState;Math.abs(r-this.viewState.scrollTop)>1&&(i=-1),this.viewState.scrollAnchorHeight=-1;try{for(let e=0;;e++){if(i<0)if(A(n))o=-1,i=this.viewState.heightMap.height;else{let e=this.viewState.scrollAnchorAt(r);o=e.from,i=e.top}this.updateState=1;let a=this.viewState.measure(this);if(!a&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(e>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let l=[];4&a||([this.measureRequests,l]=[l,this.measureRequests]);let s=l.map(e=>{try{return e.read(this)}catch(e){return tc(this.state,e),rM}}),c=tE.create(this,this.state,[]),u=!1;c.flags|=a,t?t.flags|=a:t=c,this.updateState=2,!c.empty&&(this.updatePlugins(c),this.inputState.update(c),this.updateAttrs(),(u=this.docView.update(c))&&this.docViewUpdate());for(let e=0;e1||e<-1){n.scrollTop=(r+=e)/this.scaleY,i=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let e of this.state.facet(e7))e(t)}get themeClasses(){return rh+" "+(this.state.facet(rf)?rm:rp)+" "+this.state.facet(rd)}updateAttrs(){let e=rN(this,tm,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(tu)?"true":"false",class:"cm-content",style:`${er.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),rN(this,tg,t);let n=this.observer.ignore(()=>{let n=eb(this.contentDOM,this.contentAttrs,t),r=eb(this.dom,this.editorAttrs,e);return n||r});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(e){let t=!0;for(let n of e)for(let e of n.effects)e.is(rE.announce)&&(t&&(this.announceDOM.textContent=""),t=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=e.value)}mountStyles(){this.styleModules=this.state.facet(tC);let e=this.state.facet(rE.cspNonce);i.V.mount(this.root,this.styleModules.concat(rb).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(2==this.updateState)throw Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if((this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e)&&!(this.measureRequests.indexOf(e)>-1)){if(null!=e.key){for(let t=0;tt.plugin==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,n){return t0(this,e,tG(this,e,t,n))}moveByGroup(e,t){return t0(this,e,tG(this,e,t,t=>tY(this,e.head,t)))}visualLineSide(e,t){let n=this.bidiSpans(e),r=this.textDirectionAt(e.from),i=n[t?n.length-1:0];return o.jT.cursor(i.side(t,r)+e.from,i.forward(!t,r)?1:-1)}moveToLineBoundary(e,t,n=!0){return tU(this,e,t,n)}moveVertically(e,t,n){return t0(this,e,tQ(this,e,t,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),tW(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;let r=this.state.doc.lineAt(e),o=this.bidiSpans(r);return k(n,o[eV.find(o,e-r.from,-1,t)].dir==ej.LTR==t>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(tr)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>rO)return e0(e.length);let t=this.textDirectionAt(e.from),n;for(let r of this.bidiCache)if(r.from==e.from&&r.dir==t&&(r.fresh||eq(r.isolates,n=tx(this,e))))return r.order;n||(n=tx(this,e));let r=eJ(e.text,t,n);return this.bidiCache.push(new rI(e.from,e.to,t,n,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||er.safari&&(null==(e=this.inputState)?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{N(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((9==e.nodeType?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of(this.root.activeElement==this.contentDOM&&this.contentDOM.blur(),this.plugins))e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return tl.of(new ta("number"==typeof e?o.jT.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:t}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return tl.of(new ta(o.jT.cursor(n.from),"start","start",n.top-e,t,!0))}setTabFocusMode(e){null==e?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:"boolean"==typeof e?this.inputState.tabFocusMode=e?0:-1:0!=this.inputState.tabFocusMode&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return th.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return th.define(()=>({}),{eventObservers:e})}static theme(e,t){let n=i.V.newName(),r=[rd.of(n),tC.of(rv(`.${n}`,e))];return t&&t.dark&&r.push(rf.of(!0)),r}static baseTheme(e){return o.Wl.lowest(tC.of(rv("."+rh,e,rg)))}static findFromDOM(e){var t;let n=e.querySelector(".cm-content"),r=n&&B.get(n)||B.get(e);return(null==(t=null==r?void 0:r.rootView)?void 0:t.view)||null}}rE.styleModule=tC,rE.inputHandler=e9,rE.clipboardInputFilter=tt,rE.clipboardOutputFilter=tn,rE.scrollHandler=ti,rE.focusChangeEffect=te,rE.perLineTextDirection=tr,rE.exceptionSink=e6,rE.updateListener=e7,rE.editable=tu,rE.mouseSelectionStyle=e8,rE.dragMovesSelection=e5,rE.clickAddsSelectionRange=e3,rE.decorations=tv,rE.outerDecorations=tb,rE.atomicRanges=ty,rE.bidiIsolatedRanges=tw,rE.scrollMargins=tS,rE.darkTheme=rf,rE.cspNonce=o.r$.define({combine:e=>e.length?e[0]:""}),rE.contentAttributes=tg,rE.editorAttributes=tm,rE.lineWrapping=rE.contentAttributes.of({class:"cm-lineWrapping"}),rE.announce=o.Py.define();let rO=4096,rM={};class rI{constructor(e,t,n,r,o,i){this.from=e,this.to=t,this.dir=n,this.isolates=r,this.fresh=o,this.order=i}static update(e,t){if(t.empty&&!e.some(e=>e.fresh))return e;let n=[],r=e.length?e[e.length-1].dir:ej.LTR;for(let o=Math.max(0,e.length-10);o=0;o--){let t=r[o],i="function"==typeof t?t(e):t;i&&em(i,n)}return n}let rZ=er.mac?"mac":er.windows?"win":er.linux?"linux":"key";function rR(e,t){let n,r,o,i,a=e.split(/-(?!$)/),l=a[a.length-1];"Space"==l&&(l=" ");for(let e=0;erF(rD(t.state),e,t,"editor")})),rj=o.r$.define({enables:rP}),rA=new WeakMap;function rD(e){let t=e.facet(rj),n=rA.get(t);return n||rA.set(t,n=rB(t.reduce((e,t)=>e.concat(t),[]))),n}function r_(e,t,n){return rF(rD(e.state),t,e,n)}let rz=null,rL=4e3;function rB(e,t=rZ){let n=Object.create(null),r=Object.create(null),o=(e,t)=>{let n=r[e];if(null==n)r[e]=t;else if(n!=t)throw Error("Key binding "+e+" is used both as a regular binding and as a multi-stroke prefix")},i=(e,r,i,a,l)=>{var s,c;let u=n[e]||(n[e]=Object.create(null)),d=r.split(/ (?!$)/).map(e=>rR(e,t));for(let t=1;t{let r=rz={view:t,prefix:n,scope:e};return setTimeout(()=>{rz==r&&(rz=null)},rL),!0}]})}let f=d.join(" ");o(f,!1);let h=u[f]||(u[f]={preventDefault:!1,stopPropagation:!1,run:(null==(c=null==(s=u._any)?void 0:s.run)?void 0:c.slice())||[]});i&&h.run.push(i),a&&(h.preventDefault=!0),l&&(h.stopPropagation=!0)};for(let r of e){let e=r.scope?r.scope.split(" "):["editor"];if(r.any)for(let t of e){let e=n[t]||(n[t]=Object.create(null));e._any||(e._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:o}=r;for(let t in e)e[t].run.push(e=>o(e,rH))}let o=r[t]||r.key;if(o)for(let t of e)i(t,o,r.run,r.preventDefault,r.stopPropagation),r.shift&&i(t,"Shift-"+o,r.shift,r.preventDefault,r.stopPropagation)}return n}let rH=null;function rF(e,t,n,r){rH=t;let i=f(t),s=(0,o.gm)(i,0),c=(0,o.nZ)(s)==i.length&&" "!=i,u="",d=!1,h=!1,p=!1;rz&&rz.view==n&&rz.scope==r&&(u=rz.prefix+" ",0>nl.indexOf(t.keyCode)&&(h=!0,rz=null));let m=new Set,g=e=>{if(e){for(let t of e.run)if(!m.has(t)&&(m.add(t),t(n)))return e.stopPropagation&&(p=!0),!0;e.preventDefault&&(e.stopPropagation&&(p=!0),h=!0)}return!1},v=e[r],b,y;return v&&(g(v[u+rT(i,t,!c)])?d=!0:c&&(t.altKey||t.metaKey||t.ctrlKey)&&!(er.windows&&t.ctrlKey&&t.altKey)&&(b=a[t.keyCode])&&b!=i?g(v[u+rT(b,t,!0)])?d=!0:t.shiftKey&&(y=l[t.keyCode])!=i&&y!=b&&g(v[u+rT(y,t,!1)])&&(d=!0):c&&t.shiftKey&&g(v[u+rT(i,t,!0)])&&(d=!0),!d&&g(v._any)&&(d=!0)),h&&(d=!0),d&&p&&t.stopPropagation(),rH=null,d}class rW{constructor(e,t,n,r,o){this.className=e,this.left=t,this.top=n,this.width=r,this.height=o}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className==this.className&&(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",null!=this.width&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,t,n){if(!n.empty)return rK(e,t,n);{let r=e.coordsAtPos(n.head,n.assoc||1);if(!r)return[];let o=rV(e);return[new rW(t,r.left-o.left,r.top-o.top,null,r.bottom-r.top)]}}}function rV(e){let t=e.scrollDOM.getBoundingClientRect();return{left:(e.textDirection==ej.LTR?t.left:t.right-e.scrollDOM.clientWidth*e.scaleX)-e.scrollDOM.scrollLeft*e.scaleX,top:t.top-e.scrollDOM.scrollTop*e.scaleY}}function rq(e,t,n,r){let o=e.coordsAtPos(t,2*n);if(!o)return r;let i=e.dom.getBoundingClientRect(),a=(o.top+o.bottom)/2,l=e.posAtCoords({x:i.left+1,y:a}),s=e.posAtCoords({x:i.right-1,y:a});return null==l||null==s?r:{from:Math.max(r.from,Math.min(l,s)),to:Math.min(r.to,Math.max(l,s))}}function rK(e,t,n){if(n.to<=e.viewport.from||n.from>=e.viewport.to)return[];let r=Math.max(n.from,e.viewport.from),o=Math.min(n.to,e.viewport.to),i=e.textDirection==ej.LTR,a=e.contentDOM,l=a.getBoundingClientRect(),s=rV(e),c=a.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),d=l.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),f=l.right-(u?parseInt(u.paddingRight):0),h=tX(e,r,1),p=tX(e,o,-1),m=h.type==ex.Text?h:null,g=p.type==ex.Text?p:null;if(m&&(e.lineWrapping||h.widgetLineBreaks)&&(m=rq(e,r,1,m)),g&&(e.lineWrapping||p.widgetLineBreaks)&&(g=rq(e,o,-1,g)),m&&g&&m.from==g.from&&m.to==g.to)return b(y(n.from,n.to,m));{let t=m?y(n.from,null,m):w(h,!1),r=g?y(null,n.to,g):w(p,!0),o=[];return(m||h).to<(g||p).from-(m&&g?1:0)||h.widgetLineBreaks>1&&t.bottom+e.defaultLineHeight/2c&&r.from=i)break;l>o&&s(Math.max(e,o),null==t&&e<=c,Math.min(l,i),null==n&&l>=u,a.dir)}if((o=r.to+1)>=i)break}return 0==l.length&&s(c,null==t,u,null==n,e.textDirection),{top:o,bottom:a,horizontal:l}}function w(e,t){let n=l.top+(t?e.top:e.bottom);return{top:n,bottom:n,horizontal:[]}}}function rX(e,t){return e.constructor==t.constructor&&e.eq(t)}class rU{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(rG)!=e.state.facet(rG)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){!1!==this.layer.updateOnDocViewUpdate&&e.requestMeasure(this.measureReq)}setOrder(e){let t=0,n=e.facet(rG);for(;t!rX(e,this.drawn[t]))){let t=this.dom.firstChild,n=0;for(let r of e)r.update&&t&&r.constructor&&this.drawn[n].constructor&&r.update(t,this.drawn[n])?(t=t.nextSibling,n++):this.dom.insertBefore(r.draw(),t);for(;t;){let e=t.nextSibling;t.remove(),t=e}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}let rG=o.r$.define();function rY(e){return[th.define(t=>new rU(t,e)),rG.of(e)]}let rQ=o.r$.define({combine:e=>(0,o.BO)(e,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})});function rJ(e={}){return[rQ.of(e),r2,r3,r5,to.of(!0)]}function r0(e){return e.facet(rQ)}function r1(e){return e.startState.facet(rQ)!=e.state.facet(rQ)}let r2=rY({above:!0,markers(e){let{state:t}=e,n=t.facet(rQ),r=[];for(let i of t.selection.ranges){let a=i==t.selection.main;if(i.empty||n.drawRangeCursor){let t=a?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",n=i.empty?i:o.jT.cursor(i.head,i.head>i.anchor?-1:1);for(let o of rW.forRange(e,t,n))r.push(o)}}return r},update(e,t){e.transactions.some(e=>e.selection)&&(t.style.animationName="cm-blink"==t.style.animationName?"cm-blink2":"cm-blink");let n=r1(e);return n&&r4(e.state,t),e.docChanged||e.selectionSet||n},mount(e,t){r4(t.state,e)},class:"cm-cursorLayer"});function r4(e,t){t.style.animationDuration=e.facet(rQ).cursorBlinkRate+"ms"}let r3=rY({above:!1,markers:e=>e.state.selection.ranges.map(t=>t.empty?[]:rW.forRange(e,"cm-selectionBackground",t)).reduce((e,t)=>e.concat(t)),update:(e,t)=>e.docChanged||e.selectionSet||e.viewportChanged||r1(e),class:"cm-selectionLayer"}),r5=o.Wl.highest(rE.theme({".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-content":{caretColor:"transparent !important","& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}})),r8=o.Py.define({map:(e,t)=>null==e?null:t.mapPos(e)}),r6=o.QQ.define({create:()=>null,update:(e,t)=>(null!=e&&(e=t.changes.mapPos(e)),t.effects.reduce((e,t)=>t.is(r8)?t.value:e,e))}),r7=th.fromClass(class{constructor(e){this.view=e,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(e){var t;let n=e.state.field(r6);null==n?null!=this.cursor&&(null==(t=this.cursor)||t.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(e.startState.field(r6)!=n||e.docChanged||e.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:e}=this,t=e.state.field(r6),n=null!=t&&e.coordsAtPos(t);if(!n)return null;let r=e.scrollDOM.getBoundingClientRect();return{left:n.left-r.left+e.scrollDOM.scrollLeft*e.scaleX,top:n.top-r.top+e.scrollDOM.scrollTop*e.scaleY,height:n.bottom-n.top}}drawCursor(e){if(this.cursor){let{scaleX:t,scaleY:n}=this.view;e?(this.cursor.style.left=e.left/t+"px",this.cursor.style.top=e.top/n+"px",this.cursor.style.height=e.height/n+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(e){this.view.state.field(r6)!=e&&this.view.dispatch({effects:r8.of(e)})}},{eventObservers:{dragover(e){this.setDropPos(this.view.posAtCoords({x:e.clientX,y:e.clientY}))},dragleave(e){e.target!=this.view.contentDOM&&this.view.contentDOM.contains(e.relatedTarget)||this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function r9(){return[r6,r7]}function oe(e,t,n,r,o){t.lastIndex=0;for(let i=e.iterRange(n,r),a=n,l;!i.next().done;a+=i.value.length)if(!i.lineBreak)for(;l=t.exec(i.value);)o(a+l.index,l)}function ot(e,t){let n=e.visibleRanges;if(1==n.length&&n[0].from==e.viewport.from&&n[0].to==e.viewport.to)return n;let r=[];for(let{from:o,to:i}of n)o=Math.max(e.state.doc.lineAt(o).from,o-t),i=Math.min(e.state.doc.lineAt(i).to,i+t),r.length&&r[r.length-1].to>=o?r[r.length-1].to=i:r.push({from:o,to:i});return r}class on{constructor(e){let{regexp:t,decoration:n,decorate:r,boundary:o,maxLength:i=1e3}=e;if(!t.global)throw RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,r)this.addMatch=(e,t,n,o)=>r(o,n,n+e[0].length,e,t);else if("function"==typeof n)this.addMatch=(e,t,r,o)=>{let i=n(e,t,r);i&&o(r,r+e[0].length,i)};else if(n)this.addMatch=(e,t,r,o)=>o(r,r+e[0].length,n);else throw RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=o,this.maxLength=i}createDeco(e){let t=new o.f_,n=t.add.bind(t);for(let{from:t,to:r}of ot(e,this.maxLength))oe(e.state.doc,this.regexp,t,r,(t,r)=>this.addMatch(r,e,t,n));return t.finish()}updateDeco(e,t){let n=1e9,r=-1;return(e.docChanged&&e.changes.iterChanges((t,o,i,a)=>{a>=e.view.viewport.from&&i<=e.view.viewport.to&&(n=Math.min(i,n),r=Math.max(a,r))}),e.viewportMoved||r-n>1e3)?this.createDeco(e.view):r>-1?this.updateRange(e.view,t.map(e.changes),n,r):t}updateRange(e,t,n,r){for(let o of e.visibleRanges){let i=Math.max(o.from,n),a=Math.min(o.to,r);if(a>=i){let n=e.state.doc.lineAt(i),r=n.ton.from;i--)if(this.boundary.test(n.text[i-1-n.from])){l=i;break}for(;ac.push(n.range(e,t));if(n==r)for(this.regexp.lastIndex=l-n.from;(u=this.regexp.exec(n.text))&&u.indexthis.addMatch(n,e,t,d));t=t.update({filterFrom:l,filterTo:s,filter:(e,t)=>es,add:c})}}return t}}let or=null!=/x/.unicode?"gu":"g",oo=RegExp("[\0-\b\n-\x1f\x7f-\x9f\xad؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]",or),oi={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"},oa=null;function ol(){var e;if(null==oa&&"undefined"!=typeof document&&document.body){let t=document.body.style;oa=(null!=(e=t.tabSize)?e:t.MozTabSize)!=null}return oa||!1}let os=o.r$.define({combine(e){let t=(0,o.BO)(e,{render:null,specialChars:oo,addSpecialChars:null});return(t.replaceTabs=!ol())&&(t.specialChars=RegExp(" |"+t.specialChars.source,or)),t.addSpecialChars&&(t.specialChars=RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,or)),t}});function oc(e={}){return[os.of(e),od()]}let ou=null;function od(){return ou||(ou=th.fromClass(class{constructor(e){this.view=e,this.decorations=eS.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(os)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new on({regexp:e.specialChars,decoration:(t,n,r)=>{let{doc:i}=n.state,a=(0,o.gm)(t[0],0);if(9==a){let e=i.lineAt(r),t=n.state.tabSize,a=(0,o.IS)(e.text,t,r-e.from);return eS.replace({widget:new om((t-a%t)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[a]||(this.decorationCache[a]=eS.replace({widget:new op(e,a)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(os);e.startState.facet(os)!=t?(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(e.view)):this.decorations=this.decorator.updateDeco(e,this.decorations)}},{decorations:e=>e.decorations}))}let of="•";function oh(e){return e>=32?of:10==e?"␤":String.fromCharCode(9216+e)}class op extends ew{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=oh(this.code),n=e.state.phrase("Control character")+" "+(oi[this.code]||"0x"+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,n,t);if(r)return r;let o=document.createElement("span");return o.textContent=t,o.title=n,o.setAttribute("aria-label",n),o.className="cm-specialChar",o}ignoreEvent(){return!1}}class om extends ew{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}let og=th.fromClass(class{constructor(){this.height=1e3,this.attrs={style:"padding-bottom: 1000px"}}update(e){let{view:t}=e,n=t.viewState.editorHeight-t.defaultLineHeight-t.documentPadding.top-.5;n>=0&&n!=this.height&&(this.height=n,this.attrs={style:`padding-bottom: ${n}px`})}});function ov(){return[og,tg.of(e=>{var t;return(null==(t=e.plugin(og))?void 0:t.attrs)||null})]}function ob(){return ow}let oy=eS.line({class:"cm-activeLine"}),ow=th.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.docChanged||e.selectionSet)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=-1,n=[];for(let r of e.state.selection.ranges){let o=e.lineBlockAt(r.head);o.from>t&&(n.push(oy.range(o.from)),t=o.from)}return eS.set(n)}},{decorations:e=>e.decorations});class ox extends ew{constructor(e){super(),this.content=e}toDOM(e){let t=document.createElement("span");return t.className="cm-placeholder",t.style.pointerEvents="none",t.appendChild("string"==typeof this.content?document.createTextNode(this.content):"function"==typeof this.content?this.content(e):this.content.cloneNode(!0)),t.setAttribute("aria-hidden","true"),t}coordsAt(e){let t=e.firstChild?v(e.firstChild):[];if(!t.length)return null;let n=window.getComputedStyle(e.parentNode),r=k(t[0],"rtl"!=n.direction),o=parseInt(n.lineHeight);return r.bottom-r.top>1.5*o?{left:r.left,right:r.right,top:r.top,bottom:r.top+o}:r}ignoreEvent(){return!1}}function oS(e){let t=th.fromClass(class{constructor(t){this.view=t,this.placeholder=e?eS.set([eS.widget({widget:new ox(e),side:1}).range(0)]):eS.none}get decorations(){return this.view.state.doc.length?eS.none:this.placeholder}},{decorations:e=>e.decorations});return"string"==typeof e?[t,rE.contentAttributes.of({"aria-placeholder":e})]:t}let ok=2e3;function oC(e,t,n){let r=Math.min(t.line,n.line),i=Math.max(t.line,n.line),a=[];if(t.off>ok||n.off>ok||t.col<0||n.col<0){let l=Math.min(t.off,n.off),s=Math.max(t.off,n.off);for(let t=r;t<=i;t++){let n=e.doc.line(t);n.length<=s&&a.push(o.jT.range(n.from+l,n.to+s))}}else{let l=Math.min(t.col,n.col),s=Math.max(t.col,n.col);for(let t=r;t<=i;t++){let n=e.doc.line(t),r=(0,o.Gz)(n.text,l,e.tabSize,!0);if(r<0)a.push(o.jT.cursor(n.to));else{let t=(0,o.Gz)(n.text,s,e.tabSize);a.push(o.jT.range(n.from+r,n.from+t))}}}return a}function o$(e,t){let n=e.coordsAtPos(e.viewport.from);return n?Math.round(Math.abs((n.left-t)/e.defaultCharacterWidth)):-1}function oE(e,t){let n=e.posAtCoords({x:t.clientX,y:t.clientY},!1),r=e.state.doc.lineAt(n),i=n-r.from,a=i>ok?-1:i==r.length?o$(e,t.clientX):(0,o.IS)(r.text,e.state.tabSize,n-r.from);return{line:r.number,col:a,off:i}}function oO(e,t){let n=oE(e,t),r=e.state.selection;return n?{update(e){if(e.docChanged){let t=e.changes.mapPos(e.startState.doc.line(n.line).from),o=e.state.doc.lineAt(t);n={line:o.number,col:n.col,off:Math.min(n.off,o.length)},r=r.map(e.changes)}},get(t,i,a){let l=oE(e,t);if(!l)return r;let s=oC(e.state,n,l);return s.length?a?o.jT.create(s.concat(r.ranges)):o.jT.create(s):r}}:null}function oM(e){let t=(null==e?void 0:e.eventFilter)||(e=>e.altKey&&0==e.button);return rE.mouseSelectionStyle.of((e,n)=>t(n)?oO(e,n):null)}let oI={Alt:[18,e=>!!e.altKey],Control:[17,e=>!!e.ctrlKey],Shift:[16,e=>!!e.shiftKey],Meta:[91,e=>!!e.metaKey]},oN={style:"cursor: crosshair"};function oZ(e={}){let[t,n]=oI[e.key||"Alt"],r=th.fromClass(class{constructor(e){this.view=e,this.isDown=!1}set(e){this.isDown!=e&&(this.isDown=e,this.view.update([]))}},{eventObservers:{keydown(e){this.set(e.keyCode==t||n(e))},keyup(e){e.keyCode!=t&&n(e)||this.set(!1)},mousemove(e){this.set(n(e))}}});return[r,rE.contentAttributes.of(e=>{var t;return(null==(t=e.plugin(r))?void 0:t.isDown)?oN:null})]}let oR="-10000px";class oT{constructor(e,t,n,r){this.facet=t,this.createTooltipView=n,this.removeTooltipView=r,this.input=e.state.facet(t),this.tooltips=this.input.filter(e=>e);let o=null;this.tooltipViews=this.tooltips.map(e=>o=n(e,o))}update(e,t){var n;let r=e.state.facet(this.facet),o=r.filter(e=>e);if(r===this.input){for(let t of this.tooltipViews)t.update&&t.update(e);return!1}let i=[],a=t?[]:null;for(let n=0;ni.indexOf(e)&&(this.removeTooltipView(e),null==(n=e.destroy)||n.call(e));return t&&(a.forEach((e,n)=>t[n]=e),t.length=a.length),this.input=r,this.tooltips=o,this.tooltipViews=i,!0}}function oP(e={}){return oA.of(e)}function oj(e){let t=e.dom.ownerDocument.documentElement;return{top:0,left:0,bottom:t.clientHeight,right:t.clientWidth}}let oA=o.r$.define({combine:e=>{var t,n,r;return{position:er.ios?"absolute":(null==(t=e.find(e=>e.position))?void 0:t.position)||"fixed",parent:(null==(n=e.find(e=>e.parent))?void 0:n.parent)||null,tooltipSpace:(null==(r=e.find(e=>e.tooltipSpace))?void 0:r.tooltipSpace)||oj}}}),oD=new WeakMap,o_=th.fromClass(class{constructor(e){this.view=e,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let t=e.state.facet(oA);this.position=t.position,this.parent=t.parent,this.classes=e.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver="function"==typeof ResizeObserver?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new oT(e,oH,(e,t)=>this.createTooltip(e,t),e=>{this.resizeObserver&&this.resizeObserver.unobserve(e.dom),e.dom.remove()}),this.above=this.manager.tooltips.map(e=>!!e.above),this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver(e=>{Date.now()>this.lastTransaction-50&&e.length>0&&e[e.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),e.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver)for(let e of(this.intersectionObserver.disconnect(),this.manager.tooltipViews))this.intersectionObserver.observe(e.dom)}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(e){e.transactions.length&&(this.lastTransaction=Date.now());let t=this.manager.update(e,this.above);t&&this.observeIntersection();let n=t||e.geometryChanged,r=e.state.facet(oA);if(r.position!=this.position&&!this.madeAbsolute){for(let e of(this.position=r.position,this.manager.tooltipViews))e.dom.style.position=this.position;n=!0}if(r.parent!=this.parent){for(let e of(this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer(),this.manager.tooltipViews))this.container.appendChild(e.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(e,t){let n=e.create(this.view),r=t?t.dom:null;if(n.dom.classList.add("cm-tooltip"),e.arrow&&!n.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let e=document.createElement("div");e.className="cm-tooltip-arrow",n.dom.appendChild(e)}return n.dom.style.position=this.position,n.dom.style.top=oR,n.dom.style.left="0px",this.container.insertBefore(n.dom,r),n.mount&&n.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var e,t,n;for(let t of(this.view.win.removeEventListener("resize",this.measureSoon),this.manager.tooltipViews))t.dom.remove(),null==(e=t.destroy)||e.call(t);this.parent&&this.container.remove(),null==(t=this.resizeObserver)||t.disconnect(),null==(n=this.intersectionObserver)||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let e=1,t=1,n=!1;if("fixed"==this.position&&this.manager.tooltipViews.length){let{dom:e}=this.manager.tooltipViews[0];if(er.gecko)n=e.offsetParent!=this.container.ownerDocument.body;else if(e.style.top==oR&&"0px"==e.style.left){let t=e.getBoundingClientRect();n=Math.abs(t.top+1e4)>1||Math.abs(t.left)>1}}if(n||"absolute"==this.position)if(this.parent){let n=this.parent.getBoundingClientRect();n.width&&n.height&&(e=n.width/this.parent.offsetWidth,t=n.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState);let r=this.view.scrollDOM.getBoundingClientRect(),o=tk(this.view);return{visible:{left:r.left+o.left,top:r.top+o.top,right:r.right-o.right,bottom:r.bottom-o.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((e,t)=>{let n=this.manager.tooltipViews[t];return n.getCoords?n.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet(oA).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:n}}writeMeasure(e){var t;if(e.makeAbsolute)for(let e of(this.madeAbsolute=!0,this.position="absolute",this.manager.tooltipViews))e.dom.style.position="absolute";let{visible:n,space:r,scaleX:o,scaleY:i}=e,a=[];for(let l=0;l=Math.min(n.bottom,r.bottom)||d.rightMath.min(n.right,r.right)+.1)){u.style.top=oR;continue}let h=s.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,p=7*!!h,m=f.right-f.left,g=null!=(t=oD.get(c))?t:f.bottom-f.top,v=c.offset||oB,b=this.view.textDirection==ej.LTR,y=f.width>r.right-r.left?b?r.left:r.right-f.width:b?Math.max(r.left,Math.min(d.left-14*!!h+v.x,r.right-m)):Math.min(Math.max(r.left,d.left-m+14*!!h-v.x),r.right-m),w=this.above[l];!s.strictSide&&(w?d.top-g-p-v.yr.bottom)&&w==r.bottom-d.bottom>d.top-r.top&&(w=this.above[l]=!w);let x=(w?d.top-r.top:r.bottom-d.bottom)-p;if(xy&&e.topS&&(S=w?e.top-g-2-p:e.bottom+p+2);if("absolute"==this.position?(u.style.top=(S-e.parent.top)/i+"px",oz(u,(y-e.parent.left)/o)):(u.style.top=S/i+"px",oz(u,y/o)),h){let e=d.left+(b?v.x:-v.x)-(y+14-7);h.style.left=e/o+"px"}!0!==c.overlap&&a.push({left:y,top:S,right:k,bottom:S+g}),u.classList.toggle("cm-tooltip-above",w),u.classList.toggle("cm-tooltip-below",!w),c.positioned&&c.positioned(e.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView)&&(this.inView=this.view.inView,!this.inView))for(let e of this.manager.tooltipViews)e.dom.style.top=oR}},{eventObservers:{scroll(){this.maybeMeasure()}}});function oz(e,t){let n=parseInt(e.style.left,10);(isNaN(n)||Math.abs(t-n)>1)&&(e.style.left=t+"px")}let oL=rE.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),oB={x:0,y:0},oH=o.r$.define({enables:[o_,oL]}),oF=o.r$.define({combine:e=>e.reduce((e,t)=>e.concat(t),[])});class oW{static create(e){return new oW(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new oT(e,oF,(e,t)=>this.createHostedView(e,t),e=>e.dom.remove())}createHostedView(e,t){let n=e.create(this.view);return n.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(n.dom,t?t.dom.nextSibling:this.dom.firstChild),this.mounted&&n.mount&&n.mount(this.view),n}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)null==(e=t.destroy)||e.call(t)}passProp(e){let t;for(let n of this.manager.tooltipViews){let r=n[e];if(void 0!==r){if(void 0===t)t=r;else if(t!==r)return}}return t}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}let oV=oH.compute([oF],e=>{let t=e.facet(oF);return 0===t.length?null:{pos:Math.min(...t.map(e=>e.pos)),end:Math.max(...t.map(e=>{var t;return null!=(t=e.end)?t:e.pos})),create:oW.create,above:t[0].above,arrow:t.some(e=>e.arrow)}});class oq{constructor(e,t,n,r,o){this.view=e,this.source=t,this.field=n,this.setHover=r,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let e=Date.now()-this.lastMove.time;en.bottom||t.xn.right+e.defaultCharacterWidth)return;let i=e.bidiSpans(e.state.doc.lineAt(r)).find(e=>e.from<=r&&e.to>=r),a=i&&i.dir==ej.RTL?-1:1;o=t.x{this.pending==t&&(this.pending=null,n&&!(Array.isArray(n)&&!n.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(n)?n:[n])}))},t=>tc(e.state,t,"hover tooltip"))}else i&&!(Array.isArray(i)&&!i.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(i)?i:[i])})}get tooltip(){let e=this.view.plugin(o_),t=e?e.manager.tooltips.findIndex(e=>e.create==oW.create):-1;return t>-1?e.manager.tooltipViews[t]:null}mousemove(e){var t,n;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:r,tooltip:o}=this;if(r.length&&o&&!oX(o.dom,e)||this.pending){let{pos:o}=r[0]||this.pending,i=null!=(n=null==(t=r[0])?void 0:t.end)?n:o;(o==i?this.view.posAtCoords(this.lastMove)==o:oU(this.view,o,i,e.clientX,e.clientY))||(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:t}=this;if(t.length){let{tooltip:t}=this;t&&t.dom.contains(e.relatedTarget)?this.watchTooltipLeave(t.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(e){let t=n=>{e.removeEventListener("mouseleave",t),this.active.length&&!this.view.dom.contains(n.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};e.addEventListener("mouseleave",t)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}let oK=4;function oX(e,t){let{left:n,right:r,top:o,bottom:i}=e.getBoundingClientRect(),a;if(a=e.querySelector(".cm-tooltip-arrow")){let e=a.getBoundingClientRect();o=Math.min(e.top,o),i=Math.max(e.bottom,i)}return t.clientX>=n-oK&&t.clientX<=r+oK&&t.clientY>=o-oK&&t.clientY<=i+oK}function oU(e,t,n,r,o,i){let a=e.scrollDOM.getBoundingClientRect(),l=e.documentTop+e.documentPadding.top+e.contentHeight;if(a.left>r||a.righto||Math.min(a.bottom,l)=t&&s<=n}function oG(e,t={}){let n=o.Py.define(),r=o.QQ.define({create:()=>[],update(e,r){if(e.length&&(t.hideOnChange&&(r.docChanged||r.selection)?e=[]:t.hideOn&&(e=e.filter(e=>!t.hideOn(r,e))),r.docChanged)){let t=[];for(let n of e){let e=r.changes.mapPos(n.pos,-1,o.gc.TrackDel);if(null!=e){let o=Object.assign(Object.create(null),n);o.pos=e,null!=o.end&&(o.end=r.changes.mapPos(o.end)),t.push(o)}}e=t}for(let t of r.effects)t.is(n)&&(e=t.value),t.is(oJ)&&(e=[]);return e},provide:e=>oF.from(e)});return{active:r,extension:[r,th.define(o=>new oq(o,e,r,n,t.hoverTime||300)),oV]}}function oY(e,t){let n=e.plugin(o_);if(!n)return null;let r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}function oQ(e){return e.facet(oF).some(e=>e)}let oJ=o.Py.define(),o0=oJ.of(null);function o1(e){let t=e.plugin(o_);t&&t.maybeMeasure()}let o2=o.r$.define({combine(e){let t,n;for(let r of e)t=t||r.topContainer,n=n||r.bottomContainer;return{topContainer:t,bottomContainer:n}}});function o4(e){return e?[o2.of(e)]:[]}function o3(e,t){let n=e.plugin(o5),r=n?n.specs.indexOf(t):-1;return r>-1?n.panels[r]:null}let o5=th.fromClass(class{constructor(e){this.input=e.state.facet(o7),this.specs=this.input.filter(e=>e),this.panels=this.specs.map(t=>t(e));let t=e.state.facet(o2);for(let n of(this.top=new o8(e,!0,t.topContainer),this.bottom=new o8(e,!1,t.bottomContainer),this.top.sync(this.panels.filter(e=>e.top)),this.bottom.sync(this.panels.filter(e=>!e.top)),this.panels))n.dom.classList.add("cm-panel"),n.mount&&n.mount()}update(e){let t=e.state.facet(o2);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new o8(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new o8(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=e.state.facet(o7);if(n!=this.input){let t=n.filter(e=>e),r=[],o=[],i=[],a=[];for(let n of t){let t=this.specs.indexOf(n),l;t<0?(l=n(e.view),a.push(l)):(l=this.panels[t]).update&&l.update(e),r.push(l),(l.top?o:i).push(l)}for(let e of(this.specs=t,this.panels=r,this.top.sync(o),this.bottom.sync(i),a))e.dom.classList.add("cm-panel"),e.mount&&e.mount()}else for(let t of this.panels)t.update&&t.update(e)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:e=>rE.scrollMargins.of(t=>{let n=t.plugin(e);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})});class o8{constructor(e,t,n){this.view=e,this.top=t,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&0>e.indexOf(t)&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(0==this.panels.length){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let e=this.container||this.view.dom;e.insertBefore(this.dom,this.top?e.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=o6(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=o6(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(this.container&&this.classes!=this.view.themeClasses){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function o6(e){let t=e.nextSibling;return e.remove(),t}let o7=o.r$.define({enables:o5});function o9(e,t){let n,r=new Promise(e=>n=e),i=e=>ii(e,t,n);e.state.field(it,!1)?e.dispatch({effects:ir.of(i)}):e.dispatch({effects:o.Py.appendConfig.of(it.init(()=>[i]))});let a=io.of(i);return{close:a,result:r.then(t=>((e.win.queueMicrotask||(t=>e.win.setTimeout(t,10)))(()=>{e.state.field(it).indexOf(i)>-1&&e.dispatch({effects:a})}),t))}}function ie(e,t){for(let n of e.state.field(it,!1)||[]){let r=o3(e,n);if(r&&r.dom.classList.contains(t))return r}return null}let it=o.QQ.define({create:()=>[],update(e,t){for(let n of t.effects)n.is(ir)?e=[n.value].concat(e):n.is(io)&&(e=e.filter(e=>e!=n.value));return e},provide:e=>o7.computeN([e],t=>t.field(e))}),ir=o.Py.define(),io=o.Py.define();function ii(e,t,n){let r=t.content?t.content(e,()=>a(null)):null;if(!r){if(r=(0,h.Z)("form"),t.input){let e=(0,h.Z)("input",t.input);/^(text|password|number|email|tel|url)$/.test(e.type)&&e.classList.add("cm-textfield"),e.name||(e.name="input"),r.appendChild((0,h.Z)("label",(t.label||"")+": ",e))}else r.appendChild(document.createTextNode(t.label||""));r.appendChild(document.createTextNode(" ")),r.appendChild((0,h.Z)("button",{class:"cm-button",type:"submit"},t.submitLabel||"OK"))}let o="FORM"==r.nodeName?[r]:r.querySelectorAll("form");for(let e=0;e{27==e.keyCode?(e.preventDefault(),a(null)):13==e.keyCode&&(e.preventDefault(),a(t))}),t.addEventListener("submit",e=>{e.preventDefault(),a(t)})}let i=(0,h.Z)("div",r,(0,h.Z)("button",{onclick:()=>a(null),"aria-label":e.state.phrase("close"),class:"cm-dialog-close",type:"button"},["\xd7"]));function a(t){i.contains(i.ownerDocument.activeElement)&&e.focus(),n(t)}return t.class&&(i.className=t.class),i.classList.add("cm-dialog"),{dom:i,top:t.top,mount:()=>{if(t.focus){let e;(e="string"==typeof t.focus?r.querySelector(t.focus):r.querySelector("input")||r.querySelector("button"))&&"select"in e?e.select():e&&"focus"in e&&e.focus()}}}}class ia extends o.uU{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}ia.prototype.elementClass="",ia.prototype.toDOM=void 0,ia.prototype.mapMode=o.gc.TrackBefore,ia.prototype.startSide=ia.prototype.endSide=-1,ia.prototype.point=!0;let il=o.r$.define(),is=o.r$.define(),ic={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>o.Xs.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},iu=o.r$.define();function id(e){return[ip(),iu.of({...ic,...e})]}let ih=o.r$.define({combine:e=>e.some(e=>e)});function ip(e){let t=[im];return e&&!1===e.fixed&&t.push(ih.of(!0)),t}let im=th.fromClass(class{constructor(e){for(let t of(this.view=e,this.prevViewport=e.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=e.state.facet(iu).map(t=>new iy(e,t)),this.gutters))this.dom.appendChild(t.dom);this.fixed=!e.state.facet(ih),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),e.scrollDOM.insertBefore(this.dom,e.contentDOM)}update(e){if(this.updateGutters(e)){let t=this.prevViewport,n=e.view.viewport,r=Math.min(t.to,n.to)-Math.max(t.from,n.from);this.syncGutters(r<(n.to-n.from)*.8)}e.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(ih)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=e.view.viewport}syncGutters(e){let t=this.dom.nextSibling;e&&this.dom.remove();let n=o.Xs.iter(this.view.state.facet(il),this.view.viewport.from),r=[],i=this.gutters.map(e=>new ib(e,this.view.viewport,-this.view.documentPadding.top));for(let e of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(e.type)){let t=!0;for(let o of e.type)if(o.type==ex.Text&&t){for(let e of(iv(n,r,o.from),i))e.line(this.view,o,r);t=!1}else if(o.widget)for(let e of i)e.widget(this.view,o)}else if(e.type==ex.Text)for(let t of(iv(n,r,e.from),i))t.line(this.view,e,r);else if(e.widget)for(let t of i)t.widget(this.view,e);for(let e of i)e.finish();e&&this.view.scrollDOM.insertBefore(this.dom,t)}updateGutters(e){let t=e.startState.facet(iu),n=e.state.facet(iu),r=e.docChanged||e.heightChanged||e.viewportChanged||!o.Xs.eq(e.startState.facet(il),e.state.facet(il),e.view.viewport.from,e.view.viewport.to);if(t==n)for(let t of this.gutters)t.update(e)&&(r=!0);else{r=!0;let o=[];for(let r of n){let n=t.indexOf(r);n<0?o.push(new iy(this.view,r)):(this.gutters[n].update(e),o.push(this.gutters[n]))}for(let e of this.gutters)e.dom.remove(),0>o.indexOf(e)&&e.destroy();for(let e of o)this.dom.appendChild(e.dom);this.gutters=o}return r}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove()}},{provide:e=>rE.scrollMargins.of(t=>{let n=t.plugin(e);return n&&0!=n.gutters.length&&n.fixed?t.textDirection==ej.LTR?{left:n.dom.offsetWidth*t.scaleX}:{right:n.dom.offsetWidth*t.scaleX}:null})});function ig(e){return Array.isArray(e)?e:[e]}function iv(e,t,n){for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}class ib{constructor(e,t,n){this.gutter=e,this.height=n,this.i=0,this.cursor=o.Xs.iter(e.markers,t.from)}addElement(e,t,n){let{gutter:r}=this,o=(t.top-this.height)/e.scaleY,i=t.height/e.scaleY;if(this.i==r.elements.length){let t=new iw(e,i,o,n);r.elements.push(t),r.dom.appendChild(t.dom)}else r.elements[this.i].update(e,i,o,n);this.height=t.bottom,this.i++}line(e,t,n){let r=[];iv(this.cursor,r,t.from),n.length&&(r=r.concat(n));let o=this.gutter.config.lineMarker(e,t,r);o&&r.unshift(o);let i=this.gutter;(0!=r.length||i.config.renderEmptyElements)&&this.addElement(e,t,r)}widget(e,t){let n=this.gutter.config.widgetMarker(e,t.widget,t),r=n?[n]:null;for(let n of e.state.facet(is)){let o=n(e,t.widget,t);o&&(r||(r=[])).push(o)}r&&this.addElement(e,t,r)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class iy{constructor(e,t){for(let n in this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:""),t.domEventHandlers)this.dom.addEventListener(n,r=>{let o=r.target,i;if(o!=this.dom&&this.dom.contains(o)){for(;o.parentNode!=this.dom;)o=o.parentNode;let e=o.getBoundingClientRect();i=(e.top+e.bottom)/2}else i=r.clientY;let a=e.lineBlockAtHeight(i-e.documentTop);t.domEventHandlers[n](e,a,r)&&r.preventDefault()});this.markers=ig(t.markers(e)),t.initialSpacer&&(this.spacer=new iw(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=ig(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let t=this.config.updateSpacer(this.spacer.markers[0],e);t!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[t])}let n=e.view.viewport;return!o.Xs.eq(this.markers,t,n.from,n.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(e)}destroy(){for(let e of this.elements)e.destroy()}}class iw{constructor(e,t,n,r){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,n,r)}update(e,t,n,r){this.height!=t&&(this.height=t,this.dom.style.height=t+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),ix(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,t){let n="cm-gutterElement",r=this.dom.firstChild;for(let o=0,i=0;;){let a=i,l=o(0,o.BO)(e,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,t){let n=Object.assign({},e);for(let e in t){let r=n[e],o=t[e];n[e]=r?(e,t,n)=>r(e,t,n)||o(e,t,n):o}return n}})});class i$ extends ia{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function iE(e,t){return e.state.facet(iC).formatNumber(t,e.state)}let iO=iu.compute([iC],e=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers:e=>e.state.facet(iS),lineMarker:(e,t,n)=>n.some(e=>e.toDOM)?null:new i$(iE(e,e.state.doc.lineAt(t.from).number)),widgetMarker:(e,t,n)=>{for(let r of e.state.facet(ik)){let o=r(e,t,n);if(o)return o}return null},lineMarkerChange:e=>e.startState.facet(iC)!=e.state.facet(iC),initialSpacer:e=>new i$(iE(e,iI(e.state.doc.lines))),updateSpacer(e,t){let n=iE(t.view,iI(t.view.state.doc.lines));return n==e.number?e:new i$(n)},domEventHandlers:e.facet(iC).domEventHandlers}));function iM(e={}){return[iC.of(e),ip(),iO]}function iI(e){let t=9;for(;t{let t=[],n=-1;for(let r of e.selection.ranges){let o=e.doc.lineAt(r.head).from;o>n&&(n=o,t.push(iN.range(o)))}return o.Xs.of(t)});function iR(){return iZ}function iT(e){return th.define(t=>({decorations:e.createDeco(t),update(t){this.decorations=e.updateDeco(t,this.decorations)}}),{decorations:e=>e.decorations})}let iP=eS.mark({class:"cm-highlightTab"}),ij=eS.mark({class:"cm-highlightSpace"}),iA=iT(new on({regexp:/\t| /g,decoration:e=>" "==e[0]?iP:ij,boundary:/\S/}));function iD(){return iA}let i_=iT(new on({regexp:/\s+$/g,decoration:eS.mark({class:"cm-trailingSpace"})}));function iz(){return i_}let iL={HeightMap:nG,HeightOracle:nV,MeasuredHeights:nq,QueryType:nX,ChangedRange:t$,computeOrder:eJ,moveVisually:e2,clearHeightChangeFlag:nW,getHeightChangeFlag:()=>nF}},31171:function(e,t,n){"use strict";var r;n.d(t,{FE:()=>_,Jq:()=>u,L3:()=>o,Lj:()=>d,_b:()=>A,hr:()=>P,i9:()=>j,md:()=>l,mp:()=>p,vj:()=>r});let o=1024,i=0;class a{constructor(e,t){this.from=e,this.to=t}}class l{constructor(e={}){this.id=i++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=u.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}l.closedBy=new l({deserialize:e=>e.split(" ")}),l.openedBy=new l({deserialize:e=>e.split(" ")}),l.group=new l({deserialize:e=>e.split(" ")}),l.isolate=new l({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw RangeError("Invalid value for isolate: "+e);return e||"auto"}}),l.contextHash=new l({perNode:!0}),l.lookAhead=new l({perNode:!0}),l.mounted=new l({perNode:!0});class s{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}static get(e){return e&&e.props&&e.props[l.mounted.id]}}let c=Object.create(null);class u{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):c,n=!!e.top|2*!!e.skipped|4*!!e.error|8*(null==e.name),r=new u(e.name||"",t,e.id,n);if(e.props){for(let n of e.props)if(Array.isArray(n)||(n=n(r)),n){if(n[0].perNode)throw RangeError("Can't store a per-node prop on a node type");t[n[0].id]=n[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(l.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(" "))t[r]=e[n];return e=>{for(let n=e.prop(l.group),r=-1;r<(n?n.length:0);r++){let o=t[r<0?e.name:n[r]];if(o)return o}}}}u.none=new u("",Object.create(null),0,8);class d{constructor(e){this.types=e;for(let t=0;t0;for(let e=this.cursor(a|r.IncludeAnonymous);;){let r=!1;if(e.from<=i&&e.to>=o&&(!l&&e.type.isAnonymous||!1!==t(e))){if(e.firstChild())continue;r=!0}for(;r&&n&&(l||!e.type.isAnonymous)&&n(e),!e.nextSibling();){if(!e.parent())return;r=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:T(u.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new p(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new p(u.none,e,t,n)))}static build(e){return N(e)}}p.empty=new p(u.none,[],[],0);class m{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new m(this.buffer,this.index)}}class g{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return u.none}toString(){let e=[];for(let t=0;t0)));l=i[l+3]);return a}slice(e,t,n){let r=this.buffer,o=new Uint16Array(t-e),i=0;for(let a=e,l=0;a=t&&nt;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function b(e,t,n,o){for(var i;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to0?l.length:-1;e!=u;e+=t){let u=l[e],d=c[e]+a.from;if(v(o,n,d,d+u.length)){if(u instanceof g){if(i&r.ExcludeBuffers)continue;let l=u.findChild(0,u.buffer.length,t,n-d,o);if(l>-1)return new C(new k(a,u,e,d),null,l)}else if(i&r.IncludeAnonymous||!u.type.isAnonymous||I(u)){let l;if(!(i&r.IgnoreMounts)&&(l=s.get(u))&&!l.overlay)return new w(l.tree,d,e,a);let c=new w(u,d,e,a);return i&r.IncludeAnonymous||!c.type.isAnonymous?c:c.nextChild(t<0?u.children.length-1:0,t,n,o)}}}if(i&r.IncludeAnonymous||!a.type.isAnonymous||(e=a.index>=0?a.index+t:t<0?-1:a._parent._tree.children.length,!(a=a._parent)))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let o;if(!(n&r.IgnoreOverlays)&&(o=s.get(this._tree))&&o.overlay){let n=e-this.from;for(let{from:e,to:r}of o.overlay)if((t>0?e<=n:e=n:r>n))return new w(o.tree,o.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function x(e,t,n,r){let o=e.cursor(),i=[];if(!o.firstChild())return i;if(null!=n){for(let e=!1;!e;)if(e=o.type.is(n),!o.nextSibling())return i}for(;;){if(null!=r&&o.type.is(r))return i;if(o.type.is(t)&&i.push(o.node),!o.nextSibling())return null==r?i:[]}}function S(e,t,n=t.length-1){for(let r=e;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class k{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}class C extends y{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:r}=this.context,o=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n);return o<0?null:new C(this.context,this,o)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,n=0){if(n&r.ExcludeBuffers)return null;let{buffer:o}=this.context,i=o.findChild(this.index+4,o.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return i<0?null:new C(this.context,this,i)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new C(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new C(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,o=n.buffer[this.index+3];if(o>r){let i=n.buffer[this.index+1];e.push(n.slice(r,o,i)),t.push(0)}return new p(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function $(e){if(!e.length)return null;let t=0,n=e[0];for(let r=1;rn.from||o.to=t){let a=new w(i.tree,i.overlay[0].from+e.from,-1,e);(o||(o=[r])).push(b(a,t,n,!1))}}return o?$(o):r}class M{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof w)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return!!e&&(e instanceof w?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:r}=this.buffer,o=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);return!(o<0)&&(this.stack.push(this.index),this.yieldBuf(o))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?!(n&r.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&r.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&r.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:o}=this;if(o){if(e>0){if(this.index-1)for(let o=t+e,i=e<0?-1:n._tree.children.length;o!=i;o+=e){let e=n._tree.children[o];if(this.mode&r.IncludeAnonymous||e instanceof g||!e.type.isAnonymous||I(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let i=e;i;i=i._parent)if(i.index==r){if(r==this.index)return i;t=i,n=o+1;break o}r=this.stack[--o]}for(let e=n;e=0;o--){if(o<0)return S(this._tree,e,r);let i=n[t.buffer[this.stack[o]]];if(!i.isAnonymous){if(e[r]&&e[r]!=i.name)return!1;r--}}return!0}}function I(e){return e.children.some(e=>e instanceof g||!e.type.isAnonymous||I(e))}function N(e){var t;let{buffer:n,nodeSet:r,maxBufferLength:i=o,reused:a=[],minRepeatType:s=r.types.length}=e,c=Array.isArray(n)?new m(n,n.length):n,u=r.types,d=0,f=0;function h(e,t,n,o,l,p){let{id:m,start:k,end:C,size:$}=c,E=f,O=d;for(;$<0;){if(c.next(),-1==$){let t=a[m];n.push(t),o.push(k-e);return}if(-3==$){d=m;return}if(-4==$){f=m;return}else throw RangeError(`Unrecognized record size: ${$}`)}let M=u[m],I,N,Z=k-e;if(C-k<=i&&(N=x(c.pos-t,l))){let t=new Uint16Array(N.size-N.skip),n=c.pos-N.size,o=t.length;for(;c.pos>n;)o=S(N.start,t,o);I=new g(t,C-N.start,r),Z=N.start-e}else{let e=c.pos-$;c.next();let t=[],n=[],r=m>=s?m:-1,o=0,a=C;for(;c.pos>e;)r>=0&&c.id==r&&c.size>=0?(c.end<=a-i&&(y(t,n,k,o,c.end,a,r,E,O),o=t.length,a=c.end),c.next()):p>2500?v(k,e,t,n):h(k,e,t,n,r,p+1);if(r>=0&&o>0&&o-1&&o>0){let e=b(M,O);I=T(M,t,n,0,t.length,0,C-k,e,e)}else I=w(M,t,n,C-k,E-C,O)}n.push(I),o.push(Z)}function v(e,t,n,o){let a=[],l=0,s=-1;for(;c.pos>t;){let{id:e,start:t,end:n,size:r}=c;if(r>4)c.next();else if(s>-1&&t=0;e-=3)t[n++]=a[e],t[n++]=a[e+1]-i,t[n++]=a[e+2]-i,t[n++]=n;n.push(new g(t,a[2]-i,r)),o.push(i-e)}}function b(e,t){return(n,r,o)=>{let i=0,a=n.length-1,s,c;if(a>=0&&(s=n[a])instanceof p){if(!a&&s.type==e&&s.length==o)return s;(c=s.prop(l.lookAhead))&&(i=r[a]+s.length+c)}return w(e,n,r,o,i,t)}}function y(e,t,n,o,i,a,l,s,c){let u=[],d=[];for(;e.length>o;)u.push(e.pop()),d.push(t.pop()+n-i);e.push(w(r.types[l],u,d,a-i,s-a,c)),t.push(i-n)}function w(e,t,n,r,o,i,a){if(i){let e=[l.contextHash,i];a=a?[e].concat(a):[e]}if(o>25){let e=[l.lookAhead,o];a=a?[e].concat(a):[e]}return new p(e,t,n,r,a)}function x(e,t){let n=c.fork(),r=0,o=0,a=0,l=n.end-i,u={size:0,start:0,skip:0};o:for(let i=n.pos-e;n.pos>i;){let e=n.size;if(n.id==t&&e>=0){u.size=r,u.start=o,u.skip=a,a+=4,r+=4,n.next();continue}let c=n.pos-e;if(e<0||c=s),f=n.start;for(n.next();n.pos>c;){if(n.size<0)if(-3==n.size)d+=4;else break o;else n.id>=s&&(d+=4);n.next()}o=f,r+=e,a+=d}return(t<0||r==e)&&(u.size=r,u.start=o,u.skip=a),u.size>4?u:void 0}function S(e,t,n){let{id:r,start:o,end:i,size:a}=c;if(c.next(),a>=0&&r4){let r=c.pos-(a-4);for(;c.pos>r;)n=S(e,t,n)}t[--n]=l,t[--n]=i-e,t[--n]=o-e,t[--n]=r}else -3==a?d=r:-4==a&&(f=r);return n}let k=[],C=[];for(;c.pos>0;)h(e.start||0,e.bufferStart||0,k,C,-1,0);let $=null!=(t=e.length)?t:k.length?C[0]+k[0].length:0;return new p(u[e.topID],k.reverse(),C.reverse(),$)}let Z=new WeakMap;function R(e,t){if(!e.isAnonymous||t instanceof g||t.type!=e)return 1;let n=Z.get(t);if(null==n){for(let r of(n=1,t.children)){if(r.type!=e||!(r instanceof p)){n=1;break}n+=R(e,r)}Z.set(t,n)}return n}function T(e,t,n,r,o,i,a,l,s){let c=0;for(let n=r;n=u)break;p+=n}if(l==r+1){if(p>u){let e=t[r];h(e.children,e.positions,0,e.children.length,n[r]+a);continue}d.push(t[r])}else{let o=n[l-1]+t[l-1].length-c;d.push(T(e,t,n,r,l,c,o,null,s))}f.push(c+a-i)}}return h(t,n,r,o,0),(l||s)(d,f,a)}class P{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof C?this.setBuffer(e.context.buffer,e.index,t):e instanceof w&&this.map.set(e.tree,t)}get(e){return e instanceof C?this.getBuffer(e.context.buffer,e.index):e instanceof w?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class j{constructor(e,t,n,r,o=!1,i=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=!!o|2*!!i}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let r=[new j(0,e.length,e,0,!1,n)];for(let n of t)n.to>e.length&&r.push(n);return r}static applyChanges(e,t,n=128){if(!t.length)return e;let r=[],o=1,i=e.length?e[0]:null;for(let a=0,l=0,s=0;;a++){let c=a=n)for(;i&&i.from=t.from||u<=t.to||s){let e=Math.max(t.from,l)-s,n=Math.min(t.to,u)-s;t=e>=n?null:new j(e,n,t.tree,t.offset+s,a>0,!!c)}if(t&&r.push(t),i.to>u)break;i=onew a(e.from,e.to)):[new a(0,0)]:[new a(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}}class D{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function _(e){return(t,n,r,o)=>new F(t,e,n,r,o)}class z{constructor(e,t,n,r,o){this.parser=e,this.parse=t,this.overlay=n,this.target=r,this.from=o}}function L(e){if(!e.length||e.some(e=>e.from>=e.to))throw RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class B{constructor(e,t,n,r,o,i,a){this.parser=e,this.predicate=t,this.mounts=n,this.index=r,this.start=o,this.target=i,this.prev=a,this.depth=0,this.ranges=[]}}let H=new l({perNode:!0});class F{constructor(e,t,n,r,o){this.nest=t,this.input=n,this.fragments=r,this.ranges=o,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let e of this.inner)e.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new p(e.type,e.children,e.positions,e.length,e.propValues.concat([[H,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[l.mounted.id]=new s(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t=this.stoppedAt)l=!1;else if(e.hasNode(o)){if(t){let e=t.mounts.find(e=>e.frag.from<=o.from&&e.frag.to>=o.to&&e.mount.overlay);if(e)for(let n of e.mount.overlay){let r=n.from+e.pos,i=n.to+e.pos;r>=o.from&&i<=o.to&&!t.ranges.some(e=>e.fromr)&&t.ranges.push({from:r,to:i})}}l=!1}else if(n&&(i=W(n.ranges,o.from,o.to)))l=2!=i;else if(!o.type.isAnonymous&&(r=this.nest(o,this.input))&&(o.fromnew a(e.from-o.from,e.to-o.from)):null,o.tree,e.length?e[0].from:o.from)),r.overlay?e.length&&(n={ranges:e,depth:0,prev:n}):l=!1}}else if(t&&(s=t.predicate(o))&&(!0===s&&(s=new a(o.from,o.to)),s.from=0&&t.ranges[e].to==s.from?t.ranges[e]={from:t.ranges[e].from,to:s.to}:t.ranges.push(s)}if(l&&o.firstChild())t&&t.depth++,n&&n.depth++;else for(;!o.nextSibling();){if(!o.parent())break o;if(t&&!--t.depth){let e=U(this.ranges,t.ranges);e.length&&(L(e),this.inner.splice(t.index,0,new z(t.parser,t.parser.startParse(this.input,Y(t.mounts,e),e),t.ranges.map(e=>new a(e.from-t.start,e.to-t.start)),t.target,e[0].from))),t=t.prev}!n||--n.depth||(n=n.prev)}}}}function W(e,t,n){for(let r of e){if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}function V(e,t,n,r,o,i){if(t=e&&t.enter(n,1,r.IgnoreOverlays|r.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&0==t.positions[0]&&t.children[0]instanceof p)t=t.children[0];else break}return!1}}class X{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!=(t=n.tree.prop(H))?t:n.to,this.inner=new K(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!=(e=t.tree.prop(H))?e:t.to,this.inner=new K(t.tree,-t.offset)}}findMounts(e,t){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let o=null==(n=e.tree)?void 0:n.prop(l.mounted);if(o&&o.parser==t)for(let t=this.fragI;t=e.to)break;n.tree==this.curFrag.tree&&r.push({frag:n,pos:e.from-n.offset,mount:o})}}}return r}}function U(e,t){let n=null,r=t;for(let o=1,i=0;o=s)break;!(e.to<=l)&&(n||(r=n=t.slice()),e.froms&&n.splice(i+1,0,new a(s,e.to))):e.to>s?n[i--]=new a(s,e.to):n.splice(i--,1))}}return r}function G(e,t,n,r){let o=0,i=0,l=!1,s=!1,c=-1e9,u=[];for(;;){let d=o==e.length?1e9:l?e[o].to:e[o].from,f=i==t.length?1e9:s?t[i].to:t[i].from;if(l!=s){let e=Math.max(c,n),t=Math.min(d,f,r);enew a(e.from+r,e.to+r)),s,c);for(let t=0,r=s;;t++){let a=t==l.length,s=a?c:l[t].from;if(s>r&&n.push(new j(r,s,o.tree,-e,i.from>=r||i.openStart,i.to<=s||i.openEnd)),a)break;r=l[t].to}}else n.push(new j(s,c,o.tree,-e,i.from>=e||i.openStart,i.to<=l||i.openEnd))}return n}},26644:function(e,t,n){"use strict";n.d(t,{Gv:()=>u,QR:()=>h,Vp:()=>i,bW:()=>m,pJ:()=>T});var r=n(31171);let o=0;class i{constructor(e,t,n,r){this.name=e,this.set=t,this.base=n,this.modified=r,this.id=o++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(e,t){let n="string"==typeof e?e:"?";if(e instanceof i&&(t=e),null==t?void 0:t.base)throw Error("Can not derive from a modified tag");let r=new i(n,[],null,[]);if(r.set.push(r),t)for(let e of t.set)r.set.push(e);return r}static defineModifier(e){let t=new l(e);return e=>e.modified.indexOf(t)>-1?e:l.get(e.base||e,e.modified.concat(t).sort((e,t)=>e.id-t.id))}}let a=0;class l{constructor(e){this.name=e,this.instances=[],this.id=a++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(n=>n.base==e&&s(t,n.modified));if(n)return n;let r=[],o=new i(e.name,r,e,t);for(let e of t)e.instances.push(o);let a=c(t);for(let t of e.set)if(!t.modified.length)for(let e of a)r.push(l.get(t,e));return o}}function s(e,t){return e.length==t.length&&e.every((e,n)=>e==t[n])}function c(e){let t=[[]];for(let n=0;nt.length-e.length)}function u(e){let t=Object.create(null);for(let n in e){let r=e[n];for(let e of(Array.isArray(r)||(r=[r]),n.split(" ")))if(e){let n=[],o=2,i=e;for(let t=0;;){if("..."==i&&t>0&&t+3==e.length){o=1;break}let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(i);if(!r)throw RangeError("Invalid path: "+e);if(n.push("*"==r[0]?"":'"'==r[0][0]?JSON.parse(r[0]):r[0]),(t+=r[0].length)==e.length)break;let a=e[t++];if(t==e.length&&"!"==a){o=0;break}if("/"!=a)throw RangeError("Invalid path: "+e);i=e.slice(t)}let a=n.length-1,l=n[a];if(!l)throw RangeError("Invalid path: "+e);let s=new f(r,o,a>0?n.slice(0,a):null);t[l]=s.sort(t[l])}}return d.add(t)}let d=new r.md;class f{constructor(e,t,n,r){this.tags=e,this.mode=t,this.context=n,this.next=r}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depth{let t=o;for(let r of e)for(let e of r.set){let r=n[e.id];if(r){t=t?t+" "+r:r;break}}return t},scope:r}}function p(e,t){let n=null;for(let r of e){let e=r.style(t);e&&(n=n?n+" "+e:e)}return n}function m(e,t,n,r=0,o=e.length){let i=new g(r,Array.isArray(t)?t:[t],n);i.highlightRange(e.cursor(),r,o,"",i.highlighters),i.flush(o)}f.empty=new f([],2,null);class g{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,o,i){let{type:a,from:l,to:s}=e;if(l>=n||s<=t)return;a.isTop&&(i=this.highlighters.filter(e=>!e.scope||e.scope(a)));let c=o,u=v(e)||f.empty,d=p(i,u.tags);if(d&&(c&&(c+=" "),c+=d,1==u.mode&&(o+=(o?" ":"")+d)),this.startSpan(Math.max(t,l),c),u.opaque)return;let h=e.tree&&e.tree.prop(r.md.mounted);if(h&&h.overlay){let r=e.node.enter(h.overlay[0].from+l,1),a=this.highlighters.filter(e=>!e.scope||e.scope(h.tree.type)),u=e.firstChild();for(let d=0,f=l;;d++){let p=d=m)&&e.nextSibling()););if(!p||m>n)break;(f=p.to+l)>t&&(this.highlightRange(r.cursor(),Math.max(t,p.from+l),Math.min(n,f),"",a),this.startSpan(Math.min(n,f),c))}u&&e.parent()}else if(e.firstChild()){h&&(o="");do{if(e.to<=t)continue;if(e.from>=n)break;this.highlightRange(e,t,n,o,i),this.startSpan(Math.min(n,e.to),c)}while(e.nextSibling());e.parent()}}}function v(e){let t=e.type.prop(d);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}let b=i.define,y=b(),w=b(),x=b(w),S=b(w),k=b(),C=b(k),$=b(k),E=b(),O=b(E),M=b(),I=b(),N=b(),Z=b(N),R=b(),T={comment:y,lineComment:b(y),blockComment:b(y),docComment:b(y),name:w,variableName:b(w),typeName:x,tagName:b(x),propertyName:S,attributeName:b(S),className:b(w),labelName:b(w),namespace:b(w),macroName:b(w),literal:k,string:C,docString:b(C),character:b(C),attributeValue:b(C),number:$,integer:b($),float:b($),bool:b(k),regexp:b(k),escape:b(k),color:b(k),url:b(k),keyword:M,self:b(M),null:b(M),atom:b(M),unit:b(M),modifier:b(M),operatorKeyword:b(M),controlKeyword:b(M),definitionKeyword:b(M),moduleKeyword:b(M),operator:I,derefOperator:b(I),arithmeticOperator:b(I),logicOperator:b(I),bitwiseOperator:b(I),compareOperator:b(I),updateOperator:b(I),definitionOperator:b(I),typeOperator:b(I),controlOperator:b(I),punctuation:N,separator:b(N),bracket:Z,angleBracket:b(Z),squareBracket:b(Z),paren:b(Z),brace:b(Z),content:E,heading:O,heading1:b(O),heading2:b(O),heading3:b(O),heading4:b(O),heading5:b(O),heading6:b(O),contentSeparator:b(E),list:b(E),quote:b(E),emphasis:b(E),strong:b(E),link:b(E),monospace:b(E),strikethrough:b(E),inserted:b(),deleted:b(),changed:b(),invalid:b(),meta:R,documentMeta:b(R),annotation:b(R),processingInstruction:b(R),definition:i.defineModifier("definition"),constant:i.defineModifier("constant"),function:i.defineModifier("function"),standard:i.defineModifier("standard"),local:i.defineModifier("local"),special:i.defineModifier("special")};for(let e in T){let t=T[e];t instanceof i&&(t.name=e)}h([{tag:T.link,class:"tok-link"},{tag:T.heading,class:"tok-heading"},{tag:T.emphasis,class:"tok-emphasis"},{tag:T.strong,class:"tok-strong"},{tag:T.keyword,class:"tok-keyword"},{tag:T.atom,class:"tok-atom"},{tag:T.bool,class:"tok-bool"},{tag:T.url,class:"tok-url"},{tag:T.labelName,class:"tok-labelName"},{tag:T.inserted,class:"tok-inserted"},{tag:T.deleted,class:"tok-deleted"},{tag:T.literal,class:"tok-literal"},{tag:T.string,class:"tok-string"},{tag:T.number,class:"tok-number"},{tag:[T.regexp,T.escape,T.special(T.string)],class:"tok-string2"},{tag:T.variableName,class:"tok-variableName"},{tag:T.local(T.variableName),class:"tok-variableName tok-local"},{tag:T.definition(T.variableName),class:"tok-variableName tok-definition"},{tag:T.special(T.variableName),class:"tok-variableName2"},{tag:T.definition(T.propertyName),class:"tok-propertyName tok-definition"},{tag:T.typeName,class:"tok-typeName"},{tag:T.namespace,class:"tok-namespace"},{tag:T.className,class:"tok-className"},{tag:T.macroName,class:"tok-macroName"},{tag:T.propertyName,class:"tok-propertyName"},{tag:T.operator,class:"tok-operator"},{tag:T.comment,class:"tok-comment"},{tag:T.meta,class:"tok-meta"},{tag:T.invalid,class:"tok-invalid"},{tag:T.punctuation,class:"tok-punctuation"}])},69392:function(e,t,n){"use strict";n.r(t),n.d(t,{AnnotationType:()=>a.JJ,lineNumberWidgetMarker:()=>l.Bf,CharCategory:()=>a.D0,Annotation:()=>a.q6,highlightActiveLineGutter:()=>l.HQ,RangeSetBuilder:()=>a.f_,findColumn:()=>a.Gz,Text:()=>a.xv,lineNumbers:()=>l.Eu,logException:()=>l.OO,rectangularSelection:()=>l.Zs,showPanel:()=>l.mH,__test:()=>l.$X,gutterLineClass:()=>l.v7,BidiSpan:()=>l.CZ,RectangleMarker:()=>l.dc,dropCursor:()=>l.qr,color:()=>rs,ChangeDesc:()=>a.n0,BlockType:()=>l.kH,highlightActiveLine:()=>l.ZO,Range:()=>a.e6,Decoration:()=>l.p,Line:()=>a.x1,ChangeSet:()=>a.as,EditorView:()=>l.tk,getDialog:()=>l.Yq,fromCodePoint:()=>a.bg,keymap:()=>l.$f,oneDarkTheme:()=>rc,Prec:()=>a.Wl,showTooltip:()=>l.hJ,getTooltip:()=>l.gB,StateEffectType:()=>a.D6,basicSetup:()=>nJ,gutters:()=>l.lc,defaultLightThemeOption:()=>rf,codePointSize:()=>a.nZ,hasHoverTooltips:()=>l.Dm,Compartment:()=>a.F6,RangeSet:()=>a.Xs,closeHoverTooltips:()=>l.E8,drawSelection:()=>l.Uw,highlightTrailingWhitespace:()=>l.pk,minimalSetup:()=>n0,gutterWidgetClass:()=>l.NO,EditorSelection:()=>a.jT,countColumn:()=>a.IS,WidgetType:()=>l.l9,findClusterBreak:()=>a.cp,codePointAt:()=>a.gm,lineNumberMarkers:()=>l.p2,placeholder:()=>l.W$,runScopeHandlers:()=>l.$1,MatchDecorator:()=>l.Y1,SelectionRange:()=>a.xm,getDefaultExtensions:()=>rh,StateEffect:()=>a.Py,showDialog:()=>l.vC,gutter:()=>l.v5,GutterMarker:()=>l.SJ,layer:()=>l.EY,getDrawSelectionConfig:()=>l.HM,oneDarkHighlightStyle:()=>ru,Facet:()=>a.r$,Transaction:()=>a.YW,EditorState:()=>a.yy,BlockInfo:()=>l.td,RangeValue:()=>a.uU,repositionTooltips:()=>l.E2,getStatistics:()=>rp,ViewUpdate:()=>l.TB,default:()=>rx,hoverTooltip:()=>l.bF,combineConfig:()=>a.BO,scrollPastEnd:()=>l.CT,getPanel:()=>l.Sd,panels:()=>l.h0,StateField:()=>a.QQ,ViewPlugin:()=>l.lg,tooltips:()=>l.jH,highlightSpecialChars:()=>l.AE,useCodeMirror:()=>rv,crosshairCursor:()=>l.S2,Direction:()=>l.Nm,MapMode:()=>a.gc,highlightWhitespace:()=>l.DF,oneDark:()=>rd});var r=n(16019),o=n(70443),i=n(81004),a=n(95235),l=n(94547),s=n(73015),c=n(31171);let u=e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=m(e.state,n.from);return r.line?f(e):!!r.block&&p(e)};function d(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let o=e(t,n);return!!o&&(r(n.update(o)),!0)}}let f=d(w,0),h=d(y,0),p=d((e,t)=>y(e,t,b(t)),0);function m(e,t){let n=e.languageDataAt("commentTokens",t,1);return n.length?n[0]:{}}let g=50;function v(e,{open:t,close:n},r,o){let i,a,l=e.sliceDoc(r-g,r),s=e.sliceDoc(o,o+g),c=/\s*$/.exec(l)[0].length,u=/^\s*/.exec(s)[0].length,d=l.length-c;if(l.slice(d-t.length,d)==t&&s.slice(u,u+n.length)==n)return{open:{pos:r-c,margin:c&&1},close:{pos:o+u,margin:u&&1}};o-r<=2*g?i=a=e.sliceDoc(r,o):(i=e.sliceDoc(r,r+g),a=e.sliceDoc(o-g,o));let f=/^\s*/.exec(i)[0].length,h=/\s*$/.exec(a)[0].length,p=a.length-h-n.length;return i.slice(f,f+t.length)==t&&a.slice(p,p+n.length)==n?{open:{pos:r+f+t.length,margin:+!!/\s/.test(i.charAt(f+t.length))},close:{pos:o-h-n.length,margin:+!!/\s/.test(a.charAt(p-1))}}:null}function b(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from),o=n.to<=r.to?r:e.doc.lineAt(n.to);o.from>r.from&&o.from==n.to&&(o=n.to==r.to+1?r:e.doc.lineAt(n.to-1));let i=t.length-1;i>=0&&t[i].to>r.from?t[i].to=o.to:t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:o.to})}return t}function y(e,t,n=t.selection.ranges){let r=n.map(e=>m(t,e.from).block);if(!r.every(e=>e))return null;let o=n.map((e,n)=>v(t,r[n],e.from,e.to));if(2!=e&&!o.every(e=>e))return{changes:t.changes(n.map((e,t)=>o[t]?[]:[{from:e.from,insert:r[t].open+" "},{from:e.to,insert:" "+r[t].close}]))};if(1!=e&&o.some(e=>e)){let e=[];for(let t=0,n;to&&(e==i||i>s.from)){o=s.from;let e=/^\s*/.exec(s.text)[0].length,t=e==s.length,n=s.text.slice(e,e+l.length)==l?e:-1;ee.comment<0&&(!e.empty||e.single))){let e=[];for(let{line:t,token:n,indent:o,empty:i,single:a}of r)(a||!i)&&e.push({from:t.from+o,insert:n+" "});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}if(1!=e&&r.some(e=>e.comment>=0)){let e=[];for(let{line:t,comment:n,token:o}of r)if(n>=0){let r=t.from+n,i=r+o.length;" "==t.text[i-t.from]&&i++,e.push({from:r,to:i})}return{changes:e}}return null}let x=a.q6.define(),S=a.q6.define(),k=a.r$.define(),C=a.r$.define({combine:e=>(0,a.BO)(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}),$=a.QQ.define({create:()=>W.empty,update(e,t){let n=t.state.facet(C),r=t.annotation(x);if(r){let o=R.fromTransaction(t,r.selection),i=r.side,a=0==i?e.undone:e.done;return a=o?T(a,a.length,n.minDepth,o):z(a,t.startState.selection),new W(0==i?r.rest:a,0==i?a:r.rest)}let o=t.annotation(S);if(("full"==o||"before"==o)&&(e=e.isolate()),!1===t.annotation(a.YW.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let i=R.fromTransaction(t),l=t.annotation(a.YW.time),s=t.annotation(a.YW.userEvent);return i?e=e.addChanges(i,l,s,n,t):t.selection&&(e=e.addSelection(t.startState.selection,l,s,n.newGroupDelay)),("full"==o||"after"==o)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new W(e.done.map(R.fromJSON),e.undone.map(R.fromJSON))});function E(e={}){return[$,C.of(e),l.tk.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?M:"historyRedo"==e.inputType?I:null;return!!n&&(e.preventDefault(),n(t))}})]}function O(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let o=n.field($,!1);if(!o)return!1;let i=o.pop(e,n,t);return!!i&&(r(i),!0)}}let M=O(0,!1),I=O(1,!1),N=O(0,!0),Z=O(1,!0);class R{constructor(e,t,n,r,o){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,this.selectionsAfter=o}setSelAfter(e){return new R(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null==(e=this.changes)?void 0:e.toJSON(),mapped:null==(t=this.mapped)?void 0:t.toJSON(),startSelection:null==(n=this.startSelection)?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new R(e.changes&&a.as.fromJSON(e.changes),[],e.mapped&&a.n0.fromJSON(e.mapped),e.startSelection&&a.jT.fromJSON(e.startSelection),e.selectionsAfter.map(a.jT.fromJSON))}static fromTransaction(e,t){let n=D;for(let t of e.startState.facet(k)){let r=t(e);r.length&&(n=n.concat(r))}return!n.length&&e.changes.empty?null:new R(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,D)}static selection(e){return new R(void 0,D,void 0,void 0,e)}}function T(e,t,n,r){let o=t+1>n+20?t-n-1:0,i=e.slice(o,t);return i.push(r),i}function P(e,t){let n=[],r=!1;return e.iterChangedRanges((e,t)=>n.push(e,t)),t.iterChangedRanges((e,t,o,i)=>{for(let e=0;e=t&&o<=a&&(r=!0)}}),r}function j(e,t){return e.ranges.length==t.ranges.length&&0===e.ranges.filter((e,n)=>e.empty!=t.ranges[n].empty).length}function A(e,t){return e.length?t.length?e.concat(t):e:t}let D=[],_=200;function z(e,t){if(!e.length)return[R.selection([t])];{let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-_));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),T(e,e.length-1,1e9,n.setSelAfter(r)))}}function L(e){let t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function B(e,t){if(!e.length)return e;let n=e.length,r=D;for(;n;){let o=H(e[n-1],t,r);if(o.changes&&!o.changes.empty||o.effects.length){let t=e.slice(0,n);return t[n-1]=o,t}t=o.mapped,n--,r=o.selectionsAfter}return r.length?[R.selection(r)]:D}function H(e,t,n){let r=A(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):D,n);if(!e.changes)return R.selection(r);let o=e.changes.map(t),i=t.mapDesc(e.changes,!0),l=e.mapped?e.mapped.composeDesc(i):i;return new R(o,a.Py.mapEffects(e.effects,t),l,e.startSelection.map(i),r)}let F=/^(input\.type|delete)($|\.)/;class W{constructor(e,t,n=0,r){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new W(this.done,this.undone):this}addChanges(e,t,n,r,o){let i=this.done,l=i[i.length-1];return new W(i=l&&l.changes&&!l.changes.empty&&e.changes&&(!n||F.test(n))&&(!l.selectionsAfter.length&&t-this.prevTime0&&t-this.prevTimen.empty?e.moveByChar(n,t):U(n,t))}function Y(e){return e.textDirectionAt(e.state.selection.main.head)==l.Nm.LTR}let Q=e=>G(e,!Y(e)),J=e=>G(e,Y(e));function ee(e,t){return X(e,n=>n.empty?e.moveByGroup(n,t):U(n,t))}let et=e=>ee(e,!Y(e)),en=e=>ee(e,Y(e));function er(e,t,n){if(t.type.prop(n))return!0;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function eo(e,t,n){let r,o,i=(0,s.qz)(e).resolveInner(t.head),l=n?c.md.closedBy:c.md.openedBy;for(let r=t.head;;){let t=n?i.childAfter(r):i.childBefore(r);if(!t)break;er(e,t,l)?i=t:r=n?t.to:t.from}return o=i.type.prop(l)&&(r=n?(0,s.Um)(e,i.from,1):(0,s.Um)(e,i.to,-1))&&r.matched?n?r.end.to:r.end.from:n?i.to:i.from,a.jT.cursor(o,n?-1:1)}"undefined"!=typeof Intl&&Intl.Segmenter;let ei=e=>X(e,t=>eo(e.state,t,!Y(e))),ea=e=>X(e,t=>eo(e.state,t,Y(e)));function el(e,t){return X(e,n=>{if(!n.empty)return U(n,t);let r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)})}let es=e=>el(e,!1),ec=e=>el(e,!0);function eu(e){let t=e.scrollDOM.clientHeightn.empty?e.moveVertically(n,t,r.height):U(n,t));if(i.eq(o.selection))return!1;if(r.selfScroll){let t=e.coordsAtPos(o.selection.main.head),a=e.scrollDOM.getBoundingClientRect(),s=a.top+r.marginTop,c=a.bottom-r.marginBottom;t&&t.top>s&&t.bottomed(e,!1),eh=e=>ed(e,!0);function ep(e,t,n){let r=e.lineBlockAt(t.head),o=e.moveToLineBoundary(t,n);if(o.head==t.head&&o.head!=(n?r.to:r.from)&&(o=e.moveToLineBoundary(t,n,!1)),!n&&o.head==r.from&&r.length){let n=/^\s*/.exec(e.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;n&&t.head!=r.from+n&&(o=a.jT.cursor(r.from+n))}return o}let em=e=>X(e,t=>ep(e,t,!0)),eg=e=>X(e,t=>ep(e,t,!1)),ev=e=>X(e,t=>ep(e,t,!Y(e))),eb=e=>X(e,t=>ep(e,t,Y(e))),ey=e=>X(e,t=>a.jT.cursor(e.lineBlockAt(t.head).from,1)),ew=e=>X(e,t=>a.jT.cursor(e.lineBlockAt(t.head).to,-1));function ex(e,t,n){let r=!1,o=q(e.selection,t=>{let o=(0,s.Um)(e,t.head,-1)||(0,s.Um)(e,t.head,1)||t.head>0&&(0,s.Um)(e,t.head-1,1)||t.headex(e,t,!1);function ek(e,t){let n=q(e.state.selection,e=>{let n=t(e);return a.jT.range(e.anchor,n.head,n.goalColumn,n.bidiLevel||void 0)});return!n.eq(e.state.selection)&&(e.dispatch(K(e.state,n)),!0)}function eC(e,t){return ek(e,n=>e.moveByChar(n,t))}let e$=e=>eC(e,!Y(e)),eE=e=>eC(e,Y(e));function eO(e,t){return ek(e,n=>e.moveByGroup(n,t))}let eM=e=>eO(e,!Y(e)),eI=e=>eO(e,Y(e)),eN=e=>ek(e,t=>eo(e.state,t,!Y(e))),eZ=e=>ek(e,t=>eo(e.state,t,Y(e)));function eR(e,t){return ek(e,n=>e.moveVertically(n,t))}let eT=e=>eR(e,!1),eP=e=>eR(e,!0);function ej(e,t){return ek(e,n=>e.moveVertically(n,t,eu(e).height))}let eA=e=>ej(e,!1),eD=e=>ej(e,!0),e_=e=>ek(e,t=>ep(e,t,!0)),ez=e=>ek(e,t=>ep(e,t,!1)),eL=e=>ek(e,t=>ep(e,t,!Y(e))),eB=e=>ek(e,t=>ep(e,t,Y(e))),eH=e=>ek(e,t=>a.jT.cursor(e.lineBlockAt(t.head).from)),eF=e=>ek(e,t=>a.jT.cursor(e.lineBlockAt(t.head).to)),eW=({state:e,dispatch:t})=>(t(K(e,{anchor:0})),!0),eV=({state:e,dispatch:t})=>(t(K(e,{anchor:e.doc.length})),!0),eq=({state:e,dispatch:t})=>(t(K(e,{anchor:e.selection.main.anchor,head:0})),!0),eK=({state:e,dispatch:t})=>(t(K(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),eX=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0),eU=({state:e,dispatch:t})=>{let n=tt(e).map(({from:t,to:n})=>a.jT.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:a.jT.create(n),userEvent:"select"})),!0},eG=({state:e,dispatch:t})=>{let n=q(e.selection,t=>{let n=(0,s.qz)(e),r=n.resolveStack(t.from,1);if(t.empty){let e=n.resolveStack(t.from,-1);e.node.from>=r.node.from&&e.node.to<=r.node.to&&(r=e)}for(let e=r;e;e=e.next){let{node:n}=e;if((n.from=t.to||n.to>t.to&&n.from<=t.from)&&e.next)return a.jT.range(n.to,n.from)}return t});return!n.eq(e.selection)&&(t(K(e,n)),!0)},eY=({state:e,dispatch:t})=>{let n=e.selection,r=null;return n.ranges.length>1?r=a.jT.create([n.main]):n.main.empty||(r=a.jT.create([a.jT.cursor(n.main.head)])),!!r&&(t(K(e,r)),!0)};function eQ(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:r}=e,o=r.changeByRange(r=>{let{from:o,to:i}=r;if(o==i){let a=t(r);ao&&(n="delete.forward",a=eJ(e,a,!0)),o=Math.min(o,a),i=Math.max(i,a)}else o=eJ(e,o,!1),i=eJ(e,i,!0);return o==i?{range:r}:{changes:{from:o,to:i},range:a.jT.cursor(o,ot(e)))r.between(t,t,(e,r)=>{et&&(t=n?r:e)});return t}let e0=(e,t,n)=>eQ(e,r=>{let o=r.from,{state:i}=e,l=i.doc.lineAt(o),c,u;if(n&&!t&&o>l.from&&oe0(e,!1,!0),e2=e=>e0(e,!0,!1),e4=(e,t)=>eQ(e,n=>{let r=n.head,{state:o}=e,i=o.doc.lineAt(r),l=o.charCategorizer(r);for(let e=null;;){if(r==(t?i.to:i.from)){r==n.head&&i.number!=(t?o.doc.lines:1)&&(r+=t?1:-1);break}let s=(0,a.cp)(i.text,r-i.from,t)+i.from,c=i.text.slice(Math.min(r,s)-i.from,Math.max(r,s)-i.from),u=l(c);if(null!=e&&u!=e)break;(" "!=c||r!=n.head)&&(e=u),r=s}return r}),e3=e=>e4(e,!1),e5=e=>e4(e,!0),e8=e=>eQ(e,t=>{let n=e.lineBlockAt(t.head).to;return t.headeQ(e,t=>{let n=e.moveToLineBoundary(t,!1).head;return t.head>n?n:Math.max(0,t.head-1)}),e7=e=>eQ(e,t=>{let n=e.moveToLineBoundary(t,!0).head;return t.head{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:a.xv.of(["",""])},range:a.jT.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},te=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let n=t.from,r=e.doc.lineAt(n),o=n==r.from?n-1:(0,a.cp)(r.text,n-r.from,!1)+r.from,i=n==r.to?n+1:(0,a.cp)(r.text,n-r.from,!0)+r.from;return{changes:{from:o,to:i,insert:e.doc.slice(n,i).append(e.doc.slice(o,n))},range:a.jT.cursor(i)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function tt(e){let t=[],n=-1;for(let r of e.selection.ranges){let o=e.doc.lineAt(r.from),i=e.doc.lineAt(r.to);if(r.empty||r.to!=i.from||(i=e.doc.lineAt(r.to-1)),n>=o.number){let e=t[t.length-1];e.to=i.to,e.ranges.push(r)}else t.push({from:o.from,to:i.to,ranges:[r]});n=i.number+1}return t}function tn(e,t,n){if(e.readOnly)return!1;let r=[],o=[];for(let t of tt(e)){if(n?t.to==e.doc.length:0==t.from)continue;let i=e.doc.lineAt(n?t.to+1:t.from-1),l=i.length+1;if(n)for(let n of(r.push({from:t.to,to:i.to},{from:t.from,insert:i.text+e.lineBreak}),t.ranges))o.push(a.jT.range(Math.min(e.doc.length,n.anchor+l),Math.min(e.doc.length,n.head+l)));else for(let n of(r.push({from:i.from,to:t.from},{from:t.to,insert:e.lineBreak+i.text}),t.ranges))o.push(a.jT.range(n.anchor-l,n.head-l))}return!!r.length&&(t(e.update({changes:r,scrollIntoView:!0,selection:a.jT.create(o,e.selection.mainIndex),userEvent:"move.line"})),!0)}let tr=({state:e,dispatch:t})=>tn(e,t,!1),to=({state:e,dispatch:t})=>tn(e,t,!0);function ti(e,t,n){if(e.readOnly)return!1;let r=[];for(let t of tt(e))n?r.push({from:t.from,insert:e.doc.slice(t.from,t.to)+e.lineBreak}):r.push({from:t.to,insert:e.lineBreak+e.doc.slice(t.from,t.to)});return t(e.update({changes:r,scrollIntoView:!0,userEvent:"input.copyline"})),!0}let ta=({state:e,dispatch:t})=>ti(e,t,!1),tl=({state:e,dispatch:t})=>ti(e,t,!0),ts=e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(tt(t).map(({from:e,to:n})=>(e>0?e--:n{let n;if(e.lineWrapping){let r=e.lineBlockAt(t.head),o=e.coordsAtPos(t.head,t.assoc||1);o&&(n=r.bottom+e.documentTop-o.bottom+e.defaultLineHeight/2)}return e.moveVertically(t,!0,n)}).map(n);return e.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0};function tc(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,s.qz)(e).resolveInner(t),r=n.childBefore(t),o=n.childAfter(t),i;return r&&o&&r.to<=t&&o.from>=t&&(i=r.type.prop(c.md.closedBy))&&i.indexOf(o.name)>-1&&e.doc.lineAt(r.to).from==e.doc.lineAt(o.from).from&&!/\S/.test(e.sliceDoc(r.to,o.from))?{from:r.to,to:o.from}:null}let tu=tf(!1),td=tf(!0);function tf(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let r=t.changeByRange(n=>{let{from:r,to:o}=n,i=t.doc.lineAt(r),l=!e&&r==o&&tc(t,r);e&&(r=o=(o<=i.to?i:t.doc.lineAt(o)).to);let c=new s.Gn(t,{simulateBreak:r,simulateDoubleBreak:!!l}),u=(0,s.K0)(c,r);for(null==u&&(u=(0,a.IS)(/^\s*/.exec(t.doc.lineAt(r).text)[0],t.tabSize));oi.from&&r{let o=[];for(let i=r.from;i<=r.to;){let a=e.doc.lineAt(i);a.number>n&&(r.empty||r.to>a.from)&&(t(a,o,r),n=a.number),i=a.to+1}let i=e.changes(o);return{changes:o,range:a.jT.range(i.mapPos(r.anchor,1),i.mapPos(r.head,1))}})}let tp=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(th(e,(t,n)=>{n.push({from:t.from,insert:e.facet(s.c)})}),{userEvent:"input.indent"})),!0),tm=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(th(e,(t,n)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let o=(0,a.IS)(r,e.tabSize),i=0,l=(0,s.SS)(e,Math.max(0,o-(0,s.y1)(e)));for(;i{if(e.readOnly)return!1;let n=Object.create(null),r=new s.Gn(e,{overrideIndentation:e=>{let t=n[e];return null==t?-1:t}}),o=th(e,(t,o,i)=>{let a=(0,s.K0)(r,t.from);if(null==a)return;/\S/.test(t.text)||(a=0);let l=/^\s*/.exec(t.text)[0],c=(0,s.SS)(e,a);(l!=c||i.from(e.setTabFocusMode(),!0)}].concat([{key:"ArrowLeft",run:Q,shift:e$,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:et,shift:eM,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:ev,shift:eL,preventDefault:!0},{key:"ArrowRight",run:J,shift:eE,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:en,shift:eI,preventDefault:!0},{mac:"Cmd-ArrowRight",run:eb,shift:eB,preventDefault:!0},{key:"ArrowUp",run:es,shift:eT,preventDefault:!0},{mac:"Cmd-ArrowUp",run:eW,shift:eq},{mac:"Ctrl-ArrowUp",run:ef,shift:eA},{key:"ArrowDown",run:ec,shift:eP,preventDefault:!0},{mac:"Cmd-ArrowDown",run:eV,shift:eK},{mac:"Ctrl-ArrowDown",run:eh,shift:eD},{key:"PageUp",run:ef,shift:eA},{key:"PageDown",run:eh,shift:eD},{key:"Home",run:eg,shift:ez,preventDefault:!0},{key:"Mod-Home",run:eW,shift:eq},{key:"End",run:em,shift:e_,preventDefault:!0},{key:"Mod-End",run:eV,shift:eK},{key:"Enter",run:tu,shift:tu},{key:"Mod-a",run:eX},{key:"Backspace",run:e1,shift:e1},{key:"Delete",run:e2},{key:"Mod-Backspace",mac:"Alt-Backspace",run:e3},{key:"Mod-Delete",mac:"Alt-Delete",run:e5},{mac:"Mod-Backspace",run:e6},{mac:"Mod-Delete",run:e7}].concat(tg.map(e=>({mac:e.key,run:e.run,shift:e.shift})))),tb={key:"Tab",run:tp,shift:tm};var ty=n(84260);let tw="function"==typeof String.prototype.normalize?e=>e.normalize("NFKD"):e=>e;class tx{constructor(e,t,n=0,r=e.length,o,i){this.test=i,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,r),this.bufferStart=n,this.normalize=o?e=>o(tw(e)):tw,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return -1;this.bufferPos=0,this.buffer=this.iter.value}return(0,a.gm)(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=(0,a.bg)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,a.nZ)(e);let r=this.normalize(t);if(r.length)for(let e=0,o=n;;e++){let i=r.charCodeAt(e),a=this.match(i,o,this.bufferPos+this.bufferStart);if(e==r.length-1){if(a)return this.value=a,this;break}o==n&&ethis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,r=n+t[0].length;if(this.matchPos=tI(this.text,r+ +(n==r)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,r,t)))return this.value={from:n,to:r,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length=n||r.to<=t){let r=new tE(t,e.sliceString(t,n));return t$.set(e,r),r}if(r.from==t&&r.to==n)return r;let{text:o,from:i}=r;return i>t&&(o=e.sliceString(t,i)+o,i=t),r.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let e=this.flat.from+t.index,n=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,n,t)))return this.value={from:e,to:n,match:t},this.matchPos=tI(this.text,n+ +(e==n)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=tE.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function tM(e){try{return new RegExp(e,tk),!0}catch(e){return!1}}function tI(e,t){if(t>=e.length)return t;let n=e.lineAt(t),r;for(;t=56320&&r<57344;)t++;return t}function tN(e){let t=String(e.state.doc.lineAt(e.state.selection.main.head).number),n=(0,ty.Z)("input",{class:"cm-textfield",name:"line",value:t});function r(){let t=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(n.value);if(!t)return;let{state:r}=e,o=r.doc.lineAt(r.selection.main.head),[,i,s,c,u]=t,d=c?+c.slice(1):0,f=s?+s:o.number;if(s&&u){let e=f/100;i&&(e=e*("-"==i?-1:1)+o.number/r.doc.lines),f=Math.round(r.doc.lines*e)}else s&&i&&(f=f*("-"==i?-1:1)+o.number);let h=r.doc.line(Math.max(1,Math.min(r.doc.lines,f))),p=a.jT.cursor(h.from+Math.max(0,Math.min(d,h.length)));e.dispatch({effects:[tZ.of(!1),l.tk.scrollIntoView(p.from,{y:"center"})],selection:p}),e.focus()}return{dom:(0,ty.Z)("form",{class:"cm-gotoLine",onkeydown:t=>{27==t.keyCode?(t.preventDefault(),e.dispatch({effects:tZ.of(!1)}),e.focus()):13==t.keyCode&&(t.preventDefault(),r())},onsubmit:e=>{e.preventDefault(),r()}},(0,ty.Z)("label",e.state.phrase("Go to line"),": ",n)," ",(0,ty.Z)("button",{class:"cm-button",type:"submit"},e.state.phrase("go")),(0,ty.Z)("button",{name:"close",onclick:()=>{e.dispatch({effects:tZ.of(!1)}),e.focus()},"aria-label":e.state.phrase("close"),type:"button"},["\xd7"]))}}"undefined"!=typeof Symbol&&(tC.prototype[Symbol.iterator]=tO.prototype[Symbol.iterator]=function(){return this});let tZ=a.Py.define(),tR=a.QQ.define({create:()=>!0,update(e,t){for(let n of t.effects)n.is(tZ)&&(e=n.value);return e},provide:e=>l.mH.from(e,e=>e?tN:null)}),tT=e=>{let t=(0,l.Sd)(e,tN);if(!t){let n=[tZ.of(!0)];null==e.state.field(tR,!1)&&n.push(a.Py.appendConfig.of([tR,tP])),e.dispatch({effects:n}),t=(0,l.Sd)(e,tN)}return t&&t.dom.querySelector("input").select(),!0},tP=l.tk.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px",position:"relative","& label":{fontSize:"80%"},"& [name=close]":{position:"absolute",top:"0",bottom:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:"0"}}}),tj={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},tA=a.r$.define({combine:e=>(0,a.BO)(e,tj,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})});function tD(e){let t=[tF,tH];return e&&t.push(tA.of(e)),t}let t_=l.p.mark({class:"cm-selectionMatch"}),tz=l.p.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function tL(e,t,n,r){return(0==n||e(t.sliceDoc(n-1,n))!=a.D0.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=a.D0.Word)}function tB(e,t,n,r){return e(t.sliceDoc(n,n+1))==a.D0.Word&&e(t.sliceDoc(r-1,r))==a.D0.Word}let tH=l.lg.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(tA),{state:n}=e,r=n.selection;if(r.ranges.length>1)return l.p.none;let o=r.main,i,a=null;if(o.empty){if(!t.highlightWordAroundCursor)return l.p.none;let e=n.wordAt(o.head);if(!e)return l.p.none;a=n.charCategorizer(o.head),i=n.sliceDoc(e.from,e.to)}else{let e=o.to-o.from;if(e200)return l.p.none;if(t.wholeWords){if(i=n.sliceDoc(o.from,o.to),!(tL(a=n.charCategorizer(o.head),n,o.from,o.to)&&tB(a,n,o.from,o.to)))return l.p.none}else if(!(i=n.sliceDoc(o.from,o.to)))return l.p.none}let s=[];for(let r of e.visibleRanges){let e=new tx(n.doc,i,r.from,r.to);for(;!e.next().done;){let{from:r,to:i}=e.value;if((!a||tL(a,n,r,i))&&(o.empty&&r<=o.from&&i>=o.to?s.push(tz.range(r,i)):(r>=o.to||i<=o.from)&&s.push(t_.range(r,i)),s.length>t.maxMatches))return l.p.none}}return l.p.set(s)}},{decorations:e=>e.decorations}),tF=l.tk.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),tW=({state:e,dispatch:t})=>{let{selection:n}=e,r=a.jT.create(n.ranges.map(t=>e.wordAt(t.head)||a.jT.cursor(t.head)),n.mainIndex);return!r.eq(n)&&(t(e.update({selection:r})),!0)};function tV(e,t){let{main:n,ranges:r}=e.selection,o=e.wordAt(n.head),i=o&&o.from==n.from&&o.to==n.to;for(let n=!1,o=new tx(e.doc,t,r[r.length-1].to);;)if(o.next(),o.done){if(n)return null;o=new tx(e.doc,t,0,Math.max(0,r[r.length-1].from-1)),n=!0}else{if(n&&r.some(e=>e.from==o.value.from))continue;if(i){let t=e.wordAt(o.value.from);if(!t||t.from!=o.value.from||t.to!=o.value.to)continue}return o.value}}let tq=({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(e=>e.from===e.to))return tW({state:e,dispatch:t});let r=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=r))return!1;let o=tV(e,r);return!!o&&(t(e.update({selection:e.selection.addRange(a.jT.range(o.from,o.to),!1),effects:l.tk.scrollIntoView(o.to)})),!0)},tK=a.r$.define({combine:e=>(0,a.BO)(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new nm(e),scrollToMatch:e=>l.tk.scrollIntoView(e)})});class tX{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||tM(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new t4(this):new tQ(this)}getCursor(e,t=0,n){let r=e.doc?e:a.yy.create({doc:e});return null==n&&(n=r.doc.length),this.regexp?tJ(this,r,t,n):tG(this,r,t,n)}}class tU{constructor(e){this.spec=e}}function tG(e,t,n,r){return new tx(t.doc,e.unquoted,n,r,e.caseSensitive?void 0:e=>e.toLowerCase(),e.wholeWord?tY(t.doc,t.charCategorizer(t.selection.main.head)):void 0)}function tY(e,t){return(n,r,o,i)=>((i>n||i+o.length=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let o=tG(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!o.next().done;)r(o.value.from,o.value.to)}}function tJ(e,t,n,r){return new tC(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?t2(t.charCategorizer(t.selection.main.head)):void 0},n,r)}function t0(e,t){return e.slice((0,a.cp)(e,t,!1),t)}function t1(e,t){return e.slice(t,(0,a.cp)(e,t))}function t2(e){return(t,n,r)=>!r[0].length||(e(t0(r.input,r.index))!=a.D0.Word||e(t1(r.input,r.index))!=a.D0.Word)&&(e(t1(r.input,r.index+r[0].length))!=a.D0.Word||e(t0(r.input,r.index+r[0].length))!=a.D0.Word)}class t4 extends tU{nextMatch(e,t,n){let r=tJ(this.spec,e,n,e.doc.length).next();return r.done&&(r=tJ(this.spec,e,0,t).next()),r.done?null:r.value}prevMatchInRange(e,t,n){for(let r=1;;r++){let o=Math.max(t,n-1e4*r),i=tJ(this.spec,e,o,n),a=null;for(;!i.next().done;)a=i.value;if(a&&(o==t||a.from>o+10))return a;if(o==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(t,n)=>{if("&"==n)return e.match[0];if("$"==n)return"$";for(let t=n.length;t>0;t--){let r=+n.slice(0,t);if(r>0&&r=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let o=tJ(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!o.next().done;)r(o.value.from,o.value.to)}}let t3=a.Py.define(),t5=a.Py.define(),t8=a.QQ.define({create:e=>new t6(nc(e).create(),null),update(e,t){for(let n of t.effects)n.is(t3)?e=new t6(n.value.create(),e.panel):n.is(t5)&&(e=new t6(e.query,n.value?ns:null));return e},provide:e=>l.mH.from(e,e=>e.panel)});class t6{constructor(e,t){this.query=e,this.panel=t}}let t7=l.p.mark({class:"cm-searchMatch"}),t9=l.p.mark({class:"cm-searchMatch cm-searchMatch-selected"}),ne=l.lg.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(t8))}update(e){let t=e.state.field(t8);(t!=e.startState.field(t8)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return l.p.none;let{view:n}=this,r=new a.f_;for(let t=0,o=n.visibleRanges,i=o.length;to[t+1].from-500;)l=o[++t].to;e.highlight(n.state,a,l,(e,t)=>{let o=n.state.selection.ranges.some(n=>n.from==e&&n.to==t);r.add(e,t,o?t9:t7)})}return r.finish()}},{decorations:e=>e.decorations});function nt(e){return t=>{let n=t.state.field(t8,!1);return n&&n.query.spec.valid?e(t,n):nf(t)}}let nn=nt((e,{query:t})=>{let{to:n}=e.state.selection.main,r=t.nextMatch(e.state,n,n);if(!r)return!1;let o=a.jT.single(r.from,r.to),i=e.state.facet(tK);return e.dispatch({selection:o,effects:[ny(e,r),i.scrollToMatch(o.main,e)],userEvent:"select.search"}),nd(e),!0}),nr=nt((e,{query:t})=>{let{state:n}=e,{from:r}=n.selection.main,o=t.prevMatch(n,r,r);if(!o)return!1;let i=a.jT.single(o.from,o.to),l=e.state.facet(tK);return e.dispatch({selection:i,effects:[ny(e,o),l.scrollToMatch(i.main,e)],userEvent:"select.search"}),nd(e),!0}),no=nt((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!!n&&!!n.length&&(e.dispatch({selection:a.jT.create(n.map(e=>a.jT.range(e.from,e.to))),userEvent:"select.search.matches"}),!0)}),ni=({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:r,to:o}=n.main,i=[],l=0;for(let t=new tx(e.doc,e.sliceDoc(r,o));!t.next().done;){if(i.length>1e3)return!1;t.value.from==r&&(l=i.length),i.push(a.jT.range(t.value.from,t.value.to))}return t(e.update({selection:a.jT.create(i,l),userEvent:"select.search.matches"})),!0},na=nt((e,{query:t})=>{let{state:n}=e,{from:r,to:o}=n.selection.main;if(n.readOnly)return!1;let i=t.nextMatch(n,r,r);if(!i)return!1;let s=i,c=[],u,d,f=[];s.from==r&&s.to==o&&(d=n.toText(t.getReplacement(s)),c.push({from:s.from,to:s.to,insert:d}),s=t.nextMatch(n,s.from,s.to),f.push(l.tk.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(r).number)+".")));let h=e.state.changes(c);return s&&(u=a.jT.single(s.from,s.to).map(h),f.push(ny(e,s)),f.push(n.facet(tK).scrollToMatch(u.main,e))),e.dispatch({changes:h,selection:u,effects:f,userEvent:"input.replace"}),!0}),nl=nt((e,{query:t})=>{if(e.state.readOnly)return!1;let n=t.matchAll(e.state,1e9).map(e=>{let{from:n,to:r}=e;return{from:n,to:r,insert:t.getReplacement(e)}});if(!n.length)return!1;let r=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:l.tk.announce.of(r),userEvent:"input.replace.all"}),!0});function ns(e){return e.state.facet(tK).createPanel(e)}function nc(e,t){var n,r,o,i,a;let l=e.selection.main,s=l.empty||l.to>l.from+100?"":e.sliceDoc(l.from,l.to);if(t&&!s)return t;let c=e.facet(tK);return new tX({search:(null!=(n=null==t?void 0:t.literal)?n:c.literal)?s:s.replace(/\n/g,"\\n"),caseSensitive:null!=(r=null==t?void 0:t.caseSensitive)?r:c.caseSensitive,literal:null!=(o=null==t?void 0:t.literal)?o:c.literal,regexp:null!=(i=null==t?void 0:t.regexp)?i:c.regexp,wholeWord:null!=(a=null==t?void 0:t.wholeWord)?a:c.wholeWord})}function nu(e){let t=(0,l.Sd)(e,ns);return t&&t.dom.querySelector("[main-field]")}function nd(e){let t=nu(e);t&&t==e.root.activeElement&&t.select()}let nf=e=>{let t=e.state.field(t8,!1);if(t&&t.panel){let n=nu(e);if(n&&n!=e.root.activeElement){let r=nc(e.state,t.query.spec);r.valid&&e.dispatch({effects:t3.of(r)}),n.focus(),n.select()}}else e.dispatch({effects:[t5.of(!0),t?t3.of(nc(e.state,t.query.spec)):a.Py.appendConfig.of(nx)]});return!0},nh=e=>{let t=e.state.field(t8,!1);if(!t||!t.panel)return!1;let n=(0,l.Sd)(e,ns);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:t5.of(!1)}),!0},np=[{key:"Mod-f",run:nf,scope:"editor search-panel"},{key:"F3",run:nn,shift:nr,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:nn,shift:nr,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:nh,scope:"editor search-panel"},{key:"Mod-Shift-l",run:ni},{key:"Mod-Alt-g",run:tT},{key:"Mod-d",run:tq,preventDefault:!0}];class nm{constructor(e){this.view=e;let t=this.query=e.state.field(t8).query.spec;function n(e,t,n){return(0,ty.Z)("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=(0,ty.Z)("input",{value:t.search,placeholder:ng(e,"Find"),"aria-label":ng(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=(0,ty.Z)("input",{value:t.replace,placeholder:ng(e,"Replace"),"aria-label":ng(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=(0,ty.Z)("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=(0,ty.Z)("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=(0,ty.Z)("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=(0,ty.Z)("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",()=>nn(e),[ng(e,"next")]),n("prev",()=>nr(e),[ng(e,"previous")]),n("select",()=>no(e),[ng(e,"all")]),(0,ty.Z)("label",null,[this.caseField,ng(e,"match case")]),(0,ty.Z)("label",null,[this.reField,ng(e,"regexp")]),(0,ty.Z)("label",null,[this.wordField,ng(e,"by word")]),...e.state.readOnly?[]:[(0,ty.Z)("br"),this.replaceField,n("replace",()=>na(e),[ng(e,"replace")]),n("replaceAll",()=>nl(e),[ng(e,"replace all")])],(0,ty.Z)("button",{name:"close",onclick:()=>nh(e),"aria-label":ng(e,"close"),type:"button"},["\xd7"])])}commit(){let e=new tX({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:t3.of(e)}))}keydown(e){(0,l.$1)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?nr:nn)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),na(this.view))}update(e){for(let t of e.transactions)for(let e of t.effects)e.is(t3)&&!e.value.eq(this.query)&&this.setQuery(e.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(tK).top}}function ng(e,t){return e.state.phrase(t)}let nv=30,nb=/[\s\.,:;?!]/;function ny(e,{from:t,to:n}){let r=e.state.doc.lineAt(t),o=e.state.doc.lineAt(n).to,i=Math.max(r.from,t-nv),a=Math.min(o,n+nv),s=e.state.sliceDoc(i,a);if(i!=r.from){for(let e=0;es.length-nv;e--)if(!nb.test(s[e-1])&&nb.test(s[e])){s=s.slice(0,e);break}}return l.tk.announce.of(`${e.state.phrase("current match")}. ${s} ${e.state.phrase("on line")} ${r.number}.`)}let nw=l.tk.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),nx=[t8,a.Wl.low(ne),nw];var nS=n(83582);class nk{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class nC{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let r=n.facet(nD).markerFilter;r&&(e=r(e,n));let o=e.slice().sort((e,t)=>e.from-t.from||e.to-t.to),i=new a.f_,s=[],c=0;for(let e=0;;){let t,r,a=e==o.length?null:o[e];if(!a&&!s.length)break;for(s.length?(t=c,r=s.reduce((e,t)=>Math.min(e,t.to),a&&a.from>t?a.from:1e8)):(t=a.from,r=a.to,s.push(a),e++);en.from||n.to==t))s.push(n),e++,r=Math.min(n.to,r);else{r=Math.min(n.from,r);break}}let u=nK(s);if(s.some(e=>e.from==e.to||e.from==e.to-1&&n.doc.lineAt(e.from).to==e.from))i.add(t,t,l.p.widget({widget:new nL(u),diagnostics:s.slice()}));else{let e=s.reduce((e,t)=>t.markClass?e+" "+t.markClass:e,"");i.add(t,r,l.p.mark({class:"cm-lintRange cm-lintRange-"+u+e,diagnostics:s.slice(),inclusiveEnd:s.some(e=>e.to>r)}))}c=r;for(let e=0;e{if(!(t&&0>o.diagnostics.indexOf(t)))if(r){if(0>o.diagnostics.indexOf(r.diagnostic))return!1;r=new nk(r.from,n,r.diagnostic)}else r=new nk(e,n,t||o.diagnostics[0])}),r}function nE(e,t){let n=t.pos,r=t.end||n,o=e.state.facet(nD).hideOn(e,n,r);if(null!=o)return o;let i=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(e=>e.is(nM))||e.changes.touchesRange(i.from,Math.max(i.to,r)))}function nO(e,t){return e.field(nZ,!1)?t:t.concat(a.Py.appendConfig.of(nY))}let nM=a.Py.define(),nI=a.Py.define(),nN=a.Py.define(),nZ=a.QQ.define({create:()=>new nC(l.p.none,null,null),update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),r=null,o=e.panel;if(e.selected){let o=t.changes.mapPos(e.selected.from,1);r=n$(n,e.selected.diagnostic,o)||n$(n,null,o)}!n.size&&o&&t.state.facet(nD).autoPanel&&(o=null),e=new nC(n,o,r)}for(let n of t.effects)if(n.is(nM)){let r=t.state.facet(nD).autoPanel?n.value.length?nH.open:null:e.panel;e=nC.init(n.value,r,t.state)}else n.is(nI)?e=new nC(e.diagnostics,n.value?nH.open:null,e.selected):n.is(nN)&&(e=new nC(e.diagnostics,e.panel,n.value));return e},provide:e=>[l.mH.from(e,e=>e.panel),l.tk.decorations.from(e,e=>e.diagnostics)]}),nR=l.p.mark({class:"cm-lintRange cm-lintRange-active"});function nT(e,t,n){let{diagnostics:r}=e.state.field(nZ),o,i=-1,a=-1;r.between(t-(n<0),t+ +(n>0),(e,r,{spec:l})=>{if(t>=e&&t<=r&&(e==r||(t>e||n>0)&&(t({dom:nP(e,o)})}:null}function nP(e,t){return(0,ty.Z)("ul",{class:"cm-tooltip-lint"},t.map(t=>nz(e,t,!1)))}let nj=e=>{let t=e.state.field(nZ,!1);return!!t&&!!t.panel&&(e.dispatch({effects:nI.of(!1)}),!0)},nA=[{key:"Mod-Shift-m",run:e=>{let t=e.state.field(nZ,!1);t&&t.panel||e.dispatch({effects:nO(e.state,[nI.of(!0)])});let n=(0,l.Sd)(e,nH.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},preventDefault:!0},{key:"F8",run:e=>{let t=e.state.field(nZ,!1);if(!t)return!1;let n=e.state.selection.main,r=t.diagnostics.iter(n.to+1);return(!!r.value||!!(r=t.diagnostics.iter(0)).value&&(r.from!=n.from||r.to!=n.to))&&(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),!0)}}],nD=a.r$.define({combine:e=>Object.assign({sources:e.map(e=>e.source).filter(e=>null!=e)},(0,a.BO)(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t}))});function n_(e){let t=[];if(e)i:for(let{name:n}of e){for(let e=0;ee.toLowerCase()==r.toLowerCase())){t.push(r);continue i}}t.push("")}return t}function nz(e,t,n){var r;let o=n?n_(t.actions):[];return(0,ty.Z)("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},(0,ty.Z)("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),null==(r=t.actions)?void 0:r.map((n,r)=>{let i=!1,a=r=>{if(r.preventDefault(),i)return;i=!0;let o=n$(e.state.field(nZ).diagnostics,t);o&&n.apply(e,o.from,o.to)},{name:l}=n,s=o[r]?l.indexOf(o[r]):-1,c=s<0?l:[l.slice(0,s),(0,ty.Z)("u",l.slice(s,s+1)),l.slice(s+1)];return(0,ty.Z)("button",{type:"button",class:"cm-diagnosticAction",onclick:a,onmousedown:a,"aria-label":` Action: ${l}${s<0?"":` (access key "${o[r]})"`}.`},c)}),t.source&&(0,ty.Z)("div",{class:"cm-diagnosticSource"},t.source))}class nL extends l.l9{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return(0,ty.Z)("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class nB{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(0xffffffff*Math.random()).toString(16),this.dom=nz(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class nH{constructor(e){this.view=e,this.items=[];let t=t=>{if(27==t.keyCode)nj(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65)||!(t.keyCode<=90)||!(this.selectedIndex>=0))return;let{diagnostic:n}=this.items[this.selectedIndex],r=n_(n.actions);for(let o=0;o{for(let t=0;tnj(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(nZ).selected;if(!e)return -1;for(let t=0;t{for(let e of l.diagnostics){if(i.has(e))continue;i.add(e);let a=-1,l;for(let t=n;tn&&(this.items.splice(n,a-n),r=!0)),t&&l.diagnostic==t.diagnostic?l.dom.hasAttribute("aria-selected")||(l.dom.setAttribute("aria-selected","true"),o=l):l.dom.hasAttribute("aria-selected")&&l.dom.removeAttribute("aria-selected"),n++}});n({sel:o.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let n=t.height/this.list.offsetHeight;e.topt.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/n)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=n$(this.view.state.field(nZ).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:nN.of(t)})}static open(e){return new nH(e)}}function nF(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(e)}')`}function nW(e){return nF(``,'width="6" height="3"')}let nV=l.tk.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:nW("#d11")},".cm-lintRange-warning":{backgroundImage:nW("orange")},".cm-lintRange-info":{backgroundImage:nW("#999")},".cm-lintRange-hint":{backgroundImage:nW("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});function nq(e){return"error"==e?4:"warning"==e?3:"info"==e?2:1}function nK(e){let t="hint",n=1;for(let r of e){let e=nq(r.severity);e>n&&(n=e,t=r.severity)}return t}function nX(e,t){let n=r=>{let o=t.getBoundingClientRect();if(!(r.clientX>o.left-10)||!(r.clientXo.top-10)||!(r.clientYnull,update:(e,t)=>(e&&t.docChanged&&(e=nE(t,e)?null:Object.assign(Object.assign({},e),{pos:t.changes.mapPos(e.pos)})),t.effects.reduce((e,t)=>t.is(nU)?t.value:e,e)),provide:e=>l.hJ.from(e)}),nY=[nZ,l.tk.decorations.compute([nZ],e=>{let{selected:t,panel:n}=e.field(nZ);return t&&n&&t.from!=t.to?l.p.set([nR.range(t.from,t.to)]):l.p.none}),(0,l.bF)(nT,{hideOn:nE}),nV],nQ=a.r$.define({combine:e=>(0,a.BO)(e,{hoverTime:300,markerFilter:null,tooltipFilter:null})});var nJ=function(e){void 0===e&&(e={});var{crosshairCursor:t=!1}=e,n=[];!1!==e.closeBracketsKeymap&&(n=n.concat(nS.GA)),!1!==e.defaultKeymap&&(n=n.concat(tv)),!1!==e.searchKeymap&&(n=n.concat(np)),!1!==e.historyKeymap&&(n=n.concat(V)),!1!==e.foldKeymap&&(n=n.concat(s.e7)),!1!==e.completionKeymap&&(n=n.concat(nS.B1)),!1!==e.lintKeymap&&(n=n.concat(nA));var r=[];return!1!==e.lineNumbers&&r.push((0,l.Eu)()),!1!==e.highlightActiveLineGutter&&r.push((0,l.HQ)()),!1!==e.highlightSpecialChars&&r.push((0,l.AE)()),!1!==e.history&&r.push(E()),!1!==e.foldGutter&&r.push((0,s.mi)()),!1!==e.drawSelection&&r.push((0,l.Uw)()),!1!==e.dropCursor&&r.push((0,l.qr)()),!1!==e.allowMultipleSelections&&r.push(a.yy.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&r.push((0,s.nY)()),!1!==e.syntaxHighlighting&&r.push((0,s.nF)(s.R_,{fallback:!0})),!1!==e.bracketMatching&&r.push((0,s.n$)()),!1!==e.closeBrackets&&r.push((0,nS.vQ)()),!1!==e.autocompletion&&r.push((0,nS.ys)()),!1!==e.rectangularSelection&&r.push((0,l.Zs)()),!1!==t&&r.push((0,l.S2)()),!1!==e.highlightActiveLine&&r.push((0,l.ZO)()),!1!==e.highlightSelectionMatches&&r.push(tD()),e.tabSize&&"number"==typeof e.tabSize&&r.push(s.c.of(" ".repeat(e.tabSize))),r.concat([l.$f.of(n.flat())]).filter(Boolean)},n0=function(e){void 0===e&&(e={});var t=[];!1!==e.defaultKeymap&&(t=t.concat(tv)),!1!==e.historyKeymap&&(t=t.concat(V));var n=[];return!1!==e.highlightSpecialChars&&n.push((0,l.AE)()),!1!==e.history&&n.push(E()),!1!==e.drawSelection&&n.push((0,l.Uw)()),!1!==e.syntaxHighlighting&&n.push((0,s.nF)(s.R_,{fallback:!0})),n.concat([l.$f.of(t.flat())]).filter(Boolean)},n1=n(26644);let n2="#e5c07b",n4="#e06c75",n3="#56b6c2",n5="#ffffff",n8="#abb2bf",n6="#7d8799",n7="#61afef",n9="#98c379",re="#d19a66",rt="#c678dd",rn="#21252b",rr="#2c313a",ro="#282c34",ri="#353a42",ra="#3E4451",rl="#528bff",rs={chalky:n2,coral:n4,cyan:n3,invalid:n5,ivory:n8,stone:n6,malibu:n7,sage:n9,whiskey:re,violet:rt,darkBackground:rn,highlightBackground:rr,background:ro,tooltipBackground:ri,selection:ra,cursor:rl},rc=l.tk.theme({"&":{color:n8,backgroundColor:ro},".cm-content":{caretColor:rl},".cm-cursor, .cm-dropCursor":{borderLeftColor:rl},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:ra},".cm-panels":{backgroundColor:rn,color:n8},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:ro,color:n6,border:"none"},".cm-activeLineGutter":{backgroundColor:rr},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:ri},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:ri,borderBottomColor:ri},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:rr,color:n8}}},{dark:!0}),ru=s.Qf.define([{tag:n1.pJ.keyword,color:rt},{tag:[n1.pJ.name,n1.pJ.deleted,n1.pJ.character,n1.pJ.propertyName,n1.pJ.macroName],color:n4},{tag:[n1.pJ.function(n1.pJ.variableName),n1.pJ.labelName],color:n7},{tag:[n1.pJ.color,n1.pJ.constant(n1.pJ.name),n1.pJ.standard(n1.pJ.name)],color:re},{tag:[n1.pJ.definition(n1.pJ.name),n1.pJ.separator],color:n8},{tag:[n1.pJ.typeName,n1.pJ.className,n1.pJ.number,n1.pJ.changed,n1.pJ.annotation,n1.pJ.modifier,n1.pJ.self,n1.pJ.namespace],color:n2},{tag:[n1.pJ.operator,n1.pJ.operatorKeyword,n1.pJ.url,n1.pJ.escape,n1.pJ.regexp,n1.pJ.link,n1.pJ.special(n1.pJ.string)],color:n3},{tag:[n1.pJ.meta,n1.pJ.comment],color:n6},{tag:n1.pJ.strong,fontWeight:"bold"},{tag:n1.pJ.emphasis,fontStyle:"italic"},{tag:n1.pJ.strikethrough,textDecoration:"line-through"},{tag:n1.pJ.link,color:n6,textDecoration:"underline"},{tag:n1.pJ.heading,fontWeight:"bold",color:n4},{tag:[n1.pJ.atom,n1.pJ.bool,n1.pJ.special(n1.pJ.variableName)],color:re},{tag:[n1.pJ.processingInstruction,n1.pJ.string,n1.pJ.inserted],color:n9},{tag:n1.pJ.invalid,color:n5}]),rd=[rc,(0,s.nF)(ru)];var rf=l.tk.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),rh=function(e){void 0===e&&(e={});var{indentWithTab:t=!0,editable:n=!0,readOnly:r=!1,theme:o="light",placeholder:i="",basicSetup:s=!0}=e,c=[];switch(t&&c.unshift(l.$f.of([tb])),s&&("boolean"==typeof s?c.unshift(nJ()):c.unshift(nJ(s))),i&&c.unshift((0,l.W$)(i)),o){case"light":c.push(rf);break;case"dark":c.push(rd);break;case"none":break;default:c.push(o)}return!1===n&&c.push(l.tk.editable.of(!1)),r&&c.push(a.yy.readOnly.of(!0)),[...c]},rp=e=>({line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map(t=>e.state.sliceDoc(t.from,t.to)),selectedText:e.state.selection.ranges.some(e=>!e.empty)}),rm=a.q6.define(),rg=[];function rv(e){var{value:t,selection:n,onChange:r,onStatistics:o,onCreateEditor:s,onUpdate:c,extensions:u=rg,autoFocus:d,theme:f="light",height:h=null,minHeight:p=null,maxHeight:m=null,width:g=null,minWidth:v=null,maxWidth:b=null,placeholder:y="",editable:w=!0,readOnly:x=!1,indentWithTab:S=!0,basicSetup:k=!0,root:C,initialState:$}=e,[E,O]=(0,i.useState)(),[M,I]=(0,i.useState)(),[N,Z]=(0,i.useState)(),R=l.tk.theme({"&":{height:h,minHeight:p,maxHeight:m,width:g,minWidth:v,maxWidth:b},"& .cm-scroller":{height:"100% !important"}}),T=[l.tk.updateListener.of(e=>{e.docChanged&&"function"==typeof r&&!e.transactions.some(e=>e.annotation(rm))&&r(e.state.doc.toString(),e),o&&o(rp(e))}),R,...rh({theme:f,editable:w,readOnly:x,placeholder:y,indentWithTab:S,basicSetup:k})];return c&&"function"==typeof c&&T.push(l.tk.updateListener.of(c)),T=T.concat(u),(0,i.useLayoutEffect)(()=>{if(E&&!N){var e={doc:t,selection:n,extensions:T},r=$?a.yy.fromJSON($.json,e,$.fields):a.yy.create(e);if(Z(r),!M){var o=new l.tk({state:r,parent:E,root:C});I(o),s&&s(o,r)}}return()=>{M&&(Z(void 0),I(void 0))}},[E,N]),(0,i.useEffect)(()=>{e.container&&O(e.container)},[e.container]),(0,i.useEffect)(()=>()=>{M&&(M.destroy(),I(void 0))},[M]),(0,i.useEffect)(()=>{d&&M&&M.focus()},[d,M]),(0,i.useEffect)(()=>{M&&M.dispatch({effects:a.Py.reconfigure.of(T)})},[f,u,h,p,m,g,v,b,y,w,x,S,k,r,c]),(0,i.useEffect)(()=>{if(void 0!==t){var e=M?M.state.doc.toString():"";M&&t!==e&&M.dispatch({changes:{from:0,to:e.length,insert:t||""},annotations:[rm.of(!0)]})}},[t,M]),{state:N,setState:Z,view:M,setView:I,container:E,setContainer:O}}var rb=n(85893),ry=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],rw=(0,i.forwardRef)((e,t)=>{var{className:n,value:a="",selection:l,extensions:s=[],onChange:c,onStatistics:u,onCreateEditor:d,onUpdate:f,autoFocus:h,theme:p="light",height:m,minHeight:g,maxHeight:v,width:b,minWidth:y,maxWidth:w,basicSetup:x,placeholder:S,indentWithTab:k,editable:C,readOnly:$,root:E,initialState:O}=e,M=(0,o.Z)(e,ry),I=(0,i.useRef)(null),{state:N,view:Z,container:R,setContainer:T}=rv({root:E,value:a,autoFocus:h,theme:p,height:m,minHeight:g,maxHeight:v,width:b,minWidth:y,maxWidth:w,basicSetup:x,placeholder:S,indentWithTab:k,editable:C,readOnly:$,selection:l,onChange:c,onStatistics:u,onCreateEditor:d,onUpdate:f,extensions:s,initialState:O});(0,i.useImperativeHandle)(t,()=>({editor:I.current,state:N,view:Z}),[I,R,N,Z]);var P=(0,i.useCallback)(e=>{I.current=e,T(e)},[T]);if("string"!=typeof a)throw Error("value must be typeof string but got "+typeof a);var j="string"==typeof p?"cm-theme-"+p:"cm-theme";return(0,rb.jsx)("div",(0,r.Z)({ref:P,className:""+j+(n?" "+n:"")},M))});rw.displayName="CodeMirror";let rx=rw},84260:function(e,t,n){"use strict";function r(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];"string"==typeof i?e.setAttribute(r,i):null!=i&&(e[r]=i)}t++}for(;tr})},83427:function(e,t,n){"use strict";n.r(t),n.d(t,{METADATA_KEY:()=>t$,named:()=>tm,postConstruct:()=>tk,ContainerModule:()=>to,tagged:()=>tp,taggedConstraint:()=>e1,targetName:()=>tx,LazyServiceIdentifier:()=>o,inject:()=>tv,optional:()=>tb,injectable:()=>th,typeConstraint:()=>e4,unmanaged:()=>ty,id:()=>eo,AsyncContainerModule:()=>ti,getServiceIdentifierAsString:()=>em,preDestroy:()=>tC,traverseAncerstors:()=>e0,MetadataReader:()=>eh,TargetTypeEnum:()=>en,decorate:()=>tf,multiBindToService:()=>eD,namedConstraint:()=>e2,Container:()=>tr,createTaggedDecorator:()=>tc,BindingScopeEnum:()=>ee,BindingTypeEnum:()=>et,multiInject:()=>tw}),n(14691);let r=Symbol.for("@inversifyjs/common/islazyServiceIdentifier");class o{[r];#e;constructor(e){this.#e=e,this[r]=!0}static is(e){return"object"==typeof e&&null!==e&&!0===e[r]}unwrap(){return this.#e()}}function i(e,t){return Reflect.getMetadata(t,e)}function a(e,t,n,r){let o=r(i(e,t)??n);Reflect.defineMetadata(t,o,e)}let l="named",s="name",c="unmanaged",u="optional",d="inject",f="multi_inject",h="post_construct",p="pre_destroy",m=[d,f,s,c,l,u],g=Symbol.for("@inversifyjs/core/InversifyCoreError");class v extends Error{[g];kind;constructor(e,t,n){super(t,n),this[g]=!0,this.kind=e}static is(e){return"object"==typeof e&&null!==e&&!0===e[g]}static isErrorOfKind(e,t){return v.is(e)&&e.kind===t}}function b(e,t){let n=[];for(let e=0;e0)throw new v(U.missingInjectionDecorator,`Found unexpected missing metadata on type "${e.name}" at constructor indexes "${n.join('", "')}". - -Are you using @inject, @multiInject or @unmanaged decorators at those indexes? - -If you're using typescript and want to rely on auto injection, set "emitDecoratorMetadata" compiler option to true`)}function y(e){return{kind:G.singleInjection,name:void 0,optional:!1,tags:new Map,targetName:void 0,value:e}}function w(e){let t=e.find(e=>e.key===d),n=e.find(e=>e.key===f);if(void 0!==e.find(e=>e.key===c))return function(e,t){if(void 0!==t||void 0!==e)throw new v(U.missingInjectionDecorator,"Expected a single @inject, @multiInject or @unmanaged metadata");return{kind:G.unmanaged}}(t,n);if(void 0===n&&void 0===t)throw new v(U.missingInjectionDecorator,"Expected @inject, @multiInject or @unmanaged metadata");let r=e.find(e=>e.key===l),o=e.find(e=>e.key===u),i=e.find(e=>e.key===s);return{kind:void 0===t?G.multipleInjection:G.singleInjection,name:r?.value,optional:void 0!==o,tags:new Map(e.filter(e=>m.every(t=>e.key!==t)).map(e=>[e.key,e.value])),targetName:i?.value,value:void 0===t?n?.value:t.value}}function x(e,t,n){try{return w(n)}catch(n){throw v.isErrorOfKind(n,U.missingInjectionDecorator)?new v(U.missingInjectionDecorator,`Expected a single @inject, @multiInject or @unmanaged decorator at type "${e.name}" at constructor arguments at index "${t.toString()}"`,{cause:n}):n}}function S(e){let t=i(e,"design:paramtypes"),n=i(e,"inversify:tagged"),r=[];if(void 0!==n)for(let[t,o]of Object.entries(n)){let n=parseInt(t);r[n]=x(e,n,o)}if(void 0!==t){for(let e=0;eNumber.MIN_SAFE_INTEGER):a(Object,T,e,e=>e+1),e}(),this.#r=e,this.#o=void 0,this.#e=t,this.#i=new R("string"==typeof e?e:e.toString().slice(7,-1)),this.#a=n}get id(){return this.#n}get identifier(){return this.#r}get metadata(){return void 0===this.#o&&(this.#o=N(this.#e)),this.#o}get name(){return this.#i}get type(){return this.#a}get serviceIdentifier(){return o.is(this.#e.value)?this.#e.value.unwrap():this.#e.value}getCustomTags(){return[...this.#e.tags.entries()].map(([e,t])=>({key:e,value:t}))}getNamedTag(){return void 0===this.#e.name?null:{key:l,value:this.#e.name}}hasTag(e){return this.metadata.some(t=>t.key===e)}isArray(){return this.#e.kind===G.multipleInjection}isNamed(){return void 0!==this.#e.name}isOptional(){return this.#e.optional}isTagged(){return this.#e.tags.size>0}matchesArray(e){return this.isArray()&&this.#e.value===e}matchesNamedTag(e){return this.#e.name===e}matchesTag(e){return t=>this.metadata.some(n=>n.key===e&&n.value===t)}}let j=e=>(function(e,t){return function(n){let r=e(n),o=I(n);for(;void 0!==o&&o!==Object;){for(let[e,n]of t(o))r.properties.has(e)||r.properties.set(e,n);o=I(o)}let i=[];for(let e of r.constructorArguments)if(e.kind!==G.unmanaged){let t=e.targetName??"";i.push(new P(t,e,"ConstructorArgument"))}for(let[e,t]of r.properties)if(t.kind!==G.unmanaged){let n=t.targetName??e;i.push(new P(n,t,"ClassProperty"))}return i}})(void 0===e?$:t=>M(t,e),void 0===e?C:t=>O(t,e)),A="named",D="name",_="unmanaged",z="optional",L="inject",B="multi_inject",H="inversify:tagged",F="inversify:tagged_props",W="inversify:paramtypes",V="design:paramtypes",q="post_construct",K="pre_destroy",X=[L,B,D,_,A,z];var U,G,Y,Q,J=Object.freeze({__proto__:null,DESIGN_PARAM_TYPES:V,INJECT_TAG:L,MULTI_INJECT_TAG:B,NAMED_TAG:A,NAME_TAG:D,NON_CUSTOM_TAG_KEYS:X,OPTIONAL_TAG:z,PARAM_TYPES:W,POST_CONSTRUCT:q,PRE_DESTROY:K,TAGGED:H,TAGGED_PROP:F,UNMANAGED_TAG:_});let ee={Request:"Request",Singleton:"Singleton",Transient:"Transient"},et={ConstantValue:"ConstantValue",Constructor:"Constructor",DynamicValue:"DynamicValue",Factory:"Factory",Function:"Function",Instance:"Instance",Invalid:"Invalid",Provider:"Provider"},en={ClassProperty:"ClassProperty",ConstructorArgument:"ConstructorArgument",Variable:"Variable"},er=0;function eo(){return er++}class ei{id;moduleId;activated;serviceIdentifier;implementationType;cache;dynamicValue;scope;type;factory;provider;constraint;onActivation;onDeactivation;constructor(e,t){this.id=eo(),this.activated=!1,this.serviceIdentifier=e,this.scope=t,this.type=et.Invalid,this.constraint=e=>!0,this.implementationType=null,this.cache=null,this.factory=null,this.provider=null,this.onActivation=null,this.onDeactivation=null,this.dynamicValue=null}clone(){let e=new ei(this.serviceIdentifier,this.scope);return e.activated=e.scope===ee.Singleton&&this.activated,e.implementationType=this.implementationType,e.dynamicValue=this.dynamicValue,e.scope=this.scope,e.type=this.type,e.factory=this.factory,e.provider=this.provider,e.constraint=this.constraint,e.onActivation=this.onActivation,e.onDeactivation=this.onDeactivation,e.cache=this.cache,e}}let ea="Metadata key was used more than once in a parameter:",el="NULL argument",es="Key Not Found",ec="Ambiguous match found for serviceIdentifier:",eu="No matching bindings found for serviceIdentifier:",ed="The @inject @multiInject @tagged and @named decorators must be applied to the parameters of a class constructor or a class property.",ef=(e,t)=>`onDeactivation() error in class ${e}: ${t}`;class eh{getConstructorMetadata(e){return{compilerGeneratedMetadata:Reflect.getMetadata(V,e)??[],userGeneratedMetadata:Reflect.getMetadata(H,e)??{}}}getPropertiesMetadata(e){return Reflect.getMetadata(F,e)??{}}}function ep(e){return e instanceof RangeError||"Maximum call stack size exceeded"===e.message}function em(e){return"function"==typeof e?e.name:"symbol"==typeof e?e.toString():e}function eg(e,t,n){let r="",o=n(e,t);return 0!==o.length&&(r="\nRegistered bindings:",o.forEach(e=>{let t="Object";null!==e.implementationType&&(t=ey(e.implementationType)),r=`${r} - ${t}`,e.constraint.metaData&&(r=`${r} - ${e.constraint.metaData}`)})),r}function ev(e,t){return null!==e.parentRequest&&(e.parentRequest.serviceIdentifier===t||ev(e.parentRequest,t))}function eb(e){e.childRequests.forEach(t=>{if(ev(e,t.serviceIdentifier)){let e=function(e){return(function e(t,n=[]){let r=em(t.serviceIdentifier);return n.push(r),null!==t.parentRequest?e(t.parentRequest,n):n})(e).reverse().join(" --\x3e ")}(t);throw Error(`Circular dependency found: ${e}`)}eb(t)})}function ey(e){if(null!=e.name&&""!==e.name)return e.name;{let t=e.toString(),n=t.match(/^function\s*([^\s(]+)/);return null===n?`Anonymous function: ${t}`:n[1]}}function ew(e){return`{"key":"${e.key.toString()}","value":"${e.value.toString()}"}`}!function(e){e[e.MultipleBindingsAvailable=2]="MultipleBindingsAvailable",e[e.NoBindingsAvailable=0]="NoBindingsAvailable",e[e.OnlyOneBindingAvailable=1]="OnlyOneBindingAvailable"}(Y||(Y={}));class ex{id;container;plan;currentRequest;constructor(e){this.id=eo(),this.container=e}addPlan(e){this.plan=e}setCurrentRequest(e){this.currentRequest=e}}class eS{key;value;constructor(e,t){this.key=e,this.value=t}toString(){return this.key===A?`named: ${String(this.value).toString()} `:`tagged: { key:${this.key.toString()}, value: ${String(this.value)} }`}}class ek{parentContext;rootRequest;constructor(e,t){this.parentContext=e,this.rootRequest=t}}function eC(e,t){let n=function(e){let t=Object.getPrototypeOf(e.prototype);return t?.constructor}(t);if(void 0===n||n===Object)return 0;let r=j(e)(n),o=r.map(e=>e.metadata.filter(e=>e.key===_)),i=[].concat.apply([],o).length,a=r.length-i;return a>0?a:eC(e,n)}class e${id;serviceIdentifier;parentContext;parentRequest;bindings;childRequests;target;requestScope;constructor(e,t,n,r,o){this.id=eo(),this.serviceIdentifier=e,this.parentContext=t,this.parentRequest=n,this.target=o,this.childRequests=[],this.bindings=Array.isArray(r)?r:[r],this.requestScope=null===n?new Map:null}addChildRequest(e,t,n){let r=new e$(e,this.parentContext,this,t,n);return this.childRequests.push(r),r}}function eE(e){return e._bindingDictionary}function eO(e,t,n,r,o){let i=eN(n.container,o.serviceIdentifier),a=[];return i.length===Y.NoBindingsAvailable&&!0===n.container.options.autoBindInjectable&&"function"==typeof o.serviceIdentifier&&e.getConstructorMetadata(o.serviceIdentifier).compilerGeneratedMetadata&&(n.container.bind(o.serviceIdentifier).toSelf(),i=eN(n.container,o.serviceIdentifier)),a=t?i:i.filter(e=>{let t=new e$(e.serviceIdentifier,n,r,e,o);return e.constraint(t)}),function(e,t,n,r,o){switch(t.length){case Y.NoBindingsAvailable:if(r.isOptional())return;{let t=em(e),i=eu;throw i+=function(e,t){if(t.isTagged()||t.isNamed()){let n="",r=t.getNamedTag(),o=t.getCustomTags();return null!==r&&(n+=ew(r)+"\n"),null!==o&&o.forEach(e=>{n+=ew(e)+"\n"}),` ${e} - ${e} - ${n}`}return` ${e}`}(t,r),i+=eg(o,t,eN),null!==n&&(i+=` -Trying to resolve bindings for "${em(n.serviceIdentifier)}"`),Error(i)}case Y.OnlyOneBindingAvailable:return;case Y.MultipleBindingsAvailable:default:if(r.isArray())return;{let t=em(e),n=`${ec} ${t}`;throw Error(n+=eg(o,t,eN))}}}(o.serviceIdentifier,a,r,o,n.container),a}function eM(e,t,n,r){let o=[new eS(e?B:L,t)];return void 0!==n&&o.push(new eS(n,r)),o}function eI(e,t,n,r,o,i){let a,l;if(null===o){a=eO(e,t,r,null,i),l=new e$(n,r,null,a,i);let o=new ek(r,l);r.addPlan(o)}else a=eO(e,t,r,o,i),l=o.addChildRequest(i.serviceIdentifier,a,i);a.forEach(t=>{let n=null;if(i.isArray())n=l.addChildRequest(t.serviceIdentifier,t,i);else{if(null!==t.cache)return;n=l}if(t.type===et.Instance&&null!==t.implementationType){let o=function(e,t){return j(e)(t)}(e,t.implementationType);if(!0!==r.container.options.skipBaseClassChecks){let n=eC(e,t.implementationType);if(o.length= than the number of constructor arguments of its base class.`)}o.forEach(t=>{eI(e,!1,t.serviceIdentifier,r,n,t)})}})}function eN(e,t){let n=[],r=eE(e);return r.hasKey(t)?n=r.get(t):null!==e.parent&&(n=eN(e.parent,t)),n}function eZ(e,t,n,r,o,i,a,l=!1){let s=new ex(t),c=function(e,t,n,r,o,i){let a=w(eM(e,n,o,i));if(a.kind===G.unmanaged)throw Error("Unexpected metadata when creating target");return new P("",a,t)}(n,r,o,0,i,a);try{return eI(e,l,o,s,null,c),s}catch(e){throw ep(e)&&eb(s.plan.rootRequest),e}}function eR(e){return("object"==typeof e&&null!==e||"function"==typeof e)&&"function"==typeof e.then}function eT(e){return!!eR(e)||Array.isArray(e)&&e.some(eR)}let eP=(e,t,n)=>{e.has(t.id)||e.set(t.id,n)},ej=(e,t)=>{e.cache=t,e.activated=!0,eR(t)&&eA(e,t)},eA=async(e,t)=>{try{e.cache=await t}catch(t){throw e.cache=null,e.activated=!1,t}};!function(e){e.DynamicValue="toDynamicValue",e.Factory="toFactory",e.Provider="toProvider"}(Q||(Q={}));let eD=e=>t=>(...n)=>{n.forEach(n=>{e.bind(n).toService(t)})};function e_(e,t,n){let r;if(t.length>0){let o=function(e,t){return e.reduce((e,n)=>{let r=t(n);return n.target.type===en.ConstructorArgument?e.constructorInjections.push(r):(e.propertyRequests.push(n),e.propertyInjections.push(r)),e.isAsync||(e.isAsync=eT(r)),e},{constructorInjections:[],isAsync:!1,propertyInjections:[],propertyRequests:[]})}(t,n),i={...o,constr:e};r=o.isAsync?async function(e){let t=await eL(e.constructorInjections),n=await eL(e.propertyInjections);return ez({...e,constructorInjections:t,propertyInjections:n})}(i):ez(i)}else r=new e;return r}function ez(e){let t=new e.constr(...e.constructorInjections);return e.propertyRequests.forEach((n,r)=>{let o=n.target.identifier,i=e.propertyInjections[r];n.target.isOptional()&&void 0===i||(t[o]=i)}),t}async function eL(e){let t=[];for(let n of e)Array.isArray(n)?t.push(Promise.all(n)):t.push(n);return Promise.all(t)}function eB(e,t){let n=function(e,t){var n,r;if(Reflect.hasMetadata(q,e)){let o=Reflect.getMetadata(q,e);try{return t[o.value]?.()}catch(t){if(t instanceof Error)throw Error((n=e.name,r=t.message,`@postConstruct error in class ${n}: ${r}`))}}}(e,t);return eR(n)?n.then(()=>t):t}function eH(e,t){e.scope!==ee.Singleton&&function(e,t){let n=`Class cannot be instantiated in ${e.scope===ee.Request?"request":"transient"} scope.`;if("function"==typeof e.onDeactivation)throw Error(ef(t.name,n));if(Reflect.hasMetadata(K,t))throw Error(`@preDestroy error in class ${t.name}: ${n}`)}(e,t)}let eF=e=>t=>{t.parentContext.setCurrentRequest(t);let n=t.bindings,r=t.childRequests,o=t.target&&t.target.isArray(),i=!(t.parentRequest&&t.parentRequest.target&&t.target&&t.parentRequest.target.matchesArray(t.target.serviceIdentifier));return o&&i?r.map(t=>eF(e)(t)):t.target.isOptional()&&0===n.length?void 0:eK(e,t,n[0])},eW=(e,t)=>{let n=(e=>{switch(e.type){case et.Factory:return{factory:e.factory,factoryType:Q.Factory};case et.Provider:return{factory:e.provider,factoryType:Q.Provider};case et.DynamicValue:return{factory:e.dynamicValue,factoryType:Q.DynamicValue};default:throw Error(`Unexpected factory type ${e.type}`)}})(e);return((e,t)=>{try{return e()}catch(e){if(ep(e))throw t();throw e}})(()=>n.factory.bind(e)(t),()=>{var e,r;return Error((e=n.factoryType,r=t.currentRequest.serviceIdentifier.toString(),`It looks like there is a circular dependency in one of the '${e}' bindings. Please investigate bindings with service identifier '${r}'.`))})},eV=(e,t,n)=>{let r,o=t.childRequests;switch((e=>{let t=null;switch(e.type){case et.ConstantValue:case et.Function:t=e.cache;break;case et.Constructor:case et.Instance:t=e.implementationType;break;case et.DynamicValue:t=e.dynamicValue;break;case et.Provider:t=e.provider;break;case et.Factory:t=e.factory}if(null===t){let t=em(e.serviceIdentifier);throw Error(`Invalid binding type: ${t}`)}})(n),n.type){case et.ConstantValue:case et.Function:r=n.cache;break;case et.Constructor:r=n.implementationType;break;case et.Instance:r=function(e,t,n,r){eH(e,t);let o=e_(t,n,r);return eR(o)?o.then(e=>eB(t,e)):eB(t,o)}(n,n.implementationType,o,eF(e));break;default:r=eW(n,t.parentContext)}return r},eq=(e,t,n)=>{let r,o,i=(r=e,(o=t).scope===ee.Singleton&&o.activated?o.cache:o.scope===ee.Request&&r.has(o.id)?r.get(o.id):null);return null!==i||((e,t,n)=>{t.scope===ee.Singleton&&ej(t,n),t.scope===ee.Request&&eP(e,t,n)})(e,t,i=n()),i},eK=(e,t,n)=>eq(e,n,()=>{let r=eV(e,t,n);return eR(r)?r.then(e=>eX(t,n,e)):eX(t,n,r)});function eX(e,t,n){let r=eU(e.parentContext,t,n),o=eJ(e.parentContext.container),i,a=o.next();do{i=a.value;let t=e.parentContext,n=eQ(i,e.serviceIdentifier);r=eR(r)?eY(n,t,r):eG(n,t,r),a=o.next()}while(!0!==a.done&&!eE(i).hasKey(e.serviceIdentifier));return r}let eU=(e,t,n)=>"function"==typeof t.onActivation?t.onActivation(e,n):n,eG=(e,t,n)=>{let r=e.next();for(;!0!==r.done;){if(eR(n=r.value(t,n)))return eY(e,t,n);r=e.next()}return n},eY=async(e,t,n)=>{let r=await n,o=e.next();for(;!0!==o.done;)r=await o.value(t,r),o=e.next();return r},eQ=(e,t)=>{let n=e._activations;return n.hasKey(t)?n.get(t).values():[].values()},eJ=e=>{let t=[e],n=e.parent;for(;null!==n;)t.push(n),n=n.parent;return{next:()=>{let e=t.pop();return void 0!==e?{done:!1,value:e}:{done:!0,value:void 0}}}},e0=(e,t)=>{let n=e.parentRequest;return null!==n&&(!!t(n)||e0(n,t))},e1=e=>t=>{let n=n=>null!==n&&null!==n.target&&n.target.matchesTag(e)(t);return n.metaData=new eS(e,t),n},e2=e1(A),e4=e=>t=>{let n=null;return null!==t&&((n=t.bindings[0],"string"==typeof e)?n.serviceIdentifier===e:e===t.bindings[0].implementationType)};class e3{_binding;constructor(e){this._binding=e}when(e){return this._binding.constraint=e,new e5(this._binding)}whenTargetNamed(e){return this._binding.constraint=e2(e),new e5(this._binding)}whenTargetIsDefault(){return this._binding.constraint=e=>null!==e&&null!==e.target&&!e.target.isNamed()&&!e.target.isTagged(),new e5(this._binding)}whenTargetTagged(e,t){return this._binding.constraint=e1(e)(t),new e5(this._binding)}whenInjectedInto(e){return this._binding.constraint=t=>null!==t&&e4(e)(t.parentRequest),new e5(this._binding)}whenParentNamed(e){return this._binding.constraint=t=>null!==t&&e2(e)(t.parentRequest),new e5(this._binding)}whenParentTagged(e,t){return this._binding.constraint=n=>null!==n&&e1(e)(t)(n.parentRequest),new e5(this._binding)}whenAnyAncestorIs(e){return this._binding.constraint=t=>null!==t&&e0(t,e4(e)),new e5(this._binding)}whenNoAncestorIs(e){return this._binding.constraint=t=>null!==t&&!e0(t,e4(e)),new e5(this._binding)}whenAnyAncestorNamed(e){return this._binding.constraint=t=>null!==t&&e0(t,e2(e)),new e5(this._binding)}whenNoAncestorNamed(e){return this._binding.constraint=t=>null!==t&&!e0(t,e2(e)),new e5(this._binding)}whenAnyAncestorTagged(e,t){return this._binding.constraint=n=>null!==n&&e0(n,e1(e)(t)),new e5(this._binding)}whenNoAncestorTagged(e,t){return this._binding.constraint=n=>null!==n&&!e0(n,e1(e)(t)),new e5(this._binding)}whenAnyAncestorMatches(e){return this._binding.constraint=t=>null!==t&&e0(t,e),new e5(this._binding)}whenNoAncestorMatches(e){return this._binding.constraint=t=>null!==t&&!e0(t,e),new e5(this._binding)}}class e5{_binding;constructor(e){this._binding=e}onActivation(e){return this._binding.onActivation=e,new e3(this._binding)}onDeactivation(e){return this._binding.onDeactivation=e,new e3(this._binding)}}class e8{_bindingWhenSyntax;_bindingOnSyntax;_binding;constructor(e){this._binding=e,this._bindingWhenSyntax=new e3(this._binding),this._bindingOnSyntax=new e5(this._binding)}when(e){return this._bindingWhenSyntax.when(e)}whenTargetNamed(e){return this._bindingWhenSyntax.whenTargetNamed(e)}whenTargetIsDefault(){return this._bindingWhenSyntax.whenTargetIsDefault()}whenTargetTagged(e,t){return this._bindingWhenSyntax.whenTargetTagged(e,t)}whenInjectedInto(e){return this._bindingWhenSyntax.whenInjectedInto(e)}whenParentNamed(e){return this._bindingWhenSyntax.whenParentNamed(e)}whenParentTagged(e,t){return this._bindingWhenSyntax.whenParentTagged(e,t)}whenAnyAncestorIs(e){return this._bindingWhenSyntax.whenAnyAncestorIs(e)}whenNoAncestorIs(e){return this._bindingWhenSyntax.whenNoAncestorIs(e)}whenAnyAncestorNamed(e){return this._bindingWhenSyntax.whenAnyAncestorNamed(e)}whenAnyAncestorTagged(e,t){return this._bindingWhenSyntax.whenAnyAncestorTagged(e,t)}whenNoAncestorNamed(e){return this._bindingWhenSyntax.whenNoAncestorNamed(e)}whenNoAncestorTagged(e,t){return this._bindingWhenSyntax.whenNoAncestorTagged(e,t)}whenAnyAncestorMatches(e){return this._bindingWhenSyntax.whenAnyAncestorMatches(e)}whenNoAncestorMatches(e){return this._bindingWhenSyntax.whenNoAncestorMatches(e)}onActivation(e){return this._bindingOnSyntax.onActivation(e)}onDeactivation(e){return this._bindingOnSyntax.onDeactivation(e)}}class e6{_binding;constructor(e){this._binding=e}inRequestScope(){return this._binding.scope=ee.Request,new e8(this._binding)}inSingletonScope(){return this._binding.scope=ee.Singleton,new e8(this._binding)}inTransientScope(){return this._binding.scope=ee.Transient,new e8(this._binding)}}class e7{_bindingInSyntax;_bindingWhenSyntax;_bindingOnSyntax;_binding;constructor(e){this._binding=e,this._bindingWhenSyntax=new e3(this._binding),this._bindingOnSyntax=new e5(this._binding),this._bindingInSyntax=new e6(e)}inRequestScope(){return this._bindingInSyntax.inRequestScope()}inSingletonScope(){return this._bindingInSyntax.inSingletonScope()}inTransientScope(){return this._bindingInSyntax.inTransientScope()}when(e){return this._bindingWhenSyntax.when(e)}whenTargetNamed(e){return this._bindingWhenSyntax.whenTargetNamed(e)}whenTargetIsDefault(){return this._bindingWhenSyntax.whenTargetIsDefault()}whenTargetTagged(e,t){return this._bindingWhenSyntax.whenTargetTagged(e,t)}whenInjectedInto(e){return this._bindingWhenSyntax.whenInjectedInto(e)}whenParentNamed(e){return this._bindingWhenSyntax.whenParentNamed(e)}whenParentTagged(e,t){return this._bindingWhenSyntax.whenParentTagged(e,t)}whenAnyAncestorIs(e){return this._bindingWhenSyntax.whenAnyAncestorIs(e)}whenNoAncestorIs(e){return this._bindingWhenSyntax.whenNoAncestorIs(e)}whenAnyAncestorNamed(e){return this._bindingWhenSyntax.whenAnyAncestorNamed(e)}whenAnyAncestorTagged(e,t){return this._bindingWhenSyntax.whenAnyAncestorTagged(e,t)}whenNoAncestorNamed(e){return this._bindingWhenSyntax.whenNoAncestorNamed(e)}whenNoAncestorTagged(e,t){return this._bindingWhenSyntax.whenNoAncestorTagged(e,t)}whenAnyAncestorMatches(e){return this._bindingWhenSyntax.whenAnyAncestorMatches(e)}whenNoAncestorMatches(e){return this._bindingWhenSyntax.whenNoAncestorMatches(e)}onActivation(e){return this._bindingOnSyntax.onActivation(e)}onDeactivation(e){return this._bindingOnSyntax.onDeactivation(e)}}class e9{_binding;constructor(e){this._binding=e}to(e){return this._binding.type=et.Instance,this._binding.implementationType=e,new e7(this._binding)}toSelf(){if("function"!=typeof this._binding.serviceIdentifier)throw Error("The toSelf function can only be applied when a constructor is used as service identifier");let e=this._binding.serviceIdentifier;return this.to(e)}toConstantValue(e){return this._binding.type=et.ConstantValue,this._binding.cache=e,this._binding.dynamicValue=null,this._binding.implementationType=null,this._binding.scope=ee.Singleton,new e8(this._binding)}toDynamicValue(e){return this._binding.type=et.DynamicValue,this._binding.cache=null,this._binding.dynamicValue=e,this._binding.implementationType=null,new e7(this._binding)}toConstructor(e){return this._binding.type=et.Constructor,this._binding.implementationType=e,this._binding.scope=ee.Singleton,new e8(this._binding)}toFactory(e){return this._binding.type=et.Factory,this._binding.factory=e,this._binding.scope=ee.Singleton,new e8(this._binding)}toFunction(e){if("function"!=typeof e)throw Error("Value provided to function binding must be a function!");let t=this.toConstantValue(e);return this._binding.type=et.Function,this._binding.scope=ee.Singleton,t}toAutoFactory(e){return this._binding.type=et.Factory,this._binding.factory=t=>()=>t.container.get(e),this._binding.scope=ee.Singleton,new e8(this._binding)}toAutoNamedFactory(e){return this._binding.type=et.Factory,this._binding.factory=t=>n=>t.container.getNamed(e,n),new e8(this._binding)}toProvider(e){return this._binding.type=et.Provider,this._binding.provider=e,this._binding.scope=ee.Singleton,new e8(this._binding)}toService(e){this._binding.type=et.DynamicValue,Object.defineProperty(this._binding,"cache",{configurable:!0,enumerable:!0,get:()=>null,set(e){}}),this._binding.dynamicValue=t=>{try{return t.container.get(e)}catch(n){return t.container.getAsync(e)}},this._binding.implementationType=null}}class te{bindings;activations;deactivations;middleware;moduleActivationStore;static of(e,t,n,r,o){let i=new te;return i.bindings=e,i.middleware=t,i.deactivations=r,i.activations=n,i.moduleActivationStore=o,i}}class tt{_map;constructor(){this._map=new Map}getMap(){return this._map}add(e,t){if(this._checkNonNulish(e),null==t)throw Error(el);let n=this._map.get(e);void 0!==n?n.push(t):this._map.set(e,[t])}get(e){this._checkNonNulish(e);let t=this._map.get(e);if(void 0!==t)return t;throw Error(es)}remove(e){if(this._checkNonNulish(e),!this._map.delete(e))throw Error(es)}removeIntersection(e){this.traverse((t,n)=>{let r=e.hasKey(t)?e.get(t):void 0;if(void 0!==r){let e=n.filter(e=>!r.some(t=>e===t));this._setValue(t,e)}})}removeByCondition(e){let t=[];return this._map.forEach((n,r)=>{let o=[];for(let r of n)e(r)?t.push(r):o.push(r);this._setValue(r,o)}),t}hasKey(e){return this._checkNonNulish(e),this._map.has(e)}clone(){let e=new tt;return this._map.forEach((t,n)=>{t.forEach(t=>{var r;e.add(n,"object"==typeof(r=t)&&null!==r&&"clone"in r&&"function"==typeof r.clone?t.clone():t)})}),e}traverse(e){this._map.forEach((t,n)=>{e(n,t)})}_checkNonNulish(e){if(null==e)throw Error(el)}_setValue(e,t){t.length>0?this._map.set(e,t):this._map.delete(e)}}class tn{_map=new Map;remove(e){let t=this._map.get(e);return void 0===t?this._getEmptyHandlersStore():(this._map.delete(e),t)}addDeactivation(e,t,n){this._getModuleActivationHandlers(e).onDeactivations.add(t,n)}addActivation(e,t,n){this._getModuleActivationHandlers(e).onActivations.add(t,n)}clone(){let e=new tn;return this._map.forEach((t,n)=>{e._map.set(n,{onActivations:t.onActivations.clone(),onDeactivations:t.onDeactivations.clone()})}),e}_getModuleActivationHandlers(e){let t=this._map.get(e);return void 0===t&&(t=this._getEmptyHandlersStore(),this._map.set(e,t)),t}_getEmptyHandlersStore(){return{onActivations:new tt,onDeactivations:new tt}}}class tr{id;parent;options;_middleware;_bindingDictionary;_activations;_deactivations;_snapshots;_metadataReader;_moduleActivationStore;constructor(e){let t=e||{};if("object"!=typeof t)throw Error("Invalid Container constructor argument. Container options must be an object.");if(void 0===t.defaultScope)t.defaultScope=ee.Transient;else if(t.defaultScope!==ee.Singleton&&t.defaultScope!==ee.Transient&&t.defaultScope!==ee.Request)throw Error('Invalid Container option. Default scope must be a string ("singleton" or "transient").');if(void 0===t.autoBindInjectable)t.autoBindInjectable=!1;else if("boolean"!=typeof t.autoBindInjectable)throw Error("Invalid Container option. Auto bind injectable must be a boolean");if(void 0===t.skipBaseClassChecks)t.skipBaseClassChecks=!1;else if("boolean"!=typeof t.skipBaseClassChecks)throw Error("Invalid Container option. Skip base check must be a boolean");this.options={autoBindInjectable:t.autoBindInjectable,defaultScope:t.defaultScope,skipBaseClassChecks:t.skipBaseClassChecks},this.id=eo(),this._bindingDictionary=new tt,this._snapshots=[],this._middleware=null,this._activations=new tt,this._deactivations=new tt,this.parent=null,this._metadataReader=new eh,this._moduleActivationStore=new tn}static merge(e,t,...n){let r=new tr,o=[e,t,...n].map(e=>eE(e)),i=eE(r);return o.forEach(e=>{var t;t=i,e.traverse((e,n)=>{n.forEach(e=>{t.add(e.serviceIdentifier,e.clone())})})}),r}load(...e){let t=this._getContainerModuleHelpersFactory();for(let n of e){let e=t(n.id);n.registry(e.bindFunction,e.unbindFunction,e.isboundFunction,e.rebindFunction,e.unbindAsyncFunction,e.onActivationFunction,e.onDeactivationFunction)}}async loadAsync(...e){let t=this._getContainerModuleHelpersFactory();for(let n of e){let e=t(n.id);await n.registry(e.bindFunction,e.unbindFunction,e.isboundFunction,e.rebindFunction,e.unbindAsyncFunction,e.onActivationFunction,e.onDeactivationFunction)}}unload(...e){e.forEach(e=>{let t=this._removeModuleBindings(e.id);this._deactivateSingletons(t),this._removeModuleHandlers(e.id)})}async unloadAsync(...e){for(let t of e){let e=this._removeModuleBindings(t.id);await this._deactivateSingletonsAsync(e),this._removeModuleHandlers(t.id)}}bind(e){return this._bind(this._buildBinding(e))}rebind(e){return this.unbind(e),this.bind(e)}async rebindAsync(e){return await this.unbindAsync(e),this.bind(e)}unbind(e){if(this._bindingDictionary.hasKey(e)){let t=this._bindingDictionary.get(e);this._deactivateSingletons(t)}this._removeServiceFromDictionary(e)}async unbindAsync(e){if(this._bindingDictionary.hasKey(e)){let t=this._bindingDictionary.get(e);await this._deactivateSingletonsAsync(t)}this._removeServiceFromDictionary(e)}unbindAll(){this._bindingDictionary.traverse((e,t)=>{this._deactivateSingletons(t)}),this._bindingDictionary=new tt}async unbindAllAsync(){let e=[];this._bindingDictionary.traverse((t,n)=>{e.push(this._deactivateSingletonsAsync(n))}),await Promise.all(e),this._bindingDictionary=new tt}onActivation(e,t){this._activations.add(e,t)}onDeactivation(e,t){this._deactivations.add(e,t)}isBound(e){let t=this._bindingDictionary.hasKey(e);return!t&&this.parent&&(t=this.parent.isBound(e)),t}isCurrentBound(e){return this._bindingDictionary.hasKey(e)}isBoundNamed(e,t){return this.isBoundTagged(e,A,t)}isBoundTagged(e,t,n){let r=!1;if(this._bindingDictionary.hasKey(e)){let o=this._bindingDictionary.get(e),i=function(e,t,n,r){let o=w(eM(!1,t,n,r));if(o.kind===G.unmanaged)throw Error("Unexpected metadata when creating target");let i=new P("",o,"Variable");return new e$(t,new ex(e),null,[],i)}(this,e,t,n);r=o.some(e=>e.constraint(i))}return!r&&this.parent&&(r=this.parent.isBoundTagged(e,t,n)),r}snapshot(){this._snapshots.push(te.of(this._bindingDictionary.clone(),this._middleware,this._activations.clone(),this._deactivations.clone(),this._moduleActivationStore.clone()))}restore(){let e=this._snapshots.pop();if(void 0===e)throw Error("No snapshot available to restore.");this._bindingDictionary=e.bindings,this._activations=e.activations,this._deactivations=e.deactivations,this._middleware=e.middleware,this._moduleActivationStore=e.moduleActivationStore}createChild(e){let t=new tr(e||this.options);return t.parent=this,t}applyMiddleware(...e){let t=this._middleware?this._middleware:this._planAndResolve();this._middleware=e.reduce((e,t)=>t(e),t)}applyCustomMetadataReader(e){this._metadataReader=e}get(e){let t=this._getNotAllArgs(e,!1);return this._getButThrowIfAsync(t)}async getAsync(e){let t=this._getNotAllArgs(e,!1);return this._get(t)}getTagged(e,t,n){let r=this._getNotAllArgs(e,!1,t,n);return this._getButThrowIfAsync(r)}async getTaggedAsync(e,t,n){let r=this._getNotAllArgs(e,!1,t,n);return this._get(r)}getNamed(e,t){return this.getTagged(e,A,t)}async getNamedAsync(e,t){return this.getTaggedAsync(e,A,t)}getAll(e){let t=this._getAllArgs(e);return this._getButThrowIfAsync(t)}async getAllAsync(e){let t=this._getAllArgs(e);return this._getAll(t)}getAllTagged(e,t,n){let r=this._getNotAllArgs(e,!0,t,n);return this._getButThrowIfAsync(r)}async getAllTaggedAsync(e,t,n){let r=this._getNotAllArgs(e,!0,t,n);return this._getAll(r)}getAllNamed(e,t){return this.getAllTagged(e,A,t)}async getAllNamedAsync(e,t){return this.getAllTaggedAsync(e,A,t)}resolve(e){let t=this.isBound(e);t||this.bind(e).toSelf();let n=this.get(e);return t||this.unbind(e),n}_preDestroy(e,t){if(void 0!==e&&Reflect.hasMetadata(K,e)){let n=Reflect.getMetadata(K,e);return t[n.value]?.()}}_removeModuleHandlers(e){let t=this._moduleActivationStore.remove(e);this._activations.removeIntersection(t.onActivations),this._deactivations.removeIntersection(t.onDeactivations)}_removeModuleBindings(e){return this._bindingDictionary.removeByCondition(t=>t.moduleId===e)}_deactivate(e,t){let n=null==t?void 0:Object.getPrototypeOf(t).constructor;try{if(this._deactivations.hasKey(e.serviceIdentifier)){let r=this._deactivateContainer(t,this._deactivations.get(e.serviceIdentifier).values());if(eR(r))return this._handleDeactivationError(r.then(async()=>this._propagateContainerDeactivationThenBindingAndPreDestroyAsync(e,t,n)),e.serviceIdentifier)}let r=this._propagateContainerDeactivationThenBindingAndPreDestroy(e,t,n);if(eR(r))return this._handleDeactivationError(r,e.serviceIdentifier)}catch(t){if(t instanceof Error)throw Error(ef(em(e.serviceIdentifier),t.message))}}async _handleDeactivationError(e,t){try{await e}catch(e){if(e instanceof Error)throw Error(ef(em(t),e.message))}}_deactivateContainer(e,t){let n=t.next();for(;"function"==typeof n.value;){let r=n.value(e);if(eR(r))return r.then(async()=>this._deactivateContainerAsync(e,t));n=t.next()}}async _deactivateContainerAsync(e,t){let n=t.next();for(;"function"==typeof n.value;)await n.value(e),n=t.next()}_getContainerModuleHelpersFactory(){let e=e=>t=>{let n=this._buildBinding(t);return n.moduleId=e,this._bind(n)},t=()=>e=>{this.unbind(e)},n=()=>async e=>this.unbindAsync(e),r=()=>e=>this.isBound(e),o=t=>{let n=e(t);return e=>(this.unbind(e),n(e))},i=e=>(t,n)=>{this._moduleActivationStore.addActivation(e,t,n),this.onActivation(t,n)},a=e=>(t,n)=>{this._moduleActivationStore.addDeactivation(e,t,n),this.onDeactivation(t,n)};return l=>({bindFunction:e(l),isboundFunction:r(),onActivationFunction:i(l),onDeactivationFunction:a(l),rebindFunction:o(l),unbindAsyncFunction:n(),unbindFunction:t()})}_bind(e){return this._bindingDictionary.add(e.serviceIdentifier,e),new e9(e)}_buildBinding(e){return new ei(e,this.options.defaultScope||ee.Transient)}async _getAll(e){return Promise.all(this._get(e))}_get(e){let t={...e,contextInterceptor:e=>e,targetType:en.Variable};if(this._middleware){let e=this._middleware(t);if(null==e)throw Error("Invalid return type in middleware. Middleware must return!");return e}return this._planAndResolve()(t)}_getButThrowIfAsync(e){let t=this._get(e);if(eT(t))throw Error(`You are attempting to construct ${function(e){return"function"==typeof e?`[function/class ${e.name||""}]`:"symbol"==typeof e?e.toString():`'${e}'`}(e.serviceIdentifier)} in a synchronous way but it has asynchronous dependencies.`);return t}_getAllArgs(e){return{avoidConstraints:!0,isMultiInject:!0,serviceIdentifier:e}}_getNotAllArgs(e,t,n,r){return{avoidConstraints:!1,isMultiInject:t,key:n,serviceIdentifier:e,value:r}}_planAndResolve(){return e=>{let t=eZ(this._metadataReader,this,e.isMultiInject,e.targetType,e.serviceIdentifier,e.key,e.value,e.avoidConstraints);return function(e){return eF(e.plan.rootRequest.requestScope)(e.plan.rootRequest)}(t=e.contextInterceptor(t))}}_deactivateIfSingleton(e){if(e.activated)return eR(e.cache)?e.cache.then(t=>this._deactivate(e,t)):this._deactivate(e,e.cache)}_deactivateSingletons(e){for(let t of e)if(eR(this._deactivateIfSingleton(t)))throw Error("Attempting to unbind dependency with asynchronous destruction (@preDestroy or onDeactivation)")}async _deactivateSingletonsAsync(e){await Promise.all(e.map(async e=>this._deactivateIfSingleton(e)))}_propagateContainerDeactivationThenBindingAndPreDestroy(e,t,n){return this.parent?this._deactivate.bind(this.parent)(e,t):this._bindingDeactivationAndPreDestroy(e,t,n)}async _propagateContainerDeactivationThenBindingAndPreDestroyAsync(e,t,n){this.parent?await this._deactivate.bind(this.parent)(e,t):await this._bindingDeactivationAndPreDestroyAsync(e,t,n)}_removeServiceFromDictionary(e){try{this._bindingDictionary.remove(e)}catch(t){throw Error(`Could not unbind serviceIdentifier: ${em(e)}`)}}_bindingDeactivationAndPreDestroy(e,t,n){if("function"==typeof e.onDeactivation){let r=e.onDeactivation(t);if(eR(r))return r.then(()=>this._preDestroy(n,t))}return this._preDestroy(n,t)}async _bindingDeactivationAndPreDestroyAsync(e,t,n){"function"==typeof e.onDeactivation&&await e.onDeactivation(t),await this._preDestroy(n,t)}}class to{id;registry;constructor(e){this.id=eo(),this.registry=e}}class ti{id;registry;constructor(e){this.id=eo(),this.registry=e}}function ta(e,t,n,r){!function(e){if(void 0!==e)throw Error(ed)}(t),ts(H,e,n.toString(),r)}function tl(e){let t=[];if(Array.isArray(e)){let n=function(e){let t=new Set;for(let n of e){if(t.has(n))return n;t.add(n)}}((t=e).map(e=>e.key));if(void 0!==n)throw Error(`${ea} ${n.toString()}`)}else t=[e];return t}function ts(e,t,n,r){let o=tl(r),i={};Reflect.hasOwnMetadata(e,t)&&(i=Reflect.getMetadata(e,t));let a=i[n];if(void 0===a)a=[];else for(let e of a)if(o.some(t=>t.key===e.key))throw Error(`${ea} ${e.key.toString()}`);a.push(...o),i[n]=a,Reflect.defineMetadata(e,i,t)}function tc(e){return(t,n,r)=>{"number"==typeof r?ta(t,n,r,e):function(e,t,n){if(void 0!==e.prototype)throw Error(ed);ts(F,e.constructor,t,n)}(t,n,e)}}function tu(e,t){Reflect.decorate(e,t)}function td(e,t){return function(n,r){t(n,r,e)}}function tf(e,t,n){"number"==typeof n?tu([td(n,e)],t):"string"==typeof n?Reflect.decorate([e],t,n):tu([e],t)}function th(){return function(e){if(Reflect.hasOwnMetadata(W,e))throw Error("Cannot apply @injectable decorator multiple times.");return Reflect.defineMetadata(W,Reflect.getMetadata(V,e)||[],e),e}}function tp(e,t){return tc(new eS(e,t))}function tm(e){return tc(new eS(A,e))}function tg(e){return t=>(n,r,o)=>{if(void 0===t){let e="function"==typeof n?n.name:n.constructor.name;throw Error(`@inject called with undefined this could mean that the class ${e} has a circular dependency problem. You can use a LazyServiceIdentifer to overcome this limitation.`)}tc(new eS(e,t))(n,r,o)}}let tv=tg(L);function tb(){return tc(new eS(z,!0))}function ty(){return function(e,t,n){ta(e,t,n,new eS(_,!0))}}let tw=tg(B);function tx(e){return function(t,n,r){ta(t,n,r,new eS(D,e))}}function tS(e,t){return()=>(n,r)=>{let o=new eS(e,r);if(Reflect.hasOwnMetadata(e,n.constructor))throw Error(t);Reflect.defineMetadata(e,o,n.constructor)}}let tk=tS(q,"Cannot apply @postConstruct decorator multiple times in the same class"),tC=tS(K,"Cannot apply @preDestroy decorator multiple times in the same class"),t$=J},52028:function(e,t,n){"use strict";n.d(t,{Z:()=>u});let r=e=>"object"==typeof e&&null!=e&&1===e.nodeType,o=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,i=(e,t)=>{if(e.clientHeight{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightit||i>e&&a=t&&l>=n?i-e-r:a>t&&ln?a-t+o:0,l=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},s=(e,t)=>{var n,o,s,c;if("undefined"==typeof document)return[];let{scrollMode:u,block:d,inline:f,boundary:h,skipOverflowHiddenElements:p}=t,m="function"==typeof h?h:e=>e!==h;if(!r(e))throw TypeError("Invalid target");let g=document.scrollingElement||document.documentElement,v=[],b=e;for(;r(b)&&m(b);){if((b=l(b))===g){v.push(b);break}null!=b&&b===document.body&&i(b)&&!i(document.documentElement)||null!=b&&i(b,p)&&v.push(b)}let y=null!=(o=null==(n=window.visualViewport)?void 0:n.width)?o:innerWidth,w=null!=(c=null==(s=window.visualViewport)?void 0:s.height)?c:innerHeight,{scrollX:x,scrollY:S}=window,{height:k,width:C,top:$,right:E,bottom:O,left:M}=e.getBoundingClientRect(),{top:I,right:N,bottom:Z,left:R}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),T="start"===d||"nearest"===d?$-I:"end"===d?O+Z:$+k/2-I+Z,P="center"===f?M+C/2-R+N:"end"===f?E+N:M-R,j=[];for(let e=0;e=0&&M>=0&&O<=w&&E<=y&&(t===g&&!i(t)||$>=o&&O<=s&&M>=c&&E<=l))break;let h=getComputedStyle(t),p=parseInt(h.borderLeftWidth,10),m=parseInt(h.borderTopWidth,10),b=parseInt(h.borderRightWidth,10),I=parseInt(h.borderBottomWidth,10),N=0,Z=0,R="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-b:0,A="offsetHeight"in t?t.offsetHeight-t.clientHeight-m-I:0,D="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,_="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(g===t)N="start"===d?T:"end"===d?T-w:"nearest"===d?a(S,S+w,w,m,I,S+T,S+T+k,k):T-w/2,Z="start"===f?P:"center"===f?P-y/2:"end"===f?P-y:a(x,x+y,y,p,b,x+P,x+P+C,C),N=Math.max(0,N+S),Z=Math.max(0,Z+x);else{N="start"===d?T-o-m:"end"===d?T-s+I+A:"nearest"===d?a(o,s,n,m,I+A,T,T+k,k):T-(o+n/2)+A/2,Z="start"===f?P-c-p:"center"===f?P-(c+r/2)+R/2:"end"===f?P-l+b+R:a(c,l,r,p,b+R,P,P+C,C);let{scrollLeft:e,scrollTop:i}=t;N=0===_?0:Math.max(0,Math.min(i+N/_,t.scrollHeight-n/_+A)),Z=0===D?0:Math.max(0,Math.min(e+Z/D,t.scrollWidth-r/D+R)),T+=i-N,P+=e-Z}j.push({el:t,top:N,left:Z})}return j},c=e=>{let t;return!1===e?{block:"end",inline:"nearest"}:(t=e)===Object(t)&&0!==Object.keys(t).length?e:{block:"start",inline:"nearest"}};function u(e,t){let n;if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let r=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof(n=t)&&"function"==typeof n.behavior)return t.behavior(s(e,t));let o="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:n,top:i,left:a}of s(e,c(t))){let e=i-r.top+r.bottom,t=a-r.left+r.right;n.scroll({top:e,left:t,behavior:o})}}},20855:function(e,t,n){"use strict";n.d(t,{V:()=>l});let r="ͼ",o="undefined"==typeof Symbol?"__"+r:Symbol.for(r),i="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class l{constructor(e,t){this.rules=[];let{finish:n}=t||{};function r(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function o(e,t,i,a){let l=[],s=/^@(\w+)\b/.exec(e[0]),c=s&&"keyframes"==s[1];if(s&&null==t)return i.push(e[0]+";");for(let n in t){let a=t[n];if(/&/.test(n))o(n.split(/,\s*/).map(t=>e.map(e=>t.replace(/&/,e))).reduce((e,t)=>e.concat(t)),a,i);else if(a&&"object"==typeof a){if(!s)throw RangeError("The value of a property ("+n+") should be a primitive value.");o(r(n),a,l,c)}else null!=a&&l.push(n.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+a+";")}(l.length||c)&&i.push((n&&!s&&!a?e.map(n):e).join(", ")+" {"+l.join(" ")+"}")}for(let t in e)o(r(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=a[o]||1;return a[o]=e+1,r+e.toString(36)}static mount(e,t,n){let r=e[i],o=n&&n.nonce;r?o&&r.setNonce(o):r=new c(e,o),r.mount(Array.isArray(t)?t:[t],e)}}let s=new Map;class c{constructor(e,t){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=s.get(n);if(t)return e[i]=t;this.sheet=new r.CSSStyleSheet,s.set(n,this)}else this.styleTag=n.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[i]=this}mount(e,t){let n=this.sheet,r=0,o=0;for(let t=0;t-1&&(this.modules.splice(a,1),o--,a=-1),-1==a){if(this.modules.splice(o++,0,i),n)for(let e=0;et.adoptedStyleSheets.indexOf(this.sheet)&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e="";for(let t=0;tA});var i=r(1753),n=r(73288),a=r(14092),s=r(49436),u=r(81004);function o(e){return e.replace(e[0],e[0].toUpperCase())}function c(e){return"infinitequery"===e.type}function l(e,...t){return Object.assign(e,...t)}var d=Symbol();function f(e,t,r,i){let n=(0,u.useMemo)(()=>({queryArgs:e,serialized:"object"==typeof e?t({queryArgs:e,endpointDefinition:r,endpointName:i}):e}),[e,t,r,i]),a=(0,u.useRef)(n);return(0,u.useEffect)(()=>{a.current.serialized!==n.serialized&&(a.current=n)},[n]),a.current.serialized===n.serialized?a.current.queryArgs:e}function p(e){let t=(0,u.useRef)(e);return(0,u.useEffect)(()=>{(0,a.shallowEqual)(t.current,e)||(t.current=e)},[e]),(0,a.shallowEqual)(t.current,e)?t.current:e}var m="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,h="undefined"!=typeof navigator&&"ReactNative"===navigator.product,y=m||h?u.useLayoutEffect:u.useEffect,g=e=>e.isUninitialized?{...e,isUninitialized:!1,isFetching:!0,isLoading:void 0===e.data,status:i.oZ.pending}:e;function b(e,...t){let r={};return t.forEach(t=>{r[t]=e[t]}),r}var v=["data","status","isLoading","isSuccess","isError","error"],S=Symbol(),A=(0,i.Tk)((0,i.hF)(),(({batch:e=a.batch,hooks:t={useDispatch:a.useDispatch,useSelector:a.useSelector,useStore:a.useStore},createSelector:r=s.P1,unstable__sideEffectsInRender:m=!1,...h}={})=>({name:S,init(s,{serializeQueryArgs:h},S){let{buildQueryHooks:A,buildInfiniteQueryHooks:q,buildMutationHook:R,usePrefetch:O}=function({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:s,useStore:o},unstable__sideEffectsInRender:l,createSelector:m},serializeQueryArgs:h,context:S}){let A=l?e=>e():u.useEffect;return{buildQueryHooks:function(n){let a=(e,t={})=>{let[r]=O(n,e,t);return P(r),(0,u.useMemo)(()=>({refetch:()=>C(r)}),[r])},s=({refetchOnReconnect:i,refetchOnFocus:a,pollingInterval:s=0,skipPollingIfUnfocused:o=!1}={})=>{let{initiate:c}=e.endpoints[n],l=r(),[f,m]=(0,u.useState)(d),h=(0,u.useRef)(void 0),y=p({refetchOnReconnect:i,refetchOnFocus:a,pollingInterval:s,skipPollingIfUnfocused:o});A(()=>{y!==h.current?.subscriptionOptions&&h.current?.updateSubscriptionOptions(y)},[y]);let g=(0,u.useRef)(y);A(()=>{g.current=y},[y]);let b=(0,u.useCallback)(function(e,r=!1){let i;return t(()=>{h.current?.unsubscribe(),h.current=i=l(c(e,{subscriptionOptions:g.current,forceRefetch:!r})),m(e)}),i},[l,c]),v=(0,u.useCallback)(()=>{h.current?.queryCacheKey&&l(e.internalActions.removeQueryResult({queryCacheKey:h.current?.queryCacheKey}))},[l]);return(0,u.useEffect)(()=>()=>{h?.current?.unsubscribe()},[]),(0,u.useEffect)(()=>{f===d||h.current||b(f,!0)},[f,b]),(0,u.useMemo)(()=>[b,f,{reset:v}],[b,f,v])},o=w(n,q);return{useQueryState:o,useQuerySubscription:a,useLazyQuerySubscription:s,useLazyQuery(e){let[t,r,{reset:i}]=s(e),n=o(r,{...e,skip:r===d}),a=(0,u.useMemo)(()=>({lastArg:r}),[r]);return(0,u.useMemo)(()=>[t,{...n,reset:i},a],[t,n,i,a])},useQuery(e,t){let r=a(e,t),n=o(e,{selectFromResult:e===i.CN||t?.skip?void 0:g,...t}),s=b(n,...v);return(0,u.useDebugValue)(s),(0,u.useMemo)(()=>({...n,...r}),[n,r])}}},buildInfiniteQueryHooks:function(e){let r=(r,n={})=>{let[a,s,o,c]=O(e,r,n),l=(0,u.useRef)(c);A(()=>{l.current=c},[c]);let d=(0,u.useCallback)(function(e,r){let i;return t(()=>{a.current?.unsubscribe(),a.current=i=s(o(e,{subscriptionOptions:l.current,direction:r}))}),i},[a,s,o]);P(a);let p=f(n.skip?i.CN:r,i.OL,S.endpointDefinitions[e],e),m=(0,u.useCallback)(()=>C(a),[a]);return(0,u.useMemo)(()=>({trigger:d,refetch:m,fetchNextPage:()=>d(p,"forward"),fetchPreviousPage:()=>d(p,"backward")}),[m,d,p])},n=w(e,R);return{useInfiniteQueryState:n,useInfiniteQuerySubscription:r,useInfiniteQuery(e,t){let{refetch:a,fetchNextPage:s,fetchPreviousPage:o}=r(e,t),c=n(e,{selectFromResult:e===i.CN||t?.skip?void 0:g,...t}),l=b(c,...v,"hasNextPage","hasPreviousPage");return(0,u.useDebugValue)(l),(0,u.useMemo)(()=>({...c,fetchNextPage:s,fetchPreviousPage:o,refetch:a}),[c,s,o,a])}}},buildMutationHook:function(i){return({selectFromResult:n,fixedCacheKey:o}={})=>{let{select:c,initiate:l}=e.endpoints[i],d=r(),[f,p]=(0,u.useState)();(0,u.useEffect)(()=>()=>{f?.arg.fixedCacheKey||f?.reset()},[f]);let h=(0,u.useCallback)(function(e){let t=d(l(e,{fixedCacheKey:o}));return p(t),t},[d,l,o]),{requestId:y}=f||{},g=(0,u.useMemo)(()=>c({fixedCacheKey:o,requestId:f?.requestId}),[o,f,c]),S=s((0,u.useMemo)(()=>n?m([g],n):g,[n,g]),a.shallowEqual),A=null==o?f?.arg.originalArgs:void 0,q=(0,u.useCallback)(()=>{t(()=>{f&&p(void 0),o&&d(e.internalActions.removeMutationResult({requestId:y,fixedCacheKey:o}))})},[d,o,f,y]),R=b(S,...v,"endpointName");(0,u.useDebugValue)(R);let O=(0,u.useMemo)(()=>({...S,originalArgs:A,reset:q}),[S,A,q]);return(0,u.useMemo)(()=>[h,O],[h,O])}},usePrefetch:function(t,i){let n=r(),a=p(i);return(0,u.useCallback)((r,i)=>n(e.util.prefetch(t,r,{...a,...i})),[t,n,a])}};function q(e,t,r){if(t?.endpointName&&e.isUninitialized){let{endpointName:e}=t,n=S.endpointDefinitions[e];r!==i.CN&&h({queryArgs:t.originalArgs,endpointDefinition:n,endpointName:e})===h({queryArgs:r,endpointDefinition:n,endpointName:e})&&(t=void 0)}let n=e.isSuccess?e.data:t?.data;void 0===n&&(n=e.data);let a=void 0!==n,s=e.isLoading,u=(!t||t.isLoading||t.isUninitialized)&&!a&&s,o=e.isSuccess||a&&(s&&!t?.isError||e.isUninitialized);return{...e,data:n,currentData:e.data,isFetching:s,isLoading:u,isSuccess:o}}function R(e,t,r){if(t?.endpointName&&e.isUninitialized){let{endpointName:e}=t,n=S.endpointDefinitions[e];r!==i.CN&&h({queryArgs:t.originalArgs,endpointDefinition:n,endpointName:e})===h({queryArgs:r,endpointDefinition:n,endpointName:e})&&(t=void 0)}let n=e.isSuccess?e.data:t?.data;void 0===n&&(n=e.data);let a=void 0!==n,s=e.isLoading,u=(!t||t.isLoading||t.isUninitialized)&&!a&&s,o=e.isSuccess||s&&a;return{...e,data:n,currentData:e.data,isFetching:s,isLoading:u,isSuccess:o}}function O(t,n,{refetchOnReconnect:a,refetchOnFocus:s,refetchOnMountOrArgChange:o,skip:l=!1,pollingInterval:d=0,skipPollingIfUnfocused:m=!1,...h}={}){let{initiate:y}=e.endpoints[t],g=r(),b=(0,u.useRef)(void 0);b.current||(b.current=g(e.internalActions.internal_getRTKQSubscriptions()));let v=f(l?i.CN:n,i.OL,S.endpointDefinitions[t],t),q=p({refetchOnReconnect:a,refetchOnFocus:s,pollingInterval:d,skipPollingIfUnfocused:m}),R=p(h.initialPageParam),w=(0,u.useRef)(void 0),{queryCacheKey:P,requestId:C}=w.current||{},j=!1;P&&C&&(j=b.current.isRequestSubscribed(P,C));let N=!j&&void 0!==w.current;return A(()=>{N&&(w.current=void 0)},[N]),A(()=>{let e=w.current;if(v===i.CN){e?.unsubscribe(),w.current=void 0;return}let r=w.current?.subscriptionOptions;e&&e.arg===v?q!==r&&e.updateSubscriptionOptions(q):(e?.unsubscribe(),w.current=g(y(v,{subscriptionOptions:q,forceRefetch:o,...c(S.endpointDefinitions[t])?{initialPageParam:R}:{}})))},[g,y,o,v,q,N,R,t]),[w,g,y,q]}function w(t,r){return(n,{skip:c=!1,selectFromResult:l}={})=>{let{select:d}=e.endpoints[t],p=f(c?i.CN:n,h,S.endpointDefinitions[t],t),g=(0,u.useRef)(void 0),b=(0,u.useMemo)(()=>m([d(p),(e,t)=>t,e=>p],r,{memoizeOptions:{resultEqualityCheck:a.shallowEqual}}),[d,p]),v=(0,u.useMemo)(()=>l?m([b],l,{devModeChecks:{identityFunctionCheck:"never"}}):b,[b,l]),A=s(e=>v(e,g.current),a.shallowEqual),q=b(o().getState(),g.current);return y(()=>{g.current=q},[q]),A}}function P(e){(0,u.useEffect)(()=>()=>{e.current?.unsubscribe?.(),e.current=void 0},[e])}function C(e){if(!e.current)throw Error((0,n.formatProdErrorMessage)(38));return e.current.refetch()}}({api:s,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:m,createSelector:r},serializeQueryArgs:h,context:S});return l(s,{usePrefetch:O}),l(S,{batch:e}),{injectEndpoint(e,t){if("query"===t.type){let{useQuery:t,useLazyQuery:r,useLazyQuerySubscription:i,useQueryState:n,useQuerySubscription:a}=A(e);l(s.endpoints[e],{useQuery:t,useLazyQuery:r,useLazyQuerySubscription:i,useQueryState:n,useQuerySubscription:a}),s[`use${o(e)}Query`]=t,s[`useLazy${o(e)}Query`]=r}if("mutation"===t.type){let t=R(e);l(s.endpoints[e],{useMutation:t}),s[`use${o(e)}Mutation`]=t}else if(c(t)){let{useInfiniteQuery:t,useInfiniteQuerySubscription:r,useInfiniteQueryState:i}=q(e);l(s.endpoints[e],{useInfiniteQuery:t,useInfiniteQuerySubscription:r,useInfiniteQueryState:i}),s[`use${o(e)}InfiniteQuery`]=t}}}}}))())},1753:function(e,t,r){r.d(t,{Tk:()=>Z,hF:()=>eo,oZ:()=>o,CN:()=>L,OL:()=>V,ni:()=>S});var i,n=r(73288),a=r(65605),s=class extends Error{issues;constructor(e){super(e[0].message),this.name="SchemaError",this.issues=e}},u=r(49436),o=((i=o||{}).uninitialized="uninitialized",i.pending="pending",i.fulfilled="fulfilled",i.rejected="rejected",i);function c(e){return{status:e,isUninitialized:"uninitialized"===e,isLoading:"pending"===e,isSuccess:"fulfilled"===e,isError:"rejected"===e}}var l=n.isPlainObject;function d(e){let t=0;for(let r in e)t++;return t}var f=e=>[].concat(...e);function p(e){return null!=e}var m=e=>e.replace(/\/$/,""),h=e=>e.replace(/^\//,""),y=(...e)=>fetch(...e),g=e=>e.status>=200&&e.status<=299,b=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function v(e){if(!(0,n.isPlainObject)(e))return e;let t={...e};for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return t}function S({baseUrl:e,prepareHeaders:t=e=>e,fetchFn:r=y,paramsSerializer:i,isJsonContentType:a=b,jsonContentType:s="application/json",jsonReplacer:u,timeout:o,responseHandler:c,validateStatus:l,...d}={}){return"undefined"==typeof fetch&&r===y&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),async(p,y,b)=>{let S,A,{getState:q,extra:R,endpoint:O,forced:w,type:P}=y,{url:C,headers:j=new Headers(d.headers),params:N,responseHandler:k=c??"json",validateStatus:E=l??g,timeout:T=o,...M}="string"==typeof p?{url:p}:p,Q,D=y.signal;T&&(Q=new AbortController,y.signal.addEventListener("abort",Q.abort),D=Q.signal);let I={...d,signal:D,...M};j=new Headers(v(j)),I.headers=await t(j,{getState:q,arg:p,extra:R,endpoint:O,forced:w,type:P,extraOptions:b})||j;let _=e=>"object"==typeof e&&((0,n.isPlainObject)(e)||Array.isArray(e)||"function"==typeof e.toJSON);if(!I.headers.has("content-type")&&_(I.body)&&I.headers.set("content-type",s),_(I.body)&&a(I.headers)&&(I.body=JSON.stringify(I.body,u)),N){let e=~C.indexOf("?")?"&":"?";C+=e+(i?i(N):new URLSearchParams(v(N)))}let x=new Request(C=function(e,t){var r;if(!e)return t;if(!t)return e;if(r=t,RegExp("(^|:)//").test(r))return t;let i=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=m(e),t=h(t),`${e}${i}${t}`}(e,C),I);S={request:new Request(C,I)};let F,z=!1,K=Q&&setTimeout(()=>{z=!0,Q.abort()},T);try{F=await r(x)}catch(e){return{error:{status:z?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(e)},meta:S}}finally{K&&clearTimeout(K),Q?.signal.removeEventListener("abort",Q.abort)}let U=F.clone();S.response=U;let $="";try{let e;if(await Promise.all([f(F,k).then(e=>A=e,t=>e=t),U.text().then(e=>$=e,()=>{})]),e)throw e}catch(e){return{error:{status:"PARSING_ERROR",originalStatus:F.status,data:$,error:String(e)},meta:S}}return E(F,A)?{data:A,meta:S}:{error:{status:F.status,data:A},meta:S}};async function f(e,t){if("function"==typeof t)return t(e);if("content-type"===t&&(t=a(e.headers)?"json":"text"),"json"===t){let t=await e.text();return t.length?JSON.parse(t):null}return e.text()}}var A=class{constructor(e,t){this.value=e,this.meta=t}},q=(0,n.createAction)("__rtkq/focused"),R=(0,n.createAction)("__rtkq/unfocused"),O=(0,n.createAction)("__rtkq/online"),w=(0,n.createAction)("__rtkq/offline");function P(e){return"query"===e.type}function C(e){return"infinitequery"===e.type}function j(e){return P(e)||C(e)}function N(e,t,r,i,n,a){return"function"==typeof e?e(t,r,i,n).filter(p).map(k).map(a):Array.isArray(e)?e.map(k).map(a):[]}function k(e){return"string"==typeof e?{type:e}:e}var E=Symbol("forceQueryFn"),T=e=>"function"==typeof e[E],M=class extends s{constructor(e,t,r,i){super(e),this.value=t,this.schemaName=r,this._bqMeta=i}};async function Q(e,t,r,i){let n=await e["~standard"].validate(t);if(n.issues)throw new M(n.issues,t,r,i);return n.value}function D(e){return e}var I=(e={})=>({...e,[n.SHOULD_AUTOBATCH]:!0});function _(e,{pages:t,pageParams:r},i){let n=t.length-1;return e.getNextPageParam(t[n],t,r[n],r,i)}function x(e,{pages:t,pageParams:r},i){return e.getPreviousPageParam?.(t[0],t,r[0],r,i)}function F(e,t,r,i){return N(r[e.meta.arg.endpointName][t],(0,n.isFulfilled)(e)?e.payload:void 0,(0,n.isRejectedWithValue)(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,i)}function z(e,t,r){let i=e[t];i&&r(i)}function K(e){return("arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)??e.requestId}function U(e,t,r){let i=e[K(t)];i&&r(i)}var $={},L=Symbol.for("RTKQ/skipToken"),B={status:"uninitialized"},W=(0,n.createNextState)(B,()=>{}),H=(0,n.createNextState)(B,()=>{}),J=WeakMap?new WeakMap:void 0,V=({endpointName:e,queryArgs:t})=>{let r="",i=J?.get(t);if("string"==typeof i)r=i;else{let e=JSON.stringify(t,(e,t)=>(t="bigint"==typeof t?{$bigint:t.toString()}:t,t=(0,n.isPlainObject)(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t));(0,n.isPlainObject)(t)&&J?.set(t,e),r=e}return`${e}(${r})`};function Z(...e){return function(t){let r=(0,u.kO)(e=>t.extractRehydrationInfo?.(e,{reducerPath:t.reducerPath??"api"})),i={reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed",...t,extractRehydrationInfo:r,serializeQueryArgs(e){let r=V;if("serializeQueryArgs"in e.endpointDefinition){let t=e.endpointDefinition.serializeQueryArgs;r=e=>{let r=t(e);return"string"==typeof r?r:V({...e,queryArgs:r})}}else t.serializeQueryArgs&&(r=t.serializeQueryArgs);return r(e)},tagTypes:[...t.tagTypes||[]]},a={endpointDefinitions:{},batch(e){e()},apiUid:(0,n.nanoid)(),extractRehydrationInfo:r,hasRehydrationInfo:(0,u.kO)(e=>null!=r(e))},s={injectEndpoints:function(e){for(let[t,r]of Object.entries(e.endpoints({query:e=>({...e,type:"query"}),mutation:e=>({...e,type:"mutation"}),infiniteQuery:e=>({...e,type:"infinitequery"})}))){if(!0!==e.overrideExisting&&t in a.endpointDefinitions){if("throw"===e.overrideExisting)throw Error((0,n.formatProdErrorMessage)(39));continue}for(let e of(a.endpointDefinitions[t]=r,o))e.injectEndpoint(t,r)}return s},enhanceEndpoints({addTagTypes:e,endpoints:t}){if(e)for(let t of e)i.tagTypes.includes(t)||i.tagTypes.push(t);if(t)for(let[e,r]of Object.entries(t))"function"==typeof r?r(a.endpointDefinitions[e]):Object.assign(a.endpointDefinitions[e]||{},r);return s}},o=e.map(e=>e.init(s,i,a));return s.injectEndpoints({endpoints:t.endpoints})}}function G(e,...t){return Object.assign(e,...t)}var Y=({api:e,queryThunk:t,internalState:r})=>{let i=`${e.reducerPath}/subscriptions`,n=null,s=null,{updateSubscriptionOptions:u,unsubscribeQueryResult:o}=e.internalActions,c=(r,i)=>{if(u.match(i)){let{queryCacheKey:e,requestId:t,options:n}=i.payload;return r?.[e]?.[t]&&(r[e][t]=n),!0}if(o.match(i)){let{queryCacheKey:e,requestId:t}=i.payload;return r[e]&&delete r[e][t],!0}if(e.internalActions.removeQueryResult.match(i))return delete r[i.payload.queryCacheKey],!0;if(t.pending.match(i)){let{meta:{arg:e,requestId:t}}=i,n=r[e.queryCacheKey]??={};return n[`${t}_running`]={},e.subscribe&&(n[t]=e.subscriptionOptions??n[t]??{}),!0}let n=!1;if(t.fulfilled.match(i)||t.rejected.match(i)){let e=r[i.meta.arg.queryCacheKey]||{},t=`${i.meta.requestId}_running`;n||=!!e[t],delete e[t]}if(t.rejected.match(i)){let{meta:{condition:e,arg:t,requestId:a}}=i;if(e&&t.subscribe){let e=r[t.queryCacheKey]??={};e[a]=t.subscriptionOptions??e[a]??{},n=!0}}return n},l=()=>r.currentSubscriptions,f={getSubscriptions:l,getSubscriptionCount:e=>d(l()[e]??{}),isRequestSubscribed:(e,t)=>{let r=l();return!!r?.[e]?.[t]}};return(u,o)=>{if(n||(n=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(u))return n=r.currentSubscriptions={},s=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(u))return[!1,f];let l=c(r.currentSubscriptions,u),d=!0;if(l){s||(s=setTimeout(()=>{let t=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,i]=(0,a.produceWithPatches)(n,()=>t);o.next(e.internalActions.subscriptionsUpdated(i)),n=t,s=null},500));let c="string"==typeof u.type&&!!u.type.startsWith(i),l=t.rejected.match(u)&&u.meta.condition&&!!u.meta.arg.subscribe;d=!c&&!l}return[d,!1]}},X=({reducerPath:e,api:t,queryThunk:r,context:i,internalState:a,selectors:{selectQueryEntry:s,selectConfig:u}})=>{let{removeQueryResult:o,unsubscribeQueryResult:c,cacheEntriesUpserted:l}=t.internalActions,d=(0,n.isAnyOf)(c.match,r.fulfilled,r.rejected,l.match);function f(e){let t=a.currentSubscriptions[e];return!!t&&!function(e){for(let t in e)return!1;return!0}(t)}let p={};function m(e,t,r){let n=t.getState();for(let a of e){let e=s(n,a);!function(e,t,r,n){let a=i.endpointDefinitions[t],s=a?.keepUnusedDataFor??n.keepUnusedDataFor;if(s===1/0)return;let u=Math.max(0,Math.min(s,2147482.647));if(!f(e)){let t=p[e];t&&clearTimeout(t),p[e]=setTimeout(()=>{f(e)||r.dispatch(o({queryCacheKey:e})),delete p[e]},1e3*u)}}(a,e?.endpointName,t,r)}}return(e,r,n)=>{let a=u(r.getState());if(d(e)){let t;if(l.match(e))t=e.payload.map(e=>e.queryDescription.queryCacheKey);else{let{queryCacheKey:r}=c.match(e)?e.payload:e.meta.arg;t=[r]}m(t,r,a)}if(t.util.resetApiState.match(e))for(let[e,t]of Object.entries(p))t&&clearTimeout(t),delete p[e];if(i.hasRehydrationInfo(e)){let{queries:t}=i.extractRehydrationInfo(e);m(Object.keys(t),r,a)}}},ee=Error("Promise never resolved before cacheEntryRemoved."),et=({api:e,reducerPath:t,context:r,queryThunk:i,mutationThunk:a,internalState:s,selectors:{selectQueryEntry:u,selectApiState:o}})=>{let c=(0,n.isAsyncThunkAction)(i),l=(0,n.isAsyncThunkAction)(a),d=(0,n.isFulfilled)(i,a),f={};function p(e,t,r){let i=f[e];i?.valueResolved&&(i.valueResolved({data:t,meta:r}),delete i.valueResolved)}function m(e){let t=f[e];t&&(delete f[e],t.cacheEntryRemoved())}function h(t,i,n,a,s){let u=r.endpointDefinitions[t],o=u?.onCacheEntryAdded;if(!o)return;let c={},l=new Promise(e=>{c.cacheEntryRemoved=e}),d=Promise.race([new Promise(e=>{c.valueResolved=e}),l.then(()=>{throw ee})]);d.catch(()=>{}),f[n]=c;let p=e.endpoints[t].select(j(u)?i:n),m=a.dispatch((e,t,r)=>r),h={...a,getCacheEntry:()=>p(a.getState()),requestId:s,extra:m,updateCachedData:j(u)?r=>a.dispatch(e.util.updateQueryData(t,i,r)):void 0,cacheDataLoaded:d,cacheEntryRemoved:l};Promise.resolve(o(i,h)).catch(e=>{if(e!==ee)throw e})}return(r,n,s)=>{var o;let y=c(o=r)?o.meta.arg.queryCacheKey:l(o)?o.meta.arg.fixedCacheKey??o.meta.requestId:e.internalActions.removeQueryResult.match(o)?o.payload.queryCacheKey:e.internalActions.removeMutationResult.match(o)?K(o.payload):"";function g(e,t,r,i){let a=u(s,t),o=u(n.getState(),t);!a&&o&&h(e,i,t,n,r)}if(i.pending.match(r))g(r.meta.arg.endpointName,y,r.meta.requestId,r.meta.arg.originalArgs);else if(e.internalActions.cacheEntriesUpserted.match(r))for(let{queryDescription:e,value:t}of r.payload){let{endpointName:i,originalArgs:n,queryCacheKey:a}=e;g(i,a,r.meta.requestId,n),p(a,t,{})}else if(a.pending.match(r))n.getState()[t].mutations[y]&&h(r.meta.arg.endpointName,r.meta.arg.originalArgs,y,n,r.meta.requestId);else if(d(r))p(y,r.payload,r.meta.baseQueryMeta);else if(e.internalActions.removeQueryResult.match(r)||e.internalActions.removeMutationResult.match(r))m(y);else if(e.util.resetApiState.match(r))for(let e of Object.keys(f))m(e)}},er=({api:e,context:{apiUid:t},reducerPath:r})=>(r,i)=>{e.util.resetApiState.match(r)&&i.dispatch(e.internalActions.middlewareRegistered(t))},ei=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:i,queryThunk:a,api:s,assertTagType:u,refetchQuery:o,internalState:c})=>{let{removeQueryResult:l}=s.internalActions,f=(0,n.isAnyOf)((0,n.isFulfilled)(i),(0,n.isRejectedWithValue)(i)),p=(0,n.isAnyOf)((0,n.isFulfilled)(i,a),(0,n.isRejected)(i,a)),m=[];function h(r,i){let n=i.getState(),a=n[e];if(m.push(...r),"delayed"===a.config.invalidationBehavior&&function(e){let{queries:t,mutations:r}=e;for(let e of[t,r])for(let t in e)if(e[t]?.status==="pending")return!0;return!1}(a))return;let u=m;if(m=[],0===u.length)return;let f=s.util.selectInvalidatedBy(n,u);t.batch(()=>{for(let{queryCacheKey:e}of Array.from(f.values())){let t=a.queries[e],r=c.currentSubscriptions[e]??{};t&&(0===d(r)?i.dispatch(l({queryCacheKey:e})):"uninitialized"!==t.status&&i.dispatch(o(t)))}})}return(e,t)=>{f(e)?h(F(e,"invalidatesTags",r,u),t):p(e)?h([],t):s.util.invalidateTags.match(e)&&h(N(e.payload,void 0,void 0,void 0,void 0,u),t)}},en=({reducerPath:e,queryThunk:t,api:r,refetchQuery:i,internalState:n})=>{let a={};function s({queryCacheKey:t},r){let u=r.getState()[e],o=u.queries[t],l=n.currentSubscriptions[t];if(!o||"uninitialized"===o.status)return;let{lowestPollingInterval:d,skipPollingIfUnfocused:f}=c(l);if(!Number.isFinite(d))return;let p=a[t];p?.timeout&&(clearTimeout(p.timeout),p.timeout=void 0);let m=Date.now()+d;a[t]={nextPollTimestamp:m,pollingInterval:d,timeout:setTimeout(()=>{(u.config.focused||!f)&&r.dispatch(i(o)),s({queryCacheKey:t},r)},d)}}function u({queryCacheKey:t},r){let i=r.getState()[e].queries[t],u=n.currentSubscriptions[t];if(!i||"uninitialized"===i.status)return;let{lowestPollingInterval:l}=c(u);if(!Number.isFinite(l))return void o(t);let d=a[t],f=Date.now()+l;(!d||f{(r.internalActions.updateSubscriptionOptions.match(e)||r.internalActions.unsubscribeQueryResult.match(e))&&u(e.payload,i),(t.pending.match(e)||t.rejected.match(e)&&e.meta.condition)&&u(e.meta.arg,i),(t.fulfilled.match(e)||t.rejected.match(e)&&!e.meta.condition)&&s(e.meta.arg,i),r.util.resetApiState.match(e)&&function(){for(let e of Object.keys(a))o(e)}()}},ea=({api:e,context:t,queryThunk:r,mutationThunk:i})=>{let a=(0,n.isPending)(r,i),s=(0,n.isRejected)(r,i),u=(0,n.isFulfilled)(r,i),o={};return(r,i)=>{if(a(r)){let{requestId:n,arg:{endpointName:a,originalArgs:s}}=r.meta,u=t.endpointDefinitions[a],c=u?.onQueryStarted;if(c){let t={},r=new Promise((e,r)=>{t.resolve=e,t.reject=r});r.catch(()=>{}),o[n]=t;let l=e.endpoints[a].select(j(u)?s:n),d=i.dispatch((e,t,r)=>r),f={...i,getCacheEntry:()=>l(i.getState()),requestId:n,extra:d,updateCachedData:j(u)?t=>i.dispatch(e.util.updateQueryData(a,s,t)):void 0,queryFulfilled:r};c(s,f)}}else if(u(r)){let{requestId:e,baseQueryMeta:t}=r.meta;o[e]?.resolve({data:r.payload,meta:t}),delete o[e]}else if(s(r)){let{requestId:e,rejectedWithValue:t,baseQueryMeta:i}=r.meta;o[e]?.reject({error:r.payload??r.error,isUnhandledError:!t,meta:i}),delete o[e]}}},es=({reducerPath:e,context:t,api:r,refetchQuery:i,internalState:n})=>{let{removeQueryResult:a}=r.internalActions;function s(r,s){let u=r.getState()[e],o=u.queries,c=n.currentSubscriptions;t.batch(()=>{for(let e of Object.keys(c)){let t=o[e],n=c[e];n&&t&&(Object.values(n).some(e=>!0===e[s])||Object.values(n).every(e=>void 0===e[s])&&u.config[s])&&(0===d(n)?r.dispatch(a({queryCacheKey:e})):"uninitialized"!==t.status&&r.dispatch(i(t)))}})}return(e,t)=>{q.match(e)&&s(t,"refetchOnFocus"),O.match(e)&&s(t,"refetchOnReconnect")}},eu=Symbol(),eo=({createSelector:e=n.createSelector}={})=>({name:eu,init(t,{baseQuery:r,tagTypes:i,reducerPath:s,serializeQueryArgs:u,keepUnusedDataFor:o,refetchOnMountOrArgChange:m,refetchOnFocus:h,refetchOnReconnect:y,invalidationBehavior:g,onSchemaFailure:b,catchSchemaFailure:v,skipSchemaValidation:S},j){(0,a.enablePatches)();let B=e=>e;Object.assign(t,{reducerPath:s,endpoints:{},internalActions:{onOnline:O,onOffline:w,onFocus:q,onFocusLost:R},util:{}});let J=function({serializeQueryArgs:e,reducerPath:t,createSelector:r}){let i=e=>W,n=e=>H;return{buildQuerySelector:function(e,t){return l(e,t,a)},buildInfiniteQuerySelector:function(e,t){let{infiniteQueryOptions:r}=t;return l(e,t,function(e){var t,i,n,a,s,u;let o={...e,...c(e.status)},{isLoading:l,isError:d,direction:f}=o,p="forward"===f,m="backward"===f;return{...o,hasNextPage:(t=r,i=o.data,n=o.originalArgs,!!i&&null!=_(t,i,n)),hasPreviousPage:(a=r,s=o.data,u=o.originalArgs,!!s&&!!a.getPreviousPageParam&&null!=x(a,s,u)),isFetchingNextPage:l&&p,isFetchingPreviousPage:l&&m,isFetchNextPageError:d&&p,isFetchPreviousPageError:d&&m}})},buildMutationSelector:function(){return e=>{let i;return r((i="object"==typeof e?K(e)??L:e)===L?n:e=>(function(e){return e[t]})(e)?.mutations?.[i]??H,a)}},selectInvalidatedBy:function(e,r){let i=e[t],n=new Set;for(let e of r.filter(p).map(k)){let t=i.provided.tags[e.type];if(t)for(let r of(void 0!==e.id?t[e.id]:f(Object.values(t)))??[])n.add(r)}return f(Array.from(n.values()).map(e=>{let t=i.queries[e];return t?[{queryCacheKey:e,endpointName:t.endpointName,originalArgs:t.originalArgs}]:[]}))},selectCachedArgsForQuery:function(e,t){return Object.values(u(e)).filter(e=>e?.endpointName===t&&"uninitialized"!==e.status).map(e=>e.originalArgs)},selectApiState:s,selectQueries:u,selectMutations:function(e){return function(e){return e[t]}(e)?.mutations},selectQueryEntry:o,selectConfig:function(e){return function(e){return e[t]}(e)?.config}};function a(e){return{...e,...c(e.status)}}function s(e){return e[t]}function u(e){return e[t]?.queries}function o(e,t){return u(e)?.[t]}function l(t,n,a){return s=>{if(s===L)return r(i,a);let u=e({queryArgs:s,endpointDefinition:n,endpointName:t});return r(e=>o(e,u)??W,a)}}}({serializeQueryArgs:u,reducerPath:s,createSelector:e}),{selectInvalidatedBy:V,selectCachedArgsForQuery:Z,buildQuerySelector:ee,buildInfiniteQuerySelector:eo,buildMutationSelector:ec}=J;G(t.util,{selectInvalidatedBy:V,selectCachedArgsForQuery:Z});let{queryThunk:el,infiniteQueryThunk:ed,mutationThunk:ef,patchQueryData:ep,updateQueryData:em,upsertQueryData:eh,prefetch:ey,buildMatchThunkActions:eg}=function({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:i,api:s,assertTagType:u,selectors:o,onSchemaFailure:c,catchSchemaFailure:l,skipSchemaValidation:d}){function f(e,t,r=0){let i=[t,...e];return r&&i.length>r?i.slice(0,-1):i}function p(e,t,r=0){let i=[...e,t];return r&&i.length>r?i.slice(1):i}let m=(e,t)=>e.query&&e[t]?e[t]:D,h=async(e,{signal:i,abort:n,rejectWithValue:a,fulfillWithValue:s,dispatch:u,getState:h,extra:g})=>{let b=r[e.endpointName],{metaSchema:v,skipSchemaValidation:S=d}=b;try{let r,a=m(b,"transformResponse"),c={signal:i,abort:n,dispatch:u,getState:h,extra:g,endpoint:e.endpointName,type:e.type,forced:"query"===e.type?y(e,h()):void 0,queryCacheKey:"query"===e.type?e.queryCacheKey:void 0},l="query"===e.type?e[E]:void 0,d=async(t,r,i,n)=>{if(null==r&&t.pages.length)return Promise.resolve({data:t});let a={queryArg:e.originalArgs,pageParam:r},s=await q(a),u=n?f:p;return{data:{pages:u(t.pages,s.data,i),pageParams:u(t.pageParams,r,i)},meta:s.meta}};async function q(e){let r,{extraOptions:i,argSchema:n,rawResponseSchema:s,responseSchema:u}=b;if(n&&!S&&(e=await Q(n,e,"argSchema",{})),(r=l?l():b.query?await t(b.query(e),c,i):await b.queryFn(e,c,i,e=>t(e,c,i))).error)throw new A(r.error,r.meta);let{data:o}=r;s&&!S&&(o=await Q(s,r.data,"rawResponseSchema",r.meta));let d=await a(o,r.meta,e);return u&&!S&&(d=await Q(u,d,"responseSchema",r.meta)),{...r,data:d}}if("query"===e.type&&"infiniteQueryOptions"in b){let t,{infiniteQueryOptions:i}=b,{maxPages:n=1/0}=i,a=o.selectQueryEntry(h(),e.queryCacheKey)?.data,s=(!y(e,h())||e.direction)&&a?a:{pages:[],pageParams:[]};if("direction"in e&&e.direction&&s.pages.length){let r="backward"===e.direction,a=(r?x:_)(i,s,e.originalArgs);t=await d(s,a,n,r)}else{let{initialPageParam:r=i.initialPageParam}=e,u=a?.pageParams??[],o=u[0]??r,c=u.length;t=await d(s,o,n),l&&(t={data:t.data.pages[0]});for(let r=1;r=a)}let g=()=>(0,n.createAsyncThunk)(`${e}/executeQuery`,h,{getPendingMeta({arg:e}){let t=r[e.endpointName];return I({startedTimeStamp:Date.now(),...C(t)?{direction:e.direction}:{}})},condition(e,{getState:t}){let i=t(),n=o.selectQueryEntry(i,e.queryCacheKey),a=n?.fulfilledTimeStamp,s=e.originalArgs,u=n?.originalArgs,c=r[e.endpointName],l=e.direction;return!!T(e)||n?.status!=="pending"&&(!!(y(e,i)||P(c)&&c?.forceRefetch?.({currentArg:s,previousArg:u,endpointState:n,state:i}))||!a||!!l)},dispatchConditionRejection:!0}),b=g(),v=g(),S=(0,n.createAsyncThunk)(`${e}/executeMutation`,h,{getPendingMeta:()=>I({startedTimeStamp:Date.now()})}),q=e=>"force"in e,R=e=>"ifOlderThan"in e;function O(e){return t=>t?.meta?.arg?.endpointName===e}return{queryThunk:b,mutationThunk:S,infiniteQueryThunk:v,prefetch:(e,t,r)=>(i,n)=>{let a=q(r)&&r.force,u=R(r)&&r.ifOlderThan,o=(r=!0)=>s.endpoints[e].initiate(t,{forceRefetch:r,isPrefetch:!0}),c=s.endpoints[e].select(t)(n());if(a)i(o());else if(u){let e=c?.fulfilledTimeStamp;if(!e)return void i(o());(Number(new Date)-Number(new Date(e)))/1e3>=u&&i(o())}else i(o(!1))},updateQueryData:(e,t,r,i=!0)=>(n,u)=>{let o,c=s.endpoints[e].select(t)(u()),l={patches:[],inversePatches:[],undo:()=>n(s.util.patchQueryData(e,t,l.inversePatches,i))};if("uninitialized"===c.status)return l;if("data"in c)if((0,a.isDraftable)(c.data)){let[e,t,i]=(0,a.produceWithPatches)(c.data,r);l.patches.push(...t),l.inversePatches.push(...i),o=e}else o=r(c.data),l.patches.push({op:"replace",path:[],value:o}),l.inversePatches.push({op:"replace",path:[],value:c.data});return 0===l.patches.length||n(s.util.patchQueryData(e,t,l.patches,i)),l},upsertQueryData:(e,t,r)=>i=>i(s.endpoints[e].initiate(t,{subscribe:!1,forceRefetch:!0,[E]:()=>({data:r})})),patchQueryData:(e,t,n,a)=>(o,c)=>{let l=r[e],d=i({queryArgs:t,endpointDefinition:l,endpointName:e});if(o(s.internalActions.queryResultPatched({queryCacheKey:d,patches:n})),!a)return;let f=s.endpoints[e].select(t)(c()),p=N(l.providesTags,f.data,void 0,t,{},u);o(s.internalActions.updateProvidedBy([{queryCacheKey:d,providedTags:p}]))},buildMatchThunkActions:function(e,t){return{matchPending:(0,n.isAllOf)((0,n.isPending)(e),O(t)),matchFulfilled:(0,n.isAllOf)((0,n.isFulfilled)(e),O(t)),matchRejected:(0,n.isAllOf)((0,n.isRejected)(e),O(t))}}}}({baseQuery:r,reducerPath:s,context:j,api:t,serializeQueryArgs:u,assertTagType:B,selectors:J,onSchemaFailure:b,catchSchemaFailure:v,skipSchemaValidation:S}),{reducer:eb,actions:ev}=function({reducerPath:e,queryThunk:t,mutationThunk:r,serializeQueryArgs:i,context:{endpointDefinitions:s,apiUid:u,extractRehydrationInfo:o,hasRehydrationInfo:c},assertTagType:d,config:f}){let p=(0,n.createAction)(`${e}/resetApiState`);function m(e,t,r,i){e[t.queryCacheKey]??={status:"uninitialized",endpointName:t.endpointName},z(e,t.queryCacheKey,e=>{e.status="pending",e.requestId=r&&e.requestId?e.requestId:i.requestId,void 0!==t.originalArgs&&(e.originalArgs=t.originalArgs),e.startedTimeStamp=i.startedTimeStamp,C(s[i.arg.endpointName])&&"direction"in t&&(e.direction=t.direction)})}function h(e,t,r,i){z(e,t.arg.queryCacheKey,e=>{if(e.requestId!==t.requestId&&!i)return;let{merge:u}=s[t.arg.endpointName];if(e.status="fulfilled",u)if(void 0!==e.data){let{fulfilledTimeStamp:i,arg:a,baseQueryMeta:s,requestId:o}=t,c=(0,n.createNextState)(e.data,e=>u(e,r,{arg:a.originalArgs,baseQueryMeta:s,fulfilledTimeStamp:i,requestId:o}));e.data=c}else e.data=r;else e.data=s[t.arg.endpointName].structuralSharing??!0?function e(t,r){if(t===r||!(l(t)&&l(r)||Array.isArray(t)&&Array.isArray(r)))return r;let i=Object.keys(r),n=Object.keys(t),a=i.length===n.length,s=Array.isArray(r)?[]:{};for(let n of i)s[n]=e(t[n],r[n]),a&&(a=t[n]===s[n]);return a?t:s}((0,a.isDraft)(e.data)?(0,a.original)(e.data):e.data,r):r;delete e.error,e.fulfilledTimeStamp=t.fulfilledTimeStamp})}let y=(0,n.createSlice)({name:`${e}/queries`,initialState:$,reducers:{removeQueryResult:{reducer(e,{payload:{queryCacheKey:t}}){delete e[t]},prepare:(0,n.prepareAutoBatched)()},cacheEntriesUpserted:{reducer(e,t){for(let r of t.payload){let{queryDescription:i,value:n}=r;m(e,i,!0,{arg:i,requestId:t.meta.requestId,startedTimeStamp:t.meta.timestamp}),h(e,{arg:i,requestId:t.meta.requestId,fulfilledTimeStamp:t.meta.timestamp,baseQueryMeta:{}},n,!0)}},prepare:e=>({payload:e.map(e=>{let{endpointName:t,arg:r,value:n}=e,a=s[t];return{queryDescription:{type:"query",endpointName:t,originalArgs:e.arg,queryCacheKey:i({queryArgs:r,endpointDefinition:a,endpointName:t})},value:n}}),meta:{[n.SHOULD_AUTOBATCH]:!0,requestId:(0,n.nanoid)(),timestamp:Date.now()}})},queryResultPatched:{reducer(e,{payload:{queryCacheKey:t,patches:r}}){z(e,t,e=>{e.data=(0,a.applyPatches)(e.data,r.concat())})},prepare:(0,n.prepareAutoBatched)()}},extraReducers(e){e.addCase(t.pending,(e,{meta:t,meta:{arg:r}})=>{let i=T(r);m(e,r,i,t)}).addCase(t.fulfilled,(e,{meta:t,payload:r})=>{let i=T(t.arg);h(e,t,r,i)}).addCase(t.rejected,(e,{meta:{condition:t,arg:r,requestId:i},error:n,payload:a})=>{z(e,r.queryCacheKey,e=>{if(t);else{if(e.requestId!==i)return;e.status="rejected",e.error=a??n}})}).addMatcher(c,(e,t)=>{let{queries:r}=o(t);for(let[t,i]of Object.entries(r))(i?.status==="fulfilled"||i?.status==="rejected")&&(e[t]=i)})}}),g=(0,n.createSlice)({name:`${e}/mutations`,initialState:$,reducers:{removeMutationResult:{reducer(e,{payload:t}){let r=K(t);r in e&&delete e[r]},prepare:(0,n.prepareAutoBatched)()}},extraReducers(e){e.addCase(r.pending,(e,{meta:t,meta:{requestId:r,arg:i,startedTimeStamp:n}})=>{i.track&&(e[K(t)]={requestId:r,status:"pending",endpointName:i.endpointName,startedTimeStamp:n})}).addCase(r.fulfilled,(e,{payload:t,meta:r})=>{r.arg.track&&U(e,r,e=>{e.requestId===r.requestId&&(e.status="fulfilled",e.data=t,e.fulfilledTimeStamp=r.fulfilledTimeStamp)})}).addCase(r.rejected,(e,{payload:t,error:r,meta:i})=>{i.arg.track&&U(e,i,e=>{e.requestId===i.requestId&&(e.status="rejected",e.error=t??r)})}).addMatcher(c,(e,t)=>{let{mutations:r}=o(t);for(let[t,i]of Object.entries(r))(i?.status==="fulfilled"||i?.status==="rejected")&&t!==i?.requestId&&(e[t]=i)})}}),b=(0,n.createSlice)({name:`${e}/invalidation`,initialState:{tags:{},keys:{}},reducers:{updateProvidedBy:{reducer(e,t){for(let{queryCacheKey:r,providedTags:i}of t.payload){for(let{type:t,id:n}of(v(e,r),i)){let i=(e.tags[t]??={})[n||"__internal_without_id"]??=[];i.includes(r)||i.push(r)}e.keys[r]=i}},prepare:(0,n.prepareAutoBatched)()}},extraReducers(e){e.addCase(y.actions.removeQueryResult,(e,{payload:{queryCacheKey:t}})=>{v(e,t)}).addMatcher(c,(e,t)=>{let{provided:r}=o(t);for(let[t,i]of Object.entries(r))for(let[r,n]of Object.entries(i)){let i=(e.tags[t]??={})[r||"__internal_without_id"]??=[];for(let e of n)i.includes(e)||i.push(e)}}).addMatcher((0,n.isAnyOf)((0,n.isFulfilled)(t),(0,n.isRejectedWithValue)(t)),(e,t)=>{S(e,[t])}).addMatcher(y.actions.cacheEntriesUpserted.match,(e,t)=>{S(e,t.payload.map(({queryDescription:e,value:t})=>({type:"UNKNOWN",payload:t,meta:{requestStatus:"fulfilled",requestId:"UNKNOWN",arg:e}})))})}});function v(e,t){for(let r of e.keys[t]??[]){let i=r.type,n=r.id??"__internal_without_id",a=e.tags[i]?.[n];a&&(e.tags[i][n]=a.filter(e=>e!==t))}delete e.keys[t]}function S(e,t){let r=t.map(e=>{let t=F(e,"providesTags",s,d),{queryCacheKey:r}=e.meta.arg;return{queryCacheKey:r,providedTags:t}});b.caseReducers.updateProvidedBy(e,b.actions.updateProvidedBy(r))}let A=(0,n.createSlice)({name:`${e}/subscriptions`,initialState:$,reducers:{updateSubscriptionOptions(e,t){},unsubscribeQueryResult(e,t){},internal_getRTKQSubscriptions(){}}}),P=(0,n.createSlice)({name:`${e}/internalSubscriptions`,initialState:$,reducers:{subscriptionsUpdated:{reducer:(e,t)=>(0,a.applyPatches)(e,t.payload),prepare:(0,n.prepareAutoBatched)()}}}),j=(0,n.createSlice)({name:`${e}/config`,initialState:{online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine,focused:"undefined"==typeof document||"hidden"!==document.visibilityState,middlewareRegistered:!1,...f},reducers:{middlewareRegistered(e,{payload:t}){e.middlewareRegistered="conflict"!==e.middlewareRegistered&&u===t||"conflict"}},extraReducers:e=>{e.addCase(O,e=>{e.online=!0}).addCase(w,e=>{e.online=!1}).addCase(q,e=>{e.focused=!0}).addCase(R,e=>{e.focused=!1}).addMatcher(c,e=>({...e}))}}),N=(0,n.combineReducers)({queries:y.reducer,mutations:g.reducer,provided:b.reducer,subscriptions:P.reducer,config:j.reducer});return{reducer:(e,t)=>N(p.match(t)?void 0:e,t),actions:{...j.actions,...y.actions,...A.actions,...P.actions,...g.actions,...b.actions,resetApiState:p}}}({context:j,queryThunk:el,infiniteQueryThunk:ed,mutationThunk:ef,serializeQueryArgs:u,reducerPath:s,assertTagType:B,config:{refetchOnFocus:h,refetchOnReconnect:y,refetchOnMountOrArgChange:m,keepUnusedDataFor:o,reducerPath:s,invalidationBehavior:g}});G(t.util,{patchQueryData:ep,updateQueryData:em,upsertQueryData:eh,prefetch:ey,resetApiState:ev.resetApiState,upsertQueryEntries:ev.cacheEntriesUpserted}),G(t.internalActions,ev);let{middleware:eS,actions:eA}=function(e){let{reducerPath:t,queryThunk:r,api:i,context:a}=e,{apiUid:s}=a,u={invalidateTags:(0,n.createAction)(`${t}/invalidateTags`)},o=e=>e.type.startsWith(`${t}/`),c=[er,X,ei,en,et,ea];return{middleware:r=>{let u=!1,d={...e,internalState:{currentSubscriptions:{}},refetchQuery:l,isThisApiSliceAction:o},f=c.map(e=>e(d)),p=Y(d),m=es(d);return e=>c=>{let l;if(!(0,n.isAction)(c))return e(c);u||(u=!0,r.dispatch(i.internalActions.middlewareRegistered(s)));let d={...r,next:e},h=r.getState(),[y,g]=p(c,d,h);if(l=y?e(c):g,r.getState()[t]&&(m(c,d,h),o(c)||a.hasRehydrationInfo(c)))for(let e of f)e(c,d,h);return l}},actions:u};function l(t){return e.api.endpoints[t.endpointName].initiate(t.originalArgs,{subscribe:!1,forceRefetch:!0})}}({reducerPath:s,context:j,queryThunk:el,mutationThunk:ef,infiniteQueryThunk:ed,api:t,assertTagType:B,selectors:J});G(t.util,eA),G(t,{reducer:eb,middleware:eS});let{buildInitiateQuery:eq,buildInitiateInfiniteQuery:eR,buildInitiateMutation:eO,getRunningMutationThunk:ew,getRunningMutationsThunk:eP,getRunningQueriesThunk:eC,getRunningQueryThunk:ej}=function({serializeQueryArgs:e,queryThunk:t,infiniteQueryThunk:r,mutationThunk:i,api:n,context:a}){let s=new Map,u=new Map,{unsubscribeQueryResult:o,removeMutationResult:c,updateSubscriptionOptions:l}=n.internalActions;return{buildInitiateQuery:function(e,t){return m(e,t)},buildInitiateInfiniteQuery:function(e,t){return m(e,t)},buildInitiateMutation:function(e){return(t,{track:r=!0,fixedCacheKey:n}={})=>(a,s)=>{var o,l;let f=a(i({type:"mutation",endpointName:e,originalArgs:t,track:r,fixedCacheKey:n})),{requestId:p,abort:m,unwrap:h}=f,y=Object.assign((o=f.unwrap().then(e=>({data:e})),l=e=>({error:e}),o.catch(l)),{arg:f.arg,requestId:p,abort:m,unwrap:h,reset:()=>{a(c({requestId:p,fixedCacheKey:n}))}}),g=u.get(a)||{};return u.set(a,g),g[p]=y,y.then(()=>{delete g[p],d(g)||u.delete(a)}),n&&(g[n]=y,y.then(()=>{g[n]===y&&(delete g[n],d(g)||u.delete(a))})),y}},getRunningQueryThunk:function(t,r){return i=>{let n=e({queryArgs:r,endpointDefinition:a.endpointDefinitions[t],endpointName:t});return s.get(i)?.[n]}},getRunningMutationThunk:function(e,t){return e=>u.get(e)?.[t]},getRunningQueriesThunk:function(){return e=>Object.values(s.get(e)||{}).filter(p)},getRunningMutationsThunk:function(){return e=>Object.values(u.get(e)||{}).filter(p)}};function f(e){}function m(i,a){let u=(c,{subscribe:f=!0,forceRefetch:p,subscriptionOptions:m,[E]:h,...y}={})=>(g,b)=>{let v,S=e({queryArgs:c,endpointDefinition:a,endpointName:i}),A={...y,type:"query",subscribe:f,forceRefetch:p,subscriptionOptions:m,endpointName:i,originalArgs:c,queryCacheKey:S,[E]:h};if(P(a))v=t(A);else{let{direction:e,initialPageParam:t}=y;v=r({...A,direction:e,initialPageParam:t})}let q=n.endpoints[i].select(c),R=g(v),O=q(b()),{requestId:w,abort:C}=R,j=O.requestId!==w,N=s.get(g)?.[S],k=()=>q(b()),T=Object.assign(h?R.then(k):j&&!N?Promise.resolve(O):Promise.all([N,R]).then(k),{arg:c,requestId:w,subscriptionOptions:m,queryCacheKey:S,abort:C,async unwrap(){let e=await T;if(e.isError)throw e.error;return e.data},refetch:()=>g(u(c,{subscribe:!1,forceRefetch:!0})),unsubscribe(){f&&g(o({queryCacheKey:S,requestId:w}))},updateSubscriptionOptions(e){T.subscriptionOptions=e,g(l({endpointName:i,requestId:w,queryCacheKey:S,options:e}))}});if(!N&&!j&&!h){var M;let e=(M={},s.has(g)?s.get(g):s.set(g,M).get(g));e[S]=T,T.then(()=>{delete e[S],d(e)||s.delete(g)})}return T};return u}}({queryThunk:el,mutationThunk:ef,infiniteQueryThunk:ed,api:t,serializeQueryArgs:u,context:j});return G(t.util,{getRunningMutationThunk:ew,getRunningMutationsThunk:eP,getRunningQueryThunk:ej,getRunningQueriesThunk:eC}),{name:eu,injectEndpoint(e,r){let i=t.endpoints[e]??={};P(r)&&G(i,{name:e,select:ee(e,r),initiate:eq(e,r)},eg(el,e)),"mutation"===r.type&&G(i,{name:e,select:ec(),initiate:eO(e)},eg(ef,e)),C(r)&&G(i,{name:e,select:eo(e,r),initiate:eR(e,r)},eg(el,e))}}}});eo()}}]); \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1047.12877d03.js.LICENSE.txt b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1047.12877d03.js.LICENSE.txt deleted file mode 100644 index 8693fb8316..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1047.12877d03.js.LICENSE.txt +++ /dev/null @@ -1,13 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1447.13bc4d3d.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1447.13bc4d3d.js deleted file mode 100644 index 4c63bf5467..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1447.13bc4d3d.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 1447.13bc4d3d.js.LICENSE.txt */ -"use strict";(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["1447"],{62230:function(e,t,n){n.r(t),n.d(t,{commonmarkLanguage:()=>ej,markdown:()=>e0,markdownKeymap:()=>eY,deleteMarkupBackward:()=>eW,markdownLanguage:()=>eD,insertNewlineContinueMarkup:()=>eG});var r,s,i=n(95235),o=n(94547),l=n(73015),a=n(83582),h=n(31171),f=n(26644);class p{static create(e,t,n,r,s){return new p(e,t,n,r+(r<<8)+e+(t<<4)|0,s,[],[])}constructor(e,t,n,r,s,i,o){this.type=e,this.value=t,this.from=n,this.hash=r,this.end=s,this.children=i,this.positions=o,this.hashProp=[[h.md.contextHash,r]]}addChild(e,t){e.prop(h.md.contextHash)!=this.hash&&(e=new h.mp(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}toTree(e,t=this.end){let n=this.children.length-1;return n>=0&&(t=Math.max(t,this.positions[n]+this.children[n].length+this.from)),new h.mp(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(e,t,n)=>new h.mp(h.Jq.none,e,t,n,this.hashProp)})}}(r=s||(s={}))[r.Document=1]="Document",r[r.CodeBlock=2]="CodeBlock",r[r.FencedCode=3]="FencedCode",r[r.Blockquote=4]="Blockquote",r[r.HorizontalRule=5]="HorizontalRule",r[r.BulletList=6]="BulletList",r[r.OrderedList=7]="OrderedList",r[r.ListItem=8]="ListItem",r[r.ATXHeading1=9]="ATXHeading1",r[r.ATXHeading2=10]="ATXHeading2",r[r.ATXHeading3=11]="ATXHeading3",r[r.ATXHeading4=12]="ATXHeading4",r[r.ATXHeading5=13]="ATXHeading5",r[r.ATXHeading6=14]="ATXHeading6",r[r.SetextHeading1=15]="SetextHeading1",r[r.SetextHeading2=16]="SetextHeading2",r[r.HTMLBlock=17]="HTMLBlock",r[r.LinkReference=18]="LinkReference",r[r.Paragraph=19]="Paragraph",r[r.CommentBlock=20]="CommentBlock",r[r.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",r[r.Escape=22]="Escape",r[r.Entity=23]="Entity",r[r.HardBreak=24]="HardBreak",r[r.Emphasis=25]="Emphasis",r[r.StrongEmphasis=26]="StrongEmphasis",r[r.Link=27]="Link",r[r.Image=28]="Image",r[r.InlineCode=29]="InlineCode",r[r.HTMLTag=30]="HTMLTag",r[r.Comment=31]="Comment",r[r.ProcessingInstruction=32]="ProcessingInstruction",r[r.Autolink=33]="Autolink",r[r.HeaderMark=34]="HeaderMark",r[r.QuoteMark=35]="QuoteMark",r[r.ListMark=36]="ListMark",r[r.LinkMark=37]="LinkMark",r[r.EmphasisMark=38]="EmphasisMark",r[r.CodeMark=39]="CodeMark",r[r.CodeText=40]="CodeText",r[r.CodeInfo=41]="CodeInfo",r[r.LinkTitle=42]="LinkTitle",r[r.LinkLabel=43]="LinkLabel",r[r.URL=44]="URL";class u{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class d{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return k(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,n=0){for(let r=t;r=t.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;let r=(e.type==s.OrderedList?y:w)(n,t,!1);return r>0&&(e.type!=s.BulletList||0>S(n,t,!1))&&n.text.charCodeAt(n.pos+r-1)==e.value}let m={[s.Blockquote]:(e,t,n)=>62==n.next&&(n.markers.push(G(s.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(g(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0),[s.ListItem]:(e,t,n)=>(!(n.indent-1))&&(n.moveBaseColumn(n.baseIndent+e.value),!0),[s.OrderedList]:c,[s.BulletList]:c,[s.Document]:()=>!0};function g(e){return 32==e||9==e||10==e||13==e}function k(e,t=0){for(;tn&&g(e.charCodeAt(t-1));)t--;return t}function b(e){if(96!=e.next&&126!=e.next)return -1;let t=e.pos+1;for(;t-1&&e.depth==t.stack.length&&t.parser.leafBlockParsers.indexOf(z.SetextHeading)>-1||r<3?-1:1}function C(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function w(e,t,n){return(45==e.next||43==e.next||42==e.next)&&(e.pos==e.text.length-1||g(e.text.charCodeAt(e.pos+1)))&&(!n||C(t,s.BulletList)||e.skipSpace(e.pos+2)=48&&i<=57;){if(++r==e.text.length)return -1;i=e.text.charCodeAt(r)}return r==e.pos||r>e.pos+9||46!=i&&41!=i||re.pos+1||49!=e.next)?-1:r+1-e.pos}function A(e){if(35!=e.next)return -1;let t=e.pos+1;for(;t6?-1:n}function I(e){if(45!=e.next&&61!=e.next||e.indent>=e.baseIndent+4)return -1;let t=e.pos+1;for(;t/,E=/\?>/,M=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(r);if(o)return e.append(G(s.Comment,n,n+1+o[0].length));let l=/^\?[^]*?\?>/.exec(r);if(l)return e.append(G(s.ProcessingInstruction,n,n+1+l[0].length));let a=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(r);return a?e.append(G(s.HTMLTag,n,n+1+a[0].length)):-1},Emphasis(e,t,n){if(95!=t&&42!=t)return -1;let r=n+1;for(;e.char(r)==t;)r++;let s=e.slice(n-1,n),i=e.slice(r,r+1),o=en.test(s),l=en.test(i),a=/\s|^$/.test(s),h=/\s|^$/.test(i),f=!h&&(!l||a||o),p=!a&&(!o||h||l);return e.append(new ee(95==t?V:K,n,r,!!(f&&(42==t||!p||o))|2*!!(p&&(42==t||!f||l))))},HardBreak(e,t,n){if(92==t&&10==e.char(n+1))return e.append(G(s.HardBreak,n,n+2));if(32==t){let t=n+1;for(;32==e.char(t);)t++;if(10==e.char(t)&&t>=n+2)return e.append(G(s.HardBreak,n,t+1))}return -1},Link:(e,t,n)=>91==t?e.append(new ee(W,n,n+1,1)):-1,Image:(e,t,n)=>33==t&&91==e.char(n+1)?e.append(new ee(Y,n,n+2,1)):-1,LinkEnd(e,t,n){if(93!=t)return -1;for(let t=e.parts.length-1;t>=0;t--){let r=e.parts[t];if(r instanceof ee&&(r.type==W||r.type==Y)){if(!r.side||e.skipSpace(r.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[t]=null,-1;let i=e.takeContent(t),o=e.parts[t]=function(e,t,n,r,i){let{text:o}=e,l=e.char(i),a=i;if(t.unshift(G(s.LinkMark,r,r+(n==s.Image?2:1))),t.push(G(s.LinkMark,i-1,i)),40==l){let n=e.skipSpace(i+1),r=es(o,n-e.offset,e.offset),l;r&&(n=e.skipSpace(r.to))!=r.to&&(l=ei(o,n-e.offset,e.offset))&&(n=e.skipSpace(l.to)),41==e.char(n)&&(t.push(G(s.LinkMark,i,i+1)),a=n+1,r&&t.push(r),l&&t.push(l),t.push(G(s.LinkMark,n,a)))}else if(91==l){let n=eo(o,i-e.offset,e.offset,!1);n&&(t.push(n),a=n.to)}return G(n,r,a,t)}(e,i,r.type==W?s.Link:s.Image,r.from,n+1);if(r.type==W)for(let n=0;nt?G(s.URL,t+n,i+n):i==e.length&&null}}function ei(e,t,n){let r=e.charCodeAt(t);if(39!=r&&34!=r&&40!=r)return!1;let i=40==r?41:r;for(let r=t+1,o=!1;r=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,n,r,s){return this.append(new ee(e,t,n,!!r|2*!!s))}get hasOpenLink(){for(let e=this.parts.length-1;e>=0;e--){let t=this.parts[e];if(t instanceof ee&&(t.type==W||t.type==Y))return!0}return!1}addElement(e){return this.append(e)}resolveMarkers(e){for(let t=e;t=e;o--){let e=this.parts[o];if(e instanceof ee&&1&e.side&&e.type==n.type&&!(r&&(1&n.side||2&e.side)&&(e.to-e.from+s)%3==0&&((e.to-e.from)%3||s%3))){i=e;break}}if(!i)continue;let l=n.type.resolve,a=[],h=i.from,f=n.to;if(r){let e=Math.min(2,i.to-i.from,s);h=i.to-e,f=n.from+e,l=1==e?"Emphasis":"StrongEmphasis"}i.type.mark&&a.push(this.elt(i.type.mark,h,i.to));for(let e=o+1;e=0;t--){let n=this.parts[t];if(n instanceof ee&&n.type==e)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}skipSpace(e){return k(this.text,e-this.offset)+this.offset}elt(e,t,n,r){return"string"==typeof e?G(this.parser.getNodeType(e),t,n,r):new Z(e,t)}}function ea(e,t){if(!t.length)return e;if(!e.length)return t;let n=e.slice(),r=0;for(let e of t){for(;r(e?e-1:0))return!1;if(this.fragmentEnd<0){let e=this.fragment.to;for(;e>0&&"\n"!=this.input.read(e-1,e);)e--;this.fragmentEnd=e?e-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor()).firstChild();let r=e+this.fragment.offset;for(;n.to<=r;)if(!n.parent())return!1;for(;;){if(n.from>=r)return this.fragment.from<=t;if(!n.childAfter(r))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(h.md.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,r=this.fragmentEnd-!!this.fragment.openEnd,i=e.absoluteLineStart,o=i,l=e.block.children.length,a=o,f=l;for(;;){if(t.to-n>r){if(t.type.isAnonymous&&t.firstChild())continue;break}let i=ep(t.from-n,e.ranges);if(t.to-n<=e.ranges[e.rangeI].to)e.addNode(t.tree,i);else{let n=new h.mp(e.parser.nodeSet.types[s.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(n,t.tree),e.addNode(n,i)}if(t.type.is("Block")&&(0>eh.indexOf(t.type.id)?(o=t.to-n,l=e.block.children.length):(o=a,l=f,a=t.to-n,f=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>l;)e.block.children.pop(),e.block.positions.pop();return o-i}}function ep(e,t){let n=e;for(let r=1;rN[e]),Object.keys(N).map(e=>z[e]),Object.keys(N),[(e,t)=>A(t)>=0,(e,t)=>b(t)>=0,(e,t)=>L(t)>=0,(e,t)=>w(t,e,!0)>=0,(e,t)=>y(t,e,!0)>=0,(e,t)=>S(t,e,!0)>=0,(e,t)=>v(t,e,!0)>=0],m,Object.keys(er).map(e=>er[e]),Object.keys(er),[]),ec={resolve:"Strikethrough",mark:"StrikethroughMark"},em={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":f.pJ.strikethrough}},{name:"StrikethroughMark",style:f.pJ.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,t,n){if(126!=t||126!=e.char(n+1)||126==e.char(n+2))return -1;let r=e.slice(n-1,n),s=e.slice(n+2,n+3),i=/\s|^$/.test(r),o=/\s|^$/.test(s),l=en.test(r),a=en.test(s);return e.addDelimiter(ec,n,n+2,!o&&(!a||i||l),!i&&(!l||o||a))},after:"Emphasis"}]};function eg(e,t,n=0,r,s=0){let i=0,o=!0,l=-1,a=-1,h=!1,f=()=>{r.push(e.elt("TableCell",s+l,s+a,e.parser.parseInline(t.slice(l,a),s+l)))};for(let p=n;p-1)&&i++,o=!1,r&&(l>-1&&f(),r.push(e.elt("TableDelimiter",p+s,p+s+1))),l=a=-1),h=!h&&92==n}return l>-1&&(i++,r&&f()),i}function ek(e,t){for(let n=t;nek(t.content,0)?new eb:null,endLeaf(e,t,n){if(n.parsers.some(e=>e instanceof eb)||!ek(t.text,t.basePos))return!1;let r=e.peekLine();return ex.test(r)&&eg(e,t.text,t.basePos)==eg(e,r,t.basePos)},before:"SetextHeading"}]};class eS{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}let eC={defineNodes:[{name:"Task",block:!0,style:f.pJ.list},{name:"TaskMarker",style:f.pJ.atom}],parseBlock:[{name:"TaskList",leaf:(e,t)=>/^\[[ xX]\][ \t]/.test(t.content)&&"ListItem"==e.parentType().name?new eS:null,after:"SetextHeading"}]},ew=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,ey=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,eA=/[\w-]+\.[\w-]+($|\/)/,eI=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,eT=/\/[a-zA-Z\d@.]+/gy;function eB(e,t,n,r){let s=0;for(let i=t;i-1)return -1;let r=t+n[0].length;for(;;){let n=e[r-1],s;if(/[?!.,:*_~]/.test(n)||")"==n&&eB(e,t,r,")")>eB(e,t,r,"("))r--;else if(";"==n&&(s=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(e.slice(t,r))))r=t+s.index;else break}return r}(e.text,r+s[0].length))>-1&&e.hasOpenLink){let t=/([^\[\]]|\[[^\]]*\])*/.exec(e.text.slice(r,i));i=r+t[0].length}}else s[3]?i=eE(e.text,r):(i=eE(e.text,r+s[0].length))>-1&&"xmpp:"==s[0]&&(eT.lastIndex=i,(s=eT.exec(e.text))&&(i=s.index+s[0].length));return i<0?-1:(e.addElement(e.elt("URL",n,i+e.offset)),i+e.offset)}}]}];function ev(e,t,n){return(r,s,i)=>{if(s!=e||r.char(i+1)==e)return -1;let o=[r.elt(n,i,i+1)];for(let s=i+1;s{var t;return!e.is("Block")||e.is("Document")||null!=eX(e)||"OrderedList"==(t=e).name||"BulletList"==t.name?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})}),eR.add(eX),l.uj.add({Document:()=>null}),l.pp.add({Document:eO})]});function eX(e){let t=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return t?+t[1]:void 0}let e$=l.rs.of((e,t,n)=>{for(let r=(0,l.qz)(e).resolveInner(n,-1);r&&!(r.fromn)return{from:n,to:t}}return null});function eq(e){return new l.SQ(eO,e,[e$],"markdown")}let ej=eq(ez),eD=eq(ez.configure([eM,eP,eH,eN,{props:[l.x0.add({Table:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}]));class e_{constructor(e,t,n,r,s,i,o){this.node=e,this.from=t,this.to=n,this.spaceBefore=r,this.spaceAfter=s,this.type=i,this.item=o}blank(e,t=!0){let n=this.spaceBefore+("Blockquote"==this.node.name?">":"");if(null!=e){for(;n.length0;e--)n+=" ";return n+(t?this.spaceAfter:"")}marker(e,t){let n="OrderedList"==this.node.name?String(+eU(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function eF(e,t){let n=[],r=[];for(let t=e;t;t=t.parent){if("FencedCode"==t.name)return r;("ListItem"==t.name||"Blockquote"==t.name)&&n.push(t)}for(let e=n.length-1;e>=0;e--){let s=n[e],i,o=t.lineAt(s.from),l=s.from-o.from;if("Blockquote"==s.name&&(i=/^ *>( ?)/.exec(o.text.slice(l))))r.push(new e_(s,l,l+i[0].length,"",i[1],">",null));else if("ListItem"==s.name&&"OrderedList"==s.parent.name&&(i=/^( *)\d+([.)])( *)/.exec(o.text.slice(l)))){let e=i[3],t=i[0].length;e.length>=4&&(e=e.slice(0,e.length-4),t-=4),r.push(new e_(s.parent,l,l+t,i[1],e,i[2],s))}else if("ListItem"==s.name&&"BulletList"==s.parent.name&&(i=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(o.text.slice(l)))){let e=i[4],t=i[0].length;e.length>4&&(e=e.slice(0,e.length-4),t-=4);let n=i[2];i[3]&&(n+=i[3].replace(/[xX]/," ")),r.push(new e_(s.parent,l,l+t,i[1],e,n,s))}}return r}function eU(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function eQ(e,t,n,r=0){for(let s=-1,i=e;;){if("ListItem"==i.name){let e=eU(i,t),o=+e[2];if(s>=0){if(o!=s+1)return;n.push({from:i.from+e[1].length,to:i.from+e[0].length,insert:String(s+2+r)})}s=o}let e=i.nextSibling;if(!e)break;i=e}}function eZ(e,t){let n=/^[ \t]*/.exec(e)[0].length;if(!n||" "!=t.facet(l.c))return e;let r=(0,i.IS)(e,4,n),s="";for(let e=r;e>0;)e>=4?(s+=" ",e-=4):(s+=" ",e--);return s+e.slice(n)}let eG=({state:e,dispatch:t})=>{let n=(0,l.qz)(e),{doc:r}=e,s=null,o=e.changeByRange(t=>{if(!t.empty||!eD.isActiveAt(e,t.from,0))return s={range:t};let o=t.from,l=r.lineAt(o),a=eF(n.resolveInner(o,-1),r);for(;a.length&&a[a.length-1].from>o-l.from;)a.pop();if(!a.length)return s={range:t};let h=a[a.length-1];if(h.to-h.spaceAfter.length>o-l.from)return s={range:t};let f=o>=h.to-h.spaceAfter.length&&!/\S/.test(l.text.slice(h.to));if(h.item&&f){let t=h.node.firstChild,n=h.node.getChild("ListItem","ListItem");if(t.to>=o||n&&n.to0&&!/[^\s>]/.test(r.lineAt(l.from-1).text)){let e=a.length>1?a[a.length-2]:null,t,n="";e&&e.item?(t=l.from+e.from,n=e.marker(r,1)):t=l.from+(e?e.to:0);let s=[{from:t,to:o,insert:n}];return"OrderedList"==h.node.name&&eQ(h.item,r,s,-2),e&&"OrderedList"==e.node.name&&eQ(e.item,r,s),{range:i.jT.cursor(t+n.length),changes:s}}{let t=eK(a,e,l);return{range:i.jT.cursor(o+t.length+1),changes:{from:l.from,insert:t+e.lineBreak}}}}if("Blockquote"==h.node.name&&f&&l.from){let n=r.lineAt(l.from-1),s=/>\s*$/.exec(n.text);if(s&&s.index==h.from){let r=e.changes([{from:n.from+s.index,to:n.to},{from:l.from+h.from,to:l.to}]);return{range:t.map(r),changes:r}}}let p=[];"OrderedList"==h.node.name&&eQ(h.item,r,p);let u=h.item&&h.item.from]*/.exec(l.text)[0].length>=h.to)for(let e=0,t=a.length-1;e<=t;e++)d+=e!=t||u?a[e].blank(el.from&&/\s/.test(l.text.charAt(c-l.from-1));)c--;return d=eZ(d,e),function(e,t){if("OrderedList"!=e.name&&"BulletList"!=e.name)return!1;let n=e.firstChild,r=e.getChild("ListItem","ListItem");if(!r)return!1;let s=t.lineAt(n.to),i=t.lineAt(r.from),o=/^[\s>]*$/.test(s.text);return s.number+ +!o{let n=(0,l.qz)(e),r=null,s=e.changeByRange(t=>{let s=t.from,{doc:o}=e;if(t.empty&&eD.isActiveAt(e,t.from)){let t=o.lineAt(s),r=eF(function(e,t){let n=e.resolveInner(t,-1),r=t;eV(n)&&(r=n.from,n=n.parent);for(let e;e=n.childBefore(r);)if(eV(e))r=e.from;else if("OrderedList"==e.name||"BulletList"==e.name)r=(n=e.lastChild).to;else break;return n}(n,s),o);if(r.length){let n=r[r.length-1],o=n.to-n.spaceAfter.length+ +!!n.spaceAfter;if(s-t.from>o&&!/\S/.test(t.text.slice(o,s-t.from)))return{range:i.jT.cursor(t.from+o),changes:{from:t.from+o,to:s}};if(s-t.from==o&&(!n.item||t.from<=n.item.from||!/\S/.test(t.text.slice(0,n.to)))){let r=t.from+n.from;if(n.item&&n.node.from{if(e&&n){let t=null;if(e=/\S*/.exec(e)[0],(t="function"==typeof n?n(e):l.c6.matchLanguageName(n,e,!0))instanceof l.c6)return t.support?t.support.language.parser:l.Be.getSkippingParser(t.load());if(t)return t.parser}return t?t.parser:null}):void 0;d.push(function(e){let{codeParser:t,htmlParser:n}=e;return{wrap:(0,h.FE)((e,r)=>{let i=e.type.id;if(t&&(i==s.CodeBlock||i==s.FencedCode)){let n="";if(i==s.FencedCode){let t=e.node.getChild(s.CodeInfo);t&&(n=r.read(t.from,t.to))}let o=t(n);if(o)return{parser:o,overlay:e=>e.type.id==s.CodeText}}else if(n&&(i==s.HTMLBlock||i==s.HTMLTag||i==s.CommentBlock))return{parser:n,overlay:function(e,t,n){let r=[];for(let s=e.firstChild,i=t;;s=s.nextSibling){let e=s?s.from:n;if(e>i&&r.push({from:i,to:e}),!s)break;i=s.to}return r}(e.node,e.from,e.to)};return null})}}({codeParser:g,htmlParser:u.language.parser})),a&&c.push(i.Wl.high(o.$f.of(eY)));let k=eq(f.configure(d));return p&&c.push(k.data.of({autocomplete:e2})),new l.ri(k,c)}function e2(e){let{state:t,pos:n}=e,r=/<[:\-\.\w\u00b7-\uffff]*$/.exec(t.sliceDoc(n-25,n));if(!r)return null;let s=(0,l.qz)(t).resolveInner(n,-1);for(;s&&!s.type.isTop;){if("CodeBlock"==s.name||"FencedCode"==s.name||"ProcessingInstructionBlock"==s.name||"CommentBlock"==s.name||"Link"==s.name||"Image"==s.name)return null;s=s.parent}return{from:n-r[0].length,to:n,options:function(){if(e4)return e4;let e=(0,eJ.htmlCompletionSource)(new a.TK(i.yy.create({extensions:e1}),0,!0));return e4=e?e.options:[]}(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}let e4=null}}]); \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1447.13bc4d3d.js.LICENSE.txt b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1447.13bc4d3d.js.LICENSE.txt deleted file mode 100644 index 8693fb8316..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1447.13bc4d3d.js.LICENSE.txt +++ /dev/null @@ -1,13 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1567.c410da58.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1567.c410da58.js deleted file mode 100644 index 2c65dbb8bb..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1567.c410da58.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 1567.c410da58.js.LICENSE.txt */ -"use strict";(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["1567"],{20994:function(e,t,s){s.r(t),s.d(t,{changeLanguage:()=>en,createInstance:()=>et,default:()=>ee,dir:()=>es,exists:()=>eu,getFixedT:()=>el,hasLoadedNamespace:()=>eg,init:()=>ei,loadLanguages:()=>ec,loadNamespaces:()=>ed,loadResources:()=>er,reloadResources:()=>eo,setDefaultNamespace:()=>ep,t:()=>eh,use:()=>ea});let i=e=>"string"==typeof e,r=()=>{let e,t,s=new Promise((s,i)=>{e=s,t=i});return s.resolve=e,s.reject=t,s},o=e=>null==e?"":""+e,a=(e,t,s)=>{e.forEach(e=>{t[e]&&(s[e]=t[e])})},n=/###/g,l=e=>e&&e.indexOf("###")>-1?e.replace(n,"."):e,h=e=>!e||i(e),u=(e,t,s)=>{let r=i(t)?t.split("."):t,o=0;for(;o{let{obj:i,k:r}=u(e,t,Object);if(void 0!==i||1===t.length){i[r]=s;return}let o=t[t.length-1],a=t.slice(0,t.length-1),n=u(e,a,Object);for(;void 0===n.obj&&a.length;)o=`${a[a.length-1]}.${o}`,(n=u(e,a=a.slice(0,a.length-1),Object))&&n.obj&&void 0!==n.obj[`${n.k}.${o}`]&&(n.obj=void 0);n.obj[`${n.k}.${o}`]=s},g=(e,t,s,i)=>{let{obj:r,k:o}=u(e,t,Object);r[o]=r[o]||[],r[o].push(s)},d=(e,t)=>{let{obj:s,k:i}=u(e,t);if(s)return s[i]},c=(e,t,s)=>{let i=d(e,s);return void 0!==i?i:d(t,s)},f=(e,t,s)=>{for(let r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?i(e[r])||e[r]instanceof String||i(t[r])||t[r]instanceof String?s&&(e[r]=t[r]):f(e[r],t[r],s):e[r]=t[r]);return e},m=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var v={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};let y=e=>i(e)?e.replace(/[&<>"'\/]/g,e=>v[e]):e,b=[" ",",","?","!",";"],x=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let s=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,s),this.regExpQueue.push(e),s}}(20),k=(e,t,s)=>{t=t||"",s=s||"";let i=b.filter(e=>0>t.indexOf(e)&&0>s.indexOf(e));if(0===i.length)return!0;let r=x.getRegExp(`(${i.map(e=>"?"===e?"\\?":e).join("|")})`),o=!r.test(e);if(!o){let t=e.indexOf(s);t>0&&!r.test(e.substring(0,t))&&(o=!0)}return o},S=function(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];let i=t.split(s),r=e;for(let e=0;e-1&&ae&&e.replace("_","-"),O={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class w{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||O,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=Array(e),s=0;s{this.observers[e]||(this.observers[e]=new Map);let s=this.observers[e].get(t)||0;this.observers[e].set(t,s+1)}),this}off(e,t){if(this.observers[e]){if(!t)return void delete this.observers[e];this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,s=Array(t>1?t-1:0),i=1;i{let[t,i]=e;for(let e=0;e{let[i,r]=t;for(let t=0;t1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,s){let r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,n=void 0!==o.ignoreJSONStructure?o.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?r=e.split("."):(r=[e,t],s&&(Array.isArray(s)?r.push(...s):i(s)&&a?r.push(...s.split(a)):r.push(s)));let l=d(this.data,r);return(!l&&!t&&!s&&e.indexOf(".")>-1&&(e=r[0],t=r[1],s=r.slice(2).join(".")),!l&&n&&i(s))?S(this.data&&this.data[e]&&this.data[e][t],s,a):l}addResource(e,t,s,i){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,a=[e,t];s&&(a=a.concat(o?s.split(o):s)),e.indexOf(".")>-1&&(a=e.split("."),i=t,t=a[1]),this.addNamespaces(t),p(this.data,a,i),r.silent||this.emit("added",e,t,s,i)}addResources(e,t,s){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(let r in s)(i(s[r])||Array.isArray(s[r]))&&this.addResource(e,t,r,s[r],{silent:!0});r.silent||this.emit("added",e,t,s)}addResourceBundle(e,t,s,i,r){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),i=s,s=t,t=a[1]),this.addNamespaces(t);let n=d(this.data,a)||{};o.skipCopy||(s=JSON.parse(JSON.stringify(s))),i?f(n,s,r):n={...n,...s},p(this.data,a,n),o.silent||this.emit("added",e,t,s)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var $={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,s,i,r){return e.forEach(e=>{this.processors[e]&&(t=this.processors[e].process(t,s,i,r))}),t}};let P={};class j extends R{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),a(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=N.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;let s=this.resolve(e,t);return s&&void 0!==s.res}extractFromKey(e,t){let s=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===s&&(s=":");let r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],a=s&&e.indexOf(s)>-1,n=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!k(e,s,r);if(a&&!n){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i(o)?[o]:o};let a=e.split(s);(s!==r||s===r&&this.options.ns.indexOf(a[0])>-1)&&(o=a.shift()),e=a.join(r)}return{key:e,namespaces:i(o)?[o]:o}}translate(e,t,s){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);let r=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:a,namespaces:n}=this.extractFromKey(e[e.length-1],t),l=n[n.length-1],h=t.lng||this.language,u=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(h&&"cimode"===h.toLowerCase()){if(u){let e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${l}${e}${a}`,usedKey:a,exactUsedKey:a,usedLng:h,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:`${l}${e}${a}`}return r?{res:a,usedKey:a,exactUsedKey:a,usedLng:h,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:a}let p=this.resolve(e,t),g=p&&p.res,d=p&&p.usedKey||a,c=p&&p.exactUsedKey||a,f=Object.prototype.toString.apply(g),m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,y=!i(g)&&"boolean"!=typeof g&&"number"!=typeof g;if(v&&g&&y&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(f)&&!(i(m)&&Array.isArray(g))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(d,g,{...t,ns:n}):`key '${a} (${this.language})' returned an object instead of string.`;return r?(p.res=e,p.usedParams=this.getUsedParamsDetails(t),p):e}if(o){let e=Array.isArray(g),s=e?[]:{},i=e?c:d;for(let e in g)if(Object.prototype.hasOwnProperty.call(g,e)){let r=`${i}${o}${e}`;s[e]=this.translate(r,{...t,joinArrays:!1,ns:n}),s[e]===r&&(s[e]=g[e])}g=s}}else if(v&&i(m)&&Array.isArray(g))(g=g.join(m))&&(g=this.extendTranslation(g,e,t,s));else{let r=!1,n=!1,u=void 0!==t.count&&!i(t.count),d=j.hasDefaultValue(t),c=u?this.pluralResolver.getSuffix(h,t.count,t):"",f=t.ordinal&&u?this.pluralResolver.getSuffix(h,t.count,{ordinal:!1}):"",m=u&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),v=m&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${c}`]||t[`defaultValue${f}`]||t.defaultValue;!this.isValidLookup(g)&&d&&(r=!0,g=v),this.isValidLookup(g)||(n=!0,g=a);let y=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:g,b=d&&v!==g&&this.options.updateMissing;if(n||r||b){if(this.logger.log(b?"updateKey":"missingKey",h,l,a,b?v:g),o){let e=this.resolve(a,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],s=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&s&&s[0])for(let t=0;t{let r=d&&i!==g?i:y;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,s,r,b,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,l,s,r,b,t),this.emit("missingKey",e,l,s,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&u?e.forEach(e=>{let s=this.pluralResolver.getSuffixes(e,t);m&&t[`defaultValue${this.options.pluralSeparator}zero`]&&0>s.indexOf(`${this.options.pluralSeparator}zero`)&&s.push(`${this.options.pluralSeparator}zero`),s.forEach(s=>{i([e],a+s,t[`defaultValue${s}`]||v)})}):i(e,a,v))}g=this.extendTranslation(g,e,t,p,s),n&&g===a&&this.options.appendNamespaceToMissingKey&&(g=`${l}:${a}`),(n||r)&&this.options.parseMissingKeyHandler&&(g="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,r?g:void 0):this.options.parseMissingKeyHandler(g))}return r?(p.res=g,p.usedParams=this.getUsedParamsDetails(t),p):g}extendTranslation(e,t,s,r,o){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...s},s.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!s.skipInterpolation){let n;s.interpolation&&this.interpolator.init({...s,...{interpolation:{...this.options.interpolation,...s.interpolation}}});let l=i(e)&&(s&&s.interpolation&&void 0!==s.interpolation.skipOnVariables?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(l){let t=e.match(this.interpolator.nestingRegexp);n=t&&t.length}let h=s.replace&&!i(s.replace)?s.replace:s;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),e=this.interpolator.interpolate(e,h,s.lng||this.language||r.usedLng,s),l){let t=e.match(this.interpolator.nestingRegexp);n<(t&&t.length)&&(s.nest=!1)}!s.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(s.lng=this.language||r.usedLng),!1!==s.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,i=Array(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:{};return i(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(t))return;let l=this.extractFromKey(e,n),h=l.key;s=h;let u=l.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));let p=void 0!==n.count&&!i(n.count),g=p&&!n.ordinal&&0===n.count&&this.pluralResolver.shouldUseIntlApi(),d=void 0!==n.context&&(i(n.context)||"number"==typeof n.context)&&""!==n.context,c=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);u.forEach(e=>{this.isValidLookup(t)||(a=e,!P[`${c[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(a)&&(P[`${c[0]}-${e}`]=!0,this.logger.warn(`key "${s}" for languages "${c.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),c.forEach(s=>{let i;if(this.isValidLookup(t))return;o=s;let a=[h];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(a,h,s,e,n);else{let e;p&&(e=this.pluralResolver.getSuffix(s,n.count,n));let t=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(a.push(h+e),n.ordinal&&0===e.indexOf(i)&&a.push(h+e.replace(i,this.options.pluralSeparator)),g&&a.push(h+t)),d){let s=`${h}${this.options.contextSeparator}${n.context}`;a.push(s),p&&(a.push(s+e),n.ordinal&&0===e.indexOf(i)&&a.push(s+e.replace(i,this.options.pluralSeparator)),g&&a.push(s+t))}}for(;i=a.pop();)this.isValidLookup(t)||(r=i,t=this.getResource(s,e,i,n))}))})}),{res:t,usedKey:s,exactUsedKey:r,usedLng:o,usedNS:a}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,s){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,s,i):this.resourceStore.getResource(e,t,s,i)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.replace&&!i(e.replace),s=t?e.replace:e;if(t&&void 0!==e.count&&(s.count=e.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!t)for(let e of(s={...s},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete s[e];return s}static hasDefaultValue(e){let t="defaultValue";for(let s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&t===s.substring(0,t.length)&&void 0!==e[s])return!0;return!1}}let E=e=>e.charAt(0).toUpperCase()+e.slice(1);class I{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=N.create("languageUtils")}getScriptPartFromCode(e){if(!(e=L(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length||(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=L(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(i(e)&&e.indexOf("-")>-1){if("undefined"!=typeof Intl&&void 0!==Intl.getCanonicalLocales)try{let t=Intl.getCanonicalLocales(e)[0];if(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)return t}catch(e){}let t=["hans","hant","latn","cyrl","cans","mong","arab"],s=e.split("-");return this.options.lowerCaseLng?s=s.map(e=>e.toLowerCase()):2===s.length?(s[0]=s[0].toLowerCase(),s[1]=s[1].toUpperCase(),t.indexOf(s[1].toLowerCase())>-1&&(s[1]=E(s[1].toLowerCase()))):3===s.length&&(s[0]=s[0].toLowerCase(),2===s[1].length&&(s[1]=s[1].toUpperCase()),"sgn"!==s[0]&&2===s[2].length&&(s[2]=s[2].toUpperCase()),t.indexOf(s[1].toLowerCase())>-1&&(s[1]=E(s[1].toLowerCase())),t.indexOf(s[2].toLowerCase())>-1&&(s[2]=E(s[2].toLowerCase()))),s.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let s=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(s))&&(t=s)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let s=this.getLanguagePartFromCode(e);if(this.isSupportedCode(s))return t=s;t=this.options.supportedLngs.find(e=>{if(e===s||!(0>e.indexOf("-")&&0>s.indexOf("-"))&&(e.indexOf("-")>0&&0>s.indexOf("-")&&e.substring(0,e.indexOf("-"))===s||0===e.indexOf(s)&&s.length>1))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),i(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let s=e[t];return s||(s=e[this.getScriptPartFromCode(t)]),s||(s=e[this.formatLanguageCode(t)]),s||(s=e[this.getLanguagePartFromCode(t)]),s||(s=e.default),s||[]}toResolveHierarchy(e,t){let s=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],o=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return i(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):i(e)&&o(this.formatLanguageCode(e)),s.forEach(e=>{0>r.indexOf(e)&&o(this.formatLanguageCode(e))}),r}}let F=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],A={1:e=>Number(e>1),2:e=>Number(1!=e),3:e=>0,4:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),5:e=>Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5),6:e=>Number(1==e?0:e>=2&&e<=4?1:2),7:e=>Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),8:e=>Number(1==e?0:2==e?1:8!=e&&11!=e?2:3),9:e=>Number(e>=2),10:e=>Number(1==e?0:2==e?1:e<7?2:e<11?3:4),11:e=>Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3),12:e=>Number(e%10!=1||e%100==11),13:e=>Number(0!==e),14:e=>Number(1==e?0:2==e?1:3==e?2:3),15:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2),16:e=>Number(e%10==1&&e%100!=11?0:0!==e?1:2),17:e=>Number(+(1!=e&&(e%10!=1||e%100==11))),18:e=>Number(0==e?0:1==e?1:2),19:e=>Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3),20:e=>Number(1==e?0:0==e||e%100>0&&e%100<20?1:2),21:e=>Number(e%100==1?1:e%100==2?2:3*(e%100==3||e%100==4)),22:e=>Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)},D=["v1","v2","v3"],V=["v4"],U={zero:0,one:1,two:2,few:3,many:4,other:5},T=()=>{let e={};return F.forEach(t=>{t.lngs.forEach(s=>{e[s]={numbers:t.nr,plurals:A[t.fc]}})}),e};class K{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=N.create("pluralResolver"),(!this.options.compatibilityJSON||V.includes(this.options.compatibilityJSON))&&("undefined"==typeof Intl||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=T(),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi()){let s,i=L("dev"===e?"en":e),r=t.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:i,type:r});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];try{s=new Intl.PluralRules(i,{type:r})}catch(r){if(!e.match(/-|_/))return;let i=this.languageUtils.getLanguagePartFromCode(e);s=this.getRule(i,t)}return this.pluralRulesCache[o]=s,s}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=this.getRule(e,t);return this.shouldUseIntlApi()?s&&s.resolvedOptions().pluralCategories.length>1:s&&s.numbers.length>1}getPluralFormsOfKey(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,s).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=this.getRule(e,t);return s?this.shouldUseIntlApi()?s.resolvedOptions().pluralCategories.sort((e,t)=>U[e]-U[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):s.numbers.map(s=>this.getSuffix(e,s,t)):[]}getSuffix(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this.getRule(e,s);return i?this.shouldUseIntlApi()?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${i.select(t)}`:this.getSuffixRetroCompatible(i,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){let s=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),i=e.numbers[s];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===i?i="plural":1===i&&(i=""));let r=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?`_plural_${i.toString()}`:r():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?r():this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString()}shouldUseIntlApi(){return!D.includes(this.options.compatibilityJSON)}}let M=function(e,t,s){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=c(e,t,s);return!a&&o&&i(s)&&void 0===(a=S(e,s,r))&&(a=S(t,s,r)),a},z=e=>e.replace(/\$/g,"$$$$");class H{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=N.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:s,useRawValueToEscape:i,prefix:r,prefixEscaped:o,suffix:a,suffixEscaped:n,formatSeparator:l,unescapeSuffix:h,unescapePrefix:u,nestingPrefix:p,nestingPrefixEscaped:g,nestingSuffix:d,nestingSuffixEscaped:c,nestingOptionsSeparator:f,maxReplaces:v,alwaysFormat:b}=e.interpolation;this.escape=void 0!==t?t:y,this.escapeValue=void 0===s||s,this.useRawValueToEscape=void 0!==i&&i,this.prefix=r?m(r):o||"{{",this.suffix=a?m(a):n||"}}",this.formatSeparator=l||",",this.unescapePrefix=h?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=p?m(p):g||m("$t("),this.nestingSuffix=d?m(d):c||m(")"),this.nestingOptionsSeparator=f||",",this.maxReplaces=v||1e3,this.alwaysFormat=void 0!==b&&b,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,s,r){let a,n,l,h=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=e=>{if(0>e.indexOf(this.formatSeparator)){let i=M(t,h,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,s,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),o=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(M(t,h,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,s,{...r,...t,interpolationkey:o})};this.resetRegExp();let p=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,g=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>z(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?z(this.escape(e)):z(e)}].forEach(t=>{for(l=0;a=t.regex.exec(e);){let s=a[1].trim();if(void 0===(n=u(s)))if("function"==typeof p){let t=p(e,a,r);n=i(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,s))n="";else if(g){n=a[0];continue}else this.logger.warn(`missed to pass in variable ${s} for interpolating ${e}`),n="";else i(n)||this.useRawValueToEscape||(n=o(n));let h=t.safeValue(n);if(e=e.replace(a[0],h),g?(t.regex.lastIndex+=n.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,++l>=this.maxReplaces)break}}),e}nest(e,t){let s,r,a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=(e,t)=>{let s=this.nestingOptionsSeparator;if(0>e.indexOf(s))return e;let i=e.split(RegExp(`${s}[ ]*{`)),r=`{${i[1]}`;e=i[0];let o=(r=this.interpolate(r,a)).match(/'/g),n=r.match(/"/g);(o&&o.length%2==0&&!n||n.length%2!=0)&&(r=r.replace(/'/g,'"'));try{a=JSON.parse(r),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${s}${r}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;s=this.nestingRegexp.exec(e);){let h=[];(a=(a={...n}).replace&&!i(a.replace)?a.replace:a).applyPostProcessor=!1,delete a.defaultValue;let u=!1;if(-1!==s[0].indexOf(this.formatSeparator)&&!/{.*}/.test(s[1])){let e=s[1].split(this.formatSeparator).map(e=>e.trim());s[1]=e.shift(),h=e,u=!0}if((r=t(l.call(this,s[1].trim(),a),a))&&s[0]===e&&!i(r))return r;i(r)||(r=o(r)),r||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`),r=""),u&&(r=h.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:s[1].trim()}),r.trim())),e=e.replace(s[0],r),this.regexp.lastIndex=0}return e}}let J=e=>{let t=e.toLowerCase().trim(),s={};if(e.indexOf("(")>-1){let i=e.split("(");t=i[0].toLowerCase().trim();let r=i[1].substring(0,i[1].length-1);"currency"===t&&0>r.indexOf(":")?s.currency||(s.currency=r.trim()):"relativetime"===t&&0>r.indexOf(":")?s.range||(s.range=r.trim()):r.split(";").forEach(e=>{if(e){let[t,...i]=e.split(":"),r=i.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();s[o]||(s[o]=r),"false"===r&&(s[o]=!1),"true"===r&&(s[o]=!0),isNaN(r)||(s[o]=parseInt(r,10))}})}return{formatName:t,formatOptions:s}},B=e=>{let t={};return(s,i,r)=>{let o=r;r&&r.interpolationkey&&r.formatParams&&r.formatParams[r.interpolationkey]&&r[r.interpolationkey]&&(o={...o,[r.interpolationkey]:void 0});let a=i+JSON.stringify(o),n=t[a];return n||(n=e(L(i),r),t[a]=n),n(s)}};class _{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=N.create("formatter"),this.options=e,this.formats={number:B((e,t)=>{let s=new Intl.NumberFormat(e,{...t});return e=>s.format(e)}),currency:B((e,t)=>{let s=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>s.format(e)}),datetime:B((e,t)=>{let s=new Intl.DateTimeFormat(e,{...t});return e=>s.format(e)}),relativetime:B((e,t)=>{let s=new Intl.RelativeTimeFormat(e,{...t});return e=>s.format(e,t.range||"day")}),list:B((e,t)=>{let s=new Intl.ListFormat(e,{...t});return e=>s.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=B(t)}format(e,t,s){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=t.split(this.formatSeparator);if(r.length>1&&r[0].indexOf("(")>1&&0>r[0].indexOf(")")&&r.find(e=>e.indexOf(")")>-1)){let e=r.findIndex(e=>e.indexOf(")")>-1);r[0]=[r[0],...r.splice(1,e)].join(this.formatSeparator)}return r.reduce((e,t)=>{let{formatName:r,formatOptions:o}=J(t);if(this.formats[r]){let t=e;try{let a=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},n=a.locale||a.lng||i.locale||i.lng||s;t=this.formats[r](e,n,{...o,...i,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${r}`),e},e)}}let q=(e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)};class W extends R{constructor(e,t,s){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=s,this.languageUtils=s.languageUtils,this.options=i,this.logger=N.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(s,i.backend,i)}queueLoad(e,t,s,i){let r={},o={},a={},n={};return e.forEach(e=>{let i=!0;t.forEach(t=>{let a=`${e}|${t}`;!s.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,i=!1,void 0===o[a]&&(o[a]=!0),void 0===r[a]&&(r[a]=!0),void 0===n[t]&&(n[t]=!0)))}),i||(a[e]=!0)}),(Object.keys(r).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(r),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(n)}}loaded(e,t,s){let i=e.split("|"),r=i[0],o=i[1];t&&this.emit("failedLoading",r,o,t),!t&&s&&this.store.addResourceBundle(r,o,s,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&s&&(this.state[e]=0);let a={};this.queue.forEach(s=>{g(s.loaded,[r],o),q(s,e),t&&s.errors.push(t),0!==s.pendingCount||s.done||(Object.keys(s.loaded).forEach(e=>{a[e]||(a[e]={});let t=s.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),s.done=!0,s.errors.length?s.callback(s.errors):s.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,s){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:s,tried:i,wait:r,callback:o});this.readingCalls++;let a=(a,n)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(a&&n&&i{this.read.call(this,e,t,s,i+1,2*r,o)},r);o(a,n)},n=this.backend[s].bind(this.backend);if(2===n.length){try{let s=n(e,t);s&&"function"==typeof s.then?s.then(e=>a(null,e)).catch(a):a(null,s)}catch(e){a(e)}return}return n(e,t,a)}prepareLoading(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();i(e)&&(e=this.languageUtils.toResolveHierarchy(e)),i(t)&&(t=[t]);let o=this.queueLoad(e,t,s,r);if(!o.toLoad.length)return o.pending.length||r(),null;o.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,s){this.prepareLoading(e,t,{},s)}reload(e,t,s){this.prepareLoading(e,t,{reload:!0},s)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=e.split("|"),i=s[0],r=s[1];this.read(i,r,"read",void 0,void 0,(s,o)=>{s&&this.logger.warn(`${t}loading namespace ${r} for language ${i} failed`,s),!s&&o&&this.logger.log(`${t}loaded namespace ${r} for language ${i}`,o),this.loaded(e,s,o)})}saveMissing(e,t,s,i,r){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))return void this.logger.warn(`did not save key "${s}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");if(null!=s&&""!==s){if(this.backend&&this.backend.create){let n={...o,isUpdate:r},l=this.backend.create.bind(this.backend);if(l.length<6)try{let r;(r=5===l.length?l(e,t,s,i,n):l(e,t,s,i))&&"function"==typeof r.then?r.then(e=>a(null,e)).catch(a):a(null,r)}catch(e){a(e)}else l(e,t,s,i,a,n)}e&&e[0]&&this.store.addResource(e[0],t,s,i)}}}let Y=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),i(e[1])&&(t.defaultValue=e[1]),i(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let s=e[3]||e[2];Object.keys(s).forEach(e=>{t[e]=s[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),Q=e=>(i(e.ns)&&(e.ns=[e.ns]),i(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),i(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),G=()=>{},X=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})};class Z extends R{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Q(e),this.services={},this.logger=N,this.modules={external:[]},X(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(s=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&(i(t.ns)?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));let o=Y();this.options={...o,...this.options,...Q(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...o.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);let a=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;this.modules.logger?N.init(a(this.modules.logger),this.options):N.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=_);let s=new I(this.options);this.store=new C(this.options.resources,this.options);let i=this.services;i.logger=N,i.resourceStore=this.store,i.languageUtils=s,i.pluralResolver=new K(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),t&&(!this.options.interpolation.format||this.options.interpolation.format===o.interpolation.format)&&(i.formatter=a(t),i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new H(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new W(a(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",function(t){for(var s=arguments.length,i=Array(s>1?s-1:0),r=1;r1?s-1:0),r=1;r{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,s||(s=G),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});let n=r(),l=()=>{let e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),n.resolve(t),s(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),n}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G,s=t,r=i(e)?e:this.language;if("function"==typeof e&&(s=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return s();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload&&this.options.preload.forEach(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),s(e)})}else s(null)}reloadResources(e,t,s){let i=r();return"function"==typeof e&&(s=e,e=void 0),"function"==typeof t&&(s=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),s||(s=G),this.services.backendConnector.reload(e,t,e=>{i.resolve(),s(e)}),i}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&$.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var s=this;this.isLanguageChangingTo=e;let o=r();this.emit("languageChanging",e);let a=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},n=(e,i)=>{i?(a(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,o.resolve(function(){return s.t(...arguments)}),t&&t(e,function(){return s.t(...arguments)})},l=t=>{e||t||!this.services.languageDetector||(t=[]);let s=i(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);s&&(this.language||a(s),this.translator.language||this.translator.changeLanguage(s),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(s)),this.loadResources(s,e=>{n(e,s)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e):l(this.services.languageDetector.detect()),o}getFixedT(e,t,s){var r=this;let o=function(e,t){let i,a;if("object"!=typeof t){for(var n=arguments.length,l=Array(n>2?n-2:0),h=2;h`${i.keyPrefix}${u}${e}`):i.keyPrefix?`${i.keyPrefix}${u}${e}`:e,r.t(a,i)};return i(e)?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=s,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let s=t.lng||this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,r=this.languages[this.languages.length-1];if("cimode"===s.toLowerCase())return!0;let o=(e,t)=>{let s=this.services.backendConnector.state[`${e}|${t}`];return -1===s||0===s||2===s};if(t.precheck){let e=t.precheck(this,o);if(void 0!==e)return e}return!!(this.hasResourceBundle(s,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(s,e)&&(!i||o(r,e)))}loadNamespaces(e,t){let s=r();return this.options.ns?(i(e)&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{s.resolve(),t&&t(e)}),s):(t&&t(),Promise.resolve())}loadLanguages(e,t){let s=r();i(e)&&(e=[e]);let o=this.options.preload||[],a=e.filter(e=>0>o.indexOf(e)&&this.services.languageUtils.isSupportedCode(e));return a.length?(this.options.preload=o.concat(a),this.loadResources(e=>{s.resolve(),t&&t(e)}),s):(t&&t(),Promise.resolve())}dir(e){return(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf((this.services&&this.services.languageUtils||new I(Y())).getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}static createInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new Z(e,t)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G,s=e.forkResourceStore;s&&delete e.forkResourceStore;let i={...this.options,...e,isClone:!0},r=new Z(i);return(void 0!==e.debug||void 0!==e.prefix)&&(r.logger=r.logger.clone(e)),["store","services","language"].forEach(e=>{r[e]=this[e]}),r.services={...this.services},r.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},s&&(r.store=new C(this.store.data,i),r.services.resourceStore=r.store),r.translator=new j(r.services,i),r.translator.on("*",function(e){for(var t=arguments.length,s=Array(t>1?t-1:0),i=1;ix,arrayMove:()=>o,arraySwap:()=>u,defaultAnimateLayoutChanges:()=>w,defaultNewIndexGetter:()=>v,hasSortableData:()=>D,horizontalListSortingStrategy:()=>c,rectSortingStrategy:()=>f,rectSwappingStrategy:()=>p,sortableKeyboardCoordinates:()=>L,useSortable:()=>R,verticalListSortingStrategy:()=>b});var n=r(81004),l=r.n(n),i=r(52595),a=r(24285);function o(e,t,r){let n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(t,1)[0]),n}function u(e,t,r){let n=e.slice();return n[t]=e[r],n[r]=e[t],n}function d(e){return null!==e&&e>=0}let s={scaleX:1,scaleY:1},c=e=>{var t;let{rects:r,activeNodeRect:n,activeIndex:l,overIndex:i,index:a}=e,o=null!=(t=r[l])?t:n;if(!o)return null;let u=function(e,t,r){let n=e[t],l=e[t-1],i=e[t+1];return n&&(l||i)?rl&&a<=i?{x:-o.width-u,y:0,...s}:a=i?{x:o.width+u,y:0,...s}:{x:0,y:0,...s}},f=e=>{let{rects:t,activeIndex:r,overIndex:n,index:l}=e,i=o(t,n,r),a=t[l],u=i[l];return u&&a?{x:u.left-a.left,y:u.top-a.top,scaleX:u.width/a.width,scaleY:u.height/a.height}:null},p=e=>{let t,r,{activeIndex:n,index:l,rects:i,overIndex:a}=e;return(l===n&&(t=i[l],r=i[a]),l===a&&(t=i[l],r=i[n]),r&&t)?{x:r.left-t.left,y:r.top-t.top,scaleX:r.width/t.width,scaleY:r.height/t.height}:null},g={scaleX:1,scaleY:1},b=e=>{var t;let{activeIndex:r,activeNodeRect:n,index:l,rects:i,overIndex:a}=e,o=null!=(t=i[r])?t:n;if(!o)return null;if(l===r){let e=i[a];return e?{x:0,y:rr&&l<=a?{x:0,y:-o.height-u,...g}:l=a?{x:0,y:o.height+u,...g}:{x:0,y:0,...g}},h="Sortable",y=l().createContext({activeIndex:-1,containerId:h,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:f,disabled:{draggable:!1,droppable:!1}});function x(e){let{children:t,id:r,items:o,strategy:u=f,disabled:d=!1}=e,{active:s,dragOverlay:c,droppableRects:p,over:g,measureDroppableContainers:b}=(0,i.useDndContext)(),x=(0,a.Ld)(h,r),v=null!==c.rect,w=(0,n.useMemo)(()=>o.map(e=>"object"==typeof e&&"id"in e?e.id:e),[o]),m=null!=s,I=s?w.indexOf(s.id):-1,C=g?w.indexOf(g.id):-1,S=(0,n.useRef)(w),R=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r{R&&m&&b(w)},[R,w,m,b]),(0,n.useEffect)(()=>{S.current=w},[w]);let L=(0,n.useMemo)(()=>({activeIndex:I,containerId:x,disabled:K,disableTransforms:D,items:w,overIndex:C,useDragOverlay:v,sortedRects:w.reduce((e,t,r)=>{let n=p.get(t);return n&&(e[r]=n),e},Array(w.length)),strategy:u}),[I,x,K.draggable,K.droppable,D,w,C,p,v,u]);return l().createElement(y.Provider,{value:L},t)}let v=e=>{let{id:t,items:r,activeIndex:n,overIndex:l}=e;return o(r,n,l).indexOf(t)},w=e=>{let{containerId:t,isSorting:r,wasDragging:n,index:l,items:i,newIndex:a,previousItems:o,previousContainerId:u,transition:d}=e;return!!d&&!!n&&(o===i||l!==a)&&(!!r||a!==l&&t===u)},m={duration:200,easing:"ease"},I="transform",C=a.ux.Transition.toString({property:I,duration:0,easing:"linear"}),S={roleDescription:"sortable"};function R(e){var t,r,l,o;let{animateLayoutChanges:u=w,attributes:s,disabled:c,data:f,getNewIndex:p=v,id:g,strategy:b,resizeObserverConfig:h,transition:x=m}=e,{items:R,containerId:D,activeIndex:K,disabled:L,disableTransforms:k,sortedRects:E,overIndex:O,useDragOverlay:M,strategy:T}=(0,n.useContext)(y),X=(t=c,r=L,"boolean"==typeof t?{draggable:t,droppable:!1}:{draggable:null!=(l=null==t?void 0:t.draggable)?l:r.draggable,droppable:null!=(o=null==t?void 0:t.droppable)?o:r.droppable}),_=R.indexOf(g),N=(0,n.useMemo)(()=>({sortable:{containerId:D,index:_,items:R},...f}),[D,f,_,R]),Y=(0,n.useMemo)(()=>R.slice(R.indexOf(g)),[R,g]),{rect:A,node:j,isOver:z,setNodeRef:F}=(0,i.useDroppable)({id:g,data:N,disabled:X.droppable,resizeObserverConfig:{updateMeasurementsFor:Y,...h}}),{active:U,activatorEvent:B,activeNodeRect:G,attributes:H,setNodeRef:P,listeners:$,isDragging:q,over:J,setActivatorNodeRef:Q,transform:V}=(0,i.useDraggable)({id:g,data:N,attributes:{...S,...s},disabled:X.draggable}),W=(0,a.HB)(F,P),Z=!!U,ee=Z&&!k&&d(K)&&d(O),et=!M&&q,er=et&&ee?V:null,en=ee?null!=er?er:(null!=b?b:T)({rects:E,activeNodeRect:G,activeIndex:K,overIndex:O,index:_}):null,el=d(K)&&d(O)?p({id:g,items:R,activeIndex:K,overIndex:O}):_,ei=null==U?void 0:U.id,ea=(0,n.useRef)({activeId:ei,items:R,newIndex:el,containerId:D}),eo=R!==ea.current.items,eu=u({active:U,containerId:D,isDragging:q,isSorting:Z,id:g,index:_,items:R,newIndex:ea.current.newIndex,previousItems:ea.current.items,previousContainerId:ea.current.containerId,transition:x,wasDragging:null!=ea.current.activeId}),ed=function(e){let{disabled:t,index:r,node:l,rect:o}=e,[u,d]=(0,n.useState)(null),s=(0,n.useRef)(r);return(0,a.LI)(()=>{if(!t&&r!==s.current&&l.current){let e=o.current;if(e){let t=(0,i.getClientRect)(l.current,{ignoreTransform:!0}),r={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(r.x||r.y)&&d(r)}}r!==s.current&&(s.current=r)},[t,r,l,o]),(0,n.useEffect)(()=>{u&&d(null)},[u]),u}({disabled:!eu,index:_,node:j,rect:A});return(0,n.useEffect)(()=>{Z&&ea.current.newIndex!==el&&(ea.current.newIndex=el),D!==ea.current.containerId&&(ea.current.containerId=D),R!==ea.current.items&&(ea.current.items=R)},[Z,el,D,R]),(0,n.useEffect)(()=>{if(ei===ea.current.activeId)return;if(ei&&!ea.current.activeId){ea.current.activeId=ei;return}let e=setTimeout(()=>{ea.current.activeId=ei},50);return()=>clearTimeout(e)},[ei]),{active:U,activeIndex:K,attributes:H,data:N,rect:A,index:_,newIndex:el,items:R,isOver:z,isSorting:Z,isDragging:q,listeners:$,node:j,overIndex:O,over:J,setNodeRef:W,setActivatorNodeRef:Q,setDroppableNodeRef:F,setDraggableNodeRef:P,transform:null!=ed?ed:en,transition:ed||eo&&ea.current.newIndex===_?C:(!et||(0,a.vd)(B))&&x&&(Z||eu)?a.ux.Transition.toString({...x,property:I}):void 0}}function D(e){if(!e)return!1;let t=e.data.current;return!!t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable}let K=[i.KeyboardCode.Down,i.KeyboardCode.Right,i.KeyboardCode.Up,i.KeyboardCode.Left],L=(e,t)=>{let{context:{active:r,collisionRect:n,droppableRects:l,droppableContainers:o,over:u,scrollableAncestors:d}}=t;if(K.includes(e.code)){if(e.preventDefault(),!r||!n)return;let t=[];o.getEnabled().forEach(r=>{if(!r||null!=r&&r.disabled)return;let a=l.get(r.id);if(a)switch(e.code){case i.KeyboardCode.Down:n.topa.top&&t.push(r);break;case i.KeyboardCode.Left:n.left>a.left&&t.push(r);break;case i.KeyboardCode.Right:n.left1&&(p=f[1].id),null!=p){let e=o.get(r.id),t=o.get(p),u=t?l.get(t.id):null,f=null==t?void 0:t.node.current;if(f&&u&&e&&t){var s,c;let r=(0,i.getScrollableAncestors)(f).some((e,t)=>d[t]!==e),l=k(e,t),o=(s=e,c=t,!!D(s)&&!!D(c)&&!!k(s,c)&&s.data.current.sortable.indexr,default:()=>o});let o=r},92703:function(t,e,n){"use strict";var r=n(50414);function o(){}function a(){}a.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,a,i){if(i!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},45697:function(t,e,n){t.exports=n(92703)()},50414:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},75668:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DraggableCore",{enumerable:!0,get:function(){return c.default}}),e.default=void 0;var r=function(t,e){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=p(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var i=o?Object.getOwnPropertyDescriptor(t,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=t[a]}return r.default=t,n&&n.set(t,r),r}(n(81004)),o=f(n(45697)),a=f(n(3859)),i=f(n(86010)),s=n(81825),l=n(2849),u=n(9280),c=f(n(80783)),d=f(n(55904));function f(t){return t&&t.__esModule?t:{default:t}}function p(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(p=function(t){return t?n:e})(t)}function h(){return(h=Object.assign?Object.assign.bind():function(t){for(var e=1;e{if((0,d.default)("Draggable: onDragStart: %j",e),!1===this.props.onStart(t,(0,l.createDraggableData)(this,e)))return!1;this.setState({dragging:!0,dragged:!0})}),g(this,"onDrag",(t,e)=>{if(!this.state.dragging)return!1;(0,d.default)("Draggable: onDrag: %j",e);let n=(0,l.createDraggableData)(this,e),r={x:n.x,y:n.y,slackX:0,slackY:0};if(this.props.bounds){let{x:t,y:e}=r;r.x+=this.state.slackX,r.y+=this.state.slackY;let[o,a]=(0,l.getBoundPosition)(this,r.x,r.y);r.x=o,r.y=a,r.slackX=this.state.slackX+(t-r.x),r.slackY=this.state.slackY+(e-r.y),n.x=r.x,n.y=r.y,n.deltaX=r.x-this.state.x,n.deltaY=r.y-this.state.y}if(!1===this.props.onDrag(t,n))return!1;this.setState(r)}),g(this,"onDragStop",(t,e)=>{if(!this.state.dragging||!1===this.props.onStop(t,(0,l.createDraggableData)(this,e)))return!1;(0,d.default)("Draggable: onDragStop: %j",e);let n={dragging:!1,slackX:0,slackY:0};if(this.props.position){let{x:t,y:e}=this.props.position;n.x=t,n.y=e}this.setState(n)}),this.state={dragging:!1,dragged:!1,x:t.position?t.position.x:t.defaultPosition.x,y:t.position?t.position.y:t.defaultPosition.y,prevPropsPosition:{...t.position},slackX:0,slackY:0,isElementSVG:!1},t.position&&!(t.onDrag||t.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){void 0!==window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var t,e;return null!=(t=null==(e=this.props)||null==(e=e.nodeRef)?void 0:e.current)?t:a.default.findDOMNode(this)}render(){let{axis:t,bounds:e,children:n,defaultPosition:o,defaultClassName:a,defaultClassNameDragging:u,defaultClassNameDragged:d,position:f,positionOffset:p,scale:g,...m}=this.props,y={},b=null,v=!f||this.state.dragging,D=f||o,S={x:(0,l.canDragX)(this)&&v?this.state.x:D.x,y:(0,l.canDragY)(this)&&v?this.state.y:D.y};this.state.isElementSVG?b=(0,s.createSVGTransform)(S,p):y=(0,s.createCSSTransform)(S,p);let w=(0,i.default)(n.props.className||"",a,{[u]:this.state.dragging,[d]:this.state.dragged});return r.createElement(c.default,h({},m,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),r.cloneElement(r.Children.only(n),{className:w,style:{...n.props.style,...y},transform:b}))}}e.default=m,g(m,"displayName","Draggable"),g(m,"propTypes",{...c.default.propTypes,axis:o.default.oneOf(["both","x","y","none"]),bounds:o.default.oneOfType([o.default.shape({left:o.default.number,right:o.default.number,top:o.default.number,bottom:o.default.number}),o.default.string,o.default.oneOf([!1])]),defaultClassName:o.default.string,defaultClassNameDragging:o.default.string,defaultClassNameDragged:o.default.string,defaultPosition:o.default.shape({x:o.default.number,y:o.default.number}),positionOffset:o.default.shape({x:o.default.oneOfType([o.default.number,o.default.string]),y:o.default.oneOfType([o.default.number,o.default.string])}),position:o.default.shape({x:o.default.number,y:o.default.number}),className:u.dontSetMe,style:u.dontSetMe,transform:u.dontSetMe}),g(m,"defaultProps",{...c.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})},80783:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t,e){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=d(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var i=o?Object.getOwnPropertyDescriptor(t,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=t[a]}return r.default=t,n&&n.set(t,r),r}(n(81004)),o=c(n(45697)),a=c(n(3859)),i=n(81825),s=n(2849),l=n(9280),u=c(n(55904));function c(t){return t&&t.__esModule?t:{default:t}}function d(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(d=function(t){return t?n:e})(t)}function f(t,e,n){var r;return(e="symbol"==typeof(r=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"))?r:String(r))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}let p={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}},h=p.mouse;class g extends r.Component{constructor(){super(...arguments),f(this,"dragging",!1),f(this,"lastX",NaN),f(this,"lastY",NaN),f(this,"touchIdentifier",null),f(this,"mounted",!1),f(this,"handleDragStart",t=>{if(this.props.onMouseDown(t),!this.props.allowAnyClick&&"number"==typeof t.button&&0!==t.button)return!1;let e=this.findDOMNode();if(!e||!e.ownerDocument||!e.ownerDocument.body)throw Error(" not mounted on DragStart!");let{ownerDocument:n}=e;if(this.props.disabled||!(t.target instanceof n.defaultView.Node)||this.props.handle&&!(0,i.matchesSelectorAndParentsTo)(t.target,this.props.handle,e)||this.props.cancel&&(0,i.matchesSelectorAndParentsTo)(t.target,this.props.cancel,e))return;"touchstart"===t.type&&t.preventDefault();let r=(0,i.getTouchIdentifier)(t);this.touchIdentifier=r;let o=(0,s.getControlPosition)(t,r,this);if(null==o)return;let{x:a,y:l}=o,c=(0,s.createCoreData)(this,a,l);(0,u.default)("DraggableCore: handleDragStart: %j",c),(0,u.default)("calling",this.props.onStart),!1!==this.props.onStart(t,c)&&!1!==this.mounted&&(this.props.enableUserSelectHack&&(0,i.addUserSelectStyles)(n),this.dragging=!0,this.lastX=a,this.lastY=l,(0,i.addEvent)(n,h.move,this.handleDrag),(0,i.addEvent)(n,h.stop,this.handleDragStop))}),f(this,"handleDrag",t=>{let e=(0,s.getControlPosition)(t,this.touchIdentifier,this);if(null==e)return;let{x:n,y:r}=e;if(Array.isArray(this.props.grid)){let t=n-this.lastX,e=r-this.lastY;if([t,e]=(0,s.snapToGrid)(this.props.grid,t,e),!t&&!e)return;n=this.lastX+t,r=this.lastY+e}let o=(0,s.createCoreData)(this,n,r);if((0,u.default)("DraggableCore: handleDrag: %j",o),!1===this.props.onDrag(t,o)||!1===this.mounted){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(e){let t=document.createEvent("MouseEvents");t.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(t)}return}this.lastX=n,this.lastY=r}),f(this,"handleDragStop",t=>{if(!this.dragging)return;let e=(0,s.getControlPosition)(t,this.touchIdentifier,this);if(null==e)return;let{x:n,y:r}=e;if(Array.isArray(this.props.grid)){let t=n-this.lastX||0,e=r-this.lastY||0;[t,e]=(0,s.snapToGrid)(this.props.grid,t,e),n=this.lastX+t,r=this.lastY+e}let o=(0,s.createCoreData)(this,n,r);if(!1===this.props.onStop(t,o)||!1===this.mounted)return!1;let a=this.findDOMNode();a&&this.props.enableUserSelectHack&&(0,i.removeUserSelectStyles)(a.ownerDocument),(0,u.default)("DraggableCore: handleDragStop: %j",o),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,a&&((0,u.default)("DraggableCore: Removing handlers"),(0,i.removeEvent)(a.ownerDocument,h.move,this.handleDrag),(0,i.removeEvent)(a.ownerDocument,h.stop,this.handleDragStop))}),f(this,"onMouseDown",t=>(h=p.mouse,this.handleDragStart(t))),f(this,"onMouseUp",t=>(h=p.mouse,this.handleDragStop(t))),f(this,"onTouchStart",t=>(h=p.touch,this.handleDragStart(t))),f(this,"onTouchEnd",t=>(h=p.touch,this.handleDragStop(t)))}componentDidMount(){this.mounted=!0;let t=this.findDOMNode();t&&(0,i.addEvent)(t,p.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;let t=this.findDOMNode();if(t){let{ownerDocument:e}=t;(0,i.removeEvent)(e,p.mouse.move,this.handleDrag),(0,i.removeEvent)(e,p.touch.move,this.handleDrag),(0,i.removeEvent)(e,p.mouse.stop,this.handleDragStop),(0,i.removeEvent)(e,p.touch.stop,this.handleDragStop),(0,i.removeEvent)(t,p.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,i.removeUserSelectStyles)(e)}}findDOMNode(){var t,e;return null!=(t=this.props)&&t.nodeRef?null==(e=this.props)||null==(e=e.nodeRef)?void 0:e.current:a.default.findDOMNode(this)}render(){return r.cloneElement(r.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}e.default=g,f(g,"displayName","DraggableCore"),f(g,"propTypes",{allowAnyClick:o.default.bool,children:o.default.node.isRequired,disabled:o.default.bool,enableUserSelectHack:o.default.bool,offsetParent:function(t,e){if(t[e]&&1!==t[e].nodeType)throw Error("Draggable's offsetParent must be a DOM Node.")},grid:o.default.arrayOf(o.default.number),handle:o.default.string,cancel:o.default.string,nodeRef:o.default.object,onStart:o.default.func,onDrag:o.default.func,onStop:o.default.func,onMouseDown:o.default.func,scale:o.default.number,className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe}),f(g,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},61193:function(t,e,n){"use strict";let{default:r,DraggableCore:o}=n(75668);t.exports=r,t.exports.default=r,t.exports.DraggableCore=o},81825:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addClassName=u,e.addEvent=function(t,e,n,r){if(!t)return;let o={capture:!0,...r};t.addEventListener?t.addEventListener(e,n,o):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n},e.addUserSelectStyles=function(t){if(!t)return;let e=t.getElementById("react-draggable-style-el");e||((e=t.createElement("style")).type="text/css",e.id="react-draggable-style-el",e.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",e.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",t.getElementsByTagName("head")[0].appendChild(e)),t.body&&u(t.body,"react-draggable-transparent-selection")},e.createCSSTransform=function(t,e){let n=l(t,e,"px");return{[(0,o.browserPrefixToKey)("transform",o.default)]:n}},e.createSVGTransform=function(t,e){return l(t,e,"")},e.getTouch=function(t,e){return t.targetTouches&&(0,r.findInArray)(t.targetTouches,t=>e===t.identifier)||t.changedTouches&&(0,r.findInArray)(t.changedTouches,t=>e===t.identifier)},e.getTouchIdentifier=function(t){return t.targetTouches&&t.targetTouches[0]?t.targetTouches[0].identifier:t.changedTouches&&t.changedTouches[0]?t.changedTouches[0].identifier:void 0},e.getTranslation=l,e.innerHeight=function(t){let e=t.clientHeight,n=t.ownerDocument.defaultView.getComputedStyle(t);return e-=(0,r.int)(n.paddingTop),e-=(0,r.int)(n.paddingBottom)},e.innerWidth=function(t){let e=t.clientWidth,n=t.ownerDocument.defaultView.getComputedStyle(t);return e-=(0,r.int)(n.paddingLeft),e-=(0,r.int)(n.paddingRight)},e.matchesSelector=s,e.matchesSelectorAndParentsTo=function(t,e,n){let r=t;do{if(s(r,e))return!0;if(r===n)break;r=r.parentNode}while(r);return!1},e.offsetXYFromParent=function(t,e,n){let r=e===e.ownerDocument.body?{left:0,top:0}:e.getBoundingClientRect();return{x:(t.clientX+e.scrollLeft-r.left)/n,y:(t.clientY+e.scrollTop-r.top)/n}},e.outerHeight=function(t){let e=t.clientHeight,n=t.ownerDocument.defaultView.getComputedStyle(t);return e+=(0,r.int)(n.borderTopWidth),e+=(0,r.int)(n.borderBottomWidth)},e.outerWidth=function(t){let e=t.clientWidth,n=t.ownerDocument.defaultView.getComputedStyle(t);return e+=(0,r.int)(n.borderLeftWidth),e+=(0,r.int)(n.borderRightWidth)},e.removeClassName=c,e.removeEvent=function(t,e,n,r){if(!t)return;let o={capture:!0,...r};t.removeEventListener?t.removeEventListener(e,n,o):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=null},e.removeUserSelectStyles=function(t){if(t)try{if(t.body&&c(t.body,"react-draggable-transparent-selection"),t.selection)t.selection.empty();else{let e=(t.defaultView||window).getSelection();e&&"Caret"!==e.type&&e.removeAllRanges()}}catch(t){}};var r=n(9280),o=function(t,e){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=a(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var s=o?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}return r.default=t,n&&n.set(t,r),r}(n(38650));function a(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(a=function(t){return t?n:e})(t)}let i="";function s(t,e){return i||(i=(0,r.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(e){return(0,r.isFunction)(t[e])})),!!(0,r.isFunction)(t[i])&&t[i](e)}function l(t,e,n){let{x:r,y:o}=t,a="translate(".concat(r).concat(n,",").concat(o).concat(n,")");if(e){let t="".concat("string"==typeof e.x?e.x:e.x+n),r="".concat("string"==typeof e.y?e.y:e.y+n);a="translate(".concat(t,", ").concat(r,")")+a}return a}function u(t,e){t.classList?t.classList.add(e):t.className.match(new RegExp("(?:^|\\s)".concat(e,"(?!\\S)")))||(t.className+=" ".concat(e))}function c(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(RegExp("(?:^|\\s)".concat(e,"(?!\\S)"),"g"),"")}},38650:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.browserPrefixToKey=o,e.browserPrefixToStyle=function(t,e){return e?"-".concat(e.toLowerCase(),"-").concat(t):t},e.default=void 0,e.getPrefix=r;let n=["Moz","Webkit","O","ms"];function r(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";let r=null==(t=window.document)||null==(t=t.documentElement)?void 0:t.style;if(!r||e in r)return"";for(let t=0;t: Unmounted during event!");return e}},9280:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dontSetMe=function(t,e,n){if(t[e])return Error("Invalid prop ".concat(e," passed to ").concat(n," - do not set this, set it on the child."))},e.findInArray=function(t,e){for(let n=0,r=t.length;nT});function T(){return"/pimcore-studio/api"}},96068:function(e,s,t){t.d(s,{Kx:()=>E,fV:()=>T,xc:()=>a});let T={ELEMENT:"ELEMENT",ASSET:"ASSET",ASSET_DETAIL:"ASSET_DETAIL",ASSET_TREE:"ASSET_TREE",ASSET_GRID_CONFIGURATION:"ASSET_GRID_CONFIGURATION",ASSET_GRID:"ASSET_GRID",ASSET_GRID_CONFIGURATION_LIST:"ASSET_GRID_CONFIGURATION_LIST",ASSET_GRID_CONFIGURATION_DETAIL:"ASSET_GRID_CONFIGURATION_DETAIL",DATA_OBJECT:"DATA_OBJECT",DATA_OBJECT_DETAIL:"DATA_OBJECT_DETAIL",DATA_OBJECT_TREE:"DATA_OBJECT_TREE",DATA_OBJECT_GRID:"DATA_OBJECT_GRID",DOCUMENT:"DOCUMENT",DOCUMENT_DETAIL:"DOCUMENT_DETAIL",DOCUMENT_TREE:"DOCUMENT_TREE",WORKFLOW:"WORKFLOW",VERSIONS:"VERSION",PROPERTIES:"PROPERTIES",SCHEDULES:"SCHEDULES",DEPENDENCIES:"DEPENDENCIES",NOTES_AND_EVENTS:"NOTES_AND_EVENTS",NOTIFICATIONS:"NOTIFICATIONS",NOTIFICATION_DETAILS:"NOTIFICATION_DETAILS",AVAILABLE_TAGS:"AVAILABLE_TAGS",ELEMENT_TAGS:"TAGS",ROLE:"ROLE",PREDEFINED_ASSET_METADATA:"PREDEFINED_ASSET_METADATA",CURRENT_USER_INFORMATION:"CURRENT_USER_INFORMATION"},E={ELEMENT:()=>[T.ELEMENT],ASSET:()=>[T.ASSET],ASSET_DETAIL:()=>[T.ASSET,T.ASSET_DETAIL],ASSET_DETAIL_ID:e=>[T.ASSET,{type:T.ASSET_DETAIL,id:e}],ASSET_TREE:()=>[T.ASSET,T.ASSET_TREE],ASSET_TREE_ID:e=>[T.ASSET,{type:T.ASSET_TREE,id:e}],ASSET_GRID_CONFIGURATION:()=>[T.ASSET_GRID_CONFIGURATION],ASSET_GRID_CONFIGURATION_LIST:()=>[T.ASSET,T.ASSET_GRID_CONFIGURATION,{type:T.ASSET_GRID_CONFIGURATION_LIST}],ASSET_GRID_CONFIGURATION_DETAIL:e=>[T.ASSET,{type:T.ASSET_DETAIL},T.ASSET_GRID_CONFIGURATION,{type:T.ASSET_GRID_CONFIGURATION_DETAIL,id:e}],ASSET_GRID_ID:e=>[T.ASSET,{type:T.ASSET_GRID,id:e}],DATA_OBJECT_DETAIL:()=>[T.DATA_OBJECT,T.DATA_OBJECT_DETAIL],DATA_OBJECT_DETAIL_ID:e=>[T.DATA_OBJECT,{type:T.DATA_OBJECT_DETAIL,id:e}],DATA_OBJECT_TREE:()=>[T.DATA_OBJECT,T.DATA_OBJECT_TREE],DATA_OBJECT_TREE_ID:e=>[T.DATA_OBJECT,{type:T.DATA_OBJECT_TREE,id:e}],DATA_OBJECT_GRID_ID:e=>[T.DATA_OBJECT,{type:T.DATA_OBJECT_GRID,id:e}],DOCUMENT_DETAIL:()=>[T.DOCUMENT,T.DOCUMENT_DETAIL],DOCUMENT_DETAIL_ID:e=>[T.DOCUMENT,{type:T.DOCUMENT_DETAIL,id:e}],DOCUMENT_TREE:()=>[T.DOCUMENT,T.DOCUMENT_TREE],DOCUMENT_TREE_ID:e=>[T.DOCUMENT,{type:T.DOCUMENT_TREE,id:e}],ELEMENT_DEPENDENCIES:(e,s)=>[o(e,s),A(T.DEPENDENCIES,e,s)],ELEMENT_WORKFLOW:(e,s)=>[o(e,s),A(T.WORKFLOW,e,s)],PROPERTY_DETAIL:e=>[{type:T.PROPERTIES,id:e}],GLOBAL_PROPERTIES:()=>[T.PROPERTIES],ELEMENT_PROPERTIES:(e,s)=>[o(e,s),A(T.PROPERTIES,e,s)],SCHEDULE_DETAIL:e=>[{type:T.SCHEDULES,id:e},T.SCHEDULES],ELEMENT_SCHEDULES:(e,s)=>[o(e,s),A(T.SCHEDULES,e,s)],VERSIONS_DETAIL:e=>[{type:T.VERSIONS,id:e}],ELEMENT_VERSIONS:(e,s)=>[o(e,s),A(T.VERSIONS,e,s)],NOTES_AND_EVENTS_DETAIL:e=>[{type:T.NOTES_AND_EVENTS,id:e}],ELEMENT_NOTES_AND_EVENTS:(e,s)=>[o(e,s),A(T.NOTES_AND_EVENTS,e,s)],NOTIFICATION:e=>[{type:T.NOTIFICATIONS,id:e}],NOTIFICATION_DETAIL:e=>[{type:T.NOTIFICATION_DETAILS,id:e}],AVAILABLE_TAGS:()=>[T.AVAILABLE_TAGS],ELEMENT_TAGS:(e,s)=>[o(e,s),A(T.ELEMENT_TAGS,e,s)],ROLE:()=>[T.ROLE],PREDEFINED_ASSET_METADATA:()=>[T.PREDEFINED_ASSET_METADATA],CURRENT_USER_INFORMATION:()=>[T.CURRENT_USER_INFORMATION]},a={ELEMENT:()=>[T.ELEMENT],ASSET:()=>[T.ASSET],ASSET_DETAIL:()=>[T.ASSET_DETAIL],ASSET_DETAIL_ID:e=>[{type:T.ASSET_DETAIL,id:e},i],ASSET_TREE:()=>[T.ASSET_TREE],ASSET_TREE_ID:e=>[{type:T.ASSET_TREE,id:e}],ASSET_GRID_CONFIGURATION:()=>[T.ASSET_GRID_CONFIGURATION],ASSET_GRID_CONFIGURATION_DETAIL:e=>[{type:T.ASSET_GRID_CONFIGURATION_DETAIL,id:e},{type:T.ASSET_GRID_CONFIGURATION_DETAIL,id:e}],ASSET_GRID_CONFIGURATION_LIST:()=>[{type:T.ASSET_GRID_CONFIGURATION_LIST}],ASSET_GRID_ID:e=>[{type:T.ASSET_GRID,id:e}],DATA_OBJECT:()=>[T.DATA_OBJECT],DATA_OBJECT_DETAIL:()=>[T.DATA_OBJECT_DETAIL],DATA_OBJECT_DETAIL_ID:e=>[{type:T.DATA_OBJECT_DETAIL,id:e},i],DATA_OBJECT_TREE:()=>[T.DATA_OBJECT_TREE],DATA_OBJECT_TREE_ID:e=>[{type:T.DATA_OBJECT_TREE,id:e}],DATA_OBJECT_GRID_ID:e=>[{type:T.DATA_OBJECT_GRID,id:e}],DOCUMENT:()=>[T.DOCUMENT],DOCUMENT_DETAIL:()=>[T.DOCUMENT_DETAIL],DOCUMENT_DETAIL_ID:e=>[{type:T.DOCUMENT_DETAIL,id:e},i],DOCUMENT_TREE:()=>[T.DOCUMENT_TREE],DOCUMENT_TREE_ID:e=>[{type:T.DOCUMENT_TREE,id:e}],ELEMENT_DEPENDENCIES:(e,s)=>[A(T.DEPENDENCIES,e,s)],ELEMENT_WORKFLOW:(e,s)=>[A(T.WORKFLOW,e,s)],PROPERTY_DETAIL:e=>[{type:T.PROPERTIES,id:e}],ELEMENT_PROPERTIES:(e,s)=>[A(T.PROPERTIES,e,s)],GLOBAL_PROPERTIES:()=>[T.PROPERTIES],SCHEDULE_DETAIL:e=>[{type:T.SCHEDULES,id:e}],ELEMENT_SCHEDULES:(e,s)=>[A(T.SCHEDULES,e,s)],VERSIONS_DETAIL:e=>[{type:T.VERSIONS,id:e}],ELEMENT_VERSIONS:(e,s)=>[A(T.VERSIONS,e,s)],NOTES_AND_EVENTS_DETAIL:e=>[{type:T.NOTES_AND_EVENTS,id:e}],NOTIFICATION:e=>[{type:T.NOTIFICATIONS,id:e}],NOTIFICATIONS:()=>[T.NOTIFICATIONS],ELEMENT_NOTES_AND_EVENTS:(e,s)=>[A(T.NOTES_AND_EVENTS,e,s)],AVAILABLE_TAGS:()=>[T.AVAILABLE_TAGS],ELEMENT_TAGS:(e,s)=>[A(T.ELEMENT_TAGS,e,s)],ROLE:()=>[T.ROLE],PREDEFINED_ASSET_METADATA:()=>[T.PREDEFINED_ASSET_METADATA],ELEMENT_DETAIL:(e,s)=>[o(e,s)]},i=T.AVAILABLE_TAGS,A=(e,s,t)=>({type:e,id:t,elementType:s}),o=(e,s)=>{switch(e){case"asset":return{type:T.ASSET_DETAIL,id:s};case"data-object":case"document":return{type:T.DATA_OBJECT_DETAIL,id:s}}}},56684:function(e,s,t){t.r(s),t.d(s,{api:()=>E,useAssetCloneMutation:()=>d,useAssetCustomMetadataGetByIdQuery:()=>I,useAssetCustomSettingsGetByIdQuery:()=>S,useAssetDeleteGridConfigurationByConfigurationIdMutation:()=>C,useAssetExportZipAssetMutation:()=>p,useAssetExportZipFolderMutation:()=>n,useAssetGetAvailableGridColumnsQuery:()=>l,useAssetGetByIdQuery:()=>a,useAssetGetGridConfigurationByFolderIdQuery:()=>m,useAssetGetGridQuery:()=>u,useAssetGetSavedGridConfigurationsQuery:()=>O,useAssetGetTextDataByIdQuery:()=>_,useAssetGetTreeQuery:()=>i,useAssetPatchByIdMutation:()=>D,useAssetPatchFolderByIdMutation:()=>G,useAssetReplaceMutation:()=>r,useAssetSaveGridConfigurationMutation:()=>N,useAssetSetGridConfigurationAsFavoriteMutation:()=>R,useAssetUpdateByIdMutation:()=>o,useAssetUpdateGridConfigurationMutation:()=>y,useLazyAssetGetTreeQuery:()=>A});var T=t(96068);let E=t(22940).hi.enhanceEndpoints({addTagTypes:[T.fV.ASSET,T.fV.ASSET_TREE,T.fV.ASSET_DETAIL],endpoints:{assetClone:{invalidatesTags:(e,s,t)=>T.xc.ASSET_TREE_ID(t.parentId)},assetCustomMetadataGetById:{providesTags:(e,s,t)=>T.Kx.ASSET_DETAIL_ID(t.id)},assetCustomSettingsGetById:{providesTags:(e,s,t)=>T.Kx.ASSET_DETAIL_ID(t.id)},assetGetTextDataById:{providesTags:(e,s,t)=>T.Kx.ASSET_DETAIL_ID(t.id)},assetGetById:{providesTags:(e,s,t)=>T.Kx.ASSET_DETAIL_ID(t.id)},assetGetTree:{providesTags:(e,s,t)=>{let E=[];return void 0!==e&&(E=null==e?void 0:e.items.flatMap(e=>T.Kx.ASSET_DETAIL_ID(e.id))),E=[...E,...T.Kx.ASSET_TREE(),...void 0!==t.parentId?T.Kx.ASSET_TREE_ID(t.parentId):[]]}},assetUpdateById:{invalidatesTags:(e,s,t)=>T.xc.ASSET_DETAIL_ID(t.id)},assetAdd:{invalidatesTags:(e,s,t)=>T.xc.ASSET_TREE_ID(t.parentId)},assetPatchById:{invalidatesTags:(e,s,t)=>{let E=[];for(let e of t.body.data)E.push(...T.xc.ASSET_DETAIL_ID(e.id));return E}},assetGetGridConfigurationByFolderId:{providesTags:(e,s,t)=>T.Kx.ASSET_GRID_CONFIGURATION_DETAIL(t.configurationId)},assetGetGrid:{providesTags:(e,s,t)=>T.Kx.ASSET_GRID_ID(t.body.folderId)},assetSaveGridConfiguration:{invalidatesTags:(e,s,t)=>T.xc.ASSET_GRID_CONFIGURATION_LIST()},assetSetGridConfigurationAsFavorite:{invalidatesTags:(e,s,t)=>T.xc.ASSET_GRID_CONFIGURATION_LIST()},assetUpdateGridConfiguration:{invalidatesTags:(e,s,t)=>T.xc.ASSET_GRID_CONFIGURATION_DETAIL(t.configurationId)},assetDeleteGridConfigurationByConfigurationId:{invalidatesTags:(e,s,t)=>[...T.xc.ASSET_GRID_CONFIGURATION_DETAIL(),...T.xc.ASSET_GRID_CONFIGURATION_LIST()]},assetGetSavedGridConfigurations:{providesTags:(e,s,t)=>T.Kx.ASSET_GRID_CONFIGURATION_LIST()}}}),{useAssetGetByIdQuery:a,useAssetGetTreeQuery:i,useLazyAssetGetTreeQuery:A,useAssetUpdateByIdMutation:o,useAssetCloneMutation:d,useAssetReplaceMutation:r,useAssetCustomMetadataGetByIdQuery:I,useAssetCustomSettingsGetByIdQuery:S,useAssetGetTextDataByIdQuery:_,useAssetGetGridQuery:u,useAssetPatchByIdMutation:D,useAssetExportZipAssetMutation:p,useAssetExportZipFolderMutation:n,useAssetGetSavedGridConfigurationsQuery:O,useAssetSaveGridConfigurationMutation:N,useAssetSetGridConfigurationAsFavoriteMutation:R,useAssetUpdateGridConfigurationMutation:y,useAssetDeleteGridConfigurationByConfigurationIdMutation:C,useAssetGetGridConfigurationByFolderIdQuery:m,useAssetGetAvailableGridColumnsQuery:l,useAssetPatchFolderByIdMutation:G}=E},22940:function(e,s,t){t.d(s,{DG:()=>M,b_:()=>E,hi:()=>T,tF:()=>F});let T=t(42125).api.enhanceEndpoints({addTagTypes:["Assets","Asset Grid","Metadata"]}).injectEndpoints({endpoints:e=>({assetClone:e.mutation({query:e=>({url:`/pimcore-studio/api/assets/${e.id}/clone/${e.parentId}`,method:"POST"}),invalidatesTags:["Assets"]}),assetCustomSettingsGetById:e.query({query:e=>({url:`/pimcore-studio/api/assets/${e.id}/custom-settings`}),providesTags:["Assets"]}),assetGetTextDataById:e.query({query:e=>({url:`/pimcore-studio/api/assets/${e.id}/text`}),providesTags:["Assets"]}),assetDocumentStreamPreview:e.query({query:e=>({url:`/pimcore-studio/api/assets/${e.id}/document/stream/pdf-preview`}),providesTags:["Assets"]}),assetDownloadZip:e.query({query:e=>({url:`/pimcore-studio/api/assets/download/zip/${e.jobRunId}`}),providesTags:["Assets"]}),assetDeleteZip:e.mutation({query:e=>({url:`/pimcore-studio/api/assets/download/zip/${e.jobRunId}`,method:"DELETE"}),invalidatesTags:["Assets"]}),assetDownloadById:e.query({query:e=>({url:`/pimcore-studio/api/assets/${e.id}/download`}),providesTags:["Assets"]}),assetExportZipAsset:e.mutation({query:e=>({url:"/pimcore-studio/api/assets/export/zip/asset",method:"POST",body:e.body}),invalidatesTags:["Assets"]}),assetExportZipFolder:e.mutation({query:e=>({url:"/pimcore-studio/api/assets/export/zip/folder",method:"POST",body:e.body}),invalidatesTags:["Assets"]}),assetGetById:e.query({query:e=>({url:`/pimcore-studio/api/assets/${e.id}`}),providesTags:["Assets"]}),assetUpdateById:e.mutation({query:e=>({url:`/pimcore-studio/api/assets/${e.id}`,method:"PUT",body:e.body}),invalidatesTags:["Assets"]}),assetDeleteGridConfigurationByConfigurationId:e.mutation({query:e=>({url:`/pimcore-studio/api/assets/grid/configuration/${e.configurationId}`,method:"DELETE"}),invalidatesTags:["Asset Grid"]}),assetGetAvailableGridColumns:e.query({query:()=>({url:"/pimcore-studio/api/assets/grid/available-columns"}),providesTags:["Asset Grid"]}),assetGetGridConfigurationByFolderId:e.query({query:e=>({url:`/pimcore-studio/api/assets/grid/configuration/${e.folderId}`,params:{configurationId:e.configurationId}}),providesTags:["Asset Grid"]}),assetGetSavedGridConfigurations:e.query({query:()=>({url:"/pimcore-studio/api/assets/grid/configurations"}),providesTags:["Asset Grid"]}),assetSaveGridConfiguration:e.mutation({query:e=>({url:"/pimcore-studio/api/assets/grid/configuration/save",method:"POST",body:e.body}),invalidatesTags:["Asset Grid"]}),assetSetGridConfigurationAsFavorite:e.mutation({query:e=>({url:`/pimcore-studio/api/assets/grid/configuration/set-as-favorite/${e.configurationId}/${e.folderId}`,method:"POST"}),invalidatesTags:["Asset Grid"]}),assetUpdateGridConfiguration:e.mutation({query:e=>({url:`/pimcore-studio/api/assets/grid/configuration/update/${e.configurationId}`,method:"PUT",body:e.body}),invalidatesTags:["Asset Grid"]}),assetGetGrid:e.query({query:e=>({url:"/pimcore-studio/api/assets/grid",method:"POST",body:e.body}),providesTags:["Asset Grid"]}),assetImageDownloadCustom:e.query({query:e=>({url:`/pimcore-studio/api/assets/${e.id}/image/download/custom`,params:{mimeType:e.mimeType,resizeMode:e.resizeMode,width:e.width,height:e.height,quality:e.quality,dpi:e.dpi}}),providesTags:["Assets"]}),assetImageStreamCustom:e.query({query:e=>({url:`/pimcore-studio/api/assets/${e.id}/image/stream/custom`,params:{mimeType:e.mimeType,resizeMode:e.resizeMode,width:e.width,height:e.height,quality:e.quality,dpi:e.dpi,contain:e.contain,frame:e.frame,cover:e.cover,forceResize:e.forceResize,cropPercent:e.cropPercent,cropWidth:e.cropWidth,cropHeight:e.cropHeight,cropTop:e.cropTop,cropLeft:e.cropLeft}}),providesTags:["Assets"]}),assetImageDownloadByFormat:e.query({query:e=>({url:`/pimcore-studio/api/assets/${e.id}/image/download/format/${e.format}`}),providesTags:["Assets"]}),assetImageStreamPreview:e.query({query:e=>({url:`/pimcore-studio/api/assets/${e.id}/image/stream/preview`}),providesTags:["Assets"]}),assetImageStream:e.query({query:e=>({url:`/pimcore-studio/api/assets/${e.id}/image/stream`}),providesTags:["Assets"]}),assetImageDownloadByThumbnail:e.query({query:e=>({url:`/pimcore-studio/api/assets/${e.id}/image/download/thumbnail/${e.thumbnailName}`}),providesTags:["Assets"]}),assetPatchById:e.mutation({query:e=>({url:"/pimcore-studio/api/assets",method:"PATCH",body:e.body}),invalidatesTags:["Assets"]}),assetPatchFolderById:e.mutation({query:e=>({url:"/pimcore-studio/api/assets/folder",method:"PATCH",body:e.body}),invalidatesTags:["Assets"]}),assetClearThumbnail:e.mutation({query:e=>({url:`/pimcore-studio/api/assets/${e.id}/thumbnail/clear`,method:"DELETE"}),invalidatesTags:["Assets"]}),assetGetTree:e.query({query:e=>({url:"/pimcore-studio/api/assets/tree",params:{page:e.page,pageSize:e.pageSize,parentId:e.parentId,idSearchTerm:e.idSearchTerm,pqlQuery:e.pqlQuery,excludeFolders:e.excludeFolders,path:e.path,pathIncludeParent:e.pathIncludeParent,pathIncludeDescendants:e.pathIncludeDescendants}}),providesTags:["Assets"]}),assetAdd:e.mutation({query:e=>({url:`/pimcore-studio/api/assets/add/${e.parentId}`,method:"POST",body:e.body}),invalidatesTags:["Assets"]}),assetUploadInfo:e.query({query:e=>({url:`/pimcore-studio/api/assets/exists/${e.parentId}`,params:{fileName:e.fileName}}),providesTags:["Assets"]}),assetReplace:e.mutation({query:e=>({url:`/pimcore-studio/api/assets/${e.id}/replace`,method:"POST",body:e.body}),invalidatesTags:["Assets"]}),assetUploadZip:e.mutation({query:e=>({url:`/pimcore-studio/api/assets/add-zip/${e.parentId}`,method:"POST",body:e.body}),invalidatesTags:["Assets"]}),assetVideoImageThumbnailStream:e.query({query:e=>({url:`/pimcore-studio/api/assets/${e.id}/video/stream/image-thumbnail`,params:{width:e.width,height:e.height,aspectRatio:e.aspectRatio,frame:e.frame,async:e.async}}),providesTags:["Assets"]}),assetVideoDownloadByThumbnail:e.query({query:e=>({url:`/pimcore-studio/api/assets/${e.id}/video/download/${e.thumbnailName}`}),providesTags:["Assets"]}),assetVideoStreamByThumbnail:e.query({query:e=>({url:`/pimcore-studio/api/assets/${e.id}/video/stream/${e.thumbnailName}`}),providesTags:["Assets"]}),assetCustomMetadataGetById:e.query({query:e=>({url:`/pimcore-studio/api/assets/${e.id}/custom-metadata`}),providesTags:["Metadata"]})}),overrideExisting:!1}),{useAssetCloneMutation:E,useAssetCustomSettingsGetByIdQuery:a,useAssetGetTextDataByIdQuery:i,useAssetDocumentStreamPreviewQuery:A,useAssetDownloadZipQuery:o,useAssetDeleteZipMutation:d,useAssetDownloadByIdQuery:r,useAssetExportZipAssetMutation:I,useAssetExportZipFolderMutation:S,useAssetGetByIdQuery:_,useAssetUpdateByIdMutation:u,useAssetDeleteGridConfigurationByConfigurationIdMutation:D,useAssetGetAvailableGridColumnsQuery:p,useAssetGetGridConfigurationByFolderIdQuery:n,useAssetGetSavedGridConfigurationsQuery:O,useAssetSaveGridConfigurationMutation:N,useAssetSetGridConfigurationAsFavoriteMutation:R,useAssetUpdateGridConfigurationMutation:y,useAssetGetGridQuery:C,useAssetImageDownloadCustomQuery:m,useAssetImageStreamCustomQuery:l,useAssetImageDownloadByFormatQuery:G,useAssetImageStreamPreviewQuery:L,useAssetImageStreamQuery:g,useAssetImageDownloadByThumbnailQuery:c,useAssetPatchByIdMutation:v,useAssetPatchFolderByIdMutation:U,useAssetClearThumbnailMutation:M,useAssetGetTreeQuery:B,useAssetAddMutation:h,useAssetUploadInfoQuery:f,useAssetReplaceMutation:F,useAssetUploadZipMutation:q,useAssetVideoImageThumbnailStreamQuery:P,useAssetVideoDownloadByThumbnailQuery:b,useAssetVideoStreamByThumbnailQuery:x,useAssetCustomMetadataGetByIdQuery:J}=T},42125:function(e,s,t){t.r(s),t.d(s,{api:()=>i,tagNames:()=>o.fV,getPrefix:()=>A.G,providingTags:()=>o.Kx,invalidatingTags:()=>o.xc});var T=t(1753),E=t(4e4);let a=(0,T.ni)({baseUrl:"/"}),i=(0,E.LC)({baseQuery:a,endpoints:()=>({})});var A=t(72497),o=t(96068);void 0!==(e=t.hmd(e)).hot&&e.hot.accept()}}]); \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1869.de93aa94.js.LICENSE.txt b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1869.de93aa94.js.LICENSE.txt deleted file mode 100644 index f5d20e255b..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1869.de93aa94.js.LICENSE.txt +++ /dev/null @@ -1,23 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ - -/** - * This source file is available under the terms of the - * Pimcore Open Core License (POCL) - * Full copyright and license information is available in - * LICENSE.md which is distributed with this source code. - * - * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * @license Pimcore Open Core License (POCL) - */ \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1888.71926ec6.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1888.71926ec6.js deleted file mode 100644 index 20381a9c6d..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1888.71926ec6.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 1888.71926ec6.js.LICENSE.txt */ -"use strict";(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["1888"],{31024:function(r,e,n){n.r(e),n.d(e,{v3:()=>C,validate:()=>a,version:()=>$,v4:()=>E,NIL:()=>f,v5:()=>S,v1ToV6:()=>m,v6:()=>M,MAX:()=>t,stringify:()=>x,v1:()=>h,parse:()=>c,v6ToV1:()=>V,v7:()=>X});let t="ffffffff-ffff-ffff-ffff-ffffffffffff",f="00000000-0000-0000-0000-000000000000",o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i,a=function(r){return"string"==typeof r&&o.test(r)},c=function(r){if(!a(r))throw TypeError("Invalid UUID");var e,n=new Uint8Array(16);return n[0]=(e=parseInt(r.slice(0,8),16))>>>24,n[1]=e>>>16&255,n[2]=e>>>8&255,n[3]=255&e,n[4]=(e=parseInt(r.slice(9,13),16))>>>8,n[5]=255&e,n[6]=(e=parseInt(r.slice(14,18),16))>>>8,n[7]=255&e,n[8]=(e=parseInt(r.slice(19,23),16))>>>8,n[9]=255&e,n[10]=(e=parseInt(r.slice(24,36),16))/0x10000000000&255,n[11]=e/0x100000000&255,n[12]=e>>>24&255,n[13]=e>>>16&255,n[14]=e>>>8&255,n[15]=255&e,n};for(var i,u,l,s=[],d=0;d<256;++d)s.push((d+256).toString(16).slice(1));function v(r,e=0){return(s[r[e+0]]+s[r[e+1]]+s[r[e+2]]+s[r[e+3]]+"-"+s[r[e+4]]+s[r[e+5]]+"-"+s[r[e+6]]+s[r[e+7]]+"-"+s[r[e+8]]+s[r[e+9]]+"-"+s[r[e+10]]+s[r[e+11]]+s[r[e+12]]+s[r[e+13]]+s[r[e+14]]+s[r[e+15]]).toLowerCase()}let x=function(r,e=0){var n=v(r,e);if(!a(n))throw TypeError("Stringified UUID is invalid");return n};var b=new Uint8Array(16);function p(){if(!i&&!(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(b)}var y=0,g=0;let h=function(r,e,n){var t=e&&n||0,f=e||Array(16),o=(r=r||{}).node,a=r.clockseq;if(r._v6||(o||(o=u),null==a&&(a=l)),null==o||null==a){var c=r.random||(r.rng||p)();null==o&&(o=[c[0],c[1],c[2],c[3],c[4],c[5]],u||r._v6||(o[0]|=1,u=o)),null==a&&(a=(c[6]<<8|c[7])&16383,void 0!==l||r._v6||(l=a))}var i=void 0!==r.msecs?r.msecs:Date.now(),s=void 0!==r.nsecs?r.nsecs:g+1,d=i-y+(s-g)/1e4;if(d<0&&void 0===r.clockseq&&(a=a+1&16383),(d<0||i>y)&&void 0===r.nsecs&&(s=0),s>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");y=i,g=s,l=a;var x=((0xfffffff&(i+=122192928e5))*1e4+s)%0x100000000;f[t++]=x>>>24&255,f[t++]=x>>>16&255,f[t++]=x>>>8&255,f[t++]=255&x;var b=i/0x100000000*1e4&0xfffffff;f[t++]=b>>>8&255,f[t++]=255&b,f[t++]=b>>>24&15|16,f[t++]=b>>>16&255,f[t++]=a>>>8|128,f[t++]=255&a;for(var h=0;h<6;++h)f[t+h]=o[h];return e||v(f)};function m(r){var e=function(r,e=!1){return Uint8Array.of((15&r[6])<<4|r[7]>>4&15,(15&r[7])<<4|(240&r[4])>>4,(15&r[4])<<4|(240&r[5])>>4,(15&r[5])<<4|(240&r[0])>>4,(15&r[0])<<4|(240&r[1])>>4,(15&r[1])<<4|(240&r[2])>>4,96|15&r[2],r[3],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15])}("string"==typeof r?c(r):r);return"string"==typeof r?v(e):e}function U(r,e,n){function t(r,t,f,o){if("string"==typeof r&&(r=function(r){r=unescape(encodeURIComponent(r));for(var e=[],n=0;n>>9<<4)+14+1}function A(r,e){var n=(65535&r)+(65535&e);return(r>>16)+(e>>16)+(n>>16)<<16|65535&n}function I(r,e,n,t,f,o){var a;return A((a=A(A(e,r),A(t,o)))<>>32-f,n)}function O(r,e,n,t,f,o,a){return I(e&n|~e&t,r,e,f,o,a)}function j(r,e,n,t,f,o,a){return I(e&t|n&~t,r,e,f,o,a)}function D(r,e,n,t,f,o,a){return I(e^n^t,r,e,f,o,a)}function P(r,e,n,t,f,o,a){return I(n^(e|~t),r,e,f,o,a)}let C=U("v3",48,function(r){if("string"==typeof r){var e=unescape(encodeURIComponent(r));r=new Uint8Array(e.length);for(var n=0;n>5]>>>f%32&255,a=parseInt(t.charAt(o>>>4&15)+t.charAt(15&o),16);e.push(a)}return e}(function(r,e){r[e>>5]|=128<>5]|=(255&r[t/8])<>>32-e}let S=U("v5",80,function(r){var e=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6],n=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0];if("string"==typeof r){var t=unescape(encodeURIComponent(r));r=[];for(var f=0;f>>0;g=y,y=p,p=k(b,30)>>>0,b=x,x=U}n[0]=n[0]+x>>>0,n[1]=n[1]+b>>>0,n[2]=n[2]+p>>>0,n[3]=n[3]+y>>>0,n[4]=n[4]+g>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]});function R(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})),n.push.apply(n,t)}return n}function T(r){for(var e=1;e>4&15,(15&e[4])<<4|(240&e[5])>>4,(15&e[5])<<4|15&e[6],e[7],(15&e[1])<<4|(240&e[2])>>4,(15&e[2])<<4|(240&e[3])>>4,16|(240&e[0])>>4,(15&e[0])<<4|(240&e[1])>>4,e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]));return"string"==typeof r?v(n):n}var q=null,N=null,L=0;let X=function(r,e,n){r=r||{};var t=e&&n||0,f=e||new Uint8Array(16),o=r.random||(r.rng||p)(),a=void 0!==r.msecs?r.msecs:Date.now(),c=void 0!==r.seq?r.seq:null,i=N,u=q;return a>L&&void 0===r.msecs&&(L=a,null!==c&&(i=null,u=null)),null!==c&&(c>0x7fffffff&&(c=0x7fffffff),i=c>>>19&4095,u=524287&c),(null===i||null===u)&&(i=(i=127&o[6])<<8|o[7],u=(u=(u=63&o[8])<<8|o[9])<<5|o[10]>>>3),a+1e4>L&&null===c?++u>524287&&(u=0,++i>4095&&(i=0,L++)):L=a,N=i,q=u,f[t++]=L/0x10000000000&255,f[t++]=L/0x100000000&255,f[t++]=L/0x1000000&255,f[t++]=L/65536&255,f[t++]=L/256&255,f[t++]=255&L,f[t++]=i>>>4&15|112,f[t++]=255&i,f[t++]=u>>>13&63|128,f[t++]=u>>>5&255,f[t++]=u<<3&255|7&o[10],f[t++]=o[11],f[t++]=o[12],f[t++]=o[13],f[t++]=o[14],f[t++]=o[15],e||v(f)},$=function(r){if(!a(r))throw TypeError("Invalid UUID");return parseInt(r.slice(14,15),16)}}}]); \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1888.71926ec6.js.LICENSE.txt b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1888.71926ec6.js.LICENSE.txt deleted file mode 100644 index 8693fb8316..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/1888.71926ec6.js.LICENSE.txt +++ /dev/null @@ -1,13 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/281.5cceb334.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/281.5cceb334.js deleted file mode 100644 index 2e79a96ec3..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/281.5cceb334.js +++ /dev/null @@ -1,5 +0,0 @@ -/*! For license information please see 281.5cceb334.js.LICENSE.txt */ -"use strict";(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["281"],{94679:function(e,t,l){l.r(t),l.d(t,{getFilteredRowModel:()=>eS,reSplitAlphaNumeric:()=>er,getPaginationRowModel:()=>eF,ColumnFaceting:()=>v,defaultColumnSizing:()=>B,Headers:()=>C,createColumnHelper:()=>o,isFunction:()=>a,ColumnFiltering:()=>G,GlobalFaceting:()=>K,buildHeaderGroups:()=>h,getFacetedUniqueValues:()=>ev,getFacetedMinMaxValues:()=>eC,passiveEventSupported:()=>j,RowSorting:()=>ed,flattenBy:()=>s,createCell:()=>c,RowExpanding:()=>Q,filterFns:()=>y,createRow:()=>R,createTable:()=>ec,ColumnSizing:()=>k,getFacetedRowModel:()=>eR,_getVisibleLeafColumns:()=>X,functionalUpdate:()=>i,getMemoOptions:()=>p,getSortedRowModel:()=>eM,ColumnGrouping:()=>H,isNumberArray:()=>g,RowPinning:()=>ee,RowSelection:()=>et,getGroupedRowModel:()=>eb,ColumnVisibility:()=>$,expandRows:()=>ew,isRowSelected:()=>eo,GlobalFiltering:()=>J,isSubRowSelected:()=>ei,aggregationFns:()=>A,ColumnPinning:()=>T,getExpandedRowModel:()=>em,getCoreRowModel:()=>ef,memo:()=>d,noop:()=>r,orderColumns:()=>D,ColumnOrdering:()=>z,createColumn:()=>f,selectRowsFn:()=>en,makeStateUpdater:()=>u,flexRender:()=>eV,RowPagination:()=>Y,shouldAutoRemoveFilter:()=>L,sortingFns:()=>es,useReactTable:()=>eP});var n=l(81004);function o(){return{accessor:(e,t)=>"function"==typeof e?{...t,accessorFn:e}:{...t,accessorKey:e},display:e=>e,group:e=>e}}function i(e,t){return"function"==typeof e?e(t):e}function r(){}function u(e,t){return l=>{t.setState(t=>({...t,[e]:i(l,t[e])}))}}function a(e){return e instanceof Function}function g(e){return Array.isArray(e)&&e.every(e=>"number"==typeof e)}function s(e,t){let l=[],n=e=>{e.forEach(e=>{l.push(e);let o=t(e);null!=o&&o.length&&n(o)})};return n(e),l}function d(e,t,l){let n,o=[];return i=>{let r,u;l.key&&l.debug&&(r=Date.now());let a=e(i);if(!(a.length!==o.length||a.some((e,t)=>o[t]!==e)))return n;if(o=a,l.key&&l.debug&&(u=Date.now()),n=t(...a),null==l||null==l.onChange||l.onChange(n),l.key&&l.debug&&null!=l&&l.debug()){let e=Math.round((Date.now()-r)*100)/100,t=Math.round((Date.now()-u)*100)/100,n=t/16,o=(e,t)=>{for(e=String(e);e.length{var l;return null!=(l=null==e?void 0:e.debugAll)?l:e[t]},key:!1,onChange:n}}function c(e,t,l,n){let o={id:`${t.id}_${l.id}`,row:t,column:l,getValue:()=>t.getValue(n),renderValue:()=>{var t;return null!=(t=o.getValue())?t:e.options.renderFallbackValue},getContext:d(()=>[e,l,t,o],(e,t,l,n)=>({table:e,column:t,row:l,cell:n,getValue:n.getValue,renderValue:n.renderValue}),p(e.options,"debugCells","cell.getContext"))};return e._features.forEach(n=>{null==n.createCell||n.createCell(o,l,t,e)},{}),o}function f(e,t,l,n){var o,i;let r,u={...e._getDefaultColumnDef(),...t},a=u.accessorKey,g=null!=(o=null!=(i=u.id)?i:a?"function"==typeof String.prototype.replaceAll?a.replaceAll(".","_"):a.replace(/\./g,"_"):void 0)?o:"string"==typeof u.header?u.header:void 0;if(u.accessorFn?r=u.accessorFn:a&&(r=a.includes(".")?e=>{let t=e;for(let e of a.split(".")){var l;t=null==(l=t)?void 0:l[e]}return t}:e=>e[u.accessorKey]),!g)throw Error();let s={id:`${String(g)}`,accessorFn:r,parent:n,depth:l,columnDef:u,columns:[],getFlatColumns:d(()=>[!0],()=>{var e;return[s,...null==(e=s.columns)?void 0:e.flatMap(e=>e.getFlatColumns())]},p(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:d(()=>[e._getOrderColumnsFn()],e=>{var t;return null!=(t=s.columns)&&t.length?e(s.columns.flatMap(e=>e.getLeafColumns())):[s]},p(e.options,"debugColumns","column.getLeafColumns"))};for(let t of e._features)null==t.createColumn||t.createColumn(s,e);return s}let m="debugHeaders";function w(e,t,l){var n;let o={id:null!=(n=l.id)?n:t.id,column:t,index:l.index,isPlaceholder:!!l.isPlaceholder,placeholderId:l.placeholderId,depth:l.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{let e=[],t=l=>{l.subHeaders&&l.subHeaders.length&&l.subHeaders.map(t),e.push(l)};return t(o),e},getContext:()=>({table:e,header:o,column:t})};return e._features.forEach(t=>{null==t.createHeader||t.createHeader(o,e)}),o}let C={createTable:e=>{e.getHeaderGroups=d(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,l,n,o)=>{var i,r;let u=null!=(i=null==n?void 0:n.map(e=>l.find(t=>t.id===e)).filter(Boolean))?i:[],a=null!=(r=null==o?void 0:o.map(e=>l.find(t=>t.id===e)).filter(Boolean))?r:[];return h(t,[...u,...l.filter(e=>!(null!=n&&n.includes(e.id))&&!(null!=o&&o.includes(e.id))),...a],e)},p(e.options,m,"getHeaderGroups")),e.getCenterHeaderGroups=d(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,l,n,o)=>h(t,l=l.filter(e=>!(null!=n&&n.includes(e.id))&&!(null!=o&&o.includes(e.id))),e,"center"),p(e.options,m,"getCenterHeaderGroups")),e.getLeftHeaderGroups=d(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,l,n)=>{var o;return h(t,null!=(o=null==n?void 0:n.map(e=>l.find(t=>t.id===e)).filter(Boolean))?o:[],e,"left")},p(e.options,m,"getLeftHeaderGroups")),e.getRightHeaderGroups=d(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,l,n)=>{var o;return h(t,null!=(o=null==n?void 0:n.map(e=>l.find(t=>t.id===e)).filter(Boolean))?o:[],e,"right")},p(e.options,m,"getRightHeaderGroups")),e.getFooterGroups=d(()=>[e.getHeaderGroups()],e=>[...e].reverse(),p(e.options,m,"getFooterGroups")),e.getLeftFooterGroups=d(()=>[e.getLeftHeaderGroups()],e=>[...e].reverse(),p(e.options,m,"getLeftFooterGroups")),e.getCenterFooterGroups=d(()=>[e.getCenterHeaderGroups()],e=>[...e].reverse(),p(e.options,m,"getCenterFooterGroups")),e.getRightFooterGroups=d(()=>[e.getRightHeaderGroups()],e=>[...e].reverse(),p(e.options,m,"getRightFooterGroups")),e.getFlatHeaders=d(()=>[e.getHeaderGroups()],e=>e.map(e=>e.headers).flat(),p(e.options,m,"getFlatHeaders")),e.getLeftFlatHeaders=d(()=>[e.getLeftHeaderGroups()],e=>e.map(e=>e.headers).flat(),p(e.options,m,"getLeftFlatHeaders")),e.getCenterFlatHeaders=d(()=>[e.getCenterHeaderGroups()],e=>e.map(e=>e.headers).flat(),p(e.options,m,"getCenterFlatHeaders")),e.getRightFlatHeaders=d(()=>[e.getRightHeaderGroups()],e=>e.map(e=>e.headers).flat(),p(e.options,m,"getRightFlatHeaders")),e.getCenterLeafHeaders=d(()=>[e.getCenterFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),p(e.options,m,"getCenterLeafHeaders")),e.getLeftLeafHeaders=d(()=>[e.getLeftFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),p(e.options,m,"getLeftLeafHeaders")),e.getRightLeafHeaders=d(()=>[e.getRightFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),p(e.options,m,"getRightLeafHeaders")),e.getLeafHeaders=d(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(e,t,l)=>{var n,o,i,r,u,a;return[...null!=(n=null==(o=e[0])?void 0:o.headers)?n:[],...null!=(i=null==(r=t[0])?void 0:r.headers)?i:[],...null!=(u=null==(a=l[0])?void 0:a.headers)?u:[]].map(e=>e.getLeafHeaders()).flat()},p(e.options,m,"getLeafHeaders"))}};function h(e,t,l,n){var o,i;let r=0,u=function(e,t){void 0===t&&(t=1),r=Math.max(r,t),e.filter(e=>e.getIsVisible()).forEach(e=>{var l;null!=(l=e.columns)&&l.length&&u(e.columns,t+1)},0)};u(e);let a=[],g=(e,t)=>{let o={depth:t,id:[n,`${t}`].filter(Boolean).join("_"),headers:[]},i=[];e.forEach(e=>{let r,u=[...i].reverse()[0],a=e.column.depth===o.depth,g=!1;if(a&&e.column.parent?r=e.column.parent:(r=e.column,g=!0),u&&(null==u?void 0:u.column)===r)u.subHeaders.push(e);else{let o=w(l,r,{id:[n,t,r.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:g,placeholderId:g?`${i.filter(e=>e.column===r).length}`:void 0,depth:t,index:i.length});o.subHeaders.push(e),i.push(o)}o.headers.push(e),e.headerGroup=o}),a.push(o),t>0&&g(i,t-1)};g(t.map((e,t)=>w(l,e,{depth:r,index:t})),r-1),a.reverse();let s=e=>e.filter(e=>e.column.getIsVisible()).map(e=>{let t=0,l=0,n=[0];return e.subHeaders&&e.subHeaders.length?(n=[],s(e.subHeaders).forEach(e=>{let{colSpan:l,rowSpan:o}=e;t+=l,n.push(o)})):t=1,l+=Math.min(...n),e.colSpan=t,e.rowSpan=l,{colSpan:t,rowSpan:l}});return s(null!=(o=null==(i=a[0])?void 0:i.headers)?o:[]),a}let R=(e,t,l,n,o,i,r)=>{let u={id:t,index:n,original:l,depth:o,parentId:r,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(u._valuesCache.hasOwnProperty(t))return u._valuesCache[t];let l=e.getColumn(t);if(null!=l&&l.accessorFn)return u._valuesCache[t]=l.accessorFn(u.original,n),u._valuesCache[t]},getUniqueValues:t=>{if(u._uniqueValuesCache.hasOwnProperty(t))return u._uniqueValuesCache[t];let l=e.getColumn(t);if(null!=l&&l.accessorFn)return l.columnDef.getUniqueValues?u._uniqueValuesCache[t]=l.columnDef.getUniqueValues(u.original,n):u._uniqueValuesCache[t]=[u.getValue(t)],u._uniqueValuesCache[t]},renderValue:t=>{var l;return null!=(l=u.getValue(t))?l:e.options.renderFallbackValue},subRows:null!=i?i:[],getLeafRows:()=>s(u.subRows,e=>e.subRows),getParentRow:()=>u.parentId?e.getRow(u.parentId,!0):void 0,getParentRows:()=>{let e=[],t=u;for(;;){let l=t.getParentRow();if(!l)break;e.push(l),t=l}return e.reverse()},getAllCells:d(()=>[e.getAllLeafColumns()],t=>t.map(t=>c(e,u,t,t.id)),p(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:d(()=>[u.getAllCells()],e=>e.reduce((e,t)=>(e[t.column.id]=t,e),{}),p(e.options,"debugRows","getAllCellsByColumnId"))};for(let t=0;t{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},S=(e,t,l)=>{var n,o;let i=null==l||null==(n=l.toString())?void 0:n.toLowerCase();return!!(null==(o=e.getValue(t))||null==(o=o.toString())||null==(o=o.toLowerCase())?void 0:o.includes(i))};S.autoRemove=e=>E(e);let b=(e,t,l)=>{var n;return!!(null==(n=e.getValue(t))||null==(n=n.toString())?void 0:n.includes(l))};b.autoRemove=e=>E(e);let F=(e,t,l)=>{var n;return(null==(n=e.getValue(t))||null==(n=n.toString())?void 0:n.toLowerCase())===(null==l?void 0:l.toLowerCase())};F.autoRemove=e=>E(e);let M=(e,t,l)=>{var n;return null==(n=e.getValue(t))?void 0:n.includes(l)};M.autoRemove=e=>E(e);let V=(e,t,l)=>!l.some(l=>{var n;return!(null!=(n=e.getValue(t))&&n.includes(l))});V.autoRemove=e=>E(e)||!(null!=e&&e.length);let P=(e,t,l)=>l.some(l=>{var n;return null==(n=e.getValue(t))?void 0:n.includes(l)});P.autoRemove=e=>E(e)||!(null!=e&&e.length);let I=(e,t,l)=>e.getValue(t)===l;I.autoRemove=e=>E(e);let _=(e,t,l)=>e.getValue(t)==l;_.autoRemove=e=>E(e);let x=(e,t,l)=>{let[n,o]=l,i=e.getValue(t);return i>=n&&i<=o};x.resolveFilterValue=e=>{let[t,l]=e,n="number"!=typeof t?parseFloat(t):t,o="number"!=typeof l?parseFloat(l):l,i=null===t||Number.isNaN(n)?-1/0:n,r=null===l||Number.isNaN(o)?1/0:o;if(i>r){let e=i;i=r,r=e}return[i,r]},x.autoRemove=e=>E(e)||E(e[0])&&E(e[1]);let y={includesString:S,includesStringSensitive:b,equalsString:F,arrIncludes:M,arrIncludesAll:V,arrIncludesSome:P,equals:I,weakEquals:_,inNumberRange:x};function E(e){return null==e||""===e}let G={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:u("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{let l=t.getCoreRowModel().flatRows[0],n=null==l?void 0:l.getValue(e.id);return"string"==typeof n?y.includesString:"number"==typeof n?y.inNumberRange:"boolean"==typeof n||null!==n&&"object"==typeof n?y.equals:Array.isArray(n)?y.arrIncludes:y.weakEquals},e.getFilterFn=()=>{var l,n;return a(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(l=null==(n=t.options.filterFns)?void 0:n[e.columnDef.filterFn])?l:y[e.columnDef.filterFn]},e.getCanFilter=()=>{var l,n,o;return(null==(l=e.columnDef.enableColumnFilter)||l)&&(null==(n=t.options.enableColumnFilters)||n)&&(null==(o=t.options.enableFilters)||o)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var l;return null==(l=t.getState().columnFilters)||null==(l=l.find(t=>t.id===e.id))?void 0:l.value},e.getFilterIndex=()=>{var l,n;return null!=(l=null==(n=t.getState().columnFilters)?void 0:n.findIndex(t=>t.id===e.id))?l:-1},e.setFilterValue=l=>{t.setColumnFilters(t=>{var n,o;let r=e.getFilterFn(),u=null==t?void 0:t.find(t=>t.id===e.id),a=i(l,u?u.value:void 0);if(L(r,a,e))return null!=(n=null==t?void 0:t.filter(t=>t.id!==e.id))?n:[];let g={id:e.id,value:a};return u?null!=(o=null==t?void 0:t.map(t=>t.id===e.id?g:t))?o:[]:null!=t&&t.length?[...t,g]:[g]})}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{let l=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange(e=>{var n;return null==(n=i(t,e))?void 0:n.filter(e=>{let t=l.find(t=>t.id===e.id);return!(t&&L(t.getFilterFn(),e.value,t))&&!0})})},e.resetColumnFilters=t=>{var l,n;e.setColumnFilters(t?[]:null!=(l=null==(n=e.initialState)?void 0:n.columnFilters)?l:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel)?e.getPreFilteredRowModel():e._getFilteredRowModel()}};function L(e,t,l){return!!e&&!!e.autoRemove&&e.autoRemove(t,l)||void 0===t||"string"==typeof t&&!t}let A={sum:(e,t,l)=>l.reduce((t,l)=>{let n=l.getValue(e);return t+("number"==typeof n?n:0)},0),min:(e,t,l)=>{let n;return l.forEach(t=>{let l=t.getValue(e);null!=l&&(n>l||void 0===n&&l>=l)&&(n=l)}),n},max:(e,t,l)=>{let n;return l.forEach(t=>{let l=t.getValue(e);null!=l&&(n=l)&&(n=l)}),n},extent:(e,t,l)=>{let n,o;return l.forEach(t=>{let l=t.getValue(e);null!=l&&(void 0===n?l>=l&&(n=o=l):(n>l&&(n=l),o{let l=0,n=0;if(t.forEach(t=>{let o=t.getValue(e);null!=o&&(o*=1)>=o&&(++l,n+=o)}),l)return n/l},median:(e,t)=>{if(!t.length)return;let l=t.map(t=>t.getValue(e));if(!g(l))return;if(1===l.length)return l[0];let n=Math.floor(l.length/2),o=l.sort((e,t)=>e-t);return l.length%2!=0?o[n]:(o[n-1]+o[n])/2},unique:(e,t)=>Array.from(new Set(t.map(t=>t.getValue(e))).values()),uniqueCount:(e,t)=>new Set(t.map(t=>t.getValue(e))).size,count:(e,t)=>t.length},H={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,l;return null!=(t=null==(l=e.getValue())||null==l.toString?void 0:l.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:u("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(t=>null!=t&&t.includes(e.id)?t.filter(t=>t!==e.id):[...null!=t?t:[],e.id])},e.getCanGroup=()=>{var l,n;return(null==(l=e.columnDef.enableGrouping)||l)&&(null==(n=t.options.enableGrouping)||n)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var l;return null==(l=t.getState().grouping)?void 0:l.includes(e.id)},e.getGroupedIndex=()=>{var l;return null==(l=t.getState().grouping)?void 0:l.indexOf(e.id)},e.getToggleGroupingHandler=()=>{let t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{let l=t.getCoreRowModel().flatRows[0],n=null==l?void 0:l.getValue(e.id);return"number"==typeof n?A.sum:"[object Date]"===Object.prototype.toString.call(n)?A.extent:void 0},e.getAggregationFn=()=>{var l,n;if(!e)throw Error();return a(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(l=null==(n=t.options.aggregationFns)?void 0:n[e.columnDef.aggregationFn])?l:A[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var l,n;e.setGrouping(t?[]:null!=(l=null==(n=e.initialState)?void 0:n.grouping)?l:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel)?e.getPreGroupedRowModel():e._getGroupedRowModel()},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=l=>{if(e._groupingValuesCache.hasOwnProperty(l))return e._groupingValuesCache[l];let n=t.getColumn(l);return null!=n&&n.columnDef.getGroupingValue?(e._groupingValuesCache[l]=n.columnDef.getGroupingValue(e.original),e._groupingValuesCache[l]):e.getValue(l)},e._groupingValuesCache={}},createCell:(e,t,l,n)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===l.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!(null!=(t=l.subRows)&&t.length)}}};function D(e,t,l){if(!(null!=t&&t.length)||!l)return e;let n=e.filter(e=>!t.includes(e.id));return"remove"===l?n:[...t.map(t=>e.find(e=>e.id===t)).filter(Boolean),...n]}let z={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:u("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=d(e=>[X(t,e)],t=>t.findIndex(t=>t.id===e.id),p(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=l=>{var n;return(null==(n=X(t,l)[0])?void 0:n.id)===e.id},e.getIsLastColumn=l=>{var n;let o=X(t,l);return(null==(n=o[o.length-1])?void 0:n.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var l;e.setColumnOrder(t?[]:null!=(l=e.initialState.columnOrder)?l:[])},e._getOrderColumnsFn=d(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(e,t,l)=>n=>{let o=[];if(null!=e&&e.length){let t=[...e],l=[...n];for(;l.length&&t.length;){let e=t.shift(),n=l.findIndex(t=>t.id===e);n>-1&&o.push(l.splice(n,1)[0])}o=[...o,...l]}else o=n;return D(o,t,l)},p(e.options,"debugTable","_getOrderColumnsFn"))}},O=()=>({left:[],right:[]}),T={getInitialState:e=>({columnPinning:O(),...e}),getDefaultOptions:e=>({onColumnPinningChange:u("columnPinning",e)}),createColumn:(e,t)=>{e.pin=l=>{let n=e.getLeafColumns().map(e=>e.id).filter(Boolean);t.setColumnPinning(e=>{var t,o,i,r,u,a;return"right"===l?{left:(null!=(i=null==e?void 0:e.left)?i:[]).filter(e=>!(null!=n&&n.includes(e))),right:[...(null!=(r=null==e?void 0:e.right)?r:[]).filter(e=>!(null!=n&&n.includes(e))),...n]}:"left"===l?{left:[...(null!=(u=null==e?void 0:e.left)?u:[]).filter(e=>!(null!=n&&n.includes(e))),...n],right:(null!=(a=null==e?void 0:e.right)?a:[]).filter(e=>!(null!=n&&n.includes(e)))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter(e=>!(null!=n&&n.includes(e))),right:(null!=(o=null==e?void 0:e.right)?o:[]).filter(e=>!(null!=n&&n.includes(e)))}})},e.getCanPin=()=>e.getLeafColumns().some(e=>{var l,n,o;return(null==(l=e.columnDef.enablePinning)||l)&&(null==(n=null!=(o=t.options.enableColumnPinning)?o:t.options.enablePinning)||n)}),e.getIsPinned=()=>{let l=e.getLeafColumns().map(e=>e.id),{left:n,right:o}=t.getState().columnPinning,i=l.some(e=>null==n?void 0:n.includes(e)),r=l.some(e=>null==o?void 0:o.includes(e));return i?"left":!!r&&"right"},e.getPinnedIndex=()=>{var l,n;let o=e.getIsPinned();return o?null!=(l=null==(n=t.getState().columnPinning)||null==(n=n[o])?void 0:n.indexOf(e.id))?l:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=d(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(e,t,l)=>{let n=[...null!=t?t:[],...null!=l?l:[]];return e.filter(e=>!n.includes(e.column.id))},p(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=d(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.column.id===t)).filter(Boolean).map(e=>({...e,position:"left"})),p(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=d(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.column.id===t)).filter(Boolean).map(e=>({...e,position:"right"})),p(t.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var l,n;return e.setColumnPinning(t?O():null!=(l=null==(n=e.initialState)?void 0:n.columnPinning)?l:O())},e.getIsSomeColumnsPinned=t=>{var l,n,o;let i=e.getState().columnPinning;return t?!!(null==(l=i[t])?void 0:l.length):!!((null==(n=i.left)?void 0:n.length)||(null==(o=i.right)?void 0:o.length))},e.getLeftLeafColumns=d(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.id===t)).filter(Boolean),p(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=d(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.id===t)).filter(Boolean),p(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=d(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(e,t,l)=>{let n=[...null!=t?t:[],...null!=l?l:[]];return e.filter(e=>!n.includes(e.id))},p(e.options,"debugColumns","getCenterLeafColumns"))}},B={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},q=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),k={getDefaultColumnDef:()=>B,getInitialState:e=>({columnSizing:{},columnSizingInfo:q(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:u("columnSizing",e),onColumnSizingInfoChange:u("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var l,n,o;let i=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(l=e.columnDef.minSize)?l:B.minSize,null!=(n=null!=i?i:e.columnDef.size)?n:B.size),null!=(o=e.columnDef.maxSize)?o:B.maxSize)},e.getStart=d(e=>[e,X(t,e),t.getState().columnSizing],(t,l)=>l.slice(0,e.getIndex(t)).reduce((e,t)=>e+t.getSize(),0),p(t.options,"debugColumns","getStart")),e.getAfter=d(e=>[e,X(t,e),t.getState().columnSizing],(t,l)=>l.slice(e.getIndex(t)+1).reduce((e,t)=>e+t.getSize(),0),p(t.options,"debugColumns","getAfter")),e.resetSize=()=>{t.setColumnSizing(t=>{let{[e.id]:l,...n}=t;return n})},e.getCanResize=()=>{var l,n;return(null==(l=e.columnDef.enableResizing)||l)&&(null==(n=t.options.enableColumnResizing)||n)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0,l=e=>{if(e.subHeaders.length)e.subHeaders.forEach(l);else{var n;t+=null!=(n=e.column.getSize())?n:0}};return l(e),t},e.getStart=()=>{if(e.index>0){let t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=l=>{let n=t.getColumn(e.column.id),o=null==n?void 0:n.getCanResize();return i=>{if(!n||!o||(null==i.persist||i.persist(),U(i)&&i.touches&&i.touches.length>1))return;let r=e.getSize(),u=e?e.getLeafHeaders().map(e=>[e.column.id,e.column.getSize()]):[[n.id,n.getSize()]],a=U(i)?Math.round(i.touches[0].clientX):i.clientX,g={},s=(e,l)=>{"number"==typeof l&&(t.setColumnSizingInfo(e=>{var n,o;let i="rtl"===t.options.columnResizeDirection?-1:1,r=(l-(null!=(n=null==e?void 0:e.startOffset)?n:0))*i,u=Math.max(r/(null!=(o=null==e?void 0:e.startSize)?o:0),-.999999);return e.columnSizingStart.forEach(e=>{let[t,l]=e;g[t]=Math.round(100*Math.max(l+l*u,0))/100}),{...e,deltaOffset:r,deltaPercentage:u}}),("onChange"===t.options.columnResizeMode||"end"===e)&&t.setColumnSizing(e=>({...e,...g})))},d=e=>s("move",e),p=e=>{s("end",e),t.setColumnSizingInfo(e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},c=l||("undefined"!=typeof document?document:null),f={moveHandler:e=>d(e.clientX),upHandler:e=>{null==c||c.removeEventListener("mousemove",f.moveHandler),null==c||c.removeEventListener("mouseup",f.upHandler),p(e.clientX)}},m={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),d(e.touches[0].clientX),!1),upHandler:e=>{var t;null==c||c.removeEventListener("touchmove",m.moveHandler),null==c||c.removeEventListener("touchend",m.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),p(null==(t=e.touches[0])?void 0:t.clientX)}},w=!!j()&&{passive:!1};U(i)?(null==c||c.addEventListener("touchmove",m.moveHandler,w),null==c||c.addEventListener("touchend",m.upHandler,w)):(null==c||c.addEventListener("mousemove",f.moveHandler,w),null==c||c.addEventListener("mouseup",f.upHandler,w)),t.setColumnSizingInfo(e=>({...e,startOffset:a,startSize:r,deltaOffset:0,deltaPercentage:0,columnSizingStart:u,isResizingColumn:n.id}))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var l;e.setColumnSizing(t?{}:null!=(l=e.initialState.columnSizing)?l:{})},e.resetHeaderSizeInfo=t=>{var l;e.setColumnSizingInfo(t?q():null!=(l=e.initialState.columnSizingInfo)?l:q())},e.getTotalSize=()=>{var t,l;return null!=(t=null==(l=e.getHeaderGroups()[0])?void 0:l.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getLeftTotalSize=()=>{var t,l;return null!=(t=null==(l=e.getLeftHeaderGroups()[0])?void 0:l.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getCenterTotalSize=()=>{var t,l;return null!=(t=null==(l=e.getCenterHeaderGroups()[0])?void 0:l.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getRightTotalSize=()=>{var t,l;return null!=(t=null==(l=e.getRightHeaderGroups()[0])?void 0:l.headers.reduce((e,t)=>e+t.getSize(),0))?t:0}}},N=null;function j(){if("boolean"==typeof N)return N;let e=!1;try{let t=()=>{};window.addEventListener("test",t,{get passive(){return e=!0,!1}}),window.removeEventListener("test",t)}catch(t){e=!1}return N=e}function U(e){return"touchstart"===e.type}let $={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:u("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=l=>{e.getCanHide()&&t.setColumnVisibility(t=>({...t,[e.id]:null!=l?l:!e.getIsVisible()}))},e.getIsVisible=()=>{var l,n;let o=e.columns;return null==(l=o.length?o.some(e=>e.getIsVisible()):null==(n=t.getState().columnVisibility)?void 0:n[e.id])||l},e.getCanHide=()=>{var l,n;return(null==(l=e.columnDef.enableHiding)||l)&&(null==(n=t.options.enableHiding)||n)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=d(()=>[e.getAllCells(),t.getState().columnVisibility],e=>e.filter(e=>e.column.getIsVisible()),p(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=d(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(e,t,l)=>[...e,...t,...l],p(t.options,"debugRows","getVisibleCells"))},createTable:e=>{let t=(t,l)=>d(()=>[l(),l().filter(e=>e.getIsVisible()).map(e=>e.id).join("_")],e=>e.filter(e=>null==e.getIsVisible?void 0:e.getIsVisible()),p(e.options,"debugColumns",t));e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var l;e.setColumnVisibility(t?{}:null!=(l=e.initialState.columnVisibility)?l:{})},e.toggleAllColumnsVisible=t=>{var l;t=null!=(l=t)?l:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((e,l)=>({...e,[l.id]:t||!(null!=l.getCanHide&&l.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(e=>!(null!=e.getIsVisible&&e.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(e=>null==e.getIsVisible?void 0:e.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var l;e.toggleAllColumnsVisible(null==(l=t.target)?void 0:l.checked)}}};function X(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}let K={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},J={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:u("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var l;let n=null==(l=e.getCoreRowModel().flatRows[0])||null==(l=l._getAllCellsByColumnId()[t.id])?void 0:l.getValue();return"string"==typeof n||"number"==typeof n}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var l,n,o,i;return(null==(l=e.columnDef.enableGlobalFilter)||l)&&(null==(n=t.options.enableGlobalFilter)||n)&&(null==(o=t.options.enableFilters)||o)&&(null==(i=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||i)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>y.includesString,e.getGlobalFilterFn=()=>{var t,l;let{globalFilterFn:n}=e.options;return a(n)?n:"auto"===n?e.getGlobalAutoFilterFn():null!=(t=null==(l=e.options.filterFns)?void 0:l[n])?t:y[n]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},Q={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:u("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,l=!1;e._autoResetExpanded=()=>{var n,o;if(!t)return void e._queue(()=>{t=!0});if(null!=(n=null!=(o=e.options.autoResetAll)?o:e.options.autoResetExpanded)?n:!e.options.manualExpanding){if(l)return;l=!0,e._queue(()=>{e.resetExpanded(),l=!1})}},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var l,n;e.setExpanded(t?{}:null!=(l=null==(n=e.initialState)?void 0:n.expanded)?l:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(e=>e.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{let t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{let t=e.getState().expanded;return"boolean"==typeof t?!0===t:!(!Object.keys(t).length||e.getRowModel().flatRows.some(e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(e=>{let l=e.split(".");t=Math.max(t,l.length)}),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel)?e.getPreExpandedRowModel():e._getExpandedRowModel()},createRow:(e,t)=>{e.toggleExpanded=l=>{t.setExpanded(n=>{var o;let i=!0===n||!!(null!=n&&n[e.id]),r={};if(!0===n?Object.keys(t.getRowModel().rowsById).forEach(e=>{r[e]=!0}):r=n,l=null!=(o=l)?o:!i,!i&&l)return{...r,[e.id]:!0};if(i&&!l){let{[e.id]:t,...l}=r;return l}return n})},e.getIsExpanded=()=>{var l;let n=t.getState().expanded;return!!(null!=(l=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?l:!0===n||(null==n?void 0:n[e.id]))},e.getCanExpand=()=>{var l,n,o;return null!=(l=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?l:(null==(n=t.options.enableExpanding)||n)&&!!(null!=(o=e.subRows)&&o.length)},e.getIsAllParentsExpanded=()=>{let l=!0,n=e;for(;l&&n.parentId;)l=(n=t.getRow(n.parentId,!0)).getIsExpanded();return l},e.getToggleExpandedHandler=()=>{let t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},W=()=>({pageIndex:0,pageSize:10}),Y={getInitialState:e=>({...e,pagination:{...W(),...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:u("pagination",e)}),createTable:e=>{let t=!1,l=!1;e._autoResetPageIndex=()=>{var n,o;if(!t)return void e._queue(()=>{t=!0});if(null!=(n=null!=(o=e.options.autoResetAll)?o:e.options.autoResetPageIndex)?n:!e.options.manualPagination){if(l)return;l=!0,e._queue(()=>{e.resetPageIndex(),l=!1})}},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange(e=>i(t,e)),e.resetPagination=t=>{var l;e.setPagination(t?W():null!=(l=e.initialState.pagination)?l:W())},e.setPageIndex=t=>{e.setPagination(l=>{let n=i(t,l.pageIndex);return n=Math.max(0,Math.min(n,void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1)),{...l,pageIndex:n}})},e.resetPageIndex=t=>{var l,n;e.setPageIndex(t?0:null!=(l=null==(n=e.initialState)||null==(n=n.pagination)?void 0:n.pageIndex)?l:0)},e.resetPageSize=t=>{var l,n;e.setPageSize(t?10:null!=(l=null==(n=e.initialState)||null==(n=n.pagination)?void 0:n.pageSize)?l:10)},e.setPageSize=t=>{e.setPagination(e=>{let l=Math.max(1,i(t,e.pageSize)),n=Math.floor(e.pageSize*e.pageIndex/l);return{...e,pageIndex:n,pageSize:l}})},e.setPageCount=t=>e.setPagination(l=>{var n;let o=i(t,null!=(n=e.options.pageCount)?n:-1);return"number"==typeof o&&(o=Math.max(-1,o)),{...l,pageCount:o}}),e.getPageOptions=d(()=>[e.getPageCount()],e=>{let t=[];return e&&e>0&&(t=[...Array(e)].fill(null).map((e,t)=>t)),t},p(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{let{pageIndex:t}=e.getState().pagination,l=e.getPageCount();return -1===l||0!==l&&te.setPageIndex(e=>e-1),e.nextPage=()=>e.setPageIndex(e=>e+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel)?e.getPrePaginationRowModel():e._getPaginationRowModel(),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},Z=()=>({top:[],bottom:[]}),ee={getInitialState:e=>({rowPinning:Z(),...e}),getDefaultOptions:e=>({onRowPinningChange:u("rowPinning",e)}),createRow:(e,t)=>{e.pin=(l,n,o)=>{let i=n?e.getLeafRows().map(e=>{let{id:t}=e;return t}):[],r=new Set([...o?e.getParentRows().map(e=>{let{id:t}=e;return t}):[],e.id,...i]);t.setRowPinning(e=>{var t,n,o,i,u,a;return"bottom"===l?{top:(null!=(o=null==e?void 0:e.top)?o:[]).filter(e=>!(null!=r&&r.has(e))),bottom:[...(null!=(i=null==e?void 0:e.bottom)?i:[]).filter(e=>!(null!=r&&r.has(e))),...Array.from(r)]}:"top"===l?{top:[...(null!=(u=null==e?void 0:e.top)?u:[]).filter(e=>!(null!=r&&r.has(e))),...Array.from(r)],bottom:(null!=(a=null==e?void 0:e.bottom)?a:[]).filter(e=>!(null!=r&&r.has(e)))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter(e=>!(null!=r&&r.has(e))),bottom:(null!=(n=null==e?void 0:e.bottom)?n:[]).filter(e=>!(null!=r&&r.has(e)))}})},e.getCanPin=()=>{var l;let{enableRowPinning:n,enablePinning:o}=t.options;return"function"==typeof n?n(e):null==(l=null!=n?n:o)||l},e.getIsPinned=()=>{let l=[e.id],{top:n,bottom:o}=t.getState().rowPinning,i=l.some(e=>null==n?void 0:n.includes(e)),r=l.some(e=>null==o?void 0:o.includes(e));return i?"top":!!r&&"bottom"},e.getPinnedIndex=()=>{var l,n;let o=e.getIsPinned();if(!o)return -1;let i=null==(l="top"===o?t.getTopRows():t.getBottomRows())?void 0:l.map(e=>{let{id:t}=e;return t});return null!=(n=null==i?void 0:i.indexOf(e.id))?n:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var l,n;return e.setRowPinning(t?Z():null!=(l=null==(n=e.initialState)?void 0:n.rowPinning)?l:Z())},e.getIsSomeRowsPinned=t=>{var l,n,o;let i=e.getState().rowPinning;return t?!!(null==(l=i[t])?void 0:l.length):!!((null==(n=i.top)?void 0:n.length)||(null==(o=i.bottom)?void 0:o.length))},e._getPinnedRows=(t,l,n)=>{var o;return(null==(o=e.options.keepPinnedRows)||o?(null!=l?l:[]).map(t=>{let l=e.getRow(t,!0);return l.getIsAllParentsExpanded()?l:null}):(null!=l?l:[]).map(e=>t.find(t=>t.id===e))).filter(Boolean).map(e=>({...e,position:n}))},e.getTopRows=d(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(t,l)=>e._getPinnedRows(t,l,"top"),p(e.options,"debugRows","getTopRows")),e.getBottomRows=d(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(t,l)=>e._getPinnedRows(t,l,"bottom"),p(e.options,"debugRows","getBottomRows")),e.getCenterRows=d(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(e,t,l)=>{let n=new Set([...null!=t?t:[],...null!=l?l:[]]);return e.filter(e=>!n.has(e.id))},p(e.options,"debugRows","getCenterRows"))}},et={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:u("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var l;return e.setRowSelection(t?{}:null!=(l=e.initialState.rowSelection)?l:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(l=>{t=void 0!==t?t:!e.getIsAllRowsSelected();let n={...l},o=e.getPreGroupedRowModel().flatRows;return t?o.forEach(e=>{e.getCanSelect()&&(n[e.id]=!0)}):o.forEach(e=>{delete n[e.id]}),n})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(l=>{let n=void 0!==t?t:!e.getIsAllPageRowsSelected(),o={...l};return e.getRowModel().rows.forEach(t=>{el(o,t.id,n,!0,e)}),o}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=d(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,l)=>Object.keys(t).length?en(e,l):{rows:[],flatRows:[],rowsById:{}},p(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=d(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,l)=>Object.keys(t).length?en(e,l):{rows:[],flatRows:[],rowsById:{}},p(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=d(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,l)=>Object.keys(t).length?en(e,l):{rows:[],flatRows:[],rowsById:{}},p(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{let t=e.getFilteredRowModel().flatRows,{rowSelection:l}=e.getState(),n=!!(t.length&&Object.keys(l).length);return n&&t.some(e=>e.getCanSelect()&&!l[e.id])&&(n=!1),n},e.getIsAllPageRowsSelected=()=>{let t=e.getPaginationRowModel().flatRows.filter(e=>e.getCanSelect()),{rowSelection:l}=e.getState(),n=!!t.length;return n&&t.some(e=>!l[e.id])&&(n=!1),n},e.getIsSomeRowsSelected=()=>{var t;let l=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return l>0&&l{let t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter(e=>e.getCanSelect()).some(e=>e.getIsSelected()||e.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(l,n)=>{let o=e.getIsSelected();t.setRowSelection(i=>{var r;if(l=void 0!==l?l:!o,e.getCanSelect()&&o===l)return i;let u={...i};return el(u,e.id,l,null==(r=null==n?void 0:n.selectChildren)||r,t),u})},e.getIsSelected=()=>{let{rowSelection:l}=t.getState();return eo(e,l)},e.getIsSomeSelected=()=>{let{rowSelection:l}=t.getState();return"some"===ei(e,l)},e.getIsAllSubRowsSelected=()=>{let{rowSelection:l}=t.getState();return"all"===ei(e,l)},e.getCanSelect=()=>{var l;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(l=t.options.enableRowSelection)||l},e.getCanSelectSubRows=()=>{var l;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(l=t.options.enableSubRowSelection)||l},e.getCanMultiSelect=()=>{var l;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(l=t.options.enableMultiRowSelection)||l},e.getToggleSelectedHandler=()=>{let t=e.getCanSelect();return l=>{var n;t&&e.toggleSelected(null==(n=l.target)?void 0:n.checked)}}}},el=(e,t,l,n,o)=>{var i;let r=o.getRow(t,!0);l?(r.getCanMultiSelect()||Object.keys(e).forEach(t=>delete e[t]),r.getCanSelect()&&(e[t]=!0)):delete e[t],n&&null!=(i=r.subRows)&&i.length&&r.getCanSelectSubRows()&&r.subRows.forEach(t=>el(e,t.id,l,n,o))};function en(e,t){let l=e.getState().rowSelection,n=[],o={},i=function(e,t){return e.map(e=>{var t;let r=eo(e,l);if(r&&(n.push(e),o[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:i(e.subRows)}),r)return e}).filter(Boolean)};return{rows:i(t.rows),flatRows:n,rowsById:o}}function eo(e,t){var l;return null!=(l=t[e.id])&&l}function ei(e,t,l){var n;if(!(null!=(n=e.subRows)&&n.length))return!1;let o=!0,i=!1;return e.subRows.forEach(e=>{if((!i||o)&&(e.getCanSelect()&&(eo(e,t)?i=!0:o=!1),e.subRows&&e.subRows.length)){let l=ei(e,t);"all"===l?i=!0:("some"===l&&(i=!0),o=!1)}}),o?"all":!!i&&"some"}let er=/([0-9]+)/gm;function eu(e,t){return e===t?0:e>t?1:-1}function ea(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function eg(e,t){let l=e.split(er).filter(Boolean),n=t.split(er).filter(Boolean);for(;l.length&&n.length;){let e=l.shift(),t=n.shift(),o=parseInt(e,10),i=parseInt(t,10),r=[o,i].sort();if(isNaN(r[0])){if(e>t)return 1;if(t>e)return -1;continue}if(isNaN(r[1]))return isNaN(o)?-1:1;if(o>i)return 1;if(i>o)return -1}return l.length-n.length}let es={alphanumeric:(e,t,l)=>eg(ea(e.getValue(l)).toLowerCase(),ea(t.getValue(l)).toLowerCase()),alphanumericCaseSensitive:(e,t,l)=>eg(ea(e.getValue(l)),ea(t.getValue(l))),text:(e,t,l)=>eu(ea(e.getValue(l)).toLowerCase(),ea(t.getValue(l)).toLowerCase()),textCaseSensitive:(e,t,l)=>eu(ea(e.getValue(l)),ea(t.getValue(l))),datetime:(e,t,l)=>{let n=e.getValue(l),o=t.getValue(l);return n>o?1:neu(e.getValue(l),t.getValue(l))},ed={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:u("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{let l=t.getFilteredRowModel().flatRows.slice(10),n=!1;for(let t of l){let l=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(l))return es.datetime;if("string"==typeof l&&(n=!0,l.split(er).length>1))return es.alphanumeric}return n?es.text:es.basic},e.getAutoSortDir=()=>{let l=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==l?void 0:l.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var l,n;if(!e)throw Error();return a(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(l=null==(n=t.options.sortingFns)?void 0:n[e.columnDef.sortingFn])?l:es[e.columnDef.sortingFn]},e.toggleSorting=(l,n)=>{let o=e.getNextSortingOrder(),i=null!=l;t.setSorting(r=>{let u,a=null==r?void 0:r.find(t=>t.id===e.id),g=null==r?void 0:r.findIndex(t=>t.id===e.id),s=[],d=i?l:"desc"===o;if("toggle"!=(u=null!=r&&r.length&&e.getCanMultiSort()&&n?a?"toggle":"add":null!=r&&r.length&&g!==r.length-1?"replace":a?"toggle":"replace")||i||o||(u="remove"),"add"===u){var p;(s=[...r,{id:e.id,desc:d}]).splice(0,s.length-(null!=(p=t.options.maxMultiSortColCount)?p:Number.MAX_SAFE_INTEGER))}else s="toggle"===u?r.map(t=>t.id===e.id?{...t,desc:d}:t):"remove"===u?r.filter(t=>t.id!==e.id):[{id:e.id,desc:d}];return s})},e.getFirstSortDir=()=>{var l,n;return(null!=(l=null!=(n=e.columnDef.sortDescFirst)?n:t.options.sortDescFirst)?l:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=l=>{var n,o;let i=e.getFirstSortDir(),r=e.getIsSorted();return r?(r===i||null!=(n=t.options.enableSortingRemoval)&&!n||!!l&&null!=(o=t.options.enableMultiRemove)&&!o)&&("desc"===r?"asc":"desc"):i},e.getCanSort=()=>{var l,n;return(null==(l=e.columnDef.enableSorting)||l)&&(null==(n=t.options.enableSorting)||n)&&!!e.accessorFn},e.getCanMultiSort=()=>{var l,n;return null!=(l=null!=(n=e.columnDef.enableMultiSort)?n:t.options.enableMultiSort)?l:!!e.accessorFn},e.getIsSorted=()=>{var l;let n=null==(l=t.getState().sorting)?void 0:l.find(t=>t.id===e.id);return!!n&&(n.desc?"desc":"asc")},e.getSortIndex=()=>{var l,n;return null!=(l=null==(n=t.getState().sorting)?void 0:n.findIndex(t=>t.id===e.id))?l:-1},e.clearSorting=()=>{t.setSorting(t=>null!=t&&t.length?t.filter(t=>t.id!==e.id):[])},e.getToggleSortingHandler=()=>{let l=e.getCanSort();return n=>{l&&(null==n.persist||n.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(n))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var l,n;e.setSorting(t?[]:null!=(l=null==(n=e.initialState)?void 0:n.sorting)?l:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel)?e.getPreSortedRowModel():e._getSortedRowModel()}},ep=[C,$,z,T,v,G,K,J,ed,H,Q,Y,ee,et,k];function ec(e){var t,l;let n=[...ep,...null!=(t=e._features)?t:[]],o={_features:n},r=o._features.reduce((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(o)),{}),u=e=>o.options.mergeOptions?o.options.mergeOptions(r,e):{...r,...e},a={...null!=(l=e.initialState)?l:{}};o._features.forEach(e=>{var t;a=null!=(t=null==e.getInitialState?void 0:e.getInitialState(a))?t:a});let g=[],s=!1,c={_features:n,options:{...r,...e},initialState:a,_queue:e=>{g.push(e),s||(s=!0,Promise.resolve().then(()=>{for(;g.length;)g.shift()();s=!1}).catch(e=>setTimeout(()=>{throw e})))},reset:()=>{o.setState(o.initialState)},setOptions:e=>{let t=i(e,o.options);o.options=u(t)},getState:()=>o.options.state,setState:e=>{null==o.options.onStateChange||o.options.onStateChange(e)},_getRowId:(e,t,l)=>{var n;return null!=(n=null==o.options.getRowId?void 0:o.options.getRowId(e,t,l))?n:`${l?[l.id,t].join("."):t}`},getCoreRowModel:()=>(o._getCoreRowModel||(o._getCoreRowModel=o.options.getCoreRowModel(o)),o._getCoreRowModel()),getRowModel:()=>o.getPaginationRowModel(),getRow:(e,t)=>{let l=(t?o.getPrePaginationRowModel():o.getRowModel()).rowsById[e];if(!l&&!(l=o.getCoreRowModel().rowsById[e]))throw Error();return l},_getDefaultColumnDef:d(()=>[o.options.defaultColumn],e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{let t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,l;return null!=(t=null==(l=e.renderValue())||null==l.toString?void 0:l.toString())?t:null},...o._features.reduce((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef()),{}),...e}},p(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>o.options.columns,getAllColumns:d(()=>[o._getColumnDefs()],e=>{let t=function(e,l,n){return void 0===n&&(n=0),e.map(e=>{let i=f(o,e,n,l);return i.columns=e.columns?t(e.columns,i,n+1):[],i})};return t(e)},p(e,"debugColumns","getAllColumns")),getAllFlatColumns:d(()=>[o.getAllColumns()],e=>e.flatMap(e=>e.getFlatColumns()),p(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:d(()=>[o.getAllFlatColumns()],e=>e.reduce((e,t)=>(e[t.id]=t,e),{}),p(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:d(()=>[o.getAllColumns(),o._getOrderColumnsFn()],(e,t)=>t(e.flatMap(e=>e.getLeafColumns())),p(e,"debugColumns","getAllLeafColumns")),getColumn:e=>o._getAllFlatColumnsById()[e]};Object.assign(o,c);for(let e=0;ed(()=>[e.options.data],t=>{let l={rows:[],flatRows:[],rowsById:{}},n=function(t,o,i){void 0===o&&(o=0);let r=[];for(let a=0;ae._autoResetPageIndex()))}function em(){return e=>d(()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows],(e,t,l)=>t.rows.length&&(!0===e||Object.keys(null!=e?e:{}).length)&&l?ew(t):t,p(e.options,"debugTable","getExpandedRowModel"))}function ew(e){let t=[],l=e=>{var n;t.push(e),null!=(n=e.subRows)&&n.length&&e.getIsExpanded()&&e.subRows.forEach(l)};return e.rows.forEach(l),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function eC(){return(e,t)=>d(()=>{var l;return[null==(l=e.getColumn(t))?void 0:l.getFacetedRowModel()]},e=>{if(!e)return;let l=e.flatRows.flatMap(e=>{var l;return null!=(l=e.getUniqueValues(t))?l:[]}).map(Number).filter(e=>!Number.isNaN(e));if(!l.length)return;let n=l[0],o=l[l.length-1];for(let e of l)eo&&(o=e);return[n,o]},p(e.options,"debugTable","getFacetedMinMaxValues"))}function eh(e,t,l){return l.options.filterFromLeafRows?function(e,t,l){var n;let o=[],i={},r=null!=(n=l.options.maxLeafRowFilterDepth)?n:100,u=function(e,n){void 0===n&&(n=0);let a=[];for(let s=0;sd(()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter,e.getFilteredRowModel()],(l,n,o)=>{if(!l.rows.length||!(null!=n&&n.length)&&!o)return l;let i=[...n.map(e=>e.id).filter(e=>e!==t),o?"__global__":void 0].filter(Boolean);return eh(l.rows,e=>{for(let t=0;td(()=>{var l;return[null==(l=e.getColumn(t))?void 0:l.getFacetedRowModel()]},e=>{if(!e)return new Map;let l=new Map;for(let o=0;od(()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter],(t,l,n)=>{let o,i;if(!t.rows.length||!(null!=l&&l.length)&&!n){for(let e=0;e{var l;let n=e.getColumn(t.id);if(!n)return;let o=n.getFilterFn();o&&r.push({id:t.id,filterFn:o,resolvedValue:null!=(l=null==o.resolveFilterValue?void 0:o.resolveFilterValue(t.value))?l:t.value})});let a=(null!=l?l:[]).map(e=>e.id),g=e.getGlobalFilterFn(),s=e.getAllLeafColumns().filter(e=>e.getCanGlobalFilter());n&&g&&s.length&&(a.push("__global__"),s.forEach(e=>{var t;u.push({id:e.id,filterFn:g,resolvedValue:null!=(t=null==g.resolveFilterValue?void 0:g.resolveFilterValue(n))?t:n})}));for(let e=0;e{l.columnFiltersMeta[t]=e})}if(u.length){for(let e=0;e{l.columnFiltersMeta[t]=e})){l.columnFilters.__global__=!0;break}}!0!==l.columnFilters.__global__&&(l.columnFilters.__global__=!1)}}return eh(t.rows,e=>{for(let t=0;te._autoResetPageIndex()))}function eb(){return e=>d(()=>[e.getState().grouping,e.getPreGroupedRowModel()],(t,l)=>{if(!l.rows.length||!t.length)return l.rows.forEach(e=>{e.depth=0,e.parentId=void 0}),l;let n=t.filter(t=>e.getColumn(t)),o=[],i={},r=function(t,l,u){if(void 0===l&&(l=0),l>=n.length)return t.map(e=>(e.depth=l,o.push(e),i[e.id]=e,e.subRows&&(e.subRows=r(e.subRows,l+1,e.id)),e));let a=n[l];return Array.from((function(e,t){let l=new Map;return e.reduce((e,l)=>{let n=`${l.getGroupingValue(t)}`,o=e.get(n);return o?o.push(l):e.set(n,[l]),e},l)})(t,a).entries()).map((t,g)=>{let[d,p]=t,c=`${a}:${d}`;c=u?`${u}>${c}`:c;let f=r(p,l+1,c);f.forEach(e=>{e.parentId=c});let m=l?s(p,e=>e.subRows):p,w=R(e,c,m[0].original,g,l,void 0,u);return Object.assign(w,{groupingColumnId:a,groupingValue:d,subRows:f,leafRows:m,getValue:t=>{if(n.includes(t)){if(w._valuesCache.hasOwnProperty(t))return w._valuesCache[t];if(p[0]){var l;w._valuesCache[t]=null!=(l=p[0].getValue(t))?l:void 0}return w._valuesCache[t]}if(w._groupingValuesCache.hasOwnProperty(t))return w._groupingValuesCache[t];let o=e.getColumn(t),i=null==o?void 0:o.getAggregationFn();if(i)return w._groupingValuesCache[t]=i(t,m,p),w._groupingValuesCache[t]}}),f.forEach(e=>{o.push(e),i[e.id]=e}),w})},u=r(l.rows,0);return u.forEach(e=>{o.push(e),i[e.id]=e}),{rows:u,flatRows:o,rowsById:i}},p(e.options,"debugTable","getGroupedRowModel",()=>{e._queue(()=>{e._autoResetExpanded(),e._autoResetPageIndex()})}))}function eF(e){return e=>d(()=>[e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows?void 0:e.getState().expanded],(t,l)=>{let n;if(!l.rows.length)return l;let{pageSize:o,pageIndex:i}=t,{rows:r,flatRows:u,rowsById:a}=l,g=o*i;r=r.slice(g,g+o),(n=e.options.paginateExpandedRows?{rows:r,flatRows:u,rowsById:a}:ew({rows:r,flatRows:u,rowsById:a})).flatRows=[];let s=e=>{n.flatRows.push(e),e.subRows.length&&e.subRows.forEach(s)};return n.rows.forEach(s),n},p(e.options,"debugTable","getPaginationRowModel"))}function eM(){return e=>d(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,l)=>{if(!l.rows.length||!(null!=t&&t.length))return l;let n=e.getState().sorting,o=[],i=n.filter(t=>{var l;return null==(l=e.getColumn(t.id))?void 0:l.getCanSort()}),r={};i.forEach(t=>{let l=e.getColumn(t.id);l&&(r[t.id]={sortUndefined:l.columnDef.sortUndefined,invertSorting:l.columnDef.invertSorting,sortingFn:l.getSortingFn()})});let u=e=>{let t=e.map(e=>({...e}));return t.sort((e,t)=>{for(let n=0;n{var t;o.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=u(e.subRows))}),t};return{rows:u(l.rows),flatRows:o,rowsById:l.rowsById}},p(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}function eV(e,t){var l,o,i;return e?"function"==typeof(o=l=e)&&(()=>{let e=Object.getPrototypeOf(o);return e.prototype&&e.prototype.isReactComponent})()||"function"==typeof l||"object"==typeof(i=l)&&"symbol"==typeof i.$$typeof&&["react.memo","react.forward_ref"].includes(i.$$typeof.description)?n.createElement(e,t):e:null}function eP(e){let t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[l]=n.useState(()=>({current:ec(t)})),[o,i]=n.useState(()=>l.current.initialState);return l.current.setOptions(t=>({...t,...e,state:{...o,...e.state},onStateChange:t=>{i(t),null==e.onStateChange||e.onStateChange(t)}})),l.current}}}]); \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/281.5cceb334.js.LICENSE.txt b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/281.5cceb334.js.LICENSE.txt deleted file mode 100644 index 2242d5780e..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/281.5cceb334.js.LICENSE.txt +++ /dev/null @@ -1,35 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ - -/** - * react-table - * - * Copyright (c) TanStack - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */ - -/** - * table-core - * - * Copyright (c) TanStack - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */ \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3066.9cd9ccd8.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3066.9cd9ccd8.js deleted file mode 100644 index a26eb0cbda..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3066.9cd9ccd8.js +++ /dev/null @@ -1,713 +0,0 @@ -/*! For license information please see 3066.9cd9ccd8.js.LICENSE.txt */ -"use strict";(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["3066"],{20745:function(e,t,n){var i=n(3859);t.createRoot=i.createRoot,i.hydrateRoot},55620:function(e,t,n){n.d(t,{p:()=>s});var i=n(80380),r=n(69984),a=n(85308);let s=new class{async loadPlugins(){var e;let t=[],n=window.pluginRemotes;if(void 0===n)return;let i={remotes:[]};for(let[e,t]of Object.entries(n))void 0!==t&&i.remotes.push({name:e,entry:t,alias:e});for(let n of(null==(e=(0,a.getInstance)())||e.registerRemotes(i.remotes),i.remotes))t.push((0,a.loadRemote)(n.alias));for(let e of(await Promise.allSettled(t))){if("fulfilled"!==e.status){console.error("Error loading remote plugin",e);continue}for(let t of Object.values(e.value)){if(void 0===t.name){console.error("Plugin name is undefined",t);continue}if(void 0!==this.registry[t.name]){console.error("Plugin already registered",t.name);continue}this.registerPlugin(t)}}}registerPlugin(e){this.registry[e.name]=e}initPlugins(){Object.values(this.registry).forEach(e=>{void 0!==e.onInit&&e.onInit({container:i.nC})})}startupPlugins(){Object.values(this.registry).forEach(e=>{void 0!==e.onStartup&&e.onStartup({moduleSystem:r._})})}constructor(){this.registry={}}}},3349:function(e,t,n){n(14691);var i,r,a,s,o,l,d,c,m,u,p,h,g,x,j,v,y,f,w=n(61251),b=n(69984),C=n(80380),k=n(10194),T=n(80090),D=n(48556),S=n(69760),M=n(25749),L=n(41926),I=n(50464),E=n(23782),_=n(88555),z=n(28395),O=n(60476);class P{registerComponent(e,t){this.components.set(e,t)}getComponentByType(e){return this.components.get(e)}constructor(){this.components=new Map}}P=(0,z.gn)([(0,O.injectable)()],P);var V=n(66979),A=n(7594),B=n(98139),R=n(16098),N=n(53518),F=n(55905),H=n(79771),W=n(85893),G=n(81004),$=n.n(G),U=n(58920),q=n(26788),J=n(11592);let Z=()=>{let{config:e}=(0,J.$)();if(!("fieldDefinition"in e))throw Error("Field definition is missing in config");let{fieldDefinition:t}=e,n=(null==t?void 0:t.fieldType)??(null==t?void 0:t.fieldtype)??"unknown",i=(0,C.$1)(H.j["DynamicTypes/FieldFilterRegistry"]);return i.hasDynamicType(n)?i.getDynamicType(n).getFieldFilterComponent(t):(0,W.jsx)(q.Alert,{message:`Unknown data type: ${n}`,type:"warning"})};class K extends U.s{shouldOverrideFilterType(){return!0}getFieldFilterComponent(e){return(0,W.jsx)(Z,{...e})}constructor(...e){super(...e),this.id="dataobject.adapter"}}K=(0,z.gn)([(0,O.injectable)()],K);let Q=()=>{let{config:e}=(0,J.$)();if(!("fieldDefinition"in e))throw Error("Field definition is missing in config");let{fieldDefinition:t}=e,n=(null==t?void 0:t.fieldType)??(null==t?void 0:t.fieldtype)??"unknown",i=(0,C.$1)(H.j["DynamicTypes/FieldFilterRegistry"]);return i.hasDynamicType(n)?i.getDynamicType(n).getFieldFilterComponent(t):(0,W.jsx)(q.Alert,{message:`Unknown data type: ${n}`,type:"warning"})};class X extends U.s{shouldOverrideFilterType(){return!0}getFieldFilterComponent(e){return(0,W.jsx)(Q,{...e})}constructor(...e){super(...e),this.id="dataobject.objectbrick"}}X=(0,z.gn)([(0,O.injectable)()],X);var Y=n(20695),ee=n(71971),et=n(45485),en=n(62637),ei=n(38415),er=n(27019);class ea extends ei.V{getGridCellComponent(e){return(0,W.jsx)(er.M,{...e})}getDefaultGridColumnWidth(){return 350}constructor(...e){super(...e),this.id="input"}}ea=(0,z.gn)([(0,O.injectable)()],ea);var es=n(16151),eo=n(25279);class el extends ei.V{getGridCellComponent(e){return(0,W.jsx)(eo.N,{...e})}getDefaultGridColumnWidth(){return 400}constructor(...e){super(...e),this.id="textarea"}}el=(0,z.gn)([(0,O.injectable)()],el);var ed=n(59881);class ec extends ei.V{getGridCellComponent(e){return(0,W.jsx)(ed.z,{...e})}constructor(...e){super(...e),this.id="number"}}ec=(0,z.gn)([(0,O.injectable)()],ec);var em=n(9292);class eu extends ei.V{getGridCellComponent(e){return(0,W.jsx)(em._,{...e})}constructor(...e){super(...e),this.id="select"}}eu=(0,z.gn)([(0,O.injectable)()],eu);var ep=n(75721);class eh extends ei.V{getGridCellComponent(e){return(0,W.jsx)(ep.V,{...e})}constructor(...e){super(...e),this.id="multi-select"}}eh=(0,z.gn)([(0,O.injectable)()],eh);var eg=n(20491),ex=n(42534);class ej extends ei.V{getGridCellComponent(e){return(0,W.jsx)(ex.T,{...e})}constructor(...e){super(...e),this.id="date"}}ej=(0,z.gn)([(0,O.injectable)()],ej);var ev=n(97283);class ey extends ei.V{getGridCellComponent(e){return(0,W.jsx)(ev.s,{...e})}constructor(...e){super(...e),this.id="time"}}ey=(0,z.gn)([(0,O.injectable)()],ey);class ef extends ei.V{getGridCellComponent(e){return(0,W.jsx)(ex.T,{...e})}constructor(...e){super(...e),this.id="datetime"}}ef=(0,z.gn)([(0,O.injectable)()],ef);var ew=n(49560),eb=n(85823);class eC extends ei.V{getGridCellComponent(e){return(0,W.jsx)(ew.V,{...(0,eb.G)(e,{allowedTypes:["asset"]})})}getDefaultGridColumnWidth(){return 350}constructor(...e){super(...e),this.id="asset-link"}}eC=(0,z.gn)([(0,O.injectable)()],eC);class ek extends ei.V{getGridCellComponent(e){return(0,W.jsx)(ew.V,{...(0,eb.G)(e,{allowedTypes:["data-object"]})})}getDefaultGridColumnWidth(){return 350}constructor(...e){super(...e),this.id="object-link"}}ek=(0,z.gn)([(0,O.injectable)()],ek);class eT extends ei.V{getGridCellComponent(e){return(0,W.jsx)(ew.V,{...(0,eb.G)(e,{allowedTypes:["document"]})})}getDefaultGridColumnWidth(){return 350}constructor(...e){super(...e),this.id="document-link"}}eT=(0,z.gn)([(0,O.injectable)()],eT);var eD=n(12217);class eS extends ei.V{getGridCellComponent(e){return(0,W.jsx)(eD.G,{...e})}constructor(...e){super(...e),this.id="open-element"}}eS=(0,z.gn)([(0,O.injectable)()],eS);var eM=n(27281);class eL extends ei.V{getGridCellComponent(e){return(0,W.jsx)(eM._,{...e})}constructor(...e){super(...e),this.id="asset-preview"}}eL=(0,z.gn)([(0,O.injectable)()],eL);var eI=n(4630);class eE extends ei.V{getGridCellComponent(e){return(0,W.jsx)(eI._,{...e})}getDefaultGridColumnWidth(){return 100}constructor(...e){super(...e),this.id="asset-actions"}}eE=(0,z.gn)([(0,O.injectable)()],eE);var e_=n(72599);class ez extends ei.V{getGridCellComponent(e){return(0,W.jsx)(e_.x,{...e})}constructor(...e){super(...e),this.id="dependency-type-icon"}}ez=(0,z.gn)([(0,O.injectable)()],ez);var eO=n(89277);class eP extends ei.V{getGridCellComponent(e){return(0,W.jsx)(eO.x,{...e})}constructor(...e){super(...e),this.id="asset-custom-metadata-icon"}}eP=(0,z.gn)([(0,O.injectable)()],eP);var eV=n(66582);class eA extends ei.V{getGridCellComponent(e){return(0,W.jsx)(eV.I,{...e})}constructor(...e){super(...e),this.id="asset-custom-metadata-value"}}eA=(0,z.gn)([(0,O.injectable)()],eA);var eB=n(87318);class eR extends ei.V{getGridCellComponent(e){return(0,W.jsx)(eB.x,{...e})}constructor(...e){super(...e),this.id="property-icon"}}eR=(0,z.gn)([(0,O.injectable)()],eR);var eN=n(30084);class eF extends ei.V{getGridCellComponent(e){return(0,W.jsx)(eN.I,{...e})}constructor(...e){super(...e),this.id="property-value"}}eF=(0,z.gn)([(0,O.injectable)()],eF);var eH=n(71695);let eW=e=>{let{t}=(0,eH.useTranslation)(),n=[{value:"delete",label:t("schedule.version.delete")},{value:"publish",label:t("schedule.version.publish")}];return(0,W.jsx)(em._,{...(0,eb.G)(e,{options:n})})};class eG extends ei.V{getGridCellComponent(e){return(0,W.jsx)(eW,{...e})}constructor(...e){super(...e),this.id="schedule-actions-select"}}eG=(0,z.gn)([(0,O.injectable)()],eG);var e$=n(2433),eU=n(45628),eq=n.n(eU),eJ=n(29202);let eZ=(0,eJ.createStyles)(e=>{let{css:t,token:n}=e;return{select:t` - .ant-select-selection-item { - .version-id__select__label { - .version-id__selection-item-hidden { - display: none; - } - } - } - `}});var eK=n(35015),eQ=n(55721),eX=n(74347);let eY=e=>{let{id:t,elementType:n}=(0,eK.i)(),{data:i,isLoading:r,isError:a,error:s}=(0,e$.KD)({elementType:n,id:t,page:1,pageSize:9999});a&&(0,eQ.ZP)(new eX.Z(s));let o=[];r||void 0===i||(o=i.items);let l=o.map(e=>{var t;return{value:e.id,displayValue:e.versionCount,label:(0,W.jsxs)("div",{className:"version-id__select__label",children:[(0,W.jsxs)("div",{children:[(0,W.jsx)("b",{children:e.versionCount}),(0,W.jsxs)("span",{className:"version-id__selection-item-hidden",children:[" | ",e.user.name??"not found"]})]}),(0,W.jsx)("div",{className:"version-id__selection-item-hidden",children:(t=e.date,eq().format(new Date(1e3*t),"datetime",eq().language,{dateStyle:"short",timeStyle:"short"}))})]})}}),{styles:d}=eZ();return(0,W.jsx)("div",{className:d.select,children:(0,W.jsx)(em._,{...(0,eb.G)(e,{options:l})})})};class e0 extends ei.V{getGridCellComponent(e){return(0,W.jsx)(eY,{...e})}constructor(...e){super(...e),this.id="version-id-select"}}e0=(0,z.gn)([(0,O.injectable)()],e0);var e1=n(16022);class e3 extends ei.V{getGridCellComponent(e){return(0,W.jsx)(e1.u,{...e})}constructor(...e){super(...e),this.id="asset-version-preview-field-label"}}e3=(0,z.gn)([(0,O.injectable)()],e3);var e2=n(6666),e6=n(96863),e4=n(24016),e8=n(27309),e7=n(39320),e5=n(32188),e9=n(4924),te=n(29358),tt=n(50381),tn=n(56183),ti=n(11730);class tr extends ti.Z{}tr=(0,z.gn)([(0,O.injectable)()],tr);class ta{}ta=(0,z.gn)([(0,O.injectable)()],ta);var ts=n(14965),to=n(33846),tl=n(99209),td=n(84901);let tc=e=>{let{children:t,name:n,border:i,collapsed:r,collapsible:a,title:s,theme:o="card-with-highlight",noteditable:l}=e,d="pimcore_root"===n,c=void 0!==t.find(e=>"tabpanel"===e.fieldType||"tabpanel"===e.fieldtype);if(d&&!c)return(0,W.jsx)(td.x,{padding:"small",children:m()});return(0,W.jsx)(W.Fragment,{children:m()});function m(){return(0,W.jsx)(to.P,{border:i,collapsed:r,collapsible:a,theme:o,title:s,children:(0,W.jsx)(tl.T,{className:"w-full",direction:"vertical",size:"small",children:t.map((e,t)=>(0,G.createElement)(ts.T,{...function(e){let t="tabpanel"===e.fieldType||"tabpanel"===e.fieldtype,n={...e};return t&&d&&(n.hasStickyHeader=!0),n}(e),key:t,noteditable:l}))})})}};var tm=n(14010),tu=n(33957);let tp=e=>{let{children:t,border:n,collapsed:i,collapsible:r,title:a,hasStickyHeader:s=!1,noteditable:o,...l}=e,d=t.map((e,t)=>{let n={...e,title:void 0};return{key:t.toString(),label:e.title,forceRender:!0,children:(0,W.jsx)(td.x,{padding:"small",children:(0,W.jsx)(ts.T,{...n,noteditable:o})})}});return(0,W.jsx)(to.P,{border:n,collapsed:i,collapsible:r,contentPadding:!0===n?"none":void 0,title:a,children:(0,W.jsx)(tu.m,{hasStickyHeader:s,items:d,size:"small",tabPosition:l.tabPosition})})};var th=n(78801);let tg=e=>{let{children:t,title:n,border:i,collapsed:r,collapsible:a,noteditable:s}=e,o=t.map((e,t)=>({key:t,label:e.title,forceRender:!0,children:(0,W.jsx)(ts.T,{...e,title:"",noteditable:s})}));return(0,W.jsx)(to.P,{border:i,collapsed:r,collapsible:a,title:n,children:(0,W.jsx)(th.UO,{accordion:!0,bordered:!0,items:o,size:"small"})})};var tx=n(79038);let tj=e=>{let{children:t,noteditable:n,...i}=e,r=[],a=[],s={};t.forEach(e=>{let{region:t}=e;(""===t||null===t)&&(t="center");let i=(s[t]??0)+1;r.push({region:`${t}${i}`,component:(0,G.createElement)(ts.T,{...e,key:e.name,noteditable:n})}),s[t]=i});let o=e=>{for(let t=0;t0;if(d||(l=1),s.north>0&&o("north"),s.south>0&&o("south"),d){let e="",t=t=>{for(let n=0;n0&&t("west"),s.center>0&&t("center"),s.east>0&&t("east"),a.push(e.trim())}return(0,W.jsx)(to.P,{collapsed:i.collapsed,collapsible:i.collapsible,title:i.title,children:(0,W.jsx)(tx.y,{items:r,layoutDefinition:a})})};var tv=n(65866);let ty=e=>(0,W.jsx)(to.P,{border:e.border,collapsed:e.collapsed,collapsible:e.collapsible,title:e.title,children:(0,W.jsx)(tv.Z,{html:e.html})});var tf=n(68686);let tw=e=>{let{children:t,collapsible:n,collapsed:i,noteditable:r}=e;return(0,W.jsx)(tf.k,{className:"w-full",gap:{x:"extra-small",y:0},children:t.map((e,t)=>(0,W.jsx)(tf.k,{flex:1,children:(0,W.jsx)(ts.T,{...e,noteditable:r})},t))})};var tb=n(21166),tC=n(59800),tk=n(50962),tT=n(12119),tD=n(53478),tS=n(30295),tM=n(146),tL=n(55859),tI=n(38485);class tE extends tk.C{getObjectDataComponent(e){let t=(0,tD.merge)({},w.e.wysiwyg.defaultEditorConfig.dataObject,(e=>{if((0,tD.isNil)(e)||(0,tD.isEmpty)(e))return{};try{let t=JSON.parse(e);return(0,tD.isObject)(t)?t:{}}catch(e){return console.error("Error while parsing toolbar config",e),{}}})(e.toolbarConfig)),n=(0,tD.toNumber)(e.maxCharacters)??0;return(0,W.jsx)(tT.Z,{...e,disabled:!0===e.noteditable,editorConfig:t,height:e.height??void 0,maxCharacters:0===n?void 0:n,width:(0,tS.s)(e.width,e.defaultFieldWidth.large)})}getGridCellPreviewComponent(e){let t=e.cellProps.getValue();return(0,tD.isNil)(t)?(0,W.jsx)(W.Fragment,{}):(0,W.jsx)(tI.c,{children:(0,W.jsx)(tv.Z,{html:t})})}getObjectDataFormItemProps(e){return{...super.getObjectDataFormItemProps(e),label:(0,W.jsx)(tM.Q,{additionalIcons:(0,W.jsx)(tL.J,{value:"drop-target"}),label:e.title,name:e.name})}}getDefaultGridColumnWidth(){return 400}constructor(...e){super(...e),this.id="wysiwyg",this.inheritedMaskOverlay="form-element",this.gridCellEditMode="edit-modal",this.gridCellEditModalSettings={modalSize:"XL",formLayout:"vertical"}}}var t_=n(4626),tz=n(79682),tO=n(46324),tP=n(86834),tV=n(76190),tA=n(55113),tB=n(25420),tR=n(35901),tN=n(83817),tF=n(52286),tH=n(725),tW=n(81879),tG=n(82870),t$=n(39449),tU=n(47121),tq=n(29992),tJ=n(77430),tZ=n(26776),tK=n(89373),tQ=n(27469),tX=n(90158),tY=n(3372),t0=n(47519),t1=n(15103),t3=n(6602),t2=n(27811),t6=n(93252),t4=n(99124),t8=n(21861),t7=n(6555),t5=n(4826),t9=n(52859),ne=n(75882),nt=n(71267),nn=n(7572),ni=n(69684),nr=n(87233),na=n(77763),ns=n(15629),no=n(10396),nl=n(47647),nd=n(38427),nc=n(14349),nm=n(12701),nu=n(3663),np=n(71421),nh=n(69960),ng=n(78698),nx=n(77193);class nj extends ei.V{getGridCellComponent(e){return(0,W.jsx)(ew.V,{...(0,eb.G)(e,{allowedTypes:["asset"]})})}getDefaultGridColumnWidth(){return 350}constructor(...e){super(...e),this.id="asset"}}nj=(0,z.gn)([(0,O.injectable)()],nj);class nv extends ei.V{getGridCellComponent(e){return(0,W.jsx)(ew.V,{...(0,eb.G)(e,{allowedTypes:["data-object"]})})}getDefaultGridColumnWidth(){return 350}constructor(...e){super(...e),this.id="object"}}nv=(0,z.gn)([(0,O.injectable)()],nv);class ny extends ei.V{getGridCellComponent(e){return(0,W.jsx)(ew.V,{...(0,eb.G)(e,{allowedTypes:["document"]})})}getDefaultGridColumnWidth(){return 350}constructor(...e){super(...e),this.id="document"}}ny=(0,z.gn)([(0,O.injectable)()],ny);class nf extends ei.V{getGridCellComponent(e){return(0,W.jsx)(ew.V,{...e})}constructor(...e){super(...e),this.id="element"}}nf=(0,z.gn)([(0,O.injectable)()],nf);var nw=n(17409);class nb extends ei.V{getGridCellComponent(e){return(0,W.jsx)(nw.a,{...e})}constructor(...e){super(...e),this.id="language-select"}}nb=(0,z.gn)([(0,O.injectable)()],nb);var nC=n(28464);class nk extends ei.V{getGridCellComponent(e){return(0,W.jsx)(nC._,{...e})}constructor(...e){super(...e),this.id="translate"}}nk=(0,z.gn)([(0,O.injectable)()],nk);var nT=n(97790),nD=n(93623),nS=n(80392),nM=n(9383),nL=n(72551);let nI=e=>{let{batchEdit:t}=e,{key:n}=t;return(0,W.jsx)(nL.l.Item,{name:n,children:(0,W.jsx)(nM.M,{})})};class nE{getBatchEditComponent(e){return(0,W.jsx)(nI,{...e})}constructor(){this.id="datetime"}}nE=(0,z.gn)([(0,O.injectable)()],nE);var n_=n(7932);let nz=e=>{var t;let{batchEdit:n}=e,{key:i,config:r}=n,a=null==r||null==(t=r.options)?void 0:t.map(e=>({value:e,label:e}));return(0,W.jsx)(nL.l.Item,{name:i,children:(0,W.jsx)(n_.P,{options:a})})};class nO{getBatchEditComponent(e){return(0,W.jsx)(nz,{...e})}constructor(){this.id="select"}}nO=(0,z.gn)([(0,O.injectable)()],nO);var nP=n(34228);let nV=e=>{let{batchEdit:t}=e,{key:n}=t;return(0,W.jsx)(nL.l.Item,{name:n,children:(0,W.jsx)(nP.X,{})})};class nA{getBatchEditComponent(e){return(0,W.jsx)(nV,{...e})}constructor(){this.id="checkbox"}}nA=(0,z.gn)([(0,O.injectable)()],nA);var nB=n(57196),nR=n(11556);let nN=e=>{let{batchEdit:t}=e,{key:n}=t;return(0,W.jsx)(nR._v,{fieldWidthValues:{large:9999,medium:9999,small:9999},children:(0,W.jsx)(nL.l.Item,{name:n,children:(0,W.jsx)(nB.A,{assetsAllowed:!0})})})};class nF{getBatchEditComponent(e){return(0,W.jsx)(nN,{...e})}constructor(){this.id="element_dropzone"}}nF=(0,z.gn)([(0,O.injectable)()],nF);var nH=n(6866),nW=n(45731),nG=n(30062),n$=n(75171);class nU extends ei.V{getGridCellComponent(e){return(0,W.jsx)(n$.N,{...e})}getDefaultGridColumnWidth(e){var t,n;let i=null==e||null==(t=e.config)?void 0:t.dataObjectType,r={...null==(n=e.config)?void 0:n.dataObjectConfig.fieldDefinition,defaultFieldWidth:nR.uK};return(0,nG.bq)(i,r)}constructor(...e){super(...e),this.id="dataobject.adapter"}}nU=(0,z.gn)([(0,O.injectable)()],nU);var nq=n(7555),nJ=n(26379);class nZ extends ei.V{getGridCellComponent(e){return(0,W.jsx)(nJ.p,{...e})}getDefaultGridColumnWidth(){return 100}constructor(...e){super(...e),this.id="data-object-actions"}}nZ=(0,z.gn)([(0,O.injectable)()],nZ);class nK extends ei.V{getGridCellComponent(e){return(0,W.jsx)(n$.N,{...e})}getDefaultGridColumnWidth(e){var t,n;let i=null==e||null==(t=e.config)?void 0:t.dataObjectType,r={...null==(n=e.config)?void 0:n.dataObjectConfig.fieldDefinition,defaultFieldWidth:nR.uK};return(0,nG.bq)(i,r)}constructor(...e){super(...e),this.id="dataobject.objectbrick"}}nK=(0,z.gn)([(0,O.injectable)()],nK);var nQ=n(45672),nX=n(40776);class nY extends ti.Z{}nY=(0,z.gn)([(0,O.injectable)()],nY);class n0{}n0=(0,z.gn)([(0,O.injectable)()],n0);class n1 extends n0{constructor(...e){super(...e),this.id="image"}}n1=(0,z.gn)([(0,O.injectable)()],n1);class n3 extends n0{constructor(...e){super(...e),this.id="archive"}}n3=(0,z.gn)([(0,O.injectable)()],n3);class n2 extends n0{constructor(...e){super(...e),this.id="audio"}}n2=(0,z.gn)([(0,O.injectable)()],n2);class n6 extends n0{constructor(...e){super(...e),this.id="document"}}n6=(0,z.gn)([(0,O.injectable)()],n6);class n4 extends n0{constructor(...e){super(...e),this.id="folder"}}n4=(0,z.gn)([(0,O.injectable)()],n4);class n8 extends n0{constructor(...e){super(...e),this.id="text"}}n8=(0,z.gn)([(0,O.injectable)()],n8);class n7 extends n0{constructor(...e){super(...e),this.id="unknown"}}n7=(0,z.gn)([(0,O.injectable)()],n7);class n5 extends n0{constructor(...e){super(...e),this.id="video"}}n5=(0,z.gn)([(0,O.injectable)()],n5);class n9 extends ti.Z{}n9=(0,z.gn)([(0,O.injectable)()],n9);class ie{constructor(){this.allowClassSelectionInSearch=!1}}ie=(0,z.gn)([(0,O.injectable)()],ie);class it extends ie{constructor(...e){super(...e),this.id="folder"}}it=(0,z.gn)([(0,O.injectable)()],it);class ii extends ie{constructor(...e){super(...e),this.id="object",this.allowClassSelectionInSearch=!0}}ii=(0,z.gn)([(0,O.injectable)()],ii);class ir extends ie{constructor(...e){super(...e),this.id="variant",this.allowClassSelectionInSearch=!0}}ir=(0,z.gn)([(0,O.injectable)()],ir);var ia=n(78298),is=n(84348),io=n(97433),il=n(84420);let id=e=>{let{groupLayout:t,currentLayoutData:n,updateCurrentLayoutData:i}=e,{name:r}=(0,io.Y)(),{operations:a}=(0,ia.f)(),{id:s}=(0,eK.i)(),o=(0,tD.isArray)(r)?r[r.length-1]:r,l=e=>{e.stopPropagation(),i(n.filter(e=>e.id!==(null==t?void 0:t.id))),a.remove(String(null==t?void 0:t.id))};return(0,G.useMemo)(()=>{var e;return(0,W.jsx)(to.P,{border:!1,collapsed:!1,collapsible:!0,extra:(0,W.jsx)(tf.k,{className:"w-full",children:(0,W.jsx)(il.z,{color:"default",icon:(0,W.jsx)(tL.J,{value:"trash"}),onClick:l,variant:"filled"})}),extraPosition:"start",theme:"border-highlight",title:null==t?void 0:t.name,children:null==t||null==(e=t.keys)?void 0:e.map(e=>(0,W.jsx)(ts.T,{...e.definition,name:e.id},e.id))})},[t,s,o,n])};var ic=n(64235),im=n(52478);let iu=e=>{let{currentLanguage:t}=(0,ic.X)(),[n,i]=(0,G.useState)(e.initialValue??"default");return(0,W.jsx)(im.r,{onChange:t=>{var n;i(t),null==(n=e.onChange)||n.call(e,t)},options:[{value:"default",label:"Default"},{value:"current-language",label:`Current language (${t.toUpperCase()})`}],value:n})},ip=(0,G.createContext)(void 0),ih=e=>{let{children:t}=e,[n,i]=(0,G.useState)(!1),[r,a]=(0,G.useState)({}),[s,o]=(0,G.useState)([]),l=(0,G.useCallback)(e=>r[e]??"",[r]),d=(0,G.useCallback)((e,t)=>{a(n=>({...n,[e]:t}))},[]),c=()=>{i(!0)},m=()=>{i(!1)},u=(0,G.useMemo)(()=>({isOpen:n,open:c,close:m,getSearchValue:l,setSearchValue:d,currentLayoutData:s,setCurrentLayoutData:o}),[l,d,n,c,m,s,o]);return(0,W.jsx)(ip.Provider,{value:u,children:t})},ig=()=>{let e=(0,G.useContext)(ip);if(void 0===e)throw Error("useClassificationStore must be used within a ClassificationStoreProvider");return{isOpenModal:e.isOpen,openModal:e.open,closeModal:e.close,setSearchValue:e.setSearchValue,getSearchValue:e.getSearchValue,currentLayoutData:e.currentLayoutData,updateCurrentLayoutData:e.setCurrentLayoutData}},ix=e=>{let[t,n]=(0,G.useState)("default"),{t:i}=(0,eH.useTranslation)(),{openModal:r,currentLayoutData:a,updateCurrentLayoutData:s}=ig(),{values:o}=(0,ia.f)(),{activeGroups:l,groupCollectionMapping:d,...c}=o,{currentLanguage:m}=(0,ic.X)(),u="default",p=e.localized??!1;(0,G.useEffect)(()=>{let t=e.activeGroupDefinitions??[];s((0,tD.isEmpty)(a)?t:a)},[]);let h=e=>{n(e)};return"current-language"===t&&(u=m),(0,G.useMemo)(()=>(0,W.jsxs)(to.P,{border:!0,collapsed:!1,collapsible:!0,extra:(0,W.jsxs)(tf.k,{align:"center",className:"w-full",justify:"space-between",children:[(0,W.jsx)(il.z,{color:"default",icon:(0,W.jsx)(tL.J,{value:"folder-search"}),onClick:e=>{e.stopPropagation(),r()},variant:"filled",children:i("add")}),p?(0,W.jsx)(iu,{initialValue:u,onChange:h}):(0,W.jsx)(W.Fragment,{})]}),extraPosition:"start",theme:"default",title:e.title,children:[(0,W.jsx)(tl.T,{className:"w-full",direction:"vertical",size:"small",children:Object.keys((0,tD.isObject)(c)?c:{}).map(e=>(0,W.jsx)(nL.l.Group,{name:[e,u],children:(0,W.jsx)(id,{currentLayoutData:a,groupLayout:(0,tD.find)(a,{id:parseInt(e)}),updateCurrentLayoutData:s})},`${e}`))}),(0,W.jsx)(nL.l.Item,{name:["activeGroups"],style:{display:"none"},children:(0,W.jsx)(is.I,{type:"hidden",value:l??{}})}),(0,W.jsx)(nL.l.Item,{name:["groupCollectionMapping"],style:{display:"none"},children:(0,W.jsx)(is.I,{type:"hidden",value:d??{}})})]}),[o,u,a])};var ij=n(90165),iv=n(59738);let iy="deleted",iw=(e,t,n,i)=>{let r=Array.from(new Set([...ib(t),...ib(e)])),a={},s=e=>(0,tD.isUndefined)(e)?{}:e;return((0,tD.forEach)(r,n=>{let r=n.split(".").length-1,o=n.split(".")[0];e[o].action!==iy&&(i(n)?(0,tD.setWith)(a,n,(0,tD.get)(t,n),s):(0,tD.setWith)(a,n,(0,tD.get)(e,n),s),0===r&&(0,tD.isArray)((0,tD.get)(e,n))&&(0,tD.isEmpty)(e[o])&&(0,tD.setWith)(a,n,{},s))}),(0,tD.isEmpty)(a)&&(0,tD.isEmpty)(n))?n:a},ib=e=>{if(!(0,tD.isPlainObject)(e))return[];let t=[];return(0,tD.forEach)(Object.keys(e),n=>{let i=e[n];(0,tD.isPlainObject)(i)&&(0,tD.forEach)(Object.keys(i),e=>{let r=i[e];(0,tD.isPlainObject)(r)&&(0,tD.forEach)(Object.keys(r),i=>{t.push(iC([n,e,i]))})}),((0,tD.isArray)(i)&&0===i.length||["activeGroups","groupCollectionMapping"].includes(n))&&t.push(iC([n]))}),t},iC=e=>Array.isArray(e)?e.join("."):e,ik=(e,t)=>{if(!(0,tD.isPlainObject)(e))return{};let n={},i=e=>(0,tD.isUndefined)(e)?{}:e;(0,tD.forEach)(ib(e),t=>{null!==(0,tD.get)(e,t)&&(0,tD.setWith)(n,t,(0,tD.get)(e,t),i)});let{activeGroups:r,groupCollectionMapping:a,...s}=e;for(let[e,t]of Object.entries(s)){let i=!0;for(let[r,a]of Object.entries(t)){let t=!0;for(let e of Object.entries(a))if(null!==e[1]){t=!1,i=!1;break}t&&void 0!==n[e]&&void 0!==n[e][r]&&delete n[e][r]}i&&(0,tD.set)(n,e,[])}return n};var iT=n(25560);let iD=(0,eJ.createStyles)(e=>{let{css:t,token:n}=e;return{titleIcon:t` - &.anticon { - margin-right: 0 !important; - } - `}});var iS=n(91936),iM=n(42125);let iL=iM.api.enhanceEndpoints({addTagTypes:["Classification Store"]}).injectEndpoints({endpoints:e=>({classificationStoreGetCollections:e.query({query:e=>({url:"/pimcore-studio/api/classification-store/collections",params:{storeId:e.storeId,objectId:e.objectId,page:e.page,pageSize:e.pageSize,fieldName:e.fieldName,searchTerm:e.searchTerm}}),providesTags:["Classification Store"]}),classificationStoreGetGroups:e.query({query:e=>({url:"/pimcore-studio/api/classification-store/groups",params:{storeId:e.storeId,objectId:e.objectId,searchTerm:e.searchTerm,page:e.page,pageSize:e.pageSize,fieldName:e.fieldName}}),providesTags:["Classification Store"]}),classificationStoreGetKeyGroupRelations:e.query({query:e=>({url:"/pimcore-studio/api/classification-store/key-group-relations",params:{storeId:e.storeId,objectId:e.objectId,searchTerm:e.searchTerm,page:e.page,pageSize:e.pageSize,fieldName:e.fieldName}}),providesTags:["Classification Store"]}),classificationStoreGetLayoutByCollection:e.query({query:e=>({url:`/pimcore-studio/api/classification-store/layout-by-collection/${e.collectionId}`,params:{objectId:e.objectId,fieldName:e.fieldName}}),providesTags:["Classification Store"]}),classificationStoreGetLayoutByGroup:e.query({query:e=>({url:`/pimcore-studio/api/classification-store/layout-by-group/${e.groupId}`,params:{objectId:e.objectId,fieldName:e.fieldName}}),providesTags:["Classification Store"]})}),overrideExisting:!1}),{useClassificationStoreGetCollectionsQuery:iI,useClassificationStoreGetGroupsQuery:iE,useClassificationStoreGetKeyGroupRelationsQuery:i_,useClassificationStoreGetLayoutByCollectionQuery:iz,useClassificationStoreGetLayoutByGroupQuery:iO}=iL;var iP=n(84666),iV=n(45980);let iA=e=>{let{isFetching:t,refetch:n}=e;return t?(0,W.jsx)(td.x,{padding:{x:"small"},children:(0,W.jsx)(iV.y,{})}):(0,W.jsx)(iP.h,{icon:{value:"refresh"},onClick:async()=>{n()}})};var iB=n(11113);let iR=e=>{let{page:t,setPage:n,pageSize:i,setPageSize:r,totalItems:a}=e,{t:s}=(0,eH.useTranslation)();return(0,W.jsx)(iB.t,{current:t,defaultPageSize:i,onChange:(e,t)=>{n(e),r(parseInt(t))},pageSizeOptions:[10,20,50,100],showSizeChanger:!0,showTotal:e=>s("pagination.show-total",{total:e}),total:a})};var iN=n(66707),iF=n(47755),iH=n(77476),iW=n(70302),iG=n(82168),i$=n(73489),iU=((i={}).Collection="collection",i.Group="group",i.GroupByKey="group-by-key",i);let{useClassificationStoreGetCollectionsQuery:iq,useClassificationStoreGetGroupsQuery:iJ,useClassificationStoreGetKeyGroupRelationsQuery:iZ,useClassificationStoreGetLayoutByCollectionQuery:iK,useLazyClassificationStoreGetLayoutByCollectionQuery:iQ,useClassificationStoreGetLayoutByGroupQuery:iX,useLazyClassificationStoreGetLayoutByGroupQuery:iY}=iL.enhanceEndpoints({}),i0=e=>{let{tabId:t,queryHook:n,queryArgs:i,columns:r}=e,{getSearchValue:a,setSearchValue:s,closeModal:o,currentLayoutData:l,updateCurrentLayoutData:d}=ig(),{operations:c,values:m}=(0,ia.f)(),{activeGroups:u,groupCollectionMapping:p,...h}=m,{t:g}=(0,eH.useTranslation)(),[x,j]=(0,G.useState)(a(t)),[v,y]=(0,G.useState)(a(t)),[f,w]=(0,G.useState)(1),[b,C]=(0,G.useState)(10),[k,T]=(0,G.useState)(void 0),[D,S]=(0,G.useState)(!1),M=t===iU.GroupByKey,{isLoading:L,data:I,isFetching:E,refetch:_}=n({...i,page:f,pageSize:b,searchTerm:x},{refetchOnMountOrArgChange:!0}),[z]=iQ(),[O]=iY(),P=async e=>await z({objectId:i.objectId,fieldName:i.fieldName,collectionId:parseInt(e)}).unwrap(),V=async e=>await O({objectId:i.objectId,fieldName:i.fieldName,groupId:parseInt(e)}).unwrap(),A=async()=>{let e=Object.keys(k??{}),n={},i={},r=[];for(let a of e){if(t===iU.Collection){let e=P(a).then(e=>((null==e?void 0:e.groups)??[]).filter(e=>{let t=!(0,tD.has)(h,String(e.id));return t&&(c.add(String(null==e?void 0:e.id),{}),n[e.id]=!0,i[e.id]=parseInt(a),S(!0)),t}));r.push(e)}if(t===iU.Group){let e=V(a).then(e=>(0,tD.has)(h,String(null==e?void 0:e.id))?[]:(c.add(String(null==e?void 0:e.id),{}),n[null==e?void 0:e.id]=!0,i[null==e?void 0:e.id]=null,S(!0),[e]));r.push(e)}if(t===iU.GroupByKey){let e=V(a.split("-")[0]).then(e=>(0,tD.has)(h,String(null==e?void 0:e.id))?[]:(c.add(String(null==e?void 0:e.id),{}),n[null==e?void 0:e.id]=!0,i[null==e?void 0:e.id]=null,S(!0),[e]));r.push(e)}}let a=(await Promise.all(r)).flat();d([...l,...(0,tD.uniqBy)(a,"id")]);let s={...m.activeGroups,...n},u={...m.groupCollectionMapping,...i};c.update("activeGroups",s,!1),c.update("groupCollectionMapping",u,!1),S(!1),o()};return(0,W.jsx)(iH.V,{loading:D,children:(0,W.jsx)(iW.D,{renderToolbar:(0,W.jsxs)(iF.o,{borderStyle:"primary",theme:"secondary",children:[(0,W.jsxs)(iN.P,{size:"extra-small",children:[(0,W.jsx)(iA,{isFetching:E,refetch:_}),(0,W.jsx)(iR,{page:f,pageSize:b,setPage:w,setPageSize:C,totalItems:(null==I?void 0:I.totalItems)??0})]}),(0,W.jsx)(il.z,{disabled:L,onClick:A,type:"primary",children:g("common.apply-selection")})]}),renderTopBar:(0,W.jsx)(iF.o,{borderStyle:"primary",padding:{top:"extra-small",bottom:"extra-small",left:"none",right:"none"},position:"top",size:"auto",theme:"secondary",children:(0,W.jsx)(iG.M,{maxWidth:"100%",onChange:e=>{y(e.target.value)},onSearch:e=>{s(t,e),j(e)},value:v})}),children:(0,W.jsx)(td.x,{padding:{top:"small",bottom:"small"},children:(0,W.jsx)(i$.r,{columns:r,data:(null==I?void 0:I.items)??[],enableMultipleRowSelection:!0,isLoading:L,onSelectedRowsChange:e=>{T(e)},selectedRows:k,setRowId:e=>M&&!(0,tD.isUndefined)(e.groupId)?`${e.groupId}-${e.keyId}`:e.id})})})})},i1=e=>{let t=(0,iS.createColumnHelper)(),{t:n}=(0,eH.useTranslation)(),i=[t.accessor("id",{header:n("classification-store.column.id")}),t.accessor("name",{header:n("classification-store.column.name")}),t.accessor("description",{header:n("classification-store.column.description")})];return(0,W.jsx)(i0,{columns:i,queryArgs:{storeId:e.storeId,objectId:e.objectId,fieldName:e.fieldName},queryHook:iI,tabId:iU.Collection})},i3=e=>{let t=(0,iS.createColumnHelper)(),{t:n}=(0,eH.useTranslation)(),i=[t.accessor("id",{header:n("classification-store.column.id")}),t.accessor("name",{header:n("classification-store.column.name")}),t.accessor("description",{header:n("classification-store.column.description")})];return(0,W.jsx)(i0,{columns:i,queryArgs:{storeId:e.storeId,objectId:e.objectId,fieldName:e.fieldName},queryHook:iE,tabId:iU.Group})},i2=e=>{let t=(0,iS.createColumnHelper)(),{t:n}=(0,eH.useTranslation)(),i=[t.accessor(e=>`${e.groupId}-${e.keyId}`,{id:"groupId-keyId",header:n("classification-store.column.id")}),t.accessor("groupName",{header:n("classification-store.column.group")}),t.accessor("keyName",{header:n("classification-store.column.name")}),t.accessor("keyDescription",{header:n("classification-store.column.description")})];return(0,W.jsx)(i0,{columns:i,queryArgs:{storeId:e.storeId,objectId:e.objectId,fieldName:e.fieldName},queryHook:i_,tabId:iU.GroupByKey})},i6=e=>{let{storeId:t,objectId:n,fieldName:i}=e,{isOpenModal:r,closeModal:a}=ig(),{t:s}=(0,eH.useTranslation)(),{styles:o}=iD(),l={storeId:t,objectId:n,fieldName:i},d=e=>{let{iconValue:t,titleKeyValue:n}=e;return(0,W.jsxs)(tf.k,{align:"center",gap:"mini",children:[(0,W.jsx)(tL.J,{className:o.titleIcon,value:t}),(0,W.jsx)("div",{children:s(`classification-store.${n}`)})]})},c=[{label:d({iconValue:"keyboard",titleKeyValue:"collection"}),key:"collection",children:(0,W.jsx)(i1,{...l})},{label:d({iconValue:"keys",titleKeyValue:"group"}),key:"group",children:(0,W.jsx)(i3,{...l})},{label:d({iconValue:"key",titleKeyValue:"group-by-key"}),key:"group-by-key",children:(0,W.jsx)(i2,{...l})}];return(0,W.jsx)(W.Fragment,{children:r&&(0,W.jsx)(iT.u,{closable:!0,footer:null,onCancel:a,open:r,size:"XL",children:(0,W.jsx)(tu.m,{destroyInactiveTabPane:!0,items:c,noTabBarMargin:!0})})})},i4=(e,t)=>{let n=(0,tD.get)(e,t,{});return(0,tD.isPlainObject)(n)?n:{}},i8=e=>{let{name:t,value:n}=e,i=(0,G.useRef)(n),r=(0,G.useRef)(new Set),a=(0,G.useRef)(new Set),{id:s}=(0,eK.i)(),{dataObject:o}=(0,ij.H)(s),l=i4((null==o?void 0:o.objectData)??{},t),d=(0,iv.a)(),c=(0,tD.isArray)(t)?t[t.length-1]:t,m=e=>Array.isArray(e)?e.join("."):e,u=e=>{var n;let i=[...t,...e.split(".")];return!a.current.has(i.join("."))&&(null==d||null==(n=d.getInheritanceState(i))?void 0:n.inherited)===!0},p=(0,G.useMemo)(()=>iw(i.current,l,n,u),[i.current,l]);return(0,G.useEffect)(()=>{i.current=n},[n]),(0,W.jsx)(ih,{children:(0,W.jsxs)(nL.l.KeyedList,{getAdditionalComponentProps:e=>{var t;return{inherited:(null==d||null==(t=d.getInheritanceState(e))?void 0:t.inherited)===!0}},onChange:t=>{let n=ik(t,u),a=(0,tD.union)([...(0,tD.keys)(l),...(0,tD.keys)(i.current)]);(0,tD.forEach)(a,e=>{(0,tD.isUndefined)(n[e])?r.current.add(e):r.current.delete(e)}),(0,tD.forEach)(Array.from(r.current.keys()),e=>{n[e]={action:iy}});let s=(0,tD.isEmpty)(n)?[]:n;(0,tD.isEqual)(s,i.current)||(e.onChange(s),i.current=s)},onFieldChange:(e,t)=>{var n;let i=m(e);a.current.add(i),(null==d||null==(n=d.getInheritanceState(e))?void 0:n.inherited)===!0&&(null==d||d.breakInheritance(e))},value:p,children:[(0,W.jsx)(ix,{...e}),(0,W.jsx)(i6,{fieldName:c,objectId:s,...e})]})})};var i7=n(52382);class i5 extends tk.C{getObjectDataComponent(e){return(0,W.jsx)(i8,{...e})}getObjectDataFormItemProps(e){return{...super.getObjectDataFormItemProps(e),label:null}}async processVersionFieldData(e){let{item:t,fieldBreadcrumbTitle:n,fieldValueByName:i,versionId:r,versionCount:a}=e,s=e=>{let{fieldData:t,fieldValue:n,fieldBreadcrumbTitle:i}=e;return{fieldBreadcrumbTitle:i,versionId:r,versionCount:a,fieldData:t,fieldValue:n}},o=e=>{let{data:t,updatedFieldBreadcrumbTitle:r=n,groupId:a}=e;return t.flatMap(e=>{if(!(0,tD.isEmpty)(e.keys)){let t=e.title??e.name,n=(0,i7.uT)(r,t);return o({data:e.keys,updatedFieldBreadcrumbTitle:n,groupId:e.id})}if(!(0,tD.isEmpty)(e.definition)){if((0,tD.isUndefined)(a))return[];let t=(0,tD.get)(i,a);return(0,tD.isEmpty)(t)?s({fieldData:{...e.definition},fieldValue:t,fieldBreadcrumbTitle:r}):Object.entries(t).map(t=>{let[n,i]=t;return s({fieldData:{...e.definition,locale:n},fieldValue:i[e.id],fieldBreadcrumbTitle:r})})}return[]})};async function l(){try{if((0,tD.isEmpty)(t))return[];let e=t.title??t.name,i=(0,i7.uT)(n,e);return o({data:t.activeGroupDefinitions,updatedFieldBreadcrumbTitle:i})}catch(e){return console.error("Error while handling Classification Store data:",e),[]}}return await l()}constructor(...e){super(...e),this.id="classificationstore"}}var i9=n(63267);class re extends ei.V{getGridCellComponent(e){return(0,W.jsx)(i9.w,{...e})}getDefaultGridColumnWidth(){return 100}constructor(...e){super(...e),this.id="boolean"}}re=(0,z.gn)([(0,O.injectable)()],re);var rt=n(5554);class rn extends rt.A{constructor(){super(),this.type="page"}}rn=(0,z.gn)([(0,O.injectable)(),(0,z.w6)("design:type",Function),(0,z.w6)("design:paramtypes",[])],rn);class ri extends rt.A{constructor(){super(),this.type="email"}}ri=(0,z.gn)([(0,O.injectable)(),(0,z.w6)("design:type",Function),(0,z.w6)("design:paramtypes",[])],ri);class rr extends rt.A{constructor(){super(),this.type="hardlink"}}rr=(0,z.gn)([(0,O.injectable)(),(0,z.w6)("design:type",Function),(0,z.w6)("design:paramtypes",[])],rr);class ra extends rt.A{constructor(){super(),this.type="link"}}ra=(0,z.gn)([(0,O.injectable)(),(0,z.w6)("design:type",Function),(0,z.w6)("design:paramtypes",[])],ra);class rs extends rt.A{constructor(){super(),this.type="snippet"}}rs=(0,z.gn)([(0,O.injectable)(),(0,z.w6)("design:type",Function),(0,z.w6)("design:paramtypes",[])],rs);class ro extends ti.Z{}ro=(0,z.gn)([(0,O.injectable)()],ro);class rl{constructor(){this.initializeInIframe=!1}}rl=(0,z.gn)([(0,O.injectable)()],rl);var rd=n(53429),rc=n(40779);let rm=(0,eJ.createStyles)(e=>{let{css:t}=e;return{contentEditable:t` - outline: 0 auto; - overflow-y: visible; - - &.empty { - outline: 1px dashed #BABABA; - } - - &:hover { - outline: 2px dashed #BABABA; - outline-offset: 5px; - } - - &:focus { - outline: 0 auto; - overflow-y: visible; - } - `}}),ru=function(e){let t,n=window.getSelection();if(!(0,tD.isNil)(n)&&!(0,tD.isNil)(n.getRangeAt)&&n.rangeCount>0){(t=n.getRangeAt(0)).deleteContents();let i=document.createElement("div");i.innerHTML=e;let r=document.createDocumentFragment(),a=null,s=null;for(;!(0,tD.isNil)(i.firstChild);)a=i.firstChild,s=r.appendChild(a);t.insertNode(r),(0,tD.isNil)(s)||((t=t.cloneRange()).setStartAfter(s),t.collapse(!0),n.removeAllRanges(),n.addRange(t))}},rp=e=>{let{value:t,onChange:n,className:i,placeholder:r,required:a,width:s,nowrap:o}=e,l=(0,G.useRef)(null),{styles:d}=rm();return(0,W.jsx)("div",{className:`${i} ${d.contentEditable}`,contentEditable:"true",dangerouslySetInnerHTML:{__html:(t??"")+"
"},"data-placeholder":r,onKeyDown:e=>{"Enter"===e.key&&e.preventDefault()},onKeyUp:()=>{var e,t,i,r;let s=(null==(t=l.current)||null==(e=t.textContent)?void 0:e.trim())??"";!0===a&&s.length<1?null==(i=l.current)||i.classList.add("empty"):null==(r=l.current)||r.classList.remove("empty"),null==n||n(s)},onPaste:e=>{e.preventDefault();let t="";(0,tD.isNil)(e.clipboardData)?(0,tD.isNil)(window.clipboardData)||(t=window.clipboardData.getData("Text")):t=e.clipboardData.getData("text/plain"),ru(t=t.replace(/\r\n|\n/g," ").trim())},ref:l,role:"none",style:{display:(0,tD.isNil)(s)?void 0:"inline-block",width:(0,tD.isNil)(s)?void 0:`${s}px`,overflow:((0,tD.isNil)(o)||!o)&&(0,tD.isNil)(s)?void 0:"auto",whiteSpace:!(0,tD.isNil)(o)&&o?"nowrap":void 0}})};var rh=n(24853),rg=n(45475);class rx extends U.s{getFieldFilterType(){return"system.string"}getFieldFilterComponent(e){return(0,W.jsx)(rg.V,{...e})}constructor(...e){super(...e),this.id="checkbox"}}rx=(0,z.gn)([(0,O.injectable)()],rx);let rj=()=>{let{data:e,setData:t}=(0,J.$)(),[n,i]=(0,G.useState)(e);return(0,G.useEffect)(()=>{i(e)},[e]),(0,G.useEffect)(()=>{t("")},[]),(0,W.jsx)(rd.TextArea,{onBlur:function(){t(n)},onChange:e=>{i(e.target.value)},value:n})};class rv extends U.s{getFieldFilterType(){return"system.string"}getFieldFilterComponent(e){return(0,W.jsx)(rj,{...e})}constructor(...e){super(...e),this.id="textarea"}}rv=(0,z.gn)([(0,O.injectable)()],rv);var ry=n(26254);class rf{getId(){return this.id}getCallback(){return this.callback}constructor(e){this.id=(0,ry.V)(),this.callback=e}}class rw extends rf{}C.nC.bind(H.j["App/ComponentRegistry/ComponentRegistry"]).to(A.yK).inSingletonScope(),C.nC.bind(H.j.mainNavRegistry).to(nq.c).inSingletonScope(),C.nC.bind(H.j.widgetManager).to(D.B).inSingletonScope(),C.nC.bind(H.j["Asset/Editor/TypeRegistry"]).to(tn.P).inSingletonScope(),C.nC.bind(H.j["Asset/Editor/DocumentTabManager"]).to(L.A).inSingletonScope(),C.nC.bind(H.j["Asset/Editor/FolderTabManager"]).to(k.d).inSingletonScope(),C.nC.bind(H.j["Asset/Editor/ImageTabManager"]).to(S.S).inSingletonScope(),C.nC.bind(H.j["Asset/Editor/TextTabManager"]).to(M.$).inSingletonScope(),C.nC.bind(H.j["Asset/Editor/VideoTabManager"]).to(I.n).inSingletonScope(),C.nC.bind(H.j["Asset/Editor/AudioTabManager"]).to(E.$).inSingletonScope(),C.nC.bind(H.j["Asset/Editor/ArchiveTabManager"]).to(V.M).inSingletonScope(),C.nC.bind(H.j["Asset/Editor/UnknownTabManager"]).to(_.M).inSingletonScope(),C.nC.bind(H.j["DataObject/Editor/TypeRegistry"]).to(tn.P).inSingletonScope(),C.nC.bind(H.j["DataObject/Editor/ObjectTabManager"]).to(B.F).inSingletonScope(),C.nC.bind(H.j["DataObject/Editor/FolderTabManager"]).to(k.d).inSingletonScope(),C.nC.bind(H.j["Document/Editor/TypeRegistry"]).to(tn.P).inSingletonScope(),C.nC.bind(H.j["Document/Editor/PageTabManager"]).to(rn).inSingletonScope(),C.nC.bind(H.j["Document/Editor/EmailTabManager"]).to(ri).inSingletonScope(),C.nC.bind(H.j["Document/Editor/FolderTabManager"]).to(k.d).inSingletonScope(),C.nC.bind(H.j["Document/Editor/HardlinkTabManager"]).to(rr).inSingletonScope(),C.nC.bind(H.j["Document/Editor/LinkTabManager"]).to(ra).inSingletonScope(),C.nC.bind(H.j["Document/Editor/SnippetTabManager"]).to(rs).inSingletonScope(),C.nC.bind(H.j.iconLibrary).to(T.W).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/FieldFilterRegistry"]).to(R.z).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/FieldFilter/DataObjectAdapter"]).to(K).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/FieldFilter/DataObjectObjectBrick"]).to(X).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/FieldFilter/Text"]).to(Y.G).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/FieldFilter/Textarea"]).to(rv).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/FieldFilter/Number"]).to(ee.F).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/FieldFilter/Select"]).to(et.X).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/FieldFilter/Datetime"]).to(en.U).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/FieldFilter/Checkbox"]).to(rx).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/BatchEditRegistry"]).to(nT.H).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/BatchEdit/Text"]).to(nD.B).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/BatchEdit/TextArea"]).to(nS.l).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/BatchEdit/Datetime"]).to(nE).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/BatchEdit/Select"]).to(nO).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/BatchEdit/Checkbox"]).to(nA).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/BatchEdit/ElementDropzone"]).to(nF).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/BatchEdit/DataObjectAdapter"]).to(nQ.C).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/BatchEdit/DataObjectObjectBrick"]).to(nX.C).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCellRegistry"]).to(es.U).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/Text"]).to(ea).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/Textarea"]).to(el).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/Number"]).to(ec).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/Select"]).to(eu).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/MultiSelect"]).to(eh).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/Checkbox"]).to(eg.g).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/Boolean"]).to(re).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/Date"]).to(ej).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/Time"]).to(ey).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/DateTime"]).to(ef).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/AssetLink"]).to(eC).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/ObjectLink"]).to(ek).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/DocumentLink"]).to(eT).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/OpenElement"]).to(eS).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/AssetPreview"]).to(eL).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/AssetActions"]).to(eE).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/DataObjectActions"]).to(nZ).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/DependencyTypeIcon"]).to(ez).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/AssetCustomMetadataIcon"]).to(eP).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/AssetCustomMetadataValue"]).to(eA).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/PropertyIcon"]).to(eR).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/PropertyValue"]).to(eF).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/ScheduleActionsSelect"]).to(eG).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/VersionsIdSelect"]).to(e0).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/AssetVersionPreviewFieldLabel"]).to(e3).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/Asset"]).to(nj).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/Object"]).to(nv).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/Document"]).to(ny).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/Element"]).to(nf).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/LanguageSelect"]).to(nb).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/Translate"]).to(nk).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/DataObjectAdapter"]).to(nU).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/GridCell/DataObjectObjectBrick"]).to(nK).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ListingRegistry"]).to(N.g).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Listing/AssetLink"]).to(F.Z).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/MetadataRegistry"]).to(e2.H).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Metadata/Asset"]).to(e6.H).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Metadata/Checkbox"]).to(e4.$).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Metadata/Date"]).to(e8.p).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Metadata/Document"]).to(e7.$).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Metadata/Input"]).to(e5.n).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Metadata/Object"]).to(e9.L).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Metadata/Select"]).to(te.t).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Metadata/Textarea"]).to(tt.k).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectLayoutRegistry"]).to(tr).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectLayout/Panel"]).to(class extends ta{getObjectLayoutComponent(e){return(0,W.jsx)(tc,{...e})}constructor(...e){super(...e),this.id="panel"}}).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectLayout/Tabpanel"]).to(class extends ta{getObjectLayoutComponent(e){return(0,W.jsx)(tp,{...e})}constructor(...e){super(...e),this.id="tabpanel"}}).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectLayout/Accordion"]).to(class extends ta{getObjectLayoutComponent(e){return(0,W.jsx)(tg,{...e})}constructor(...e){super(...e),this.id="accordion"}}).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectLayout/Region"]).to(class extends ta{getObjectLayoutComponent(e){return(0,W.jsx)(tj,{...e})}constructor(...e){super(...e),this.id="region"}}).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectLayout/Text"]).to(class extends ta{getObjectLayoutComponent(e){return(0,W.jsx)(ty,{...e})}constructor(...e){super(...e),this.id="text"}}).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectLayout/Fieldset"]).to(class extends ta{getObjectLayoutComponent(e){return(0,W.jsx)(tc,{...e,theme:"fieldset"})}constructor(...e){super(...e),this.id="fieldset"}}).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectLayout/FieldContainer"]).to(class extends ta{getObjectLayoutComponent(e){return(0,W.jsx)(tw,{...e})}constructor(...e){super(...e),this.id="fieldcontainer"}}).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectDataRegistry"]).to(tm.f).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Input"]).to(tb.y).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Textarea"]).to(tC.g).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Wysiwyg"]).to(tE).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/InputQuantityValue"]).to(tz.j).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Password"]).to(t_.m).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Select"]).to(tO.w).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/MultiSelect"]).to(tP.i).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Language"]).to(tV.P).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/LanguageMultiSelect"]).to(tA.n).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Country"]).to(tB.d).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/CountryMultiSelect"]).to(tR.v).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/User"]).to(tN.F).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/BooleanSelect"]).to(tF.K).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Numeric"]).to(tH.$).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/NumericRange"]).to(tW.o).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Slider"]).to(tG.S).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/QuantityValue"]).to(t$.I).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/QuantityValueRange"]).to(tU.K).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Consent"]).to(tq.q).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Firstname"]).to(tJ.Y).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Lastname"]).to(tZ.y).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Email"]).to(tK.X).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Gender"]).to(tQ.Z).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/RgbaColor"]).to(tX.d).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/EncryptedField"]).to(tY.D).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/CalculatedValue"]).to(t0.r).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Checkbox"]).to(t1.T).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Link"]).to(t3.M).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/UrlSlug"]).to(t2.d).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Date"]).to(t6.U).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Datetime"]).to(t4.g).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/DateRange"]).to(t8.S).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Time"]).to(t7.K).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/ExternalImage"]).to(t5.T).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Image"]).to(t9.i).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Video"]).to(ne.b).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/HotspotImage"]).to(nt.V).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/ImageGallery"]).to(nn.F).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/GeoPoint"]).to(ni.e).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/GeoBounds"]).to(nr.O).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/GeoPolygon"]).to(na.G).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/GeoPolyLine"]).to(ns.v).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/ManyToOneRelation"]).to(no.i).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/ManyToManyRelation"]).to(nl.w).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/ManyToManyObjectRelation"]).to(nd.g).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/AdvancedManyToManyRelation"]).to(nc.D).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/AdvancedManyToManyObjectRelation"]).to(nm.X).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/ReverseObjectRelation"]).to(nu.t).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Table"]).to(nh.V).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/StructuredTable"]).to(np.Z).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/Block"]).to(ng.G).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/LocalizedFields"]).to(nx.n).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/FieldCollection"]).to(nH.k).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/ObjectBrick"]).to(nW.W).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectData/ClassificationStore"]).to(i5).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/DocumentEditableRegistry"]).to(ro).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/DocumentEditable/Input"]).to(class extends rl{getEditableDataComponent(e){return(0,W.jsx)(rp,{})}constructor(...e){super(...e),this.id="input",this.initializeInIframe=!0}}).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/DocumentEditable/Numeric"]).to(class extends rl{getEditableDataComponent(e){return(0,W.jsx)(rd.InputNumber,{})}constructor(...e){super(...e),this.id="numeric"}}).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/DocumentEditable/Relation"]).to(class extends rl{getEditableDataComponent(e){return(0,W.jsx)(rc.ManyToOneRelation,{assetsAllowed:!0,dataObjectsAllowed:!0,documentsAllowed:!0})}constructor(...e){super(...e),this.id="relation"}}).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/DocumentEditable/Wysiwyg"]).to(class extends rl{getEditableDataComponent(e){return(0,W.jsx)(rh.Wysiwyg,{})}constructor(...e){super(...e),this.id="wysiwyg",this.initializeInIframe=!0}}).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/AssetRegistry"]).to(nY).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Asset/Archive"]).to(n3).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Asset/Audio"]).to(n2).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Asset/Document"]).to(n6).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Asset/Folder"]).to(n4).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Asset/Image"]).to(n1).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Asset/Text"]).to(n8).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Asset/Unknown"]).to(n7).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Asset/Video"]).to(n5).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/ObjectRegistry"]).to(n9).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Object/Folder"]).to(it).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Object/Object"]).to(ii).inSingletonScope(),C.nC.bind(H.j["DynamicTypes/Object/Variant"]).to(ir).inSingletonScope(),C.nC.bind(H.j["ExecutionEngine/JobComponentRegistry"]).to(P).inSingletonScope(),C.nC.bind(H.j.backgroundProcessor).to(class{registerProcess(e){if(this.processes.has(e.getName()))throw Error(`Process with name ${e.getName()} is already registered.`);this.processes.set(e.getName(),e)}subscribeToProcessMessages(e){var t;let{processName:n,callback:i,SubscriberClass:r=rw}=e;if(!this.processes.has(n))throw Error(`Process with name ${n} is not registered.`);let a=new r(i);if(this.subscribers.set(a.getId(),a),this.processSubscriptions.has(n)||this.processSubscriptions.set(n,[]),null==(t=this.processSubscriptions.get(n))||t.push(a.getId()),void 0===this.processes.get(n))throw Error(`Process with name ${n} does not exist.`);return this.startProcess(n),a.getId()}unsubscribeFromProcessMessages(e){if(void 0===this.subscribers.get(e))throw Error(`Subscriber with ID ${e} does not exist.`);for(let[t,n]of(this.subscribers.delete(e),this.processSubscriptions.entries())){let i=n.indexOf(e);-1!==i&&(n.splice(i,1),0===n.length&&(this.cancelProcess(t),this.processSubscriptions.delete(t)))}}notifySubscribers(e,t){let n=this.processSubscriptions.get(e);if(void 0!==n)for(let e of n){let n=this.subscribers.get(e);void 0!==n&&n.getCallback()(t)}}startProcess(e){let t=this.processes.get(e);if(void 0===t)throw Error(`Process with name ${e} does not exist.`);this.runningProcesses.has(e)||(t.start(),this.runningProcesses.add(e),t.onMessage=t=>{this.notifySubscribers(e,t)})}cancelProcess(e){let t=this.processes.get(e);if(void 0===t)throw Error(`Process with name ${e} does not exist.`);this.runningProcesses.has(e)&&(this.runningProcesses.delete(e),t.cancel())}constructor(){this.processes=new Map,this.subscribers=new Map,this.processSubscriptions=new Map,this.runningProcesses=new Set}}).inSingletonScope(),n(71099);var rb=n(63583);let rC=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{mainNav:n` - position: absolute; - left: 100%; - top: 0; - background: #fff; - padding: ${t.paddingMD}px; - box-shadow: ${t.boxShadowSecondary}; - border-radius: ${t.borderRadius}px; - width: 818px; - max-width: 90vw; - min-width: 530px; - text-align: left; - max-height: 85vh; - display: flex; - flex-direction: column; - - .main-nav__top { - display: flex; - justify-content: space-between; - } - - .main-nav__list-inline { - display: flex; - list-style: none; - padding: 0; - margin: 0; - } - - .main-nav__bottom { - display: flex; - text-transform: uppercase; - gap: ${t.marginSM}px; - color: ${t.colorTextDescription}; - - .main-nav__bottom-title { - margin-top: ${t.marginXS}px; - line-height: 1.5; - } - - .main-nav__list-inline { - gap: ${t.marginXS}px; - flex-wrap: wrap; - } - } - - .main-nav__list { - margin: 0; - list-style: none; - width: 100%; - padding: 0 ${t.paddingXS}px; - font-size: ${t.fontSize}px; - position: relative; - max-height: 100%; - } - - .main-nav__list--level-0 { - width: 25%; - padding: 0; - background: rgba(0, 0, 0, 0.02); - - > .main-nav__list-item.is-active > .main-nav__list-btn { - border-left: 2px solid ${t.colorPrimary}; - background: ${t.controlItemBgActive}; - color: ${t.colorPrimary}; - } - } - - .main-nav__list:not(.main-nav__list--level-0) { - position: static; - } - - .main-nav__list--level-1 { - padding: ${t.paddingXS}px; - } - - .main-nav__list-detail { - position: absolute; - left: 100%; - width: 100%; - top: 0; - bottom: 0; - transform: translateX(-15px); - opacity: 0; - visibility: hidden; - transition: transform 200ms ease-in-out, opacity 200ms ease-in-out; - } - - .is-active > .main-nav__list-detail { - opacity: 1; - transform: translateX(0); - visibility: visible; - } - - .main-nav__list-detail-scroll-container { - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -ms-flex-direction: column; - flex-direction: column; - max-height: 100%; - } - - .main-nav__list-detail-scroll { - overflow-x: hidden; - overflow-y: auto; - -webkit-overflow-scrolling: touch; - scroll-behavior: smooth; - scroll-snap-type: x mandatory; - } - - .main-nav__list-btn { - background: none; - border: 0; - width: 100%; - padding: ${t.paddingSM}px; - cursor: pointer; - text-align: left; - display: flex; - align-items: center; - gap: ${t.marginXXS}px; - min-height: 46px; - - &:hover { - background: ${t.controlItemBgActiveHover}; - color: ${t.colorPrimary}; - } - } - - .is-active > .main-nav__list-btn { - background: ${t.controlItemBgActive}; - color: ${t.colorPrimary}; - } - - .main-nav__list-btn-icon { - margin-left: auto; - } - - .main-nav__divider { - margin: ${t.marginSM}px 0; - } - - .main-nav__list--level-1 .main-nav__list-btn { - min-height: unset; - border-radius: ${t.borderRadius}px; - padding: ${t.paddingXS}px; - } - `}},{hashPriority:"low"});var rk=n(92174),rT=n(81354),rD=n(96106),rS=n(60944),rM=n(48497),rL=n(64435);let rI=e=>{let{setIsOpen:t}=e,{t:n}=(0,eH.useTranslation)(),{switchPerspective:i}=(0,rL.o)(),r=(0,rM.a)();return(0,W.jsxs)("div",{className:"main-nav__bottom",children:[(0,W.jsx)("div",{className:"main-nav__bottom-title",children:n("navigation.perspectives")}),(0,W.jsx)("ul",{className:"main-nav__list-inline",children:r.perspectives.map((e,a)=>(0,W.jsx)("li",{children:(0,W.jsx)(rS.W,{color:e.id===r.activePerspective?"primary":"secondary",icon:e.icon,onClick:async()=>{i(e),t(!1)},variant:e.id===r.activePerspective?"filled":"outlined",children:n(e.name)})},e.id))})]})},rE=()=>{let{t:e}=(0,eH.useTranslation)(),{styles:t}=rC(),{navItems:n}=(0,rk.S)(),{openMainWidget:i}=(0,rT.A)(),[r,a]=$().useState(!1),[s,o]=$().useState([]),l=e=>{if(e.includes("-")){let t=e.substring(0,e.length-1);o([...s.filter(e=>!e.startsWith(t)),e])}e.includes("-")||o(s.includes(e)?s.filter(t=>t!==e):[e])},d=function(t,n){var r;let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,c=void 0!==t.children&&t.children.length>0||void 0!==t.widgetConfig||void 0!==t.onClick||void 0!==t.button,m=void 0!==t.perspectivePermissionHide&&(0,rD.i)(t.perspectivePermissionHide);return!c||m?(0,W.jsx)(W.Fragment,{}):(0,W.jsxs)("li",{className:`main-nav__list-item ${s.includes(n)?"is-active":""} ${t.className??""}`,children:[(0,tD.isUndefined)(t.button)?(0,W.jsxs)("button",{className:"main-nav__list-btn",onClick:()=>{void 0!==t.children&&t.children.length>0?l(n):void 0!==t.onClick?(t.onClick(),a(!1)):void 0!==t.widgetConfig&&(i(t.widgetConfig),a(!1))},children:[void 0!==t.icon?(0,W.jsx)(tL.J,{value:t.icon}):null,e(`${t.label}`),void 0!==t.children&&t.children.length>0?(0,W.jsx)(tL.J,{className:"main-nav__list-btn-icon",value:"chevron-right"}):null]}):(0,W.jsx)("div",{children:t.button()}),void 0!==t.children&&t.children.length>0?(0,W.jsx)("div",{className:"main-nav__list-detail",children:(0,W.jsx)("div",{className:"main-nav__list-detail-scroll-container",children:(0,W.jsx)("div",{className:"main-nav__list-detail-scroll",children:(0,W.jsx)("ul",{className:`main-nav__list main-nav__list--level-${o+1}`,children:null==(r=t.children)?void 0:r.map((e,t)=>d(e,`${n}-${t}`,o))})})})}):null]},t.path)},c=(0,G.useRef)(null),m=e=>{null===c.current||c.current.contains(e.target)||a(!1)},u=(0,G.useRef)(null);return(0,G.useEffect)(()=>{if(r&&(document.addEventListener("click",m),null!==u.current)){let e=Array.from(document.querySelectorAll(".main-nav__list")).reduce((e,t)=>Math.max(e,t.scrollHeight),0);u.current.style.height=`${e}px`}return()=>{document.removeEventListener("click",m)}},[r]),(0,W.jsxs)("div",{ref:c,children:[(0,W.jsx)(iP.h,{icon:{value:"menu"},onClick:()=>{a(!r)},type:"text"}),(0,W.jsx)(rb.AnimatePresence,{children:(0,W.jsx)(rb.motion.div,{animate:{opacity:1},exit:{opacity:0},initial:{opacity:+!r},children:r?(0,W.jsxs)("div",{className:["main-nav",t.mainNav].join(" "),children:[(0,W.jsx)("ul",{className:"main-nav__list main-nav__list--level-0",ref:u,children:n.map((e,t)=>d(e,`${t}`))}),(0,W.jsx)(q.Divider,{className:"main-nav__divider"}),(0,W.jsx)(rI,{setIsOpen:a})]}):null},r?"open":"closed")})]})},r_=(0,G.createContext)(void 0),rz=e=>{let[t,n]=(0,G.useState)(!1);return(0,G.useMemo)(()=>(0,W.jsx)(r_.Provider,{value:{open:t,setOpen:n},children:e.children}),[t])},rO=()=>{let e=(0,G.useContext)(r_);if(void 0===e)throw Error("useSearch must be used within a SearchProvider");return{isOpen:e.open,open:()=>{e.setOpen(!0)},close:()=>{e.setOpen(!1)}}},rP=()=>{let{open:e}=rO();return(0,W.jsx)(iP.h,{icon:{value:"search"},onClick:()=>{e()},type:"text"})};var rV=n(28590);let rA=(0,G.createContext)({searchTerm:""}),rB=e=>{let{searchTerm:t,children:n}=e;return(0,G.useMemo)(()=>(0,W.jsx)(rA.Provider,{value:{searchTerm:t},children:n}),[t,n])},rR=()=>(0,G.useContext)(rA);var rN=n(51863);rN.hi.enhanceEndpoints({endpoints:{simpleSearchGet:{keepUnusedDataFor:5}}});let{useSimpleSearchGetQuery:rF}=rN.hi;var rH=n(77),rW=n(58793),rG=n.n(rW),r$=n(41479);let rU=e=>{let{item:t,active:n,...i}=e,{icon:r,path:a}=t,{openElement:s}=(0,rH.f)(),{close:o}=rO(),l=rG()("hover",{active:!0===n});return(0,W.jsx)(td.x,{...i,className:l,onClick:()=>{s({id:t.id,type:t.elementType}),o()},padding:"mini",children:(0,W.jsxs)(tf.k,{align:"center",gap:"mini",children:[(0,W.jsx)(tL.J,{...r}),(0,W.jsx)(r$.Q,{ellipsis:!n,value:a})]})})};var rq=n(7702),rJ=n(3653),rZ=n(34188),rK=n(30225),rQ=n(15391);let rX=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{keyValueList:n` - border: 0; - border-collapse: collapse; - - tr td { - padding: ${t.Table.cellPaddingBlockSM}px; - border: 0; - border-bottom: 1px solid ${t.colorBorderSecondary}; - - &:first-child { - min-width: 100px; - } - } - - tr:last-of-type td { - border-bottom: 0; - } - `}}),rY=["creationDate","modificationDate"],r0=["documentData","objectData"],r1=e=>{let{items:t,skipEmpty:n=!0}=e,{t:i}=(0,eH.useTranslation)(),{styles:r}=rX(),a=[],s=e=>n&&((0,rK.O)(e)||(0,tD.isEqual)(e,!1));t.forEach(e=>{if(!s(null==e?void 0:e.value))if(r0.includes(e.key)){if((0,tD.isObject)(e.value)){let t=n=>{Object.entries(n).forEach(n=>{let[i,r]=n;s(r)||((0,tD.isObject)(r)?t(r):a.push({key:i,value:r,withoutTranslate:"objectData"===e.key}))})};t(e.value)}}else a.push(e)});let o=e=>{let t=null==e?void 0:e.value;return rY.includes(e.key)&&!(0,tD.isObject)(null==e?void 0:e.value)&&(t=(0,rQ.o0)({timestamp:(null==e?void 0:e.value)??null,dateStyle:"short",timeStyle:"short"})),(0,W.jsxs)("tr",{children:[(0,W.jsx)("td",{children:(0,W.jsx)(rZ.x,{children:(null==e?void 0:e.withoutTranslate)===!0?e.key:i(`modal-search.field.${e.key}`)})}),(0,W.jsx)("td",{children:(0,W.jsx)(rZ.x,{children:0===t?t:(0,W.jsx)(tv.Z,{html:t??""})})})]},e.key)};return(0,W.jsx)("table",{className:r.keyValueList,children:a.map(e=>o(e))})};var r3=n(15688),r2=n(342),r6=n(72667),r4=n(4602);let r8=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{detailContent:n` - max-height: 400px; - `,searchResultImage:n` - min-height: 100px; - max-height: 200px; - `,searchResultDocument:n` - iframe { - width: 100%; - height: 100%; - } - `}}),r7=["elementType","type"],r5=["image","video","document"],r9=e=>{let{item:t}=e,{id:n,elementType:i}=t,{isError:r,error:a,isLoading:s,data:o}=(0,rN.pg)({id:n,elementType:(0,r3.PM)(i)}),{styles:l}=r8();if((0,G.useEffect)(()=>{r&&(0,eQ.ZP)(new eQ.MS(a))},[r]),s)return(0,W.jsx)(iH.V,{loading:!0});if(r||void 0!==a)return(0,W.jsx)(iH.V,{none:!0,noneOptions:{text:"data not available"}});let{additionalAttributes:d,...c}=o,m=Object.entries(c).filter(e=>{let[t]=e;return!r7.includes(t)}).map(e=>{let[t,n]=e;return{key:t,value:n}});return(0,W.jsxs)(iH.V,{className:l.detailContent,children:[(()=>{let e=null==t?void 0:t.type,n=null==t?void 0:t.path;return r5.includes(e)&&!(0,rK.O)(n)?(0,W.jsxs)(tf.k,{justify:"center",children:["image"===e&&(0,W.jsx)(r2.E,{className:l.searchResultImage,preview:!1,src:n}),"video"===e&&(0,W.jsx)(r6.o,{sources:[{src:n}],width:250}),"document"===e&&(0,W.jsx)(r4.s,{className:l.searchResultDocument,src:n})]}):null})(),(0,W.jsx)(r1,{items:m})]})},ae=()=>(0,W.jsx)(iH.V,{children:(0,W.jsx)(tf.k,{align:"center",className:"h-full w-full",justify:"center",children:(0,W.jsx)(rq.d,{text:"No item selected"})})}),at=e=>{let{item:t}=e,n=void 0!==t;return(0,G.useMemo)(()=>n?(0,W.jsx)(r9,{item:t}):(0,W.jsx)(ae,{}),[t])},an=()=>{let{searchTerm:e}=rR(),[t,n]=(0,G.useState)(1),[i,r]=(0,G.useState)(20),[a,s]=(0,G.useState)(void 0),[o,l]=(0,G.useState)(void 0),{isLoading:d,isError:c,error:m,data:u}=rF({searchTerm:e,page:t,pageSize:i});(0,G.useEffect)(()=>{let e=setTimeout(()=>{s(o)},333);return()=>{clearTimeout(e)}},[o]),(0,G.useEffect)(()=>{n(1),s(void 0)},[e]),(0,G.useEffect)(()=>{c&&(0,eQ.ZP)(new eQ.MS(m))},[c]);let p=(e,t)=>{n(e),r(t),s(void 0)},h=e=>{l(e)},g=()=>{l(a)},x=e=>(null==a?void 0:a.id)===e.id&&(null==a?void 0:a.elementType)===e.elementType;return(0,G.useMemo)(()=>d?(0,W.jsx)(iH.V,{loading:!0}):(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)("div",{}),(0,W.jsx)(rJ.K,{leftItem:{size:750,children:(0,W.jsx)(iH.V,{overflow:{x:"hidden",y:"auto"},padded:!0,padding:{left:"none",right:"none",y:"none"},style:{height:400},children:(0,W.jsxs)(tf.k,{className:"w-full h-full",gap:0,vertical:!0,children:[null==u?void 0:u.items.map(e=>(0,W.jsx)(rU,{active:x(e),item:e,onMouseEnter:()=>{h(e)},onMouseLeave:()=>{g()}},`${e.id}-${e.elementType}`)),(null==u?void 0:u.items.length)===0&&(0,W.jsx)(tf.k,{align:"center",className:"w-full h-full",gap:"mini",justify:"center",vertical:!0,children:(0,W.jsx)(rq.d,{text:"No results found"})})]})})},rightItem:{size:250,minSize:250,maxSize:250,children:(0,W.jsx)(at,{item:a})},withDivider:!0}),(0,W.jsx)(iF.o,{theme:"secondary",children:(0,W.jsx)(iB.t,{onChange:p,pageSizeOptions:[10,20,50,100],showSizeChanger:!0,showTotal:e=>`Total ${e} items`,total:(null==u?void 0:u.totalItems)??0})})]}),[u,a,d])},ai=()=>{let[e,t]=(0,G.useState)(""),[n,i]=(0,G.useState)("");return(0,G.useEffect)(()=>{let e=setTimeout(()=>{t(n)},500);return()=>{clearTimeout(e)}},[n]),(0,W.jsx)(iW.D,{renderTopBar:(0,W.jsx)(iF.o,{padding:{left:"none",right:"none"},position:"top",theme:"secondary",children:(0,W.jsx)(iG.M,{maxWidth:"100%",onChange:e=>{i(e.target.value)},onSearch:e=>{i(e)},value:n})}),children:(0,W.jsx)(rB,{searchTerm:e,children:(0,W.jsx)(an,{})})})};var ar=n(46082),aa=n(76396),as=n(99911),ao=n(24391),al=n(89260),ad=n(44835),ac=n(55714),am=n(94780),au=n(32221),ap=n(28863),ah=n(5657),ag=n(78215),ax=n(86641),aj=n(40877),av=n(275);let ay=()=>(0,W.jsx)(iF.o,{borderStyle:"default",padding:{left:"none",right:"none"},position:"top",theme:"secondary",children:(0,W.jsxs)(tf.k,{className:"w-full",gap:"small",children:[(0,W.jsx)(aj.C,{}),(0,W.jsx)(av.U,{})]})});var af=n(14542),aw=n(9705),ab=n(692);let aC=()=>(0,W.jsx)(iF.o,{borderStyle:"default",padding:{right:"none",left:"none"},theme:"secondary",children:(0,W.jsx)(tf.k,{className:"w-full",gap:"small",justify:"space-between",children:(0,W.jsxs)(iN.P,{size:"extra-small",children:[(0,W.jsx)(af.q,{}),(0,W.jsx)(aw.s,{}),(0,W.jsx)(ab.t,{})]})})});var ak=n(91306);let aT=(e,t)=>()=>{let{getGridProps:n,...i}=e(),{openElement:r}=(0,rH.f)(),{close:a}=rO();return{...i,getGridProps:()=>({...n(),onRowDoubleClick:e=>{let{id:n}=e.original,{elementType:i}=t;r({id:n,type:i}),a()}})}},aD={...al.l,ViewComponent:()=>{let{dataQueryResult:e}=(0,ah.e)();return(0,G.useMemo)(()=>(0,W.jsxs)(W.Fragment,{children:[void 0===e&&(0,W.jsx)(iH.V,{loading:!0}),void 0!==e&&(0,W.jsx)(iW.D,{renderToolbar:(0,W.jsx)(aC,{}),renderTopBar:(0,W.jsx)(ay,{}),children:(0,W.jsx)(iW.D,{renderSidebar:(0,W.jsx)(ag.Y,{}),children:(0,W.jsx)(ax.T,{})})})]}),[e])},useDataQuery:rN.HU,useDataQueryHelper:ar.$,useElementId:as.u},aS=(0,au.q)(ac.L,ap.g,aa.p,[ad.o,{handleSearchTermInSidebar:!1}],[ak.V,{elementType:rV.a.asset}],am.y,[(e,t)=>{let{useGridOptions:n,...i}=e;if(void 0===t)throw Error("OpenElementDecorator requires an elementType prop");return{...i,useGridOptions:aT(n,t)}},{elementType:rV.a.asset}])(aD),aM=()=>(0,W.jsx)(ao.d,{serviceIds:["DynamicTypes/GridCellRegistry","DynamicTypes/MetadataRegistry","DynamicTypes/ListingRegistry"],children:(0,W.jsx)(al.p,{...aS})}),aL=()=>(0,W.jsx)(iH.V,{style:{height:"65vh"},children:(0,W.jsx)(aM,{})});var aI=n(32278);let aE=()=>(0,W.jsx)(iF.o,{borderStyle:"default",padding:{left:"none",right:"none"},position:"top",theme:"secondary",children:(0,W.jsxs)(q.Flex,{className:"w-full",gap:"small",children:[(0,W.jsx)(aj.C,{}),(0,W.jsx)(aI.i,{nullable:!0}),(0,W.jsx)(av.U,{})]})}),a_=()=>(0,W.jsx)(iF.o,{borderStyle:"default",padding:{right:"none",left:"none"},theme:"secondary",children:(0,W.jsx)(tf.k,{className:"w-full",gap:"small",justify:"space-between",children:(0,W.jsxs)(iN.P,{size:"extra-small",children:[(0,W.jsx)(af.q,{}),(0,W.jsx)(aw.s,{}),(0,W.jsx)(ab.t,{})]})})}),az=(e,t)=>()=>{let{getGridProps:n,...i}=e(),{openElement:r}=(0,rH.f)(),{close:a}=rO();return{...i,getGridProps:()=>({...n(),onRowDoubleClick:e=>{let{id:n}=e.original,{elementType:i}=t;r({id:n,type:i}),a()}})}};var aO=n(89320),aP=n(2024),aV=n(82360);let aA={...al.l,ViewComponent:()=>{let{dataQueryResult:e}=(0,ah.e)();return(0,G.useMemo)(()=>(0,W.jsxs)(W.Fragment,{children:[void 0===e&&(0,W.jsx)(iH.V,{loading:!0}),void 0!==e&&(0,W.jsx)(iW.D,{renderToolbar:(0,W.jsx)(a_,{}),renderTopBar:(0,W.jsx)(aE,{}),children:(0,W.jsx)(iW.D,{renderSidebar:(0,W.jsx)(ag.Y,{}),children:(0,W.jsx)(ax.T,{})})})]}),[e])},useDataQuery:rN.JM,useDataQueryHelper:aO.$,useElementId:as.u},aB=(0,au.q)(ac.L,aV.F,aa.p,[ad.o,{handleSearchTermInSidebar:!1}],am.y,[aP.F,{showConfigLayer:!1}],[(e,t)=>{let{useGridOptions:n,...i}=e;if(void 0===t)throw Error("OpenElementDecorator requires an elementType prop");return{...i,useGridOptions:az(n,t)}},{elementType:rV.a.dataObject}],[ak.V,{elementType:rV.a.dataObject}])(aA),aR=()=>(0,W.jsx)(ao.d,{serviceIds:["DynamicTypes/GridCellRegistry","DynamicTypes/ListingRegistry"],children:(0,W.jsx)(al.p,{...aB})}),aN=()=>(0,W.jsx)(iH.V,{style:{height:"65vh"},children:(0,W.jsx)(aR,{})}),aF=()=>{let{isOpen:e,close:t}=rO(),n=[{label:"All",key:"all",children:(0,W.jsx)(ai,{})},{label:"Assets",key:rV.a.asset,children:(0,W.jsx)(aL,{})},{label:"Data Objects",key:rV.a.dataObject,children:(0,W.jsx)(aN,{})}];return(0,W.jsx)(W.Fragment,{children:e&&(0,W.jsx)(iT.u,{closable:!0,footer:null,onCancel:()=>{t()},open:e,size:"XL",children:(0,W.jsx)(tu.m,{items:n,noTabBarMargin:!0})})})},aH=()=>(0,W.jsxs)(rz,{children:[(0,W.jsx)(rP,{}),(0,W.jsx)(aF,{})]});b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["App/ComponentRegistry/ComponentRegistry"]);e.registerToSlot("leftSidebar.slot",{name:"mainNav",priority:100,component:rE}),e.registerToSlot("leftSidebar.slot",{name:"search",priority:200,component:aH})}});var aW=((r={}).ToolsHidden="extras.hidden",r.NotesAndEvents="extras.notesEvents",r.FileHidden="file.hidden",r.OpenDocument="file.open_document",r.OpenObject="file.open_object",r.OpenAsset="file.open_asset",r.SettingsHidden="settings.hidden",r.TagConfiguration="settings.tagConfiguration",r.PredefinedProperties="settings.predefinedProperties",r.UsersHidden="settings.users_hidden",r.Users="settings.users_users",r.Roles="settings.users_roles",r);b._.registerModule({onInit:()=>{let e=C.nC.get(H.j.mainNavRegistry);e.registerMainNavItem({path:"File",label:"navigation.file",icon:"document",perspectivePermissionHide:aW.FileHidden}),e.registerMainNavItem({path:"Settings",label:"navigation.settings",icon:"menu",perspectivePermissionHide:aW.SettingsHidden}),e.registerMainNavItem({path:"Tools",label:"navigation.tools",icon:"accessory",perspectivePermissionHide:aW.ToolsHidden})}});let aG=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M10.42 5.088c-.263-.264-.395-.396-.445-.549a.67.67 0 0 1 0-.412c.05-.152.182-.284.446-.548l1.892-1.892A4 4 0 0 0 6.78 6.284c.08.325.12.489.112.592a.6.6 0 0 1-.073.26c-.047.092-.138.183-.32.365l-4.166 4.166a1.414 1.414 0 0 0 2 2L8.5 9.5c.182-.182.273-.273.364-.32a.6.6 0 0 1 .261-.073c.103-.007.267.032.593.112q.457.112.95.113a4 4 0 0 0 3.646-5.646l-1.892 1.892c-.264.264-.396.396-.548.446a.67.67 0 0 1-.412 0c-.153-.05-.285-.182-.549-.446z"})}),a$=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"m8.667 4.667-.744-1.488c-.214-.428-.321-.642-.48-.798a1.3 1.3 0 0 0-.499-.308C6.733 2 6.494 2 6.014 2H3.468c-.747 0-1.12 0-1.406.145-.25.128-.454.332-.582.583-.146.285-.146.659-.146 1.405v.534m0 0h10.134c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874c.218.428.218.988.218 2.108V10.8c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874c-.428.218-.988.218-2.108.218H4.533c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874c-.218-.428-.218-.988-.218-2.108zm9 7-1-1M10 9a2.333 2.333 0 1 1-4.667 0A2.333 2.333 0 0 1 10 9"})}),aU=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m8.667 4.667-.744-1.488c-.214-.428-.321-.642-.48-.798a1.3 1.3 0 0 0-.499-.308C6.733 2 6.494 2 6.014 2H3.468c-.747 0-1.12 0-1.406.145-.25.128-.454.332-.582.583-.146.285-.146.659-.146 1.405v.534m0 0h10.134c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874c.218.428.218.988.218 2.108V10.8c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874c-.428.218-.988.218-2.108.218H4.533c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874c-.218-.428-.218-.988-.218-2.108zM8 11.333v-4m-2 2h4"})}),aq=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M8.333 2H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 3.52 2 4.08 2 5.2v5.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 14 4.08 14 5.2 14h6.133c.62 0 .93 0 1.185-.068a2 2 0 0 0 1.414-1.414c.068-.255.068-.565.068-1.185m-1.333-6v-4m-2 2h4M7 5.667a1.333 1.333 0 1 1-2.667 0 1.333 1.333 0 0 1 2.667 0m2.993 2.278-5.639 5.127c-.317.288-.476.433-.49.558a.33.33 0 0 0 .111.287c.095.083.31.083.738.083h6.258c.96 0 1.439 0 1.816-.161a2 2 0 0 0 1.052-1.052C14 12.41 14 11.93 14 10.97c0-.323 0-.485-.035-.635a1.3 1.3 0 0 0-.25-.518c-.095-.122-.22-.223-.473-.424l-1.865-1.492c-.252-.202-.378-.303-.517-.339a.67.67 0 0 0-.372.012c-.136.044-.256.153-.495.37"})}),aJ=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M13.667 4.852 8 8m0 0L2.333 4.852M8 8v6.333m1.333-.407-.815.453c-.189.105-.284.157-.384.178a.7.7 0 0 1-.268 0c-.1-.02-.195-.073-.384-.178l-4.933-2.74c-.2-.112-.3-.167-.373-.246a.7.7 0 0 1-.142-.243C2 11.048 2 10.934 2 10.706V5.294c0-.228 0-.342.034-.444a.7.7 0 0 1 .142-.243c.073-.079.173-.134.373-.245l4.933-2.74c.189-.106.284-.158.384-.179a.7.7 0 0 1 .268 0c.1.02.195.073.384.178l4.933 2.74c.2.112.3.167.373.246q.097.107.142.243c.034.102.034.216.034.444v3.04M5 3l6 3.333M12.667 14v-4m-2 2h4"})}),aZ=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m14.667 14.667-1-1m1-7H1.333M14.667 8V5.467c0-.747 0-1.12-.146-1.406a1.33 1.33 0 0 0-.582-.582c-.286-.146-.659-.146-1.406-.146H3.467c-.747 0-1.12 0-1.406.146-.25.127-.455.331-.582.582-.146.286-.146.659-.146 1.406v5.066c0 .747 0 1.12.146 1.406.127.25.331.454.582.582.286.146.659.146 1.406.146H7M14.333 12a2.333 2.333 0 1 1-4.666 0 2.333 2.333 0 0 1 4.666 0"})}),aK=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M8 10.333H5c-.93 0-1.396 0-1.774.115a2.67 2.67 0 0 0-1.778 1.778c-.115.378-.115.844-.115 1.774m11.334 0v-4m-2 2h4m-5-7a3 3 0 1 1-6 0 3 3 0 0 1 6 0"})}),aQ=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{d:"M8 1.333a6.667 6.667 0 1 0 0 13.334A6.667 6.667 0 0 0 8 1.333m0 10A.667.667 0 1 1 8 10a.667.667 0 0 1 0 1.334m.667-2.666a.667.667 0 0 1-1.334 0V5.333a.667.667 0 1 1 1.334 0z"})}),aX=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{d:"M8.804 3.47a.75.75 0 0 1 1.003-.052l.057.052 4 4 .051.057a.75.75 0 0 1-.05 1.003l-4 4a.75.75 0 0 1-1.061-1.06l2.72-2.72H2.666a.75.75 0 0 1 0-1.5h8.856l-2.72-2.72-.051-.056a.75.75 0 0 1 .052-1.004"})}),aY=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M2 6.667a2 2 0 0 1 2-2v0a2 2 0 0 0 1.6-.8l.3-.4a2 2 0 0 1 1.6-.8h1a2 2 0 0 1 1.6.8l.3.4a2 2 0 0 0 1.6.8v0a2 2 0 0 1 2 2v4.666a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2z"}),(0,W.jsx)("circle",{cx:8,cy:8.667,r:2.667,stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4})]}),a0=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M11.667 3.504V11a3.667 3.667 0 0 1-7.334 0V3.778a2.444 2.444 0 0 1 4.89 0v7.186a1.222 1.222 0 1 1-2.445 0v-6.53"})}),a1=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M13.165 3.333A7.96 7.96 0 0 1 14.667 8a7.96 7.96 0 0 1-1.502 4.667m-2.668-7.334c.527.756.836 1.675.836 2.667s-.309 1.91-.836 2.667M6.423 2.91l-2.11 2.11c-.116.116-.174.174-.24.215a.7.7 0 0 1-.194.08c-.076.018-.158.018-.32.018H2.4c-.373 0-.56 0-.703.073a.67.67 0 0 0-.291.291c-.073.143-.073.33-.073.703v3.2c0 .373 0 .56.073.703a.67.67 0 0 0 .291.291c.143.073.33.073.703.073h1.158c.163 0 .245 0 .321.018a.7.7 0 0 1 .193.08c.067.041.125.099.24.214l2.11 2.11c.286.286.43.429.552.439a.33.33 0 0 0 .28-.116c.08-.094.08-.296.08-.7V3.288c0-.404 0-.606-.08-.7a.33.33 0 0 0-.28-.116c-.123.01-.266.153-.551.438"})}),a3=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M8.667 1.333 2.729 8.46c-.233.279-.349.418-.35.536-.002.102.043.2.123.264.092.074.273.074.637.074H8l-.667 5.334 5.938-7.126c.233-.279.349-.418.35-.536a.33.33 0 0 0-.123-.264c-.092-.074-.273-.074-.637-.074H8z"})}),a2=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M6.167 2.667v10.666M9.833 2.667v10.666m-7.166-3.5h10.666M2.667 6.167h10.666m-8.666 7.166h6.666a2 2 0 0 0 2-2V4.667a2 2 0 0 0-2-2H4.667a2 2 0 0 0-2 2v6.666a2 2 0 0 0 2 2"})}),a6=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8 1.667V8m0 0 5.667-3.148M8 8 2.333 4.852M8 8v6.333m5.667-3.185-5.149-2.86c-.189-.105-.284-.158-.384-.178a.7.7 0 0 0-.268 0c-.1.02-.195.073-.384.178l-5.149 2.86M14 10.706V5.294c0-.228 0-.342-.034-.444a.7.7 0 0 0-.142-.243c-.073-.079-.173-.134-.373-.245l-4.933-2.74c-.189-.106-.284-.158-.384-.179a.7.7 0 0 0-.268 0c-.1.02-.195.073-.384.178l-4.933 2.74c-.2.112-.3.167-.373.246a.7.7 0 0 0-.142.243C2 4.952 2 5.066 2 5.294v5.412c0 .228 0 .342.034.444q.045.136.142.243c.073.079.173.134.373.245l4.933 2.74c.189.106.284.158.384.179q.134.027.268 0c.1-.02.195-.073.384-.178l4.933-2.74c.2-.112.3-.167.373-.246a.7.7 0 0 0 .142-.243c.034-.102.034-.216.034-.444"})}),a4=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M3.333 5.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C4.853 2 5.413 2 6.533 2h2.934c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874c.218.428.218.988.218 2.108V14L8 11.333 3.333 14z"})}),a8=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M12 6.667V2.4c0-.373 0-.56-.073-.703a.67.67 0 0 0-.291-.291c-.143-.073-.33-.073-.703-.073H5.067c-.374 0-.56 0-.703.073a.67.67 0 0 0-.291.291C4 1.84 4 2.027 4 2.4v4.267m8 0H4m8 0V6.8c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874C10.48 10 9.92 10 8.8 10H7.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C4 8.48 4 7.92 4 6.8v-.133M9.667 10v3a1.667 1.667 0 1 1-3.334 0v-3"})}),a7=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m11.667 4.333-7.334 7.334M5.667 7V4.333M4.333 5.667H7m2 4.666h2.667M5.2 14h5.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C14 12.48 14 11.92 14 10.8V5.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C12.48 2 11.92 2 10.8 2H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 3.52 2 4.08 2 5.2v5.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 14 4.08 14 5.2 14"})}),a5=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M14 6.667H2m8.667-5.334V4M5.333 1.333V4M5.2 14.667h5.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874c.218-.428.218-.988.218-2.108v-5.6c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874c-.428-.218-.988-.218-2.108-.218H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 4.186 2 4.747 2 5.867v5.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.428.218.988.218 2.108.218"})}),a9=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M3.333 8.667h2M1.333 6l1.334.667.847-2.542c.175-.524.262-.786.424-.98.143-.172.327-.304.535-.386.235-.092.512-.092 1.065-.092h4.924c.553 0 .83 0 1.065.092.208.082.392.214.535.386.162.194.25.456.424.98l.847 2.542L14.667 6m-4 2.667h2m-8.134-2h6.934c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874c.218.428.218.988.218 2.108v1.8c0 .31 0 .464-.026.593a1.33 1.33 0 0 1-1.047 1.048c-.13.025-.284.025-.594.025h-.333A1.333 1.333 0 0 1 11.333 12a.333.333 0 0 0-.333-.333H5a.333.333 0 0 0-.333.333c0 .736-.597 1.333-1.334 1.333H3c-.31 0-.465 0-.593-.025a1.33 1.33 0 0 1-1.048-1.048c-.026-.129-.026-.284-.026-.593v-1.8c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874c.428-.218.988-.218 2.108-.218"})}),se=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m8 14-.067-.1c-.463-.695-.694-1.042-1-1.293a2.7 2.7 0 0 0-.919-.492C5.635 12 5.218 12 4.384 12h-.917c-.747 0-1.12 0-1.406-.145a1.33 1.33 0 0 1-.582-.583c-.146-.285-.146-.659-.146-1.405V4.133c0-.746 0-1.12.146-1.405.127-.25.331-.455.582-.583C2.347 2 2.72 2 3.467 2h.266c1.494 0 2.24 0 2.81.29.503.256.91.664 1.166 1.166C8 4.026 8 4.773 8 6.266M8 14V6.267M8 14l.067-.1c.463-.695.694-1.042 1-1.293.271-.223.583-.39.919-.492.378-.115.796-.115 1.63-.115h.917c.747 0 1.12 0 1.406-.145.25-.128.454-.332.582-.583.146-.285.146-.659.146-1.405V4.133c0-.746 0-1.12-.146-1.405a1.33 1.33 0 0 0-.582-.583C13.653 2 13.28 2 12.533 2h-.266c-1.494 0-2.24 0-2.811.29-.502.256-.91.664-1.165 1.166C8 4.026 8 4.773 8 6.266"})}),st=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{d:"M14.667 12.2v-1.533c0-.4-.267-.667-.667-.667h-1.333V8.467c.4-.2.666-.667.666-1.134C13.333 6.6 12.733 6 12 6c-.467 0-.933.267-1.133.667h-2.2V5.2c.8-.267 1.333-1 1.333-1.867 0-1.133-.867-2-2-2s-2 .867-2 2c0 .867.533 1.6 1.333 1.867v1.467h-2.2C4.933 6.267 4.467 6 4 6c-.733 0-1.333.6-1.333 1.333 0 .467.266.934.666 1.134V10H2c-.4 0-.667.267-.667.667V12.2c-.4.2-.666.667-.666 1.133 0 .734.6 1.334 1.333 1.334s1.333-.6 1.333-1.334c0-.466-.266-.933-.666-1.133v-.867h2.666v.867c-.4.2-.666.667-.666 1.133 0 .734.6 1.334 1.333 1.334s1.333-.6 1.333-1.334c0-.466-.266-.933-.666-1.133v-1.533c0-.4-.267-.667-.667-.667H4.667V8.467c.2-.134.333-.267.466-.467h5.734c.133.2.266.333.466.467V10H10c-.4 0-.667.267-.667.667V12.2c-.4.2-.666.667-.666 1.133 0 .734.6 1.334 1.333 1.334s1.333-.6 1.333-1.334c0-.466-.266-.933-.666-1.133v-.867h2.666v.867c-.4.2-.666.667-.666 1.133 0 .734.6 1.334 1.333 1.334s1.333-.6 1.333-1.334c0-.466-.266-.933-.666-1.133M8 4c-.4 0-.667-.267-.667-.667S7.6 2.667 8 2.667s.667.266.667.666S8.4 4 8 4"})}),sn=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M14.667 14v-1.333c0-1.243-.85-2.287-2-2.583m-2.334-7.89a2.668 2.668 0 0 1 0 4.945m1 6.861c0-1.242 0-1.864-.203-2.354a2.67 2.67 0 0 0-1.443-1.443C9.197 10 8.576 10 7.333 10h-2c-1.242 0-1.863 0-2.354.203-.653.27-1.172.79-1.443 1.443-.203.49-.203 1.111-.203 2.354M9 4.667a2.667 2.667 0 1 1-5.333 0 2.667 2.667 0 0 1 5.333 0"})}),si=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m5.727 9.007 4.553 2.653m-.007-7.32L5.727 6.993M14 3.333a2 2 0 1 1-4 0 2 2 0 0 1 4 0M6 8a2 2 0 1 1-4 0 2 2 0 0 1 4 0m8 4.667a2 2 0 1 1-4 0 2 2 0 0 1 4 0"})}),sr=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#check-circle_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m5 8 2 2 4-4m3.667 2A6.667 6.667 0 1 1 1.333 8a6.667 6.667 0 0 1 13.334 0"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"check-circle_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),sa=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m6 7.333 2 2 6.667-6.666m-4-.667H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 3.52 2 4.08 2 5.2v5.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 14 4.08 14 5.2 14h5.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C14 12.48 14 11.92 14 10.8V8"})}),ss=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{d:"M8 1.333a6.667 6.667 0 1 0 0 13.334A6.667 6.667 0 0 0 8 1.333m2.867 5.074-3.047 4a.667.667 0 0 1-1.053.006L5.14 8.34a.667.667 0 0 1 1.053-.82L7.28 8.907 9.8 5.573a.67.67 0 1 1 1.067.814z"})}),so=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 18 18",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m4.5 6.75 4.5 4.5 4.5-4.5"})}),sl=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 18 18",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M11.25 13.5 6.75 9l4.5-4.5"})}),sd=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 18 18",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m6.75 13.5 4.5-4.5-4.5-4.5"})}),sc=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M6 4.667 2.667 8 6 11.333m4-6.666L13.333 8 10 11.333"})}),sm=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 18 18",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M13.5 11.25 9 6.75l-4.5 4.5"})}),su=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M5 8h.007M11 8h.007M8 8h.007M8 11h.007M8 5h.007M2 5.2v5.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 14 4.08 14 5.2 14h5.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C14 12.48 14 11.92 14 10.8V5.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C12.48 2 11.92 2 10.8 2H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 3.52 2 4.08 2 5.2"})}),sp=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{d:"M8 1.333a6.667 6.667 0 1 0 0 13.334A6.667 6.667 0 0 0 8 1.333M9.807 8.86a.667.667 0 0 1-.217 1.093.67.67 0 0 1-.73-.146L8 8.94l-.86.867a.667.667 0 0 1-1.093-.217.67.67 0 0 1 .146-.73L7.06 8l-.867-.86a.67.67 0 0 1 .947-.947L8 7.06l.86-.867a.67.67 0 0 1 .947.947L8.94 8z"})}),sh=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#close_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m12 4-8 8m0-8 8 8"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"close_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),sg=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M1.333 9.333h13.334M5.333 14h5.334m-6.134-2h6.934c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874c.218-.428.218-.988.218-2.108V5.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C13.147 2 12.587 2 11.467 2H4.533c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874c-.218.428-.218.988-.218 2.108v3.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.428.218.988.218 2.108.218"})}),sx=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"M4 6.667h.007m1.326 2.666h.007m1.327-2.666h.006M8 9.333h.007m1.326-2.666h.007m1.327 2.666h.006M12 6.667h.007M3.467 12h9.066c.747 0 1.12 0 1.406-.145.25-.128.454-.332.582-.583.146-.285.146-.659.146-1.405V6.133c0-.746 0-1.12-.146-1.405a1.33 1.33 0 0 0-.582-.583C13.653 4 13.28 4 12.533 4H3.467c-.747 0-1.12 0-1.406.145-.25.128-.454.332-.582.583-.146.285-.146.659-.146 1.405v3.734c0 .746 0 1.12.146 1.405.127.25.331.455.582.583.286.145.659.145 1.406.145"})}),sj=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"M4.533 2h-.4c-.746 0-1.12 0-1.405.145-.25.128-.455.332-.583.583C2 3.013 2 3.387 2 4.133v7.734c0 .746 0 1.12.145 1.405.128.25.332.455.583.583.285.145.659.145 1.405.145h.4c.747 0 1.12 0 1.406-.145.25-.128.455-.332.582-.583.146-.285.146-.659.146-1.405V4.133c0-.746 0-1.12-.146-1.405a1.33 1.33 0 0 0-.582-.583C5.653 2 5.28 2 4.533 2M11.867 2h-.4c-.747 0-1.12 0-1.406.145-.25.128-.455.332-.582.583-.146.285-.146.659-.146 1.405v7.734c0 .746 0 1.12.146 1.405.127.25.331.455.582.583.286.145.659.145 1.406.145h.4c.746 0 1.12 0 1.405-.145.25-.128.455-.332.583-.583.145-.285.145-.659.145-1.405V4.133c0-.746 0-1.12-.145-1.405a1.33 1.33 0 0 0-.583-.583C12.987 2 12.613 2 11.867 2"})}),sv=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{d:"M7.334 11.334H2.667a1.333 1.333 0 0 1-1.333-1.333V2A1.333 1.333 0 0 1 2.667.668h8V2h-8v8h4.667V8.668l2.666 2-2.666 2zm5.333 2.667V4.668H5.334v4H4v-4a1.333 1.333 0 0 1 1.334-1.334h7.333A1.333 1.333 0 0 1 14 4.668V14a1.333 1.333 0 0 1-1.333 1.333H5.334A1.333 1.333 0 0 1 4 14.001v-1.333h1.334V14z"})}),sy=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M3.333 4.667h9.334M3.333 8h9.334M3.333 11.333H8"})}),sf=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{fill:"#000",stroke:"currentColor",strokeWidth:.1,d:"m2.579 6.778-.006.008a.7.7 0 0 0-.117.274c-.016.094 0 .19.058.284l.547 1.688a.58.58 0 0 0 .543.431h.249q.153.232.329.445.242.385.563.7a5.2 5.2 0 0 0-1.711 3.338c-.036.335.24.604.57.604.333 0 .593-.27.636-.591a3.95 3.95 0 0 1 1.526-2.626 3.8 3.8 0 0 0 1.685.39h1.098c.6 0 1.162-.138 1.666-.38a3.96 3.96 0 0 1 1.543 2.616c.046.321.305.591.638.591.33 0 .606-.269.57-.604a5.1 5.1 0 0 0-1.727-3.322q.33-.321.58-.716.175-.213.328-.445h.249a.58.58 0 0 0 .543-.431l.547-1.688a.4.4 0 0 0 .058-.284.7.7 0 0 0-.117-.274h.001l-.007-.008c-.103-.105-.259-.219-.426-.238C12.971 3.71 10.761 1.45 8 1.45S3.03 3.71 3.005 6.54c-.167.02-.323.133-.426.238ZM8 2.68c1.843 0 3.354 1.316 3.711 3.097a2.73 2.73 0 0 0-2.063-.936H6.352c-.83 0-1.557.362-2.064.936C4.646 3.997 6.157 2.68 8 2.68Zm1.648 3.392c.906 0 1.599.71 1.599 1.645 0 .386-.074.75-.207 1.08H8.55c-.362 0-.6.31-.6.616 0 .369.3.615.6.615h1.254A3.73 3.73 0 0 1 5.16 9.19a2.84 2.84 0 0 1-.408-1.472c0-.934.693-1.645 1.599-1.645z"})}),sw=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"M10.667 2.667c.62 0 .93 0 1.184.068a2 2 0 0 1 1.414 1.414c.068.254.068.564.068 1.184v6.134c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874c-.428.218-.988.218-2.108.218H5.867c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874c-.218-.428-.218-.988-.218-2.108V5.333c0-.62 0-.93.068-1.184a2 2 0 0 1 1.414-1.414c.254-.068.564-.068 1.184-.068M6.4 4h3.2c.373 0 .56 0 .703-.073a.67.67 0 0 0 .291-.291c.073-.143.073-.33.073-.703V2.4c0-.373 0-.56-.073-.703a.67.67 0 0 0-.291-.291c-.143-.073-.33-.073-.703-.073H6.4c-.373 0-.56 0-.703.073a.67.67 0 0 0-.291.291c-.073.143-.073.33-.073.703v.533c0 .374 0 .56.073.703a.67.67 0 0 0 .291.291C5.84 4 6.027 4 6.4 4"})}),sb=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#country-select_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M10 1.639a6.667 6.667 0 1 0 3.871 3.201m-2.538-1.007h.004M7 14.593v-1.47c0-.08.029-.156.08-.217l1.658-1.933a.333.333 0 0 0-.088-.506L6.746 9.379a.33.33 0 0 1-.124-.125L5.38 7.08a.33.33 0 0 0-.319-.167l-3.685.329M14 4c0 1.473-1.333 2.667-2.667 4C10 6.667 8.667 5.473 8.667 4A2.667 2.667 0 1 1 14 4m-2.5-.167a.167.167 0 1 1-.333 0 .167.167 0 0 1 .333 0"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"country-select_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),sC=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#crop_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M6.667 4h3.2c.746 0 1.12 0 1.405.145.25.128.455.332.583.583.145.285.145.659.145 1.405v3.2M1.333 4H4m8 8v2.667M14.667 12H6.133c-.746 0-1.12 0-1.405-.145a1.33 1.33 0 0 1-.583-.583C4 10.987 4 10.613 4 9.867V1.333"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"crop_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),sk=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{d:"M10 10.667H6A.667.667 0 1 0 6 12h4a.666.666 0 1 0 0-1.333m-4-4h.667a.667.667 0 1 0 0-1.334H6a.667.667 0 1 0 0 1.334M10 8H6a.667.667 0 0 0 0 1.333h4A.667.667 0 1 0 10 8m3.14 2.193a.7.7 0 0 0-.22-.14.62.62 0 0 0-.507 0 .7.7 0 0 0-.22.14.8.8 0 0 0-.14.22.67.67 0 0 0 .14.727.67.67 0 0 0 .727.14.8.8 0 0 0 .22-.14.67.67 0 0 0 .14-.727.8.8 0 0 0-.14-.22m.193-4.233a1 1 0 0 0-.04-.18v-.06a.7.7 0 0 0-.126-.187l-4-4a.7.7 0 0 0-.187-.126.2.2 0 0 0-.06 0 .6.6 0 0 0-.22-.074H4.667a2 2 0 0 0-2 2v9.334a2 2 0 0 0 2 2H10a.667.667 0 0 0 0-1.334H4.667A.667.667 0 0 1 4 12.667V3.333a.667.667 0 0 1 .667-.666H8v2a2 2 0 0 0 2 2h2V8a.666.666 0 1 0 1.333 0V5.96M10 5.333a.667.667 0 0 1-.667-.666v-1.06l1.727 1.726zM12.667 12a.666.666 0 0 0-.667.667V14a.666.666 0 1 0 1.333 0v-1.333a.667.667 0 0 0-.666-.667"})}),sT=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsxs)("g",{stroke:"currentColor",strokeLinejoin:"round",strokeWidth:1.4,clipPath:"url(#customer-segment-group_inline_svg__a)",children:[(0,W.jsx)("path",{d:"M4.667 6a2.333 2.333 0 1 0 0-4.667 2.333 2.333 0 0 0 0 4.667ZM11.333 6a2.333 2.333 0 1 0 0-4.667 2.333 2.333 0 0 0 0 4.667Z"}),(0,W.jsx)("path",{strokeLinecap:"round",d:"M1.333 14.667v-3c0-1.841 1.257-3.334 2.807-3.334h1.685C7.186 8.333 8 9.676 8 9.676"}),(0,W.jsx)("path",{strokeLinecap:"round",d:"M14.667 14.667v-3c0-1.841-1.272-3.334-2.84-3.334h-1.705c-1.32 0-2.125 1.343-2.122 1.343M3.667 13.333h9"}),(0,W.jsx)("path",{strokeLinecap:"round",d:"m11.432 12.086.413.416.826.831-.826.854-.413.427M4.777 12.077l-.42.418-.84.836.84.85.42.424"})]}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"customer-segment-group_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),sD=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#customer-segment_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8 1.333A6.666 6.666 0 0 1 14.667 8M8 1.333V8m0-6.667A6.667 6.667 0 1 0 14.667 8M8 1.333A6.667 6.667 0 0 1 14.667 8m0 0H8m6.667 0a6.67 6.67 0 0 1-2.748 5.393L8 8"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"customer-segment_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),sS=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#customer_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M5.333 9.333s1 1.334 2.667 1.334 2.667-1.334 2.667-1.334m.666-3.173c-.263.323-.623.507-1 .507-.376 0-.726-.184-1-.507m-2.666 0c-.264.323-.624.507-1 .507-.377 0-.727-.184-1-.507m10 1.84A6.667 6.667 0 1 1 1.333 8a6.667 6.667 0 0 1 13.334 0"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"customer_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),sM=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:[(0,W.jsxs)("mask",{id:"customers_inline_svg__a",width:16,height:14,x:-.043,y:1.031,fill:"currentColor",maskUnits:"userSpaceOnUse",children:[(0,W.jsx)("path",{d:"M-.043 1.031h16v14h-16z"}),(0,W.jsx)("path",{d:"M14.42 10.967H5.117l.467-.951 7.763-.014a.54.54 0 0 0 .534-.447l1.075-6.017a.543.543 0 0 0-.533-.64l-9.875-.032-.084-.397a.555.555 0 0 0-.54-.438H1.507a.552.552 0 1 0 0 1.103h1.968l.368 1.754.908 4.395-1.169 1.908a.55.55 0 0 0-.047.575.55.55 0 0 0 .493.303h.98a1.604 1.604 0 0 0 1.281 2.567 1.604 1.604 0 0 0 1.282-2.567h2.518a1.604 1.604 0 1 0 2.884.964c0-.349-.116-.688-.322-.964h1.77a.553.553 0 0 0 .552-.552.553.553 0 0 0-.553-.55M4.778 3.953l8.997.03-.881 4.934-7.067.013zm1.514 9.574a.495.495 0 0 1 0-.988.495.495 0 0 1 0 .988m5.08 0a.495.495 0 0 1 0-.988.495.495 0 0 1 0 .988"})]}),(0,W.jsx)("path",{d:"M14.42 10.967H5.117l.467-.951 7.763-.014a.54.54 0 0 0 .534-.447l1.075-6.017a.543.543 0 0 0-.533-.64l-9.875-.032-.084-.397a.555.555 0 0 0-.54-.438H1.507a.552.552 0 1 0 0 1.103h1.968l.368 1.754.908 4.395-1.169 1.908a.55.55 0 0 0-.047.575.55.55 0 0 0 .493.303h.98a1.604 1.604 0 0 0 1.281 2.567 1.604 1.604 0 0 0 1.282-2.567h2.518a1.604 1.604 0 1 0 2.884.964c0-.349-.116-.688-.322-.964h1.77a.553.553 0 0 0 .552-.552.553.553 0 0 0-.553-.55M4.778 3.953l8.997.03-.881 4.934-7.067.013zm1.514 9.574a.495.495 0 0 1 0-.988.495.495 0 0 1 0 .988m5.08 0a.495.495 0 0 1 0-.988.495.495 0 0 1 0 .988"}),(0,W.jsx)("path",{d:"M14.42 10.967v-.1zm-9.304 0-.09-.044-.07.144h.16zm.467-.951v-.1h-.062l-.027.056zm7.763-.014v-.1zm.534-.447.099.017zm1.075-6.017.099.017zm-.117-.444.077-.064zm-.416-.196.001-.1zm-9.875-.032-.097.02.016.08h.081zm-.084-.397-.098.02zM1.508 2.03v-.1zm-.551.552h-.1zm.551.551v-.1zm1.968 0 .097-.02-.016-.08h-.081zm.368 1.754.098-.02v-.001zm.908 4.395.085.052.021-.034-.008-.038zM3.583 11.19l.081.06.005-.008zm-.047.575.09-.045v-.001zm1.474.303.08.06.12-.16h-.2zm-.322.964h.1zm2.884-.964v-.1h-.199l.12.16zm2.518 0 .08.06.12-.16h-.2zm-.322.964h.1zm2.884-.964v-.1h-.2l.12.16zm2.322-.552h.1zM4.777 3.953v-.1h-.123l.025.12zm8.997.03.098.017.021-.117h-.119zm-.881 4.934v.1h.083l.015-.082zm-7.067.013-.098.02.016.08h.082zm.465 4.597v-.1zm5.08 0v-.1zm.494-.494h-.1zm2.556-2.166H5.116v.2h9.305zm-9.215.144.467-.951-.18-.088-.467.951zm.378-.895 7.762-.014v-.2l-7.763.014zm7.762-.014c.31 0 .577-.223.633-.53l-.197-.035a.44.44 0 0 1-.436.365zm.633-.53 1.075-6.017-.197-.035-1.075 6.017zm1.075-6.017a.64.64 0 0 0-.14-.525l-.153.128c.084.1.119.233.096.362zm-.14-.526a.65.65 0 0 0-.22-.17l-.085.182q.089.041.152.117zm-.22-.17a.65.65 0 0 0-.271-.06l-.001.2q.099 0 .187.042zm-.271-.06-9.875-.033v.2l9.874.032zm-9.778.046-.084-.397-.196.042.085.396zm-.084-.397a.655.655 0 0 0-.639-.517v.2c.213 0 .4.152.443.358zm-.639-.517H1.508v.2h2.414zm-2.414 0a.65.65 0 0 0-.46.191l.141.142a.45.45 0 0 1 .32-.133zm-.46.191a.65.65 0 0 0-.191.46h.2c0-.119.047-.234.132-.318zm-.191.46c0 .174.068.34.19.462l.142-.142a.45.45 0 0 1-.132-.32zm.19.462c.123.122.289.19.461.19v-.2a.45.45 0 0 1-.319-.132zm.461.19h1.968v-.2H1.508zm1.87-.079.368 1.753.196-.041-.369-1.753zm.368 1.753.908 4.395.196-.04-.908-4.396zm.92 4.323-1.168 1.907.17.105 1.17-1.908zm-1.163 1.9a.65.65 0 0 0-.125.332l.2.017a.45.45 0 0 1 .086-.23zm-.125.332c-.01.12.014.241.07.348l.177-.091a.45.45 0 0 1-.048-.24zm.07.348a.65.65 0 0 0 .58.358v-.2a.45.45 0 0 1-.402-.248zm.58.358h.982v-.2h-.981zm.902-.16a1.7 1.7 0 0 0-.342 1.024h.2a1.5 1.5 0 0 1 .302-.904zm-.342 1.024c0 .94.764 1.703 1.703 1.703v-.2c-.829 0-1.503-.674-1.503-1.503zm1.703 1.703c.94 0 1.703-.764 1.703-1.703h-.2c0 .829-.674 1.503-1.503 1.503zm1.703-1.703c0-.37-.123-.73-.341-1.024l-.16.12c.193.26.301.577.301.904zm-.422-.864h2.518v-.2H7.572zm2.438-.16a1.7 1.7 0 0 0-.342 1.024h.2a1.5 1.5 0 0 1 .301-.904zm-.342 1.024c0 .94.763 1.703 1.703 1.703v-.2c-.83 0-1.503-.674-1.503-1.503zm1.703 1.703c.94 0 1.703-.764 1.703-1.703h-.2c0 .829-.674 1.503-1.503 1.503zm1.703-1.703c0-.37-.123-.73-.342-1.024l-.16.12c.194.26.302.577.302.904zm-.422-.864h1.77v-.2h-1.77zm1.77 0a.653.653 0 0 0 .652-.652h-.2c0 .25-.203.452-.452.452zm.652-.652a.65.65 0 0 0-.193-.46l-.14.142a.45.45 0 0 1 .133.319zm-.193-.46a.65.65 0 0 0-.46-.19v.2c.12 0 .234.048.32.132zM4.777 4.053l8.997.03v-.2l-8.997-.03zm8.898-.088-.88 4.935.196.035L13.872 4zm-.783 4.852-7.067.013v.2l7.068-.013zm-6.969.092L4.875 3.933l-.196.04L5.728 8.95zm.368 4.518a.395.395 0 0 1-.394-.394h-.2c0 .327.267.594.594.594zm-.394-.394c0-.217.178-.394.394-.394v-.2a.595.595 0 0 0-.594.594zm.394-.394c.217 0 .394.177.394.394h.2a.595.595 0 0 0-.594-.594zm.394.394a.4.4 0 0 1-.115.278l.141.142a.6.6 0 0 0 .174-.42zm-.115.278a.4.4 0 0 1-.279.116v.2a.6.6 0 0 0 .42-.174zm4.8.116a.395.395 0 0 1-.393-.394h-.2c0 .327.267.594.594.594zm-.393-.394c0-.217.177-.394.394-.394v-.2a.595.595 0 0 0-.594.594zm.394-.394c.216 0 .394.177.394.394h.2a.595.595 0 0 0-.594-.594zm.394.394a.4.4 0 0 1-.116.278l.142.142a.6.6 0 0 0 .174-.42zm-.116.278a.4.4 0 0 1-.278.116v.2a.6.6 0 0 0 .42-.174z",mask:"url(#customers_inline_svg__a)"})]}),sL=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m13.333 2.667-7.666 7.666m0-4.666 7.666 7.666M11.667 8h.006m2.994 0h.006M4 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4m0 8a2 2 0 1 1 0 4 2 2 0 0 1 0-4"})}),sI=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{fill:"#000",stroke:"currentColor",strokeWidth:.1,clipPath:"url(#dashboard_inline_svg__a)",children:(0,W.jsx)("path",{d:"M2.167 7.467h6.416A1.217 1.217 0 0 0 9.8 6.25V2.167A1.217 1.217 0 0 0 8.583.95H2.167A1.217 1.217 0 0 0 .95 2.167V6.25a1.217 1.217 0 0 0 1.217 1.217Zm.05-5.25h6.316V6.2H2.217zM13.783.95h-1.7a1.217 1.217 0 0 0-1.216 1.217V6.25a1.217 1.217 0 0 0 1.216 1.217h1.75A1.216 1.216 0 0 0 15.05 6.25V2.167A1.217 1.217 0 0 0 13.833.95zm0 5.25h-1.65V2.217h1.65zM3.917 8.534h-1.75A1.217 1.217 0 0 0 .95 9.75v4.084a1.216 1.216 0 0 0 1.217 1.216h1.75a1.217 1.217 0 0 0 1.216-1.216V9.75a1.217 1.217 0 0 0-1.216-1.216Zm-.05 5.25h-1.65V9.8h1.65zM13.833 8.534H7.417A1.217 1.217 0 0 0 6.2 9.75v4.084a1.216 1.216 0 0 0 1.217 1.216h6.416a1.216 1.216 0 0 0 1.217-1.216V9.75a1.217 1.217 0 0 0-1.217-1.216Zm-.05 5.25H7.467V9.8h6.316z"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"dashboard_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M1 1h14v14H1z"})})})]}),sE=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{fill:"#000",fillRule:"evenodd",stroke:"currentColor",strokeWidth:.5,d:"M8.235.953a1.2 1.2 0 0 0-.47 0c-.178.037-.338.126-.488.21l-.038.021-4.933 2.74-.04.023c-.159.087-.328.181-.457.321a1.2 1.2 0 0 0-.25.425c-.06.181-.06.375-.06.556l.001.045v5.457c0 .181-.001.375.059.556.052.158.137.303.25.425.13.14.298.234.457.321l.04.022 4.933 2.741.038.02c.15.085.31.174.488.21.155.033.315.033.47 0 .178-.036.338-.125.488-.21l.038-.02 4.933-2.74.04-.023c.159-.087.328-.181.457-.321.113-.122.198-.267.25-.425.06-.181.06-.375.06-.556l-.001-.045V5.249c0-.181.001-.375-.059-.556a1.2 1.2 0 0 0-.25-.425c-.13-.14-.298-.234-.457-.321l-.04-.022-4.933-2.741-.038-.02c-.15-.085-.31-.174-.488-.21Zm-.268.98a.2.2 0 0 1 .066 0q.004 0 .043.018c.043.02.1.052.2.107l4.694 2.609L8 7.428 3.03 4.667l4.695-2.609c.1-.055.156-.086.2-.107zM2.5 5.516l5 2.778v5.523L2.791 11.2a5 5 0 0 1-.207-.12l-.04-.027a.2.2 0 0 1-.035-.06l-.006-.049a5 5 0 0 1-.003-.24z",clipRule:"evenodd"})}),s_=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M13.667 4.852 8 8m0 0L2.333 4.852M8 8v6.333m6-3.627V5.294c0-.228 0-.342-.034-.444a.7.7 0 0 0-.142-.243c-.073-.079-.173-.134-.373-.245l-4.933-2.74c-.189-.106-.284-.158-.384-.179a.7.7 0 0 0-.268 0c-.1.02-.195.073-.384.178l-4.933 2.74c-.2.112-.3.167-.373.246a.7.7 0 0 0-.142.243C2 4.952 2 5.066 2 5.294v5.412c0 .228 0 .342.034.444q.045.136.142.243c.073.079.173.134.373.245l4.933 2.74c.189.106.284.158.384.179q.134.027.268 0c.1-.02.195-.073.384-.178l4.933-2.74c.2-.112.3-.167.373-.246a.7.7 0 0 0 .142-.243c.034-.102.034-.216.034-.444"})}),sz=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M13.333 8.333v-3.8c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874c-.428-.218-.987-.218-2.108-.218H5.867c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874c-.218.428-.218.988-.218 2.108v6.934c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.428.218.988.218 2.108.218H8m1.333-7.334h-4M6.667 10H5.333m5.334-5.333H5.333m4.334 8L11 14l3-3"})}),sO=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{fillRule:"evenodd",d:"M10 1.25a.75.75 0 0 1 .75.75v.583h.583a2.083 2.083 0 0 1 2.084 2.084v2.666a.75.75 0 0 1-.75.75H2.75v4.584a.583.583 0 0 0 .583.583h4.53a.75.75 0 0 1 0 1.5h-4.53a2.083 2.083 0 0 1-2.083-2.083v-8a2.083 2.083 0 0 1 2.083-2.084h.584V2a.75.75 0 0 1 1.5 0v.583H9.25V2a.75.75 0 0 1 .75-.75m1.917 3.417v1.916H2.75V4.667a.583.583 0 0 1 .583-.584h.584v.584a.75.75 0 0 0 1.5 0v-.584H9.25v.584a.75.75 0 0 0 1.5 0v-.584h.583a.583.583 0 0 1 .584.584",clipRule:"evenodd"}),(0,W.jsx)("path",{d:"M12.75 10.997a.75.75 0 0 0-1.5 0V12c0 .199.079.39.22.53l.666.667a.75.75 0 0 0 1.061-1.06l-.447-.448z"}),(0,W.jsx)("path",{fillRule:"evenodd",d:"M12 8.583a3.417 3.417 0 1 0 0 6.834 3.417 3.417 0 0 0 0-6.834m-1.355 2.062a1.917 1.917 0 1 1 2.71 2.711 1.917 1.917 0 0 1-2.71-2.711",clipRule:"evenodd"})]}),sP=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M5.374 2 2 5m4.333-1L2 8m4.333-1L2 11m4-1-3 3M6.333 2v12m7-12H2.667A.667.667 0 0 0 2 2.667v10.666c0 .368.298.667.667.667h10.666a.667.667 0 0 0 .667-.667V2.667A.667.667 0 0 0 13.333 2"})}),sV=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M2 6.353h12M5.374 2 2 5m12-1.664-3.333 2.997M8.707 2 3.976 6.208M12.04 2 7.308 6.208M13.333 2H2.667A.667.667 0 0 0 2 2.667v10.666c0 .368.298.667.667.667h10.666a.667.667 0 0 0 .667-.667V2.667A.667.667 0 0 0 13.333 2"})}),sA=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{d:"M14 10.8V9.333C14 8.6 13.4 8 12.667 8h-4V6.6c1.133-.267 2-1.333 2-2.6 0-1.467-1.2-2.667-2.667-2.667A2.675 2.675 0 0 0 5.333 4c0 1.267.867 2.267 2 2.6V8h-4C2.6 8 2 8.6 2 9.333V10.8c-.8.267-1.333 1-1.333 1.867 0 1.133.866 2 2 2s2-.867 2-2c0-.867-.534-1.6-1.334-1.867V9.333h4V10.8c-.8.267-1.333 1-1.333 1.867 0 1.133.867 2 2 2s2-.867 2-2c0-.867-.533-1.6-1.333-1.867V9.333h4V10.8c-.8.267-1.334 1-1.334 1.867 0 1.133.867 2 2 2s2-.867 2-2c0-.867-.533-1.6-1.333-1.867M2.667 13.333c-.4 0-.667-.266-.667-.666S2.267 12 2.667 12s.666.267.666.667-.266.666-.666.666m4-9.333c0-.733.6-1.333 1.333-1.333s1.333.6 1.333 1.333S8.733 5.333 8 5.333 6.667 4.733 6.667 4M8 13.333c-.4 0-.667-.266-.667-.666S7.6 12 8 12s.667.267.667.667-.267.666-.667.666m5.333 0c-.4 0-.666-.266-.666-.666s.266-.667.666-.667.667.267.667.667-.267.666-.667.666"})}),sB=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{fillRule:"evenodd",d:"M5.02 1.289a2.6 2.6 0 0 1 3.293 0l.082.069.005.004.05.043a1.4 1.4 0 0 0 1.498.184l1.808-.804a.6.6 0 0 1 .844.548v6.07c.287.008.524.028.74.086a2.6 2.6 0 0 1 1.838 1.838c.09.332.089.717.089 1.253v2.753a1.933 1.933 0 0 1-1.934 1.934H7.707c-1.098 0-1.958 0-2.65-.057-.704-.057-1.286-.177-1.812-.445a4.6 4.6 0 0 1-2.01-2.01c-.269-.527-.388-1.108-.445-1.812C.733 10.25.733 9.39.733 8.293v-6.96a.6.6 0 0 1 .844-.548l1.808.804.06.026a1.4 1.4 0 0 0 1.488-.253l.005-.004zm8.313 12.778a.733.733 0 0 0 .734-.734v-2.666c0-.659-.005-.87-.048-1.03a1.4 1.4 0 0 0-.99-.99 1.8 1.8 0 0 0-.429-.043v4.73c0 .404.328.733.733.733m-1.79 0h-3.81c-1.13 0-1.941 0-2.578-.053-.63-.051-1.036-.15-1.365-.318a3.4 3.4 0 0 1-1.486-1.486c-.168-.329-.267-.735-.318-1.365-.052-.637-.053-1.448-.053-2.578v-6.01l.965.428.005.002.075.033a2.6 2.6 0 0 0 2.732-.443l.004-.003.066-.057a1.4 1.4 0 0 1 1.84.057l.003.003.063.053a2.6 2.6 0 0 0 2.744.357l.005-.002.965-.428v11.076c0 .26.051.508.144.734M4.068 6a.6.6 0 0 1 .6-.6h2.666a.6.6 0 0 1 0 1.2H4.667a.6.6 0 0 1-.6-.6m2 2.667a.6.6 0 0 1 .6-.6h2a.6.6 0 0 1 0 1.2h-2a.6.6 0 0 1-.6-.6m.6 2.066a.6.6 0 1 0 0 1.2h2a.6.6 0 1 0 0-1.2zM5.333 8.667a.667.667 0 1 1-1.333 0 .667.667 0 0 1 1.333 0M4.667 12a.667.667 0 1 0 0-1.333.667.667 0 0 0 0 1.333",clipRule:"evenodd"})}),sR=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M9.333 1.513v2.754c0 .373 0 .56.073.702a.67.67 0 0 0 .291.292c.143.072.33.072.703.072h2.754m-3.82 6h-4m5.333-2.666H5.333m8-2.008v4.808c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874c-.428.218-.988.218-2.108.218H5.867c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874c-.218-.428-.218-.988-.218-2.108V4.533c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874c.427-.218.988-.218 2.108-.218h2.14c.49 0 .735 0 .965.056a2 2 0 0 1 .578.24c.202.123.375.296.72.642l2.126 2.125c.346.346.519.519.643.72q.165.272.24.579c.054.23.054.475.054.964"})}),sN=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m12.667 3.333-3.96 3.96a1 1 0 0 1-1.414 0l-3.96-3.96M12.667 8.667l-3.96 3.96a1 1 0 0 1-1.414 0l-3.96-3.96"})}),sF=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m12.667 12.667-3.96-3.96a1 1 0 0 1 0-1.414l3.96-3.96M7.333 12.667l-3.96-3.96a1 1 0 0 1 0-1.414l3.96-3.96"})}),sH=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m3.667 3.333 3.96 3.96a1 1 0 0 1 0 1.414l-3.96 3.96M9 3.333l3.96 3.96a1 1 0 0 1 0 1.414L9 12.667"})}),sW=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m3.333 12.667 3.96-3.96a1 1 0 0 1 1.414 0l3.96 3.96M3.333 7.333l3.96-3.96a1 1 0 0 1 1.414 0l3.96 3.96"})}),sG=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M2.667 10.828a3 3 0 0 1 1.387-5.482 4.001 4.001 0 0 1 7.893 0 3 3 0 0 1 1.386 5.482m-8 .505L8 14m0 0 2.667-2.667M8 14V8"})}),s$=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{fill:"#000",d:"M10.148 1H5.852c-.548 0-.979 0-1.326.028-.354.03-.65.09-.919.226-.439.224-.796.581-1.02 1.02-.136.269-.196.564-.225.919-.029.347-.029.778-.029 1.326v6.963c0 .547 0 .978.029 1.325.029.354.089.65.226.919.223.439.58.796 1.02 1.02.268.137.564.197.918.226.347.028.778.028 1.326.028h2.481a.333.333 0 1 0 0-.667H5.867c-.566 0-.97 0-1.287-.026-.313-.025-.51-.074-.67-.155a1.67 1.67 0 0 1-.728-.729c-.081-.159-.13-.357-.156-.67C3 12.436 3 12.033 3 11.467V4.533c0-.565 0-.97.026-1.286.026-.313.075-.511.156-.67.16-.314.414-.569.728-.729.16-.08.357-.13.67-.155a15 15 0 0 1 1.087-.026V3h-1a.333.333 0 1 0 0 .667h1V5h-1a.333.333 0 1 0 0 .667h1v1a.333.333 0 0 0 .666 0v-1h1a.333.333 0 1 0 0-.667h-1V3.667h1a.333.333 0 1 0 0-.667h-1V1.667h3.8c.566 0 .97 0 1.287.026.313.025.51.074.67.155.314.16.569.415.728.729.081.159.13.357.156.67.026.317.026.72.026 1.286v3.8a.333.333 0 1 0 .667 0V4.52c0-.548 0-.98-.029-1.326-.029-.355-.089-.65-.226-.919a2.33 2.33 0 0 0-1.02-1.02c-.268-.137-.564-.197-.918-.226C11.127 1 10.696 1 10.148 1"}),(0,W.jsx)("path",{fill:"#000",d:"M11.667 10.667a.333.333 0 0 0-.667 0v3.195L9.57 12.43a.333.333 0 1 0-.472.471l2 2c.13.13.34.13.471 0l2-2a.333.333 0 1 0-.471-.471l-1.431 1.43z"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:.6,d:"M10.148 1H5.852c-.548 0-.979 0-1.326.028-.354.03-.65.09-.919.226-.439.224-.796.581-1.02 1.02-.136.269-.196.564-.225.919-.029.347-.029.778-.029 1.326v6.963c0 .547 0 .978.029 1.325.029.354.089.65.226.919.223.439.58.796 1.02 1.02.268.137.564.197.918.226.347.028.778.028 1.326.028h2.481a.333.333 0 1 0 0-.667H5.867c-.566 0-.97 0-1.287-.026-.313-.025-.51-.074-.67-.155a1.67 1.67 0 0 1-.728-.729c-.081-.159-.13-.357-.156-.67C3 12.436 3 12.033 3 11.467V4.533c0-.565 0-.97.026-1.286.026-.313.075-.511.156-.67.16-.314.414-.569.728-.729.16-.08.357-.13.67-.155a15 15 0 0 1 1.087-.026V3h-1a.333.333 0 1 0 0 .667h1V5h-1a.333.333 0 1 0 0 .667h1v1a.333.333 0 0 0 .666 0v-1h1a.333.333 0 1 0 0-.667h-1V3.667h1a.333.333 0 1 0 0-.667h-1V1.667h3.8c.566 0 .97 0 1.287.026.313.025.51.074.67.155.314.16.569.415.728.729.081.159.13.357.156.67.026.317.026.72.026 1.286v3.8a.333.333 0 1 0 .667 0V4.52c0-.548 0-.98-.029-1.326-.029-.355-.089-.65-.226-.919a2.33 2.33 0 0 0-1.02-1.02c-.268-.137-.564-.197-.918-.226C11.127 1 10.696 1 10.148 1"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:.6,d:"M11.667 10.667a.333.333 0 0 0-.667 0v3.195L9.57 12.43a.333.333 0 1 0-.472.471l2 2c.13.13.34.13.471 0l2-2a.333.333 0 1 0-.471-.471l-1.431 1.43z"})]}),sU=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M14 14H2m10-6.667-4 4m0 0-4-4m4 4V2"})}),sq=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{fill:"#000",stroke:"currentColor",strokeWidth:.2,d:"M10.667 15.167H2C1.36 15.167.833 14.64.833 14V5.333c0-2.946 1.554-4.5 4.5-4.5h5.334c2.946 0 4.5 1.554 4.5 4.5v5.334c0 2.946-1.554 4.5-4.5 4.5ZM5.333 1.833c-2.386 0-3.5 1.114-3.5 3.5V14c0 .093.074.167.167.167h8.667c2.386 0 3.5-1.114 3.5-3.5V5.333c0-2.386-1.114-3.5-3.5-3.5z"}),(0,W.jsx)("path",{fill:"#000",stroke:"currentColor",strokeWidth:.2,d:"M5.3 11.833c-.313 0-.6-.113-.813-.32a1.14 1.14 0 0 1-.307-1l.186-1.32c.04-.286.22-.653.427-.86l3.46-3.46c1.187-1.186 2.22-.653 2.874 0 .513.514.746 1.054.693 1.594-.04.44-.274.853-.694 1.28l-3.46 3.46a1.73 1.73 0 0 1-.86.433l-1.32.187c-.06 0-.126.006-.186.006Zm4.386-6.666c-.246 0-.466.16-.72.406l-3.46 3.46a.8.8 0 0 0-.146.294l-.187 1.32c-.006.066 0 .126.027.153.026.027.086.033.153.027l1.32-.187a.8.8 0 0 0 .293-.147l3.46-3.46c.254-.253.387-.473.407-.673.02-.227-.113-.493-.406-.787-.294-.28-.527-.406-.74-.406Z"}),(0,W.jsx)("path",{fill:"#000",stroke:"currentColor",strokeWidth:.2,d:"M10.28 8.387a.4.4 0 0 1-.133-.02 3.65 3.65 0 0 1-2.514-2.514.506.506 0 0 1 .347-.62c.267-.073.54.08.613.347a2.66 2.66 0 0 0 1.82 1.82.503.503 0 0 1-.133.987Z"})]}),sJ=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{d:"M6 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2M10 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2M7 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0M10 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2M7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0M10 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2"})}),sZ=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 17 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#drop-target_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M7.437 1.335c-.478.006-.765.032-.997.144a1.38 1.38 0 0 0-.619.582c-.118.219-.146.489-.152.939m8.143-1.665c.479.006.766.032.998.144.266.127.483.331.619.582.118.219.146.489.152.939m0 6c-.006.45-.034.72-.152.939-.136.25-.353.454-.62.582-.231.112-.518.138-.996.144m1.77-5.332v1.334M9.917 1.333h1.416m-7.65 13.334h5.384c.793 0 1.19 0 1.493-.146.266-.128.483-.332.619-.582.154-.286.154-.659.154-1.406V7.467c0-.747 0-1.12-.154-1.406a1.38 1.38 0 0 0-.62-.582c-.302-.146-.699-.146-1.492-.146H3.683c-.793 0-1.19 0-1.493.146a1.38 1.38 0 0 0-.619.582c-.154.286-.154.659-.154 1.406v5.066c0 .747 0 1.12.154 1.406.136.25.353.454.62.582.302.146.699.146 1.492.146"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"drop-target_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h17v16H0z"})})})]}),sK=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinejoin:"round",strokeWidth:1.5,d:"M9.981 3.507a1 1 0 0 1 1.414 0l1.097 1.096a1 1 0 0 1 0 1.414l-6.33 6.335a1 1 0 0 1-.51.273L2.8 13.2l.576-2.848a1 1 0 0 1 .272-.509z",clipRule:"evenodd"})}),sQ=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8 13.333h6m-12 0h1.116c.326 0 .49 0 .643-.037q.205-.048.385-.16c.135-.082.25-.197.48-.427L13 4.333a1.414 1.414 0 1 0-2-2L2.625 10.71c-.23.23-.346.345-.429.48q-.11.181-.16.385C2 11.728 2 11.891 2 12.217z"})}),sX=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M14.667 6H1.333m8 5.667L11 10 9.333 8.333m-2.666 0L5 10l1.667 1.667M1.333 5.2v5.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.428.218.988.218 2.108.218h6.934c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874c.218-.428.218-.988.218-2.108V5.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C13.147 2 12.587 2 11.467 2H4.533c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874c-.218.428-.218.988-.218 2.108"})}),sY=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12.333 10.667c1.289 0 2.334-1.94 2.334-4.334S13.622 2 12.333 2m0 8.667c-1.288 0-2.333-1.94-2.333-4.334S11.045 2 12.333 2m0 8.667L3.63 9.084c-.618-.112-.927-.169-1.177-.291a2 2 0 0 1-1.043-1.249c-.076-.268-.076-.582-.076-1.21 0-.63 0-.943.076-1.211a2 2 0 0 1 1.043-1.249c.25-.123.559-.179 1.177-.291L12.333 2m-9 7.333.263 3.676c.025.35.037.524.113.656.067.117.168.21.289.269.137.066.312.066.662.066h1.188c.4 0 .6 0 .748-.08a.67.67 0 0 0 .293-.316c.069-.154.053-.354.023-.752l-.245-3.185"})}),s0=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m10 6-4 4m7-2A5 5 0 1 1 3 8a5 5 0 0 1 10 0"})}),s1=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M6 2H3.333C2.597 2 2 2.597 2 3.333V6m4 8H3.333A1.333 1.333 0 0 1 2 12.667V10m8-8h2.667C13.403 2 14 2.597 14 3.333V6m0 4v2.667c0 .736-.597 1.333-1.333 1.333H10"})}),s3=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M4.667 7.333c-.62 0-.93 0-1.185.068a2 2 0 0 0-1.414 1.415C2 9.07 2 9.38 2 10v.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 14 4.08 14 5.2 14h5.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C14 12.48 14 11.92 14 10.8V10c0-.62 0-.93-.068-1.184A2 2 0 0 0 12.518 7.4c-.255-.068-.565-.068-1.185-.068m-.666-2.666L8 2m0 0L5.333 4.667M8 2v8"})}),s2=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M7.162 3.395q.406-.061.838-.062c3.404 0 5.637 3.004 6.387 4.192.09.143.136.215.162.326a.8.8 0 0 1 0 .298c-.026.11-.071.183-.163.328-.2.316-.505.761-.908 1.243M4.483 4.477c-1.441.977-2.42 2.336-2.869 3.047-.091.144-.137.216-.162.327a.8.8 0 0 0 0 .298c.025.11.07.183.161.326.75 1.188 2.984 4.192 6.387 4.192 1.373 0 2.555-.489 3.526-1.15M2 2l12 12M6.586 6.586a2 2 0 0 0 2.828 2.828"})}),s6=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsxs)("g",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,children:[(0,W.jsx)("path",{d:"M1.613 8.475c-.09-.143-.136-.215-.161-.326a.8.8 0 0 1 0-.298c.025-.11.07-.183.161-.326C2.363 6.337 4.597 3.333 8 3.333c3.404 0 5.637 3.004 6.387 4.192.09.143.136.215.162.326.019.083.019.215 0 .298-.026.11-.071.183-.162.326-.75 1.188-2.983 4.192-6.387 4.192S2.364 9.663 1.613 8.475"}),(0,W.jsx)("path",{d:"M8 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4"})]})}),s4=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsxs)("g",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,clipPath:"url(#factory_inline_svg__a)",children:[(0,W.jsx)("path",{d:"M2.667 14C3.43 11.32 3.989 8.649 4 6h4c.011 2.649.569 5.32 1.333 8"}),(0,W.jsx)("path",{d:"M8.333 8.667h3c.017 1.741.596 3.53 1.334 5.333M6 3.333a1.6 1.6 0 0 1 1.333-.666 1.6 1.6 0 0 1 1.334.666A1.6 1.6 0 0 0 10 4a1.6 1.6 0 0 0 1.333-.667 1.6 1.6 0 0 1 1.334-.666A1.6 1.6 0 0 1 14 3.333M2 14h12.667"})]}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"factory_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),s8=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M7.995 3.424C6.663 1.866 4.44 1.446 2.77 2.874 1.1 4.3.865 6.685 2.176 8.373c1.09 1.403 4.39 4.362 5.472 5.32.121.107.182.16.252.182a.34.34 0 0 0 .19 0c.071-.021.132-.075.253-.182 1.081-.958 4.381-3.917 5.472-5.32 1.311-1.688 1.105-4.089-.594-5.5-1.699-1.413-3.893-1.008-5.226.55",clipRule:"evenodd"})}),s7=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M11.867 6.667c.746 0 1.12 0 1.405-.146.25-.127.455-.331.583-.582C14 5.653 14 5.28 14 4.533v-.4c0-.746 0-1.12-.145-1.405a1.33 1.33 0 0 0-.583-.583C12.987 2 12.613 2 11.867 2H4.133c-.746 0-1.12 0-1.405.145-.25.128-.455.332-.583.583C2 3.013 2 3.387 2 4.133v.4c0 .747 0 1.12.145 1.406.128.25.332.455.583.582.285.146.659.146 1.405.146zM11.867 14c.746 0 1.12 0 1.405-.145.25-.128.455-.332.583-.583.145-.285.145-.659.145-1.405v-.4c0-.747 0-1.12-.145-1.406a1.33 1.33 0 0 0-.583-.582c-.285-.146-.659-.146-1.405-.146H4.133c-.746 0-1.12 0-1.405.146-.25.127-.455.331-.583.582C2 10.347 2 10.72 2 11.467v.4c0 .746 0 1.12.145 1.405.128.25.332.455.583.583.285.145.659.145 1.405.145z"})}),s5=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.2,d:"M13.333 6.667V4.533c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874c-.428-.218-.988-.218-2.108-.218H5.867c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874c-.218.428-.218.988-.218 2.108v6.934c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.428.218.988.218 2.108.218H7m1.667-7.334H5.333m2 2.667h-2m5.334-5.333H5.333m7.5 6.666v-1.166a1.167 1.167 0 1 0-2.333 0v1.166M10.4 14h2.533c.374 0 .56 0 .703-.073a.67.67 0 0 0 .291-.291c.073-.143.073-.33.073-.703V12.4c0-.373 0-.56-.073-.703a.67.67 0 0 0-.291-.291c-.143-.073-.33-.073-.703-.073H10.4c-.373 0-.56 0-.703.073a.67.67 0 0 0-.291.291c-.073.143-.073.33-.073.703v.533c0 .374 0 .56.073.703a.67.67 0 0 0 .291.291c.143.073.33.073.703.073"})}),s9=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M2.257 3.778c-.504-.564-.756-.845-.766-1.085a.67.67 0 0 1 .242-.54C1.918 2 2.296 2 3.053 2h9.895c.756 0 1.134 0 1.319.153.16.132.25.332.241.54-.01.24-.261.521-.766 1.085L9.938 8.03c-.1.112-.15.168-.186.232a.7.7 0 0 0-.07.181c-.016.072-.016.147-.016.298v3.565c0 .13 0 .195-.02.252a.33.33 0 0 1-.089.13c-.044.04-.105.064-.226.113l-2.266.906c-.245.098-.368.147-.466.127a.33.33 0 0 1-.21-.142c-.056-.084-.056-.216-.056-.48V8.741c0-.15 0-.226-.016-.298a.7.7 0 0 0-.069-.18c-.036-.065-.086-.121-.187-.233z"})}),oe=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M2.667 10s.666-.667 2.666-.667 3.334 1.334 5.334 1.334S13.333 10 13.333 10V2s-.666.667-2.666.667-3.334-1.334-5.334-1.334S2.667 2 2.667 2v12.667"})}),ot=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 17 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"M14.714 6h-9a3 3 0 0 0 0 6h3m6-6-2.666-2.667M14.714 6l-2.666 2.667"})}),on=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{d:"M9 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0"}),(0,W.jsx)("path",{fillRule:"evenodd",d:"M12 8a4 4 0 1 1-8 0 4 4 0 0 1 8 0m-1.5 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0",clipRule:"evenodd"}),(0,W.jsx)("path",{fillRule:"evenodd",d:"M4 1a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3zm8 1.4H4A1.6 1.6 0 0 0 2.4 4v8A1.6 1.6 0 0 0 4 13.6h8a1.6 1.6 0 0 0 1.6-1.6V4A1.6 1.6 0 0 0 12 2.4",clipRule:"evenodd"})]}),oi=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m8.667 4.667-.744-1.488c-.214-.428-.321-.642-.48-.798a1.3 1.3 0 0 0-.499-.308C6.733 2 6.494 2 6.014 2H3.468c-.747 0-1.12 0-1.406.145-.25.128-.455.332-.582.583-.146.285-.146.659-.146 1.405v.534m0 0h10.134c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874c.218.428.218.988.218 2.108V10.8c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874c-.428.218-.988.218-2.108.218H4.533c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874c-.218-.428-.218-.988-.218-2.108zM8 11.333v-4m-2 2h4"})}),or=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m13 7-1.116-2.231c-.32-.642-.481-.963-.72-1.198a2 2 0 0 0-.748-.462C10.1 3 9.74 3 9.022 3H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 4.52 2 5.08 2 6.2V7m0 0h15.2c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C22 9.28 22 10.12 22 11.8v4.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 21 18.88 21 17.2 21H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 18.72 2 17.88 2 16.2zm13.5 10.5L14 16m1-2.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0"})}),oa=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m8.667 4.667-.744-1.488c-.214-.428-.321-.642-.48-.798a1.3 1.3 0 0 0-.499-.308C6.733 2 6.494 2 6.014 2H3.468c-.747 0-1.12 0-1.406.145-.25.128-.455.332-.582.583-.146.285-.146.659-.146 1.405v.534m0 0h10.134c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874c.218.428.218.988.218 2.108V10.8c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874c-.428.218-.988.218-2.108.218H4.533c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874c-.218-.428-.218-.988-.218-2.108z"})}),os=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M5.333 8.667v2.666m5.334-4v4M8 4.667v6.666M5.2 14h5.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C14 12.48 14 11.92 14 10.8V5.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C12.48 2 11.92 2 10.8 2H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 3.52 2 4.08 2 5.2v5.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 14 4.08 14 5.2 14"})}),oo=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M6.667 9.367a2.333 2.333 0 1 0-3.333 3.266 2.333 2.333 0 0 0 3.333-3.266m0 0 3.354-3.354m3.346-.68-.862-.862a.667.667 0 0 0-.943 0l-1.541 1.542m0 0 1.312 1.312"})}),ol=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{stroke:"currentColor",strokeWidth:1.4,d:"M2 6c0-1.4 0-2.1.272-2.635a2.5 2.5 0 0 1 1.093-1.093C3.9 2 4.6 2 6 2h4c1.4 0 2.1 0 2.635.272a2.5 2.5 0 0 1 1.092 1.093C14 3.9 14 4.6 14 6v4c0 1.4 0 2.1-.273 2.635a2.5 2.5 0 0 1-1.092 1.092C12.1 14 11.4 14 10 14H6c-1.4 0-2.1 0-2.635-.273a2.5 2.5 0 0 1-1.093-1.092C2 12.1 2 11.4 2 10z"}),(0,W.jsx)("circle",{cx:5.333,cy:8,r:1.3,stroke:"currentColor",strokeWidth:1.4}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.4,d:"M6.667 8h2.666m2 1.333V8.15a.15.15 0 0 0-.15-.15h-1.85m0 0v1.333"})]}),od=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M4 2.667v10.666m8-10.666v10.666M5.333 2.667H2.667M12 8H4m1.333 5.333H2.667m10.666 0h-2.666m2.666-10.666h-2.666"})}),oc=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#help-circle_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M6.06 6a2 2 0 0 1 3.887.667c0 1.333-2 2-2 2M8 11.333h.007M14.667 8A6.667 6.667 0 1 1 1.333 8a6.667 6.667 0 0 1 13.334 0"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"help-circle_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),om=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"M3.685 11.135a5.333 5.333 0 1 0-1.008-2.8m0 0-1-1m1 1 1-1"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"M8 5.333V8l2 2"})]}),ou=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M5.333 11.333h5.334m-3.322-9.49L2.824 5.359c-.303.236-.454.353-.563.5-.096.13-.168.278-.212.434C2 6.469 2 6.66 2 7.043v4.824c0 .746 0 1.12.145 1.405.128.25.332.455.583.583.285.145.659.145 1.405.145h7.734c.746 0 1.12 0 1.405-.145.25-.128.455-.332.583-.583.145-.285.145-.659.145-1.405V7.043c0-.383 0-.574-.05-.75a1.3 1.3 0 0 0-.211-.434c-.11-.147-.26-.264-.563-.5L8.655 1.843c-.234-.182-.351-.274-.48-.309a.67.67 0 0 0-.35 0c-.129.035-.246.127-.48.309"})}),op=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M10.8 14H4.62c-.403 0-.605 0-.698-.08a.33.33 0 0 1-.116-.28c.01-.122.152-.265.438-.55l5.668-5.67c.264-.263.396-.395.549-.445a.67.67 0 0 1 .412 0c.152.05.284.182.548.446L14 10v.8M10.8 14c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C14 12.48 14 11.92 14 10.8M10.8 14H5.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C2 12.48 2 11.92 2 10.8V5.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C3.52 2 4.08 2 5.2 2h5.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C14 3.52 14 4.08 14 5.2v5.6M7 5.667a1.333 1.333 0 1 1-2.667 0 1.333 1.333 0 0 1 2.667 0"})}),oh=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#info-circle_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M8 10.667V8m0-2.667h.007M14.667 8A6.667 6.667 0 1 1 1.333 8a6.667 6.667 0 0 1 13.334 0"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"info-circle_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),og=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{d:"M8 1.333a6.667 6.667 0 1 0 0 13.334A6.667 6.667 0 0 0 8 1.333m.667 9.334a.667.667 0 1 1-1.334 0V7.333a.667.667 0 1 1 1.334 0zM8 6a.667.667 0 1 1 0-1.333A.667.667 0 0 1 8 6"})}),ox=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{fillRule:"evenodd",d:"M2.571 1.5a2 2 0 0 0-2 2V6a2 2 0 0 0 2 2h.31a.7.7 0 0 0-.02.155v.405c0 .433 0 .797.025 1.094.026.311.08.607.224.888.218.428.566.776.994.994.28.143.576.198.888.224.297.024.66.024 1.094.024h.19l-.245.244a.65.65 0 1 0 .92.92l1.354-1.354a.65.65 0 0 0 0-.92L6.95 9.32a.65.65 0 1 0-.92.92l.245.244h-.164c-.466 0-.776 0-1.014-.02-.231-.019-.337-.052-.404-.086a.98.98 0 0 1-.426-.426c-.034-.067-.067-.173-.086-.404-.02-.238-.02-.548-.02-1.014v-.38A.7.7 0 0 0 4.143 8h.928a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2zm2.5 1.3h-2.5a.7.7 0 0 0-.7.7V6a.7.7 0 0 0 .7.7h2.5a.7.7 0 0 0 .7-.7V3.5a.7.7 0 0 0-.7-.7M8.929 10a2 2 0 0 1 2-2h2.5a2 2 0 0 1 2 2v2.5a2 2 0 0 1-2 2h-2.5a2 2 0 0 1-2-2zm2-.7h2.5a.7.7 0 0 1 .7.7v2.5a.7.7 0 0 1-.7.7h-2.5a.7.7 0 0 1-.7-.7V10a.7.7 0 0 1 .7-.7",clipRule:"evenodd"})}),oj=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{fillRule:"evenodd",d:"M2.571 1.5a2 2 0 0 0-2 2V6a2 2 0 0 0 2 2h2.5a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2zm2.5 1.3h-2.5a.7.7 0 0 0-.7.7V6a.7.7 0 0 0 .7.7h2.5a.7.7 0 0 0 .7-.7V3.5a.7.7 0 0 0-.7-.7M10.929 8a2 2 0 0 0-2 2v2.5a2 2 0 0 0 2 2h2.5a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2zm2.5 1.3h-2.5a.7.7 0 0 0-.7.7v2.5a.7.7 0 0 0 .7.7h2.5a.7.7 0 0 0 .7-.7V10a.7.7 0 0 0-.7-.7",clipRule:"evenodd"}),(0,W.jsx)("path",{d:"M4.49 9.499a.65.65 0 0 0-.92.919l.582.582-.582.582a.65.65 0 0 0 .92.92l.581-.583.583.582a.65.65 0 0 0 .919-.919L5.99 11l.582-.582a.65.65 0 1 0-.92-.92l-.582.583z"})]}),ov=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9.333 1.513v2.754c0 .373 0 .56.073.702a.67.67 0 0 0 .291.292c.143.072.33.072.703.072h2.754m-3.82 6.334L11 10 9.333 8.333m-2.666 0L5 10l1.667 1.667m6.666-5.008v4.808c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874c-.428.218-.988.218-2.108.218H5.867c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874c-.218-.428-.218-.988-.218-2.108V4.533c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874c.428-.218.988-.218 2.108-.218h2.14c.49 0 .735 0 .965.056a2 2 0 0 1 .578.239c.202.124.375.297.72.643l2.126 2.125c.346.346.519.519.643.72q.165.272.24.579c.054.23.054.475.054.964"})}),oy=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeMiterlimit:10,strokeWidth:2,d:"M7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Zm5.6-4c-.8-2.3-3-4-5.6-4-3.3 0-6 2.7-6 6s2.7 6 6 6c2.6 0 4.8-1.7 5.6-4H17v4h4v-4h2v-4z"})}),of=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 10h.01M8 14h.01M10 10h.01M12 14h.01M14 10h.01M16 14h.01M18 10h.01M5.2 18h13.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C22 16.48 22 15.92 22 14.8V9.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C20.48 6 19.92 6 18.8 6H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 7.52 2 8.08 2 9.2v5.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 18 4.08 18 5.2 18"})}),ow=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 24 24",...e,children:(0,W.jsx)("path",{d:"M6.5 2c2 0 3.6 1.3 4.2 3H22v3h-4v3h-3V8h-4.3c-.6 1.8-2.3 3-4.2 3C4 11 2 9 2 6.5S4 2 6.5 2m0 3C5.7 5 5 5.7 5 6.5S5.7 8 6.5 8 8 7.3 8 6.5 7.3 5 6.5 5m0 8c2 0 3.6 1.3 4.2 3H22v3h-2v3h-2v-3h-2v3h-3v-3h-2.3c-.6 1.8-2.3 3-4.2 3C4 22 2 20 2 17.5S4 13 6.5 13m0 3c-.8 0-1.5.7-1.5 1.5S5.7 19 6.5 19 8 18.3 8 17.5 7.3 16 6.5 16"})}),ob=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M2.667 10s.666-.667 2.666-.667 3.334 1.334 5.334 1.334S13.333 10 13.333 10V2s-.666.667-2.666.667-3.334-1.334-5.334-1.334S2.667 2 2.667 2v12.667"})}),oC=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"M11.667 7.333H8.333M11.667 10H8.333m3.334-5.333H8.333M6 2v12M5.2 2h5.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C14 3.52 14 4.08 14 5.2v5.6c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874C12.48 14 11.92 14 10.8 14H5.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C2 12.48 2 11.92 2 10.8V5.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C3.52 2 4.08 2 5.2 2"})}),ok=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M14 8H6m8-4H6m8 8H6M3.333 8A.667.667 0 1 1 2 8a.667.667 0 0 1 1.333 0m0-4A.667.667 0 1 1 2 4a.667.667 0 0 1 1.333 0m0 8A.667.667 0 1 1 2 12a.667.667 0 0 1 1.333 0"})}),oT=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#loading_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 1.5v1.667M8 12v2.667M3.833 8H1.5m12.667 0h-1m-.862 4.305-.472-.472m.61-8.222-.943.942M3.281 12.72l1.886-1.886m-1.748-7.36 1.414 1.414"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"loading_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),oD=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("circle",{cx:8,cy:6.667,r:2,stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M12.667 6.5C12.667 10.25 8 14 8 14s-4.667-3.75-4.667-7.5C3.333 4.015 5.423 2 8 2s4.667 2.015 4.667 4.5"})]}),oS=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M11.333 6.667V5.333a3.333 3.333 0 1 0-6.666 0v1.334m3.333 3V11m-2.133 3h4.266c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874c.218-.428.218-.988.218-2.108v-.933c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874c-.428-.218-.988-.218-2.108-.218H5.867c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874c-.218.428-.218.988-.218 2.108v.933c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.427.218.988.218 2.108.218"})}),oM=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M11.333 6.667V5.333a3.333 3.333 0 1 0-6.666 0v1.334m3.333 3V11m-2.133 3h4.266c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874c.218-.428.218-.988.218-2.108v-.933c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874c-.428-.218-.988-.218-2.108-.218H5.867c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874c-.218.428-.218.988-.218 2.108v.933c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.428.218.988.218 2.108.218"})}),oL=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M10.667 11.333 14 8m0 0-3.333-3.333M14 8H6m0-6h-.8c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 3.52 2 4.08 2 5.2v5.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 14 4.08 14 5.2 14H6"})}),oI=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M10.667 6.667H2M13.333 4H2m11.333 5.333H2M10.667 12H2"})}),oE=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M7.08 12c-1.009 0-4.712 0-5.097-.204a1.84 1.84 0 0 1-.787-.82C1 10.576 1 10.05 1 9V5c0-1.05 0-1.575.196-1.976a1.84 1.84 0 0 1 .787-.82C2.368 2 2.873 2 3.88 2h6.24c1.008 0 1.512 0 1.897.204.34.18.614.467.787.82.195.4.195 3.404.195 4.464V7.5M1.196 3.875 5.688 7.01c.397.29.595.434.811.49.19.05.39.05.58 0 .216-.056.415-.2.811-.49l4.81-3.135m-2.022 7.71-.616 2.035c-.049.16-.073.24-.056.29a.14.14 0 0 0 .088.087c.046.014.116-.02.255-.09l4.412-2.194c.136-.067.204-.101.225-.148a.16.16 0 0 0 0-.13c-.02-.046-.089-.08-.225-.148l-4.414-2.195c-.139-.069-.208-.103-.254-.089a.14.14 0 0 0-.088.087c-.017.05.007.13.055.289l.618 2.059a.3.3 0 0 1 .014.055.2.2 0 0 1 0 .037.3.3 0 0 1-.014.055"})}),o_=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{fillRule:"evenodd",d:"M12 6.083c-.755 0-1.44-.304-1.936-.797L6.709 6.982a3.3 3.3 0 0 1-.157 1.638l3.543 2.064a2.75 2.75 0 1 1-.758 1.295L5.722 9.871a3.25 3.25 0 1 1 .41-4.279l3.194-1.615A2.75 2.75 0 1 1 12 6.083m-1.25-2.75a1.25 1.25 0 1 1 2.5 0 1.25 1.25 0 0 1-2.5 0m0 9.334c0-.201.047-.39.131-.559a.7.7 0 0 0 .084-.143 1.249 1.249 0 0 1 2.285.702 1.25 1.25 0 0 1-2.5 0m-9-5.167a1.75 1.75 0 1 1 3.5 0 1.75 1.75 0 0 1-3.5 0",clipRule:"evenodd"})}),oz=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"M14.222 7.716V12a2 2 0 0 1-2 2H3.778a2 2 0 0 1-2-2V7.716M4.5 6.312C4.5 7.245 3.716 8 2.75 8c-.873 0-1.597-.617-1.729-1.423a1.2 1.2 0 0 1 .048-.521l.698-2.578A2 2 0 0 1 3.697 2h8.606a2 2 0 0 1 1.93 1.478l.698 2.578c.046.17.076.347.048.521C14.847 7.383 14.123 8 13.25 8c-.966 0-1.75-.756-1.75-1.687m-7 0C4.5 7.244 5.284 8 6.25 8S8 7.244 8 6.313m-3.5 0L4.889 2M8 6.313C8 7.244 8.784 8 9.75 8s1.75-.756 1.75-1.687m-3.5 0V2m3.5 4.313L11.111 2"})}),oO=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{fill:"#000",d:"M4.667 9.667v2zM7.667 7.667v4zM10.667 5.667v6zM13.667 3.667v8z"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M14 14H4.133c-.746 0-1.12 0-1.405-.145a1.33 1.33 0 0 1-.583-.583C2 12.987 2 12.613 2 11.867V2m2.667 7.667v2m3-4v4m3-6v6m3-8v8"})]}),oP=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M5.6 2H3.067c-.374 0-.56 0-.703.073a.67.67 0 0 0-.291.291C2 2.507 2 2.694 2 3.067V5.6c0 .373 0 .56.073.703a.67.67 0 0 0 .291.291c.143.073.33.073.703.073H5.6c.373 0 .56 0 .703-.073a.67.67 0 0 0 .291-.291c.073-.143.073-.33.073-.703V3.067c0-.374 0-.56-.073-.703a.67.67 0 0 0-.291-.291C6.16 2 5.973 2 5.6 2M12.933 2H10.4c-.373 0-.56 0-.703.073a.67.67 0 0 0-.291.291c-.073.143-.073.33-.073.703V5.6c0 .373 0 .56.073.703a.67.67 0 0 0 .291.291c.143.073.33.073.703.073h2.533c.374 0 .56 0 .703-.073a.67.67 0 0 0 .291-.291C14 6.16 14 5.973 14 5.6V3.067c0-.374 0-.56-.073-.703a.67.67 0 0 0-.291-.291C13.493 2 13.306 2 12.933 2M12.933 9.333H10.4c-.373 0-.56 0-.703.073a.67.67 0 0 0-.291.291c-.073.143-.073.33-.073.703v2.533c0 .374 0 .56.073.703a.67.67 0 0 0 .291.291c.143.073.33.073.703.073h2.533c.374 0 .56 0 .703-.073a.67.67 0 0 0 .291-.291c.073-.143.073-.33.073-.703V10.4c0-.373 0-.56-.073-.703a.67.67 0 0 0-.291-.291c-.143-.073-.33-.073-.703-.073M5.6 9.333H3.067c-.374 0-.56 0-.703.073a.67.67 0 0 0-.291.291C2 9.84 2 10.027 2 10.4v2.533c0 .374 0 .56.073.703a.67.67 0 0 0 .291.291c.143.073.33.073.703.073H5.6c.373 0 .56 0 .703-.073a.67.67 0 0 0 .291-.291c.073-.143.073-.33.073-.703V10.4c0-.373 0-.56-.073-.703a.67.67 0 0 0-.291-.291c-.143-.073-.33-.073-.703-.073"})}),oV=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 17 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M6.048 8h5.333m-5.467 6h5.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874c.218-.428.218-.988.218-2.108V5.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C13.194 2 12.634 2 11.514 2h-5.6c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874c-.218.428-.218.988-.218 2.108v5.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.428.218.988.218 2.108.218"})}),oA=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 12h14"})}),oB=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{d:"M4 6.667c-.733 0-1.333.6-1.333 1.333S3.267 9.333 4 9.333 5.333 8.733 5.333 8 4.733 6.667 4 6.667m8 0c-.733 0-1.333.6-1.333 1.333s.6 1.333 1.333 1.333 1.333-.6 1.333-1.333-.6-1.333-1.333-1.333m-4 0c-.733 0-1.333.6-1.333 1.333S7.267 9.333 8 9.333 9.333 8.733 9.333 8 8.733 6.667 8 6.667"})}),oR=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M9.333 2.667h4v4h-4zM9.333 9.333h4v4h-4zM6.667 3.333a4 4 0 0 0 0 8"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m5.597 12.552 1.687-.96-.96-1.686"})]}),oN=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M9.333 2.667h4v4h-4zM9.333 9.333h4v4h-4zM6.667 12.916a4 4 0 1 1 0-8"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m5.597 3.696 1.687.96-.96 1.687"})]}),oF=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{d:"M4.864 2.864a.75.75 0 1 0-1.061-1.061l-1.47 1.47-.47-.47a.75.75 0 0 0-1.06 1.06l1 1a.75.75 0 0 0 1.06 0zM14.667 2.583h-8a.75.75 0 1 0 0 1.5h8a.75.75 0 0 0 0-1.5M6.667 7.25a.75.75 0 1 0 0 1.5h8a.75.75 0 0 0 0-1.5zM5.917 12.667a.75.75 0 0 1 .75-.75h8a.75.75 0 1 1 0 1.5h-8a.75.75 0 0 1-.75-.75"}),(0,W.jsx)("path",{fillRule:"evenodd",d:"M2.667 5.917a2.083 2.083 0 1 0 0 4.166 2.083 2.083 0 0 0 0-4.166M2.083 8A.583.583 0 1 1 3.25 8a.583.583 0 0 1-1.167 0M.583 12.667a2.083 2.083 0 1 1 4.167 0 2.083 2.083 0 0 1-4.167 0m2.084-.584a.583.583 0 1 0 0 1.167.583.583 0 0 0 0-1.167",clipRule:"evenodd"})]}),oH=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{d:"M10.875 7.5H8.5V5.125A.125.125 0 0 0 8.375 5h-.75a.125.125 0 0 0-.125.125V7.5H5.125A.125.125 0 0 0 5 7.625v.75c0 .069.056.125.125.125H7.5v2.375c0 .069.056.125.125.125h.75a.125.125 0 0 0 .125-.125V8.5h2.375A.125.125 0 0 0 11 8.375v-.75a.125.125 0 0 0-.125-.125"}),(0,W.jsx)("path",{d:"M8 1a7 7 0 1 0 .001 14.001A7 7 0 0 0 8 1m0 12.813A5.813 5.813 0 0 1 8 2.188a5.813 5.813 0 0 1 0 11.625"})]}),oW=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,clipPath:"url(#new-column_inline_svg__a)",children:(0,W.jsx)("path",{d:"M4 2.667h2.667a.667.667 0 0 1 .666.666v9.334a.667.667 0 0 1-.666.666H4a.667.667 0 0 1-.667-.666V3.333A.667.667 0 0 1 4 2.667M10 8h2.667M11.333 6.667v2.666"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"new-column_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),oG=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M11.944 2v3.889M10 3.944h3.889"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"M10.301 10h.333c.32 0 .48 0 .569-.066a.33.33 0 0 0 .13-.241c.006-.11-.082-.242-.26-.506l-.992-1.475c-.147-.218-.22-.327-.313-.365a.33.33 0 0 0-.252 0c-.093.038-.166.147-.313.365l-.245.365M10.3 10 7.768 6.374c-.146-.209-.219-.313-.31-.35a.33.33 0 0 0-.248 0c-.091.037-.164.141-.31.35L4.94 9.18c-.186.265-.278.398-.273.509a.33.33 0 0 0 .129.244c.089.067.252.067.578.067z"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M5.333 2H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 3.52 2 4.08 2 5.2v.133M5.333 14H5.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C2 12.48 2 11.92 2 10.8v-.133m12 0v.133c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874C12.48 14 11.92 14 10.8 14h-.133"})]}),o$=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{fillRule:"evenodd",d:"M9.333 6A3.3 3.3 0 0 0 6 2.667 3.3 3.3 0 0 0 2.667 6c0 1.933 1.933 4.8 3.333 6.6 1.533-2 3.333-4.867 3.333-6.6M8 6c0 1.133-.867 2-2 2s-2-.867-2-2 .867-2 2-2 2 .867 2 2M1.333 6C1.333 3.4 3.4 1.333 6 1.333S10.667 3.4 10.667 6C10.667 9.467 6 14.667 6 14.667S1.333 9.533 1.333 6m4 0c0 .4.267.667.667.667S6.667 6.4 6.667 6 6.4 5.333 6 5.333 5.333 5.6 5.333 6m7.367 4.056a.7.7 0 0 0-1.4 0V11.3h-1.244a.7.7 0 1 0 0 1.4H11.3v1.244a.7.7 0 1 0 1.4 0V12.7h1.245a.7.7 0 0 0 0-1.4H12.7z",clipRule:"evenodd"})}),oU=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M13.333 4v2.667a.667.667 0 0 1-.666.666H3.333a.667.667 0 0 1-.666-.666V4a.667.667 0 0 1 .666-.667h9.334a.667.667 0 0 1 .666.667M8 10v2.667M9.333 11.333H6.667"})}),oq=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M12.667 14v-4m-2 2h4m0-5.333H1.333M14.667 8V5.467c0-.747 0-1.12-.146-1.406a1.33 1.33 0 0 0-.582-.582c-.286-.146-.659-.146-1.406-.146H3.467c-.747 0-1.12 0-1.406.146-.25.127-.455.331-.582.582-.146.286-.146.659-.146 1.406v5.066c0 .747 0 1.12.146 1.406.127.25.331.454.582.582.286.146.659.146 1.406.146H8"})}),oJ=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M8 3.333v9.334M3.333 8h9.334"})}),oZ=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{fillRule:"evenodd",d:"M5.7 1.3h-.029c-.535 0-.98 0-1.342.03-.376.03-.726.097-1.055.264a2.7 2.7 0 0 0-1.18 1.18c-.167.33-.234.679-.264 1.055-.03.363-.03.807-.03 1.342v5.658c0 .535 0 .98.03 1.342.03.376.097.726.264 1.055a2.7 2.7 0 0 0 1.18 1.18c.33.167.679.234 1.055.264.363.03.807.03 1.342.03h6.258a2.27 2.27 0 0 0 2.271-2.271V6.773c0-.397 0-.736-.023-1.015-.024-.294-.076-.581-.217-.857A2.2 2.2 0 0 0 13 3.94c-.276-.14-.563-.193-.857-.217-.279-.023-.618-.023-1.015-.023h-.112a2.6 2.6 0 0 0-.252-.926 2.7 2.7 0 0 0-1.18-1.18c-.33-.167-.678-.234-1.055-.264a18 18 0 0 0-1.342-.03H5.7m0 12h4.13a2.3 2.3 0 0 1-.173-.871V5.2c0-.572 0-.958-.025-1.257-.023-.29-.066-.434-.117-.533a1.3 1.3 0 0 0-.568-.568c-.098-.05-.243-.093-.533-.117C8.115 2.7 7.729 2.7 7.157 2.7H5.7c-.572 0-.958 0-1.257.025-.29.024-.434.066-.533.117a1.3 1.3 0 0 0-.568.568c-.05.099-.093.243-.117.533C3.2 4.242 3.2 4.628 3.2 5.2v5.6c0 .572 0 .958.025 1.257.024.29.066.434.117.533a1.3 1.3 0 0 0 .568.568c.099.05.243.093.533.117.299.024.685.025 1.257.025m7.1-.871a.871.871 0 0 1-1.743 0V5.1h.043c.432 0 .713 0 .928.018.207.017.29.046.335.07a.8.8 0 0 1 .35.349c.023.045.052.128.069.335.018.215.018.496.018.928zM5.5 3.3a1.7 1.7 0 0 0 0 3.4h2a1.7 1.7 0 1 0 0-3.4zM5.2 5a.3.3 0 0 1 .3-.3h2a.3.3 0 0 1 0 .6h-2a.3.3 0 0 1-.3-.3",clipRule:"evenodd"})}),oK=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 184 115",...e,children:[(0,W.jsx)("path",{fill:"currentColor",fillOpacity:.06,d:"M25.875 80.5C9.857 84.095 0 88.992 0 94.388c0 11.033 41.19 19.976 92 19.976s92-8.943 92-19.976c0-5.396-9.857-10.293-25.875-13.888v8.708c0 6.058-3.795 11.024-8.481 11.024H34.356c-4.686 0-8.481-4.969-8.481-11.024z"}),(0,W.jsxs)("g",{stroke:"currentColor",strokeOpacity:.06,children:[(0,W.jsx)("path",{fill:"currentColor",fillOpacity:.04,d:"M119.637 45.815c0-4.58 2.858-8.361 6.403-8.364h32.085v51.757c0 6.058-3.795 11.024-8.481 11.024H34.356c-4.686 0-8.481-4.969-8.481-11.024V37.451H57.96c3.545 0 6.403 3.776 6.403 8.356v.063c0 4.58 2.889 8.278 6.431 8.278h42.412c3.542 0 6.431-3.733 6.431-8.313z"}),(0,W.jsx)("path",{d:"m158.125 37.766-29.17-32.823c-1.4-2.237-3.444-3.59-5.597-3.59H60.642c-2.153 0-4.197 1.353-5.597 3.588l-29.17 32.828"})]})]}),oQ=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M7.333 2.667H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 4.187 2 4.747 2 5.867V10.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 14 4.08 14 5.2 14h4.933c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874c.218-.428.218-.988.218-2.108V8.667m-4.666 2.666h-4M10 8.667H4.667m8.747-6.081a2 2 0 1 1-2.828 2.828 2 2 0 0 1 2.828-2.828"})}),oX=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M2 5.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C3.52 2 4.08 2 5.2 2h5.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C14 3.52 14 4.08 14 5.2v3.6c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874C12.48 12 11.92 12 10.8 12H9.122c-.416 0-.624 0-.823.04a2 2 0 0 0-.507.179c-.181.092-.344.222-.669.482l-1.59 1.272c-.277.222-.416.333-.533.333a.33.33 0 0 1-.26-.125c-.073-.091-.073-.269-.073-.624V12c-.62 0-.93 0-1.185-.068a2 2 0 0 1-1.414-1.414C2 10.263 2 9.953 2 9.333z"})}),oY=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M7.333 2.667H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 4.187 2 4.747 2 5.867v3.466c0 .62 0 .93.068 1.185a2 2 0 0 0 1.414 1.414c.255.068.565.068 1.185.068v1.557c0 .355 0 .533.072.624.064.08.16.126.261.126.117 0 .256-.112.533-.334l1.59-1.272c.325-.26.488-.39.669-.482q.24-.123.507-.178C8.5 12 8.706 12 9.123 12h1.01c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874c.218-.428.218-.988.218-2.108v-.133m.081-6.081a2 2 0 1 1-2.828 2.828 2 2 0 0 1 2.828-2.828"})}),o0=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{fillOpacity:.85,d:"M4.781 13.512c.457 0 .739-.235.832-.668l.528-2.52h2.18l-.481 2.297c-.106.48.234.89.715.89.468 0 .773-.234.867-.667l.527-2.531h1.219c.457 0 .785-.34.785-.786 0-.398-.281-.691-.668-.691h-1.02l.505-2.379H12c.457 0 .785-.34.785-.785 0-.399-.281-.692-.668-.692h-1.043l.457-2.19a.736.736 0 0 0-.738-.892c-.457 0-.75.235-.844.68L9.445 4.98h-2.18l.446-2.19a.72.72 0 0 0-.715-.892c-.469 0-.762.235-.855.68L5.648 4.98H4.406a.77.77 0 0 0-.785.786c0 .398.281.691.68.691h1.02l-.493 2.379H3.574a.764.764 0 0 0-.785.785c0 .399.281.691.668.691h1.066l-.48 2.31c-.094.48.258.89.738.89m1.57-4.535.54-2.637h2.367l-.551 2.637z"})}),o1=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{fillRule:"evenodd",d:"M4.159 3.15c.41 0 .482.006.538.023a.6.6 0 0 1 .187.1c.046.036.091.091.323.43l.323.472.037.054c.172.251.328.481.542.653.186.151.4.264.631.333.263.079.54.079.845.078h2.758c.353 0 .651.235.747.557H4.863c-.51 0-.932-.001-1.308.144a2.15 2.15 0 0 0-.855.602c-.264.306-.405.704-.576 1.184l-.033.094-.336.94-.201-3.822a13 13 0 0 1-.032-.978c.007-.221.034-.316.06-.372a.85.85 0 0 1 .373-.393c.054-.029.147-.061.368-.08.228-.018.527-.019.978-.019zM.797 12.444a.65.65 0 0 1-.175-.41L.255 5.06l-.001-.026c-.022-.417-.04-.77-.032-1.06.01-.302.05-.596.18-.879a2.15 2.15 0 0 1 .944-.995c.276-.146.567-.2.87-.226.288-.024.64-.024 1.059-.024h.95c.304 0 .582 0 .845.078.23.069.444.182.631.333.213.172.37.402.542.653l.037.054.323.472c.232.339.277.394.323.43a.6.6 0 0 0 .187.1c.056.017.128.023.538.023h2.692c1.073 0 1.957.813 2.067 1.857.541 0 .991 0 1.35.033.373.034.734.107 1.05.312.467.302.799.772.926 1.313.086.367.034.732-.06 1.093-.09.353-.243.78-.428 1.296l-.01.03-.785 2.199-.034.094c-.17.48-.312.878-.576 1.184a2.15 2.15 0 0 1-.854.602c-.377.145-.8.145-1.309.144H4.147c-.548 0-1.002 0-1.365-.033-.372-.033-.733-.107-1.05-.312a2.15 2.15 0 0 1-.935-1.361M5.172 9.35a.65.65 0 0 0 0 1.3h5.6a.65.65 0 1 0 0-1.3zm-1.15-2.143c.121-.046.278-.057.94-.057h7.404c.586 0 .98 0 1.278.028.294.026.406.073.46.109a.85.85 0 0 1 .367.519c.014.063.021.184-.053.47-.075.289-.207.661-.404 1.213l-.786 2.2c-.223.624-.285.768-.37.866a.85.85 0 0 1-.337.238c-.12.046-.278.057-.94.057H4.176c-.585 0-.98 0-1.278-.027-.294-.027-.406-.074-.46-.11a.85.85 0 0 1-.366-.518c-.015-.064-.022-.185.052-.47.075-.29.207-.662.404-1.214l.786-2.2c.223-.624.286-.768.37-.866a.85.85 0 0 1 .338-.238",clipRule:"evenodd"})}),o3=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.4,d:"M8 5.333V2.667M7 10.667H4M4.167 13.333h7.666a1.5 1.5 0 0 0 1.5-1.5V5.57a1 1 0 0 0-.105-.447l-.675-1.35a2 2 0 0 0-1.79-1.105H5.237a2 2 0 0 0-1.789 1.105l-.675 1.35a1 1 0 0 0-.105.447v6.264a1.5 1.5 0 0 0 1.5 1.5Z"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M3.333 5.333h9.334"})]}),o2=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"M10.667 2.667c.62 0 .93 0 1.184.068a2 2 0 0 1 1.414 1.414c.068.254.068.564.068 1.184v6.134c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874c-.428.218-.988.218-2.108.218H5.867c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874c-.218-.428-.218-.988-.218-2.108V5.333c0-.62 0-.93.068-1.184a2 2 0 0 1 1.414-1.414c.254-.068.564-.068 1.184-.068M6 10l1.333 1.333 3-3M6.4 4h3.2c.373 0 .56 0 .703-.073a.67.67 0 0 0 .291-.291c.073-.143.073-.33.073-.703V2.4c0-.373 0-.56-.073-.703a.67.67 0 0 0-.291-.291c-.143-.073-.33-.073-.703-.073H6.4c-.373 0-.56 0-.703.073a.67.67 0 0 0-.291.291c-.073.143-.073.33-.073.703v.533c0 .374 0 .56.073.703a.67.67 0 0 0 .291.291C5.84 4 6.027 4 6.4 4"})}),o6=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M13.333 8.333v-3.8c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874c-.428-.218-.988-.218-2.108-.218H5.867c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874c-.218.428-.218.988-.218 2.108v6.934c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.427.218.988.218 2.108.218H8m1.333-7.334h-4M6.667 10H5.333m5.334-5.333H5.333m4.334 8L11 14l3-3"})}),o4=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#personal-user_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M2.667 14.545c.401.122.944.122 1.866.122h6.934c.922 0 1.465 0 1.866-.122m-10.666 0a1.5 1.5 0 0 1-.242-.096 2 2 0 0 1-.874-.874c-.218-.428-.218-.988-.218-2.108V4.533c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874c.428-.218.988-.218 2.108-.218h6.934c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874c.218.428.218.988.218 2.108v6.934c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874 1.5 1.5 0 0 1-.242.096m-10.666 0c0-.54.003-.825.05-1.065a2.67 2.67 0 0 1 2.096-2.095c.258-.052.567-.052 1.187-.052h4c.62 0 .93 0 1.187.052a2.67 2.67 0 0 1 2.095 2.095c.048.24.051.525.051 1.065m-2.666-8.212a2.667 2.667 0 1 1-5.334 0 2.667 2.667 0 0 1 5.334 0"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"personal-user_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),o8=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#pie-chart_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M8 1.333A6.667 6.667 0 0 1 14.667 8M8 1.333V8m0-6.667A6.667 6.667 0 1 0 14.667 8M8 1.333A6.667 6.667 0 0 1 14.667 8m0 0H8m6.667 0a6.67 6.67 0 0 1-2.748 5.393L8 8"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"pie-chart_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),o7=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{d:"M12.667 4.667c-1.134 0-2.134.533-2.8 1.466L7.4 9.8c-.6 1-1.6 1.533-2.733 1.533A3.3 3.3 0 0 1 1.333 8a3.3 3.3 0 0 1 3.334-3.333c1.133 0 2.133.533 2.8 1.466l.4.667.8-1.2-.134-.2C7.667 4.133 6.2 3.333 4.667 3.333A4.64 4.64 0 0 0 0 8c0 2.6 2.067 4.667 4.667 4.667 1.533 0 3-.8 3.866-2.067l.934-1.4.4.667c.6.933 1.666 1.466 2.8 1.466A3.3 3.3 0 0 0 16 8a3.3 3.3 0 0 0-3.333-3.333m0 5.333C12 10 11.4 9.667 11 9.133L10.267 8 11 6.933c.333-.6 1-.933 1.667-.933 1.133 0 2 .867 2 2s-.867 2-2 2"})}),o5=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{stroke:"currentColor",strokeWidth:1.4,d:"M9.302 2.91c.653-.436.98-.654 1.336-.618.355.035.633.312 1.188.867l1.015 1.015c.555.555.832.832.867 1.188s-.182.683-.617 1.336l-.796 1.193-.165.25a8 8 0 0 0-1.137 2.892l-.127.636a.668.668 0 0 1-1.036.419A23.4 23.4 0 0 1 3.912 6.17a.668.668 0 0 1 .419-1.036l.636-.127.293-.06a8 8 0 0 0 2.6-1.077c.062-.04.124-.082.248-.165z"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.4,d:"m3.333 12.667 3-3"})]}),o9=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{stroke:"currentColor",strokeWidth:1.4,d:"M5.333 2.974c0-.538.436-.974.974-.974h3.386c.538 0 .974.436.974.974 0 1.538.455 3.042 1.308 4.322l.933 1.399a.54.54 0 0 1-.319.824 18.9 18.9 0 0 1-9.178 0 .54.54 0 0 1-.319-.824l.933-1.399a7.8 7.8 0 0 0 1.308-4.322Z"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.4,d:"M8 13.333v-2.666"}),(0,W.jsx)("path",{stroke:"currentColor",strokeWidth:1.4,d:"M4 13.333h8"})]}),le=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 17 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M8.714 5.333v5.334M6.048 8h5.333m-5.467 6h5.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874c.218-.428.218-.988.218-2.108V5.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C13.194 2 12.634 2 11.514 2h-5.6c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874c-.218.428-.218.988-.218 2.108v5.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.428.218.988.218 2.108.218"})}),lt=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8 10.667V14m0-3.333L12 14m-4-3.333L4 14M14 2v5.467c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874c-.428.218-.988.218-2.108.218H5.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C2 9.147 2 8.587 2 7.467V2m3.333 4v2M8 4.667V8m2.667-.667V8m4-6H1.333"})}),ln=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M6 14h2m2 0H8m0 0v-2m0 0h4a2 2 0 0 0 2-2V5.333a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2V10a2 2 0 0 0 2 2zm2.49-1.833h.677a1 1 0 0 0 1-1V8.5M5.51 5.167h-.677a1 1 0 0 0-1 1v.666"})}),li=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"M2.667 4h6m2-1.333V4m0 1.333V4m0 0h2.666M2.667 12h4m2-1.333V12m0 1.333V12m0 0h4.666M13.333 8h-6m-2 1.333V8m0-1.333V8m0 0H2.667"})}),lr=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{d:"M10.933 9.333C11 8.867 11 8.467 11 8s-.067-.867-.067-1.333H13.2c.133.4.2.866.2 1.333a4.3 4.3 0 0 1-.2 1.333m-3.467 3.734a9.5 9.5 0 0 0 .934-2.4H12.6c-.6 1.066-1.667 1.933-2.867 2.4m-.2-3.734H6.467C6.4 8.867 6.333 8.467 6.333 8s.067-.933.134-1.333H9.6c.067.4.133.866.133 1.333s-.133.867-.2 1.333m-1.533 4c-.533-.8-1-1.666-1.267-2.666h2.534C9 11.6 8.533 12.533 8 13.333m-2.667-8H3.4C4.067 4.2 5.067 3.4 6.267 2.933c-.4.8-.667 1.6-.934 2.4M3.4 10.667h1.933c.267.8.534 1.666.934 2.4-1.2-.467-2.267-1.334-2.867-2.4m-.533-1.334c-.134-.4-.2-.866-.2-1.333s.066-.933.2-1.333h2.266c-.066.466-.066.866-.066 1.333s.066.867.066 1.333M8 2.667c.533.8 1 1.666 1.267 2.666H6.733C7 4.4 7.467 3.467 8 2.667m4.6 2.666h-1.933c-.2-.8-.534-1.6-.934-2.4C10.933 3.4 12 4.2 12.6 5.333m-4.6-4c-3.667 0-6.667 3-6.667 6.667s3 6.667 6.667 6.667 6.667-3 6.667-6.667-3-6.667-6.667-6.667"})}),la=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{d:"M8 1.333a6.667 6.667 0 1 0 0 13.334A6.667 6.667 0 0 0 8 1.333M8 12a.667.667 0 1 1 0-1.334A.667.667 0 0 1 8 12m.667-3.44v.773a.667.667 0 0 1-1.334 0V8A.667.667 0 0 1 8 7.333a1 1 0 1 0-1-1 .667.667 0 1 1-1.333 0 2.333 2.333 0 1 1 3 2.227"})}),ls=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M11.333 12.583A5.667 5.667 0 0 0 8 2.333h-.333M8 13.667a5.667 5.667 0 0 1-3.333-10.25m2.666 11.516L8.667 13.6l-1.334-1.333m1.334-8.534L7.333 2.4l1.334-1.333"})}),lo=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.4,d:"M1.586 1.586a2 2 0 1 0 2.828 2.828M1.586 1.586a2 2 0 1 1 2.828 2.828M1.586 1.586 3 3l1.414 1.414"}),(0,W.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.7 5.985a3 3 0 0 1-1.4-.513v3.552c0 .446 0 .815.02 1.118.022.315.068.608.186.891a2.7 2.7 0 0 0 1.46 1.462c.284.117.577.163.892.184.303.021.672.021 1.118.021H5c.36 0 .426.004.479.017a.6.6 0 0 1 .26.13c.042.035.085.086.301.373l.973 1.298.012.015c.062.083.133.178.202.254.076.085.204.212.398.287.241.094.509.094.75 0 .194-.075.322-.202.398-.287.069-.076.14-.171.202-.254l.012-.015.973-1.298c.216-.287.259-.338.3-.373a.6.6 0 0 1 .261-.13c.053-.013.12-.017.479-.017h.024c.446 0 .815 0 1.118-.02.315-.022.608-.068.891-.185a2.7 2.7 0 0 0 1.462-1.462c.117-.283.163-.576.184-.891.021-.303.021-.672.021-1.118V5.17c0-.535 0-.98-.03-1.342-.03-.376-.097-.726-.264-1.055a2.7 2.7 0 0 0-1.18-1.18c-.33-.167-.679-.234-1.055-.264-.363-.03-.807-.03-1.342-.03H5.472c.28.406.462.884.513 1.4H10.8c.572 0 .958 0 1.257.025.29.024.434.066.533.117a1.3 1.3 0 0 1 .568.568c.05.099.093.243.117.533.024.299.025.685.025 1.257V9c0 .476 0 .797-.017 1.047-.017.243-.047.366-.082.45a1.3 1.3 0 0 1-.703.704c-.085.035-.208.065-.451.082-.25.017-.572.017-1.047.017h-.057c-.27 0-.51 0-.743.054a2 2 0 0 0-.836.418c-.184.153-.329.347-.49.562l-.034.046L8 13.5l-.84-1.12-.034-.046c-.161-.215-.306-.409-.49-.562a2 2 0 0 0-.836-.418c-.232-.054-.474-.054-.743-.054H5c-.476 0-.797 0-1.047-.017-.243-.017-.366-.047-.45-.082a1.3 1.3 0 0 1-.704-.703c-.035-.085-.065-.208-.082-.451C2.7 9.797 2.7 9.476 2.7 9z",clipRule:"evenodd"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"M10.071 9.38h.3c.288 0 .432 0 .511-.056A.27.27 0 0 0 11 9.12c.006-.093-.074-.205-.234-.43l-.893-1.254c-.132-.185-.198-.278-.282-.31a.32.32 0 0 0-.227 0c-.083.032-.15.125-.281.31l-.221.31m1.21 1.636H5.635c-.293 0-.44 0-.52-.058A.27.27 0 0 1 5 9.116c-.005-.094.079-.207.246-.433L7.01 6.297c.131-.177.197-.266.279-.297a.32.32 0 0 1 .223 0c.082.031.148.12.279.297l1.14 1.542zm1.658-4.548c0 .46-.398.834-.89.834s-.89-.373-.89-.834.398-.833.89-.833.89.373.89.833"})]}),ll=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{fillRule:"evenodd",d:"M8 6c0 1.133-.867 2-2 2s-2-.867-2-2 .867-2 2-2 2 .867 2 2M5.333 6c0 .4.267.667.667.667S6.667 6.4 6.667 6 6.4 5.333 6 5.333 5.333 5.6 5.333 6",clipRule:"evenodd"}),(0,W.jsx)("path",{fillRule:"evenodd",d:"M1.333 6C1.333 3.4 3.4 1.333 6 1.333S10.667 3.4 10.667 6C10.667 9.467 6 14.667 6 14.667S1.333 9.533 1.333 6m8 0A3.3 3.3 0 0 0 6 2.667 3.3 3.3 0 0 0 2.667 6c0 1.933 1.933 4.8 3.333 6.6 1.533-2 3.333-4.867 3.333-6.6",clipRule:"evenodd"}),(0,W.jsx)("path",{d:"M10.056 11.3a.7.7 0 1 0 0 1.4h3.889a.7.7 0 1 0 0-1.4z"})]}),ld=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{fillRule:"evenodd",d:"M1.09 1.09a2.7 2.7 0 1 1 3.818 3.818 2.7 2.7 0 0 1-3.817-3.817m1.63.64 1.55 1.55q.03-.135.03-.28a1.3 1.3 0 0 0-1.58-1.27m.56 2.54L1.73 2.72q-.03.135-.03.28a1.3 1.3 0 0 0 1.58 1.27",clipRule:"evenodd"}),(0,W.jsx)("path",{d:"M2.7 5.985a3 3 0 0 1-1.4-.513v3.552c0 .446 0 .815.02 1.118.022.315.068.608.186.891a2.7 2.7 0 0 0 1.46 1.462c.284.117.577.163.892.184.303.021.672.021 1.118.021H5c.36 0 .426.005.479.017a.6.6 0 0 1 .26.13c.042.035.085.086.301.373l.985 1.313c.062.083.133.178.202.254.076.085.204.212.398.287.241.094.509.094.75 0 .194-.075.322-.202.398-.287.069-.076.14-.171.202-.254l.985-1.313c.216-.287.259-.338.3-.373a.6.6 0 0 1 .261-.13c.053-.013.12-.017.479-.017h.024c.446 0 .815 0 1.118-.02.315-.022.608-.068.891-.185a2.7 2.7 0 0 0 1.462-1.462c.117-.283.163-.576.184-.89.021-.304.021-.673.021-1.12V5.172c0-.535 0-.98-.03-1.342-.03-.376-.097-.726-.264-1.055a2.7 2.7 0 0 0-1.18-1.18c-.33-.167-.679-.234-1.055-.264-.363-.03-.807-.03-1.342-.03H5.472c.28.406.462.884.513 1.4H10.8c.572 0 .958 0 1.257.025.29.024.434.066.533.117a1.3 1.3 0 0 1 .568.568c.05.099.093.243.117.533.024.299.025.685.025 1.257V9c0 .476 0 .797-.017 1.047-.017.243-.047.366-.082.45a1.3 1.3 0 0 1-.703.704c-.085.035-.208.065-.451.082-.25.017-.572.017-1.047.017h-.057c-.27 0-.51 0-.743.054a2 2 0 0 0-.836.418c-.184.154-.329.347-.49.562L8 13.5l-.874-1.166c-.161-.215-.306-.408-.49-.562a2 2 0 0 0-.836-.418c-.232-.054-.474-.054-.743-.054H5c-.476 0-.797 0-1.047-.017-.243-.017-.366-.047-.45-.082a1.3 1.3 0 0 1-.704-.703c-.035-.085-.065-.208-.082-.451A17 17 0 0 1 2.7 9z"}),(0,W.jsx)("path",{fillRule:"evenodd",d:"M8.528 4.34a1.5 1.5 0 0 1 .419.174c.15.091.272.214.373.316l.027.026.797.798.026.026c.102.101.225.224.316.373a1.4 1.4 0 0 1 .174.42c.04.17.04.343.04.486v1.864c0 .19 0 .373-.012.527a1.5 1.5 0 0 1-.146.558 1.45 1.45 0 0 1-.634.634c-.195.1-.39.132-.558.145-.154.013-.337.013-.527.013H7.177c-.19 0-.373 0-.527-.013a1.5 1.5 0 0 1-.558-.145 1.45 1.45 0 0 1-.634-.634c-.1-.195-.132-.39-.145-.558-.013-.154-.013-.337-.013-.527V6.177c0-.19 0-.373.013-.527.013-.168.046-.363.145-.558a1.45 1.45 0 0 1 .634-.634c.195-.1.39-.132.558-.145.154-.013.337-.013.527-.013h.864c.143 0 .317 0 .487.04m.767 2.45.002.001-.004-.006zM9.3 8.8V7.2h-.413c-.058 0-.137 0-.208-.006a1 1 0 0 1-.36-.098.95.95 0 0 1-.415-.415 1 1 0 0 1-.098-.36C7.8 6.25 7.8 6.171 7.8 6.113V5.7h-.6c-.222 0-.346 0-.436.008l-.048.005-.003.003-.005.048A6 6 0 0 0 6.7 6.2v2.6c0 .222 0 .346.008.436l.005.048.003.003.048.005c.09.007.214.008.436.008h1.6c.222 0 .346 0 .436-.008l.048-.005.003-.003.005-.048c.008-.09.008-.214.008-.436",clipRule:"evenodd"})]}),lc=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{fillRule:"evenodd",d:"M1.09 1.09a2.7 2.7 0 1 1 3.818 3.818 2.7 2.7 0 0 1-3.817-3.817m1.63.64 1.55 1.55q.03-.135.03-.28a1.3 1.3 0 0 0-1.58-1.27m.56 2.54L1.73 2.72q-.03.135-.03.28a1.3 1.3 0 0 0 1.58 1.27",clipRule:"evenodd"}),(0,W.jsx)("path",{d:"M2.7 5.985a3 3 0 0 1-1.4-.513v3.552c0 .446 0 .815.02 1.118.022.315.068.608.186.891a2.7 2.7 0 0 0 1.46 1.462c.284.117.577.163.892.184.303.021.672.021 1.118.021H5c.36 0 .426.005.479.017a.6.6 0 0 1 .26.13c.042.035.085.086.301.373l.985 1.313c.062.083.133.178.202.254.076.085.204.212.398.287.241.094.509.094.75 0 .194-.075.322-.202.398-.287.069-.076.14-.171.202-.254l.985-1.313c.216-.287.259-.338.3-.373a.6.6 0 0 1 .261-.13c.053-.013.12-.017.479-.017h.024c.446 0 .815 0 1.118-.02.315-.022.608-.068.891-.185a2.7 2.7 0 0 0 1.462-1.462c.117-.283.163-.576.184-.89.021-.304.021-.673.021-1.12V5.172c0-.535 0-.98-.03-1.342-.03-.376-.097-.726-.264-1.055a2.7 2.7 0 0 0-1.18-1.18c-.33-.167-.679-.234-1.055-.264-.363-.03-.807-.03-1.342-.03H5.472c.28.406.462.884.513 1.4H10.8c.572 0 .958 0 1.257.025.29.024.434.066.533.117a1.3 1.3 0 0 1 .568.568c.05.099.093.243.117.533.024.299.025.685.025 1.257V9c0 .476 0 .797-.017 1.047-.017.243-.047.366-.082.45a1.3 1.3 0 0 1-.703.704c-.085.035-.208.065-.451.082-.25.017-.572.017-1.047.017h-.057c-.27 0-.51 0-.743.054a2 2 0 0 0-.836.418c-.184.154-.329.347-.49.562L8 13.5l-.874-1.166c-.161-.215-.306-.408-.49-.562a2 2 0 0 0-.836-.418c-.232-.054-.474-.054-.743-.054H5c-.476 0-.797 0-1.047-.017-.243-.017-.366-.047-.45-.082a1.3 1.3 0 0 1-.704-.703c-.035-.085-.065-.208-.082-.451A17 17 0 0 1 2.7 9z"}),(0,W.jsx)("path",{fillRule:"evenodd",d:"M6.42 5.25c-.235 0-.443 0-.615.01-.18.01-.375.034-.57.105a1.57 1.57 0 0 0-.747.55c-.15.21-.2.427-.22.606a4 4 0 0 0-.018.48v.997c0 .156 0 .33.017.48.02.18.071.398.22.607.192.268.467.447.748.55.195.07.39.094.57.105.172.01.38.01.615.01h1.66c.235 0 .443 0 .615-.01.18-.01.375-.034.57-.105a1.57 1.57 0 0 0 .747-.55q.075-.106.12-.212l.034.025c.053.037.124.088.19.128a.932.932 0 0 0 1.088-.068.85.85 0 0 0 .296-.558c.01-.086.01-.18.01-.23V6.83c0-.049 0-.143-.01-.229a.85.85 0 0 0-.295-.558.93.93 0 0 0-1.088-.068c-.066.04-.138.09-.19.128l-.035.025a1 1 0 0 0-.12-.212 1.57 1.57 0 0 0-.747-.55 2 2 0 0 0-.57-.105c-.172-.01-.38-.01-.615-.01zm2.33 1.779v.942l-.001.222-.001.033a1 1 0 0 1-.14.017c-.124.007-.287.007-.548.007H6.44c-.26 0-.424 0-.547-.007a1 1 0 0 1-.14-.017l-.002-.033-.001-.222V7.03l.001-.222.001-.033a1 1 0 0 1 .14-.017c.124-.007.287-.007.548-.007h1.62c.26 0 .424 0 .547.007a1 1 0 0 1 .14.017l.002.033z",clipRule:"evenodd"})]}),lm=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"M5.333 4.667h5.334M8 4.667v6.666M5.2 14h5.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C14 12.48 14 11.92 14 10.8V5.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C12.48 2 11.92 2 10.8 2H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 3.52 2 4.08 2 5.2v5.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 14 4.08 14 5.2 14"})}),lu=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 17 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M14.714 13.333h-2.266c-2.24 0-3.36 0-4.216-.436a4 4 0 0 1-1.748-1.748c-.436-.855-.436-1.975-.436-4.216V2.667m0 0L9.38 6M6.048 2.667 2.714 6"})}),lp=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsxs)("g",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,clipPath:"url(#requires_inline_svg__a)",children:[(0,W.jsx)("path",{d:"M6 10.667a4.667 4.667 0 1 0 0-9.334 4.667 4.667 0 0 0 0 9.334"}),(0,W.jsx)("path",{d:"M10 14.667a4.667 4.667 0 1 0 0-9.334 4.667 4.667 0 0 0 0 9.334"})]}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"requires_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),lh=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 17 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M6.714 9.333 3.381 6m0 0 3.333-3.333M3.381 6h4.267c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216v.933"})}),lg=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 18 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.4,d:"M16.542 8H8.115m-3.55 2.78H2.942m1.623-2.682H1.342m3.223-2.682H2.942m4.471-2.352 8.837 4.285a.724.724 0 0 1 0 1.302l-8.837 4.285c-.605.294-1.249-.325-.979-.942l1.62-3.704a.72.72 0 0 0 0-.58l-1.62-3.704c-.27-.617.374-1.236.98-.942Z"})}),lx=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M4.667 2v2.267c0 .373 0 .56.072.702a.67.67 0 0 0 .292.292c.142.072.329.072.702.072h4.534c.373 0 .56 0 .702-.072a.67.67 0 0 0 .292-.292c.072-.142.072-.329.072-.702v-1.6m0 11.333V9.733c0-.373 0-.56-.072-.702a.67.67 0 0 0-.292-.292c-.142-.072-.329-.072-.702-.072H5.733c-.373 0-.56 0-.702.072a.67.67 0 0 0-.292.292c-.072.142-.072.329-.072.702V14M14 6.217V10.8c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874C12.48 14 11.92 14 10.8 14H5.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C2 12.48 2 11.92 2 10.8V5.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C3.52 2 4.08 2 5.2 2h4.583c.326 0 .49 0 .643.037q.205.05.385.16c.135.082.25.197.48.428l2.084 2.084c.23.23.346.345.428.48q.11.181.16.385c.037.154.037.317.037.643"})}),lj=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M14 6.667H2m8.667-5.334V4M5.333 1.333V4M6 10.667 7.333 12l3-3M5.2 14.667h5.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874c.218-.428.218-.988.218-2.108v-5.6c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874c-.428-.218-.988-.218-2.108-.218H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 4.187 2 4.747 2 5.867v5.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.428.218.988.218 2.108.218"})}),lv=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"m14 14-4-4m1.333-3.333a4.667 4.667 0 1 1-9.333 0 4.667 4.667 0 0 1 9.333 0"})}),ly=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#segment-tagging_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M10.667 3.333 12 4.667 14.667 2m0 6v3.467c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874c-.428.218-.988.218-2.108.218H4.533c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874c-.218-.428-.218-.988-.218-2.108V4.533c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874c.428-.218.988-.218 2.108-.218H8M1.43 13.284A2.67 2.67 0 0 1 4 11.334h4.667c.619 0 .929 0 1.186.05a2.67 2.67 0 0 1 2.096 2.096c.05.257.05.567.05 1.187M9.334 6.333a2.667 2.667 0 1 1-5.333 0 2.667 2.667 0 0 1 5.333 0"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"segment-tagging_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),lf=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{stroke:"currentColor",strokeWidth:1.2,d:"M14.123 2.667H1.878c-.301 0-.545.243-.545.544v9.578c0 .3.244.544.545.544h12.245c.3 0 .544-.243.544-.544V3.211c0-.3-.244-.544-.544-.544Z"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.2,d:"M5.333 6.316c-.666-.983-1.834-.337-1.75.674C3.667 8 5 8 5.083 9.01c.084 1.01-1.083 1.657-1.75.674M8.667 6H7.333v4.333h1.334M7.333 8.333h1.334M12.667 7a1 1 0 0 0-2 0v2.333a1 1 0 1 0 2 0z"})]}),lw=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsxs)("g",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,clipPath:"url(#settings_inline_svg__a)",children:[(0,W.jsx)("path",{d:"M8 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4"}),(0,W.jsx)("path",{d:"M12.485 9.818a1 1 0 0 0 .2 1.103l.036.037a1.212 1.212 0 1 1-1.715 1.715l-.036-.037a1 1 0 0 0-1.103-.2 1 1 0 0 0-.606.915v.104a1.212 1.212 0 0 1-2.425 0V13.4a1 1 0 0 0-.654-.915 1 1 0 0 0-1.103.2l-.037.036a1.212 1.212 0 1 1-1.715-1.715l.037-.036a1 1 0 0 0 .2-1.103 1 1 0 0 0-.916-.606h-.103a1.212 1.212 0 0 1 0-2.425H2.6a1 1 0 0 0 .915-.654 1 1 0 0 0-.2-1.103l-.036-.037a1.212 1.212 0 1 1 1.715-1.715l.036.037a1 1 0 0 0 1.103.2h.049a1 1 0 0 0 .606-.916v-.103a1.212 1.212 0 0 1 2.424 0V2.6a1 1 0 0 0 .606.915 1 1 0 0 0 1.103-.2l.037-.036a1.21 1.21 0 0 1 1.978.393 1.21 1.21 0 0 1-.263 1.322l-.037.036a1 1 0 0 0-.2 1.103v.049a1 1 0 0 0 .915.606h.103a1.212 1.212 0 1 1 0 2.424H13.4a1 1 0 0 0-.915.606"})]}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"settings_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),lb=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 14 14",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"M12.25 5.25v-3.5m0 0h-3.5m3.5 0L7 7M5.833 1.75H4.55c-.98 0-1.47 0-1.844.19a1.75 1.75 0 0 0-.765.766c-.191.374-.191.864-.191 1.844v4.9c0 .98 0 1.47.19 1.845.169.329.436.597.766.764.374.191.864.191 1.844.191h4.9c.98 0 1.47 0 1.845-.19a1.75 1.75 0 0 0 .764-.766c.191-.374.191-.864.191-1.844V8.167"})}),lC=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m12.667 14-2-2m0 0 2-2m-2 2h4m-4.334-9.806a2.668 2.668 0 0 1 0 4.945M8 10H5.333c-1.242 0-1.863 0-2.353.203-.654.27-1.173.79-1.444 1.443-.203.49-.203 1.111-.203 2.354M9 4.667a2.667 2.667 0 1 1-5.333 0 2.667 2.667 0 0 1 5.333 0"})}),lk=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M7.535 14.41c.147.086.221.13.325.151.081.018.199.018.28 0 .104-.022.178-.065.325-.151 1.299-.758 4.868-3.138 4.868-6.41V5.467c0-.716 0-1.074-.11-1.328a1.16 1.16 0 0 0-.454-.558c-.226-.16-.67-.252-1.557-.437a5.7 5.7 0 0 1-2.416-1.102c-.329-.254-.494-.382-.622-.417a.56.56 0 0 0-.348 0c-.128.035-.293.163-.622.417a5.7 5.7 0 0 1-2.416 1.102c-.887.185-1.33.277-1.557.437-.23.162-.342.3-.454.558-.11.254-.11.612-.11 1.328V8c0 3.272 3.569 5.652 4.868 6.41"})}),lT=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"M9.333 6.667 14 2m0 0h-4m4 0v4M6.667 9.333 2 14m0 0h4m-4 0v-4"})}),lD=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 14 14",...e,children:[(0,W.jsx)("circle",{cx:2.8,cy:2.8,r:2.8,opacity:.5}),(0,W.jsx)("circle",{cx:2.8,cy:11.2,r:2.8}),(0,W.jsx)("circle",{cx:11.2,cy:2.8,r:2.8,opacity:.3}),(0,W.jsx)("circle",{cx:11.2,cy:11.2,r:2.8,opacity:.6})]}),lS=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.3,d:"M2 5V2.3c0-.166.14-.3.313-.3h4.374C6.86 2 7 2.134 7 2.3v11.4c0 .166-.14.3-.312.3H2.313A.306.306 0 0 1 2 13.7V11M14 11v2.7c0 .166-.14.3-.312.3H9.311A.306.306 0 0 1 9 13.7V2.3c0-.166.14-.3.313-.3h4.374c.173 0 .313.134.313.3V5M9 8h5M2 8h5"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"m12 10 .667-.667L14 8l-1.333-1.333L12 6M4 10l-.667-.667L2 8l1.333-1.333L4 6"})]}),lM=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#style_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m8.667 9.333-2-2m3.34-5v-1m2.626 2.04.707-.706m-.707 6 .707.707m-6-6-.707-.707M13.673 6h1M4.089 13.912l6.158-6.158c.264-.264.396-.396.445-.548a.67.67 0 0 0 0-.412c-.05-.152-.181-.284-.445-.548l-.492-.492c-.264-.264-.396-.396-.548-.445a.67.67 0 0 0-.412 0c-.152.05-.284.181-.548.445l-6.158 6.158c-.264.264-.396.396-.446.549a.67.67 0 0 0 0 .412c.05.152.182.284.446.548l.491.491c.264.264.396.396.548.446a.67.67 0 0 0 .412 0c.153-.05.285-.182.549-.446"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"style_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),lL=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M14 7.333 8.937 2.271c-.346-.346-.519-.52-.72-.643a2 2 0 0 0-.579-.24c-.23-.055-.474-.055-.963-.055H4M2 5.8v1.316c0 .326 0 .49.037.643q.05.205.16.385c.082.135.197.25.428.48l5.2 5.2c.528.529.792.793 1.096.892.268.087.557.087.824 0 .305-.1.569-.363 1.097-.891l1.65-1.65c.527-.528.791-.792.89-1.096a1.33 1.33 0 0 0 0-.824c-.098-.305-.362-.569-.89-1.097L7.625 4.292c-.23-.231-.346-.346-.48-.429a1.3 1.3 0 0 0-.386-.16c-.153-.036-.317-.036-.643-.036H4.133c-.746 0-1.12 0-1.405.145-.25.128-.455.332-.583.583C2 4.68 2 5.053 2 5.8"})}),lI=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M7.172 2H4a2 2 0 0 0-2 2v3.172a2 2 0 0 0 .586 1.414l3.96 3.96a3 3 0 0 0 4.242 0l1.757-1.758a3 3 0 0 0 0-4.243l-3.96-3.96A2 2 0 0 0 7.173 2"}),(0,W.jsx)("circle",{cx:5,cy:5,r:1,fill:"#000"})]}),lE=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("circle",{cx:8,cy:8,r:1.5,stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5}),(0,W.jsx)("circle",{cx:8,cy:8,r:4.5,stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8 3.5V2M12.5 8H14M8 12.5V14M3.5 8H2"})]}),l_=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#tax-class_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M5.667 9.778c0 .859.696 1.555 1.555 1.555h1.445a1.667 1.667 0 1 0 0-3.333H7.333a1.667 1.667 0 0 1 0-3.333h1.445c.859 0 1.555.696 1.555 1.555M8 3.667v1m0 6.666v1M14.667 8A6.667 6.667 0 1 1 1.333 8a6.667 6.667 0 0 1 13.334 0"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"tax-class_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),lz=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M2.667 4.667c0-.622 0-.932.101-1.177.135-.327.395-.586.722-.722.245-.101.555-.101 1.177-.101h6.666c.622 0 .932 0 1.177.101.327.136.587.395.722.722.101.245.101.555.101 1.177M6 13.333h4M8 2.667v10.666"})}),lO=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M8 10.667 10.667 8m0 0L8 5.333M10.667 8H5.333M5.2 14h5.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C14 12.48 14 11.92 14 10.8V5.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C12.48 2 11.92 2 10.8 2H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 3.52 2 4.08 2 5.2v5.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 14 4.08 14 5.2 14"})}),lP=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsxs)("g",{clipPath:"url(#translate_inline_svg__a)",children:[(0,W.jsx)("path",{fill:"#fff",fillOpacity:.01,d:"M16 0H0v16h16z"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M9.429 12.333h3.81M14 14l-.762-1.667zm-5.333 0 .762-1.667zm.762-1.667L11.333 8l1.905 4.333zM5.333 2l.334 1M2 3.667h7.333M3.333 5.333S3.93 7.42 5.421 8.58s3.912 2.087 3.912 2.087"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M8 3.667s-.596 2.739-2.088 4.26C4.422 9.45 2 10.668 2 10.668"})]}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"translate_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),lV=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M6 2h4M2 4h12m-1.333 0-.468 7.013c-.07 1.052-.105 1.578-.332 1.977a2 2 0 0 1-.866.81c-.413.2-.94.2-1.995.2H6.994c-1.055 0-1.582 0-1.995-.2a2 2 0 0 1-.866-.81c-.227-.399-.262-.925-.332-1.977L3.333 4"})}),lA=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.88,strokeWidth:1.4,d:"M2 2v6.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 12 4.08 12 5.2 12H10m0 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0M2 5.333h8m0 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0"})}),lB=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9.333 7.333h-4M6.667 10H5.333m5.334-5.333H5.333m8-.134v6.934c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874c-.428.218-.988.218-2.108.218H5.867c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874c-.218-.428-.218-.988-.218-2.108V4.533c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874c.428-.218.988-.218 2.108-.218h4.266c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874c.218.428.218.988.218 2.108"})}),lR=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M13.333 6.333v-1.8c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874c-.428-.218-.988-.218-2.108-.218H5.867c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874c-.218.428-.218.988-.218 2.108v6.934c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.428.218.988.218 2.108.218h3.466m0-7.334h-4M6.667 10H5.333m5.334-5.333H5.333M11 10.002a1.499 1.499 0 0 1 2.913.5c0 .998-1.5 1.498-1.5 1.498m.02 2h.007"})}),lN=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M4.667 6.667V5.333A3.333 3.333 0 0 1 11.056 4M8 9.667V11m-2.133 3h4.266c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874c.218-.428.218-.988.218-2.108v-.933c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874c-.428-.218-.988-.218-2.108-.218H5.867c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874c-.218.428-.218.988-.218 2.108v.933c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.428.218.988.218 2.108.218"})}),lF=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M2.667 10.828a3 3 0 0 1 1.387-5.482 4.001 4.001 0 0 1 7.893 0 3 3 0 0 1 1.386 5.482m-8-.161L8 8m0 0 2.667 2.667M8 8v6"})}),lH=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{fill:"#000",d:"M5.852 1h4.296c.548 0 .979 0 1.326.028.354.03.65.09.919.226.439.224.796.581 1.02 1.02.136.269.196.564.225.919.029.347.029.778.029 1.326v3.814a.333.333 0 0 1-.667 0v-3.8c0-.565 0-.97-.026-1.286-.026-.313-.075-.511-.156-.67a1.67 1.67 0 0 0-.728-.729c-.16-.08-.357-.13-.67-.155-.317-.026-.721-.026-1.287-.026h-3.8V3h1a.333.333 0 1 1 0 .667h-1V5h1a.333.333 0 1 1 0 .667h-1v1a.333.333 0 1 1-.666 0v-1h-1a.333.333 0 1 1 0-.667h1V3.667h-1a.333.333 0 1 1 0-.667h1V1.667c-.463 0-.809.003-1.087.026-.313.025-.51.074-.67.155-.314.16-.569.415-.728.729-.081.159-.13.357-.156.67C3 3.564 3 3.967 3 4.533v6.934c0 .565 0 .97.026 1.286.026.313.075.511.156.67.16.314.414.569.728.729.16.08.357.13.67.155.317.026.721.026 1.287.026h2.466a.333.333 0 0 1 0 .667H5.852c-.548 0-.979 0-1.326-.028-.354-.03-.65-.09-.919-.226a2.33 2.33 0 0 1-1.02-1.02c-.136-.269-.196-.565-.225-.919-.029-.347-.029-.778-.029-1.325V4.519c0-.548 0-.98.029-1.326.029-.355.089-.65.226-.919.223-.439.58-.796 1.02-1.02.268-.137.564-.197.918-.226C4.873 1 5.304 1 5.852 1"}),(0,W.jsx)("path",{fill:"#000",d:"M11.333 15a.333.333 0 0 1-.333-.333V11.47l-1.43 1.431a.333.333 0 0 1-.472-.471l2-2c.13-.13.34-.13.471 0l2 2a.333.333 0 1 1-.471.471l-1.431-1.43v3.195c0 .184-.15.333-.334.333"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:.6,d:"M5.852 1h4.296c.548 0 .979 0 1.326.028.354.03.65.09.919.226.439.224.796.581 1.02 1.02.136.269.196.564.225.919.029.347.029.778.029 1.326v3.814a.333.333 0 0 1-.667 0v-3.8c0-.565 0-.97-.026-1.286-.026-.313-.075-.511-.156-.67a1.67 1.67 0 0 0-.728-.729c-.16-.08-.357-.13-.67-.155-.317-.026-.721-.026-1.287-.026h-3.8V3h1a.333.333 0 1 1 0 .667h-1V5h1a.333.333 0 1 1 0 .667h-1v1a.333.333 0 1 1-.666 0v-1h-1a.333.333 0 1 1 0-.667h1V3.667h-1a.333.333 0 1 1 0-.667h1V1.667c-.463 0-.809.003-1.087.026-.313.025-.51.074-.67.155-.314.16-.569.415-.728.729-.081.159-.13.357-.156.67C3 3.564 3 3.967 3 4.533v6.934c0 .565 0 .97.026 1.286.026.313.075.511.156.67.16.314.414.569.728.729.16.08.357.13.67.155.317.026.721.026 1.287.026h2.466a.333.333 0 0 1 0 .667H5.852c-.548 0-.979 0-1.326-.028-.354-.03-.65-.09-.919-.226a2.33 2.33 0 0 1-1.02-1.02c-.136-.269-.196-.565-.225-.919-.029-.347-.029-.778-.029-1.325V4.519c0-.548 0-.98.029-1.326.029-.355.089-.65.226-.919.223-.439.58-.796 1.02-1.02.268-.137.564-.197.918-.226C4.873 1 5.304 1 5.852 1"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:.6,d:"M11.333 15a.333.333 0 0 1-.333-.333V11.47l-1.43 1.431a.333.333 0 0 1-.472-.471l2-2c.13-.13.34-.13.471 0l2 2a.333.333 0 1 1-.471.471l-1.431-1.43v3.195c0 .184-.15.333-.334.333"})]}),lW=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#user-select_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M3.333 13.727c.352.106.827.106 1.634.106h6.066c.807 0 1.282 0 1.634-.106m-9.334 0a1.3 1.3 0 0 1-.21-.084 1.75 1.75 0 0 1-.766-.765c-.19-.374-.19-.865-.19-1.845V4.967c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .765-.765c.375-.19.865-.19 1.845-.19h6.066c.98 0 1.47 0 1.845.19.33.168.597.436.765.765.19.375.19.865.19 1.845v6.066c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.765 1.3 1.3 0 0 1-.211.084m-9.334 0c0-.472.003-.722.045-.932a2.33 2.33 0 0 1 1.833-1.834c.226-.044.497-.044 1.039-.044h3.5c.542 0 .813 0 1.039.044.925.185 1.649.908 1.833 1.834.042.21.044.46.045.932m-2.334-7.185a2.333 2.333 0 1 1-4.666 0 2.333 2.333 0 0 1 4.666 0"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"user-select_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M1 1h14v14H1z"})})})]}),lG=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M13.333 14c0-.93 0-1.396-.114-1.774a2.67 2.67 0 0 0-1.778-1.778c-.379-.115-.844-.115-1.774-.115H6.333c-.93 0-1.395 0-1.774.115a2.67 2.67 0 0 0-1.778 1.778c-.114.378-.114.844-.114 1.774M11 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0"})}),l$=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M14.667 5.954c0-.404 0-.606-.08-.7a.33.33 0 0 0-.28-.115c-.122.01-.265.153-.55.438L11.332 8l2.423 2.423c.286.286.429.428.551.438a.33.33 0 0 0 .28-.116c.08-.093.08-.295.08-.7z"}),(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M1.333 6.533c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874c.428-.218.988-.218 2.108-.218h3.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874c.218.428.218.988.218 2.108v2.934c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874c-.428.218-.988.218-2.108.218h-3.6c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874c-.218-.428-.218-.988-.218-2.108z"})]}),lU=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"M12.667 14h.673c.648 0 .971 0 1.15-.135a.67.67 0 0 0 .263-.492c.014-.223-.166-.493-.525-1.031l-2.007-3.01c-.297-.446-.445-.668-.632-.746a.67.67 0 0 0-.511 0c-.187.078-.335.3-.632.745l-.496.745M12.667 14 7.544 6.6c-.295-.425-.442-.638-.626-.713a.67.67 0 0 0-.502 0c-.184.075-.332.288-.626.713l-3.965 5.726c-.375.542-.563.813-.552 1.039.01.196.105.378.261.498.18.137.51.137 1.168.137zM14 4a2 2 0 1 1-4 0 2 2 0 0 1 4 0"})}),lq=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M8 4.667v4M14 8A6 6 0 1 1 2 8a6 6 0 0 1 12 0"}),(0,W.jsx)("circle",{cx:8,cy:11,r:.667,fill:"currentColor"})]}),lJ=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16",...e,children:[(0,W.jsxs)("mask",{id:"webhook_inline_svg__a",width:16,height:15,x:0,y:.433,fill:"currentColor",maskUnits:"userSpaceOnUse",children:[(0,W.jsx)("path",{d:"M0 .433h16v15H0z"}),(0,W.jsx)("path",{fillRule:"evenodd",d:"M12.576 8.466a.539.539 0 0 1 .54-.932A3.769 3.769 0 1 1 7.5 11.336H4.77a.539.539 0 0 1 0-1.077h3.223a.54.54 0 0 1 .545.539 2.694 2.694 0 0 0 2.693 2.692 2.694 2.694 0 0 0 1.345-5.024",clipRule:"evenodd"}),(0,W.jsx)("path",{fillRule:"evenodd",d:"M5.308 5.203A.539.539 0 0 1 4.23 5.2a3.768 3.768 0 1 1 6.1 2.963l1.366 2.365a.539.539 0 0 1-.932.538L9.153 8.275a.54.54 0 0 1 .193-.741 2.694 2.694 0 0 0 .986-3.678 2.694 2.694 0 0 0-5.024 1.347",clipRule:"evenodd"}),(0,W.jsx)("path",{fillRule:"evenodd",d:"M6.116 13.13a.539.539 0 0 1 .537.932 3.769 3.769 0 1 1-.485-6.765l1.366-2.364a.539.539 0 0 1 .932.538L6.855 8.263a.54.54 0 0 1-.74.203 2.694 2.694 0 0 0-2.692 4.664 2.69 2.69 0 0 0 2.693 0",clipRule:"evenodd"}),(0,W.jsx)("path",{d:"M11.364 12.407a1.48 1.48 0 1 0 0-2.962 1.48 1.48 0 0 0 0 2.962"}),(0,W.jsx)("path",{fillRule:"evenodd",d:"M6.772 5.962c-.408-.666-.165-1.52.542-1.904s1.614-.156 2.023.51c.408.666.166 1.52-.542 1.904s-1.614.156-2.023-.51M5.69 11.666c-.384.708-1.237.95-1.903.542s-.894-1.315-.51-2.022c.385-.708 1.238-.95 1.904-.542s.894 1.315.51 2.022",clipRule:"evenodd"})]}),(0,W.jsx)("path",{fillRule:"evenodd",d:"M12.576 8.466a.539.539 0 0 1 .54-.932A3.769 3.769 0 1 1 7.5 11.336H4.77a.539.539 0 0 1 0-1.077h3.223a.54.54 0 0 1 .545.539 2.694 2.694 0 0 0 2.693 2.692 2.694 2.694 0 0 0 1.345-5.024",clipRule:"evenodd"}),(0,W.jsx)("path",{fillRule:"evenodd",d:"M5.308 5.203A.539.539 0 0 1 4.23 5.2a3.768 3.768 0 1 1 6.1 2.963l1.366 2.365a.539.539 0 0 1-.932.538L9.153 8.275a.54.54 0 0 1 .193-.741 2.694 2.694 0 0 0 .986-3.678 2.694 2.694 0 0 0-5.024 1.347",clipRule:"evenodd"}),(0,W.jsx)("path",{fillRule:"evenodd",d:"M6.116 13.13a.539.539 0 0 1 .537.932 3.769 3.769 0 1 1-.485-6.765l1.366-2.364a.539.539 0 0 1 .932.538L6.855 8.263a.54.54 0 0 1-.74.203 2.694 2.694 0 0 0-2.692 4.664 2.69 2.69 0 0 0 2.693 0",clipRule:"evenodd"}),(0,W.jsx)("path",{d:"M11.364 12.407a1.48 1.48 0 1 0 0-2.962 1.48 1.48 0 0 0 0 2.962"}),(0,W.jsx)("path",{fillRule:"evenodd",d:"M6.772 5.962c-.408-.666-.165-1.52.542-1.904s1.614-.156 2.023.51c.408.666.166 1.52-.542 1.904s-1.614.156-2.023-.51M5.69 11.666c-.384.708-1.237.95-1.903.542s-.894-1.315-.51-2.022c.385-.708 1.238-.95 1.904-.542s.894 1.315.51 2.022",clipRule:"evenodd"}),(0,W.jsx)("path",{d:"m12.576 8.466-.05.086zm-.196-.736-.086-.05zm.736-.196-.05.086zM7.5 11.336l.099-.014-.012-.086H7.5zm.493-1.077v.1h.001zm.385.156.07-.071zm-3.07-5.212h-.1zm-.54.538v.1zm-.537-.54h.1zm1.884-3.263.05.087zm5.15 1.38.086-.05zm-.933 4.846-.062-.079-.068.054.043.075zm1.365 2.365-.086.05zm-.197.735-.05-.086zm-.735-.197-.087.05zM9.153 8.275l.086-.05zm-.059-.411-.096-.025zm.252-.33.05.086zm.986-3.678.086-.05zM6.654 2.87l-.05-.087zm-.538 10.258-.05-.087zm.735.198.087-.05zm-.198.735-.05-.086zm-3.768 0-.05.087zm-1.38-5.149-.087-.05zm4.663-1.616-.037.093.08.033.044-.076zm1.366-2.364.086.05zm.735-.197.05-.087zm.197.735.087.05zM6.855 8.263l-.087-.05v.001zm-.328.256-.026-.096zm-.412-.053-.05.087zm-3.677.986.086.05zm.985 3.678-.05.086zm3.35-7.168.085-.052zm.541-1.904.048.088zm2.023.51-.085.053zm-.542 1.904-.048-.088zM5.69 11.666l.088.048zm-1.904.542-.052.086zm-.51-2.022-.088-.048zm1.904-.542.052-.085zm7.445-1.265a.44.44 0 0 1-.16-.599l-.172-.1a.64.64 0 0 0 .232.872zm-.16-.599a.44.44 0 0 1 .6-.16l.1-.173a.64.64 0 0 0-.872.233zm.6-.16a3.67 3.67 0 0 1 1.834 3.178h.2c0-1.431-.778-2.682-1.934-3.35zm1.834 3.178a3.67 3.67 0 0 1-3.67 3.669v.2a3.87 3.87 0 0 0 3.87-3.87zm-3.67 3.669A3.67 3.67 0 0 1 7.6 11.322l-.198.029a3.87 3.87 0 0 0 3.83 3.316zm-3.73-3.23H4.77v.2H7.5zm-2.73 0a.44.44 0 0 1-.44-.44h-.2c0 .353.287.64.64.64zm-.44-.44c0-.241.197-.438.44-.438v-.2a.64.64 0 0 0-.64.639zm.44-.438h3.223v-.2H4.769zm3.224 0a.44.44 0 0 1 .314.127l.14-.143a.64.64 0 0 0-.456-.184zm.314.127c.083.082.13.194.13.312h.2a.64.64 0 0 0-.19-.454zm.13.312a2.794 2.794 0 0 0 2.793 2.792v-.2a2.594 2.594 0 0 1-2.593-2.592zm2.793 2.792a2.794 2.794 0 0 0 2.792-2.792h-.2a2.594 2.594 0 0 1-2.592 2.592zm2.792-2.792a2.79 2.79 0 0 0-1.397-2.419l-.1.173a2.59 2.59 0 0 1 1.297 2.246zM5.208 5.203a.44.44 0 0 1-.44.438v.2a.64.64 0 0 0 .64-.638zm-.44.438a.44.44 0 0 1-.437-.44h-.2c0 .353.285.639.637.64zm-.437-.44a3.67 3.67 0 0 1 1.834-3.176l-.1-.174a3.87 3.87 0 0 0-1.934 3.35zm1.834-3.176c1.754-1.013 4-.411 5.013 1.342l.173-.1a3.87 3.87 0 0 0-5.286-1.416zm5.013 1.342a3.67 3.67 0 0 1-.908 4.718l.124.158a3.87 3.87 0 0 0 .957-4.976zm-.933 4.847 1.366 2.365.173-.1-1.366-2.365zm1.366 2.365c.12.21.049.478-.161.599l.1.173a.64.64 0 0 0 .234-.872zm-.161.599a.44.44 0 0 1-.599-.16l-.173.1c.176.304.567.409.872.233zm-.599-.16L9.24 8.224l-.173.1 1.612 2.792zM9.24 8.223a.44.44 0 0 1-.048-.335l-.193-.05a.64.64 0 0 0 .069.487zM9.19 7.89a.44.44 0 0 1 .205-.269l-.1-.173a.64.64 0 0 0-.298.392zm.205-.269a2.794 2.794 0 0 0 1.022-3.814l-.173.1a2.594 2.594 0 0 1-.949 3.541zm1.022-3.814a2.794 2.794 0 0 0-3.814-1.022l.1.173a2.594 2.594 0 0 1 3.541.949zM6.604 2.784a2.79 2.79 0 0 0-1.396 2.419h.2a2.59 2.59 0 0 1 1.296-2.246zm-.438 10.432a.44.44 0 0 1 .599.161l.173-.1a.64.64 0 0 0-.872-.235zm.599.161c.12.21.048.478-.162.599l.1.173a.64.64 0 0 0 .235-.872zm-.162.599a3.67 3.67 0 0 1-3.668 0l-.1.173a3.87 3.87 0 0 0 3.868 0zm-3.668 0a3.67 3.67 0 0 1-1.343-5.013l-.174-.1a3.87 3.87 0 0 0 1.417 5.286zM1.592 8.963a3.67 3.67 0 0 1 4.54-1.573l.074-.185a3.87 3.87 0 0 0-4.788 1.658zm4.663-1.616L7.62 4.983l-.173-.1-1.365 2.364zM7.62 4.983a.44.44 0 0 1 .6-.16l.1-.174a.64.64 0 0 0-.873.234zm.6-.16c.209.12.28.389.16.598l.173.1a.64.64 0 0 0-.234-.872zm.16.598L6.768 8.213l.173.1 1.612-2.792zM6.767 8.214a.44.44 0 0 1-.266.209l.053.192a.64.64 0 0 0 .388-.303zm-.266.209a.44.44 0 0 1-.336-.043l-.1.173a.64.64 0 0 0 .489.062zm-.336-.043a2.794 2.794 0 0 0-3.814 1.022l.173.1a2.594 2.594 0 0 1 3.541-.95zM2.351 9.402a2.794 2.794 0 0 0 1.022 3.814l.1-.173a2.594 2.594 0 0 1-.949-3.541zm1.022 3.814c.895.517 1.957.48 2.793 0l-.1-.173a2.59 2.59 0 0 1-2.593 0zm7.991-.71a1.58 1.58 0 0 0 1.581-1.58h-.2a1.38 1.38 0 0 1-1.38 1.38zm1.581-1.58a1.58 1.58 0 0 0-1.58-1.58v.2c.762 0 1.38.618 1.38 1.38zm-1.58-1.58a1.58 1.58 0 0 0-1.581 1.58h.2c0-.762.618-1.38 1.38-1.38zm-1.581 1.58c0 .873.707 1.58 1.58 1.58v-.2a1.38 1.38 0 0 1-1.38-1.38zM6.858 5.91c-.377-.615-.156-1.405.504-1.764l-.095-.176c-.756.41-1.02 1.327-.58 2.044zm.504-1.764c.663-.36 1.51-.144 1.89.475l.17-.105c-.438-.714-1.403-.954-2.156-.546zm1.89.475c.377.614.155 1.404-.505 1.763l.096.176c.755-.41 1.02-1.327.579-2.044zm-.505 1.763c-.663.36-1.51.144-1.89-.474l-.17.104c.438.714 1.404.954 2.156.546zm-3.144 5.235c-.359.66-1.149.881-1.764.504l-.104.17c.717.44 1.633.177 2.044-.579zm-1.764.504c-.618-.38-.834-1.226-.474-1.89l-.176-.095c-.408.752-.168 1.718.546 2.156zm-.474-1.89c.359-.66 1.149-.88 1.763-.504l.105-.17c-.718-.44-1.633-.176-2.044.58zm1.763-.504c.619.38.835 1.226.475 1.89l.176.095c.408-.752.167-1.718-.546-2.155z",mask:"url(#webhook_inline_svg__a)"})]}),lZ=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#widget_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.3,d:"M5.643 5.643 3.286 3.286m0 9.428 2.357-2.357m4.714 0 2.357 2.357m0-9.428-2.357 2.357M14.667 8A6.667 6.667 0 1 1 1.333 8a6.667 6.667 0 0 1 13.334 0m-3.334 0a3.333 3.333 0 1 1-6.666 0 3.333 3.333 0 0 1 6.666 0"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"widget_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),lK=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#workflow_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M7.333 3H12.2c.747 0 1.12 0 1.405.145.251.128.455.332.583.583.145.285.145.659.145 1.405V6c0 .621 0 .932-.101 1.177a1.33 1.33 0 0 1-.722.722C13.265 8 12.955 8 12.333 8m-3.666 5H3.8c-.747 0-1.12 0-1.405-.145a1.33 1.33 0 0 1-.583-.583c-.145-.285-.145-.659-.145-1.405V10c0-.621 0-.932.101-1.177.135-.327.395-.586.722-.722C2.735 8 3.045 8 3.667 8m3.2 1.667h2.266c.187 0 .28 0 .352-.037a.33.33 0 0 0 .145-.145c.037-.072.037-.165.037-.352V6.867c0-.187 0-.28-.037-.352a.33.33 0 0 0-.145-.145c-.072-.037-.165-.037-.352-.037H6.867c-.187 0-.28 0-.352.037a.33.33 0 0 0-.145.145c-.037.072-.037.165-.037.352v2.266c0 .187 0 .28.037.352a.33.33 0 0 0 .145.145c.072.037.165.037.352.037m5 5h2.266c.187 0 .28 0 .352-.037a.33.33 0 0 0 .145-.145c.037-.072.037-.165.037-.352v-2.266c0-.187 0-.28-.037-.352a.33.33 0 0 0-.145-.145c-.072-.037-.165-.037-.352-.037h-2.266c-.187 0-.28 0-.352.037a.33.33 0 0 0-.145.145c-.037.072-.037.165-.037.352v2.266c0 .187 0 .28.037.352a.33.33 0 0 0 .145.145c.072.037.165.037.352.037m-10-10h2.266c.187 0 .28 0 .352-.037a.33.33 0 0 0 .145-.145c.037-.072.037-.165.037-.352V1.867c0-.187 0-.28-.037-.352a.33.33 0 0 0-.145-.145c-.072-.037-.165-.037-.352-.037H1.867c-.187 0-.28 0-.352.037a.33.33 0 0 0-.145.145c-.037.072-.037.165-.037.352v2.266c0 .187 0 .28.037.352a.33.33 0 0 0 .145.145c.072.037.165.037.352.037"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"workflow_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),lQ=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("path",{fill:"#000",fillRule:"evenodd",d:"M2.58 8.333h2.333a1.5 1.5 0 0 1 1.5 1.5v2.334a1.5 1.5 0 0 1-1.5 1.5H2.58a1.5 1.5 0 0 1-1.5-1.5V9.833a1.5 1.5 0 0 1 1.5-1.5m2.333 4.334a.5.5 0 0 0 .5-.5V9.833a.5.5 0 0 0-.5-.5H2.58a.507.507 0 0 0-.5.5v2.334a.507.507 0 0 0 .5.5z",clipRule:"evenodd"}),(0,W.jsx)("path",{fill:"#000",d:"M9.08 9.167a.5.5 0 1 0 0 1h3.333a.5.5 0 1 0 0-1zM14.413 11.833H9.08a.5.5 0 0 0 0 1h5.333a.5.5 0 1 0 0-1"}),(0,W.jsx)("path",{fill:"#000",fillRule:"evenodd",d:"M13.08 7H2.413A1.333 1.333 0 0 1 1.08 5.667v-2c0-.737.597-1.334 1.333-1.334H13.08c.736 0 1.333.597 1.333 1.334v2c0 .736-.597 1.333-1.333 1.333M2.413 3.333a.333.333 0 0 0-.333.334v2c0 .184.15.333.333.333H13.08c.184 0 .333-.15.333-.333v-2a.333.333 0 0 0-.333-.334z",clipRule:"evenodd"}),(0,W.jsx)("path",{stroke:"currentColor",strokeWidth:.5,d:"M2.58 8.333h2.333a1.5 1.5 0 0 1 1.5 1.5v2.334a1.5 1.5 0 0 1-1.5 1.5H2.58a1.5 1.5 0 0 1-1.5-1.5V9.833a1.5 1.5 0 0 1 1.5-1.5Zm2.333 4.334a.5.5 0 0 0 .5-.5V9.833a.5.5 0 0 0-.5-.5H2.58a.507.507 0 0 0-.5.5v2.334a.507.507 0 0 0 .5.5z",clipRule:"evenodd"}),(0,W.jsx)("path",{stroke:"currentColor",strokeWidth:.5,d:"M9.08 9.167a.5.5 0 1 0 0 1h3.333a.5.5 0 1 0 0-1zM14.413 11.833H9.08a.5.5 0 0 0 0 1h5.333a.5.5 0 1 0 0-1Z"}),(0,W.jsx)("path",{stroke:"currentColor",strokeWidth:.5,d:"M13.08 7H2.413A1.333 1.333 0 0 1 1.08 5.667v-2c0-.737.597-1.334 1.333-1.334H13.08c.736 0 1.333.597 1.333 1.334v2c0 .736-.597 1.333-1.333 1.333ZM2.413 3.333a.333.333 0 0 0-.333.334v2c0 .184.15.333.333.333H13.08c.184 0 .333-.15.333-.333v-2a.333.333 0 0 0-.333-.334z",clipRule:"evenodd"})]}),lX=e=>(0,W.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:[(0,W.jsx)("g",{clipPath:"url(#x-circle_inline_svg__a)",children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"m10 6-4 4m0-4 4 4m4.667-2A6.667 6.667 0 1 1 1.333 8a6.667 6.667 0 0 1 13.334 0"})}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"x-circle_inline_svg__a",children:(0,W.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),lY=e=>(0,W.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e,children:(0,W.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9.333 1.513v2.754c0 .373 0 .56.073.702a.67.67 0 0 0 .291.292c.143.072.33.072.703.072h2.754M6.334 8l3.333 3.333m0-3.333-3.334 3.333m3-10H5.867c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874c-.218.428-.218.988-.218 2.108v6.934c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.427.218.988.218 2.108.218h4.266c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874c.218-.428.218-.988.218-2.108V5.333z"})});b._.registerModule({onInit:()=>{let e=C.nC.get(H.j.iconLibrary);e.register({name:"accessory",component:aG}),e.register({name:"add-find",component:a$}),e.register({name:"add-folder",component:aU}),e.register({name:"add-image",component:aq}),e.register({name:"add-package",component:aJ}),e.register({name:"add-something",component:aZ}),e.register({name:"add-user",component:aK}),e.register({name:"alert",component:aQ}),e.register({name:"arrow-narrow-right",component:aX}),e.register({name:"asset",component:aY}),e.register({name:"attachment",component:a0}),e.register({name:"audio",component:a1}),e.register({name:"auto-save",component:a3}),e.register({name:"batch-selection",component:a2}),e.register({name:"body-style",component:a6}),e.register({name:"bookmark",component:a4}),e.register({name:"cache",component:a8}),e.register({name:"calculator",component:a7}),e.register({name:"calendar",component:a5}),e.register({name:"car",component:a9}),e.register({name:"catalog",component:se}),e.register({name:"category",component:st}),e.register({name:"cdp",component:sn}),e.register({name:"channels",component:si}),e.register({name:"check-circle",component:sr}),e.register({name:"checkbox",component:sa}),e.register({name:"checkmark",component:ss}),e.register({name:"chevron-down",component:so}),e.register({name:"chevron-left",component:sl}),e.register({name:"chevron-right",component:sd}),e.register({name:"chevron-selector-horizontal",component:sc}),e.register({name:"chevron-up",component:sm}),e.register({name:"children-grid",component:su}),e.register({name:"close-filled",component:sp}),e.register({name:"close",component:sh}),e.register({name:"cms",component:sg}),e.register({name:"collection",component:sx}),e.register({name:"columns",component:sj}),e.register({name:"content-duplicate",component:sv}),e.register({name:"content",component:sy}),e.register({name:"copilot",component:sf}),e.register({name:"copy",component:sw}),e.register({name:"country-select",component:sb}),e.register({name:"crop",component:sC}),e.register({name:"custom-metadata",component:sk}),e.register({name:"customer-segment-group",component:sT}),e.register({name:"customer-segment",component:sD}),e.register({name:"customer",component:sS}),e.register({name:"customers",component:sM}),e.register({name:"cut",component:sL}),e.register({name:"dashboard",component:sI}),e.register({name:"data-object-variant",component:sE}),e.register({name:"data-object",component:s_}),e.register({name:"data-quality",component:sz}),e.register({name:"date-time-field",component:sO}),e.register({name:"delete-column",component:sP}),e.register({name:"delete-row",component:sV}),e.register({name:"dependencies",component:sA}),e.register({name:"details",component:sB}),e.register({name:"document",component:sR}),e.register({name:"double-arrow-down",component:sN}),e.register({name:"double-arrow-left",component:sF}),e.register({name:"double-arrow-right",component:sH}),e.register({name:"double-arrow-up",component:sW}),e.register({name:"download-cloud",component:sG}),e.register({name:"download-zip",component:s$}),e.register({name:"download",component:sU}),e.register({name:"draft",component:sq}),e.register({name:"drag-option",component:sJ}),e.register({name:"drop-target",component:sZ}),e.register({name:"edit-pen",component:sK}),e.register({name:"edit",component:sQ}),e.register({name:"embedded-metadata",component:sX}),e.register({name:"event",component:sY}),e.register({name:"excluded-from-nav",component:s0}),e.register({name:"expand",component:s1}),e.register({name:"export",component:s3}),e.register({name:"eye-off",component:s2}),e.register({name:"eye",component:s6}),e.register({name:"factory",component:s4}),e.register({name:"favorites",component:s8}),e.register({name:"field-collection-field",component:s7}),e.register({name:"file-locked",component:s5}),e.register({name:"filter",component:s9}),e.register({name:"flag",component:oe}),e.register({name:"flip-forward",component:ot}),e.register({name:"focal-point",component:on}),e.register({name:"folder-plus",component:oi}),e.register({name:"folder-search",component:or}),e.register({name:"folder",component:oa}),e.register({name:"graph",component:os}),e.register({name:"group-by-keys",component:oo}),e.register({name:"group",component:ol}),e.register({name:"heading",component:od}),e.register({name:"help-circle",component:oc}),e.register({name:"history",component:om}),e.register({name:"home-root-folder",component:ou}),e.register({name:"image",component:op}),e.register({name:"info-circle",component:oh}),e.register({name:"info",component:og}),e.register({name:"inheritance-active",component:ox}),e.register({name:"inheritance-broken",component:oj}),e.register({name:"json",component:ov}),e.register({name:"key",component:oy}),e.register({name:"keyboard",component:of}),e.register({name:"keys",component:ow}),e.register({name:"language-select",component:ob}),e.register({name:"layout",component:oC}),e.register({name:"list",component:ok}),e.register({name:"loading",component:oT}),e.register({name:"location-marker",component:oD}),e.register({name:"lock",component:oS}),e.register({name:"locked",component:oM}),e.register({name:"log-out",component:oL}),e.register({name:"long-text",component:oI}),e.register({name:"mail-answer",component:oE}),e.register({name:"many-to-many",component:o_}),e.register({name:"market",component:oz}),e.register({name:"marketing",component:oO}),e.register({name:"menu",component:oP}),e.register({name:"minus-square",component:oV}),e.register({name:"minus",component:oA}),e.register({name:"more",component:oB}),e.register({name:"move-down",component:oR}),e.register({name:"move-up",component:oN}),e.register({name:"multi-select",component:oF}),e.register({name:"new-circle",component:oH}),e.register({name:"new-column",component:oW}),e.register({name:"new-hotspot",component:oG}),e.register({name:"new-marker",component:o$}),e.register({name:"new-row",component:oU}),e.register({name:"new-something",component:oq}),e.register({name:"new",component:oJ}),e.register({name:"news",component:oZ}),e.register({name:"no-content",component:oK}),e.register({name:"notes-events",component:oQ}),e.register({name:"notification-read",component:oX}),e.register({name:"notification-unread",component:oY}),e.register({name:"number-field",component:o0}),e.register({name:"open-folder",component:o1}),e.register({name:"package",component:o3}),e.register({name:"paste",component:o2}),e.register({name:"pdf",component:o6}),e.register({name:"personal-user",component:o4}),e.register({name:"pie-chart",component:o8}),e.register({name:"pimcore",component:o7}),e.register({name:"pin",component:o5}),e.register({name:"pined",component:o9}),e.register({name:"plus-square",component:le}),e.register({name:"presentation",component:lt}),e.register({name:"preview",component:ln}),e.register({name:"properties",component:li}),e.register({name:"published",component:lr}),e.register({name:"questionmark",component:la}),e.register({name:"refresh",component:ls}),e.register({name:"remove-image-thumbnail",component:lo}),e.register({name:"remove-marker",component:ll}),e.register({name:"remove-pdf-thumbnail",component:ld}),e.register({name:"remove-video-thumbnail",component:lc}),e.register({name:"rename",component:lm}),e.register({name:"required-by",component:lu}),e.register({name:"requires",component:lp}),e.register({name:"reverse",component:lh}),e.register({name:"run",component:lg}),e.register({name:"save",component:lx}),e.register({name:"schedule",component:lj}),e.register({name:"search",component:lv}),e.register({name:"segment-tagging",component:ly}),e.register({name:"seo",component:lf}),e.register({name:"settings",component:lw}),e.register({name:"share",component:lb}),e.register({name:"shared-users",component:lC}),e.register({name:"shield",component:lk}),e.register({name:"show-details",component:lT}),e.register({name:"spinner",component:lD}),e.register({name:"split-view",component:lS}),e.register({name:"style",component:lM}),e.register({name:"tag-configuration",component:lL}),e.register({name:"tag",component:lI}),e.register({name:"target",component:lE}),e.register({name:"tax-class",component:l_}),e.register({name:"text-field",component:lz}),e.register({name:"transfer",component:lO}),e.register({name:"translate",component:lP}),e.register({name:"trash",component:lV}),e.register({name:"tree",component:lA}),e.register({name:"txt-docs",component:lB}),e.register({name:"unknown",component:lR}),e.register({name:"unlocked",component:lN}),e.register({name:"upload-cloud",component:lF}),e.register({name:"upload-zip",component:lH}),e.register({name:"user-select",component:lW}),e.register({name:"user",component:lG}),e.register({name:"video",component:l$}),e.register({name:"view",component:lU}),e.register({name:"warning-circle",component:lq}),e.register({name:"webhook",component:lJ}),e.register({name:"widget",component:lZ}),e.register({name:"workflow",component:lK}),e.register({name:"wysiwyg-field",component:lQ}),e.register({name:"x-circle",component:lX}),e.register({name:"xlsx-csv",component:lY})}});let l0=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{preview:n` - display: flex; - justify-content: center; - align-items: center; - height: 100%; - width: 100%; - object-fit: contain; - - iframe { - display: flex; - height: 100%; - width: 100%; - } - `}},{hashPriority:"low"}),l1=e=>{let{styles:t}=l0(),{src:n}=e;return(0,W.jsx)("div",{className:t.preview,children:(0,W.jsx)(r4.s,{src:n})})};var l3=n(39712),l2=n(25741),l6=n(72497),l4=n(63739);let l8=()=>{let{id:e}=(0,l3.G)(),{isLoading:t}=(0,l2.V)(e),[n,i]=(0,G.useState)("");return((0,G.useEffect)(()=>{t||(0,l4.s)({url:`${(0,l6.G)()}/assets/${e}/document/stream/pdf-preview`,onSuccess:e=>{i(URL.createObjectURL(e))}}).catch(()=>{(0,eQ.ZP)(new eQ.aE("An error occured while loading pdf preview"))})},[e,t]),""===n||t)?(0,W.jsx)(iH.V,{loading:!0}):(0,W.jsx)(iW.D,{children:(0,W.jsx)(l1,{src:n})})};var l7=n(89906),l5=n(67180);b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["Asset/Editor/DocumentTabManager"]);e.register({key:"view",label:"asset.asset-editor-tabs.view",children:(0,W.jsx)(l8,{}),icon:(0,W.jsx)(tL.J,{value:"view"})}),e.register(l7.hD),e.register(l5.D9),e.register(l7.V2),e.register(l5.V$),e.register(l5.On),e.register(l5._P),e.register(l5.Hy),e.register(l5.zd)}});var l9=n(56684);let de=e=>(0,W.jsx)(tf.k,{gap:"extra-small",wrap:!0,children:e.renderElements});var dt=n(78374),dn=n(78981),di=n(6862),dr=n(38640),da=n(68289),ds=n(30057),dl=n(80258),dd=n(17180);let dc=e=>{let{asset:t}=e,{t:n}=(0,eH.useTranslation)(),{openAsset:i}=(0,dn.Q)(),{renameContextMenuItem:r}=(0,di.j)("asset",(0,dd.eG)("asset","rename",t.id)),{deleteContextMenuItem:a}=(0,dr.R)("asset",(0,dd.eG)("asset","delete",t.id)),{downloadContextMenuItem:s}=(0,da.i)(),{uploadNewVersionContextMenuItem:o}=(0,ds.M)(),{openContextMenuItem:l}=(0,dl.y)("asset"),d=[l(t),{key:"locate-in-tree",icon:(0,W.jsx)(tL.J,{value:"target"}),label:n("preview-card.locate-in-tree"),hidden:!0},{key:"info",icon:(0,W.jsx)(tL.J,{value:"info-circle"}),label:n("info"),hidden:!0},r(t),o(t),s(t),a(t)];return(0,W.jsx)(dt.o,{dropdownItems:d,imgSrc:"imageThumbnailPath"in t&&(0,tD.isString)(t.imageThumbnailPath)?t.imageThumbnailPath:t.icon,name:t.filename,onClick:e=>{i({config:{id:t.id}})}},t.id)},dm=e=>{let{assets:t}=e,n=[];return t.items.forEach(e=>{n.push((0,W.jsx)(dc,{asset:e}))}),(0,W.jsx)(de,{renderElements:n})};var du=n(89020);let dp=e=>{let{t}=(0,eH.useTranslation)();return(0,W.jsx)(iB.t,{pageSizeOptions:[10,20,50,100],showSizeChanger:!0,showTotal:e=>t("component.pagination.showing-items",{total:e}),...e})},dh=()=>{let e=(0,G.useContext)(du.N),[t,n]=(0,G.useState)(1),[i,r]=(0,G.useState)(20),a=e.id,{asset:s}=(0,l2.V)(a),{data:o,isLoading:l}=(0,l9.useAssetGetTreeQuery)({pathIncludeDescendants:!0,page:t,pageSize:i,excludeFolders:!0,path:null==s?void 0:s.fullPath}),d=(null==o?void 0:o.totalItems)??0;function c(e,t){n(e),r(t)}return(0,G.useMemo)(()=>(0,W.jsx)(iW.D,{renderToolbar:(0,W.jsx)(iF.o,{justify:"flex-end",theme:"secondary",children:(0,W.jsx)(dp,{current:t,defaultPageSize:i,onChange:c,total:d})}),children:(0,W.jsx)(iH.V,{loading:l,padded:!0,children:(null==o?void 0:o.items)!==void 0&&o.items.length>0&&(0,W.jsx)(dm,{assets:o})})}),[t,i,o,l])};var dg=n(14210),dx=n(86833),dj=n(20981),dv=n(57062),dy=n(11091);let df=e=>()=>{let{isLoading:t,data:n}=(0,l9.useAssetGetAvailableGridColumnsQuery)(),{useElementId:i,useDataQueryHelper:r}=(0,dx.r)(),{getId:a}=i(),{id:s}=(0,dv.m)(),{isLoading:o,data:l}=(0,l9.useAssetGetGridConfigurationByFolderIdQuery)({folderId:a(),configurationId:s}),{setSelectedColumns:d}=(0,dg.N)(),{setAvailableColumns:c}=(0,dj.L)(),{setGridConfig:m}=(0,dy.j)(),{setDataLoadingState:u}=r();return((0,G.useEffect)(()=>{if(void 0===n||void 0===l)return;let e=[],t=n.columns.map(e=>e);for(let t of l.columns){let i=n.columns.find(e=>e.key===t.key);void 0!==i&&e.push({key:t.key,locale:t.locale,type:i.type,config:i.config,sortable:i.sortable,editable:i.editable,localizable:i.localizable,exportable:i.exportable,frontendType:i.frontendType,group:i.group,originalApiDefinition:i})}d(e),c(t),m(l),u("config-changed")},[n,l]),t||o)?(0,W.jsx)(iH.V,{loading:!0}):(0,W.jsx)(e,{})};var dw=n(5681),db=n(47152),dC=n(27348);let dk=(e,t)=>()=>{let{getGridProps:n,transformGridColumn:i,...r}=e(),[a,s]=(0,G.useState)([]),{useInlineEditApiUpdate:o}=t,{updateCache:l,updateApiData:d}=o(),{useDataQueryHelper:c}=(0,dx.r)(),{getArgs:m}=c(),{decodeColumnIdentifier:u}=(0,dg.N)(),p=e=>{let{rowData:t,columnId:n,value:i}=e,r=u(n);if(void 0===r)return;s(e=>!0===(null==e?void 0:e.some(e=>e.rowIndex===t.id&&e.columnId===n))?e:[...e??[],{rowIndex:t.id,columnId:n}]);let a={getGetRequestArgs:m(),update:{id:t.id,column:r,value:i},meta:e.meta};l(a),d(a).finally(()=>{s(e=>(null==e?void 0:e.filter(e=>e.rowIndex!==t.id||e.columnId!==n))??[])}).catch(()=>{})};return{...r,getGridProps:()=>({...n(),onUpdateCellData:p,modifiedCells:a}),transformGridColumn:e=>{let t=i(e);return{...t,meta:{...t.meta,editable:e.editable}}}}},dT=(e,t)=>{let{useGridOptions:n,...i}=e;return{...i,useGridOptions:dk(n,t)}};var dD=n(40483);let dS=()=>{let{id:e}=(0,eK.i)();return{getId:()=>e}};var dM=n(29599),dL=n(7108),dI=n(82717),dE=n(15418),d_=n(73223);let dz=(0,G.createContext)({batchEdits:[],setBatchEdits:()=>{}}),dO=e=>{let{children:t}=e,[n,i]=(0,G.useState)([]);return(0,G.useMemo)(()=>(0,W.jsx)(dz.Provider,{value:{batchEdits:n,setBatchEdits:i},children:t}),[n,t])};var dP=n(59072),dV=n(77907),dA=n(88822);let dB=()=>{let{batchEdits:e,setBatchEdits:t}=(0,G.useContext)(dz);return{batchEdits:e,setBatchEdits:t,updateLocale:(n,i)=>{t(e.map(e=>e.key===n?{...e,locale:i}:e))},resetBatchEdits:()=>{t([])},removeBatchEdit:n=>{t(e.filter(e=>e.key!==n))},addOrUpdateBatchEdit:n=>{let i=[...e],r=e.findIndex(e=>e.key===n.key);-1!==r?i[r]=n:i.push(n),t(i)}}};var dR=n(7049),dN=n(96630),dF=n(43439),dH=n(50444),dW=n(17393);let dG=e=>{let{batchEdit:t}=e,{frontendType:n,type:i}=t,{getComponentRenderer:r}=(0,dW.D)(),{ComponentRenderer:a}=r({dynamicTypeIds:[i,n],target:"BATCH_EDIT"});return null===a?(0,W.jsx)(W.Fragment,{children:"Dynamic Field Filter not supported"}):(0,W.jsx)(W.Fragment,{children:a({batchEdit:t})})},d$=()=>{let{batchEdits:e,removeBatchEdit:t}=dB(),{updateLocale:n}=dB(),i=["-",...(0,dH.r)().requiredLanguages],r=e.map(e=>{let r=e.locale??"-";return{id:e.key,children:(0,W.jsx)(q.Tag,{children:(0,eU.t)(`${e.key}`)}),renderRightToolbar:(0,W.jsx)(dN.h,{items:[...e.localizable?[(0,W.jsx)(dF.k,{languages:i,onSelectLanguage:t=>{n(e.key,(0,dF.N)(t))},selectedLanguage:r},"language-selection")]:[],(0,W.jsx)(iP.h,{icon:{value:"close"},onClick:()=>{t(e.key)}},"remove")]}),body:(0,W.jsx)(dG,{batchEdit:e})}});return(0,W.jsxs)(W.Fragment,{children:[0===r.length&&(0,W.jsx)(rq.d,{text:(0,eU.t)("batch-edit.no-content")}),r.length>0&&(0,W.jsx)(dR.f,{items:r})]})};var dU=n(52712),dq=n(96068),dJ=n(61708),dZ=n(72323),dK=n(47588),dQ=n(35715);let dX=e=>({id:(0,dQ.K)(),action:e.action,refreshGrid:e.refreshGrid,type:"batch-edit",title:e.title,status:dK.B.QUEUED,topics:e.topics,config:{assetContextId:e.assetContextId}});var dY=n(32724);let d0=e=>{var t;let{batchEditModalOpen:n,setBatchEditModalOpen:i}=e,{getAvailableColumnsDropdown:r}=(0,dj.L)(),{batchEdits:a,addOrUpdateBatchEdit:s,resetBatchEdits:o}=dB(),[l]=nL.l.useForm(),{t:d}=(0,eH.useTranslation)(),[c,{isError:m,isSuccess:u,error:p}]=(0,l9.useAssetPatchByIdMutation)(),[h,{isError:g,isSuccess:x,error:j}]=(0,l9.useAssetPatchFolderByIdMutation)(),{selectedRows:v}=(0,dU.G)(),y=Object.keys(v??{}).map(Number),f=y.length,{addJob:w}=(0,dJ.C)(),{id:b,elementType:C}=(0,eK.i)(),{useDataQueryHelper:k}=(0,dx.r)(),{getArgs:T}=k(),{hasType:D}=(0,dW.D)(),{refreshGrid:S}=(0,dY.g)(C),M=()=>{o(),l.resetFields()};(0,G.useEffect)(()=>{(u||x)&&(i(!1),M()),1===f&&l9.api.util.invalidateTags(dq.xc.ASSET_GRID_ID(y[0]))},[u,x]),(0,G.useEffect)(()=>{m&&(0,eQ.ZP)(new eQ.MS(p)),g&&(0,eQ.ZP)(new eQ.MS(j))},[m,x]);let L=async e=>{let t=a.map(t=>({name:t.key,language:t.locale??null,data:e[t.key],type:t.type}));0===f?w(dX({title:d("batch-edit.job-title"),topics:[dZ.F["patch-finished"],...dZ.b],action:async()=>{var e,n,i,r;let a=await h({body:{data:[{folderId:b,metadata:t}],filters:null==(n=T())||null==(e=n.body)?void 0:e.filters}});if((null==(i=a.data)?void 0:i.jobRunId)===void 0)throw(0,eQ.ZP)(new eQ.aE("JobRunId is undefined")),Error("JobRunId is undefined");return null==(r=a.data)?void 0:r.jobRunId},refreshGrid:S,assetContextId:b})):1===f?await c({body:{data:[{id:y[0],metadata:t}]}}):w(dX({title:d("batch-edit.job-title"),topics:[dZ.F["patch-finished"],...dZ.b],action:async()=>{var e,n;let i=await c({body:{data:y.map(e=>({id:e,metadata:t}))}});if((null==(e=i.data)?void 0:e.jobRunId)===void 0)throw(0,eQ.ZP)(new eQ.aE("JobRunId is undefined")),Error("JobRunId is undefined");return null==(n=i.data)?void 0:n.jobRunId},refreshGrid:S,assetContextId:b}))},I=r(e=>{let t=e.locale??null;s({...e,locale:t})}).menu.items,E=e=>{var t;return null==e||null==(t=e.children)?void 0:t.filter(e=>{let t=!0===e.editable,n=a.some(t=>e.key===t.key&&e.group===t.group),i=D({target:"BATCH_EDIT",dynamicTypeIds:[null==e?void 0:e.frontendType]});return t&&i&&!n})},_=(0,G.useMemo)(()=>()=>(0,tD.isUndefined)(I)?[]:I.map(e=>({...e,children:E(e)})),[I]),z=null==(t=_())?void 0:t.every(e=>{var t;return(null==e||null==(t=e.children)?void 0:t.length)===0});return(0,W.jsx)(dV.i,{afterClose:()=>{M()},footer:(0,W.jsxs)(dP.m,{divider:!0,justify:"space-between",children:[(0,W.jsx)(dI.L,{menu:{items:_()},children:(0,W.jsx)(rS.W,{disabled:z,icon:{value:"new"},type:"default",children:d("listing.add-column")})}),a.length>0&&(0,W.jsxs)(tf.k,{align:"center",gap:"extra-small",children:[(0,W.jsx)(rS.W,{icon:{value:"close"},onClick:()=>{o()},type:"link",children:d("batch-edit.modal-footer.discard-all-changes")}),(0,W.jsx)(il.z,{onClick:()=>{l.submit(),i(!1)},type:"primary",children:d("batch-edit.modal-footer.apply-changes")})]})]}),onCancel:()=>{i(!1),M()},open:n,size:"M",title:(0,W.jsx)(dA.r,{children:d("batch-edit.modal-title")}),children:(0,W.jsx)(nL.l,{form:l,onFinish:L,children:(0,W.jsx)(d$,{})})})},d1=e=>{let{...t}=e,{t:n}=(0,eH.useTranslation)();return(0,W.jsxs)(nL.l,{layout:"vertical",...t,children:[(0,W.jsx)(nL.l.Item,{label:n("export-csv-form.form-field.delimiter"),name:"delimiter",rules:[{required:!0,message:n("form.validation.required")}],children:(0,W.jsx)(q.Input,{})}),(0,W.jsx)(nL.l.Item,{label:n("export-csv-form.form-field.header"),name:"header",rules:[{required:!0,message:n("form.validation.required")}],children:(0,W.jsx)(n_.P,{options:[{value:"name",label:n("export-csv-form.form-field.header.option.name")},{value:"title",label:n("export-csv-form.form-field.header.option.title")},{value:"no_header",label:n("export-csv-form.form-field.header.option.no-header")}]})})]})};var d3=n(42804);let{useExportDownloadCsvQuery:d2,useExportDeleteCsvMutation:d6,useExportCsvMutation:d4,useExportCsvFolderMutation:d8,useExportDownloadXlsxQuery:d7,useExportDeleteXlsxMutation:d5,useExportXlsxMutation:d9,useExportXlsxFolderMutation:ce}=iM.api.enhanceEndpoints({addTagTypes:["Export"]}).injectEndpoints({endpoints:e=>({exportDownloadCsv:e.query({query:e=>({url:`/pimcore-studio/api/export/download/csv/${e.jobRunId}`}),providesTags:["Export"]}),exportDeleteCsv:e.mutation({query:e=>({url:`/pimcore-studio/api/export/download/csv/${e.jobRunId}`,method:"DELETE"}),invalidatesTags:["Export"]}),exportCsv:e.mutation({query:e=>({url:"/pimcore-studio/api/export/csv",method:"POST",body:e.body}),invalidatesTags:["Export"]}),exportCsvFolder:e.mutation({query:e=>({url:"/pimcore-studio/api/export/csv/folder",method:"POST",body:e.body}),invalidatesTags:["Export"]}),exportDownloadXlsx:e.query({query:e=>({url:`/pimcore-studio/api/export/download/xlsx/${e.jobRunId}`}),providesTags:["Export"]}),exportDeleteXlsx:e.mutation({query:e=>({url:`/pimcore-studio/api/export/download/xlsx/${e.jobRunId}`,method:"DELETE"}),invalidatesTags:["Export"]}),exportXlsx:e.mutation({query:e=>({url:"/pimcore-studio/api/export/xlsx",method:"POST",body:e.body}),invalidatesTags:["Export"]}),exportXlsxFolder:e.mutation({query:e=>({url:"/pimcore-studio/api/export/xlsx/folder",method:"POST",body:e.body}),invalidatesTags:["Export"]})}),overrideExisting:!1});var ct=n(97473);let cn=e=>{let[t]=q.Form.useForm(),{addJob:n}=(0,dJ.C)(),{id:i,elementType:r}=(0,eK.i)(),{element:a}=(0,ct.q)(i,r),[s,o]=(0,G.useState)("Element"),[l,{isError:d,error:c}]=d4(),[m,{isError:u,error:p}]=d8(),{selectedRows:h}=(0,dU.G)(),g=void 0!==h?Object.keys(h).map(Number):[],{selectedColumns:x}=(0,dg.N)(),{useDataQueryHelper:j}=(0,dx.r)(),{getArgs:v}=j(),{t:y}=(0,eH.useTranslation)();return(0,G.useEffect)(()=>{void 0!==a&&("filename"in a&&o(a.filename),"key"in a&&o(a.key))},[a]),(0,G.useEffect)(()=>{d&&(0,eQ.ZP)(new eQ.MS(c))},[d]),(0,G.useEffect)(()=>{u&&(0,eQ.ZP)(new eQ.MS(p))},[u]),(0,W.jsx)(q.Modal,{onCancel:()=>{e.setOpen(!1)},onOk:()=>{t.submit()},open:e.open,title:(0,W.jsx)(dA.r,{iconName:"export",children:y("export-csv-form.modal-title")}),children:(0,W.jsxs)(q.Space,{direction:"vertical",size:10,style:{paddingTop:10},children:[(0,W.jsx)(q.Alert,{message:y("export-csv-form.export-notice"),showIcon:!0,type:"warning"}),(0,W.jsx)(d1,{form:t,initialValues:{delimiter:";",header:"name"},onFinish:function(t){n((0,d3.C)({title:y("jobs.csv-job.title",{title:s}),topics:[dZ.F["csv-download-ready"],...dZ.b],downloadUrl:"/pimcore-studio/api/export/download/csv/{jobRunId}",action:async()=>await f(t.delimiter,t.header)})),e.setOpen(!1)}})]})});async function f(e,t){if(0===g.length){let n=m({body:{folders:[i],elementType:r,columns:x.map(e=>({key:e.key,type:e.type,group:e.group,config:[]})),config:{delimiter:e,header:t},filters:{...v().body.filters??{},page:1,pageSize:w.e.maxPageSize,includeDescendants:!0}}});return(await n).data.jobRunId}{let n=l({body:{elements:g,elementType:r,columns:x.map(e=>({key:e.key,type:e.type,group:e.group,config:[]})),config:{delimiter:e,header:t}}});return(await n).data.jobRunId}}},ci=e=>{let{...t}=e,{t:n}=(0,eH.useTranslation)();return(0,W.jsx)(nL.l,{layout:"vertical",...t,children:(0,W.jsx)(nL.l.Item,{label:n("export-xlsx-form.form-field.header"),name:"header",rules:[{required:!0,message:n("form.validation.required")}],children:(0,W.jsx)(n_.P,{options:[{value:"name",label:n("export-xlsx-form.form-field.header.option.name")},{value:"title",label:n("export-xlsx-form.form-field.header.option.title")},{value:"no_header",label:n("export-xlsx-form.form-field.header.option.no-header")}]})})})},cr=e=>{let[t]=q.Form.useForm(),{addJob:n}=(0,dJ.C)(),{id:i,elementType:r}=(0,eK.i)(),{element:a}=(0,ct.q)(i,r),[s,o]=(0,G.useState)("Element"),[l,{isError:d,error:c}]=d9(),[m,{isError:u,error:p}]=ce(),{selectedRows:h}=(0,dU.G)(),g=void 0!==h?Object.keys(h).map(Number):[],{selectedColumns:x}=(0,dg.N)(),{useDataQueryHelper:j}=(0,dx.r)(),{getArgs:v}=j(),{t:y}=(0,eH.useTranslation)();return(0,G.useEffect)(()=>{void 0!==a&&("filename"in a&&o(a.filename),"key"in a&&o(a.key))},[a]),(0,G.useEffect)(()=>{d&&(0,eQ.ZP)(new eQ.MS(c))},[d]),(0,G.useEffect)(()=>{u&&(0,eQ.ZP)(new eQ.MS(p))},[u]),(0,W.jsx)(q.Modal,{onCancel:()=>{e.setOpen(!1)},onOk:()=>{t.submit()},open:e.open,title:(0,W.jsx)(dA.r,{iconName:"export",children:y("export-xlsx-form.modal-title")}),children:(0,W.jsxs)(q.Space,{direction:"vertical",size:10,style:{paddingTop:10},children:[(0,W.jsx)(q.Alert,{message:y("export-xlsx-form.export-notice"),showIcon:!0,type:"warning"}),(0,W.jsx)(ci,{form:t,initialValues:{header:"name"},onFinish:function(t){n((0,d3.C)({title:y("jobs.xlsx-job.title",{title:s}),topics:[dZ.F["xlsx-download-ready"],...dZ.b],downloadUrl:"/pimcore-studio/api/export/download/xlsx/{jobRunId}",action:async()=>await f(t.header)})),e.setOpen(!1)}})]})});async function f(e){if(0===g.length){let t=m({body:{folders:[i],elementType:r,columns:x.map(e=>({key:e.key,type:e.type,group:e.group,config:[]})),config:{header:e},filters:{...v().body.filters??{},page:1,pageSize:w.e.maxPageSize,includeDescendants:!0}}});return(await t).data.jobRunId}{let t=l({body:{elements:g,elementType:r,columns:x.map(e=>({key:e.key,type:e.type,group:e.group,config:[]})),config:{header:e}}});return(await t).data.jobRunId}}},ca=()=>{let e=(0,d_.J)(),{id:t}=(0,l3.G)(),{useDataQueryHelper:n}=(0,dx.r)(),{getArgs:i}=n(),{createZipDownload:r}=(0,dE.F)({type:"folder"}),{createZipDownload:a}=(0,dE.F)({type:"asset-list"}),{data:s}=(0,l9.useAssetGetByIdQuery)({id:t}),[o,l]=(0,G.useState)("Asset"),[d,c]=(0,G.useState)(!1),[m,u]=(0,G.useState)(!1),[p,h]=(0,G.useState)(!1),{t:g}=(0,eH.useTranslation)();if((0,G.useEffect)(()=>{void 0!==s&&l(`${s.filename}`)},[s]),void 0===e)return(0,W.jsx)(W.Fragment,{});let{selectedRows:x}=e,j=void 0!==x?Object.keys(x).map(Number):[],v=void 0!==x&&Object.keys(x).length>0,y={items:[{key:"1",label:g("listing.actions.batch-edit"),icon:(0,W.jsx)(tL.J,{value:"batch-selection"}),onClick:()=>{h(!0)}},{key:"2",label:g("listing.actions.export"),icon:(0,W.jsx)(tL.J,{value:"export"}),children:[{key:"2.1",label:g("listing.actions.csv-export"),icon:(0,W.jsx)(tL.J,{value:"export"}),onClick:()=>{c(!0)}},{key:"2.2",label:g("listing.actions.xlsx-export"),icon:(0,W.jsx)(tL.J,{value:"export"}),onClick:()=>{u(!0)}}]},{key:"3",label:g("listing.actions.zip-download"),icon:(0,W.jsx)(tL.J,{value:"download"}),onClick:()=>{v?a({jobTitle:o,requestData:{body:{assets:j}}}):r({jobTitle:o,requestData:{body:{folders:[t],filters:{includeDescendants:!0,...i().body.filters??{},page:1,pageSize:0xe8d4a50ff6}}}})}}]};return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(dI.L,{menu:y,children:(0,W.jsx)(dL.P,{children:g(v?"listing.actions":"listing.non-selected.actions")},"dropdown-button")}),(0,W.jsx)(cn,{open:d,setOpen:c}),(0,W.jsx)(cr,{open:m,setOpen:u}),(0,W.jsx)(dO,{children:(0,W.jsx)(d0,{batchEditModalOpen:p,setBatchEditModalOpen:h})})]})},cs=()=>(0,G.useMemo)(()=>(0,W.jsxs)(iF.o,{theme:"secondary",children:[(0,W.jsxs)(iN.P,{size:"mini",children:[(0,W.jsx)(af.q,{}),(0,W.jsx)(ca,{})]}),(0,W.jsxs)(iN.P,{size:"extra-small",children:[(0,W.jsx)(aw.s,{}),(0,W.jsx)(ab.t,{})]})]}),[]),co=(0,iS.createColumnHelper)(),cl=e=>()=>{let{t}=(0,eH.useTranslation)(),{transformGridColumnDefinition:n,...i}=e();return{...i,transformGridColumnDefinition:e=>{let i=n(e);return i.push(co.accessor("actions",{header:t("actions.open"),enableSorting:!1,meta:{type:"asset-actions"},size:65})),i}}};var cd=n(23526),cc=n(20946);let cm=e=>{let{row:t}=e,{openGridContextMenuItem:n}=(0,dl.y)("asset"),{renameGridContextMenuItem:i}=(0,di.j)("asset",(0,dd.eG)("asset","rename",Number(t.id))),{deleteGridContextMenuItem:r}=(0,dr.R)("asset",(0,dd.eG)("asset","delete",Number(t.id))),{downloadGridContextMenuItem:a}=(0,da.i)(),{locateInTreeGridContextMenuItem:s}=(0,cc.B)("asset"),[o,l]=(0,G.useState)(void 0),d=[n(t),i(t),s(t,()=>{l(void 0)}),r(t),a(t)].filter(Boolean);return(0,W.jsx)(dI.L,{menu:{items:d,onClick:e=>{e.key===cd.N.locateInTree&&l(!0)}},open:o,trigger:["contextMenu"],children:e.children},t.id)},cu=e=>()=>{let{getGridProps:t,...n}=e();return{...n,getGridProps:()=>({...t(),contextMenu:cm})}},cp={...al.l,ViewComponent:()=>(0,W.jsx)(dM.t,{renderToolbar:cs}),useDataQuery:l9.useAssetGetGridQuery,useDataQueryHelper:ar.$,useElementId:dS},ch=(0,au.q)(am.y,ac.L,e=>{let{ConfigurationComponent:t,ContextComponent:n,useSidebarOptions:i,...r}=e;return{...r,ContextComponent:(0,db.i)(n),ConfigurationComponent:df(t),useSidebarOptions:(0,dw.e)(i)}},[dT,{useInlineEditApiUpdate:()=>{let[e]=(0,l9.useAssetPatchByIdMutation)(),t=(0,dD.useAppDispatch)();return{updateCache:e=>{let{update:n,getGetRequestArgs:i}=e,{id:r,column:a,value:s}=n;t(l9.api.util.updateQueryData("assetGetGrid",i,e=>{e:for(let t of e.items)if(t.id===r){for(let e of t.columns)if(e.key===a.key&&e.locale===a.locale){e.value=s;break e}}return e}))},updateApiData:async t=>{let{update:n}=t,i=e({body:{data:[{id:n.id,metadata:[{name:n.column.key,language:n.column.locale,data:n.value,type:n.column.type}]}]}}),r=await i;return(0,tD.isNil)(r.error)||(0,eQ.ZP)(new eQ.MS(r.error)),r}}}}],[dC.G,{rowSelectionMode:"multiple"}],e=>{let{useGridOptions:t,...n}=e;return{...n,useGridOptions:cl(t)}},e=>{let{useGridOptions:t,...n}=e;return{...n,useGridOptions:cu(t)}},aa.p,ad.o)(cp),cg=()=>(0,W.jsx)(al.p,{...ch}),cx={key:"listing",label:"folder.folder-editor-tabs.view",userPermission:"listing",children:(0,W.jsx)(()=>(0,W.jsx)(ao.d,{serviceIds:["DynamicTypes/GridCellRegistry","DynamicTypes/MetadataRegistry","DynamicTypes/ListingRegistry","DynamicTypes/BatchEditRegistry"],children:(0,W.jsx)(cg,{})}),{}),icon:(0,W.jsx)(tL.J,{value:"list"}),isDetachable:!1};b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["Asset/Editor/FolderTabManager"]);e.register({children:(0,W.jsx)(dh,{}),icon:(0,W.jsx)(tL.J,{value:"image"}),key:"preview",label:"folder.folder-editor-tabs.preview"}),e.register(cx),e.register(l5.D9),e.register(l5.On),e.register(l5._P),e.register(l5.Hy),e.register(l5.zd)}});var cj=n(42127);let cv=()=>{let{id:e}=(0,eK.i)(),t=`/pimcore-studio/api/image-editor?id=${e}`;return(0,W.jsx)(cj.h,{src:t,title:"Image Editor"})},cy=()=>(0,W.jsx)(iH.V,{children:(0,W.jsx)(cv,{})}),cf=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{imageContainer:n` - display: grid; - height: 100%; - width: 100%; - overflow-x: auto; - overflow-y: auto; - `,floatingContainer:n` - position: fixed; - bottom: 60px; - right: 60px; - `,flexContainer:n` - display: flex; - justify-content: center; - align-items: center; - height: 100%; - pointer-events: auto; - `}},{hashPriority:"low"});var cw=n(55947),cb=n(94576),cC=n(4884);let ck={type:"MiniPaint",message:"Image successfully saved!"},cT=e=>{let{src:t}=e,[n,i]=(0,G.useState)(t),{styles:r}=cf(),a=(0,G.useContext)(cC.A),{zoom:s,setZoom:o}=$().useContext(cR),{containerRef:l}=a;return(0,G.useEffect)(()=>{let e=e=>{let{type:n,message:r}=e.data;n===ck.type&&r===ck.message&&i(`${t}?hash=${new Date().getTime()}`)};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}},[]),(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)("div",{className:r.imageContainer,ref:l,children:(0,W.jsx)(cb.I,{imageSrc:n,zoom:s})}),(0,W.jsx)("div",{className:r.floatingContainer,children:(0,W.jsx)("div",{className:r.flexContainer,children:(0,W.jsx)(cw._,{setZoom:o,zoom:s})})})]})};var cD=n(77664),cS=n(29610);class cM extends cS.E{}var cL=n(49316);let cI=()=>{let{t:e}=(0,eH.useTranslation)();return{getModes:()=>[{value:"resize",label:e("resize")},{value:"scaleByWidth",label:(0,W.jsxs)(W.Fragment,{children:[e("scaleByWidth")+" ",(0,W.jsxs)("span",{className:"entry-content__download-content-custom__default",children:["(",e("default"),")"]})]})},{value:"scaleByHeight",label:e("scaleByHeight")}],getFormats:()=>[{value:"JPEG",label:(0,W.jsxs)(W.Fragment,{children:["JPEG ",(0,W.jsxs)("span",{className:"entry-content__download-content-custom__default",children:["(",e("default"),")"]})]})},{value:"PNG",label:"PNG"}],getDownloadFormats:()=>[{value:"original",label:e("asset.sidebar.original-file")},{value:"web",label:e("asset.sidebar.web-format")},{value:"print",label:e("asset.sidebar.print-format")},{value:"office",label:e("asset.sidebar.office-format")}]}},cE=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{sidebarContentEntry:n` - .sidebar__content-label { - color: ${t.colorPrimaryActive}; - line-height: 20px; - font-weight: 600; - margin: 0; - padding-bottom: ${t.paddingXS}px; - - &:not(:first-of-type) { - padding-top: ${t.paddingXS}px; - } - } - `,sidebarContentDimensions:n` - display: flex; - flex-direction: column; - align-items: flex-start; - align-self: stretch; - - .entry-content__dimensions-label { - display: flex; - padding-bottom: ${t.paddingXXS}; - gap: ${t.marginMD}px; - align-items: center; - gap: ${t.marginXXS}; - align-self: stretch; - - p { - margin: 0 - } - } - - .entry-content__dimensions-content { - color: ${t.colorTextDescription}; - display: flex; - padding-bottom: ${t.paddingXXS}; - gap: ${t.marginMD}px; - align-items: center; - gap: ${t.marginXXS}; - align-self: stretch; - - p { - margin: 0; - line-height: 22px; - } - } - `,sidebarContentDownload:n` - .entry-content__download-content-thumbnail { - display: flex; - align-items: center; - gap: ${t.paddingXXS}px; - padding-bottom: ${t.paddingSM}px; - - .ant-select { - flex: 1 - } - } - - .entry-content__download-content-custom { - .ant-form-item { - margin-bottom: 0; - } - - .entry-content__download-content-custom__dimensions { - display: flex; - gap: ${t.marginSM}px; - padding-bottom: ${t.paddingSM}px; - } - - .entry-content__download-content-custom__others { - display: flex; - gap: ${t.paddingXS}px; - flex-direction: column; - padding-bottom: ${t.paddingSM}px; - - > div { - display: flex; - gap: ${t.marginSM}px; - - >.ant-form-item { - flex: 1 - } - } - } - - .entry-content__download-content-custom__button { - padding: ${t.paddingXS}px 0; - } - - .entry-content__download-content-custom__default { - color: ${t.colorTextDescription}; - } - } - `}},{hashPriority:"low"});var c_=n(6148);let cz=e=>{let{width:t,height:n,onClickDownloadByFormat:i,onClickCustomDownload:r}=e,[a,s]=(0,G.useState)("original"),[o,l]=(0,G.useState)(t),[d,c]=(0,G.useState)(n),[m,u]=(0,G.useState)(-1),[p,h]=(0,G.useState)(-1),[g,x]=(0,G.useState)("scaleByWidth"),[j,v]=(0,G.useState)("JPEG"),{styles:y}=cE(),{t:f}=(0,eH.useTranslation)(),{getModes:w,getFormats:b,getDownloadFormats:C}=cI(),k=w(),T=b(),D=C(),S={label:(0,W.jsx)("span",{children:f("image-sidebar.tab.details.custom-download")}),children:(0,W.jsxs)(q.Form,{initialValues:{width:t,height:n,mode:g,format:j},layout:"vertical",children:[(0,W.jsxs)("div",{className:"entry-content__download-content-custom__dimensions",children:[(0,W.jsx)(q.Form.Item,{label:f("width"),name:"width",children:(0,W.jsx)(q.Input,{onChange:e=>{l(e.target.value)},type:"number"})}),(0,W.jsx)(q.Form.Item,{label:f("height"),name:"height",children:(0,W.jsx)(q.Input,{onChange:e=>{c(e.target.value)},type:"number"})})]}),(0,W.jsxs)("div",{className:"entry-content__download-content-custom__others",children:[(0,W.jsxs)("div",{children:[(0,W.jsx)(q.Form.Item,{label:f("quality"),name:"quality",children:(0,W.jsx)(q.Input,{onChange:e=>{u(e.target.value)},type:"number"})}),(0,W.jsx)(q.Form.Item,{label:"DPI",name:"dpi",children:(0,W.jsx)(q.Input,{onChange:e=>{h(e.target.value)},type:"number"})})]}),(0,W.jsx)("div",{children:(0,W.jsx)(q.Form.Item,{label:f("mode"),name:"mode",children:(0,W.jsx)(n_.P,{"aria-label":f("aria.asset.image-sidebar.tab.details.custom-thumbnail-mode"),onChange:e=>{x(e)},options:k})})}),(0,W.jsx)("div",{children:(0,W.jsx)(q.Form.Item,{label:f("format"),name:"format",children:(0,W.jsx)(n_.P,{"aria-label":f("aria.asset.image-sidebar.tab.details.custom-thumbnail-format"),onChange:e=>{v(e)},options:T})})})]}),(0,W.jsx)("div",{className:"entry-content__download-content-custom__button",children:(0,W.jsx)(il.z,{"aria-label":f("aria.asset.image-sidebar.tab.details.download-custom-thumbnail"),onClick:()=>{r({width:o,height:d,quality:m,dpi:p,mode:g,format:j})},children:f("download")})})]})};return(0,W.jsxs)(iH.V,{className:y.sidebarContentEntry,padded:!0,padding:{top:"none",x:"small",bottom:"mini"},children:[(0,W.jsx)(cL.h,{title:f("asset.sidebar.details")}),(0,W.jsxs)("div",{className:"sidebar__content-entry-content",children:[(0,W.jsxs)("div",{className:y.sidebarContentDimensions,children:[(0,W.jsxs)("div",{className:"entry-content__dimensions-label",children:[(0,W.jsx)("p",{children:f("width")}),(0,W.jsx)("p",{children:f("height")})]}),(0,W.jsxs)("div",{className:"m-t-mini entry-content__dimensions-content",children:[(0,W.jsxs)("p",{children:[t," px"]}),(0,W.jsxs)("p",{children:[n," px"]})]})]}),(0,W.jsxs)("div",{className:["m-t-small",y.sidebarContentDownload].join(" "),children:[(0,W.jsx)("p",{className:"sidebar__content-label",children:f("download")}),(0,W.jsxs)("div",{className:"entry-content__download-content",children:[(0,W.jsxs)("div",{className:"entry-content__download-content-thumbnail",children:[(0,W.jsx)(n_.P,{"aria-label":f("aria.asset.image-sidebar.tab.details.precreated-thumbnail"),onChange:e=>{s(e)},options:D,value:a}),(0,W.jsx)(iP.h,{"aria-label":f("aria.asset.image-sidebar.tab.details.download-thumbnail"),icon:{value:"download"},onClick:()=>{i(a)}})]}),(0,W.jsx)("div",{className:"entry-content__download-content-custom",children:(0,W.jsx)(c_.T,{...S,defaultActive:!0,size:"small",theme:"simple"})})]})]})]})]})};var cO=n(42962),cP=n(41588),cV=n(11549);let cA=new cM;cA.registerEntry({key:"details",icon:(0,W.jsx)(tL.J,{options:{width:"16px",height:"16px"},value:"details"}),component:(0,W.jsx)(()=>{let e=(0,G.useContext)(du.N),{data:t}=(0,l9.useAssetGetByIdQuery)({id:e.id});return(0,W.jsx)(cz,{height:t.height??0,onClickCustomDownload:async n=>{!function(e,n){let{width:i,height:r,quality:a,dpi:s,mode:o,format:l}=n,d=[{key:"mimeType",value:l},{key:"resizeMode",value:o},{key:"dpi",value:s.toString()},{key:"quality",value:a.toString()},{key:"height",value:r.toString()},{key:"width",value:i.toString()}],c=(0,cP.I)(d,["","-1"]);fetch(`${(0,l6.G)()}/assets/${e}/image/download/custom?${c}`).then(async e=>await e.blob()).then(e=>{let n=URL.createObjectURL(e);var i=t.filename,r=n,a=l;let s=(0,cO.B)(i,a.toLowerCase());(0,cO.K)(r,s)}).catch(()=>{(0,eQ.ZP)(new eQ.aE("Could not download image"))})}(e.id,n)},onClickDownloadByFormat:async t=>{!function(e,t){if("original"===t)return n(`${(0,l6.G)()}/assets/${e}/download`,t);n(`${(0,l6.G)()}/assets/${e}/image/download/format/${t}`,t)}(e.id,t)},width:t.width??0});function n(e,n){fetch(e).then(async e=>await e.blob()).then(e=>{var i,r,a;let s,o=URL.createObjectURL(e);i=t.filename,r=o,a=n,s=i,"original"!==a&&(s=(0,cO.B)(i,"jpg")),(0,cO.K)(r,s)}).catch(()=>{(0,eQ.ZP)(new eQ.aE("Could not prepare download"))})}},{})}),cA.registerButton({key:"focal-point",icon:(0,W.jsx)(tL.J,{options:{width:"16px",height:"16px"},value:"focal-point"}),component:(0,W.jsx)(cV.H,{icon:(0,W.jsx)(tL.J,{options:{width:"16px",height:"16px"},value:"focal-point"})},"focal-point")});var cB=n(15758);let cR=(0,G.createContext)({zoom:100,setZoom:()=>{}}),cN=()=>{let[e,t]=(0,G.useState)(100),{id:n}=(0,G.useContext)(du.N),{isLoading:i}=(0,l2.V)(n),r=cA.getEntries(),a=cA.getButtons(),s=(0,G.useMemo)(()=>({zoom:e,setZoom:t}),[e]),o=`${(0,l6.G)()}/assets/${n}/image/stream/preview`;return i?(0,W.jsx)(iH.V,{loading:!0}):(0,W.jsx)(cB.l,{children:(0,W.jsx)(cR.Provider,{value:s,children:(0,W.jsx)(iW.D,{renderSidebar:(0,W.jsx)(cD.Y,{buttons:a,entries:r}),children:(0,W.jsx)(cT,{src:o})})})})};b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["Asset/Editor/ImageTabManager"]);e.register({key:"view",label:"asset.asset-editor-tabs.view",children:(0,W.jsx)(cN,{}),icon:(0,W.jsx)(tL.J,{value:"view"})}),e.register({key:"edit",workspacePermission:"publish",label:"asset.asset-editor-tabs.edit",children:(0,W.jsx)(cy,{}),icon:(0,W.jsx)(tL.J,{value:"edit-pen"})}),e.register(l7.FV),e.register(l7.hD),e.register(l5.D9),e.register(l7.V2),e.register(l5.V$),e.register(l5.On),e.register(l5._P),e.register(l5.Hy),e.register(l5.zd)}});var cF=n(82355),cH=n(66003);let cW=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{relativeContainer:n` - position: relative; - width: 100%; - `}}),cG=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{preview:n` - display: flex; - justify-content: center; - align-items: center; - height: 100%; - width: 100%; - object-fit: contain; - - iframe { - display: flex; - height: 100%; - width: 100%; - } - `}},{hashPriority:"low"});var c$=n(97968);let cU=e=>{let{styles:t}=cG(),{src:n,language:i,updateTextData:r}=e,[a,s]=(0,G.useState)(n??"");return(0,W.jsx)("div",{className:t.preview,children:(0,W.jsx)(c$.H,{language:i,setTextValue:e=>{s(e),r(e)},textValue:a})})};var cq=n(36414);let cJ=()=>{let e=(0,G.useContext)(du.N),{asset:t,updateTextData:n}=(0,l2.V)(e.id),{data:i,isError:r}=(0,l9.useAssetGetTextDataByIdQuery)({id:e.id}),{styles:a}=cW(),{t:s}=(0,eH.useTranslation)(),o=null;return((0,tD.isString)(null==t?void 0:t.filename)&&(o=(0,cF.d)(t.filename)),r)?(0,W.jsx)(td.x,{padding:"extra-small",children:(0,W.jsx)(cq.b,{message:s("preview-not-available"),showIcon:!0,type:"info"})}):(0,W.jsx)("div",{className:a.relativeContainer,children:(0,cH.DM)(i)&&(0,W.jsx)(cU,{language:o,src:i.data,updateTextData:e=>{n(e)}})})};b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["Asset/Editor/TextTabManager"]);e.register({key:"edit",label:"asset.asset-editor-tabs.edit",children:(0,W.jsx)(cJ,{}),icon:(0,W.jsx)(tL.J,{value:"edit-pen"})}),e.register(l7.hD),e.register(l5.D9),e.register(l7.V2),e.register(l5.V$),e.register(l5.On),e.register(l5._P),e.register(l5.Hy),e.register(l5.zd)}});var cZ=n(17856);b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["Asset/Editor/VideoTabManager"]);e.register({key:"view",label:"asset.asset-editor-tabs.view",children:(0,W.jsx)(cZ.p,{}),icon:(0,W.jsx)(tL.J,{value:"view"})}),e.register(l7.FV),e.register(l7.hD),e.register(l5.D9),e.register(l7.V2),e.register(l5.V$),e.register(l5.On),e.register(l5._P),e.register(l5.Hy),e.register(l5.zd)}});let cK=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{preview:n` - display: flex; - justify-content: center; - align-items: center; - height: 100%; - width: 100%; - object-fit: contain; - `}},{hashPriority:"low"});var cQ=n(27880);let cX=e=>{let{styles:t}=cK(),{src:n}=e;return(0,W.jsx)("div",{className:t.preview,children:(0,W.jsx)(cQ.F,{sources:[{src:n}]})})},cY=()=>{let e=(0,G.useContext)(du.N),{data:t}=(0,l9.useAssetGetByIdQuery)({id:e.id});return(0,W.jsx)(iW.D,{children:(0,W.jsx)(cX,{src:t.fullPath})})};b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["Asset/Editor/AudioTabManager"]);e.register({key:"view",label:"asset.asset-editor-tabs.view",children:(0,W.jsx)(cY,{}),icon:(0,W.jsx)(tL.J,{value:"view"})}),e.register(l7.hD),e.register(l5.D9),e.register(l7.V2),e.register(l5.V$),e.register(l5.On),e.register(l5._P),e.register(l5.Hy),e.register(l5.zd)}}),b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["Asset/Editor/ArchiveTabManager"]);e.register(l7.hD),e.register(l5.D9),e.register(l7.V2),e.register(l5.V$),e.register(l5.On),e.register(l5._P),e.register(l5.Hy),e.register(l5.zd)}}),b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["Asset/Editor/UnknownTabManager"]);e.register(l7.hD),e.register(l5.D9),e.register(l7.V2),e.register(l5.V$),e.register(l5.On),e.register(l5._P),e.register(l5.Hy),e.register(l5.zd)}});var c0=n(92430),c1=n(76548),c3=n(46309),c2=n(33665);let c6={name:"asset-editor",component:e=>(0,W.jsx)(A.OR,{component:A.O8.asset.editor.container.name,props:e}),titleComponent:e=>{let{node:t}=e,{asset:n}=(0,l2.V)(t.getConfig().id),{t:i}=(0,eH.useTranslation)(),r=t.getName();return t.getName=()=>(null==n?void 0:n.parentId)===0?i("home"):(null==n?void 0:n.filename)??r,(0,W.jsx)(c0.X,{modified:(null==n?void 0:n.modified)??!1,node:t})},isModified:e=>{let t=e.getConfig(),n=(0,c1._X)(c3.h.getState(),t.id);return(null==n?void 0:n.modified)??!1},getContextProvider:(e,t)=>{let n=e.config;return(0,W.jsx)(c2.AssetProvider,{id:n.id,children:t})}};var c4=n(77315),c8=n(62588);let c7=e=>{let{showDuplicateEntryModal:t,showMandatoryModal:n}=e,{t:i}=(0,eH.useTranslation)(),{id:r}=(0,G.useContext)(du.N),{asset:a,customMetadata:s,setCustomMetadata:o,removeCustomMetadata:l,updateAllCustomMetadata:d,setModifiedCells:c}=(0,l2.V)(r),{data:m,isLoading:u,isError:p,error:h}=(0,l9.useAssetCustomMetadataGetByIdQuery)({id:r}),g="customMetadata",x=(null==a?void 0:a.modifiedCells[g])??[],j=(0,c8.x)(null==a?void 0:a.permissions,"publish");(0,G.useEffect)(()=>{p&&(0,eQ.ZP)(new eQ.MS(h))},[p]);let v=e=>e.map(e=>({...e,rowId:(0,ry.V)()})),y=(0,G.useMemo)(()=>null==s?void 0:s.map(e=>e.type.includes("metadata.")?e:{...e,type:`metadata.${e.type}`}),[s]);(0,G.useEffect)(()=>{void 0!==m&&(null==a?void 0:a.changes.customMetadata)===void 0&&Array.isArray(m.items)&&o(v(m.items))},[m]),(0,G.useEffect)(()=>{x.length>0&&(null==a?void 0:a.changes.customMetadata)===void 0&&c(g,[])},[a]);let f=(0,iS.createColumnHelper)(),w=[f.accessor("type",{header:i("asset.asset-editor-tabs.custom-metadata.columns.type"),meta:{type:"asset-custom-metadata-icon"},size:44}),f.accessor("name",{header:i("asset.asset-editor-tabs.custom-metadata.columns.name"),meta:{editable:j},size:200}),f.accessor("language",{header:i("asset.asset-editor-tabs.custom-metadata.columns.language"),meta:{type:"language-select",editable:j},size:100}),f.accessor("data",{header:i("asset.asset-editor-tabs.custom-metadata.columns.value"),meta:{type:"asset-custom-metadata-value",editable:j,autoWidth:!0},size:400})];return j&&w.push(f.accessor("actions",{header:i("asset.asset-editor-tabs.custom-metadata.columns.actions"),cell:e=>(0,W.jsx)(td.x,{padding:"mini",children:(0,W.jsx)(tf.k,{align:"center",className:"w-full h-full",justify:"center",children:(0,W.jsx)(iP.h,{icon:{value:"trash"},onClick:()=>{l(e.row.original)},type:"link"})})}),size:60})),(0,W.jsx)(i$.r,{autoWidth:!0,columns:w,data:y??[],isLoading:u,modifiedCells:x,onUpdateCellData:e=>{let{rowIndex:i,columnId:r,value:a,rowData:o}=e,l=[...s??[]],m=l.findIndex(e=>e.name===o.name&&e.language===o.language),u={...l.at(m),[r]:a};l[m]=u;let p=l.filter(e=>e.name===u.name&&e.language===u.language).length>1;(0,c4.R)(a,r,"name",p,n,t)&&(d(l.map(e=>({...e,type:e.type.split(".")[1]??e.type}))),c(g,[...x,{rowIndex:o.rowId,columnId:r}]))},setRowId:e=>e.rowId})};var c5=n(45554),c9=n(72001);let me=e=>{let{disableHeaderTitle:t=!1,disableAddPredefinedMetadata:n=!1}=e,{t:i}=(0,eH.useTranslation)(),[r,a]=(0,G.useState)(!1),s=(0,dH.r)(),{id:o}=(0,G.useContext)(du.N),{asset:l,addCustomMetadata:d,customMetadata:c}=(0,l2.V)(o),[m,{isFetching:u,isError:p,error:h}]=(0,c5.gE)(),{showModal:g,closeModal:x,renderModal:j}=(0,c9.dd)({type:"error"}),{showModal:v,closeModal:y,renderModal:f}=(0,c9.dd)({type:"error"});(0,G.useEffect)(()=>{p&&(0,eQ.ZP)(new eQ.MS(h))},[p]);let w=(0,c8.x)(null==l?void 0:l.permissions,"publish"),b=(0,G.useRef)(""),k=(0,G.useRef)(null),T=(0,G.useRef)("input"),D=(0,G.useRef)(""),S=[...(0,C.$1)(H.j["DynamicTypes/MetadataRegistry"]).getTypeSelectionTypes().keys()].map(e=>({value:e,label:i("data-type."+e.split(".")[1])})),M=async()=>{let e=m({body:{}});(await e).data.items.forEach(e=>{(null==c?void 0:c.find(t=>t.name===e.name&&t.language===(e.language??"")))===void 0&&d({...e,rowId:e.id,language:e.language??"",data:e.data??null})})};(0,G.useEffect)(()=>{if(r){var e;null==(e=k.current)||e.focus()}else T.current="input",b.current="",D.current=""},[r]);let L=[];return r||(n||L.push((0,W.jsx)(rS.W,{disabled:u,icon:{value:"add-something"},loading:u,onClick:M,children:i("asset.asset-editor-tabs.custom-metadata.add-predefined-definition")},i("asset.asset-editor-tabs.custom-metadata.add-predefined-definition"))),L.push((0,W.jsx)(rS.W,{icon:{value:"new-something"},onClick:()=>{a(!0)},children:i("asset.asset-editor-tabs.custom-metadata.new-custom-metadata")},i("asset.asset-editor-tabs.custom-metadata.new-custom-metadata")))),(0,W.jsxs)(iH.V,{padded:!0,children:[(0,W.jsx)(cL.h,{className:"p-l-mini",title:t?"":i("asset.asset-editor-tabs.custom-metadata.text"),children:(0,W.jsx)("div",{className:"pimcore-custom-metadata-toolbar",children:(0,W.jsxs)(tl.T,{size:"extra-small",children:[r&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)(tl.T,{size:"extra-small",children:[(0,W.jsx)(il.z,{onClick:()=>{a(!1)},type:"link",children:i("asset.asset-editor-tabs.custom-metadata.add-custom-metadata.cancel")}),(0,W.jsx)(q.Input,{onChange:function(e){b.current=e.target.value},placeholder:i("asset.asset-editor-tabs.custom-metadata.add-custom-metadata.name"),ref:k}),(0,W.jsx)(n_.P,{className:"min-w-100",defaultValue:T.current,onSelect:function(e){T.current=e},options:S,placeholder:i("asset.asset-editor-tabs.custom-metadata.add-custom-metadata.type")}),(0,W.jsx)(n_.P,{allowClear:!0,className:"min-w-100",onClear:function(){D.current=""},onSelect:function(e){D.current=e},options:s.requiredLanguages.map(e=>({value:e,label:e})),placeholder:i("asset.asset-editor-tabs.custom-metadata.add-custom-metadata.language")}),(0,W.jsx)(rS.W,{icon:{value:"new-something"},onClick:()=>{let e=void 0!==b.current&&b.current.length>0,t=void 0!==T.current;e&&t?(null==c?void 0:c.find(e=>e.name===b.current&&e.language===D.current))!==void 0?g():d({additionalAttributes:[],name:b.current,type:T.current,language:D.current,data:null,rowId:(0,ry.V)()}):v()},children:i("asset.asset-editor-tabs.custom-metadata.new-custom-metadata.create")})]}),(0,W.jsx)(j,{footer:(0,W.jsx)(dP.m,{children:(0,W.jsx)(il.z,{onClick:x,type:"primary",children:i("button.ok")})}),title:i("asset.asset-editor-tabs.custom-metadata.custom-metadata-already-exist.title"),children:i("asset.asset-editor-tabs.custom-metadata.custom-metadata-already-exist.error")}),(0,W.jsx)(f,{footer:(0,W.jsx)(dP.m,{children:(0,W.jsx)(il.z,{onClick:y,type:"primary",children:i("button.ok")})}),title:i("asset.asset-editor-tabs.custom-metadata.add-entry-mandatory-fields-missing.title"),children:i("asset.asset-editor-tabs.custom-metadata.add-entry-mandatory-fields-missing.error")})]}),!r&&w&&(0,W.jsx)(dN.h,{items:L})]})})}),(0,W.jsx)(c7,{showDuplicateEntryModal:g,showMandatoryModal:v})]})};var mt=n(70793),mn=n(41294),mi=n(76990);let mr=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{versionTag:n` - width: 56px; - height: 22px; - - display: inline-grid; - justify-content: center; - - font-weight: 400; - font-size: 12px; - line-height: 20px; - `,dateContainer:n` - display: flex; - align-items: center; - margin-top: 2px; - gap: 4px; - `,dateIcon:n` - color: ${t.Colors.Neutral.Icon.colorIcon}; - `,dateLabel:n` - color: ${t.colorTextDescription}; - `}}),ma=e=>{let{version:t,setDetailedVersions:n}=e,[i,r]=(0,G.useState)(null==t?void 0:t.note),[a,{isError:s,error:o}]=(0,e$.Rl)(),[l,{isLoading:d,isError:c,error:m}]=(0,e$.z4)(),[u,{isLoading:p,isError:h,error:g}]=(0,e$.y7)(),{t:x}=(0,eH.useTranslation)(),{styles:j}=mr(),v=t.published??!1,y=(0,tD.isNil)(t.scheduled)?void 0:(0,rQ.o0)({timestamp:t.scheduled,dateStyle:"short",timeStyle:"short"}),f=async()=>{await l({id:t.id}),c&&(0,eQ.ZP)(new eQ.MS(m))},w=async()=>{await u({id:t.id}),n([]),h&&(0,eQ.ZP)(new eQ.MS(g))},b=async()=>{await a({id:t.id,updateVersion:{note:i}}),s&&(0,eQ.ZP)(new eQ.MS(o))};return(0,W.jsxs)(tf.k,{gap:"extra-small",vertical:!0,children:[(0,W.jsxs)(tf.k,{align:"top",justify:"space-between",children:[(0,W.jsxs)(mi.V,{className:j.versionTag,children:["ID: ",t.id]}),(0,W.jsxs)(tl.T,{size:"mini",children:[!v&&(0,W.jsx)(rS.W,{disabled:d||p,icon:{value:"published"},loading:d,onClick:f,children:x("version.publish")}),(0,W.jsx)(iP.h,{"aria-label":x("aria.version.delete"),disabled:d||p,icon:{value:"trash"},loading:p,onClick:w,type:"default"})]})]}),!(0,tD.isNil)(y)&&(0,W.jsxs)("div",{children:[(0,W.jsx)("div",{children:x("version.schedule-for")}),(0,W.jsxs)("div",{className:j.dateContainer,children:[(0,W.jsx)(tL.J,{className:j.dateIcon,value:"calendar"}),(0,W.jsx)(rZ.x,{className:j.dateLabel,children:y})]})]}),(0,W.jsxs)("div",{children:[(0,W.jsx)("span",{children:x("version.note")}),(0,W.jsx)(is.I,{onBlur:b,onChange:e=>{r(e.target.value)},onClick:e=>{e.stopPropagation()},placeholder:x("version.note.add"),value:i})]})]})},ms=e=>{let{version:t,detailedVersions:n,isComparingActive:i,selectVersion:r,setDetailedVersions:a}=e,s={id:t.id,count:t.versionCount},o=n.some(e=>e.id===t.id),l=t.published??!1,d=t.autosave??!1,c=o?"theme-primary":"theme-default",m=()=>{r(s)},u=()=>{a([{id:t.id,count:t.versionCount}])};return{key:String(t.id),selected:o,title:(0,W.jsx)(()=>{let{t:e}=(0,eH.useTranslation)();return(0,W.jsxs)("div",{children:[i&&(0,W.jsx)(td.x,{inline:!0,padding:{right:"extra-small"},children:(0,W.jsx)(q.Checkbox,{checked:o,onChange:()=>{r(s)}})}),(0,W.jsx)("span",{className:"title",children:`${e("version.version")} ${t.versionCount} | ${(0,rQ.o0)({timestamp:t.date,dateStyle:"short",timeStyle:"medium"})}`})]})},{}),subtitle:(0,W.jsx)(()=>{var e;let{t:n}=(0,eH.useTranslation)();return(0,W.jsxs)("div",{children:[(0,W.jsx)("span",{className:"sub-title",children:`${n("by")} ${(null==(e=t.user)?void 0:e.name)??""}`}),(0,tD.isNil)(t.autosave)&&t.autosave&&(0,W.jsx)(tL.J,{value:"auto-save"})]})},{}),extra:(0,W.jsx)(()=>{let{t:e}=(0,eH.useTranslation)();return l?(0,W.jsx)(mi.V,{color:"success",iconName:"published",children:e("version.published")}):d?(0,W.jsx)(mi.V,{color:"geekblue",iconName:"auto-save",children:e("version.autosaved")}):(0,W.jsx)(W.Fragment,{})},{}),children:(0,W.jsx)(ma,{setDetailedVersions:a,version:t}),onClick:()=>{i?m():u()},theme:l?"theme-success":c}},mo=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e,i={highlightBackgroundColor:"#F6FFED",highlightBorderColor:"#B7EB8F",highlightColor:"#52C41A",signalBackgroundColor:"#E6F4FF",signalBorderColor:"#91CAFF",signalColor:"#1677FF",...t};return{versions:n` - .title-tag__own-draft { - color: ${i.signalColor}; - border-color: ${i.signalBorderColor}; - background-color: ${i.signalBackgroundColor}; - } - - .title-tag__published { - color: ${i.highlightColor}; - border-color: ${i.highlightBorderColor}; - background-color: ${i.highlightBackgroundColor}; - } - - .sub-title { - font-weight: normal; - margin-right: 4px; - color: ${i.colorTextDescription}; - } - - .ant-tag { - display: flex; - align-items: center; - } - - .ant-tag-geekblue { - background-color: ${t.Colors.Base.Geekblue["2"]} !important; - color: ${t.Colors.Base.Geekblue["6"]} !important; - border-color: ${t.Colors.Base.Geekblue["3"]} !important; - } - `,compareButton:n` - background-color: ${t.Colors.Neutral.Fill.colorFill} !important; - `,notificationMessage:n` - text-align: center; - max-width: 200px; - `}},{hashPriority:"low"}),ml=e=>{let{versions:t,SingleViewComponent:n,ComparisonViewComponent:i}=e,[r,a]=(0,G.useState)(!1),[s,o]=(0,G.useState)([]),[l,{isLoading:d,isError:c,error:m}]=(0,e$.yK)(),{renderModal:u,showModal:p,handleOk:h}=(0,c9.dd)({type:"warn"}),{t:g}=(0,eH.useTranslation)(),{styles:x}=mo(),j=async()=>{h(),await l({elementType:t[0].ctype,id:t[0].cid}),c&&(0,eQ.ZP)(new eQ.MS(m))},v=e=>{let t=[...s],n=t.some(t=>t.id===e.id);2!==t.length||n||(t=[]),n?t.splice(t.indexOf(e),1):t.push(e),o(t)},y=t.map(e=>ms({version:e,detailedVersions:s,isComparingActive:r,selectVersion:v,setDetailedVersions:o})),f=0===t.length,w=0===s.length;return f?(0,W.jsxs)(iH.V,{padded:!0,children:[(0,W.jsx)(cL.h,{className:"p-l-mini",title:g("version.versions")}),(0,W.jsx)(iH.V,{none:!0,noneOptions:{text:g("version.no-versions-to-show")}})]}):(0,W.jsx)(iH.V,{className:x.versions,children:(0,W.jsx)(rJ.K,{leftItem:{size:25,minSize:415,children:(0,W.jsxs)(iH.V,{padded:!0,children:[(0,W.jsx)(cL.h,{title:g("version.versions"),children:!f&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)(tf.k,{className:"w-full",gap:"small",justify:"space-between",children:[(0,W.jsx)(il.z,{className:rG()({[x.compareButton]:r}),onClick:()=>{o([]),a(!r)},children:g("version.compare-versions")},g("version.compare-versions")),(0,W.jsx)(rS.W,{icon:{value:"trash"},loading:d,onClick:p,children:g("version.clear-unpublished")},g("version.clear-unpublished"))]}),(0,W.jsx)(u,{footer:(0,W.jsxs)(dP.m,{children:[(0,W.jsx)(il.z,{onClick:j,type:"primary",children:g("yes")}),(0,W.jsx)(il.z,{onClick:h,type:"default",children:g("no")})]}),title:g("version.clear-unpublished-versions"),children:(0,W.jsx)("span",{children:g("version.confirm-clear-unpublished")})})]})}),!f&&(0,W.jsx)(mn.d,{items:y})]})},rightItem:{size:75,children:(0,W.jsx)(iH.V,{centered:w,padded:!0,children:(0,W.jsxs)(tf.k,{align:"center",children:[!w&&r&&(0,W.jsx)(i,{versionIds:s}),!w&&!r&&(0,W.jsx)(n,{setDetailedVersions:o,versionId:s[0],versions:t}),w&&(0,W.jsx)(rZ.x,{className:x.notificationMessage,children:g("version.preview-notification")})]})})}})})},md=e=>{let{SingleViewComponent:t,ComparisonViewComponent:n}=e,{id:i,elementType:r}=(0,eK.i)(),{isLoading:a,data:s}=(0,e$.KD)({id:i,elementType:r,page:1,pageSize:9999});return a?(0,W.jsx)(iH.V,{loading:!0}):(0,W.jsx)(ml,{ComparisonViewComponent:n,SingleViewComponent:t,versions:s.items})},mc=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e,i={versionsLeftSideWidth:"395",...t};return{"right-side":n` - & .highlight-cell { - background-color: ${i.colorWarningBg}; - font-weight: bold; - } - `}},{hashPriority:"low"});var mm=n(11566);let mu=e=>{let{id:t,fileName:n}=e,[i,r]=(0,G.useState)(!1),{t:a}=(0,eH.useTranslation)(),s=async()=>{r(!0),fetch(`${(0,l6.G)()}/versions/${t}/asset/download`).then(async e=>await e.blob()).then(e=>{let t=URL.createObjectURL(e);(0,cO.K)(t,n),r(!1)}).catch(()=>{(0,eQ.ZP)(new eQ.aE("Error downloading version asset")),r(!1)})};return(0,W.jsxs)(tf.k,{align:"center",gap:"extra-small",vertical:!0,children:[(0,W.jsx)(rZ.x,{children:a("version.no-preview-available")}),(0,W.jsx)(il.z,{loading:i,onClick:s,children:a("download")})]})};var mp=((a={}).ASSET="asset",a.DATA_OBJECT="data-object",a),mh=n(6185),mg=((s={}).SYSTEM_DATA="systemData",s.META="meta",s),mx=n(38340);let mj=[mg.META],mv=e=>{let{categoriesList:t,versionViewData:n,versionKeysList:i,modifiedFields:r}=e,{styles:a}=(0,mx.y)(),{t:s}=(0,eH.useTranslation)(),o=e=>{let{categoryName:t,fieldData:n}=e,i=mj.includes(t),r=n.field,o=n.language,l=i?r:s(`version.${n.key}`);return(0,W.jsxs)(rZ.x,{className:a.fieldTitle,children:[l," ",!(0,tD.isEmpty)(o)&&(0,W.jsxs)(rZ.x,{type:"secondary",children:["| ",null==o?void 0:o.toUpperCase()]})]})};return(0,W.jsx)(W.Fragment,{children:null==t?void 0:t.map((e,t)=>(0,W.jsxs)("div",{children:[(0,W.jsx)(rZ.x,{className:a.sectionTitle,strong:!0,children:s(`version.category.title.${e.key}`)}),(0,W.jsx)(tf.k,{className:a.sectionFields,gap:"extra-small",vertical:!0,children:n.map((t,n)=>e.fieldKeys.includes(t.Field.key)&&(0,W.jsxs)("div",{children:[o({categoryName:e.key,fieldData:t.Field}),(0,W.jsx)(tf.k,{gap:"mini",children:i.map((e,n)=>{let i=r.includes(t.Field.key);return(0,W.jsx)("div",{className:rG()(a.sectionFieldItem,{[a.sectionFieldItemHighlight]:i&&1===n}),children:(0,W.jsx)(rZ.x,{children:t[e]})},`${n}-${e}`)})})]},`${n}-${t.Field.key}`))})]},`${t}-${e.key}`))})};var my=n(8531),mf=n(41098);let mw=[mg.SYSTEM_DATA],mb=[mf.T.BLOCK,mf.T.FIELD_COLLECTIONS],mC=e=>{let{breadcrumbsList:t,versionViewData:n,versionKeysList:i,isExpandedUnmodifiedFields:r}=e,{styles:a}=(0,mx.y)(),{t:s}=(0,eH.useTranslation)(),o=e=>{let{key:t,isCommonSection:n}=e,[i,...r]=(mw.includes(t)?s(`version.category.title.${t}`):t).split("/"),o=r.length>0?` | ${r.join(" | ")}`:"";return(0,rK.O)(i)&&(0,rK.O)(o)?null:(0,W.jsxs)(rZ.x,{className:rG()(a.sectionTitle,{[a.subSectionTitle]:!n}),strong:!0,children:[i,!(0,rK.O)(o)&&(0,W.jsx)("span",{className:a.subSectionText,children:o})]})},l=e=>{let{key:t,locale:n,isCommonSection:i}=e;if((0,rK.O)(t))return(0,W.jsx)(W.Fragment,{});let r=i?s(`version.${t}`):t;return(0,W.jsxs)(rZ.x,{className:a.fieldTitle,children:[r," ",!(0,tD.isEmpty)(n)&&(0,W.jsxs)(rZ.x,{type:"secondary",children:["| ",n.toUpperCase()]})]})};return(0,W.jsx)(W.Fragment,{children:null==t?void 0:t.map((e,t)=>{let d=e.key===mg.SYSTEM_DATA;return(0,W.jsxs)("div",{children:[o({key:e.key,isCommonSection:d}),(0,W.jsx)(tf.k,{className:rG()(a.sectionFields,{[a.sectionFieldsWithoutBorder]:!d}),gap:"extra-small",vertical:!0,children:n.map((t,n)=>{var o;let c=e.key===t.Field.fieldBreadcrumbTitle,m=e.fieldKeys.includes(t.Field.name);return c&&m&&(0,W.jsxs)("div",{children:[l({key:t.Field.title,locale:null==(o=t.Field)?void 0:o.locale,isCommonSection:d}),(0,W.jsx)(tf.k,{gap:"mini",children:i.map((e,n)=>{let i=(null==t?void 0:t.isModifiedValue)===!0,o=1===n,l=mb.includes(null==t?void 0:t.Field.fieldtype),d=i&&l&&(0,rK.O)(t[e]);return(0,W.jsxs)("div",{className:a.objectSectionFieldItemWrapper,children:[d&&(0,W.jsx)(tf.k,{align:"center",className:rG()(a.objectSectionFieldItem,a.objectSectionEmptyState,{[a.objectSectionEmptyStateDisabled]:0===n,[a.objectSectionEmptyStateHighlight]:o}),justify:"center",children:s("empty")}),(0,W.jsx)(my.A,{className:rG()(a.objectSectionFieldItem,"versionFieldItem",{[a.objectSectionFieldItemHighlight]:i&&o,versionFieldItemHighlight:i&&o}),datatype:"data",fieldCollectionModifiedList:null==t?void 0:t.fieldCollectionModifiedList,fieldType:t.Field.fieldtype,isExpandedUnmodifiedFields:r,name:t.Field.name,value:t[e],...t.Field},`${n}-${e}`)]},`${n}-${e}`)})})]},`${n}-${t.Field.name}`)})})]},`${t}-${e.key}`)})})},mk=e=>{let t={},n=e=>{if(e.includes("."))return e.split(".")[0]};return e.forEach(e=>{let i=n(e.Field.key)??mg.SYSTEM_DATA;(0,tD.isUndefined)(t[i])&&(t[i]=new Set),t[i].add(e.Field.key)}),Object.entries(t).map(e=>{let[t,n]=e;return{key:t,fieldKeys:Array.from(n)}})},mT=e=>{let{versionViewData:t,categoriesList:n}=e,i=(0,tD.map)(t,"Field.key");return(0,tD.isEmpty)(n)?[]:(0,tD.filter)((0,tD.map)(n,e=>({...e,fieldKeys:(0,tD.intersection)(e.fieldKeys,i)})),e=>!(0,tD.isEmpty)(e.fieldKeys))},mD=["reverseObjectRelation"],mS=e=>{let t={};return e.forEach(e=>{let n=e.Field.fieldBreadcrumbTitle??mg.SYSTEM_DATA;mD.includes(e.Field.fieldtype)||((0,tD.isUndefined)(t[n])&&(t[n]=new Set),t[n].add(e.Field.name))}),Object.entries(t).map(e=>{let[t,n]=e;return{key:t,fieldKeys:Array.from(n)}})},mM=e=>{let{versionViewData:t,breadcrumbsList:n}=e,i=(0,tD.map)(t,"Field.name"),r=(0,tD.map)(t,"Field.fieldBreadcrumbTitle");return(0,tD.isEmpty)(n)?[]:(0,tD.filter)((0,tD.map)(n,e=>({...e,fieldKeys:(0,tD.intersection)(e.fieldKeys,i)})),e=>!(0,tD.isEmpty)(e.fieldKeys)&&r.includes(e.key))},mL=(e,t)=>{let n=Object.keys(e[0]).filter(e=>e.startsWith("Version")),i=e.filter(e=>!(0,tD.isEqual)(e[n[0]],e[n[1]]));return{versionKeysList:n,comparisonModifiedData:i,sectionsList:(0,G.useMemo)(()=>t===mp.ASSET?mk(e):t===mp.DATA_OBJECT?mS(e):void 0,[e])}},mI=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{headerContainer:n` - position: sticky; - top: 0; - width: 100%; - z-index: 999999999; - - &::before { - content: ''; - position: absolute; - top: -15px; - bottom: 0; - width: 100%; - height: 20px; - background-color: #fff; - z-index: -1; - } - `,headerItem:n` - flex: 1 1 50%; - padding: ${t.paddingXS}px; - background-color: ${t.Table.headerBg}; - border: 0.5px solid ${t.Table.colorBorderSecondary}; - border-top-width: 0; - box-shadow: 0 2px 4px 0 rgba(35, 11, 100, .2); - - &:first-child { - border-right: 0; - } - - &:last-child { - border-left: 0; - } - - &:only-child { - flex: 1 1 100%; - border-right: 0.5px; - border-left: 0.5px; - } - `,content:n` - position: relative; - min-width: 220px; - `,emptyState:n` - margin-top: 40px; - max-width: 200px; - text-align: center; - `,switchContainer:n` - position: absolute; - top: 10px; - right: ${t.paddingXS}px; - z-index: 1; - `}}),mE=e=>{let{data:t}=e,{elementType:n}=(0,eK.i)(),i=n===mp.ASSET,r=n===mp.DATA_OBJECT,[a,s]=(0,G.useState)(!1),{versionKeysList:o,comparisonModifiedData:l,sectionsList:d}=mL(t,n),{t:c}=(0,eH.useTranslation)(),{styles:m}=mI(),u=!(0,tD.isNil)(o)&&o.length>1,p=a?t:l,h=u?p:t,g=(0,G.useMemo)(()=>i?mT({versionViewData:h,categoriesList:d}):r?mM({versionViewData:h,breadcrumbsList:d}):void 0,[a,d]),x=(0,G.useMemo)(()=>{if(u&&!(0,tD.isEmpty)(l)){if(i)return l.map(e=>e.Field.key);if(r)return l.map(e=>e.Field.title)}return[]},[l,u]),j=!(0,tD.isUndefined)(x)&&x.length>0,v=(e,t)=>{let n=/\d+/.exec(e),i=(null==n?void 0:n[0])??"0";return(0,W.jsx)(tf.k,{className:m.headerItem,children:(0,W.jsxs)(rZ.x,{children:[c("version.version")," ",Number(i)]})},`${t}-${e}`)};return(0,W.jsxs)(tf.k,{vertical:!0,children:[(0,W.jsx)(tf.k,{className:m.headerContainer,wrap:"wrap",children:o.map((e,t)=>v(e,t))}),(0,W.jsxs)(tf.k,{className:m.content,vertical:!0,children:[u&&(0,W.jsx)("div",{className:m.switchContainer,children:(0,W.jsx)(mh.r,{labelLeft:(0,W.jsx)(rZ.x,{children:c("version.expand-unmodified-fields")}),onChange:()=>{s(!a)},value:a})}),u&&!j&&!a&&(0,W.jsx)(tf.k,{justify:"center",children:(0,W.jsx)(rZ.x,{className:m.emptyState,children:c("version.no-difference")})}),i&&(0,W.jsx)(mv,{categoriesList:g,modifiedFields:x,versionKeysList:o,versionViewData:h}),r&&(0,W.jsx)(mC,{breadcrumbsList:g,isExpandedUnmodifiedFields:a,versionKeysList:o,versionViewData:h})]})]})},m_=e=>{let{versions:t,gridData:n,isImageVersion:i,versionIds:r}=e,{styles:a}=mc();return(0,W.jsx)("div",{className:a["right-side"],children:(0,W.jsxs)(q.Space,{direction:"vertical",size:"large",style:{maxWidth:t.length>1?1200:600},children:[(0,W.jsx)(q.Flex,{align:"center",gap:"small",justify:"center",style:{minHeight:100},children:t.map((e,t)=>{var n;let a=r.find(t=>t.count===(null==e?void 0:e.versionCount));return(0,W.jsx)("div",{children:null!==e.previewImageUrl&&i?(0,W.jsx)(mm.X,{src:e.previewImageUrl,style:{maxHeight:500,maxWidth:500}}):(0,W.jsx)(mu,{fileName:null==e||null==(n=e.dataRaw)?void 0:n.fileName,id:null==a?void 0:a.id})},t)})}),(0,W.jsx)(mE,{data:n})]})})};var mz=n(86167);let mO=(e,t,n)=>({versionCount:n,baseDataFormatted:{fileName:e.fileName,creationDate:(0,rQ.o0)({timestamp:e.creationDate??null,dateStyle:"short",timeStyle:"medium"}),modificationDate:(0,rQ.o0)({timestamp:e.modificationDate??null,dateStyle:"short",timeStyle:"medium"}),fileSize:void 0!==e.fileSize?(0,mz.t)(e.fileSize):"",mimeType:e.mimeType,dimensions:null!==e.dimensions&&void 0!==e.dimensions?e.dimensions.width+" x "+e.dimensions.height:""},metadata:mP(e.metadata),previewImageUrl:`/pimcore-studio/api/versions/${t}/image/stream`,dataRaw:e}),mP=e=>{let t=C.nC.get(H.j["DynamicTypes/MetadataRegistry"]),n=new Map;if(void 0===e)return n;for(let i of e){let e=t.getTypeSelectionTypes().get(`metadata.${i.type}`),r=null!==i.language?`${mg.META}.${i.name}.${i.language}`:i.name;n.set(r,{key:r,field:i.name,language:i.language??void 0,metadataType:i.type,displayValue:void 0!==e?e.getVersionPreviewComponent(i.data):"Metadata type not supported",raw:i})}return n},mV=e=>(null==e?void 0:e.type)==="image",mA=async(e,t)=>{if(!mV(e))return null;let n=null;return await fetch(`/pimcore-studio/api/versions/${t}/image/stream`,{cache:"force-cache"}).then(async e=>await e.blob()).then(e=>{n=URL.createObjectURL(e)}).catch(()=>{(0,eQ.ZP)(new eQ.aE("Failed to load preview image"))}),n},mB=e=>{let t=eq().t,n=[],i=[],r=t("field");return e.forEach((e,a)=>{let s=`${t("version.version")} ${e.versionCount}`;Object.keys(e.baseDataFormatted).forEach(i=>{if("dimensions"===i&&!mV(e.dataRaw))return;let a=n.find(e=>e[r].key===i);void 0!==a?a[s]=e.baseDataFormatted[i]:n.push({[r]:{field:t(`version.${i}`),key:i},[s]:e.baseDataFormatted[i]})}),e.metadata.forEach((e,t)=>{let n=i.find(t=>t[r].key===e.key);if(void 0!==n)n[s]=e.displayValue;else{let t={key:e.key,field:e.field,language:e.language,metadataType:e.metadataType};i.push({[r]:t,[s]:e.displayValue})}})}),i.sort((e,n)=>{let i=e[t("field")].key.toLowerCase(),r=n[t("field")].key.toLowerCase();return ir)}),[...n,...i]},mR=e=>{let{versionIds:t}=e,[n,i]=(0,G.useState)([]),[r,a]=(0,G.useState)([]),[s,o]=(0,G.useState)(!1),l=(e,t)=>{e.forEach((e,n)=>{e.previewImageUrl=t[n]}),a(e),i(mB(e))};return((0,G.useEffect)(()=>{let e=[];a([]),i([]),t.forEach(async t=>{let n=t.id;e.push(c3.h.dispatch(e$.hi.endpoints.versionGetById.initiate({id:n})))}),Promise.all(e).then(e=>{let n=[],i=[];e.forEach((e,r)=>{let a=e.data;mV(a)&&o(!0),n.push(mO(a,t[r].id,t[r].count)),i.push(mA(a,t[r].id))}),Promise.all(i).then(e=>{l(n,e)}).catch(e=>{console.log(e)})}).catch(e=>{console.log(e)})},[t]),0===n.length)?(0,W.jsx)(iH.V,{fullPage:!0,loading:!0}):(0,W.jsx)(m_,{gridData:n,isImageVersion:s,versionIds:t,versions:r})},mN=e=>{let{versionId:t,data:n,imgSrc:i,firstVersion:r,lastVersion:a,onClickPrevious:s,onClickNext:o,isImageVersion:l,fileName:d}=e;return(0,W.jsxs)(q.Flex,{gap:"small",style:{minWidth:"100%"},vertical:!0,children:[(0,W.jsxs)(q.Flex,{align:"center",gap:"small",justify:"center",style:{minHeight:100},children:[(0,W.jsx)(iP.h,{disabled:r,icon:{value:"chevron-left"},onClick:s,type:"text"}),null!==i&&l?(0,W.jsx)(mm.X,{className:"image-slider__image",src:i,style:{maxHeight:500,maxWidth:500}}):(0,W.jsx)(mu,{fileName:d,id:t.id}),(0,W.jsx)(iP.h,{disabled:a,icon:{value:"chevron-right"},onClick:o,type:"text"})]}),(0,W.jsx)(mE,{data:n})]})},mF=e=>{let{versions:t,versionId:n,setDetailedVersions:i}=e,[r,a]=(0,G.useState)(n),[s,o]=(0,G.useState)([]),[l,d]=(0,G.useState)(null),[c,m]=(0,G.useState)(void 0),[u,p]=(0,G.useState)(!1);function h(e){for(let n=0;n=0&&n+e{n.id!==r.id&&(o([]),a(n))},[n]),(0,G.useEffect)(()=>{Promise.resolve(c3.h.dispatch(e$.hi.endpoints.versionGetById.initiate({id:r.id}))).then(e=>{let t=e.data,n=mO(t,r.id,r.count);mV(t)&&p(!0),m(null==t?void 0:t.fileName),o(mB([n])),d(n.previewImageUrl)}).catch(e=>{console.log(e)})},[r]),0===s.length?(0,W.jsx)(iH.V,{fullPage:!0,loading:!0}):(0,W.jsx)(mN,{data:s,fileName:c,firstVersion:t[0].id===r.id,imgSrc:l,isImageVersion:u,lastVersion:t[t.length-1].id===r.id,onClickNext:function(){o([]),h(1)},onClickPrevious:function(){o([]),h(-1)},versionId:r})},mH=()=>(0,W.jsx)(md,{ComparisonViewComponent:mR,SingleViewComponent:mF}),mW=()=>{var e,t;let{t:n}=(0,eH.useTranslation)(),{id:i}=(0,l3.G)(),{data:r,isLoading:a,isError:s}=(0,l9.useAssetCustomSettingsGetByIdQuery)({id:i});if(a||void 0===r)return(0,W.jsx)(iH.V,{loading:!0});if(s)return(0,W.jsx)("div",{children:"Error"});let o=(0,iS.createColumnHelper)(),l=[o.accessor("name",{header:n("asset.asset-editor-tabs.embedded-metadata.columns.name"),size:400}),o.accessor("value",{header:n("asset.asset-editor-tabs.embedded-metadata.columns.value"),size:400})],d=Object.entries((null==(t=r.items)||null==(e=t.fixedCustomSettings)?void 0:e.embeddedMetadata)??[]).map(e=>{let[t,n]=e;return{name:String(t).toString(),value:String(n).toString()}});return(0,W.jsxs)(iH.V,{padded:!0,children:[(0,W.jsx)(cL.h,{className:"p-l-mini",title:n("asset.asset-editor-tabs.embedded-metadata.headline")}),(0,W.jsx)(i$.r,{columns:l,data:d,enableSorting:!0,sorting:[{id:"name",desc:!1}]})]})};var mG=n(19233),m$=n(66185),mU=n(63121);let mq=()=>{let{t:e}=(0,eH.useTranslation)(),{id:t}=(0,G.useContext)(du.N),{asset:n}=(0,l2.V)(t),{renameContextMenuItem:i}=(0,di.j)("asset",(0,dd.eG)("asset","rename",n.id)),{deleteContextMenuItem:r}=(0,dr.R)("asset",(0,dd.eG)("asset","delete",n.id)),{downloadContextMenuItem:a}=(0,da.i)(),{createZipDownloadContextMenuItem:s}=(0,dE.F)({type:"folder"}),{refreshElement:o}=(0,m$.C)("asset"),{clearImageThumbnailContextMenuItem:l,clearVideoThumbnailContextMenuItem:d,clearPdfThumbnailContextMenuItem:c}=(0,mG.D)(),m=[i(n,()=>{o(n.id)}),r(n),a(n),s(n),l(n),d(n),c(n)],u=m.filter(e=>null!==e&&"hidden"in e&&(null==e?void 0:e.hidden)===!1),p=[];return p.push((0,W.jsx)(mU.t,{hasDataChanged:function(){return Object.keys((null==n?void 0:n.changes)??{}).length>0},onReload:function(){o(t,!0)},title:e("toolbar.reload.confirmation"),children:(0,W.jsx)(iP.h,{icon:{value:"refresh"},children:e("toolbar.reload")})},"reload-button")),u.length>0&&p.push((0,W.jsx)(dI.L,{menu:{items:m},children:(0,W.jsx)(dL.P,{children:e("toolbar.more")},"dropdown-button")},"more-button")),(0,W.jsx)(dN.h,{items:p,noSpacing:!0})};var mJ=n(85536),mZ=n(75052),mK=n(97686),mQ=n(98244);let mX=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{button:n` - min-width: 100%; - justify-items: flex-start; - `,"not-first":n` - margin-top: ${t.marginXXS}px; - `}},{hashPriority:"low"}),mY=e=>{var t,n;let{workflow:i}=e,{openModal:r}=(0,mK.D)(),{submitWorkflowAction:a,submissionLoading:s}=(0,mQ.Y)(i.workflowName),{styles:o}=mX(),{t:l}=(0,eH.useTranslation)(),d=(e,t,n)=>{"global"===t?r({action:e,transition:t,workflowName:n}):"transition"===t&&a(e,t,n,{})},c=(e,t)=>(0,W.jsx)(il.z,{className:`${o.button}`,onClick:()=>{d(e,t,i.workflowName)},type:"text",children:l(`${e}`)});return s?(0,W.jsx)(il.z,{loading:s,type:"link"}):(0,W.jsxs)("div",{children:[null==(t=i.allowedTransitions)?void 0:t.map(e=>c(e.label,"transition")),null==(n=i.globalActions)?void 0:n.map(e=>c(e.label,"global"))]})},m0=()=>{let{t:e}=(0,eH.useTranslation)(),[t,n]=$().useState([]),{workflowDetailsData:i,isFetchingWorkflowDetails:r}=(0,mK.D)();return(0,G.useEffect)(()=>{(null==i?void 0:i.items)!==void 0&&i.items.length>0&&n(i.items.flatMap(t=>{var n;let r=[];return r.push({key:(((null==i||null==(n=i.items)?void 0:n.length)??0)+1).toString(),type:"custom",component:(0,W.jsx)(mY,{workflow:t})}),{key:e(`${t.workflowName}`),type:"group",label:e(`${t.workflowName}`).toUpperCase(),children:r}}))},[i]),(0,W.jsxs)(tf.k,{align:"center",justify:"flex-end",children:[(0,W.jsx)(mJ.P,{itemGap:"extra-small",list:(null==i?void 0:i.items)!==void 0&&i.items.length>0?[i.items.reduce((t,n)=>(n.workflowStatus.forEach(n=>{if(void 0!==n.visibleInDetail&&n.visibleInDetail){let i=n.colorInverted?{backgroundColor:`${n.color}33`}:{},r={children:e(`${n.label}`),icon:(0,W.jsx)(mZ.C,{color:n.color}),style:i};t.push(r)}}),t),[])]:[[]],wrap:!1}),void 0!==i&&(0,W.jsx)(dI.L,{disabled:r,menu:{items:t},children:(0,W.jsx)(dL.P,{children:(0,W.jsx)(tL.J,{options:{height:16,width:16},value:"workflow"})})})]})};var m1=n(44433),m3=n(6893);let m2=()=>{let{t:e}=(0,eH.useTranslation)(),{id:t}=(0,eK.i)(),{asset:n,properties:i,removeTrackedChanges:r,customMetadata:a,customSettings:s,imageSettings:o,textData:l}=(0,l2.V)(t),[d,{isLoading:c,isSuccess:m,isError:u,error:p}]=(0,l9.useAssetUpdateByIdMutation)(),{saveSchedules:h,isLoading:g,isSuccess:x,isError:j,error:v}=(0,m3.f)("asset",t,!1),y=(0,m1.U)();return(0,G.useEffect)(()=>{(async()=>{m&&x&&(r(),await y.success(e("save-success")))})().catch(e=>{console.error(e)})},[m,x]),(0,G.useEffect)(()=>{u&&!(0,tD.isNil)(p)?(0,eQ.ZP)(new eQ.MS(p)):j&&!(0,tD.isNil)(v)&&(0,eQ.ZP)(new eQ.MS(v))},[u,j,p,v]),(0,W.jsx)(W.Fragment,{children:(0,c8.x)(null==n?void 0:n.permissions,"publish")&&(0,W.jsx)(il.z,{disabled:c||g,loading:c||g,onClick:function(){if((null==n?void 0:n.changes)===void 0)return;let e={};if(n.changes.properties){let t=null==i?void 0:i.map(e=>{let{rowId:t,...n}=e;if("object"==typeof n.data){var i;return{...n,data:(null==n||null==(i=n.data)?void 0:i.id)??null}}return n});e.properties=null==t?void 0:t.filter(e=>!e.inherited)}n.changes.customMetadata&&(e.metadata=null==a?void 0:a.map(e=>{let{rowId:t,...n}=e;return n.type.startsWith("metadata.")&&(n.type=n.type.replace("metadata.","")),null===n.data&&(("input"===n.type||"textarea"===n.type)&&(n.data=""),"checkbox"===n.type&&(n.data=!1)),n})),n.changes.customSettings&&(e.customSettings=s),n.changes.imageSettings&&(e.image=o),n.changes.textData&&(e.data=l),Promise.all([d({id:t,body:{data:{...e}}}),h()]).catch(e=>{console.log(e)})},type:"primary",children:e("toolbar.save-and-publish")})})};var m6=n(61949),m4=n(55722),m8=n(94730),m7=n(12174),m5=n(3129),m9=n(27614);let ue=()=>(0,W.jsx)(iF.o,{children:(0,W.jsxs)(m7.v,{children:[(0,W.jsx)(tf.k,{children:(0,W.jsx)(m9.O,{slot:mt.O.asset.editor.toolbar.slots.left.name})}),(0,W.jsx)(tf.k,{style:{height:"32px"},vertical:!1,children:(0,W.jsx)(m9.O,{slot:mt.O.asset.editor.toolbar.slots.right.name})}),(0,W.jsx)(m5.L,{})]})});var ut=n(9901);let un=e=>{let{id:t}=e,{isLoading:n,isError:i,asset:r,editorType:a}=(0,l2.V)(t),s=(0,m6.Q)(),{setContext:o,removeContext:l}=(0,m4.H)();return((0,G.useEffect)(()=>()=>{l()},[]),(0,G.useEffect)(()=>(s&&o({id:t}),()=>{s||l()}),[s]),n)?(0,W.jsx)(iH.V,{loading:!0}):i?(0,W.jsx)(iH.V,{padded:!0,children:(0,W.jsx)(cq.b,{message:"Error: Loading of asset failed",type:"error"})}):void 0===r||void 0===a?(0,W.jsx)(W.Fragment,{}):(0,W.jsx)(c2.AssetProvider,{id:t,children:(0,W.jsx)(ut.S,{renderTabbar:(0,W.jsx)(m8.T,{elementEditorType:a}),renderToolbar:(0,W.jsx)(ue,{})})})};b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["Asset/Editor/TypeRegistry"]);e.register({name:"image",tabManagerServiceId:"Asset/Editor/ImageTabManager"}),e.register({name:"video",tabManagerServiceId:"Asset/Editor/VideoTabManager"}),e.register({name:"audio",tabManagerServiceId:"Asset/Editor/AudioTabManager"}),e.register({name:"document",tabManagerServiceId:"Asset/Editor/DocumentTabManager"}),e.register({name:"text",tabManagerServiceId:"Asset/Editor/TextTabManager"}),e.register({name:"folder",tabManagerServiceId:"Asset/Editor/FolderTabManager"}),e.register({name:"archive",tabManagerServiceId:"Asset/Editor/ArchiveTabManager"}),e.register({name:"unknown",tabManagerServiceId:"Asset/Editor/UnknownTabManager"}),C.nC.get(H.j.widgetManager).registerWidget(c6);let t=C.nC.get(H.j["App/ComponentRegistry/ComponentRegistry"]);t.register({name:mt.O.asset.editor.container.name,component:un}),t.register({name:mt.O.asset.editor.tab.embeddedMetadata.name,component:mW}),t.register({name:mt.O.asset.editor.tab.customMetadata.name,component:me}),t.register({name:mt.O.asset.editor.tab.versions.name,component:mH}),t.registerToSlot("asset.editor.toolbar.slots.left",{name:"contextMenu",priority:100,component:mq}),t.registerToSlot("asset.editor.toolbar.slots.right",{name:"workflowMenu",priority:100,component:m0}),t.registerToSlot("asset.editor.toolbar.slots.right",{name:"saveButton",priority:200,component:m2})}});var ui=n(72118),ur=n(44674),ua=n(14005);let us=(0,G.createContext)({pageSize:30}),uo=e=>{let{children:t,classIds:n,pqlQuery:i,pageSize:r}=e,a=(0,G.useMemo)(()=>({classIds:n,pqlQuery:i,pageSize:r}),[n,i,r]);return(0,W.jsx)(us.Provider,{value:a,children:t})},ul=()=>{let e=(0,G.useContext)(us);return void 0===e&&(e={pageSize:30}),{...e,treeFilterArgs:{classIds:void 0===e.classIds||0===e.classIds.length?void 0:JSON.stringify(e.classIds),pqlQuery:e.pqlQuery}}},ud=e=>{let{page:t,setPage:n}=(0,ua.J)(e.node.id),{pageSize:i}=ul(),r=e.total;return(0,W.jsx)(iB.t,{amountOfVisiblePages:3,current:t,defaultPageSize:i,hideOnSinglePage:!0,onChange:function(e){t!==e&&n(e)},total:r})},{Search:uc}=q.Input,um=e=>{let{searchTerm:t,setSearchTerm:n,setPage:i}=(0,ua.J)(e.node.id),{total:r}=e,{pageSize:a}=ul();return!(0,tD.isEmpty)(t)||r>a?(0,W.jsx)(uc,{"aria-label":e.label,defaultValue:t,loading:e.isLoading,onSearch:function(e){n(""===e?void 0:e),i(1)},placeholder:e.label,size:"small"}):(0,W.jsx)(W.Fragment,{})},uu=e=>{let{t}=(0,eH.useTranslation)();return(0,W.jsx)(um,{...e,label:t("asset.asset-tree.search",{folderName:e.node.label}),node:e.node,total:e.total})};var up=n(35495),uh=n(46902),ug=n(62056),ux=n(88030);let uj=e=>(0,c8.x)(e.permissions,"create"),uv=e=>(0,c8.x)(e.permissions,"settings")&&!e.isLocked,uy=e=>uj(e)&&"folder"===e.type;var uf=n(18576);let uw=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{withDroppable:n` - .tree-node__content { - background: ${t.colorBgContainerDisabled}; - border-radius: ${t.borderRadius}px; - border: 1px dashed ${t.colorBorder}; - } - - .tree-list .tree-node__content { - background: transparent; - border: 0; - } - `}});var ub=n(20511);let uC=e=>(0,G.forwardRef)((t,n)=>{let i=(0,G.forwardRef)((e,t)=>{let{children:n}=e,{styles:i}=uw(),{isOver:r,isValid:a}=(0,ub.Z)(),s=rG()("with-droppable-styling",{[i.withDroppable]:r&&a});return(0,W.jsx)("div",{className:s,ref:t,children:n})});return i.displayName="DroppableStylingWrapper",(0,W.jsx)(e,{...t,ref:n,wrapNode:e=>(0,W.jsx)(i,{children:(0,tD.isUndefined)(t.wrapNode)?e:t.wrapNode(e)})})});var uk=n(25172),uT=n(63989);let uD=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{dragger:n` - .ant-upload { - padding: 0 !important; - background: none; - border: none !important; - - &:hover { - border: none !important; - } - - &.ant-upload-drag-hover { - position: relative; - border-radius: ${t.borderRadius}px; - - &::after { - content: ''; - position: absolute; - inset: 0; - border: 1px dashed ${t.colorLinkHover}; - border-radius: ${t.borderRadius}px; - box-sizing: border-box; - pointer-events: none; - z-index: 1; - } - } - - .ant-upload-drag-container { - width: 100%; - } - } - `}});var uS=n(35621),uM=n(29311);let uL=e=>{let{styles:t}=uD(),{Dragger:n}=q.Upload,i=(0,G.useRef)(null),r=(0,uS.Z)(i,!0);return(0,W.jsx)("div",{ref:i,children:r?(0,W.jsx)(uM.o,{...e,openFileDialogOnClick:!1,uploadComponent:n,uploadComponentClassName:t.dragger}):e.children})};var uI=n(51244);let uE=e=>{let{nodeId:t,children:n}=e,{refreshTree:i}=(0,uI.T)("asset");return(0,W.jsx)(uL,{onSuccess:async e=>{i(parseInt(t))},skipAssetFetch:!0,targetFolderId:parseInt(t),children:n})},u_=e=>{let{children:t,renderMenu:n}=e;return(0,W.jsx)(q.Dropdown,{dropdownRender:()=>n(),trigger:["contextMenu"],children:(0,W.jsx)("span",{children:t})})};var uz=n(75137),uO=n(79415),uP=n(51469),uV=n(24861),uA=n(21412);let uB=e=>({id:(0,dQ.K)(),action:e.action,type:"zip-upload",title:e.title,status:dK.B.QUEUED,topics:e.topics,config:{parentFolder:e.parentFolder}}),uR=()=>{let{triggerUpload:e}=(0,uA.X)(),{t}=(0,eH.useTranslation)(),{refreshTree:n}=(0,uI.T)("asset"),{isTreeActionAllowed:i}=(0,uV._)(),{addJob:r,updateJob:a}=(0,dJ.C)(),s=(0,G.useRef)(void 0),o=t=>{e({targetFolderId:parseInt(t),skipAssetFetch:!0,onSuccess:async()=>{n(parseInt(t))}})},l=n=>{let i,o,l=new Promise((e,t)=>{i=e,o=t});e({action:`${(0,l6.G)()}/assets/add-zip/${n}`,accept:".zip, .rar, .7zip",name:"zipFile",multiple:!1,beforeUpload:async()=>{let e=uB({title:t("jobs.zip-upload-job.title"),topics:[dZ.F["zip-upload-finished"],dZ.F["asset-upload-finished"],...dZ.b],action:async()=>await l,parentFolder:n});s.current=e.id,r(e)},onSuccess:async e=>{let t=e[0].response.jobRunId??void 0;(0,tD.isUndefined)(s.current)||a(s.current,{status:dK.B.RUNNING}),(0,tD.isNumber)(t)?i(Number(t)):o(Error("Job run ID is undefined"))}})},d=e=>!(0,c8.x)(e.permissions,"create")||(null==e?void 0:e.type)!=="folder";return{upload:o,zipUpload:l,uploadContextMenuItem:e=>({label:t("element.tree.context-menu.add-assets.upload-files"),key:cd.N.upload,icon:(0,W.jsx)(tL.J,{value:"upload-cloud"}),hidden:d(e)||!i(uP.W.AddUpload),onClick:()=>{o(e.id)}}),zipUploadContextMenuItem:e=>({label:t("element.tree.context-menu.add-assets.upload-zip"),key:cd.N.uploadZip,icon:(0,W.jsx)(tL.J,{value:"upload-zip"}),hidden:d(e)||!i(uP.W.AddUploadZip),onClick:()=>{l(e.id)}})}};var uN=n(30075);let uF=e=>{let{t}=(0,eH.useTranslation)(),n=e.node??ur.l,{createZipDownloadTreeContextMenuItem:i}=(0,dE.F)({type:"folder"}),{addFolderTreeContextMenuItem:r}=(0,uz.p)("asset"),{renameTreeContextMenuItem:a}=(0,di.j)("asset",(0,dd.eG)("asset","rename",parseInt(n.id))),{deleteTreeContextMenuItem:s}=(0,dr.R)("asset",(0,dd.eG)("asset","delete",parseInt(n.id))),{refreshTreeContextMenuItem:o}=(0,uI.T)("asset"),{downloadTreeContextMenuItem:l}=(0,da.i)(),{copyTreeContextMenuItem:d,cutTreeContextMenuItem:c,pasteTreeContextMenuItem:m,pasteCutContextMenuItem:u}=(0,ux.o)("asset"),{lockTreeContextMenuItem:p,lockAndPropagateTreeContextMenuItem:h,unlockTreeContextMenuItem:g,unlockAndPropagateTreeContextMenuItem:x,isLockMenuHidden:j}=(0,uO.Z)("asset"),{uploadNewVersionTreeContextMenuItem:v}=(0,ds.M)(),{uploadContextMenuItem:y,zipUploadContextMenuItem:f}=uR(),{isTreeActionAllowed:w}=(0,uV._)(),b=w(uP.W.HideAdd)||!w(uP.W.AddUpload)&&!w(uP.W.AddUploadZip)||!(0,c8.x)(n.permissions,"create")||(null==n?void 0:n.type)!=="folder",C=[{label:t("element.tree.context-menu.new-assets"),key:"new-assets",icon:(0,W.jsx)(tL.J,{value:"asset"}),hidden:b,children:[y(n),f(n)]},r(n),a(n),d(n),m(n),c(n),u(parseInt(n.id)),s(n),i(n),v(n),l(n),{label:t("element.tree.context-menu.advanced"),key:"advanced",icon:(0,W.jsx)(tL.J,{value:"more"}),hidden:j(n),children:[{label:t("element.lock"),key:"advanced-lock",icon:(0,W.jsx)(tL.J,{value:"lock"}),hidden:j(n),children:[p(n),h(n),g(n),x(n)]}]},o(n)];return(0,W.jsx)(uN.v,{items:C})},uH=(m=uC((o=ur.O,l=(0,G.forwardRef)((e,t)=>{let{ref:n,...i}=e;return(0,W.jsx)(o,{...e,ref:t,wrapNode:t=>(0,W.jsx)(u_,{renderMenu:()=>(0,W.jsx)(uF,{node:i}),children:(0,tD.isUndefined)(e.wrapNode)?t:e.wrapNode(t)})})}),d=(0,G.forwardRef)((e,t)=>{var n,i;let r=null==(n=e.metaData)?void 0:n.asset;return(null==(i=e.metaData)?void 0:i.asset)===void 0?(0,W.jsx)(l,{...e,ref:t}):(0,W.jsx)(up._,{info:{icon:r.icon.value,title:r.filename,type:"asset",data:{...r}},children:(0,W.jsx)(l,{...e,ref:t})})}),c=(0,G.forwardRef)((e,t)=>{let n=e.isLoading??!1,[,{isLoading:i}]=(0,l9.useAssetPatchByIdMutation)({fixedCacheKey:`ASSET_ACTION_RENAME_ID_${e.id}`}),[,{isLoading:r}]=(0,uf.um)({fixedCacheKey:`ASSET_ACTION_DELETE_ID_${e.id}`}),{isFetching:a,isLoading:s,isDeleting:o}=(0,ua.J)(e.id);return(0,W.jsx)(d,{...e,danger:n||r||o,isLoading:n||!0!==s&&a||i||r,ref:t})}),(0,G.forwardRef)((e,t)=>{var n;let{move:i}=(0,ux.o)("asset");if((null==(n=e.metaData)?void 0:n.asset)===void 0)return(0,W.jsx)(c,{...e});let r=e.metaData.asset;if("folder"!==r.type)return(0,W.jsx)(c,{...e});let a=e=>{let t=e.data;uv(t)&&uy(r)&&i({currentElement:{id:t.id,parentId:t.parentId},targetElement:{id:r.id,parentId:r.parentId}}).catch(()=>{(0,eQ.ZP)(new eQ.aE("Item could not be moved"))})},s=e=>"asset"===e.type,o=e=>{let t=e.data;return"asset"===e.type&&uv(t)&&uy(r)};return(0,W.jsx)(c,{...e,ref:t,wrapNode:t=>(0,W.jsx)(ug.b,{isValidContext:s,isValidData:o,onDrop:a,children:(0,tD.isUndefined)(e.wrapNode)?t:e.wrapNode(t)})})}))),(0,G.forwardRef)((e,t)=>"folder"!==e.type?(0,W.jsx)(m,{...e,ref:t}):(0,W.jsx)(m,{...e,ref:t,wrapNode:t=>(0,W.jsx)(uE,{nodeId:e.id,children:(0,tD.isUndefined)(e.wrapNode)?t:e.wrapNode(t)})}))),uW=e=>{let{id:t=1,showRoot:n=!0}=e,{openAsset:i}=(0,dn.Q)(),{rootNode:r,isLoading:a}=(0,uk.V)(t,n),s=(0,uT.q)().get(mt.O.asset.tree.contextMenu.name);if(n&&a)return(0,W.jsx)(td.x,{padding:"small",children:(0,W.jsx)(uh.O,{})});async function o(e){i({config:{id:parseInt(e.id)}})}return(0,W.jsx)(ui.fr,{contextMenu:s,nodeId:t,onSelect:o,renderFilter:uu,renderNode:uH,renderNodeContent:ui.lG.renderNodeContent,renderPager:ud,rootNode:r,showRoot:n})};b._.registerModule({onInit:()=>{C.nC.get(H.j["App/ComponentRegistry/ComponentRegistry"]).register({name:mt.O.asset.tree.contextMenu.name,component:uF})}}),b._.registerModule({onInit:()=>{C.nC.get(H.j.widgetManager).registerWidget({name:"asset-tree",component:uW})}}),n(18663);var uG=n(53320);let u$=e=>{let{data:t}=e;return(0,W.jsx)(tf.k,{flex:1,gap:"small",vertical:!0,children:(0,W.jsx)(mE,{data:t})})},uU=e=>{let{data:t}=e;return(0,W.jsx)(tf.k,{flex:1,gap:"small",vertical:!0,children:(0,W.jsx)(mE,{data:t})})};var uq=n(25160),uJ=n(36619);let uZ={key:"versions",label:"version.label",children:(0,W.jsx)(uJ.w,{children:(0,W.jsx)(nR._v,{children:(0,W.jsx)(md,{ComparisonViewComponent:e=>{let{versionIds:t}=e,[n,i]=(0,G.useState)([]),[r,a]=(0,G.useState)([]),s=(0,dD.useAppDispatch)(),{id:o}=(0,eK.i)(),l=(0,C.$1)(H.j["DynamicTypes/ObjectDataRegistry"]),{data:d}=(0,uG.wG)({id:o});return((0,G.useEffect)(()=>{let e=[];i([]),t.forEach(t=>{let n=t.id;e.push(s(e$.hi.endpoints.versionGetById.initiate({id:n})))}),Promise.all(e).then(e=>{let n=[];e.forEach(async(e,s)=>{let c=e.data;(0,tD.isUndefined)(null==d?void 0:d.children)||(0,tD.isUndefined)(c)||(n.push(await (0,i7.Rz)({objectId:o,layout:d.children,versionData:c,versionId:t[s].id,versionCount:t[s].count,objectDataRegistry:l,layoutsList:r,setLayoutsList:a})),i((0,i7.AK)({data:n})))})}).catch(e=>{console.log(e)})},[t,d]),(0,tD.isEmpty)(n))?(0,W.jsx)(iH.V,{fullPage:!0,loading:!0}):(0,W.jsx)(u$,{data:n})},SingleViewComponent:e=>{let{versionId:t}=e,n=(0,dD.useAppDispatch)(),{id:i}=(0,eK.i)(),r=(0,C.$1)(H.j["DynamicTypes/ObjectDataRegistry"]),[a,s]=(0,G.useState)(t),[o,l]=(0,G.useState)([]),[d,c]=(0,G.useState)([]),{data:m}=(0,uG.wG)({id:i});return((0,G.useEffect)(()=>{t.id!==a.id&&(l([]),s(t))},[t]),(0,G.useEffect)(()=>{Promise.resolve(n(e$.hi.endpoints.versionGetById.initiate({id:a.id}))).then(async e=>{let t=[],n=e.data;(0,tD.isUndefined)(null==m?void 0:m.children)||(0,tD.isUndefined)(n)||(t.push(await (0,i7.Rz)({objectId:i,layout:m.children,versionData:n,versionId:a.id,versionCount:a.count,objectDataRegistry:r,layoutsList:d,setLayoutsList:c})),l((0,i7.AK)({data:t})))}).catch(e=>{console.log(e)})},[a,m]),(0,tD.isEmpty)(o))?(0,W.jsx)(iH.V,{fullPage:!0,loading:!0}):(0,W.jsx)(uU,{data:o})}})})}),icon:(0,W.jsx)(tL.J,{value:"history"}),isDetachable:!0,hidden:e=>!(0,c8.x)(e.permissions,"versions")},uK={key:"preview",label:"preview.label",children:(0,W.jsx)(()=>{let{id:e}=(0,eK.i)();return(0,W.jsx)(uq.v,{id:e})},{}),icon:(0,W.jsx)(tL.J,{value:"preview"}),isDetachable:!0,hidden:e=>!e.hasPreview};var uQ=n(18639),uX=n(68922),uY=n(88983),u0=n(10186);let u1=()=>{let{t:e}=(0,eH.useTranslation)(),{deleteDraft:t,isLoading:n,buttonText:i}=(0,u0._)(),{id:r}=(0,G.useContext)(uX.f),{dataObject:a}=(0,ij.H)(r);if((0,tD.isNil)(a))return(0,W.jsx)(W.Fragment,{});let s=null==a?void 0:a.draftData;if((0,tD.isNil)(s)||a.changes[uY.hD])return(0,W.jsx)(W.Fragment,{});let o=(0,W.jsx)(il.z,{danger:!0,ghost:!0,loading:n,onClick:t,size:"small",children:i});return(0,W.jsx)(td.x,{padding:"extra-small",children:(0,W.jsx)(cq.b,{action:o,icon:(0,W.jsx)(tL.J,{value:"draft"}),message:e(s.isAutoSave?"draft-alert-auto-save":"draft-alert"),showIcon:!0,type:"info"})})},u3=e=>{let{layout:t,data:n,className:i}=e,{form:r,updateModifiedDataObjectAttributes:a,updateDraft:s,getChangedFieldName:o,disabled:l}=(0,uQ.t)(),d=(0,iv.a)(),c=(e,t)=>{var n;if(l)return;a(e);let i=o(e);null!==i&&(null==d||null==(n=d.getInheritanceState(i))?void 0:n.inherited)===!0&&(null==d||d.breakInheritance(i)),s().catch(e=>{console.error(e)})};return(0,G.useMemo)(()=>(0,W.jsx)(q.ConfigProvider,{theme:{components:{Form:{itemMarginBottom:0}}},children:(0,W.jsx)(nR._v,{children:(0,W.jsx)(nL.l,{className:i,form:r,initialValues:n,layout:"vertical",onValuesChange:c,preserve:!0,children:(0,W.jsx)(iW.D,{renderTopBar:(0,W.jsx)(u1,{}),children:(0,W.jsx)(ts.T,{...t})})})})}),[t,n,i])},u2=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{editContainer:n` - display: flex; - width: 100%; - height: 100%; - flex-direction: column; - - & > .ant-space, - & > .ant-space > .ant-space-item { - display: flex; - width: 100%; - height: 100%; - - .ant-tabs { - width: 100%; - } - } - `}},{hashPriority:"high"});var u6=n(71953),u4=n(44158);let u8=()=>(0,G.useContext)(u4.g),u7={key:"edit",label:"asset.asset-editor-tabs.edit",children:(0,W.jsx)(()=>{let{id:e}=(0,eK.i)(),{currentLayout:t}=u8(),{data:n,isLoading:i,error:r}=(0,uG.wG)({id:e,layoutId:t??void 0}),{dataObject:a,isLoading:s}=(0,ij.H)(e),{styles:o}=u2();return(void 0!==r&&(0,eQ.ZP)(new eQ.MS(r)),void 0===n||i||s)?(0,W.jsx)(iH.V,{loading:!0}):(0,W.jsx)(uJ.w,{children:(0,W.jsx)(u6.C,{children:(0,W.jsx)(u3,{className:o.editContainer,data:null==a?void 0:a.objectData,layout:n})})})},{}),icon:(0,W.jsx)(tL.J,{value:"edit-pen"}),isDetachable:!0};b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["DataObject/Editor/ObjectTabManager"]);e.register(u7),e.register(uK),e.register(l5.D9),e.register(uZ),e.register(l5.V$),e.register(l5.On),e.register(l5._P),e.register(l5.Hy),e.register(l5.zd)}});var u5=n(54626),u9=n(33224);let pe=e=>{let{Component:t}=e,{useElementId:n,ViewComponent:i,useDataQueryHelper:r}=(0,dx.r)(),{setDataLoadingState:a}=r(),{getId:s}=n(),{selectedClassDefinition:o}=(0,u9.v)(),{isLoading:l,data:d}=(0,u5.At)({folderId:s(),classId:o.id}),{id:c}=(0,dv.m)(),{isLoading:m,data:u}=(0,u5.LH)({classId:o.id,folderId:s(),configurationId:c}),{selectedColumns:p,setSelectedColumns:h}=(0,dg.N)(),{setAvailableColumns:g}=(0,dj.L)(),{setGridConfig:x}=(0,dy.j)();return((0,G.useEffect)(()=>{if(void 0===d||void 0===u)return;let e=[],t=d.columns.map(e=>e);for(let t of u.columns){if("advanced"===t.key||"filename"===t.key)continue;let n=d.columns.find(e=>e.key===t.key);void 0!==n&&e.push({key:t.key,locale:t.locale,type:n.type,config:n.config,sortable:n.sortable,editable:n.editable,localizable:n.localizable,exportable:n.exportable,frontendType:n.frontendType,group:n.group,originalApiDefinition:n})}h(e),g(t),x(u),a("config-changed")},[d,u]),l||m||0===p.length)?(0,W.jsx)(i,{}):(0,W.jsx)(t,{})},pt=e=>()=>{let{selectedClassDefinition:t}=(0,u9.v)();return void 0===t?(0,W.jsx)(iH.V,{padded:!0,children:(0,W.jsxs)(tf.k,{align:"center",gap:"extra-small",children:[(0,W.jsx)(rZ.x,{children:"Select a class to display"}),(0,W.jsx)(aI.i,{})]})}):(0,W.jsx)(pe,{Component:e})};var pn=n(72377),pi=n(45493),pr=n(56214);let pa=e=>()=>(0,W.jsx)(pi.H,{children:(0,W.jsx)(pn.c,{children:(0,W.jsx)(pr.i,{children:(0,W.jsx)(e,{})})})});var ps=n(80826);let po=$().createContext({columns:[],setColumns:()=>{}}),pl=e=>{let{children:t}=e,[n,i]=(0,G.useState)([]);return(0,G.useMemo)(()=>(0,W.jsx)(po.Provider,{value:{columns:n,setColumns:i},children:t}),[n,t])},pd=()=>{let{columns:e,setColumns:t}=(0,G.useContext)(po);return{columns:e,setColumns:t,removeColumn:function(n){t(e.filter(e=>e.key!==n.key))},addColumn:function(n){t([...e,n])},resetColumns:function(){t([])}}},pc=e=>{let{columns:t}=e,{setColumns:n}=pd(),i=(0,dH.r)(),{t:r}=(0,eH.useTranslation)(),a=t.map(e=>{let t=(0,ry.V)(),s=`${e.key}`;if("fieldDefinition"in e.config){let t=e.config.fieldDefinition;s=(null==t?void 0:t.title)??e.key}return{id:t,sortable:!0,meta:e,children:(0,W.jsx)(q.Tag,{children:r(`${s}`)}),renderRightToolbar:(0,W.jsxs)(tl.T,{size:"mini",children:[function(e,t){if(!t.localizable)return(0,W.jsx)(W.Fragment,{});let r=["-",...i.requiredLanguages];return(0,W.jsx)(dF.k,{languages:r,onSelectLanguage:t=>{var i,r,s;i=e,r=0,s=t,n(a.map(e=>e.id===i?{...e,meta:{...e.meta,locale:(0,dF.N)(s)}}:e).map(e=>e.meta))},selectedLanguage:t.locale??"-"})}(t,e),(0,W.jsx)(iP.h,{icon:{value:"trash"},onClick:()=>{var e;e=t,n(a.filter(t=>t.id!==e).map(e=>e.meta))},theme:"secondary"})]})}});return(0,W.jsxs)(W.Fragment,{children:[0===a.length&&(0,W.jsx)(q.Empty,{image:q.Empty.PRESENTED_IMAGE_SIMPLE}),a.length>0&&(0,W.jsx)(dR.f,{items:a,onItemsChange:function(e){n(e.map(e=>e.meta))},sortable:!0})]})};var pm=n(55972);let pu=e=>{let{onCancelClick:t,onApplyClick:n,onEditConfigurationClick:i,onUpdateConfigurationClick:r,onSaveConfigurationClick:a,addColumnMenu:s,gridConfig:o,savedGridConfigurations:l,isUpdating:d,isLoading:c,columns:m,currentUserId:u,currentLanguage:p,setCurrentLanguage:h}=e,g=(0,dH.r)(),{t:x}=(0,eH.useTranslation)(),j=(null==o?void 0:o.name)!=="Predefined"&&void 0!==o,v=u===(null==o?void 0:o.ownerId);return(0,W.jsx)(iW.D,{renderToolbar:(0,W.jsxs)(iF.o,{theme:"secondary",children:[(0,W.jsx)(il.z,{onClick:t,type:"default",children:x("button.cancel")}),(0,W.jsxs)(tl.T,{size:"extra-small",children:[(0,W.jsxs)(W.Fragment,{children:[!j&&(0,W.jsx)(il.z,{onClick:a,type:"default",children:x("grid.configuration.save-template")}),j&&(0,W.jsxs)(W.Fragment,{children:[v&&(0,W.jsxs)(pm.D,{children:[(0,W.jsx)(il.z,{loading:d,onClick:r,type:"default",children:x("grid.configuration.update-template")}),(0,W.jsx)(dI.L,{menu:{items:[{key:0,icon:(0,W.jsx)(tL.J,{value:"edit"}),label:x("grid.configuration.edit-template-details"),onClick:()=>{i()}},{key:1,icon:(0,W.jsx)(tL.J,{value:"save"}),label:x("grid.configuration.save-new-template"),onClick:()=>{a()}}]},children:(0,W.jsx)(iP.h,{icon:{value:"more"},type:"default"})})]}),!v&&(0,W.jsx)(il.z,{onClick:a,type:"default",children:x("grid.configuration.save-template")})]})]}),(0,W.jsx)(il.z,{onClick:n,type:"primary",children:x("button.apply")})]})]}),children:(0,W.jsxs)(iH.V,{padded:!0,children:[(0,W.jsx)(cL.h,{fullWidth:!0,title:x("listing.grid-config.title"),children:(0,W.jsxs)(tf.k,{className:"w-full",justify:"space-between",children:[(0,W.jsx)(dI.L,{disabled:(null==l?void 0:l.length)===0&&!c,menu:{items:l},children:(0,W.jsx)(q.Tooltip,{title:(null==l?void 0:l.length)!==0||c?"":x("grid.configuration.no-saved-templates"),children:(0,W.jsx)(rS.W,{disabled:(null==l?void 0:l.length)===0&&!c,icon:{value:"style"},loading:c,style:{minHeight:"32px",minWidth:"100px"},children:j?(0,W.jsx)(W.Fragment,{children:o.name}):(0,W.jsx)(W.Fragment,{children:x("grid.configuration.template")})})})}),(0,W.jsx)(dF.k,{languages:g.requiredLanguages.map(e=>e),onSelectLanguage:h,selectedLanguage:p})]})}),(0,W.jsxs)(tl.T,{direction:"vertical",style:{width:"100%"},children:[(0,W.jsx)(pc,{columns:m}),!(0,tD.isEmpty)(s)&&(0,W.jsx)(dI.L,{menu:{items:s},children:(0,W.jsx)(rS.W,{icon:{value:"new"},type:"link",children:x("listing.add-column")})})]})]})})};var pp=n(76050);let ph=(0,eJ.createStyles)(e=>{let{css:t,token:n}=e;return{label:t` - color: ${n.colorTextLabel}; - `,icon:t` - color: ${n.colorTextLabel}; - `,updateButton:t` - color: ${n.Button.defaultColor}; - - .pimcore-icon { - color: ${n.Button.defaultColor}; - } - - &:hover { - cursor: pointer; - } - `,updateButtonText:t` - color: ${n.Button.defaultColor}; - `,tag:t` - .ant-tag { - background-color: ${n.Colors.Neutral.Fill.colorFillTertiary}; - } - `}}),pg={name:"",description:"",shareGlobally:!0,setAsDefault:!1,saveFilters:!1},px=e=>{var t;let[n,i]=(0,G.useState)((null==(t=e.initialValues)?void 0:t.shareGlobally)??pg.shareGlobally),[r,a]=(0,G.useState)(!1),{gridConfig:s,setGridConfig:o}=(0,dy.j)(),{t:l}=(0,eH.useTranslation)(),{styles:d}=ph();(0,G.useEffect)(()=>{var t;null==(t=e.form)||t.resetFields()},[]);let c=(e,t)=>(0,W.jsx)(tL.J,{className:d.icon,options:{width:t??12,height:t??12},value:e});return(0,W.jsxs)(nL.l,{layout:"vertical",onValuesChange:(t,n)=>{var r;null==(r=e.onValuesChange)||r.call(e,t,n);let a=t.shareGlobally;void 0!==a&&(i(t.shareGlobally),(0,tD.isEmpty)(s)||o({...s,shareGlobal:a}))},...e,children:[(0,W.jsx)(nL.l.Item,{label:l("user-management.name"),name:"name",rules:[{required:!0,message:l("form.validation.provide-name")}],children:(0,W.jsx)(q.Input,{})}),(0,W.jsx)(nL.l.Item,{label:l("description"),name:"description",rules:[{required:!1,message:l("form.validation.provide-description")}],children:(0,W.jsx)(q.Input.TextArea,{})}),(0,W.jsx)(tl.T,{size:"extra-small",children:(0,W.jsx)(nL.l.Item,{name:"setAsDefault",valuePropName:"checked",children:(0,W.jsx)(q.Checkbox,{children:l("grid.configuration.set-default-template")})})}),(0,W.jsx)(q.Flex,{align:"center",gap:"mini",children:(0,W.jsx)(nL.l.Item,{name:"shareGlobally",valuePropName:"checked",children:(0,W.jsx)(mh.r,{labelLeft:(0,W.jsx)(rZ.x,{children:l("grid.configuration.shared")}),labelRight:!0===n?(0,W.jsx)(rZ.x,{className:d.label,children:l("common.globally")}):(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)(q.Flex,{gap:10,children:[(0,W.jsxs)(rZ.x,{className:d.label,children:[c("user")," ",l("user-management.key-bindings.user")," | ",c("shield")," ",l("user-management.key-bindings.role")]}),(0,W.jsxs)(q.Flex,{align:"center",className:d.updateButton,gap:8,onClick:()=>{a(!r)},children:[c("edit",16),(0,W.jsx)(rZ.x,{className:d.updateButtonText,children:l("button.add-edit")})]})]}),r&&(0,W.jsx)(pp.h,{handleClose:()=>{a(!1)},roleList:null==e?void 0:e.roleList,userList:null==e?void 0:e.userList})]})})})}),!1===n&&(0,W.jsx)(mJ.P,{itemGap:"mini",list:(()=>{var t,n;let i=[],r=[],a=e=>{let{label:t,iconName:n}=e;return{children:(0,W.jsx)(rZ.x,{ellipsis:!0,style:{maxWidth:"148px"},type:"secondary",children:t}),icon:c(n),bordered:!1}};return null==(t=e.userList)||t.items.forEach(e=>{(null==s?void 0:s.sharedUsers).includes(e.id)&&i.push(a({label:null==e?void 0:e.username,iconName:"user"}))}),null==(n=e.roleList)||n.items.forEach(e=>{(null==s?void 0:s.sharedRoles).includes(e.id)&&r.push(a({label:null==e?void 0:e.name,iconName:"shield"}))}),[i,r]})(),tagListItemClassNames:d.tag})]})},pj=e=>{let{formProps:t,onCancelClick:n,isLoading:i,onDeleteClick:r,isDeleting:a,saveAsNewConfiguration:s,modificationDate:o,userName:l,...d}=e,{form:c}=t,{t:m}=(0,eH.useTranslation)();return(0,W.jsx)(iW.D,{renderToolbar:(0,W.jsxs)(iF.o,{theme:"secondary",children:[void 0!==r&&!0!==s?(0,W.jsx)(q.Popconfirm,{cancelText:m("button.cancel"),description:m("grid.configuration.delete-template-confirmation"),okText:m("delete"),onConfirm:r,title:m("grid.configuration.delete-this-template"),children:(0,W.jsx)(rS.W,{disabled:i,icon:{value:"trash"},loading:a,children:m("grid.configuration.delete-template")})}):(0,W.jsx)("div",{}),(0,W.jsxs)(tl.T,{size:"mini",children:[(0,W.jsx)(rS.W,{icon:{value:"close"},onClick:n,type:"default",children:m("button.cancel")}),(0,W.jsx)(il.z,{disabled:a,loading:i,onClick:()=>null==c?void 0:c.submit(),type:"primary",children:m("button.save-apply")})]})]}),children:(0,W.jsx)(iH.V,{padded:!0,children:(0,W.jsxs)(q.Flex,{gap:"small",vertical:!0,children:[(0,W.jsx)(cL.h,{title:m("grid.configuration.save-template-configuration")}),!0!==s&&(0,W.jsxs)(q.Row,{children:[(0,W.jsxs)(q.Col,{span:6,children:[(0,W.jsxs)(rZ.x,{children:[m("common.owner"),":"]})," ",(0,W.jsx)(rZ.x,{type:"secondary",children:l})]}),!(0,rK.O)(o)&&(0,W.jsxs)(q.Col,{span:12,children:[(0,W.jsxs)(rZ.x,{children:[m("common.modification-date"),": "]}),(0,W.jsx)(rZ.x,{type:"secondary",children:(0,rQ.o0)({timestamp:o,dateStyle:"short",timeStyle:"short"})})]})]}),(0,W.jsx)(px,{...t,...d})]})})})};var pv=n(4584),py=n(61571),pf=n(30683);let pw=()=>{let{useElementId:e}=(0,dx.r)(),{getAvailableColumnsDropdown:t}=(0,dj.L)(),{selectedColumns:n,setSelectedColumns:i}=(0,dg.N)(),{columns:r,setColumns:a,addColumn:s}=pd(),{getId:o}=e(),l=(0,rM.a)(),{id:d,setId:c}=(0,dv.m)(),{gridConfig:m,setGridConfig:u}=(0,dy.j)(),{selectedClassDefinition:p}=(0,u9.v)(),{isLoading:h,isFetching:g,data:x}=(0,u5.F6)({classId:p.id}),{data:j}=(0,py.m)(),{data:v}=(0,pf.Ri)(),{isFetching:y}=(0,u5.LH)({classId:p.id,folderId:o(),configurationId:d}),[f,{isLoading:w}]=(0,u5.j_)(),[b,{isLoading:C}]=(0,u5.Ag)(),[k,{isLoading:T}]=(0,u5.kx)(),[D,S]=(0,G.useState)("en"),[M,L]=(0,G.useState)("edit"),[I]=(0,pv.Z)(),E=(null==m?void 0:m.name)!=="Predefined"&&void 0!==m,_=(0,G.useMemo)(()=>{if(void 0!==x){var e;return(null==(e=x.items)?void 0:e.map(e=>({key:e.id,label:e.name,onClick:()=>{c(e.id)}})))??[]}return[]},[x]);(0,G.useEffect)(()=>{a(n.map(e=>({...e.originalApiDefinition,locale:null==e?void 0:e.locale})))},[n]);let z=e=>{s(e)},O=(0,G.useMemo)(()=>t(z),[t,r]);function P(e){return e.map(e=>({key:e.key,locale:e.locale??null,group:e.group}))}return y||T?(0,W.jsx)(iH.V,{loading:!0}):(0,W.jsxs)(W.Fragment,{children:["edit"===M&&(0,W.jsx)(pu,{addColumnMenu:O.menu.items,columns:r,currentLanguage:D,currentUserId:null==l?void 0:l.id,gridConfig:m,isLoading:h||g,isUpdating:C,onApplyClick:()=>{i(r.map(e=>({key:e.key,locale:null===e.locale&&e.localizable?D:e.locale,type:e.type,config:e.config,sortable:e.sortable,editable:e.editable,localizable:e.localizable,exportable:e.exportable,frontendType:e.frontendType,group:e.group,originalApiDefinition:e})))},onCancelClick:()=>{a(n.map(e=>e.originalApiDefinition))},onEditConfigurationClick:()=>{L("update")},onSaveConfigurationClick:()=>{L("save")},onUpdateConfigurationClick:function(){if(void 0===m)return void console.error("No grid configuration available");b({configurationId:m.id,body:{folderId:o(),columns:P(r),name:m.name,description:m.description??"",setAsFavorite:m.setAsFavorite,shareGlobal:m.shareGlobal,sharedRoles:m.sharedRoles,sharedUsers:m.sharedUsers,saveFilter:!1,pageSize:0}}).catch(e=>{console.error("Failed to update grid configuration",e)})},savedGridConfigurations:_,setCurrentLanguage:S}),("save"===M||"update"===M)&&(0,W.jsx)(pj,{formProps:{form:I,onFinish:function(e){let t=P(r);!0!==e.shareGlobally||(0,tD.isEmpty)(m)||u({...m,sharedUsers:[],sharedRoles:[]}),"update"===M&&E&&b({configurationId:m.id,body:{folderId:o(),columns:t,name:e.name,description:e.description,setAsFavorite:e.setAsDefault,shareGlobal:e.shareGlobally,sharedRoles:m.sharedRoles,sharedUsers:m.sharedUsers,saveFilter:!1,pageSize:0}}).catch(e=>{console.error("Failed to update grid configuration",e)}).then(()=>{L("edit")}).catch(e=>{console.error("Failed to switch to edit view",e)}),"save"===M&&f({classId:p.id,body:{folderId:o(),columns:t,name:e.name,description:e.description,setAsFavorite:e.setAsDefault,shareGlobal:e.shareGlobally,sharedRoles:null==m?void 0:m.sharedRoles,sharedUsers:null==m?void 0:m.sharedUsers,saveFilter:!1,pageSize:0}}).catch(e=>{console.error("Failed to save grid configuration",e)}).then(e=>{(null==e?void 0:e.data)!==void 0&&(c(e.data.id),L("edit"))}).catch(e=>{console.error("Failed to switch to edit view",e)})},initialValues:"update"===M&&E?{name:null==m?void 0:m.name,description:null==m?void 0:m.description,setAsDefault:null==m?void 0:m.setAsFavorite,shareGlobally:null==m?void 0:m.shareGlobal}:{...pg}},isDeleting:T,isLoading:w||C,modificationDate:null==m?void 0:m.modificationDate,onCancelClick:()=>{L("edit")},onDeleteClick:E?function(){E&&k({configurationId:m.id}).then(()=>{L("edit"),c(void 0)}).catch(e=>{console.error("Failed to switch to edit view",e)})}:void 0,roleList:j,saveAsNewConfiguration:"save"===M,userList:v,userName:null==l?void 0:l.username})]})},pb=()=>(0,W.jsx)(pl,{children:(0,W.jsx)(pw,{})}),pC=e=>()=>{let{getProps:t}=e(),{t:n}=(0,eH.useTranslation)();return{getProps:()=>{let e=t();return{...e,entries:[...e.entries,{component:(0,W.jsx)(pb,{}),key:"configuration",icon:(0,W.jsx)(tL.J,{value:"settings"}),tooltip:n("sidebar.grid_config")}]}}}},pk=(0,G.createContext)({batchEdits:[],setBatchEdits:()=>{}}),pT=e=>{let{children:t}=e,[n,i]=(0,G.useState)([]);return(0,G.useMemo)(()=>(0,W.jsx)(pk.Provider,{value:{batchEdits:n,setBatchEdits:i},children:t}),[n,t])},pD=()=>{let{batchEdits:e,setBatchEdits:t}=(0,G.useContext)(pk),n=(0,dH.r)();return{batchEdits:e,setBatchEdits:t,addOrUpdateBatchEdit:(i,r)=>{let a={...i,locale:i.localizable?i.locale??n.requiredLanguages[0]:null,value:r},s=[...e],o=e.findIndex(e=>e.key===a.key);-1!==o?s[o]=a:s.push(a),t(s)},updateLocale:(n,i)=>{t(e.map(e=>e.key===n?{...e,locale:i}:e))},resetBatchEdits:()=>{t([])},removeBatchEdit:n=>{t(e.filter(e=>e.key!==n))}}},pS=e=>{let{batchEdit:t}=e,{frontendType:n,type:i}=t,{getComponentRenderer:r}=(0,dW.D)();return(0,G.useMemo)(()=>{let{ComponentRenderer:e}=r({dynamicTypeIds:[i,n],target:"BATCH_EDIT"});return null===e?(0,W.jsx)(W.Fragment,{children:"Dynamic Field Filter not supported"}):(0,W.jsx)(W.Fragment,{children:e({batchEdit:t})})},[t])},pM=()=>{let{batchEdits:e,removeBatchEdit:t}=pD(),{updateLocale:n}=pD(),i=(0,dH.r)(),r=i.requiredLanguages,a=e.map(e=>{let a=e.locale??i.requiredLanguages[0];return{id:e.key,children:(0,W.jsx)(q.Tag,{children:(0,eU.t)(`${e.key}`)}),renderRightToolbar:(0,W.jsx)(dN.h,{items:[...e.localizable?[(0,W.jsx)(dF.k,{languages:r,onSelectLanguage:t=>{n(e.key,(0,dF.N)(t))},selectedLanguage:a},"language-selection")]:[],(0,W.jsx)(iP.h,{icon:{value:"close"},onClick:()=>{t(e.key)}},"remove")]}),body:(0,W.jsx)(pS,{batchEdit:e})}});return(0,W.jsxs)(W.Fragment,{children:[0===a.length&&(0,W.jsx)(rq.d,{text:(0,eU.t)("batch-edit.no-content")}),a.length>0&&(0,W.jsx)(dR.f,{items:a})]})},pL=e=>{var t;let{batchEditModalOpen:n,setBatchEditModalOpen:i}=e,{getAvailableColumnsDropdown:r}=(0,dj.L)(),{batchEdits:a,addOrUpdateBatchEdit:s,resetBatchEdits:o}=pD(),[l]=nL.l.useForm(),{selectedRows:d}=(0,dU.G)(),[c,{error:m,isError:u,isSuccess:p}]=(0,uG.c3)(),[h,{error:g,isError:x,isSuccess:j}]=(0,uG.v)(),{useDataQueryHelper:v}=(0,dx.r)(),{getArgs:y}=v(),{id:f,elementType:w}=(0,eK.i)(),b=(0,dD.useAppDispatch)(),{addJob:C}=(0,dJ.C)(),k=Object.keys(d??{}),T=k.length,{hasType:D}=(0,dW.D)(),{refreshGrid:S}=(0,dY.g)(w),M=()=>{o(),l.resetFields()};(0,G.useEffect)(()=>{u&&(0,eQ.ZP)(new eQ.MS(m)),x&&(0,eQ.ZP)(new eQ.MS(g))},[m,g]),(0,G.useEffect)(()=>{(p||j)&&M(),j&&1===T&&b(uG.hi.util.invalidateTags(dq.xc.DATA_OBJECT_GRID_ID(f)))},[p,j]);let L=async e=>{0===T?C(dX({title:(0,eU.t)("batch-edit.job-title"),topics:[dZ.F["patch-finished"],...dZ.b],action:async()=>{var t,n,i,r;let a=await c({body:{data:[{folderId:f,editableData:e}],filters:null==(n=y())||null==(t=n.body)?void 0:t.filters}});if((null==(i=a.data)?void 0:i.jobRunId)===void 0)throw(0,eQ.ZP)(new eQ.aE("JobRunId is undefined")),Error("JobRunId is undefined");return null==(r=a.data)?void 0:r.jobRunId},refreshGrid:S,assetContextId:f})):1===T?await h({body:{data:[{id:parseInt(k[0]),editableData:e}]}}):C(dX({title:(0,eU.t)("batch-edit.job-title"),topics:[dZ.F["patch-finished"],...dZ.b],action:async()=>{var t,n;let i=await h({body:{data:k.map(t=>({id:parseInt(t),editableData:e}))}});if((null==(t=i.data)?void 0:t.jobRunId)===void 0)throw(0,eQ.ZP)(new eQ.aE("JobRunId is undefined")),Error("JobRunId is undefined");return null==(n=i.data)?void 0:n.jobRunId},refreshGrid:S,assetContextId:f}))},I=r(e=>{s(e,void 0)}).menu.items,E=e=>{var t;return null==e||null==(t=e.children)?void 0:t.filter(e=>{let t=!0===e.editable,n=a.some(t=>e.key===t.key&&e.group===t.group),i=D({target:"BATCH_EDIT",dynamicTypeIds:[null==e?void 0:e.frontendType]});return t&&i&&!n})},_=(0,G.useMemo)(()=>()=>(0,tD.isUndefined)(I)?[]:I.map(e=>({...e,children:E(e)})),[I]),z=null==(t=_())?void 0:t.every(e=>{var t;return(null==e||null==(t=e.children)?void 0:t.length)===0});return(0,W.jsx)(dV.i,{afterClose:()=>{M()},footer:(0,W.jsxs)(dP.m,{divider:!0,justify:"space-between",children:[(0,W.jsx)(dI.L,{menu:{items:_()},children:(0,W.jsx)(rS.W,{disabled:z,icon:{value:"new"},type:"default",children:(0,eU.t)("listing.add-column")})}),a.length>0&&(0,W.jsxs)(tf.k,{align:"center",gap:"extra-small",children:[(0,W.jsx)(rS.W,{icon:{value:"close"},onClick:()=>{M()},type:"link",children:(0,eU.t)("batch-edit.modal-footer.discard-all-changes")}),(0,W.jsx)(il.z,{onClick:()=>{l.submit(),M(),i(!1)},type:"primary",children:(0,eU.t)("batch-edit.modal-footer.apply-changes")})]})]}),onCancel:()=>{i(!1)},open:n,size:"XL",title:(0,W.jsx)(dA.r,{children:(0,eU.t)("batch-edit.modal-title")}),children:(0,W.jsx)(nR._v,{fieldWidthValues:{large:9999,medium:9999,small:9999},children:(0,W.jsx)(nL.l,{form:l,onFinish:L,children:(0,W.jsx)(pM,{})})})})},pI=()=>{let e=(0,d_.J)(),[t,n]=(0,G.useState)(!1),[i,r]=(0,G.useState)(!1),[a,s]=(0,G.useState)(!1),{t:o}=(0,eH.useTranslation)();if(void 0===e)return(0,W.jsx)(W.Fragment,{});let{selectedRows:l}=e,d=void 0!==l&&Object.keys(l).length>0,c={items:[{key:"1",label:o("listing.actions.batch-edit"),icon:(0,W.jsx)(tL.J,{value:"batch-selection"}),onClick:()=>{n(!0)}},{key:"2",label:o("listing.actions.export"),icon:(0,W.jsx)(tL.J,{value:"export"}),children:[{key:"2.1",label:o("listing.actions.csv-export"),icon:(0,W.jsx)(tL.J,{value:"export"}),onClick:()=>{r(!0)}},{key:"2.2",label:o("listing.actions.xlsx-export"),icon:(0,W.jsx)(tL.J,{value:"export"}),onClick:()=>{s(!0)}}]}]};return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(dI.L,{menu:c,children:(0,W.jsx)(dL.P,{children:o(d?"listing.actions":"listing.non-selected.actions")},"dropdown-button")}),(0,W.jsx)(cn,{open:i,setOpen:r}),(0,W.jsx)(cr,{open:a,setOpen:s}),(0,W.jsx)(pT,{children:(0,W.jsx)(pL,{batchEditModalOpen:t,setBatchEditModalOpen:n})})]})},pE=()=>{let{selectedRows:e}=(0,dU.G)(),t=Object.keys(e??{}).length;return(0,G.useMemo)(()=>(0,W.jsxs)(iF.o,{theme:"secondary",children:[(0,W.jsxs)(iN.P,{children:[(0,W.jsxs)(tl.T,{size:"extra-small",children:[t>0&&(0,W.jsx)(af.q,{}),t<=0&&(0,W.jsx)(aI.i,{})]}),(0,W.jsx)(pI,{})]}),(0,W.jsxs)(iN.P,{size:"extra-small",children:[(0,W.jsx)(aw.s,{}),(0,W.jsx)(ab.t,{})]})]}),[t])};var p_=n(93430);let pz=(0,iS.createColumnHelper)(),pO=e=>()=>{let{t}=(0,eH.useTranslation)(),{transformGridColumnDefinition:n,...i}=e();return{...i,transformGridColumnDefinition:e=>{let i=n(e);return i.push(pz.accessor("actions",{header:t("actions.open"),enableSorting:!1,meta:{type:"data-object-actions"},size:65})),i}}},pP=e=>{let{row:t}=e,{openGridContextMenuItem:n}=(0,dl.y)("data-object"),{deleteGridContextMenuItem:i}=(0,dr.R)("data-object"),{locateInTreeGridContextMenuItem:r}=(0,cc.B)("data-object"),[a,s]=(0,G.useState)(void 0),o=[n(t),r(t,()=>{s(void 0)}),i(t)].filter(Boolean);return(0,W.jsx)(dI.L,{menu:{items:o,onClick:e=>{e.key===cd.N.locateInTree&&s(!0)}},open:a,trigger:["contextMenu"],children:e.children},t.id)},pV=e=>()=>{let{getGridProps:t,...n}=e();return{...n,getGridProps:()=>({...t(),contextMenu:pP})}},pA={...al.l,ViewComponent:()=>{let{dataQueryResult:e}=(0,ah.e)(),{selectedClassDefinition:t}=(0,u9.v)();return(0,G.useMemo)(()=>(0,W.jsx)(iW.D,{renderSidebar:void 0!==e?(0,W.jsx)(ag.Y,{}):void 0,renderToolbar:void 0!==e?(0,W.jsx)(pE,{}):void 0,children:void 0!==t&&void 0!==e&&(0,W.jsx)(ax.T,{})}),[e])},useDataQuery:u5.v$,useDataQueryHelper:()=>{let{useElementId:e}=(0,dx.r)(),{getId:t}=e(),{selectedColumns:n}=(0,dg.N)(),{availableColumns:i}=(0,dj.L)(),{selectedClassDefinition:r}=(0,u9.v)(),{dataLoadingState:a,setDataLoadingState:s}=(0,ah.e)(),o=n.map(e=>({key:e.key,type:e.type,locale:e.locale,config:e.config}));i.filter(e=>"system"===e.group).forEach(e=>{o.some(t=>t.key===e.key)||o.push({key:e.key,type:e.type,locale:e.locale,config:[]})});let l=()=>{if(void 0===r)throw Error("No class definition selected");return{classId:r.id,body:{folderId:t(),columns:o,filters:{includeDescendants:!0,page:1,pageSize:20}}}};return{getArgs:l,hasRequiredArgs:()=>void 0!==l().body.folderId||void 0!==r,dataLoadingState:a,setDataLoadingState:s}},useElementId:dS},pB=(0,au.q)(e=>{let{useGridOptions:t,...n}=e;return{...n,useGridOptions:pO(t)}},am.y,ac.L,[aP.F,{showConfigLayer:!0}],e=>{let{ConfigurationComponent:t,ContextComponent:n,useGridOptions:i,useSidebarOptions:r,...a}=e;return{...a,ConfigurationComponent:pt(t),ContextComponent:pa(n),useGridOptions:(0,ps.m)(i),useSidebarOptions:pC(r)}},[dT,{useInlineEditApiUpdate:()=>{let[e]=(0,uG.v)(),t=(0,dD.useAppDispatch)();return{updateCache:e=>{let{update:n,getGetRequestArgs:i}=e,{id:r,column:a,value:s}=n;t(uG.hi.util.updateQueryData("dataObjectGetGrid",i,e=>{e:for(let t of e.items)if(t.id===r){for(let e of t.columns)if(e.key===a.key&&e.locale===a.locale){e.value=s,!(0,tD.isNil)(e.inheritance)&&"inherited"in e.inheritance&&!0===e.inheritance.inherited&&(e.inheritance.inherited=!1);break e}}return e}))},updateApiData:async t=>{var n;let{update:i}=t,r=i.column.key;if(i.column.localizable&&void 0!==i.column.locale&&null!==i.column.locale){let e=r.split("."),t=e[e.length-1];e.pop();let n=e.length>0&&""!==e[0];r=`${e.join(".")}${n?".":""}localizedfields.${t}.${i.column.locale}`}let a=(null==(n=t.meta)?void 0:n[p_.W1])===!0?(0,p_.cI)(i.value,p_.vI.Replace):i.value,s=e({body:{data:[{id:i.id,editableData:{...(0,tD.set)({},r,a)}}]}}),o=await s;return(0,tD.isNil)(o.error)||(0,eQ.ZP)(new eQ.MS(o.error)),o}}}}],[dC.G,{rowSelectionMode:"multiple"}],e=>{let{useGridOptions:t,...n}=e;return{...n,useGridOptions:pV(t)}},aa.p,ad.o)(pA),pR=()=>(0,W.jsx)(ao.d,{serviceIds:["DynamicTypes/GridCellRegistry","DynamicTypes/ListingRegistry","DynamicTypes/BatchEditRegistry"],children:(0,W.jsx)(al.p,{...pB})}),pN={key:"listing",label:"folder.folder-editor-tabs.view",children:(0,W.jsx)(()=>(0,W.jsx)(pR,{}),{}),icon:(0,W.jsx)(tL.J,{value:"list"}),isDetachable:!1};b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["DataObject/Editor/FolderTabManager"]);e.register(pN),e.register(l5.D9),e.register(l5.On),e.register(l5._P),e.register(l5.Hy),e.register(l5.zd)}});var pF=n(17155),pH=n(88087);let pW=()=>{let{t:e}=(0,eH.useTranslation)(),{id:t}=(0,G.useContext)(uX.f),{dataObject:n}=(0,ij.H)(t),{refreshElement:i}=(0,m$.C)("data-object"),{isLoading:r,layouts:a}=(0,pH.z)(t),{setCurrentLayout:s,currentLayout:o}=u8(),[l,d]=(0,G.useState)(),c=(0,G.useRef)(null);if((0,G.useEffect)(()=>{if((0,tD.isString)(l)){var e;null==(e=c.current)||e.refresh()}},[l]),r)return(0,W.jsx)(W.Fragment,{});let m=()=>Object.keys((null==n?void 0:n.changes)??{}).length>0,u=(a??[]).map(t=>({key:`reload-${t.id}`,label:(0,W.jsx)(rZ.x,{strong:o===t.id,children:e(t.name)}),onClick:()=>{d(t.id)}}));return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(mU.t,{hasDataChanged:m,onReload:()=>{i(t,!0)},title:e("toolbar.reload.confirmation"),children:(0,W.jsx)(iP.h,{icon:{value:"refresh"},children:e("toolbar.reload")})},"reload"),u.length>1&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(mU.t,{hasDataChanged:m,onCancel:()=>{d(null)},onReload:()=>{(0,tD.isString)(l)&&s(l),i(t,!0)},ref:c,title:e("toolbar.reload.confirmation")},"reload"),(0,W.jsx)(dI.L,{menu:{items:u},trigger:["hover"],children:(0,W.jsx)(iP.h,{icon:{value:"chevron-down"},onClick:e=>{e.stopPropagation()},children:e("toolbar.switch-layout")})},"switch-layout")]})]})};var pG=n(98319);let p$=e=>{let{t}=(0,eH.useTranslation)(),{isTreeActionAllowed:n}=(0,uV._)(),{executeElementTask:i}=(0,rH.f)(),[r,a]=(0,G.useState)(!1),s=e=>!(0,c8.x)(e.permissions,"unpublish")||"folder"===e.type||e.isLocked,o=(t,n)=>{i(e,"string"==typeof t.id?parseInt(t.id):t.id,pG.R.Unpublish,n)};return{unpublishTreeContextMenuItem:e=>({label:t("element.unpublish"),key:cd.N.unpublish,isLoading:r,icon:(0,W.jsx)(tL.J,{value:"eye-off"}),hidden:!1===e.isPublished||!n(uP.W.Unpublish)||s(e),onClick:()=>{o(e)}}),unpublishContextMenuItem:(e,n)=>({label:t("element.unpublish"),key:cd.N.unpublish,isLoading:r,icon:(0,W.jsx)(tL.J,{value:"eye-off"}),hidden:!e.published||s(e),onClick:()=>{a(!0),o(e,()=>{null==n||n(),a(!1)})}})}},pU=()=>{let{t:e}=(0,eH.useTranslation)(),{id:t}=(0,G.useContext)(uX.f),{dataObject:n}=(0,ij.H)(t),{unpublishContextMenuItem:i}=p$("data-object"),{renameContextMenuItem:r}=(0,di.j)("data-object"),{deleteContextMenuItem:a}=(0,dr.R)("data-object"),[s,o]=(0,G.useState)(void 0),l=[i(n,()=>{o(void 0)}),a(n),r(n)],d=l.filter(e=>null!==e&&"hidden"in e&&(null==e?void 0:e.hidden)===!1),c=[];return c.push((0,W.jsx)(pW,{},"reload-button")),d.length>0&&c.push((0,W.jsx)(dI.L,{menu:{items:l,onClick:e=>{e.key===cd.N.unpublish&&o(!0)}},open:s,children:(0,W.jsx)(dL.P,{children:e("toolbar.more")})},"dropdown-button")),(0,W.jsx)(dN.h,{items:c,noSpacing:!0})};var pq=n(44171);let pJ=()=>{let{id:e}=(0,G.useContext)(uX.f),{activeTab:t}=(0,ij.H)(e);return t!==u7.key?(0,W.jsx)(W.Fragment,{}):(0,W.jsx)(pq.k,{})};var pZ=n(45699),pK=n(43367);let pQ=()=>{var e;let{t}=(0,eH.useTranslation)(),{id:n}=(0,G.useContext)(uX.f),{dataObject:i,removeTrackedChanges:r,publishDraft:a}=(0,ij.H)(n),{save:s,isLoading:o,isSuccess:l,isError:d,error:c}=(0,pG.O)(),{isAutoSaveLoading:m,runningTask:u}=(0,pK.x)(),{saveSchedules:p,isLoading:h,isSuccess:g,isError:x,error:j}=(0,m3.f)("data-object",n,!1),{getModifiedDataObjectAttributes:v,resetModifiedDataObjectAttributes:y}=(0,uQ.t)(),{deleteDraft:f,isLoading:w,buttonText:b}=(0,u0._)(),C=(0,m1.U)(),k=(null==i||null==(e=i.draftData)?void 0:e.isAutoSave)===!0;async function T(e,t){(null==i?void 0:i.changes)!==void 0&&Promise.all([s(v(),e,()=>{y(),null==t||t()}),p()]).catch(e=>{console.error(e)})}(0,G.useEffect)(()=>{(async()=>{l&&g&&(r(),await C.success(t("save-success")))})().catch(e=>{console.error(e)})},[l,g]),(0,G.useEffect)(()=>{d&&!(0,tD.isNil)(c)?(0,eQ.ZP)(new eQ.MS(c)):x&&!(0,tD.isNil)(j)&&(0,eQ.ZP)(new eQ.MS(j))},[d,x,c,j]);let D=(()=>{let e=[],n=u===pG.R.Version&&(o||h)||w;if((0,c8.x)(null==i?void 0:i.permissions,"save")){(null==i?void 0:i.published)===!0&&e.push((0,W.jsx)(rd.Button,{disabled:o||h||n,loading:u===pG.R.Version&&(o||h),onClick:async()=>{await T(pG.R.Version)},type:"default",children:t("toolbar.save-draft")},"save-draft"));let r=o||h||n;(null==i?void 0:i.published)===!1&&(0,c8.x)(null==i?void 0:i.permissions,"save")&&e.push((0,W.jsx)(rd.Button,{disabled:r,loading:u===pG.R.Publish&&(o||h),onClick:async()=>{await T(pG.R.Publish,()=>{a()})},type:"default",children:t("toolbar.save-and-publish")},"save-draft")),(0,tD.isNil)(null==i?void 0:i.draftData)||e.push((0,W.jsx)(dI.L,{menu:{items:[{disabled:o,label:b,key:"delete-draft",onClick:f}]},children:(0,W.jsx)(iP.h,{disabled:o||h||n,icon:{value:"chevron-down"},loading:w,type:"default"})},"dropdown"))}return e})(),S=(()=>{let e=[],n=o||h||w;return(null==i?void 0:i.published)===!0&&(0,c8.x)(null==i?void 0:i.permissions,"publish")&&e.push((0,W.jsx)(rd.Button,{disabled:n,loading:u===pG.R.Publish&&(o||h),onClick:async()=>{await T(pG.R.Publish)},type:"primary",children:t("toolbar.save-and-publish")})),(null==i?void 0:i.published)===!1&&(0,c8.x)(null==i?void 0:i.permissions,"save")&&e.push((0,W.jsx)(rd.Button,{disabled:n,loading:u===pG.R.Save&&(o||h),onClick:async()=>{await T(pG.R.Save)},type:"primary",children:t("toolbar.save-draft")})),e})();return(0,W.jsxs)(W.Fragment,{children:[m&&(0,W.jsx)(pZ.u,{title:t("auto-save.loading-tooltip"),children:(0,W.jsx)(iV.y,{type:"classic"})}),!m&&k&&(0,W.jsx)(pZ.u,{title:t("auto-save.tooltip"),children:(0,W.jsx)(tL.J,{value:"auto-save"})}),D.length>0&&(0,W.jsx)(dN.h,{items:D,noSpacing:!0}),S.length>0&&(0,W.jsx)(dN.h,{items:S,noSpacing:!0})]})};b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["DataObject/Editor/TypeRegistry"]);e.register({name:"object",tabManagerServiceId:"DataObject/Editor/ObjectTabManager"}),e.register({name:"folder",tabManagerServiceId:"DataObject/Editor/FolderTabManager"}),C.nC.get(H.j.widgetManager).registerWidget(pF._);let t=C.nC.get(H.j["App/ComponentRegistry/ComponentRegistry"]);t.registerToSlot("dataObject.editor.toolbar.slots.left",{name:"contextMenu",priority:100,component:pU}),t.registerToSlot("dataObject.editor.toolbar.slots.left",{name:"languageSelection",priority:200,component:pJ}),t.registerToSlot("dataObject.editor.toolbar.slots.right",{name:"workflowMenu",priority:100,component:m0}),t.registerToSlot("dataObject.editor.toolbar.slots.right",{name:"saveButtons",priority:200,component:pQ})}});var pX=n(66490),pY=n(94374),p0=n(26885);let p1=e=>{let{storedNode:t,nodeTask:n}=e,{t:i}=(0,eH.useTranslation)(),{isTreeActionAllowed:r}=(0,uV._)(),a=(0,dD.useAppDispatch)(),{paste:s}=(0,ux.o)("data-object"),{treeId:o}=(0,p0.d)(!0),[l]=(0,u5.dX)(),d=async(e,t)=>{a((0,pY.sQ)({treeId:o,nodeId:String(t.id),isFetching:!0}));let n="string"==typeof t.id?parseInt(t.id):t.id,i=l({sourceId:"string"==typeof e.id?parseInt(e.id):e.id,targetId:n});try{let e=await i;void 0!==e.error&&(0,eQ.ZP)(new eQ.MS(e.error)),a((0,pY.sQ)({treeId:o,nodeId:String(n),isFetching:!1}))}catch(e){(0,eQ.ZP)(new eQ.aE(e.message))}},c=e=>!r(uP.W.Paste)||void 0===t||"copy"!==n||!(0,c8.x)(e.permissions,"create"),m=e=>c(e)||"folder"===e.type||e.isLocked||(null==t?void 0:t.type)!==e.type;return{pasteAsChildTreeContextMenuItem:e=>({label:i("element.tree.paste-as-child"),key:cd.N.pasteAsChild,icon:(0,W.jsx)(tL.J,{value:"paste"}),hidden:c(e),onClick:async()=>{a((0,pY.sQ)({treeId:o,nodeId:String(e.id),isFetching:!0})),await s(parseInt(e.id),{recursive:!1,updateReferences:!1},t)}}),pasteAsChildRecursiveTreeContextMenuItem:e=>({label:i("element.tree.paste-as-child-recursive"),key:cd.N.pasteAsChildRecursive,icon:(0,W.jsx)(tL.J,{value:"paste"}),hidden:c(e),onClick:async()=>{a((0,pY.sQ)({treeId:o,nodeId:String(e.id),isFetching:!0})),await s(parseInt(e.id),{recursive:!0,updateReferences:!1},t)}}),pasteRecursiveUpdatingReferencesTreeContextMenuItem:e=>({label:i("element.tree.paste-recursive-updating-references"),key:cd.N.pasteRecursiveUpdatingReferences,icon:(0,W.jsx)(tL.J,{value:"paste"}),hidden:c(e),onClick:async()=>{a((0,pY.sQ)({treeId:o,nodeId:String(e.id),isFetching:!0})),await s(parseInt(e.id),{recursive:!0,updateReferences:!0},t)}}),pasteOnlyContentsTreeContextMenuItem:e=>({label:i("element.tree.paste-only-contents"),key:cd.N.pasteOnlyContents,icon:(0,W.jsx)(tL.J,{value:"paste"}),hidden:m(e),onClick:async()=>{await d(t,e)}}),isPasteMenuHidden:e=>c(e)&&m(e)}};var p3=n(21439);let p2=e=>{let{t}=(0,eH.useTranslation)(),n=e.node??ur.l,{addFolderTreeContextMenuItem:i}=(0,uz.p)("data-object"),{renameTreeContextMenuItem:r}=(0,di.j)("data-object",(0,dd.eG)("data-object","rename",parseInt(n.id))),{deleteTreeContextMenuItem:a}=(0,dr.R)("data-object",(0,dd.eG)("data-object","delete",parseInt(n.id))),{refreshTreeContextMenuItem:s}=(0,uI.T)("data-object"),{copyTreeContextMenuItem:o,cutTreeContextMenuItem:l,pasteCutContextMenuItem:d,nodeTask:c,storedNode:m}=(0,ux.o)("data-object"),{lockTreeContextMenuItem:u,lockAndPropagateTreeContextMenuItem:p,unlockTreeContextMenuItem:h,unlockAndPropagateTreeContextMenuItem:g,isLockMenuHidden:x}=(0,uO.Z)("data-object"),{unpublishTreeContextMenuItem:j}=p$("data-object"),{pasteAsChildRecursiveTreeContextMenuItem:v,pasteRecursiveUpdatingReferencesTreeContextMenuItem:y,pasteAsChildTreeContextMenuItem:f,pasteOnlyContentsTreeContextMenuItem:w,isPasteMenuHidden:b}=p1({storedNode:m,nodeTask:c}),{addObjectTreeContextMenuItem:C}=(0,pX.x)(),{publishTreeContextMenuItem:k}=(0,p3.K)("data-object"),T=[C(n),i(n),{label:t("element.tree.paste"),key:"paste",icon:(0,W.jsx)(tL.J,{value:"paste"}),hidden:b(n),children:[v(n),y(n),f(n),w(n)]},r(n),o(n),l(n),k(n),j(n),d(parseInt(n.id)),a(n),{label:t("element.tree.context-menu.advanced"),key:"advanced",icon:(0,W.jsx)(tL.J,{value:"more"}),hidden:x(n),children:[{label:t("element.lock"),key:"advanced-lock",icon:(0,W.jsx)(tL.J,{value:"lock"}),hidden:x(n),children:[u(n),p(n),h(n),g(n)]}]},s(n)];return(0,W.jsx)(uN.v,{items:T})};b._.registerModule({onInit:()=>{C.nC.get(H.j["App/ComponentRegistry/ComponentRegistry"]).register({name:mt.O.dataObject.tree.contextMenu.name,component:p2})}});let p6=e=>{let{t}=(0,eH.useTranslation)();return(0,W.jsx)(um,{...e,label:t("data-object.data-object-tree.search",{folderName:e.node.label}),node:e.node,total:e.total})};var p4=n(54658);let p8=uC((u=ur.O,p=(0,G.forwardRef)((e,t)=>{let{ref:n,...i}=e;return(0,W.jsx)(u,{...e,ref:t,wrapNode:t=>(0,W.jsx)(u_,{renderMenu:()=>(0,W.jsx)(p2,{node:i}),children:(0,tD.isUndefined)(e.wrapNode)?t:e.wrapNode(t)})})}),h=(0,G.forwardRef)((e,t)=>{var n;let i=e.metaData.dataObject;return(null==(n=e.metaData)?void 0:n.dataObject)===void 0?(0,W.jsx)(p,{...e}):(0,W.jsx)(up._,{info:{icon:i.icon.value,title:i.key,type:"data-object",data:{...i}},children:(0,W.jsx)(p,{...e,ref:t})})}),g=(0,G.forwardRef)((e,t)=>{let n=e.isLoading??!1,[,{isLoading:i}]=(0,u5.v)({fixedCacheKey:`DATA-OBJECT_ACTION_RENAME_ID_${e.id}`}),[,{isLoading:r}]=(0,uf.um)({fixedCacheKey:`DATA-OBJECT_ACTION_DELETE_ID_${e.id}`}),{isFetching:a,isLoading:s,isDeleting:o}=(0,ua.J)(e.id);return(0,W.jsx)(h,{...e,danger:n||r||o,isLoading:n||!0!==s&&a||i||r||o||s,ref:t})}),(0,G.forwardRef)((e,t)=>{var n;let{move:i}=(0,ux.o)("data-object");if((null==(n=e.metaData)?void 0:n.dataObject)===void 0)return(0,W.jsx)(g,{...e});let r=e.metaData.dataObject;if(!uv(r))return(0,W.jsx)(g,{...e});let a=e=>{let t=e.data;uv(t)&&uj(r)&&i({currentElement:{id:t.id,parentId:t.parentId},targetElement:{id:r.id,parentId:r.parentId}}).catch(()=>{(0,eQ.ZP)(new eQ.aE("Item could not be moved"))})},s=e=>"data-object"===e.type,o=e=>{let t=e.data;return"data-object"===e.type&&uv(t)&&uj(r)};return(0,W.jsx)(g,{...e,ref:t,wrapNode:t=>(0,W.jsx)(ug.b,{isValidContext:s,isValidData:o,onDrop:a,children:(0,tD.isUndefined)(e.wrapNode)?t:e.wrapNode(t)})})}))),p7=e=>{let{id:t=1,showRoot:n=!0}=e,{openDataObject:i}=(0,p4.n)(),{rootNode:r,isLoading:a}=(0,uk.V)(t,n),s=(0,uT.q)().get(mt.O.dataObject.tree.contextMenu.name);if(n&&a)return(0,W.jsx)(td.x,{padding:"small",children:(0,W.jsx)(uh.O,{})});async function o(e){i({config:{id:parseInt(e.id)}})}return(0,W.jsx)(ui.fr,{contextMenu:s,nodeId:t,onSelect:o,renderFilter:p6,renderNode:p8,renderNodeContent:ui.lG.renderNodeContent,renderPager:ud,rootNode:r,showRoot:n})};b._.registerModule({onInit:()=>{C.nC.get(H.j.widgetManager).registerWidget({name:"data-object-tree",component:p7})}}),b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["Document/Editor/EmailTabManager"]);e.register(l5.D9),e.register(uZ),e.register(l5.On),e.register(l5._P),e.register(l5.Hy),e.register(l5.zd)}}),b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["Document/Editor/FolderTabManager"]);e.register(l5.D9),e.register(l5.On),e.register(l5._P),e.register(l5.Hy),e.register(l5.zd)}}),b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["Document/Editor/HardlinkTabManager"]);e.register(l5.D9),e.register(l5.On),e.register(l5.V$),e.register(l5._P),e.register(l5.Hy),e.register(l5.zd)}}),b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["Document/Editor/LinkTabManager"]);e.register(l5.D9),e.register(l5.V$),e.register(l5.On),e.register(l5._P),e.register(l5.Hy),e.register(l5.zd)}});var p5=n(86471),p9=n(23002),he=n(78618),ht=n(3859),hn=n.n(ht);let hi=(e,t,n)=>{if((0,tD.isNull)(e)||(null==t?void 0:t.initializeInIframe)!==!1)return null;let i=e.shadowRoot??e.attachShadow({mode:"open"});i.adoptedStyleSheets=[n];let r=i.querySelector("div")??document.createElement("div");return(0,tD.isNull)(r.parentElement)&&i.appendChild(r),r},hr=e=>{var t,n,i;let r=(null==(n=e.iframeRef.current)||null==(t=n.contentWindow)?void 0:t.editableDefinitions)??[],a=null==(i=e.iframeRef.current)?void 0:i.contentDocument,s=(0,dD.useInjection)(dD.serviceIds["DynamicTypes/DocumentEditableRegistry"]);return(0,W.jsx)(W.Fragment,{children:r.map(t=>{let n=hi((null==a?void 0:a.getElementById(t.id))??null,s.hasDynamicType(t.type)?s.getDynamicType(t.type):void 0,e.styleSheet);return(0,tD.isNull)(n)?null:hn().createPortal((0,W.jsx)(he.k,{editableDefinition:t}),n)})})},ha={key:"edit",label:"edit.label",children:(0,W.jsx)(()=>{let{id:e}=(0,G.useContext)(p5.R),{document:t}=(0,p9.Z)(e),{t:n}=(0,eH.useTranslation)(),i=(0,G.useRef)(null),r=(0,G.useRef)(null),[a,s]=(0,G.useState)(void 0);return(0,G.useEffect)(()=>{if(!0===a)return;let e=setTimeout(()=>{var e,t;let n=null==(e=i.current)?void 0:e.contentWindow,a=null==(t=i.current)?void 0:t.contentDocument;if((0,tD.isNil)(n)||(0,tD.isNil)(a))return;let o=Array.from(document.head.querySelectorAll("style")).map(e=>e.textContent??"").join("\n");(0,tD.isNil)(r.current)||(r.current.replaceSync(o),s(!0))},0);return()=>{clearTimeout(e)}},[a]),(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(cj.h,{onLoad:()=>{var e,t;let n=null==(e=i.current)?void 0:e.contentDocument;if((0,tD.isNil)(null==n?void 0:n.body))return;let a=null==(t=i.current)?void 0:t.contentWindow;(0,tD.isNil)(a)||(r.current=new a.CSSStyleSheet),s(!1)},ref:i,src:`${null==t?void 0:t.fullPath}?pimcore_editmode=true&pimcore_studio=true`,title:`${n("edit.label")}-${e}`}),!(0,tD.isNil)(r.current)&&(0,W.jsx)(hr,{iframeRef:i,styleSheet:r.current})]})},{}),icon:(0,W.jsx)(tL.J,{value:"edit-pen"}),isDetachable:!0};b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["Document/Editor/PageTabManager"]);e.register(ha),e.register(l5.D9),e.register(uZ),e.register(l5.V$),e.register(l5.On),e.register(l5._P),e.register(l5.Hy),e.register(l5.zd)}}),b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["Document/Editor/SnippetTabManager"]);e.register(l5.D9),e.register(uZ),e.register(l5.V$),e.register(l5.On),e.register(l5._P),e.register(l5.Hy),e.register(l5.zd)}});var hs=n(4620);let ho={name:"document-editor",component:e=>(0,W.jsx)(A.OR,{component:A.O8.document.editor.container.name,props:e}),titleComponent:e=>{let{node:t}=e,{document:n}=(0,p9.Z)(t.getConfig().id),{t:i}=(0,eH.useTranslation)(),r=t.getName();return t.getName=()=>(null==n?void 0:n.parentId)===0?i("home"):(null==n?void 0:n.key)??r,(0,W.jsx)(c0.X,{modified:(null==n?void 0:n.modified)??!1,node:t})},isModified:e=>{let t=e.getConfig(),n=(0,hs.yI)(c3.h.getState(),t.id);return(null==n?void 0:n.modified)??!1},getContextProvider:(e,t)=>{let n=e.config;return(0,W.jsx)(p5.p,{id:n.id,children:t})}};var hl=n(60791);let hd=e=>{let{id:t}=e,{isLoading:n,isError:i,document:r,editorType:a}=(0,p9.Z)(t),s=(0,m6.Q)(),{setContext:o,removeContext:l}=(0,hl.L)();return((0,G.useEffect)(()=>()=>{l()},[]),(0,G.useEffect)(()=>(s&&o({id:t}),()=>{s||l()}),[s]),n)?(0,W.jsx)(iH.V,{loading:!0}):i?(0,W.jsx)(iH.V,{padded:!0,children:(0,W.jsx)(cq.b,{message:"Error: Loading of asset failed",type:"error"})}):void 0===r||void 0===a?(0,W.jsx)(W.Fragment,{}):(0,W.jsx)(p5.p,{id:t,children:(0,W.jsx)(ut.S,{renderTabbar:(0,W.jsx)(m8.T,{elementEditorType:a}),renderToolbar:(0,W.jsx)("div",{children:"TODO: add toolbar"})})})};b._.registerModule({onInit:()=>{let e=C.nC.get(H.j["Document/Editor/TypeRegistry"]);e.register({name:"page",tabManagerServiceId:"Document/Editor/PageTabManager"}),e.register({name:"email",tabManagerServiceId:"Document/Editor/EmailTabManager"}),e.register({name:"folder",tabManagerServiceId:"Document/Editor/FolderTabManager"}),e.register({name:"hardlink",tabManagerServiceId:"Document/Editor/HardlinkTabManager"}),e.register({name:"link",tabManagerServiceId:"Document/Editor/LinkTabManager"}),e.register({name:"snippet",tabManagerServiceId:"Document/Editor/SnippetTabManager"}),C.nC.get(H.j["App/ComponentRegistry/ComponentRegistry"]).register({name:A.O8.document.editor.container.name,component:hd}),C.nC.get(H.j.widgetManager).registerWidget(ho)}});let hc=e=>{let{t}=(0,eH.useTranslation)(),n=e.node??ur.l,{addFolderTreeContextMenuItem:i}=(0,uz.p)("document"),{renameTreeContextMenuItem:r}=(0,di.j)("document",(0,dd.eG)("document","rename",parseInt(n.id))),{deleteTreeContextMenuItem:a}=(0,dr.R)("document",(0,dd.eG)("document","delete",parseInt(n.id))),{refreshTreeContextMenuItem:s}=(0,uI.T)("document"),{copyTreeContextMenuItem:o,cutTreeContextMenuItem:l,pasteCutContextMenuItem:d}=(0,ux.o)("document"),{lockTreeContextMenuItem:c,lockAndPropagateTreeContextMenuItem:m,unlockTreeContextMenuItem:u,unlockAndPropagateTreeContextMenuItem:p,isLockMenuHidden:h}=(0,uO.Z)("document"),{unpublishTreeContextMenuItem:g}=p$("document"),{publishTreeContextMenuItem:x}=(0,p3.K)("document"),j=[i(n),r(n),o(n),l(n),x(n),g(n),d(parseInt(n.id)),a(n),{label:t("element.tree.context-menu.advanced"),key:"advanced",icon:(0,W.jsx)(tL.J,{value:"more"}),hidden:h(n),children:[{label:t("element.lock"),key:"advanced-lock",icon:(0,W.jsx)(tL.J,{value:"lock"}),hidden:h(n),children:[c(n),m(n),u(n),p(n)]}]},s(n)];return(0,W.jsx)(uN.v,{items:j})};b._.registerModule({onInit:()=>{C.nC.get(H.j["App/ComponentRegistry/ComponentRegistry"]).register({name:mt.O.document.tree.contextMenu.name,component:hc})}});let hm=e=>{let{t}=(0,eH.useTranslation)();return(0,W.jsx)(um,{...e,label:t("document.document-tree.search",{folderName:e.node.label}),node:e.node,total:e.total})};var hu=n(46235);let hp=uC((x=ur.O,j=(0,G.forwardRef)((e,t)=>{let{ref:n,...i}=e;return(0,W.jsx)(x,{...e,ref:t,wrapNode:t=>(0,W.jsx)(u_,{renderMenu:()=>(0,W.jsx)(hc,{node:i}),children:(0,tD.isUndefined)(e.wrapNode)?t:e.wrapNode(t)})})}),v=(0,G.forwardRef)((e,t)=>{var n;let i=e.metaData.document;return(null==(n=e.metaData)?void 0:n.document)===void 0?(0,W.jsx)(j,{...e}):(0,W.jsx)(up._,{info:{icon:i.icon.value,title:i.key,type:"document",data:{...i}},children:(0,W.jsx)(j,{...e,ref:t})})}),y=(0,G.forwardRef)((e,t)=>{let n=e.isLoading??!1,[,{isLoading:i}]=(0,uf.um)({fixedCacheKey:`DOCUMENT_ACTION_DELETE_ID_${e.id}`}),{isFetching:r,isLoading:a,isDeleting:s}=(0,ua.J)(e.id);return(0,W.jsx)(v,{...e,danger:n||i||s,isLoading:n||!0!==a&&r||i||s||a,ref:t})}),(0,G.forwardRef)((e,t)=>{var n;let{move:i}=(0,ux.o)("document");if((null==(n=e.metaData)?void 0:n.document)===void 0)return(0,W.jsx)(y,{...e});let r=e.metaData.document;if(!uv(r))return(0,W.jsx)(y,{...e});let a=e=>{let t=e.data;uv(t)&&uj(r)&&i({currentElement:{id:t.id,parentId:t.parentId},targetElement:{id:r.id,parentId:r.parentId}}).catch(()=>{(0,eQ.ZP)(new eQ.aE("Item could not be moved"))})},s=e=>"document"===e.type,o=e=>{let t=e.data;return"document"===e.type&&uv(t)&&uj(r)};return(0,W.jsx)(y,{...e,ref:t,wrapNode:t=>(0,W.jsx)(ug.b,{isValidContext:s,isValidData:o,onDrop:a,children:(0,tD.isUndefined)(e.wrapNode)?t:e.wrapNode(t)})})}))),hh=e=>{let{id:t=1,showRoot:n=!0}=e,{openDocument:i}=(0,hu.l)(),{rootNode:r,isLoading:a}=(0,uk.V)(t,n),s=(0,uT.q)().get(mt.O.document.tree.contextMenu.name);if(n&&a)return(0,W.jsx)(td.x,{padding:"small",children:(0,W.jsx)(uh.O,{})});async function o(e){i({config:{id:parseInt(e.id)}})}return(0,W.jsx)(ui.fr,{contextMenu:s,nodeId:t,onSelect:o,renderFilter:hm,renderNode:hp,renderNodeContent:ui.lG.renderNodeContent,renderPager:ud,rootNode:r,showRoot:n})};function hg(){return(0,W.jsx)("div",{children:"Missing context!"})}b._.registerModule({onInit:()=>{C.nC.get(H.j.widgetManager).registerWidget({name:"document-tree",component:hh})}});var hx=n(57732);function hj(e){let{dataObject:t}=(0,ij.H)(e.id),{t:n}=(0,eH.useTranslation)();return(null==t?void 0:t.modified)!==!0?(0,W.jsx)(W.Fragment,{}):(0,W.jsx)(pZ.u,{placement:"bottomLeft",title:(0,W.jsxs)(W.Fragment,{children:[n("detached-tab.draft-tooltip"),(0,W.jsx)(td.x,{padding:{top:"normal"},children:n("detached-tab.draft-tooltip-addon")})]}),children:(0,W.jsx)(td.x,{padding:{x:"extra-small"},children:(0,W.jsxs)(tf.k,{align:"flex-start",gap:"mini",children:[(0,W.jsx)(tL.J,{value:"draft"}),(0,W.jsx)(rZ.x,{children:"Draft"})]})})})}function hv(e){let{context:t,tabKey:n}=e,{getOpenedMainWidget:i}=(0,rT.A)(),{editorType:r,isLoading:a}=(0,ct.q)(t.config.id,t.type);if(a)return(0,W.jsx)(iH.V,{loading:!0});if(void 0===r)return(0,W.jsx)(hg,{});let s=i(),o=C.nC.get(r.tabManagerServiceId).getTab(n),l=C.nC.get(H.j.widgetManager);if(void 0===o||void 0===s)return(0,W.jsx)(hg,{});let d=l.getWidget((null==s?void 0:s.getComponent())??"");if((null==d?void 0:d.getContextProvider)===void 0)return(0,W.jsx)(hg,{});let c=d.getContextProvider(t,o.children);return void 0===c?(0,W.jsx)(hg,{}):(0,W.jsx)(iW.D,{renderTopBar:(0,W.jsxs)(iF.o,{align:"center",position:"top",size:"small",theme:"secondary",children:[(0,W.jsx)(hx.U,{elementType:t.type,id:t.config.id}),"data-object"===t.type&&(0,W.jsx)(hj,{id:t.config.id})]}),children:c})}var hy=n(75796);let hf=e=>{let{tabKey:t}=e,{context:n}=(0,hy.Q)();return void 0===n?(0,W.jsx)(hg,{}):(0,W.jsx)(hv,{context:n,tabKey:t},n.type)};b._.registerModule({onInit:()=>{C.nC.get(H.j.widgetManager).registerWidget({name:"detachable-tab",component:hf})}});var hw=n(29161),hb=n(22096);let hC=(e,t,n)=>{let i=[];return t.items.forEach(t=>{i.push({id:t.id.toString(),elementType:rV.a.dataObject,icon:(0,dd.Ff)(t,{type:"name",value:"data-object"}),label:t.key,type:t.type,parentId:t.parentId.toString(),hasChildren:t.hasChildren,locked:t.locked,isLocked:t.isLocked,isPublished:t.published,metaData:{dataObject:t},permissions:t.permissions??[],internalKey:`${e.internalKey}-${t.id}`})}),{nodes:i,total:t.totalItems??n}},hk=()=>{let{pageSize:e,treeFilterArgs:t}=ul(),n=(0,dD.useAppDispatch)();async function i(t,i){let r=n(uG.hi.endpoints.dataObjectGetTree.initiate(i,{forceRefetch:!0}));return await r.then(n=>{let{data:i,isError:r,error:a}=n;return r?void(0,eQ.ZP)(new eQ.MS(a)):r||(0,tD.isUndefined)(i)?void 0:hC(t,i,e)}).catch(()=>void 0)}return{fetchRoot:async function(e){return await i({id:"0",internalKey:"0"},{pageSize:1,page:1,excludeFolders:!1,pathIncludeParent:!0,pathIncludeDescendants:!1,pqlQuery:1===e?void 0:"id = "+e})},fetchChildren:async function(n,r){return await i(n,{parentId:parseInt(n.id),pageSize:e,page:r.page,idSearchTerm:r.searchTerm,...t})}}},hT=(e,t,n)=>{let i=[];return t.items.forEach(t=>{i.push({id:t.id.toString(),elementType:rV.a.asset,icon:(0,dd.Ff)(t,{type:"name",value:"unknown"}),label:t.filename,type:t.type,parentId:t.parentId.toString(),hasChildren:t.hasChildren,locked:t.locked,isLocked:t.isLocked,metaData:{asset:t},permissions:t.permissions??[],internalKey:`${e.internalKey}-${t.id}`})}),{nodes:i,total:t.totalItems??n}},hD=()=>{let{pageSize:e,treeFilterArgs:t}=ul(),n=(0,dD.useAppDispatch)();async function i(t,i){let r=n(l9.api.endpoints.assetGetTree.initiate(i,{forceRefetch:!0}));return await r.then(n=>{let{data:i,isError:r,error:a}=n;return r?void(0,eQ.ZP)(new eQ.MS(a)):r||(0,tD.isUndefined)(i)?void 0:hT(t,i,e)}).catch(()=>void 0)}return{fetchRoot:async function(e){return await i({id:"0",internalKey:"0"},{pageSize:1,page:1,excludeFolders:!1,pathIncludeParent:!0,pathIncludeDescendants:!1,pqlQuery:1===e?void 0:"id = "+e})},fetchChildren:async function(n,r){return await i(n,{parentId:parseInt(n.id),pageSize:e,page:r.page,idSearchTerm:r.searchTerm,...t})}}};var hS=n(43544);let hM=(e,t,n)=>{let i=[];return t.items.forEach(t=>{i.push({id:t.id.toString(),elementType:rV.a.document,icon:(0,dd.Ff)(t,{type:"name",value:"document"}),label:t.key,type:t.type,parentId:t.parentId.toString(),hasChildren:t.hasChildren,locked:t.locked,isLocked:t.isLocked,isPublished:t.published,metaData:{document:t},permissions:t.permissions??[],internalKey:`${e.internalKey}-${t.id}`})}),{nodes:i,total:t.totalItems??n}},hL=()=>{let{pageSize:e,treeFilterArgs:t}=ul(),n=(0,dD.useAppDispatch)();async function i(t,i){let r=n(hS.hi.endpoints.documentGetTree.initiate(i,{forceRefetch:!0}));return await r.then(n=>{let{data:i,isError:r,error:a}=n;return r?void(0,eQ.ZP)(new eQ.MS(a)):r||(0,tD.isUndefined)(i)?void 0:hM(t,i,e)}).catch(()=>void 0)}return{fetchRoot:async function(e){return await i({id:"0",internalKey:"0"},{pageSize:1,page:1,excludeFolders:!1,pathIncludeParent:!0,pathIncludeDescendants:!1,pqlQuery:1===e?void 0:"id = "+e})},fetchChildren:async function(n,r){return await i(n,{parentId:parseInt(n.id),pageSize:e,page:r.page,idSearchTerm:r.searchTerm,...t})}}};var hI=n(34672);let hE=e=>{let{id:t,elementType:n,rootFolderId:i,classes:r,pql:a,pageSize:s,contextPermissions:o,showRoot:l=!1}=e,{asset_tree_paging_limit:d,object_tree_paging_limit:c}=(0,dH.r)(),m=s??(n===rV.a.asset?d:c);return(0,W.jsx)(hb.s,{treeId:t,children:(0,W.jsx)(hw.W,{permissions:{...o},children:(0,W.jsxs)(uo,{classIds:r,pageSize:m,pqlQuery:a??void 0,children:[n===rV.a.asset&&(0,W.jsx)(hI.Q,{nodeApiHook:hD,children:(0,W.jsx)(uW,{id:i??1,showRoot:l})}),n===rV.a.dataObject&&(0,W.jsx)(hI.Q,{nodeApiHook:hk,children:(0,W.jsx)(p7,{id:i??1,showRoot:l})}),n===rV.a.document&&(0,W.jsx)(hI.Q,{nodeApiHook:hL,children:(0,W.jsx)(hh,{id:i??1,showRoot:l})})]})})})};b._.registerModule({onInit:()=>{C.nC.get(H.j.widgetManager).registerWidget({name:"element_tree",component:hE})}});var h_=n(18635),hz=n(54275),hO=n(83082);let hP=e=>{let{id:t,topics:n,status:i,action:r}=e,{open:a,close:s}=(0,hz.L)({topics:n,messageHandler:function(e){let n=JSON.parse(e.data);n.jobRunId===m.current&&(void 0!==n.progress&&l(n.progress),void 0!==n.status&&("finished"===n.status&&(d(t,{status:dK.B.SUCCESS}),s()),"failed"===n.status&&(d(t,{status:dK.B.FAILED}),s())))},openHandler:function(){r().then(e=>{m.current=e}).catch(console.error)}}),[o,l]=(0,G.useState)(0),{updateJob:d,removeJob:c}=(0,dJ.C)(),m=(0,G.useRef)(),{t:u}=(0,eH.useTranslation)();return(0,G.useEffect)(()=>{dK.B.QUEUED===i&&(d(t,{status:dK.B.RUNNING}),a())},[e.status]),(0,W.jsx)(hO.R,{failureButtonActions:[{label:u("jobs.job.button-retry"),handler:function(){d(t,{status:dK.B.QUEUED})}},{label:u("jobs.job.button-hide"),handler:()=>{c(t)}}],successButtonActions:[{label:u("jobs.job.button-download"),handler:function(){let n=e.config.downloadUrl,i=document.createElement("a");i.href=n.replace("{jobRunId}",m.current.toString()),i.download="",i.click(),c(t)}}],...e,progress:o})},hV=e=>{let{id:t,topics:n,status:i,action:r}=e,[a,s]=(0,G.useState)(0),{updateJob:o,removeJob:l}=(0,dJ.C)(),d=(0,G.useRef)(),{t:c}=(0,eH.useTranslation)(),[m,u]=(0,G.useState)(void 0),p=(0,dD.useAppDispatch)(),h=e=>{void 0!==e.progress&&s(e.progress)},g=()=>{o(t,{status:dK.B.SUCCESS})},x=()=>{o(t,{status:dK.B.FAILED})},j=e=>{if(void 0!==e.status){if("finished"===e.status&&void 0!==e.messages){let t=e.messages;void 0!==t.jobRunChildId&&(d.current=t.jobRunChildId,u(2),s(0)),void 0===t.jobRunChildId&&(g(),y())}"finished_with_errors"===e.status&&(g(),y()),"failed"===e.status&&(x(),y())}},{open:v,close:y}=(0,hz.L)({topics:n,messageHandler:e=>{let t=JSON.parse(e.data);t.jobRunId===d.current&&(h(t),j(t))},openHandler:()=>{r().then(e=>{d.current=e}).catch(()=>{l(t)})}});(0,G.useEffect)(()=>{dK.B.QUEUED===i&&v(),dK.B.RUNNING===i&&u(1),dK.B.SUCCESS===i&&(u(void 0),p((0,pY.D9)({nodeId:e.config.parentFolder,elementType:"asset"})))},[e.status]);let f=(0,tD.isUndefined)(m)?e.title:c(`jobs.zip-upload-job.step${m}.title`);return(0,W.jsx)(hO.R,{failureButtonActions:[{label:c("jobs.job.button-hide"),handler:()=>{l(t)}}],successButtonActions:[{label:c("jobs.job.button-hide"),handler:()=>{l(t)}}],...e,progress:a,step:m,title:f,totalSteps:2})};var hA=n(35985);let hB=e=>{let{id:t,topics:n,status:i,action:r,refreshGrid:a}=e,[s,o]=(0,G.useState)(0),l=(0,G.useRef)(),{t:d}=(0,eH.useTranslation)(),{open:c,close:m}=(0,hz.L)({topics:n,messageHandler:function(n){let i=JSON.parse(n.data);i.jobRunId===l.current&&(void 0!==i.progress&&o(i.progress),void 0!==i.status&&("finished"===i.status&&(u(t,{status:dK.B.SUCCESS}),m(),hA.Y.publish({identifier:{type:"asset:listing:refresh",id:e.config.assetContextId}})),"failed"===i.status&&(u(t,{status:dK.B.FAILED}),m())))},openHandler:function(){r().then(e=>{l.current=e}).catch(console.error)}}),{updateJob:u,removeJob:p}=(0,dJ.C)();(0,G.useEffect)(()=>{dK.B.QUEUED===i&&(u(t,{status:dK.B.RUNNING}),c())},[]);let h=async()=>{await a()};return(0,W.jsx)(hO.R,{failureButtonActions:[{label:d("jobs.job.button-retry"),handler:()=>{u(t,{status:dK.B.QUEUED}),c()}},{label:d("jobs.job.button-hide"),handler:()=>{p(t)}}],successButtonActions:[{label:d("jobs.job.button-reload"),handler:async()=>{await h()}},{label:d("jobs.job.button-hide"),handler:()=>{p(t)}}],...e,progress:s})},hR=e=>{let{id:t,topics:n,status:i,action:r}=e,{open:a,close:s}=(0,hz.L)({topics:n,messageHandler:function(n){let i=JSON.parse(n.data);i.jobRunId===m.current&&(void 0!==i.progress&&l(i.progress),void 0!==i.status&&(("finished"===i.status||"finished_with_errors"===i.status||"failed"===i.status)&&p((0,pY.D9)({nodeId:e.config.parentFolder,elementType:e.config.elementType})),"finished"===i.status&&(d(t,{status:dK.B.SUCCESS}),s()),"finished_with_errors"===i.status&&(d(t,{status:dK.B.FINISHED_WITH_ERRORS}),s()),"failed"===i.status&&(d(t,{status:dK.B.FAILED}),s())))},openHandler:function(){r().then(e=>{m.current=e}).catch(console.error)}}),[o,l]=(0,G.useState)(0),{updateJob:d,removeJob:c}=(0,dJ.C)(),m=(0,G.useRef)(),{t:u}=(0,eH.useTranslation)(),p=(0,dD.useAppDispatch)();return(0,G.useEffect)(()=>{dK.B.QUEUED===i&&(d(t,{status:dK.B.RUNNING}),a())},[e.status]),(0,W.jsx)(hO.R,{failureButtonActions:[{label:u("jobs.job.button-hide"),handler:()=>{c(t)}}],finishedWithErrorsButtonActions:[{label:u("jobs.job.button-hide"),handler:()=>{c(t)}}],successButtonActions:[{label:u("jobs.job.button-hide"),handler:()=>{c(t)}}],...e,progress:o})},hN=e=>{let{id:t,topics:n,status:i,action:r}=e,{open:a,close:s}=(0,hz.L)({topics:n,messageHandler:function(n){let i=JSON.parse(n.data);i.jobRunId===m.current&&(void 0!==i.progress&&l(i.progress),void 0!==i.status&&(("finished"===i.status||"finished_with_errors"===i.status||"failed"===i.status)&&p((0,pY.D9)({nodeId:e.config.parentFolder,elementType:e.config.elementType})),"finished"===i.status&&(d(t,{status:dK.B.SUCCESS}),s()),"finished_with_errors"===i.status&&(d(t,{status:dK.B.FINISHED_WITH_ERRORS}),s()),"failed"===i.status&&(d(t,{status:dK.B.FAILED}),s())))},openHandler:function(){r().then(e=>{m.current=e}).catch(console.error)}}),[o,l]=(0,G.useState)(0),{updateJob:d,removeJob:c}=(0,dJ.C)(),m=(0,G.useRef)(),{t:u}=(0,eH.useTranslation)(),p=(0,dD.useAppDispatch)();return(0,G.useEffect)(()=>{dK.B.QUEUED===i&&(d(t,{status:dK.B.RUNNING}),a())},[e.status]),(0,W.jsx)(hO.R,{failureButtonActions:[{label:u("jobs.job.button-hide"),handler:()=>{c(t)}}],finishedWithErrorsButtonActions:[{label:u("jobs.job.button-ignore-and-reload"),handler:()=>{c(t)}}],successButtonActions:[{label:u("jobs.job.button-hide"),handler:()=>{c(t)}}],...e,progress:o})},hF=e=>{let{id:t,topics:n,status:i,action:r}=e,{open:a,close:s}=(0,hz.L)({topics:n,messageHandler:function(e){let n=JSON.parse(e.data);n.jobRunId===m.current&&(void 0!==n.progress&&l(n.progress),void 0!==n.status&&("finished"===n.status&&(d(t,{status:dK.B.SUCCESS}),s()),"finished_with_errors"===n.status&&(d(t,{status:dK.B.SUCCESS}),s()),"failed"===n.status&&(d(t,{status:dK.B.FAILED}),s())))},openHandler:function(){r().then(e=>{m.current=e}).catch(console.error)}}),[o,l]=(0,G.useState)(0),{updateJob:d,removeJob:c}=(0,dJ.C)(),m=(0,G.useRef)(),{t:u}=(0,eH.useTranslation)();return(0,G.useEffect)(()=>{dK.B.QUEUED===i&&(d(t,{status:dK.B.RUNNING}),a())},[e.status]),(0,W.jsx)(hO.R,{failureButtonActions:[{label:u("jobs.job.button-hide"),handler:()=>{c(t)}}],successButtonActions:[{label:u("jobs.job.button-hide"),handler:()=>{c(t)}}],...e,progress:o})};b._.registerModule({onInit(){let e=C.nC.get(H.j["ExecutionEngine/JobComponentRegistry"]);e.registerComponent("default",h_.v),e.registerComponent("download",hP),e.registerComponent("batch-edit",hB),e.registerComponent("zip-upload",hV),e.registerComponent("delete",hR),e.registerComponent("clone",hN),e.registerComponent("tag-assign",hF)}}),b._.registerModule({onInit(){let e=C.nC.get(H.j["DynamicTypes/FieldFilterRegistry"]);e.registerDynamicType(C.nC.get(H.j["DynamicTypes/FieldFilter/DataObjectAdapter"])),e.registerDynamicType(C.nC.get(H.j["DynamicTypes/FieldFilter/DataObjectObjectBrick"])),e.registerDynamicType(C.nC.get(H.j["DynamicTypes/FieldFilter/Text"])),e.registerDynamicType(C.nC.get(H.j["DynamicTypes/FieldFilter/Textarea"])),e.registerDynamicType(C.nC.get(H.j["DynamicTypes/FieldFilter/Number"])),e.registerDynamicType(C.nC.get(H.j["DynamicTypes/FieldFilter/Select"])),e.registerDynamicType(C.nC.get(H.j["DynamicTypes/FieldFilter/Datetime"])),e.registerDynamicType(C.nC.get(H.j["DynamicTypes/FieldFilter/Checkbox"]));let t=C.nC.get(H.j["DynamicTypes/BatchEditRegistry"]);t.registerDynamicType(C.nC.get(H.j["DynamicTypes/BatchEdit/Text"])),t.registerDynamicType(C.nC.get(H.j["DynamicTypes/BatchEdit/TextArea"])),t.registerDynamicType(C.nC.get(H.j["DynamicTypes/BatchEdit/Datetime"])),t.registerDynamicType(C.nC.get(H.j["DynamicTypes/BatchEdit/Select"])),t.registerDynamicType(C.nC.get(H.j["DynamicTypes/BatchEdit/Checkbox"])),t.registerDynamicType(C.nC.get(H.j["DynamicTypes/BatchEdit/ElementDropzone"])),t.registerDynamicType(C.nC.get(H.j["DynamicTypes/BatchEdit/DataObjectAdapter"])),t.registerDynamicType(C.nC.get(H.j["DynamicTypes/BatchEdit/DataObjectObjectBrick"])),C.nC.get(H.j["DynamicTypes/ListingRegistry"]).registerDynamicType(C.nC.get(H.j["DynamicTypes/Listing/AssetLink"]));let n=C.nC.get(H.j["DynamicTypes/GridCellRegistry"]);n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/Text"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/Textarea"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/Number"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/Select"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/MultiSelect"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/Boolean"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/Checkbox"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/Date"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/Time"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/DateTime"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/AssetLink"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/ObjectLink"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/DocumentLink"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/OpenElement"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/AssetPreview"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/AssetActions"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/DataObjectActions"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/DependencyTypeIcon"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/AssetCustomMetadataIcon"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/AssetCustomMetadataValue"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/PropertyIcon"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/PropertyValue"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/ScheduleActionsSelect"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/VersionsIdSelect"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/AssetVersionPreviewFieldLabel"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/Asset"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/Object"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/Document"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/Element"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/LanguageSelect"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/Translate"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/DataObjectAdapter"])),n.registerDynamicType(C.nC.get(H.j["DynamicTypes/GridCell/DataObjectObjectBrick"]));let i=C.nC.get(H.j["DynamicTypes/MetadataRegistry"]);i.registerDynamicType(C.nC.get(H.j["DynamicTypes/Metadata/Asset"])),i.registerDynamicType(C.nC.get(H.j["DynamicTypes/Metadata/Checkbox"])),i.registerDynamicType(C.nC.get(H.j["DynamicTypes/Metadata/Date"])),i.registerDynamicType(C.nC.get(H.j["DynamicTypes/Metadata/Document"])),i.registerDynamicType(C.nC.get(H.j["DynamicTypes/Metadata/Input"])),i.registerDynamicType(C.nC.get(H.j["DynamicTypes/Metadata/Object"])),i.registerDynamicType(C.nC.get(H.j["DynamicTypes/Metadata/Select"])),i.registerDynamicType(C.nC.get(H.j["DynamicTypes/Metadata/Textarea"]));let r=C.nC.get(H.j["DynamicTypes/ObjectLayoutRegistry"]);r.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectLayout/Panel"])),r.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectLayout/Tabpanel"])),r.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectLayout/Accordion"])),r.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectLayout/Region"])),r.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectLayout/Text"])),r.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectLayout/Fieldset"])),r.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectLayout/FieldContainer"]));let a=C.nC.get(H.j["DynamicTypes/ObjectDataRegistry"]);a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Input"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Textarea"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Wysiwyg"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Password"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/InputQuantityValue"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Select"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/MultiSelect"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Language"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/LanguageMultiSelect"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Country"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/CountryMultiSelect"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/User"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/BooleanSelect"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Numeric"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/NumericRange"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Slider"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/QuantityValue"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/QuantityValueRange"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Consent"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Firstname"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Lastname"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Email"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Gender"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/RgbaColor"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/EncryptedField"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/CalculatedValue"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Checkbox"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Link"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/UrlSlug"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Date"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Datetime"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/DateRange"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Time"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/ExternalImage"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Image"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Video"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/HotspotImage"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/ImageGallery"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/GeoPoint"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/GeoBounds"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/GeoPolygon"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/GeoPolyLine"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/ManyToOneRelation"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/ManyToManyRelation"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/ManyToManyObjectRelation"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/AdvancedManyToManyObjectRelation"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/AdvancedManyToManyRelation"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/ReverseObjectRelation"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Table"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/StructuredTable"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/Block"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/LocalizedFields"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/FieldCollection"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/ObjectBrick"])),a.registerDynamicType(C.nC.get(H.j["DynamicTypes/ObjectData/ClassificationStore"]));let s=C.nC.get(H.j["DynamicTypes/DocumentEditableRegistry"]);s.registerDynamicType(C.nC.get(H.j["DynamicTypes/DocumentEditable/Input"])),s.registerDynamicType(C.nC.get(H.j["DynamicTypes/DocumentEditable/Numeric"])),s.registerDynamicType(C.nC.get(H.j["DynamicTypes/DocumentEditable/Relation"])),s.registerDynamicType(C.nC.get(H.j["DynamicTypes/DocumentEditable/Wysiwyg"]));let o=C.nC.get(H.j["DynamicTypes/AssetRegistry"]);o.registerDynamicType(C.nC.get(H.j["DynamicTypes/Asset/Archive"])),o.registerDynamicType(C.nC.get(H.j["DynamicTypes/Asset/Audio"])),o.registerDynamicType(C.nC.get(H.j["DynamicTypes/Asset/Document"])),o.registerDynamicType(C.nC.get(H.j["DynamicTypes/Asset/Folder"])),o.registerDynamicType(C.nC.get(H.j["DynamicTypes/Asset/Image"])),o.registerDynamicType(C.nC.get(H.j["DynamicTypes/Asset/Text"])),o.registerDynamicType(C.nC.get(H.j["DynamicTypes/Asset/Unknown"])),o.registerDynamicType(C.nC.get(H.j["DynamicTypes/Asset/Video"]));let l=C.nC.get(H.j["DynamicTypes/ObjectRegistry"]);l.registerDynamicType(C.nC.get(H.j["DynamicTypes/Object/Folder"])),l.registerDynamicType(C.nC.get(H.j["DynamicTypes/Object/Object"])),l.registerDynamicType(C.nC.get(H.j["DynamicTypes/Object/Variant"]))}});var hH=n(56277),hW=n(39521),hG=n(38119);let h$=e=>{let{actions:t,onReload:n,onAddItem:i,onAddFolder:r}=e,{t:a}=(0,eH.useTranslation)(),s=t??[{key:"1",label:a("tree.actions.user"),icon:(0,W.jsx)(tL.J,{value:"add-user"}),onClick:i??(()=>{})},{key:"2",label:a("tree.actions.folder"),icon:(0,W.jsx)(tL.J,{value:"folder-plus"}),onClick:r??(()=>{})}];return(0,W.jsxs)(iF.o,{children:[(0,W.jsx)(iP.h,{icon:{value:"refresh"},onClick:n,children:a("toolbar.reload")}),(0,W.jsx)(dI.L,{menu:{items:s},trigger:["click"],children:(0,W.jsx)(dL.P,{children:(0,W.jsxs)(tf.k,{align:"center",children:[(0,W.jsx)(tL.J,{options:{width:18,height:18},value:"new"})," ",a("toolbar.new")]})})})]})},hU=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{treeContainer:n` - margin-top: ${t.paddingSM}px; - - .simple-tree--search { - margin: ${t.paddingSM}px ${t.paddingSM}px ${t.paddingXS}px; - } - - :has(.simple-tree--search) { - margin-top: 0; - } - `}},{hashPriority:"low"});var hq=n(16019);let hJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"};var hZ=n(64632),hK=G.forwardRef(function(e,t){return G.createElement(hZ.Z,(0,hq.Z)({},e,{ref:t,icon:hJ}))}),hQ=n(4098);let hX=e=>{let{loading:t=!0,...n}=e,{t:i}=(0,eH.useTranslation)(),{openUser:r,searchUserByText:a}=(0,hW.r)(),[s,o]=(0,G.useState)([]),[l,d]=(0,G.useState)(""),{Text:c}=q.Typography,{styles:m}=(0,hQ.y)();return(0,W.jsx)(q.AutoComplete,{className:"simple-tree--search",onSearch:e=>{d(e),a(l).then(e=>{o(e.items.map(e=>({value:e.id.toString(),label:(0,W.jsxs)(q.Row,{gutter:8,wrap:!1,children:[(0,W.jsx)(q.Col,{flex:"none",children:(0,W.jsx)(q.Avatar,{icon:(0,W.jsx)(hK,{}),size:26})}),(0,W.jsxs)(q.Col,{flex:"auto",children:[(0,W.jsx)("div",{children:e.username}),(0,W.jsxs)(c,{strong:!0,children:[i("user-management.search.id"),": "]})," ",e.id]})]})})))}).catch(e=>{(0,eQ.ZP)(new eQ.aE("An error occured while searching for a user"))})},onSelect:(e,t)=>{r(Number(e)),d("")},options:s,value:l,children:(0,W.jsx)(q.Input.Search,{allowClear:{clearIcon:(0,W.jsx)(tL.J,{className:m.closeIcon,value:"close"})},className:m.searchWithoutAddon,placeholder:i("user-management.search"),prefix:(0,W.jsx)(tL.J,{className:m.searchIcon,options:{width:12,height:12},value:"search"})})})},hY=(e,t)=>{for(let n of e){if(parseInt(n.key)===parseInt(t))return n;if(void 0!==n.children&&null!==n.children){let e=hY(n.children,t);if(void 0!==e)return e}}},h0=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;for(let i of e){if(parseInt(i.key)===parseInt(t))return n;if(void 0!==i.children&&null!==i.children){let e=h0(i.children,t,i);if(null!==e)return e}}return null},h1=e=>{let{expandedKeys:t,treeData:n,onLoadTreeData:i,onReloadTree:r,onSetExpandedKeys:a,onUpdateTreeData:s,...o}=e,{t:l}=(0,eH.useTranslation)(),{openUser:d,moveUserById:c,addNewUser:m,addNewFolder:u,removeUser:p,cloneUser:h,removeFolder:g}=(0,hW.r)(),{styles:x}=hU(),j=[x.treeContainer],v=(0,hG.U8)(),y=e=>{v.input({title:l("user-management.add-user"),label:l("user-management.add-user.label"),onOk:async t=>{await m({parentId:e,name:t}),r([e])}})},f=e=>{v.input({title:l("user-management.add-folder"),label:l("user-management.add-folder.label"),onOk:async t=>{await u({parentId:e,name:t}),r([e])}})};return(0,W.jsx)(iW.D,{renderToolbar:(0,W.jsx)(h$,{onAddFolder:()=>{f(0)},onAddItem:()=>{y(0)},onReload:()=>{r([0])}}),children:(0,W.jsxs)(iH.V,{className:j.join(", "),children:[(0,W.jsx)(hX,{}),(0,W.jsx)(hH._,{defaultExpandedKeys:t,draggable:!0,expandedKeys:t,onActionsClick:(e,t)=>{switch("string"==typeof e&&(e=parseInt(e)),t){case"add-folder":f(e);break;case"add-user":y(e);break;case"clone-user":v.input({title:l("user-management.clone-user"),label:l("user-management.clone-user.label"),onOk:async t=>{var i;let a=null==(i=h0(n,e))?void 0:i.key;void 0!==await h({id:e,name:t})&&r([a])}});break;case"remove-user":v.confirm({title:l("user-management.remove-user"),content:l("user-management.remove-user.text"),onOk:async()=>{var t;await p({id:Number(e)}),r([null==(t=h0(n,e))?void 0:t.key])}});break;case"remove-folder":v.confirm({title:l("user-management.remove-folder"),content:l("user-management.remove-folder.text"),onOk:async()=>{var t;await g({id:Number(e)}),r([null==(t=h0(n,e))?void 0:t.key])}})}},onDragAndDrop:async e=>{if(void 0!==await c({id:Number(e.dragNode.key),parentId:Number(e.node.key)})){var t;r([null==(t=h0(n,e.dragNode.key))?void 0:t.key,e.node.key])}},onExpand:e=>{a(e)},onLoadData:i,onSelected:e=>{var t;(null==(t=hY(n,e))?void 0:t.selectable)===!0&&d(Number(e))},treeData:n})]})})};var h3=n(20810),h2=n(21375);let h6=(0,G.createContext)({id:-1}),h4=e=>{let{id:t,children:n}=e;return(0,G.useMemo)(()=>(0,W.jsx)(h6.Provider,{value:{id:t},children:n}),[t])},h8=()=>{let{id:e}=(0,G.useContext)(h6);return{id:e}};var h7=n(34365);let h5=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{avatar:n` - background: ${t.colorPrimary}; - } - `}},{hashPriority:"low"}),h9=e=>{let{id:t,...n}=e,{t:i}=(0,eH.useTranslation)(),{styles:r}=h5(),a=["avatar--default",r.avatar],{user:s}=(0,h2.O)(t),{uploadUserAvatar:o,fetchUserImageById:l}=(0,hW.r)(),[d,c]=$().useState((null==s?void 0:s.image)??null),[m,u]=$().useState((null==s?void 0:s.hasImage)===!0&&null===d),p=()=>{u(!0),l({id:t}).then(e=>{c(e.data),u(!1)}).catch(e=>{u(!1),console.log(e)})};return(0,G.useEffect)(()=>{(null==s?void 0:s.hasImage)===!0&&null===d&&p()},[t]),(0,W.jsx)(h7.Z,{title:i("user-management.settings.avatar"),children:(0,W.jsxs)(q.Flex,{gap:"middle",vertical:!0,children:[m?(0,W.jsx)(q.Skeleton.Avatar,{active:!0,size:64}):(0,W.jsx)(q.Avatar,{className:a.join(" "),icon:(0,W.jsx)(hK,{}),size:64,src:d}),(0,W.jsx)("div",{children:(0,W.jsx)(q.Upload,{customRequest:async e=>{let{file:n}=e;await o({id:t,file:n}),p()},headers:{"Content-Type":"multipart/form-data"},name:"userImage",showUploadList:!1,children:(0,W.jsx)(il.z,{type:"default",children:i("user-management.settings.upload-avatar")})})})]})})},ge=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20,t="abcdefghijklmnopqrstuvwxyz0123456789",n="",i=new Uint32Array(e);window.crypto.getRandomValues(i);for(let r=0;r{let t={default:[],bundles:[]};return e.forEach(e=>{null!==e.category&&0!==e.category.length?t.bundles.push(e):t.default.push(e)}),t},gn=e=>{let{isDisabled:t,...n}=e,{t:i}=(0,eH.useTranslation)(),{Text:r}=q.Typography,a=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:i("user-management.admin")}),children:(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(q.Form.Item,{name:"admin",children:(0,W.jsx)(mh.r,{disabled:t,labelRight:i("user-management.admin")})}),(0,W.jsx)(r,{disabled:!0,children:i("user-management.admin.info")}),(0,W.jsx)("div",{className:"m-t-normal",children:(0,W.jsx)(il.z,{disabled:t,onClick:()=>{console.log("todo login")},type:"default",children:i("user-management.admin.login")})})]})}];return(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,items:a,size:"small"})};var gi=n(40768);let gr=e=>{let{isAdmin:t,...n}=e,{t:i}=(0,eH.useTranslation)(),{availableAdminLanguages:r}=(0,dH.r)(),[a,s]=(0,G.useState)([]),[o,l]=(0,G.useState)([]),{getRoleCollection:d}=(0,gi.d)(),{getPerspectiveConfigCollection:c}=(0,rL.o)();(0,G.useEffect)(()=>{0===o.length&&c().then(e=>{void 0!==e&&l(e.items.map(e=>({value:e.id,label:e.name})))}).catch(e=>{console.error("Error fetching perspective config collection:",e)}),0===a.length&&d().then(e=>{void 0!==e&&s(e.items.map(e=>({value:e.id,label:e.name})))}).catch(e=>{console.error("Error fetching role collection:",e)})},[]);let m=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:i("user-management.customisation")}),children:(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(q.Form.Item,{label:i("user-management.firstname"),name:"firstname",children:(0,W.jsx)(q.Input,{})}),(0,W.jsx)(q.Form.Item,{label:i("user-management.lastname"),name:"lastname",children:(0,W.jsx)(q.Input,{})}),(0,W.jsx)(q.Form.Item,{label:i("user-management.email"),name:"email",children:(0,W.jsx)(q.Input,{type:"email"})}),(0,W.jsx)(q.Form.Item,{label:i("user-management.language"),name:"language",children:(0,W.jsx)(n_.P,{options:r.map(e=>({value:e.language,label:e.display})),placeholder:i("user-management.language")})}),!1===t?(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(q.Form.Item,{label:i("user-management.roles"),name:"roles",children:(0,W.jsx)(n_.P,{mode:"multiple",options:a,placeholder:i("user-management.roles")})}),(0,W.jsx)(q.Form.Item,{label:i("user-management.perspectives"),name:"perspectives",children:(0,W.jsx)(n_.P,{mode:"multiple",options:o,placeholder:i("user-management.perspectives")})})]}):null,(0,W.jsx)(q.Form.Item,{label:"TODO "+i("user-management.dateTime"),name:"dateTime",children:(0,W.jsx)(n_.P,{options:r.map(e=>({value:e.language,label:e.display})),placeholder:i("user-management.dateTime")})}),(0,W.jsx)(q.Form.Item,{name:"welcomeScreen",children:(0,W.jsx)(mh.r,{labelRight:i("user-management.welcomeScreen")})}),(0,W.jsx)(q.Form.Item,{name:"memorizeTabs",children:(0,W.jsx)(mh.r,{labelRight:i("user-management.memorizeTabs")})}),(0,W.jsx)(q.Form.Item,{name:"allowDirtyClose",children:(0,W.jsx)(mh.r,{labelRight:i("user-management.allowDirtyClose")})}),(0,W.jsx)(q.Form.Item,{name:"closeWarning",children:(0,W.jsx)(mh.r,{labelRight:i("user-management.closeWarning")})})]})}];return(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,items:m,size:"small"})},ga=e=>{let{permissions:t,...n}=e,{t:i}=(0,eH.useTranslation)(),r=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:i("user-management.permissions.default")}),children:(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(q.Form.Item,{name:"permissionsDefault",children:(0,W.jsx)(n_.P,{mode:"multiple",options:t.default.map(e=>({value:e.key,label:e.key})),placeholder:i("user-management.permissions.default")})}),(0,W.jsx)(q.Form.Item,{name:"permissionsBundles",children:(0,W.jsx)(n_.P,{mode:"multiple",options:t.bundles.map(e=>({value:e.key,label:e.key})),placeholder:i("user-management.permissions.bundles")})})]})}];return(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,items:r,size:"small"})};var gs=n(18962);let go=()=>{let{t:e}=(0,eH.useTranslation)(),{data:t,isLoading:n}=(0,gs.zE)(),i=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:e("user-management.types-and-classes")}),children:(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(q.Form.Item,{name:"docTypes",children:(0,W.jsx)(n_.P,{disabled:n,mode:"multiple",options:[],placeholder:e("user-management.doc-types")})}),(0,W.jsx)(q.Form.Item,{name:"classes",children:(0,W.jsx)(n_.P,{disabled:n,mode:"multiple",options:null==t?void 0:t.items.map(e=>({label:e.name,value:e.id})),placeholder:e("user-management.classes")})})]})}];return(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,items:i,size:"small"})},gl=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{table:n` - .ant-table { - .ant-table-tbody { - - .properties-table--actions-column { - align-items: center; - - .ant-btn-icon { - color: ${t.colorPrimary}; - - &:hover { - color: ${t.colorPrimaryHover}; - } - } - } - } - } - - .headline { - padding: ${t.paddingXS}px; - margin: 0; - } - `}}),gd=e=>{let{data:t,viewData:n,editData:i,onChangeOrder:r,onChange:a}=e,{availableAdminLanguages:s}=(0,dH.r)(),{t:o}=(0,eH.useTranslation)(),{styles:l}=gl(),d=e=>s.find(t=>t.language===e).display,c=t.map(e=>({name:d(e),abbreviation:e,view:n.includes(e)||!1,edit:i.includes(e)||!1})),[m,u]=(0,G.useState)(c),p=(e,t)=>{if(-1===e||t<0)return;let n=[...m],[i]=n.splice(e,1);n.splice(t,0,i),u(n),null!=r&&r(n.map(e=>e.abbreviation))},h=(0,iS.createColumnHelper)(),g=[h.accessor("name",{header:o("user-management.settings.language.name"),meta:{type:"text-cell",editable:!1},size:184}),h.accessor("abbreviation",{header:o("user-management.settings.language.abbreviation"),meta:{type:"text-cell",editable:!1},size:270})];return null!=r&&g.push(h.accessor("actions",{header:"",size:60,cell:e=>(0,W.jsxs)("div",{children:[(0,W.jsx)(iP.h,{disabled:0===e.row.index,icon:{value:"chevron-up"},onClick:()=>{p(e.row.index,e.row.index-1)}}),(0,W.jsx)(iP.h,{disabled:e.row.index===g.length-1,icon:{value:"chevron-down"},onClick:()=>{p(e.row.index,e.row.index+1)}})]})})),null!=a&&(g.push(h.accessor("view",{header:o("user-management.settings.language.view"),meta:{type:"checkbox",editable:!0,config:{align:"center"}},size:50})),g.push(h.accessor("edit",{header:o("user-management.settings.language.edit"),meta:{type:"checkbox",editable:!0,config:{align:"center"}},size:50}))),(0,W.jsx)("div",{className:l.table,children:(0,W.jsx)(W.Fragment,{children:(0,W.jsx)(i$.r,{autoWidth:!0,columns:g,data:m,onUpdateCellData:e=>{let{rowIndex:t,columnId:n,value:i,rowData:r}=e,s=m.map((e,r)=>{if(r===t)if("edit"===n)return{...e,[n]:i,view:i};else return{...e,[n]:i};return e});u(s),null!=a&&a(s)},setRowId:e=>e.cid})})})},gc=e=>{let{data:t,viewData:n,editData:i,onChange:r,...a}=e,{t:s}=(0,eH.useTranslation)(),o=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:s("user-management.editor-settings")}),children:(0,W.jsx)(gd,{data:t,editData:i,onChangeOrder:e=>{r(e)},viewData:n})}];return(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,items:o,size:"small",table:!0})},gm=e=>{let{data:t,viewData:n,editData:i,onChange:r,...a}=e,{t:s}=(0,eH.useTranslation)(),o=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:s("user-management.shared-translation-settings")}),children:(0,W.jsx)(gd,{data:t,editData:i,onChange:e=>{r(e)},viewData:n})}];return(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,items:o,size:"small",table:!0})},gu=e=>{let{...t}=e,{validLanguages:n}=(0,dH.r)(),[i]=nL.l.useForm(),{t:r}=(0,eH.useTranslation)(),{Text:a}=q.Typography,{id:s}=h8(),o=(0,rM.a)(),{user:l,isLoading:d,changeUserInState:c}=(0,h2.O)(s),{getAvailablePermissions:m}=(0,hW.r)(),u=gt(m());(0,G.useEffect)(()=>{d||i.setFieldsValue({active:null==l?void 0:l.active,admin:null==l?void 0:l.admin,classes:null==l?void 0:l.classes,name:null==l?void 0:l.name,twoFactorAuthenticationEnabled:null==l?void 0:l.twoFactorAuthenticationEnabled,firstname:null==l?void 0:l.firstname,lastname:null==l?void 0:l.lastname,email:null==l?void 0:l.email,language:null==l?void 0:l.language,welcomeScreen:null==l?void 0:l.welcomeScreen,memorizeTabs:null==l?void 0:l.memorizeTabs,allowDirtyClose:null==l?void 0:l.allowDirtyClose,closeWarning:null==l?void 0:l.closeWarning,permissionsDefault:Array.isArray(null==l?void 0:l.permissions)?l.permissions.filter(e=>u.default.some(t=>t.key===e)):[],permissionsBundles:Array.isArray(null==l?void 0:l.permissions)?l.permissions.filter(e=>u.bundles.some(t=>t.key===e)):[]})},[l,d]);let p=(0,G.useCallback)((0,tD.debounce)((e,t)=>{(void 0!==e.permissionsDefault||void 0!==e.permissionsBundles)&&(t.permissions=[...e.permissionsDefault??t.permissionsDefault??[],...e.permissionsBundles??t.permissionsBundles??[]]),c(t)},300),[c]);return d?(0,W.jsx)(iH.V,{loading:!0}):(0,W.jsx)(nL.l,{form:i,layout:"vertical",onValuesChange:p,children:(0,W.jsxs)(q.Row,{gutter:[10,10],children:[(0,W.jsx)(q.Col,{span:8,children:(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,items:[{key:"1",title:(0,W.jsx)(W.Fragment,{children:r("user-management.general")}),info:"ID: "+s,children:(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)(q.Flex,{align:"center",gap:"small",children:[(0,W.jsx)(nL.l.Item,{className:"m-b-none",name:"active",children:(0,W.jsx)(mh.r,{disabled:(null==o?void 0:o.id)===(null==l?void 0:l.id),labelRight:r("user-management.active")})}),(null==l?void 0:l.lastLogin)!==void 0&&(null==l?void 0:l.lastLogin)!==null?(0,W.jsxs)(a,{disabled:!0,children:[r("user-management.last-login"),": ",l.lastLogin]}):null]}),(0,W.jsx)(nL.l.Item,{label:r("user-management.name"),name:"name",children:(0,W.jsx)(q.Input,{disabled:!0})}),(0,W.jsx)(nL.l.Item,{label:r("user-management.password"),name:"password",rules:[{min:10}],children:(0,W.jsx)(q.Input,{suffix:(0,W.jsx)(iP.h,{icon:{value:"lightning-01"},onClick:()=>{let e=ge();i.setFieldValue("password",e),c({password:e})},title:r("user-management.generate-password")})})}),(0,W.jsx)(nL.l.Item,{name:"twoFactorAuthenticationEnabled",children:(0,W.jsx)(mh.r,{labelRight:r("user-management.two-factor-authentication")})})]})}],size:"small"})}),(0,W.jsx)(q.Col,{span:8,children:(0,W.jsx)(h9,{id:s})}),(0,W.jsx)(q.Col,{span:16,children:(0,W.jsx)(gr,{isAdmin:null==l?void 0:l.admin})}),(0,W.jsx)(q.Col,{span:16,children:(0,W.jsx)(gn,{isDisabled:(null==o?void 0:o.id)===(null==l?void 0:l.id)})}),(null==l?void 0:l.admin)===!1?(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(q.Col,{span:16,children:(0,W.jsx)(ga,{permissions:u})}),(0,W.jsx)(q.Col,{span:16,children:(0,W.jsx)(go,{})})]}):null,(0,W.jsx)(q.Col,{span:16,children:(0,W.jsx)(gc,{data:null==l?void 0:l.contentLanguages,editData:null==l?void 0:l.websiteTranslationLanguagesEdit,onChange:e=>{c({contentLanguages:e})},viewData:null==l?void 0:l.websiteTranslationLanguagesView})}),(null==l?void 0:l.admin)===!1?(0,W.jsx)(q.Col,{span:16,children:(0,W.jsx)(gm,{data:n,editData:null==l?void 0:l.websiteTranslationLanguagesEdit,onChange:e=>{c({websiteTranslationLanguagesEdit:e.filter(e=>e.edit).map(e=>e.abbreviation),websiteTranslationLanguagesView:e.filter(e=>e.view).map(e=>e.abbreviation)})},viewData:null==l?void 0:l.websiteTranslationLanguagesView})}):null]})})},gp=e=>{let{showDuplicatePropertyModal:t,data:n,type:i,isLoading:r,onUpdateData:a}=e,{t:s}=(0,eH.useTranslation)(),[o,l]=$().useState(n);(0,G.useEffect)(()=>{l(n)},[n]);let d=(0,iS.createColumnHelper)(),c=[d.accessor("cpath",{header:s("user-management.workspaces.columns.cpath"),meta:{type:i,editable:!0,autoWidth:!0},size:270}),d.accessor("list",{header:s("user-management.workspaces.columns.list"),size:76,meta:{type:"checkbox",editable:!0,config:{align:"center"}}}),d.accessor("view",{header:s("user-management.workspaces.columns.view"),size:76,meta:{type:"checkbox",editable:!0,config:{align:"center"}}}),d.accessor("save",{header:s("user-management.workspaces.columns.save"),size:76,meta:{type:"checkbox",editable:!0,config:{align:"center"}}}),d.accessor("publish",{header:s("user-management.workspaces.columns.publish"),size:76,meta:{type:"checkbox",editable:!0,config:{align:"center"}}}),d.accessor("unpublish",{header:s("user-management.workspaces.columns.unpublish"),size:76,meta:{type:"checkbox",editable:!0,config:{align:"center"}}}),d.accessor("delete",{header:s("user-management.workspaces.columns.delete"),size:76,meta:{type:"checkbox",editable:!0,config:{align:"center"}}}),d.accessor("rename",{header:s("user-management.workspaces.columns.rename"),size:76,meta:{type:"checkbox",editable:!0,config:{align:"center"}}}),d.accessor("create",{header:s("user-management.workspaces.columns.create"),size:76,meta:{type:"checkbox",editable:!0,config:{align:"center"}}}),d.accessor("settings",{header:s("user-management.workspaces.columns.settings"),size:76,meta:{type:"checkbox",editable:!0,config:{align:"center"}}}),d.accessor("versions",{header:s("user-management.workspaces.columns.versions"),size:76,meta:{type:"checkbox",editable:!0,config:{align:"center"}}}),d.accessor("properties",{header:s("user-management.workspaces.columns.properties"),size:76,meta:{type:"checkbox",editable:!0,config:{align:"center"}}}),d.accessor("actions",{header:"",size:40,cell:e=>(0,W.jsx)(q.Flex,{align:"center",className:"w-full h-full",justify:"center",children:(0,W.jsx)(iP.h,{icon:{value:"trash"},onClick:()=>{m(e.row.id)},type:"link"})})})],m=e=>{let t=[...o??[]],n=t.findIndex(t=>t.cid===e);t.splice(n,1),l(t),a(t)};return(0,W.jsx)(i$.r,{autoWidth:!0,columns:c,data:o,isLoading:r,onUpdateCellData:e=>{let{rowIndex:n,columnId:i,value:r,rowData:s}=e;l(o.map((e,t)=>t===n?{...e,[i]:r}:e));let d=[...o??[]],c=d.findIndex(e=>e.cpath===s.cpath),m={...d.at(c),[i]:r,cid:void 0!==r.id?r.id:s.cid,cpath:void 0!==r.fullPath?r.fullPath:s.cpath};d[c]=m,d.filter(e=>e.cpath===m.cpath).length>1?(m.cpath="",l(d),t()):(l(d),a(d))},resizable:!0,setRowId:e=>e.cid})},gh=e=>{let{...t}=e,{t:n}=(0,eH.useTranslation)(),{id:i}=h8(),{user:r,isLoading:a,changeUserInState:s}=(0,h2.O)(i),[o,l]=$().useState((null==r?void 0:r.assetWorkspaces)??[]),[d,c]=$().useState((null==r?void 0:r.documentWorkspaces)??[]),[m,u]=$().useState((null==r?void 0:r.dataObjectWorkspaces)??[]),{showModal:p,closeModal:h,renderModal:g}=(0,c9.dd)({type:"error"});if(void 0===r)return(0,W.jsx)(W.Fragment,{});let x=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:n("user-management.workspaces.documents")}),info:(0,W.jsxs)(W.Fragment,{children:[" ",(0,W.jsx)(rS.W,{icon:{value:"add-find"},onClick:()=>{c([...r.documentWorkspaces,{cid:new Date().getTime(),cpath:"",list:!1,view:!1,publish:!1,delete:!1,rename:!1,create:!1,settings:!1,versions:!1,properties:!1}])},children:n("user-management.workspaces.add")})]}),children:(0,W.jsx)(gp,{data:d,isLoading:a,onUpdateData:e=>{s({documentWorkspaces:e})},showDuplicatePropertyModal:()=>{p()},type:"document"})}],j=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:n("user-management.workspaces.assets")}),info:(0,W.jsxs)(W.Fragment,{children:[" ",(0,W.jsx)(rS.W,{icon:{value:"add-find"},onClick:()=>{l([...r.assetWorkspaces,{cid:new Date().getTime(),cpath:"",list:!1,view:!1,publish:!1,delete:!1,rename:!1,create:!1,settings:!1,versions:!1,properties:!1}])},children:n("user-management.workspaces.add")})]}),children:(0,W.jsx)(gp,{data:o,isLoading:a,onUpdateData:e=>{s({assetWorkspaces:e})},showDuplicatePropertyModal:()=>{p()},type:"asset"})}],v=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:n("user-management.workspaces.objects")}),info:(0,W.jsxs)(W.Fragment,{children:[" ",(0,W.jsx)(rS.W,{icon:{value:"add-find"},onClick:()=>{u([...r.dataObjectWorkspaces,{cid:new Date().getTime(),cpath:"",list:!1,view:!1,publish:!1,delete:!1,rename:!1,create:!1,settings:!1,versions:!1,properties:!1}])},children:n("user-management.workspaces.add")})]}),children:(0,W.jsx)(gp,{data:m,isLoading:a,onUpdateData:e=>{s({dataObjectWorkspaces:e})},showDuplicatePropertyModal:()=>{p()},type:"object"})}];return(0,W.jsxs)(q.Flex,{gap:"middle",vertical:!0,children:[(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,collapsible:"icon",items:x,size:"small",table:!0}),(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,collapsible:"icon",items:j,size:"small",table:!0}),(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,collapsible:"icon",items:v,size:"small",table:!0}),(0,W.jsx)(g,{footer:(0,W.jsx)(dP.m,{children:(0,W.jsx)(il.z,{onClick:h,type:"primary",children:n("button.ok")})}),title:n("properties.property-already-exist.title"),children:n("properties.property-already-exist.error")})]})},gg=e=>{let{...t}=e,[n]=nL.l.useForm(),{t:i}=(0,eH.useTranslation)(),{id:r}=h8(),{user:a,isLoading:s,updateUserKeyBinding:o,changeUserInState:l}=(0,h2.O)(r),{resetUserKeyBindings:d,getDefaultKeyBindings:c}=(0,hW.r)(),m=e=>{let t="";return e>=112&&e<=123?"F"+(e-111):32===e?"Space":String.fromCharCode(e)},u=e=>`${!1!==e.ctrl?"Ctrl + ":""}${!1!==e.alt?"Alt + ":""}${!1!==e.shift?"Shift + ":""}${m(e.key)}`,p=e=>{e.forEach(e=>{n.setFieldsValue({[e.action]:u(e)})})};if(!s){var h;(null==a||null==(h=a.keyBindings)?void 0:h.length)===0&&c().then(e=>{p(e.items),l({keyBindings:e.items})}).catch(e=>{console.error("error setting default key bindings",e)}),p(null==a?void 0:a.keyBindings)}if(s)return(0,W.jsx)(iH.V,{loading:!0});let g=(e,t)=>{let i=e.keyCode;e.preventDefault();let r={action:t,ctrl:!1,alt:!1,shift:!1,key:i};return 9!==i&&8!==i&&27!==i&&46!==i&&(r.ctrl=e.ctrlKey,r.alt=e.altKey,r.shift=e.shiftKey,n.setFieldsValue({[t]:u(r)}),o(t,r),r)},x=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:i("user-management.key-bindings.general")}),children:(0,W.jsx)(q.Row,{gutter:[40,0],children:["save","publish","unpublish","rename","refresh"].map(e=>(0,W.jsx)(q.Col,{span:12,children:(0,W.jsx)(nL.l.Item,{label:i(`user-management.key-bindings.${e}`),name:e,children:(0,W.jsx)(q.Input,{onKeyDown:t=>g(t,e)})})},e))})}],j=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:i("user-management.key-bindings.navigation")}),children:(0,W.jsx)(q.Row,{gutter:[40,0],children:["openDocument","openAsset","openObject","openClassEditor","openInTree","closeAllTabs"].map(e=>(0,W.jsx)(q.Col,{span:12,children:(0,W.jsx)(nL.l.Item,{label:i(`user-management.key-bindings.${e}`),name:e,children:(0,W.jsx)(q.Input,{onKeyDown:t=>g(t,e)})})},e))})}],v=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:i("user-management.key-bindings.seo")}),children:(0,W.jsx)(q.Row,{gutter:[40,0],children:["redirects","tagManager","tagConfiguration","seoDocumentEditor","robots"].map(e=>(0,W.jsx)(q.Col,{span:12,children:(0,W.jsx)(nL.l.Item,{label:i(`user-management.key-bindings.${e}`),name:e,children:(0,W.jsx)(q.Input,{onKeyDown:t=>g(t,e)})})},e))})}],y=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:i("user-management.key-bindings.system")}),children:(0,W.jsx)(q.Row,{gutter:[40,0],children:["showMetaInfo","showElementHistory","sharedTranslations","recycleBin","notesEvents","users","roles","clearAllCaches","clearDataCache","customReports","reports","applicationLogger","glossary","httpErrorLog"].map(e=>(0,W.jsx)(q.Col,{span:12,children:(0,W.jsx)(nL.l.Item,{label:i(`user-management.key-bindings.${e}`),name:e,children:(0,W.jsx)(q.Input,{onKeyDown:t=>g(t,e)})})},e))})}],f=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:i("user-management.key-bindings.search")}),children:(0,W.jsx)(q.Row,{gutter:[40,0],children:["searchDocument","searchAsset","searchObject","searchAndReplaceAssignments","quickSearch"].map(e=>(0,W.jsx)(q.Col,{span:12,children:(0,W.jsx)(nL.l.Item,{label:i(`user-management.key-bindings.${e}`),name:e,children:(0,W.jsx)(q.Input,{onKeyDown:t=>g(t,e)})})},e))})}];return(0,W.jsx)(nL.l,{form:n,layout:"vertical",children:(0,W.jsxs)(q.Row,{gutter:[10,10],children:[(0,W.jsx)(q.Col,{span:14,children:(0,W.jsxs)(q.Flex,{align:"center",justify:"space-between",children:[(0,W.jsx)(q.Alert,{message:i("user-management.key-bindings.info"),showIcon:!0,type:"info"}),(0,W.jsx)(il.z,{onClick:async()=>await d(r),children:i("user-management.key-bindings.reset")})]})}),(0,W.jsx)(q.Col,{span:14,children:(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,items:x,size:"small"})}),(0,W.jsx)(q.Col,{span:14,children:(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,items:j,size:"small"})}),(0,W.jsx)(q.Col,{span:14,children:(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,items:f,size:"small"})}),(0,W.jsx)(q.Col,{span:14,children:(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,items:y,size:"small"})}),(0,W.jsx)(q.Col,{span:14,children:(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,items:v,size:"small"})})]})})},gx=e=>{let{data:t,isLoading:n}=e,{t:i}=(0,eH.useTranslation)(),[r,a]=$().useState(t);(0,G.useEffect)(()=>{a(t)},[t]);let s=(0,iS.createColumnHelper)(),o=[s.accessor("id",{header:i("user-management.workspaces.columns.id"),meta:{type:"element-cell",editable:!0},size:100}),s.accessor("path",{header:i("user-management.workspaces.columns.path"),meta:{type:"element-cell",editable:!0,autoWidth:!0}}),s.accessor("subtype",{header:i("user-management.workspaces.columns.subtype"),meta:{type:"element-cell",editable:!0},size:150})];return(0,W.jsx)(i$.r,{autoWidth:!0,columns:o,data:r,isLoading:n,resizable:!0,setRowId:e=>e.cid})},gj=e=>{var t;let{...n}=e,{t:i}=(0,eH.useTranslation)(),{id:r}=h8(),{user:a}=(0,h2.O)(r),s=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:i("user-management.references.documents")}),children:(0,W.jsx)(gx,{data:(null==a||null==(t=a.objectDependencies)?void 0:t.dependencies)??[],isLoading:!1})}];return(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,collapsible:"icon",items:s,size:"small",table:!0})};var gv=n(84771);let gy=e=>{let{id:t,...n}=e,{t:i}=(0,eH.useTranslation)(),r=(0,m6.Q)(),{setContext:a,removeContext:s}=(0,gv.q)(),{user:o,isLoading:l,isError:d,removeUserFromState:c}=(0,h2.O)(t);if((0,G.useEffect)(()=>()=>{s(),c()},[]),(0,G.useEffect)(()=>(r&&a({id:t}),()=>{r||s()}),[r]),d)return(0,W.jsx)("div",{children:"Error"});if(l)return(0,W.jsx)(iH.V,{loading:!0});if(void 0===o)return(0,W.jsx)(W.Fragment,{});let m=[{key:"settings",label:i("user-management.settings.title"),children:(0,W.jsx)(gu,{})},{key:"workspaces",label:i("user-management.workspaces.title"),children:(0,W.jsx)(gh,{}),disabled:o.admin},{key:"key-bindings",label:i("user-management.key-bindings.title"),children:(0,W.jsx)(gg,{})},{key:"user-references",label:i("user-management.references.title"),children:(0,W.jsx)(gj,{})}];return(0,W.jsx)(h4,{id:t,children:(0,W.jsx)(tu.m,{defaultActiveKey:"1",destroyInactiveTabPane:!0,items:m})})};var gf=n(29619);let gw=e=>{let{id:t,onCloneUser:n,onRemoveUser:i,...r}=e,{t:a}=(0,eH.useTranslation)(),{user:s,isLoading:o,reloadUser:l}=(0,h2.O)(t),{updateUserById:d}=(0,hW.r)(),c=(null==s?void 0:s.modified)===!0,[m,u]=(0,G.useState)(!1),p=[{key:"1",label:a("tree.actions.clone-user"),icon:(0,W.jsx)(tL.J,{value:"copy-03"}),onClick:n},{key:"2",label:a("tree.actions.remove-user"),icon:(0,W.jsx)(tL.J,{value:"delete-outlined"}),onClick:i}];return(0,W.jsxs)(iF.o,{children:[(0,W.jsxs)(tf.k,{children:[(0,W.jsx)(q.Popconfirm,{onCancel:()=>{u(!1)},onConfirm:()=>{u(!1),l()},onOpenChange:e=>{if(!e)return void u(!1);c?u(!0):l()},open:m,title:a("toolbar.reload.confirmation"),children:(0,W.jsx)(iP.h,{icon:{value:"refresh"},children:a("toolbar.reload")})}),(0,W.jsx)(dI.L,{menu:{items:p},trigger:["click"],children:(0,W.jsx)(dL.P,{children:a("toolbar.more")})})]}),(0,W.jsx)(rd.Button,{disabled:!c||o,loading:o,onClick:()=>{d({id:t,user:s}).catch(()=>{console.error("error")})},type:"primary",children:a("toolbar.save-and-publish")})]})},gb=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{detailTabs:n` - display: flex; - flex-direction: column; - overflow: hidden; - padding: ${t.paddingSM}px ${t.paddingSM}px; - - .detail-tabs__content { - height: 100%; - width: 100%; - overflow: hidden; - - .ant-tabs { - height: 100%; - width: 100%; - overflow: hidden; - } - - .ant-tabs-content { - display: flex; - height: 100%; - margin-left: -${t.paddingXS}px; - margin-right: -${t.paddingXS}px; - padding-left: ${t.paddingXS}px; - padding-right: ${t.paddingXS}px; - } - - .ant-tabs-tabpane { - display: flex; - flex-direction: column; - height: 100%; - width: 100%; - } - - .ant-tabs-content-holder { - overflow: auto; - } - } - `}},{hashPriority:"low"}),gC=e=>{let{onCloneUser:t,onRemoveItem:n,...i}=e,{t:r}=(0,eH.useTranslation)(),{styles:a}=gb(),s=["detail-tabs",a.detailTabs],o=(0,hG.U8)(),{openUser:l,closeUser:d,removeUser:c,cloneUser:m,getAllIds:u,activeId:p}=(0,hW.r)(),{user:h}=(0,h2.O)(p),[g,x]=(0,G.useState)(null),j=()=>{d(p),l(u[u.length-2])};return((0,G.useEffect)(()=>{x(null)},[h]),void 0===p)?(0,W.jsx)(iH.V,{none:!0}):(0,W.jsx)(iW.D,{renderToolbar:(0,W.jsx)(gw,{id:p,onCloneUser:()=>{o.input({title:r("user-management.clone-user"),label:r("user-management.clone-user.label"),onOk:async e=>{t(await m({id:p,name:e}),null==h?void 0:h.parentId)}})},onRemoveUser:()=>{o.confirm({title:r("user-management.remove-user"),content:r("user-management.remove-user.text"),onOk:async()=>{j(),await c({id:p}),n(p,null==h?void 0:h.parentId)}})}}),children:(0,W.jsxs)("div",{className:s.join(" "),children:[(0,W.jsx)(tu.m,{activeKey:p.toString(),items:u.map(e=>{var t,n;return{key:e.toString(),label:(0,W.jsxs)(q.Popconfirm,{onCancel:()=>{x(null)},onConfirm:j,open:g===e,title:r("widget-manager.tab-title.close-confirmation"),children:[null==(t=(0,gf.Ls)(c3.h.getState(),e))?void 0:t.name," ",(null==(n=(0,gf.Ls)(c3.h.getState(),e))?void 0:n.modified)?"*":""]})}}),onChange:e=>{l(Number(e))},onClose:e=>{var t,n;return(null==(t=(0,gf.Ls)(c3.h.getState(),parseInt(e)))?void 0:t.modified)&&null===g?void x(parseInt(e)):(null==(n=(0,gf.Ls)(c3.h.getState(),parseInt(e)))?void 0:n.modified)?void(null!==g&&x(null)):void j()}}),(0,W.jsx)(iH.V,{className:"detail-tabs__content",children:(0,W.jsx)(gy,{id:p})})]})})},gk=e=>{let{...t}=e,{t:n}=(0,eH.useTranslation)(),{getUserTree:i}=(0,hW.r)(),[r,a]=$().useState([0]),s={title:n("user-management.tree.all"),key:0,icon:(0,W.jsx)(tL.J,{value:"folder"}),children:[],actions:[{key:"add-folder",icon:"folder-plus"},{key:"add-user",icon:"add-user"}]},[o,l]=$().useState([s]),d=e=>e.map(e=>({title:e.name,key:e.id,selectable:"user"===e.type,allowDrop:"user"!==e.type,icon:"user"===e.type?(0,W.jsx)(tL.J,{value:"user"}):(0,W.jsx)(tL.J,{value:"folder"}),actions:"user"===e.type?[{key:"clone-user",icon:"copy"},{key:"remove-user",icon:"trash"}]:[{key:"add-folder",icon:"folder-plus"},{key:"add-user",icon:"add-user"},{key:"remove-folder",icon:"trash"}],children:[],isLeaf:!1===e.children})),c=(e,t)=>{u(e,!1),l(n=>{let i=hY(n,e);if(void 0!==i){i.children=i.children??[],0===t.length?(i.isLeaf=!0,a(r.filter(t=>t!==e))):i.isLeaf=!1;let n=d(t),s=new Set(n.map(e=>e.key));i.children=i.children.filter(e=>s.has(e.key));let o=new Set(i.children.map(e=>e.key));i.children=[...i.children,...n.filter(e=>!o.has(e.key))]}return[...n]})},m=async e=>{await i({parentId:Number(e.key)}).then(t=>{c(e.key,t.items)})},u=(e,t)=>{let n=hY(o,e);void 0!==n&&(n.switcherIcon=t?(0,W.jsx)(iV.y,{type:"classic"}):void 0),l([...o])},p=async e=>{void 0===e&&(e=0);let{items:t}=await i({parentId:e});c(e,t)},h={id:"user-tree",size:20,minSize:170,children:[(0,W.jsx)(h1,{expandedKeys:r,onLoadTreeData:m,onReloadTree:async e=>{for(let t of e)u(t,!0),await p(t)},onSetExpandedKeys:e=>{a(e)},onUpdateTreeData:c,treeData:o},"user-tree")]},g={id:"user-detail",size:80,minSize:600,children:[(0,W.jsx)(gC,{onCloneUser:async(e,t)=>{u(t,!0),await p(t)},onRemoveItem:async(e,t)=>{u(t,!0),await p(t)}},"user-detail")]};return(0,W.jsx)(rJ.K,{leftItem:h,rightItem:g,withDivider:!0,withToolbar:!0})},gT=e=>{let{expandedKeys:t,treeData:n,onLoadTreeData:i,onReloadTree:r,onSetExpandedKeys:a,onUpdateTreeData:s,...o}=e,{t:l}=(0,eH.useTranslation)(),{openRole:d,addNewRole:c,addNewFolder:m,removeRole:u,cloneRole:p,removeFolder:h,moveRoleById:g}=(0,gi.d)(),{styles:x}=hU(),j=[x.treeContainer],v=(0,hG.U8)(),y=e=>{v.input({title:l("roles.add-role"),label:l("roles.add-role.label"),onOk:async t=>{await c({parentId:e,name:t}),r([e])}})},f=e=>{v.input({title:l("roles.add-folder"),label:l("roles.add-folder.label"),onOk:async t=>{await m({parentId:e,name:t}),r([e])}})};return(0,W.jsx)(iW.D,{renderToolbar:(0,W.jsx)(h$,{actions:[{key:"add-role",label:l("tree.actions.add-role"),icon:(0,W.jsx)(tL.J,{value:"add-user"}),onClick:()=>{y(0)}},{key:"add-folder",label:l("tree.actions.add-folder"),icon:(0,W.jsx)(tL.J,{value:"folder-plus"}),onClick:()=>{f(0)}}],onReload:()=>{r([0])}}),children:(0,W.jsx)(iH.V,{className:j.join(", "),children:(0,W.jsx)(hH._,{defaultExpandedKeys:t,draggable:!0,expandedKeys:t,onActionsClick:(e,t)=>{switch("string"==typeof e&&(e=parseInt(e)),t){case"add-folder":f(e);break;case"add-role":y(e);break;case"clone-role":v.input({title:l("roles.clone-role"),label:l("roles.clone-role.label"),onOk:async t=>{var i;let a=null==(i=h0(n,e))?void 0:i.key;void 0!==await p({id:e,name:t})&&r([a])}});break;case"remove-role":v.confirm({title:l("roles.remove-role"),content:l("roles.remove-role.text"),onOk:async()=>{var t;await u({id:Number(e)}),r([null==(t=h0(n,e))?void 0:t.key])}});break;case"remove-folder":v.confirm({title:l("roles.remove-folder"),content:l("roles.remove-folder.text"),onOk:async()=>{var t;await h({id:Number(e)}),r([null==(t=h0(n,e))?void 0:t.key])}})}},onDragAndDrop:async e=>{if(void 0!==await g({id:Number(e.dragNode.key),parentId:Number(e.node.key)})){var t;r([null==(t=h0(n,e.dragNode.key))?void 0:t.key,e.node.key])}},onExpand:e=>{a(e)},onLoadData:i,onSelected:e=>{var t;(null==(t=hY(n,e))?void 0:t.selectable)===!0&&d(Number(e))},treeData:n})})})},gD=(0,G.createContext)({id:-1}),gS=e=>{let{id:t,children:n}=e;return(0,G.useMemo)(()=>(0,W.jsx)(gD.Provider,{value:{id:t},children:n}),[t])},gM=()=>{let{id:e}=(0,G.useContext)(gD);return{id:e}},gL=()=>{let{t:e}=(0,eH.useTranslation)(),{id:t}=gM(),[n,i]=(0,G.useState)([]),{getPerspectiveConfigCollection:r}=(0,rL.o)(),a=(0,G.useCallback)(()=>{r().then(e=>{(null==e?void 0:e.items)!==void 0&&i(e.items.map(e=>({value:e.id,label:e.name})))}).catch(e=>{console.error("Error fetching perspective config collection:",e)})},[r]);(0,G.useEffect)(()=>{0===n.length&&a()},[t]);let s=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:e("roles.general")}),info:"ID: "+t,children:(0,W.jsx)(q.Form.Item,{label:e("user-management.perspectives"),name:"perspectives",children:(0,W.jsx)(n_.P,{mode:"multiple",options:n,placeholder:e("user-management.perspectives")})})}];return(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,items:s,size:"small"})};var gI=n(74609);let gE=e=>{let{...t}=e,{validLanguages:n}=(0,dH.r)(),[i]=nL.l.useForm(),{id:r}=gM(),{role:a,isLoading:s,changeRoleInState:o}=(0,gI.p)(r),{getAvailablePermissions:l}=(0,hW.r)(),d=gt(l());(0,G.useEffect)(()=>{s||i.setFieldsValue({name:null==a?void 0:a.name,classes:(null==a?void 0:a.classes)??[],docTypes:null==a?void 0:a.docTypes,perspectives:(null==a?void 0:a.perspectives)??[],permissionsDefault:Array.isArray(null==a?void 0:a.permissions)?a.permissions.filter(e=>d.default.some(t=>t.key===e)):[],permissionsBundles:Array.isArray(null==a?void 0:a.permissions)?a.permissions.filter(e=>d.bundles.some(t=>t.key===e)):[]})},[a,s]);let c=(0,G.useCallback)((0,tD.debounce)((e,t)=>{let n={...t};(void 0!==e.permissionsDefault||void 0!==e.permissionsBundles)&&(n.permissions=[...e.permissionsDefault??t.permissionsDefault??[],...e.permissionsBundles??t.permissionsBundles??[]]),o(n)},300),[o]);return s?(0,W.jsx)(iH.V,{loading:!0}):(0,W.jsx)(nL.l,{form:i,layout:"vertical",onValuesChange:c,children:(0,W.jsxs)(q.Row,{gutter:[10,10],children:[(0,W.jsx)(q.Col,{span:16,children:(0,W.jsx)(gL,{})}),(0,W.jsx)(q.Col,{span:16,children:(0,W.jsx)(ga,{permissions:d})}),(0,W.jsx)(q.Col,{span:16,children:(0,W.jsx)(go,{})}),(0,W.jsx)(q.Col,{span:16,children:(0,W.jsx)(gm,{data:n,editData:null==a?void 0:a.websiteTranslationLanguagesEdit,onChange:e=>{o({websiteTranslationLanguagesEdit:e.filter(e=>e.edit).map(e=>e.abbreviation),websiteTranslationLanguagesView:e.filter(e=>e.view).map(e=>e.abbreviation)})},viewData:null==a?void 0:a.websiteTranslationLanguagesView})})]})})},g_=e=>{let{...t}=e,{t:n}=(0,eH.useTranslation)(),{id:i}=gM(),{role:r,isLoading:a,changeRoleInState:s}=(0,gI.p)(i),[o,l]=$().useState((null==r?void 0:r.assetWorkspaces)??[]),[d,c]=$().useState((null==r?void 0:r.documentWorkspaces)??[]),[m,u]=$().useState((null==r?void 0:r.dataObjectWorkspaces)??[]),{showModal:p,closeModal:h,renderModal:g}=(0,c9.dd)({type:"error"});if(void 0===r)return(0,W.jsx)(W.Fragment,{});let x=(e,t)=>{let n={cid:new Date().getTime(),cpath:"",list:!1,view:!1,publish:!1,delete:!1,rename:!1,create:!1,settings:!1,versions:!1,properties:!1};switch(t){case"document":c([...e,n]);break;case"asset":l([...e,n]);break;case"object":u([...e,n])}},j=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:n("user-management.workspaces.documents")}),info:(0,W.jsx)(rS.W,{icon:{value:"add-find"},onClick:()=>{x(r.documentWorkspaces,"document")},children:n("user-management.workspaces.add")}),children:(0,W.jsx)(gp,{data:d,isLoading:a,onUpdateData:e=>{s({documentWorkspaces:e})},showDuplicatePropertyModal:()=>{p()},type:"document"})}],v=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:n("user-management.workspaces.assets")}),info:(0,W.jsx)(rS.W,{icon:{value:"add-find"},onClick:()=>{x(r.assetWorkspaces,"asset")},children:n("user-management.workspaces.add")}),children:(0,W.jsx)(gp,{data:o,isLoading:a,onUpdateData:e=>{s({assetWorkspaces:e})},showDuplicatePropertyModal:()=>{p()},type:"asset"})}],y=[{key:"1",title:(0,W.jsx)(W.Fragment,{children:n("user-management.workspaces.objects")}),info:(0,W.jsx)(rS.W,{icon:{value:"add-find"},onClick:()=>{x(r.dataObjectWorkspaces,"object")},children:n("user-management.workspaces.add")}),children:(0,W.jsx)(gp,{data:m,isLoading:a,onUpdateData:e=>{s({dataObjectWorkspaces:e})},showDuplicatePropertyModal:()=>{p()},type:"object"})}];return(0,W.jsxs)(q.Flex,{gap:"middle",vertical:!0,children:[(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,collapsible:"icon",items:j,size:"small",table:!0}),(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,collapsible:"icon",items:v,size:"small",table:!0}),(0,W.jsx)(h3.U,{activeKey:"1",bordered:!0,collapsible:"icon",items:y,size:"small",table:!0}),(0,W.jsx)(g,{footer:(0,W.jsx)(dP.m,{children:(0,W.jsx)(il.z,{onClick:h,type:"primary",children:n("button.ok")})}),title:n("properties.property-already-exist.title"),children:n("properties.property-already-exist.error")})]})},gz=e=>{let{id:t}=e,{t:n}=(0,eH.useTranslation)(),i=(0,m6.Q)(),{setContext:r,removeContext:a}=(0,gv.q)(),{role:s,isLoading:o,isError:l,removeRoleFromState:d}=(0,gI.p)(t);if((0,G.useEffect)(()=>()=>{a(),d()},[]),(0,G.useEffect)(()=>(i&&r({id:t}),()=>{i||a()}),[i]),l)return(0,W.jsx)("div",{children:"Error"});if(o)return(0,W.jsx)(iH.V,{loading:!0});if(void 0===s)return(0,W.jsx)(W.Fragment,{});let c=[{key:"settings",label:n("roles.settings.title"),children:(0,W.jsx)(gE,{})},{key:"workspaces",label:n("roles.workspaces.title"),children:(0,W.jsx)(g_,{})}];return(0,W.jsx)(gS,{id:t,children:(0,W.jsx)(tu.m,{defaultActiveKey:"1",destroyInactiveTabPane:!0,items:c})})};var gO=n(55961);let gP=e=>{let{id:t,onCloneRole:n,onRemoveRole:i}=e,{t:r}=(0,eH.useTranslation)(),{role:a,isLoading:s,reloadRole:o}=(0,gI.p)(t),{updateRoleById:l}=(0,gi.d)(),d=(null==a?void 0:a.modified)===!0,[c,m]=(0,G.useState)(!1),u=[{key:"1",label:r("tree.actions.clone-item"),icon:(0,W.jsx)(tL.J,{value:"copy-03"}),onClick:n},{key:"2",label:r("tree.actions.remove-item"),icon:(0,W.jsx)(tL.J,{value:"delete-outlined"}),onClick:i}];return(0,W.jsxs)(iF.o,{children:[(0,W.jsxs)(tf.k,{children:[(0,W.jsx)(q.Popconfirm,{onCancel:()=>{m(!1)},onConfirm:()=>{m(!1),o()},onOpenChange:e=>{if(!e)return void m(!1);d?m(!0):o()},open:c,title:r("toolbar.reload.confirmation"),children:(0,W.jsx)(iP.h,{icon:{value:"refresh"},children:r("toolbar.reload")})}),(0,W.jsx)(dI.L,{menu:{items:u},trigger:["click"],children:(0,W.jsx)(dL.P,{children:r("toolbar.more")})})]}),(0,W.jsx)(il.z,{disabled:!d||s,loading:s,onClick:()=>{l({id:t,item:a}).catch(e=>{console.error(e)})},type:"primary",children:r("toolbar.save-and-publish")})]})},gV=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{detailTabs:n` - display: flex; - flex-direction: column; - overflow: hidden; - padding: ${t.paddingSM}px ${t.paddingSM}px; - - .detail-tabs__content { - height: 100%; - width: 100%; - overflow: hidden; - - .ant-tabs { - height: 100%; - width: 100%; - overflow: hidden; - } - - .ant-tabs-content { - display: flex; - height: 100%; - margin-left: -${t.paddingXS}px; - margin-right: -${t.paddingXS}px; - padding-left: ${t.paddingXS}px; - padding-right: ${t.paddingXS}px; - } - - .ant-tabs-tabpane { - display: flex; - flex-direction: column; - height: 100%; - width: 100%; - } - - .ant-tabs-content-holder { - overflow: auto; - } - } - `}},{hashPriority:"low"}),gA=e=>{let{onCloneRole:t,onRemoveRole:n,...i}=e,{t:r}=(0,eH.useTranslation)(),{styles:a}=gV(),s=["detail-tabs",a.detailTabs],o=(0,hG.U8)(),{openRole:l,closeRole:d,removeRole:c,cloneRole:m,getAllIds:u,activeId:p}=(0,gi.d)(),{role:h}=(0,gI.p)(p),[g,x]=(0,G.useState)(null),j=()=>{d(p),l(u[u.length-2])};return((0,G.useEffect)(()=>{x(null)},[h]),void 0===p)?(0,W.jsx)(iH.V,{none:!0}):(0,W.jsx)(iW.D,{renderToolbar:(0,W.jsx)(gP,{id:p,onCloneRole:()=>{o.input({title:r("roles.clone-item"),label:r("roles.clone-item.label"),onOk:async e=>{t(await m({id:p,name:e}),(null==h?void 0:h.parentId)??0)}})},onRemoveRole:()=>{o.confirm({title:r("roles.remove-item"),content:r("roles.remove-item.text"),onOk:async()=>{j(),await c({id:p}),n(p,(null==h?void 0:h.parentId)??0)}})}}),children:(0,W.jsxs)("div",{className:s.join(" "),children:[(0,W.jsx)(tu.m,{activeKey:p.toString(),items:u.map(e=>{var t,n;return{key:e.toString(),label:(0,W.jsxs)(q.Popconfirm,{onCancel:()=>{x(null)},onConfirm:j,open:g===e,title:r("widget-manager.tab-title.close-confirmation"),children:[null==(t=(0,gO.VL)(c3.h.getState(),e))?void 0:t.name," ",(null==(n=(0,gO.VL)(c3.h.getState(),e))?void 0:n.modified)?"*":""]})}}),onChange:e=>{l(Number(e))},onClose:e=>{let t=(0,gO.VL)(c3.h.getState(),parseInt(e));return(null==t?void 0:t.modified)&&null===g?void x(parseInt(e)):(null==t?void 0:t.modified)?void(null!==g&&x(null)):void j()}}),(0,W.jsx)(iH.V,{className:"detail-tabs__content",children:(0,W.jsx)(gz,{id:p})})]})})},gB=e=>{let{...t}=e,{t:n}=(0,eH.useTranslation)(),{getRoleTree:i}=(0,gi.d)(),[r,a]=$().useState([0]),s={title:n("roles.tree.all"),key:0,icon:(0,W.jsx)(tL.J,{value:"folder"}),children:[],actions:[{key:"add-folder",icon:"folder-plus"},{key:"add-role",icon:"add-user"}]},[o,l]=(0,G.useState)([s]),d=e=>e.map(e=>({title:e.name,key:e.id,selectable:"role"===e.type,allowDrop:"role"!==e.type,icon:"role"===e.type?(0,W.jsx)(tL.J,{value:"user"}):(0,W.jsx)(tL.J,{value:"folder"}),actions:"role"===e.type?[{key:"clone-role",icon:"copy"},{key:"remove-role",icon:"trash"}]:[{key:"add-folder",icon:"folder-plus"},{key:"add-role",icon:"add-user"},{key:"remove-folder",icon:"trash"}],children:[],isLeaf:!1===e.children})),c=(e,t)=>{u(e,!1),l(n=>{let i=hY(n,e);if(void 0!==i){i.children=i.children??[],0===t.length?(i.isLeaf=!0,a(r.filter(t=>t!==e))):i.isLeaf=!1;let n=d(t),s=new Set(n.map(e=>e.key));i.children=i.children.filter(e=>s.has(e.key));let o=new Set(i.children.map(e=>e.key));i.children=[...i.children,...n.filter(e=>!o.has(e.key))]}return[...n]})},m=async e=>{await i({parentId:Number(e.key)}).then(t=>{c(e.key,t.items)})},u=(e,t)=>{let n=hY(o,e);void 0!==n&&(n.switcherIcon=t?(0,W.jsx)(iV.y,{type:"classic"}):void 0),l([...o])},p=async e=>{void 0===e&&(e=0);let{items:t}=await i({parentId:e});c(e,t)},h={id:"role-tree",size:20,minSize:170,children:[(0,W.jsx)(gT,{expandedKeys:r,onLoadTreeData:m,onReloadTree:async e=>{for(let t of e)u(t,!0),await p(t)},onSetExpandedKeys:e=>{a(e)},onUpdateTreeData:c,treeData:o},"role-tree")]},g={id:"role-detail",size:80,minSize:600,children:[(0,W.jsx)(gA,{onCloneRole:async(e,t)=>{u(t,!0),await p(t)},onRemoveRole:async(e,t)=>{u(t,!0),await p(t)}},"role-detail")]};return(0,W.jsx)(rJ.K,{leftItem:h,rightItem:g,withDivider:!0,withToolbar:!0})};var gR=n(34769);b._.registerModule({onInit:()=>{let e=C.nC.get(H.j.mainNavRegistry);e.registerMainNavItem({path:"Settings/User & Roles",label:"navigation.user-and-roles",permission:gR.P.Users,perspectivePermissionHide:aW.UsersHidden}),e.registerMainNavItem({path:"Settings/User & Roles/Users",label:"navigation.users",className:"item-style-modifier",permission:gR.P.Users,perspectivePermission:aW.Users,widgetConfig:{name:"Users",id:"user-management",component:"user-management",config:{translationKey:"widget.user-management",icon:{type:"name",value:"user"}}}}),e.registerMainNavItem({path:"Settings/User & Roles/Roles",label:"navigation.roles",permission:gR.P.Users,perspectivePermission:aW.Roles,widgetConfig:{name:"Roles",id:"role-management",component:"role-management",config:{translationKey:"widget.role-management",icon:{type:"name",value:"user"}}}});let t=C.nC.get(H.j.widgetManager);t.registerWidget({name:"user-management",component:gk}),t.registerWidget({name:"role-management",component:gB})}});var gN=n(63245),gF=n(2275),gH=n(77318);let gW=()=>{let[e,t]=(0,G.useState)([]),n={id:0,text:"All Tags",hasChildren:!1,children:[],path:"/All Tags",parentId:0,iconName:"folder"},i=(0,m1.U)(),[r,a]=(0,G.useState)(""),{data:s,isFetching:o,isLoading:l}=(0,gH.bm)({page:1,pageSize:9999,filter:r}),[d]=(0,gH.Xv)(),[c]=(0,gH.O4)(),[m]=(0,gH.XM)(),u=e=>{let t=[],n=e=>{for(let i of e)t.push(i),(0,tD.isNil)(i.children)||n(i.children)};return n(e),t};(0,G.useEffect)(()=>{t(u((null==s?void 0:s.items)??[]))},[s]);let p=t=>[n,...e].find(e=>e.id.toString()===t)??void 0,h=async(e,t)=>{let n=await d({id:e,updateTagParameters:t});"data"in n&&i.success({content:(0,eU.t)("tag-configuration.successful-update"),type:"success",duration:3}),(0,tD.isEmpty)((0,tD.get)(n,"error.data.error"))||(0,eQ.ZP)(new eQ.aE(`Error updating tag: ${(0,tD.get)(n,"error.data.error")}`)),null!=n.error&&(0,eQ.ZP)(new eQ.aE("Error updating tag"))},g=async(e,t,n)=>{let i=p(e.toString());if(null==i)(0,eQ.ZP)(new eQ.aE(`Tag with id ${e} not found`));else{let r={parentId:t,name:n??i.text};await h(e,r)}},x=async e=>{let t=await m({createTagParameters:e});"data"in t&&i.success({content:(0,eU.t)("tag-configuration.successful-add"),type:"success",duration:3}),(0,tD.isEmpty)((0,tD.get)(t,"error.data.error"))||(0,eQ.ZP)(new eQ.aE(`Error creating tag: ${(0,tD.get)(t,"error.data.error")}`)),null!=t.error&&(0,eQ.ZP)(new eQ.aE("Error creating tag"))},j=async(e,t)=>{await x({parentId:t,name:e})},v=async e=>{let t=await c({id:e});"data"in t&&i.success({content:(0,eU.t)("tag-configuration.successful-deletion"),type:"success",duration:3}),(0,tD.isEmpty)((0,tD.get)(t,"error.data.error"))||(0,eQ.ZP)(new eQ.aE(`Error deleting tag: ${(0,tD.get)(t,"error.data.error")}`)),null!=t.error&&(0,eQ.ZP)(new eQ.aE("Error deleting tag"))};return{tags:(null==s?void 0:s.items)??[],setTagFilter:a,tagsFetching:o,tagsLoading:l,handleTagUpdate:g,handleTagCreation:j,tagDeletion:v,getTag:p,rootTagFolder:n}};var gG=n(48538);let g$=()=>{let e=(0,dD.useAppDispatch)(),{tags:t,tagsFetching:n,tagsLoading:i,rootTagFolder:r,getTag:a,tagDeletion:s,setTagFilter:o,handleTagUpdate:l,handleTagCreation:d}=gW(),{confirm:c,input:m}=(0,hG.U8)(),[u,p]=(0,G.useState)(""),[h,g]=$().useState([0]);(0,G.useEffect)(()=>{n&&void 0===u?x():j()},[n]);let x=()=>{p(r.id.toString())},j=()=>{p(void 0)},v=(0,gN.h)({tags:t,loadingNodes:void 0!==u?new Set([u]):new Set,actions:[{key:"add-tag",icon:"new"},{key:"rename-tag",icon:"edit"},{key:"delete-tag",icon:"trash"}],rootActions:[{key:"add-tag",icon:"new"}]}),y=e=>{let t=a(e);return null==t?void(0,eQ.ZP)(new eQ.aE(`Tag with Id ${e} not found`)):t},f=(e,t)=>{let n=y(e);if(null!=n)switch(t){case"add-tag":m({title:(0,eU.t)("tag-configuration.new-tag"),label:(0,eU.t)("tag-configuration.name"),rule:{required:!0,message:"Please enter a tag name"},okText:(0,eU.t)("tag-configuration.create"),onOk:async e=>{p(n.id.toString()),await d(e,n.id)}});break;case"rename-tag":m({title:(0,eU.t)("tag-configuration.rename"),label:(0,eU.t)("tag-configuration.name"),rule:{required:!0,message:"Please enter a tag name"},okText:(0,eU.t)("tag-configuration.save"),initialValue:n.text,onOk:async e=>{p(n.id.toString()),await l(n.id,n.parentId,e)}});break;case"delete-tag":c({title:n.hasChildren?(0,eU.t)("tag-configuration.warn-delete-parent-tag-modal-title"):(0,eU.t)("tag-configuration.warn-delete-tag-modal-title"),content:n.hasChildren?(0,eU.t)("tag-configuration.warn-delete-parent-tag-modal-text"):(0,eU.t)("tag-configuration.warn-delete-tag-modal-text"),okText:n.hasChildren?(0,eU.t)("tag-configuration.delete-parent-tag"):(0,eU.t)("tag-configuration.delete-tag"),cancelText:(0,eU.t)("tag-configuration.cancel"),onOk:async()=>{p(n.id.toString()),await s(n.id)}})}};return(0,W.jsx)(iW.D,{renderToolbar:(0,W.jsx)(iF.o,{theme:"secondary",children:(0,W.jsx)(iP.h,{icon:{value:"refresh"},onClick:()=>{x(),e(gG.hi.util.invalidateTags(dq.xc.AVAILABLE_TAGS()))}})}),renderTopBar:(0,W.jsxs)(iF.o,{justify:"space-between",margin:{x:"mini",y:"none"},theme:"secondary",children:[(0,W.jsxs)(tf.k,{gap:"small",children:[(0,W.jsx)(gF.D,{children:(0,eU.t)("widget.tag-configuration")}),(0,W.jsx)(rS.W,{disabled:void 0!==u,icon:{value:"new"},onClick:()=>{f(r.id.toString(),"add-tag")},children:(0,eU.t)("tag-configuration.new")})]}),(0,W.jsx)(iG.M,{loading:n,onSearch:e=>{o(e)},placeholder:"Search",withPrefix:!1,withoutAddon:!1})]}),children:(0,W.jsx)(iH.V,{loading:i,margin:{x:"extra-small",y:"none"},none:0===t.length,children:(0,W.jsx)(hH._,{checkStrictly:!0,defaultExpandedKeys:h,draggable:!0,onActionsClick:f,onDragAndDrop:async e=>{p(e.dragNode.key.toString()),await l(Number(e.dragNode.key),Number(e.node.key))},onExpand:e=>{g(e)},treeData:v,withCustomSwitcherIcon:!0})})})};b._.registerModule({onInit:()=>{C.nC.get(H.j.mainNavRegistry).registerMainNavItem({path:"Settings/Tag Configuration",label:"navigation.tag-configuration",className:"item-style-modifier",permission:gR.P.TagsConfiguration,perspectivePermission:aW.TagConfiguration,widgetConfig:{name:"Tag Configuration",id:"tag-configuration",component:"tag-configuration",config:{translationKey:"widget.tag-configuration",icon:{type:"name",value:"tag-configuration"}}}}),C.nC.get(H.j.widgetManager).registerWidget({name:"tag-configuration",component:g$})}});let gU=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{table:n` - .ant-table { - .ant-table-tbody { - - .properties-table--actions-column { - align-items: center; - - .ant-btn-icon { - color: ${t.colorPrimary}; - - &:hover { - color: ${t.colorPrimaryHover}; - } - } - } - } - } - - .headline { - padding: ${t.paddingXS}px; - margin: 0; - } - `}});var gq=n(80174);let gJ=()=>{let[e,{isLoading:t}]=(0,gq.Hg)(),[n,{isLoading:i}]=(0,gq.b$)(),[r,{isLoading:a}]=(0,gq.ft)(),s=e=>({name:e.name??"",description:e.description??"",key:e.key??"",type:e.type??"",data:e.data??"",config:e.config??"",ctype:e.ctype??"",inheritable:e.inheritable});return{createNewProperty:async()=>{try{let t=await e();if("data"in t)return{success:!0,data:t.data}}catch(e){(0,eQ.ZP)(new eQ.aE("Was not able to create Property"))}return{success:!1}},createLoading:t,deletePropertyById:async e=>{try{let t=await n({id:e});return{success:"data"in t}}catch(e){return(0,eQ.ZP)(new eQ.aE("Was not able to delete Property")),{success:!1}}},deleteLoading:i,updatePropertyById:async(e,t)=>{try{let n=await r({id:e,updatePredefinedProperty:s(t)});return{success:"data"in n}}catch(e){return(0,eQ.ZP)(new eQ.aE("Was not able to update Property")),{success:!1}}},updateLoading:a}};var gZ=((f={}).Text="text",f.Document="document",f.Asset="asset",f.Object="object",f.Boolean="bool",f.Select="select",f);let gK=e=>{let{info:t,setPredefinedPropertyRows:n}=e,i=t.row.original.id,{deletePropertyById:r,deleteLoading:a}=gJ(),s=async()=>{let{success:e}=await r(i);e&&n(e=>e.filter(e=>e.id!==i))};return(0,W.jsxs)("div",{className:"properties-table--actions-column",children:[(0,W.jsx)(rd.IconButton,{icon:{value:"translate"},onClick:()=>{console.log("Open Translate View")},type:"link"}),(0,W.jsx)(rd.IconButton,{icon:{value:"trash"},loading:a,onClick:s,type:"link"})]})},gQ=e=>{let{predefinedPropertyRows:t,setPredefinedPropertyRows:n}=e,{t:i}=(0,eH.useTranslation)(),{styles:r}=gU(),{updatePropertyById:a}=gJ(),[s,o]=(0,G.useState)([]),l=(0,iS.createColumnHelper)(),d=[l.accessor("name",{header:i("properties.columns.name"),meta:{editable:!0},size:200}),l.accessor("description",{header:i("properties.columns.description"),meta:{editable:!0},size:200}),l.accessor("key",{header:i("properties.columns.key"),meta:{editable:!0},size:200}),l.accessor("type",{header:i("properties.columns.type"),meta:{type:"select",editable:!0,config:{options:Object.values(gZ)}},size:100}),l.accessor("data",{header:i("properties.columns.data"),meta:{editable:!0},size:150}),l.accessor("config",{header:i("properties.columns.configuration"),meta:{editable:!0},size:150}),l.accessor("ctype",{header:i("properties.columns.content-type"),meta:{type:"select",editable:!0,config:{options:rc.allLegacyElementTypes}},size:110}),l.accessor("inheritable",{header:i("properties.columns.inheritable"),size:95,meta:{type:"checkbox",editable:!0,config:{align:"center"}}}),l.accessor("actions",{header:i("properties.columns.actions"),size:80,cell:e=>(0,W.jsx)(gK,{info:e,setPredefinedPropertyRows:n})})],c=async e=>{let{columnId:t,value:i,rowData:r}=e,s=r.rowId,l={...r,[t]:i};n(e=>e.map(e=>e.rowId===s?l:e)),o([{columnId:t,rowIndex:s}]);let{success:d}=await a(l.id,l);d?o([]):n(e=>e.map(e=>e.rowId===s?r:e))};return(0,W.jsx)("div",{className:r.table,children:(0,W.jsx)(i$.r,{autoWidth:!0,columns:d,data:t,enableSorting:!0,modifiedCells:s,onUpdateCellData:c,resizable:!0,setRowId:e=>e.rowId})})};var gX=n(13966),gY=n(39679);let g0=()=>{let e=(0,dD.useAppDispatch)(),{createNewProperty:t,createLoading:n}=gJ(),{data:i,isLoading:r,isFetching:a,isError:s,error:o}=(0,gq.jo)({}),[l,d]=(0,G.useState)([]),c=null==i?void 0:i.items,m=[...l].sort((e,t)=>t.creationDate-e.creationDate);(0,G.useEffect)(()=>{(0,tD.isUndefined)(c)||d(c.map(e=>({...e,rowId:(0,gY.uuid)()})))},[c]);let u=async()=>{let{success:e,data:n}=await t();e&&void 0!==n&&d(e=>[{...n,rowId:(0,gY.uuid)()},...e])};return(0,G.useEffect)(()=>{s&&(0,eQ.ZP)(new eQ.MS(o))},[s]),(0,W.jsx)(iW.D,{renderToolbar:(0,W.jsx)(iF.o,{theme:"secondary",children:(0,W.jsx)(iP.h,{disabled:a,icon:{value:"refresh"},onClick:()=>e(gX.api.util.invalidateTags(dq.xc.GLOBAL_PROPERTIES()))})}),renderTopBar:(0,W.jsx)(iF.o,{justify:"space-between",margin:{x:"mini",y:"none"},theme:"secondary",children:(0,W.jsxs)(tf.k,{gap:"small",children:[(0,W.jsx)(gF.D,{children:(0,eU.t)("widget.predefined-properties")}),(0,W.jsx)(rd.IconTextButton,{disabled:r||n,icon:{value:"new"},loading:n,onClick:u,children:(0,eU.t)("predefined-properties.new")})]})}),children:(0,W.jsx)(iH.V,{loading:r||a,margin:{x:"extra-small",y:"none"},none:(0,tD.isUndefined)(c)||0===c.length,children:(0,W.jsx)(rd.Box,{margin:{x:"extra-small",y:"none"},children:(0,W.jsx)(gQ,{predefinedPropertyRows:m,setPredefinedPropertyRows:d})})})})};b._.registerModule({onInit:()=>{C.nC.get(H.j.mainNavRegistry).registerMainNavItem({path:"Settings/Predefined Properties",label:"navigation.predefined-properties",className:"item-style-modifier",permission:gR.P.PredefinedProperties,perspectivePermission:aW.PredefinedProperties,widgetConfig:{name:"Predefined Properties",id:"predefined-properties",component:"predefined-properties",config:{translationKey:"widget.predefined-properties",icon:{type:"name",value:"properties"}}}}),C.nC.get(H.j.widgetManager).registerWidget({name:"predefined-properties",component:g0})}});let g1=(0,eJ.createStyles)(e=>{let{token:t,css:n}=e;return{table:n` - .ant-table { - .ant-table-tbody { - - .properties-table--actions-column { - align-items: center; - - .ant-btn-icon { - color: ${t.colorPrimary}; - - &:hover { - color: ${t.colorPrimaryHover}; - } - } - } - } - } - - .headline { - padding: ${t.paddingXS}px; - margin: 0; - } - `,link:n` - gap: 8px; - width: 100%; - - .ant-tag { - margin-left: 5px; - height: fit-content; - overflow: hidden; - text-overflow: ellipsis; - max-width: 100%; - cursor: pointer; - }`}});var g3=n(76693),g2=n(45289);let g6=e=>{let{noteDetail:t,setNoteDetail:n}=e,{t:i}=(0,eH.useTranslation)(),r=function(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return(0,W.jsxs)(td.x,{margin:"small",children:[(0,W.jsx)(rZ.x,{children:t}),(0,W.jsx)(g3.K,{disabled:!0,value:e,...n?{autoSize:{maxRows:1,minRows:1}}:{size:"small"}})]})};return(0,W.jsx)(iT.u,{footer:(0,W.jsx)(W.Fragment,{}),onCancel:()=>{n(void 0)},onClose:()=>{n(void 0)},open:!(0,tD.isUndefined)(t),size:"L",title:i("notes-and-events-modal.detail-information"),children:(0,W.jsxs)(W.Fragment,{children:[r(t.type,i("notes-and-events.columns.type")),r(t.title,i("notes-and-events.columns.title")),r(t.description,i("notes-and-events.columns.description"),!1),t.data.length>0&&(0,W.jsx)(td.x,{margin:"small",children:(0,W.jsx)(g2.b,{note:t})}),(0,tD.isString)(t.userName)&&r(t.userName,i("notes-and-events.columns.user")),r((0,rQ.o0)({timestamp:t.date,dateStyle:"short",timeStyle:"short"}),i("notes-and-events.columns.date"))]})})},g4=e=>{let{notesAndEvents:t,notesAndEventsFetching:n}=e,{t:i}=(0,eH.useTranslation)(),{styles:r}=g1(),{openElement:a,mapToElementType:s}=(0,rH.f)(),[o,l]=(0,G.useState)([]),[d,c]=(0,G.useState)(void 0);(0,G.useEffect)(()=>{void 0!==t&&Array.isArray(t)&&l(m(t))},[t]);let m=e=>e.map(e=>({...e,fields:e.data.length,rowId:(0,ry.V)(),dateFormatted:(0,rQ.o0)({timestamp:e.date,dateStyle:"short",timeStyle:"short"})})),u=(0,iS.createColumnHelper)(),p=[u.accessor("type",{header:i("notes-and-events.columns.type"),size:100}),u.accessor(e=>({path:e.cPath,elementType:e.cType,id:e.cId}),{id:"element",header:i("notes-and-events.columns.element"),meta:{editable:!1,type:"element",config:{getElementInfo:e=>{let t=e.row.original;return{elementType:s(String(t.cType),!0),id:t.cId,fullPath:!(0,tD.isEmpty)(t.cPath)&&decodeURIComponent(String(t.cPath))}}}},size:300}),u.accessor("title",{header:i("notes-and-events.columns.title"),size:200}),u.accessor("description",{header:i("notes-and-events.columns.description"),meta:{autoWidth:!0}}),u.accessor("fields",{header:i("notes-and-events.columns.details"),size:70}),u.accessor("userName",{header:i("notes-and-events.columns.user"),size:120}),u.accessor("dateFormatted",{header:i("notes-and-events.columns.date"),size:120}),u.accessor("actions",{header:i("notes-and-events.columns.actions"),size:70,cell:e=>{let t=e.row.getValue("element"),n=s(t.elementType,!0),i=t.id;return(0,tD.isUndefined)(t.path)||""===t.path?(0,W.jsx)(tf.k,{align:"center",className:"w-full",children:(0,W.jsx)(iP.h,{icon:{value:"show-details"},onClick:async()=>{c(e.row.original)},type:"link"})}):(0,W.jsxs)(tf.k,{align:"center",className:"w-full",children:[(0,W.jsx)(iP.h,{icon:{value:"open-folder"},onClick:async()=>{(0,tD.isUndefined)(n)||await a({type:n,id:i})},type:"link"}),(0,W.jsx)(iP.h,{icon:{value:"show-details"},onClick:async()=>{c(e.row.original)},type:"link"})]})}})];return(0,W.jsxs)("div",{className:r.table,children:[void 0!==d&&(0,W.jsx)(g6,{noteDetail:d,setNoteDetail:c}),(0,W.jsx)(i$.r,{autoWidth:!0,columns:p,data:o,isLoading:n,modifiedCells:[],resizable:!0,setRowId:e=>e.rowId})]})},g8=()=>{let[e,t]=(0,G.useState)(""),[n,i]=(0,G.useState)(1),[r,a]=(0,G.useState)(20),s=(0,G.useMemo)(()=>({body:{page:n,pageSize:r,filter:e}}),[n,r,e]),{data:o,isLoading:l,isFetching:d}=(0,gG.hc)(s);return{totalItems:(null==o?void 0:o.totalItems)??0,notesAndEvents:(null==o?void 0:o.items)??[],isLoading:l,isFetching:d,page:n,setPage:i,pageSize:r,setPageSize:a,setFilter:t}},g7=()=>{let{t:e}=(0,eH.useTranslation)(),{totalItems:t,notesAndEvents:n,isLoading:i,isFetching:r,page:a,setPage:s,setPageSize:o,setFilter:l}=g8();return(0,W.jsx)(iW.D,{renderToolbar:0!==n.length?(0,W.jsx)(iF.o,{justify:"flex-end",theme:"secondary",children:(0,W.jsx)(iB.t,{current:a,onChange:(e,t)=>{s(e),o(t)},showSizeChanger:!0,showTotal:t=>e("pagination.show-total",{total:t}),total:t})}):void 0,renderTopBar:(0,W.jsxs)(iF.o,{justify:"space-between",margin:{x:"mini",y:"none"},theme:"secondary",children:[(0,W.jsx)(gF.D,{children:e("notes-and-events.label")}),(0,W.jsx)(iG.M,{loading:r,onSearch:e=>{l(e)},placeholder:"Search",withPrefix:!1,withoutAddon:!1})]}),children:(0,W.jsx)(iH.V,{loading:i,none:0===n.length,children:(0,W.jsx)(td.x,{margin:{x:"extra-small",y:"none"},children:(0,W.jsx)(g4,{notesAndEvents:n,notesAndEventsFetching:r})})})})};b._.registerModule({onInit:()=>{C.nC.get(H.j.mainNavRegistry).registerMainNavItem({path:"Tools/Notes & Events",label:"navigation.notes-and-events",className:"item-style-modifier",permission:gR.P.NotesAndEvents,perspectivePermission:aW.NotesAndEvents,widgetConfig:{name:"Notes & Events",id:"notes-and-events",component:"notes-and-events",config:{translationKey:"widget.notes-and-events",icon:{type:"name",value:"notes-events"}}}}),C.nC.get(H.j.widgetManager).registerWidget({name:"notes-and-events",component:g7})}});var g5=n(42782);let g9=()=>{let{openElement:e}=(0,rH.f)(),[t,{isLoading:n}]=(0,g5.Zm)(),i=async(n,i)=>{try{let r=await t({elementType:i,searchTerm:n}).unwrap();await e({id:r.id,type:i})}catch(e){(0,eQ.ZP)(new eQ.MS(e))}};return{openElementByPathOrId:async(e,t)=>{isNaN(Number(e))?"string"==typeof e&&await i(e,t):await i(e.toString(),t)},isLoading:n}},xe=e=>{let{elementType:t}=e,{openElementByPathOrId:n}=g9(),{t:i}=(0,eH.useTranslation)(),{input:r}=(0,hG.U8)(),a={"data-object":i("open-data-object.button"),asset:i("open-asset.button"),document:i("open-document.button")},s={"data-object":{title:i("open-data-object-modal.title"),label:i("open-data-object-modal.label"),requiredMessage:i("open-data-object-modal.required-message"),okText:i("open-data-object-modal.ok-button"),cancelText:i("open-data-object-modal.cancel-button")},asset:{title:i("open-asset-modal.title"),label:i("open-asset-modal.label"),requiredMessage:i("open-asset-modal.required-message"),okText:i("open-asset-modal.ok-button"),cancelText:i("open-asset-modal.cancel-button")},document:{title:i("open-document-modal.title"),label:i("open-document-modal.label"),requiredMessage:i("open-document-modal.required-message"),okText:i("open-document-modal.ok-button"),cancelText:i("open-document-modal.cancel-button")}}[t];return(0,W.jsx)("button",{className:"main-nav__list-btn",onClick:()=>{r({title:s.title,label:s.label,rule:{required:!0,message:s.requiredMessage},okText:s.okText,cancelText:s.cancelText,onOk:async e=>{await n(e,t)}})},children:a[t]})};b._.registerModule({onInit:()=>{let e=C.nC.get(H.j.mainNavRegistry);e.registerMainNavItem({path:"File/Open Asset",label:"navigation.open-asset",permission:gR.P.Assets,perspectivePermission:aW.OpenAsset,button:()=>$().createElement(xe,{elementType:"asset"})}),e.registerMainNavItem({path:"File/Open Document",label:"navigation.open-document",permission:gR.P.Documents,perspectivePermission:aW.OpenDocument,button:()=>$().createElement(xe,{elementType:"document"})}),e.registerMainNavItem({path:"File/Open Data Object",label:"navigation.open-data-object",permission:gR.P.Objects,perspectivePermission:aW.OpenObject,button:()=>$().createElement(xe,{elementType:"data-object"})})}});let xt=(0,eJ.createStyles)(e=>{let{css:t,token:n}=e;return{editor:t` - border: 1px solid ${n.colorBorder}; - padding: ${n.paddingSM}px; - border-radius: ${n.borderRadius}px; - min-height: 100px; - background-color: ${n.colorBgContainer}; - cursor: text; - - &[contenteditable='false'] { - background-color: ${n.colorBgContainerDisabled}; - cursor: not-allowed; - } - `}}),xn=(0,G.forwardRef)((e,t)=>{let{value:n,onChange:i,disabled:r,width:a}=e,s=(0,G.useRef)(null),{styles:o}=xt();return(0,G.useImperativeHandle)(t,()=>({onDrop:e=>{}})),(0,G.useEffect)(()=>{(0,tD.isNull)(s.current)||s.current.innerHTML===n||(s.current.innerHTML=n??"")},[n]),(0,W.jsx)("div",{children:(0,W.jsx)("div",{className:o.editor,contentEditable:!0!==r,onInput:e=>{null!=i&&i(e.currentTarget.innerHTML)},ref:s,style:{maxWidth:(0,tS.s)(a)}})})});xn.displayName="DefaultWysiwygEditor",b._.registerModule({onInit:()=>{C.nC.get(H.j["App/ComponentRegistry/ComponentRegistry"]).register({name:A.O8.wysiwyg.editor.name,component:xn})}})},78618:function(e,t,n){n.d(t,{k:()=>c});var i=n(85893),r=n(81004),a=n.n(r),s=n(53429),o=n(40483),l=n(53478),d=n(40779);let c=e=>{let{editableDefinition:t}=e,n=(0,o.useInjection)(o.serviceIds["DynamicTypes/DocumentEditableRegistry"]),r=n.hasDynamicType(t.type)?n.getDynamicType(t.type):void 0;return(0,l.isNil)(r)?(0,i.jsx)(s.Alert,{message:(0,i.jsxs)(i.Fragment,{children:['Editable type "',t.type,'" not found:',(0,i.jsx)("p",{children:JSON.stringify(t)})]}),type:"warning"}):(0,i.jsx)(s.DragAndDropContextProvider,{children:(0,i.jsx)(d.ElementSelectorProvider,{children:(0,i.jsx)(d.FieldWidthProvider,{children:a().cloneElement(r.getEditableDataComponent(t),{value:t.data,onChange:e=>{console.log(`Editable ${t.id} changed to`,e)}})})})})}},42782:function(e,t,n){n.d(t,{HZ:()=>s,Js:()=>o,Kr:()=>c,RA:()=>d,Zm:()=>u,aU:()=>l,hx:()=>m,um:()=>a});var i=n(18576),r=n(96068);let{useElementDeleteMutation:a,useElementGetDeleteInfoQuery:s,useElementFolderCreateMutation:o,useElementGetContextPermissionsQuery:l,useElementGetIdByPathQuery:d,useElementGetSubtypeQuery:c,useElementResolveBySearchTermQuery:m,useLazyElementResolveBySearchTermQuery:u}=i.hi.enhanceEndpoints({addTagTypes:[r.fV.DATA_OBJECT_DETAIL,r.fV.ASSET_DETAIL],endpoints:{elementDelete:{invalidatesTags:(e,t,n)=>r.xc.ELEMENT_DETAIL(n.elementType,n.id)}}})},80090:function(e,t,n){n.d(t,{W:()=>a});var i=n(28395),r=n(60476);class a{register(e){let{name:t,component:n}=e;this.icons.set(t,n)}get(e){return this.icons.get(e)}getIcons(){return this.icons}constructor(){this.icons=new Map}}a=(0,i.gn)([(0,r.injectable)()],a)},64435:function(e,t,n){n.d(t,{o:()=>R});var i=n(85893),r=n(81004),a=n(40483);let{useUserCloneByIdMutation:s,useUserCreateMutation:o,useUserFolderCreateMutation:l,useUserGetCurrentInformationQuery:d,useUserGetByIdQuery:c,useUserUpdateByIdMutation:m,useUserDeleteByIdMutation:u,useUserFolderDeleteByIdMutation:p,useUserDefaultKeyBindingsQuery:h,useUserGetAvailablePermissionsQuery:g,useUserGetCollectionQuery:x,useUserResetPasswordMutation:j,usePimcoreStudioApiUserSearchQuery:v,useUserUpdateActivePerspectiveMutation:y,useUserUpdatePasswordByIdMutation:f,useUserUpdateProfileMutation:w,useUserUploadImageMutation:b,useUserGetImageQuery:C,useUserGetTreeQuery:k}=n(42125).api.enhanceEndpoints({addTagTypes:["User Management"]}).injectEndpoints({endpoints:e=>({userCloneById:e.mutation({query:e=>({url:`/pimcore-studio/api/user/clone/${e.id}`,method:"POST",body:e.body}),invalidatesTags:["User Management"]}),userCreate:e.mutation({query:e=>({url:"/pimcore-studio/api/user/",method:"POST",body:e.body}),invalidatesTags:["User Management"]}),userFolderCreate:e.mutation({query:e=>({url:"/pimcore-studio/api/user/folder",method:"POST",body:e.body}),invalidatesTags:["User Management"]}),userGetCurrentInformation:e.query({query:()=>({url:"/pimcore-studio/api/user/current-user-information"}),providesTags:["User Management"]}),userGetById:e.query({query:e=>({url:`/pimcore-studio/api/user/${e.id}`}),providesTags:["User Management"]}),userUpdateById:e.mutation({query:e=>({url:`/pimcore-studio/api/user/${e.id}`,method:"PUT",body:e.updateUser}),invalidatesTags:["User Management"]}),userDeleteById:e.mutation({query:e=>({url:`/pimcore-studio/api/user/${e.id}`,method:"DELETE"}),invalidatesTags:["User Management"]}),userFolderDeleteById:e.mutation({query:e=>({url:`/pimcore-studio/api/user/folder/${e.id}`,method:"DELETE"}),invalidatesTags:["User Management"]}),userDefaultKeyBindings:e.query({query:()=>({url:"/pimcore-studio/api/users/default-key-bindings"}),providesTags:["User Management"]}),userGetAvailablePermissions:e.query({query:()=>({url:"/pimcore-studio/api/user/available-permissions"}),providesTags:["User Management"]}),userGetCollection:e.query({query:()=>({url:"/pimcore-studio/api/users"}),providesTags:["User Management"]}),userResetPassword:e.mutation({query:e=>({url:"/pimcore-studio/api/user/reset-password",method:"POST",body:e.resetPassword}),invalidatesTags:["User Management"]}),pimcoreStudioApiUserSearch:e.query({query:e=>({url:"/pimcore-studio/api/user/search",params:{searchQuery:e.searchQuery}}),providesTags:["User Management"]}),userUpdateActivePerspective:e.mutation({query:e=>({url:`/pimcore-studio/api/user/active-perspective/${e.perspectiveId}`,method:"PUT"}),invalidatesTags:["User Management"]}),userUpdatePasswordById:e.mutation({query:e=>({url:`/pimcore-studio/api/user/${e.id}/password`,method:"PUT",body:e.body}),invalidatesTags:["User Management"]}),userUpdateProfile:e.mutation({query:e=>({url:"/pimcore-studio/api/user/update-profile",method:"PUT",body:e.updateUserProfile}),invalidatesTags:["User Management"]}),userUploadImage:e.mutation({query:e=>({url:`/pimcore-studio/api/user/upload-image/${e.id}`,method:"POST",body:e.body}),invalidatesTags:["User Management"]}),userGetImage:e.query({query:e=>({url:`/pimcore-studio/api/user/image/${e.id}`}),providesTags:["User Management"]}),userGetTree:e.query({query:e=>({url:"/pimcore-studio/api/users/tree",params:{parentId:e.parentId}}),providesTags:["User Management"]})}),overrideExisting:!1});var T=n(70912),D=n(98482),S=n(94629),M=n(35316),L=n(48497),I=n(37021),E=n(55721),_=n(53478),z=n(26788),O=n(71695),P=n(60944),V=n(45980),A=n(68686),B=n(84901);let R=()=>{let e=(0,a.useAppDispatch)(),t=(0,L.a)(),[n]=y(),[s,o]=(0,r.useState)(!1),{modal:l}=z.App.useApp(),{t:d}=(0,O.useTranslation)(),c=async t=>{let n=e(I.hi.endpoints.perspectiveGetConfigById.initiate({perspectiveId:t}));return n.then(t=>{let{data:n,isSuccess:i,isError:r,error:a}=t;r&&(0,E.ZP)(new E.MS(a)),i&&(0,_.isPlainObject)(n)&&(e((0,T.ZX)(n)),e((0,D.jy)((0,S.i)())))}).catch(()=>{}),await n};return{switchPerspective:async r=>{o(!0);let a=l.info({title:(0,i.jsxs)(A.k,{align:"center",gap:"small",children:[(0,i.jsx)(V.y,{type:"classic"}),d("perspective.switching.title")]}),content:(0,i.jsxs)("div",{children:[(0,i.jsxs)(B.x,{margin:{bottom:"small"},children:[d("perspective.switching.description"),":"]}),(0,i.jsx)(P.W,{color:"primary",icon:r.icon,variant:"filled",children:d(r.name)})]}),footer:!1}),s=r.id,m=await n({perspectiveId:s});(0,_.isUndefined)(m.error)?(await c(s),e((0,M.av)({...t,activePerspective:s}))):(0,E.ZP)(new E.MS(m.error)),o(!1),setTimeout(()=>{a.destroy()},500)},loadPerspective:c,getPerspectiveConfigCollection:async()=>{let{data:t,isError:n,error:i}=await e(I.hi.endpoints.perspectiveGetConfigCollection.initiate());return n&&(0,E.ZP)(new E.MS(i)),t},isLoading:s}}},37021:function(e,t,n){n.d(t,{CX:()=>u,LA:()=>r,OE:()=>p,Rs:()=>h,UN:()=>x,V9:()=>o,YI:()=>m,hi:()=>a,iP:()=>g,jc:()=>c,oT:()=>d,qk:()=>s,wc:()=>l});var i=n(42125);let r=["Perspectives"],a=i.api.enhanceEndpoints({addTagTypes:r}).injectEndpoints({endpoints:e=>({perspectiveCreate:e.mutation({query:e=>({url:"/pimcore-studio/api/perspectives/configuration",method:"POST",body:e.addPerspectiveConfig}),invalidatesTags:["Perspectives"]}),perspectiveGetConfigCollection:e.query({query:()=>({url:"/pimcore-studio/api/perspectives/configurations"}),providesTags:["Perspectives"]}),perspectiveGetConfigById:e.query({query:e=>({url:`/pimcore-studio/api/perspectives/configuration/${e.perspectiveId}`}),providesTags:["Perspectives"]}),perspectiveUpdateConfigById:e.mutation({query:e=>({url:`/pimcore-studio/api/perspectives/configuration/${e.perspectiveId}`,method:"PUT",body:e.savePerspectiveConfig}),invalidatesTags:["Perspectives"]}),perspectiveDelete:e.mutation({query:e=>({url:`/pimcore-studio/api/perspectives/configuration/${e.perspectiveId}`,method:"DELETE"}),invalidatesTags:["Perspectives"]}),perspectiveWidgetCreate:e.mutation({query:e=>({url:`/pimcore-studio/api/perspectives/widgets/${e.widgetType}/configuration`,method:"POST",body:e.body}),invalidatesTags:["Perspectives"]}),perspectiveWidgetGetConfigCollection:e.query({query:()=>({url:"/pimcore-studio/api/perspectives/widgets/configurations"}),providesTags:["Perspectives"]}),perspectiveWidgetGetConfigById:e.query({query:e=>({url:`/pimcore-studio/api/perspectives/widgets/${e.widgetType}/configuration/${e.widgetId}`}),providesTags:["Perspectives"]}),perspectiveWidgetUpdateConfigById:e.mutation({query:e=>({url:`/pimcore-studio/api/perspectives/widgets/${e.widgetType}/configuration/${e.widgetId}`,method:"PUT",body:e.body}),invalidatesTags:["Perspectives"]}),perspectiveWidgetDelete:e.mutation({query:e=>({url:`/pimcore-studio/api/perspectives/widgets/${e.widgetType}/configuration/${e.widgetId}`,method:"DELETE"}),invalidatesTags:["Perspectives"]}),perspectiveWidgetGetTypeCollection:e.query({query:()=>({url:"/pimcore-studio/api/perspectives/widgets/types"}),providesTags:["Perspectives"]})}),overrideExisting:!1}),{usePerspectiveCreateMutation:s,usePerspectiveGetConfigCollectionQuery:o,usePerspectiveGetConfigByIdQuery:l,usePerspectiveUpdateConfigByIdMutation:d,usePerspectiveDeleteMutation:c,usePerspectiveWidgetCreateMutation:m,usePerspectiveWidgetGetConfigCollectionQuery:u,usePerspectiveWidgetGetConfigByIdQuery:p,usePerspectiveWidgetUpdateConfigByIdMutation:h,usePerspectiveWidgetDeleteMutation:g,usePerspectiveWidgetGetTypeCollectionQuery:x}=a},12119:function(e,t,n){n.d(t,{Z:()=>p,F:()=>u});var i=n(85893),r=n(81004),a=n(62056),s=n(15688),o=n(7594),l=n(20511),d=n(58793),c=n.n(d);let m=(0,r.forwardRef)(function(e,t){let{getStateClasses:n}=(0,l.Z)();return(0,r.useEffect)(()=>{},[e.editorProps]),(0,i.jsx)("div",{className:c()(...n()),ref:t,children:(0,i.jsx)(o.OR,{component:o.O8.wysiwyg.editor.name,props:{...e.editorProps}})})});m.displayName="WysiwygEditor";let u=e=>{let t=(0,r.useRef)(null);return(0,i.jsx)(a.b,{isValidContext:t=>!0!==e.disabled&&(0,s.iY)(t.type),isValidData:()=>!0,onDrop:e=>{var n,i;null==(i=t.current)||null==(n=i.onDrop)||n.call(i,e)},children:(0,i.jsx)(m,{editorProps:{...e,ref:t}})})},p=u},86167:function(e,t,n){n.d(t,{t:()=>i});function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(0===e)return"0 B";let n=["B","KB","MB","GB","TB"],i=Math.floor(Math.log(e)/Math.log(1e3));return e/=Math.pow(1e3,i=Math.min(i,n.length-1)),`${e.toFixed(t)} ${n[i]}`}},41588:function(e,t,n){n.d(t,{I:()=>i});function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[""],n=[];for(let i of e)t.includes(i.value)||n.push(`${i.key}=${i.value}`);return n.join("&")}},13966:function(e,t,n){n.r(t),n.d(t,{api:()=>i.hi,usePropertyDeleteMutation:()=>i.b$,usePropertyGetCollectionForElementByTypeAndIdQuery:()=>i.y8,usePropertyGetCollectionQuery:()=>i.jo,usePropertyUpdateMutation:()=>i.ft});var i=n(84680);void 0!==(e=n.hmd(e)).hot&&e.hot.accept()},24853:function(e,t,n){n.r(t),n.d(t,{Wysiwyg:()=>i.F});var i=n(12119);void 0!==(e=n.hmd(e)).hot&&e.hot.accept()},39679:function(e,t,n){n.r(t),n.d(t,{useClickOutside:()=>j.O,respectLineBreak:()=>m.MT,useCssContainer:()=>v.F,onKeyEnterExecuteClick:()=>m.zu,toCssDimension:()=>r.s,formatDataUnit:()=>l.t,saveFileLocal:()=>c.K,isSet:()=>m.DM,formatNumber:()=>u.u,uuid:()=>x.V,useServerSideEvent:()=>f.L,formatCurrency:()=>o,buildQueryString:()=>h.I,compose:()=>i.q,formatDate:()=>d.p6,fetchBlobWithPolling:()=>p.s,formatTime:()=>d.mr,formatDateTime:()=>d.o0,replaceFileEnding:()=>c.B,usePrevious:()=>y.D,formatRelativeTime:()=>g});var i=n(32221),r=n(30295),a=n(45628),s=n.n(a);function o(e){let{value:t,lng:n,options:i}=e;return void 0===n&&(n=s().language),s().format(t,"currency",n,{style:"currency",currency:"EUR",...i})}var l=n(86167),d=n(15391),c=n(42962),m=n(66003),u=n(59021),p=n(63739),h=n(41588);function g(e){let{value:t,unit:n,lng:i,options:r}=e;return void 0===i&&(i=s().language),new Intl.RelativeTimeFormat(i,r).format(t,n)}var x=n(26254),j=n(9149),v=n(94047);n(51776),n(35621);var y=n(12556),f=n(54275);void 0!==(e=n.hmd(e)).hot&&e.hot.accept()},85308:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(55572),t)},55572:function(e,t,n){var i=n(73364);Object.prototype.hasOwnProperty.call(i,"__proto__")&&!Object.prototype.hasOwnProperty.call(t,"__proto__")&&Object.defineProperty(t,"__proto__",{enumerable:!0,value:i.__proto__}),Object.keys(i).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||(t[e]=i[e])})}}]); \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3066.9cd9ccd8.js.LICENSE.txt b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3066.9cd9ccd8.js.LICENSE.txt deleted file mode 100644 index 9156a8b152..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3066.9cd9ccd8.js.LICENSE.txt +++ /dev/null @@ -1,25 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ - -/** - * This source file is available under the terms of the - * Pimcore Open Core License (POCL) - * Full copyright and license information is available in - * LICENSE.md which is distributed with this source code. - * - * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * @license Pimcore Open Core License (POCL) - */ - -/**![user](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg1OC41IDc2My42YTM3NCAzNzQgMCAwMC04MC42LTExOS41IDM3NS42MyAzNzUuNjMgMCAwMC0xMTkuNS04MC42Yy0uNC0uMi0uOC0uMy0xLjItLjVDNzE5LjUgNTE4IDc2MCA0NDQuNyA3NjAgMzYyYzAtMTM3LTExMS0yNDgtMjQ4LTI0OFMyNjQgMjI1IDI2NCAzNjJjMCA4Mi43IDQwLjUgMTU2IDEwMi44IDIwMS4xLS40LjItLjguMy0xLjIuNS00NC44IDE4LjktODUgNDYtMTE5LjUgODAuNmEzNzUuNjMgMzc1LjYzIDAgMDAtODAuNiAxMTkuNUEzNzEuNyAzNzEuNyAwIDAwMTM2IDkwMS44YTggOCAwIDAwOCA4LjJoNjBjNC40IDAgNy45LTMuNSA4LTcuOCAyLTc3LjIgMzMtMTQ5LjUgODcuOC0yMDQuMyA1Ni43LTU2LjcgMTMyLTg3LjkgMjEyLjItODcuOXMxNTUuNSAzMS4yIDIxMi4yIDg3LjlDNzc5IDc1Mi43IDgxMCA4MjUgODEyIDkwMi4yYy4xIDQuNCAzLjYgNy44IDggNy44aDYwYTggOCAwIDAwOC04LjJjLTEtNDcuOC0xMC45LTk0LjMtMjkuNS0xMzguMnpNNTEyIDUzNGMtNDUuOSAwLTg5LjEtMTcuOS0xMjEuNi01MC40UzM0MCA0MDcuOSAzNDAgMzYyYzAtNDUuOSAxNy45LTg5LjEgNTAuNC0xMjEuNlM0NjYuMSAxOTAgNTEyIDE5MHM4OS4xIDE3LjkgMTIxLjYgNTAuNFM2ODQgMzE2LjEgNjg0IDM2MmMwIDQ1LjktMTcuOSA4OS4xLTUwLjQgMTIxLjZTNTU3LjkgNTM0IDUxMiA1MzR6IiAvPjwvc3ZnPg==) */ \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3948.ca4bddea.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3948.ca4bddea.js deleted file mode 100644 index 62b132c580..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3948.ca4bddea.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 3948.ca4bddea.js.LICENSE.txt */ -(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["3948"],{96486:function(n,t,r){n=r.nmd(n),(function(){var e,u="Expected a function",i="__lodash_hash_undefined__",o="__lodash_placeholder__",f=1/0,a=0/0,c=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",s="[object Array]",h="[object Boolean]",p="[object Date]",v="[object Error]",_="[object Function]",g="[object GeneratorFunction]",y="[object Map]",d="[object Number]",b="[object Object]",w="[object Promise]",m="[object RegExp]",x="[object Set]",j="[object String]",A="[object Symbol]",k="[object WeakMap]",O="[object ArrayBuffer]",I="[object DataView]",R="[object Float32Array]",z="[object Float64Array]",E="[object Int8Array]",S="[object Int16Array]",C="[object Int32Array]",W="[object Uint8Array]",L="[object Uint8ClampedArray]",U="[object Uint16Array]",B="[object Uint32Array]",T=/\b__p \+= '';/g,$=/\b(__p \+=) '' \+/g,D=/(__e\(.*?\)|\b__t\)) \+\n'';/g,M=/&(?:amp|lt|gt|quot|#39);/g,F=/[&<>"']/g,N=RegExp(M.source),P=RegExp(F.source),q=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,K=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,G=/^\w*$/,H=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,J=/[\\^$.*+?()[\]{}|]/g,Y=RegExp(J.source),Q=/^\s+/,X=/\s/,nn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,nt=/\{\n\/\* \[wrapped with (.+)\] \*/,nr=/,? & /,ne=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,nu=/[()=,{}\[\]\/\s]/,ni=/\\(\\)?/g,no=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,nf=/\w*$/,na=/^[-+]0x[0-9a-f]+$/i,nc=/^0b[01]+$/i,nl=/^\[object .+?Constructor\]$/,ns=/^0o[0-7]+$/i,nh=/^(?:0|[1-9]\d*)$/,np=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,nv=/($^)/,n_=/['\n\r\u2028\u2029\\]/g,ng="\ud800-\udfff",ny="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",nd="\\u2700-\\u27bf",nb="a-z\\xdf-\\xf6\\xf8-\\xff",nw="A-Z\\xc0-\\xd6\\xd8-\\xde",nm="\\ufe0e\\ufe0f",nx="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",nj="['’]",nA="["+nx+"]",nk="["+ny+"]",nO="["+nb+"]",nI="[^"+ng+nx+"\\d+"+nd+nb+nw+"]",nR="\ud83c[\udffb-\udfff]",nz="[^"+ng+"]",nE="(?:\ud83c[\udde6-\uddff]){2}",nS="[\ud800-\udbff][\udc00-\udfff]",nC="["+nw+"]",nW="\\u200d",nL="(?:"+nO+"|"+nI+")",nU="(?:"+nC+"|"+nI+")",nB="(?:"+nj+"(?:d|ll|m|re|s|t|ve))?",nT="(?:"+nj+"(?:D|LL|M|RE|S|T|VE))?",n$="(?:"+nk+"|"+nR+")?",nD="["+nm+"]?",nM="(?:"+nW+"(?:"+[nz,nE,nS].join("|")+")"+nD+n$+")*",nF=nD+n$+nM,nN="(?:"+["["+nd+"]",nE,nS].join("|")+")"+nF,nP="(?:"+[nz+nk+"?",nk,nE,nS,"["+ng+"]"].join("|")+")",nq=RegExp(nj,"g"),nZ=RegExp(nk,"g"),nK=RegExp(nR+"(?="+nR+")|"+nP+nF,"g"),nV=RegExp([nC+"?"+nO+"+"+nB+"(?="+[nA,nC,"$"].join("|")+")",nU+"+"+nT+"(?="+[nA,nC+nL,"$"].join("|")+")",nC+"?"+nL+"+"+nB,nC+"+"+nT,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",nN].join("|"),"g"),nG=RegExp("["+nW+ng+ny+nm+"]"),nH=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nJ=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],nY=-1,nQ={};nQ[R]=nQ[z]=nQ[E]=nQ[S]=nQ[C]=nQ[W]=nQ[L]=nQ[U]=nQ[B]=!0,nQ[l]=nQ[s]=nQ[O]=nQ[h]=nQ[I]=nQ[p]=nQ[v]=nQ[_]=nQ[y]=nQ[d]=nQ[b]=nQ[m]=nQ[x]=nQ[j]=nQ[k]=!1;var nX={};nX[l]=nX[s]=nX[O]=nX[I]=nX[h]=nX[p]=nX[R]=nX[z]=nX[E]=nX[S]=nX[C]=nX[y]=nX[d]=nX[b]=nX[m]=nX[x]=nX[j]=nX[A]=nX[W]=nX[L]=nX[U]=nX[B]=!0,nX[v]=nX[_]=nX[k]=!1;var n0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},n1=parseFloat,n2=parseInt,n3="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,n8="object"==typeof self&&self&&self.Object===Object&&self,n6=n3||n8||Function("return this")(),n4=t&&!t.nodeType&&t,n9=n4&&n&&!n.nodeType&&n,n5=n9&&n9.exports===n4,n7=n5&&n3.process,tn=function(){try{var n=n9&&n9.require&&n9.require("util").types;if(n)return n;return n7&&n7.binding&&n7.binding("util")}catch(n){}}(),tt=tn&&tn.isArrayBuffer,tr=tn&&tn.isDate,te=tn&&tn.isMap,tu=tn&&tn.isRegExp,ti=tn&&tn.isSet,to=tn&&tn.isTypedArray;function tf(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function ta(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u-1}function tp(n,t,r){for(var e=-1,u=null==n?0:n.length;++e-1;);return r}function tB(n,t){for(var r=n.length;r--&&tx(t,n[r],0)>-1;);return r}var tT=tI({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),t$=tI({"&":"&","<":"<",">":">",'"':""","'":"'"});function tD(n){return"\\"+n0[n]}function tM(n){return nG.test(n)}function tF(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n]}),r}function tN(n,t){return function(r){return n(t(r))}}function tP(n,t){for(var r=-1,e=n.length,u=0,i=[];++r",""":'"',"'":"'"}),tH=function n(t){var r,X,ng,ny,nd=(t=null==t?n6:tH.defaults(n6.Object(),t,tH.pick(n6,nJ))).Array,nb=t.Date,nw=t.Error,nm=t.Function,nx=t.Math,nj=t.Object,nA=t.RegExp,nk=t.String,nO=t.TypeError,nI=nd.prototype,nR=nm.prototype,nz=nj.prototype,nE=t["__core-js_shared__"],nS=nR.toString,nC=nz.hasOwnProperty,nW=0,nL=(r=/[^.]+$/.exec(nE&&nE.keys&&nE.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",nU=nz.toString,nB=nS.call(nj),nT=n6._,n$=nA("^"+nS.call(nC).replace(J,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nD=n5?t.Buffer:e,nM=t.Symbol,nF=t.Uint8Array,nN=nD?nD.allocUnsafe:e,nP=tN(nj.getPrototypeOf,nj),nK=nj.create,nG=nz.propertyIsEnumerable,n0=nI.splice,n3=nM?nM.isConcatSpreadable:e,n8=nM?nM.iterator:e,n4=nM?nM.toStringTag:e,n9=function(){try{var n=uh(nj,"defineProperty");return n({},"",{}),n}catch(n){}}(),n7=t.clearTimeout!==n6.clearTimeout&&t.clearTimeout,tn=nb&&nb.now!==n6.Date.now&&nb.now,tb=t.setTimeout!==n6.setTimeout&&t.setTimeout,tI=nx.ceil,tJ=nx.floor,tY=nj.getOwnPropertySymbols,tQ=nD?nD.isBuffer:e,tX=t.isFinite,t0=nI.join,t1=tN(nj.keys,nj),t2=nx.max,t3=nx.min,t8=nb.now,t6=t.parseInt,t4=nx.random,t9=nI.reverse,t5=uh(t,"DataView"),t7=uh(t,"Map"),rn=uh(t,"Promise"),rt=uh(t,"Set"),rr=uh(t,"WeakMap"),re=uh(nj,"create"),ru=rr&&new rr,ri={},ro=uT(t5),rf=uT(t7),ra=uT(rn),rc=uT(rt),rl=uT(rr),rs=nM?nM.prototype:e,rh=rs?rs.valueOf:e,rp=rs?rs.toString:e;function rv(n){if(iG(n)&&!iT(n)&&!(n instanceof rd)){if(n instanceof ry)return n;if(nC.call(n,"__wrapped__"))return u$(n)}return new ry(n)}var r_=function(){function n(){}return function(t){if(!iV(t))return{};if(nK)return nK(t);n.prototype=t;var r=new n;return n.prototype=e,r}}();function rg(){}function ry(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=e}function rd(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=0xffffffff,this.__views__=[]}function rb(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t-1},rw.prototype.set=function(n,t){var r=this.__data__,e=rR(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},rm.prototype.clear=function(){this.size=0,this.__data__={hash:new rb,map:new(t7||rw),string:new rb}},rm.prototype.delete=function(n){var t=ul(this,n).delete(n);return this.size-=!!t,t},rm.prototype.get=function(n){return ul(this,n).get(n)},rm.prototype.has=function(n){return ul(this,n).has(n)},rm.prototype.set=function(n,t){var r=ul(this,n),e=r.size;return r.set(n,t),this.size+=+(r.size!=e),this},rx.prototype.add=rx.prototype.push=function(n){return this.__data__.set(n,i),this},rx.prototype.has=function(n){return this.__data__.has(n)};function rO(n,t,r){(e===r||iW(n[t],r))&&(e!==r||t in n)||rS(n,t,r)}function rI(n,t,r){var u=n[t];nC.call(n,t)&&iW(u,r)&&(e!==r||t in n)||rS(n,t,r)}function rR(n,t){for(var r=n.length;r--;)if(iW(n[r][0],t))return r;return -1}function rz(n,t,r,e){return r$(n,function(n,u,i){t(e,n,r(n),i)}),e}function rE(n,t){return n&&eF(t,ov(t),n)}function rS(n,t,r){"__proto__"==t&&n9?n9(n,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):n[t]=r}function rC(n,t){for(var r=-1,u=t.length,i=nd(u),o=null==n;++r=t?n:t)),n}function rL(n,t,r,u,i,o){var f,a=1&t,c=2&t,s=4&t;if(r&&(f=i?r(n,u,i,o):r(n)),e!==f)return f;if(!iV(n))return n;var v=iT(n);if(v){if(k=(w=n).length,T=new w.constructor(k),k&&"string"==typeof w[0]&&nC.call(w,"index")&&(T.index=w.index,T.input=w.input),f=T,!a)return eM(n,f)}else{var w,k,T,$,D,M,F,N,P=u_(n),q=P==_||P==g;if(iF(n))return eL(n,a);if(P==b||P==l||q&&!i){if(f=c||q?{}:uy(n),!a){return c?($=n,D=(N=f)&&eF(n,o_(n),N),eF($,uv($),D)):(M=n,F=rE(f,n),eF(M,up(M),F))}}else{if(!nX[P])return i?n:{};f=function(n,t,r){var e,u,i=n.constructor;switch(t){case O:return eU(n);case h:case p:return new i(+n);case I:return e=r?eU(n.buffer):n.buffer,new n.constructor(e,n.byteOffset,n.byteLength);case R:case z:case E:case S:case C:case W:case L:case U:case B:return eB(n,r);case y:return new i;case d:case j:return new i(n);case m:return(u=new n.constructor(n.source,nf.exec(n))).lastIndex=n.lastIndex,u;case x:return new i;case A:return rh?nj(rh.call(n)):{}}}(n,P,a)}}o||(o=new rj);var Z=o.get(n);if(Z)return Z;o.set(n,f),iX(n)?n.forEach(function(e){f.add(rL(e,t,r,e,n,o))}):iH(n)&&n.forEach(function(e,u){f.set(u,rL(e,t,r,u,n,o))});var K=s?c?ui:uu:c?o_:ov,V=v?e:K(n);return tc(V||n,function(e,u){V&&(e=n[u=e]),rI(f,u,rL(e,t,r,u,n,o))}),f}function rU(n,t,r){var u=r.length;if(null==n)return!u;for(n=nj(n);u--;){var i=r[u],o=t[i],f=n[i];if(e===f&&!(i in n)||!o(f))return!1}return!0}function rB(n,t,r){if("function"!=typeof n)throw new nO(u);return uE(function(){n.apply(e,r)},t)}function rT(n,t,r,e){var u=-1,i=th,o=!0,f=n.length,a=[],c=t.length;if(!f)return a;r&&(t=tv(t,tC(r))),e?(i=tp,o=!1):t.length>=200&&(i=tL,o=!1,t=new rx(t));n:for(;++u0&&r(f)?t>1?rP(f,t-1,r,e,u):t_(u,f):e||(u[u.length]=f)}return u}var rq=eZ(),rZ=eZ(!0);function rK(n,t){return n&&rq(n,t,ov)}function rV(n,t){return n&&rZ(n,t,ov)}function rG(n,t){return ts(t,function(t){return iq(n[t])})}function rH(n,t){t=eS(t,n);for(var r=0,u=t.length;null!=n&&rt}function rX(n,t){return null!=n&&nC.call(n,t)}function r0(n,t){return null!=n&&t in nj(n)}function r1(n,t,r){for(var u=r?tp:th,i=n[0].length,o=n.length,f=o,a=nd(o),c=1/0,l=[];f--;){var s=n[f];f&&t&&(s=tv(s,tC(t))),c=t3(s.length,c),a[f]=!r&&(t||i>=120&&s.length>=120)?new rx(f&&s):e}s=n[0];var h=-1,p=a[0];n:for(;++h=f)return a;return a*("desc"==r[e]?-1:1)}}return n.index-t.index}(n,t,r)});i--;)u[i]=u[i].value;return u}function eo(n,t,r){for(var e=-1,u=t.length,i={};++e-1;)f!==n&&n0.call(f,a,1),n0.call(n,a,1);return n}function ea(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;ub(u)?n0.call(n,u,1):ej(n,u)}}return n}function ec(n,t){return n+tJ(t4()*(t-n+1))}function el(n,t){var r="";if(!n||t<1||t>0x1fffffffffffff)return r;do t%2&&(r+=n),(t=tJ(t/2))&&(n+=n);while(t);return r}function es(n,t){return uS(uO(n,t,oM),n+"")}function eh(n,t,r,u){if(!iV(n))return n;t=eS(t,n);for(var i=-1,o=t.length,f=o-1,a=n;null!=a&&++iu?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=nd(u);++e>>1,o=n[i];null!==o&&!i1(o)&&(r?o<=t:o=200){var c=t?null:e4(n);if(c)return tq(c);o=!1,u=tL,a=new rx}else a=t?[]:f;n:for(;++e=u?n:e_(n,t,r)}var eW=n7||function(n){return n6.clearTimeout(n)};function eL(n,t){if(t)return n.slice();var r=n.length,e=nN?nN(r):new n.constructor(r);return n.copy(e),e}function eU(n){var t=new n.constructor(n.byteLength);return new nF(t).set(new nF(n)),t}function eB(n,t){var r=t?eU(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function eT(n,t){if(n!==t){var r=e!==n,u=null===n,i=n==n,o=i1(n),f=e!==t,a=null===t,c=t==t,l=i1(t);if(!a&&!l&&!o&&n>t||o&&f&&c&&!a&&!l||u&&f&&c||!r&&c||!i)return 1;if(!u&&!o&&!l&&n1?r[i-1]:e,f=i>2?r[2]:e;for(o=n.length>3&&"function"==typeof o?(i--,o):e,f&&uw(r[0],r[1],f)&&(o=i<3?e:o,i=1),t=nj(t);++u-1?i[o?t[f]:f]:e}}function eJ(n){return ue(function(t){var r=t.length,i=r,o=ry.prototype.thru;for(n&&t.reverse();i--;){var f=t[i];if("function"!=typeof f)throw new nO(u);if(o&&!a&&"wrapper"==uf(f))var a=new ry([],!0)}for(i=a?i:r;++i1&&b.reverse(),s&&ca))return!1;var l=o.get(n),s=o.get(t);if(l&&s)return l==t&&s==n;var h=-1,p=!0,v=2&r?new rx:e;for(o.set(n,t),o.set(t,n);++h-1&&n%1==0&&n1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace(nn,"{\n/* [wrapped with "+t+"] */\n")}(o,(e=(i=o.match(nt))?i[1].split(nr):[],u=r,tc(c,function(n){var t="_."+n[0];u&n[1]&&!th(e,t)&&e.push(t)}),e.sort())))}function uW(n){var t=0,r=0;return function(){var u=t8(),i=16-(u-r);if(r=u,i>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(e,arguments)}}function uL(n,t){var r=-1,u=n.length,i=u-1;for(t=e===t?u:t;++r1?n[t-1]:e;return r="function"==typeof r?(n.pop(),r):e,u8(n,r)});function ir(n){var t=rv(n);return t.__chain__=!0,t}function ie(n,t){return t(n)}var iu=ue(function(n){var t=n.length,r=t?n[0]:0,u=this.__wrapped__,i=function(t){return rC(t,n)};return!(t>1)&&!this.__actions__.length&&u instanceof rd&&ub(r)?((u=u.slice(r,+r+ +!!t)).__actions__.push({func:ie,args:[i],thisArg:e}),new ry(u,this.__chain__).thru(function(n){return t&&!n.length&&n.push(e),n})):this.thru(i)}),ii=eN(function(n,t,r){nC.call(n,r)?++n[r]:rS(n,r,1)}),io=eH(uN),ia=eH(uP);function ic(n,t){return(iT(n)?tc:r$)(n,uc(t,3))}function il(n,t){return(iT(n)?function(n,t){for(var r=null==n?0:n.length;r--&&!1!==t(n[r],r,n););return n}:rD)(n,uc(t,3))}var is=eN(function(n,t,r){nC.call(n,r)?n[r].push(t):rS(n,r,[t])}),ih=es(function(n,t,r){var e=-1,u="function"==typeof t,i=iD(n)?nd(n.length):[];return r$(n,function(n){i[++e]=u?tf(t,n,r):r2(n,t,r)}),i}),ip=eN(function(n,t,r){rS(n,r,t)});function iv(n,t){return(iT(n)?tv:en)(n,uc(t,3))}var i_=eN(function(n,t,r){n[+!r].push(t)},function(){return[[],[]]}),ig=es(function(n,t){if(null==n)return[];var r=t.length;return r>1&&uw(n,t[0],t[1])?t=[]:r>2&&uw(t[0],t[1],t[2])&&(t=[t[0]]),ei(n,rP(t,1),[])}),iy=tn||function(){return n6.Date.now()};function id(n,t,r){return t=r?e:t,t=n&&null==t?n.length:t,e5(n,128,e,e,e,e,t)}function ib(n,t){var r;if("function"!=typeof t)throw new nO(u);return n=i9(n),function(){return--n>0&&(r=t.apply(this,arguments)),n<=1&&(t=e),r}}var iw=es(function(n,t,r){var e=1;if(r.length){var u=tP(r,ua(iw));e|=32}return e5(n,e,t,r,u)}),im=es(function(n,t,r){var e=3;if(r.length){var u=tP(r,ua(im));e|=32}return e5(t,e,n,r,u)});function ix(n,t,r){t=r?e:t;var u=e5(n,8,e,e,e,e,e,t);return u.placeholder=ix.placeholder,u}function ij(n,t,r){t=r?e:t;var u=e5(n,16,e,e,e,e,e,t);return u.placeholder=ij.placeholder,u}function iA(n,t,r){var i,o,f,a,c,l,s=0,h=!1,p=!1,v=!0;if("function"!=typeof n)throw new nO(u);function _(t){var r=i,u=o;return i=o=e,s=t,a=n.apply(u,r)}function g(n){var r=n-l,u=n-s;return e===l||r>=t||r<0||p&&u>=f}function y(){var n,r,e,u=iy();if(g(u))return d(u);c=uE(y,(n=u-l,r=u-s,e=t-n,p?t3(e,f-r):e))}function d(n){return(c=e,v&&i)?_(n):(i=o=e,a)}function b(){var n,r=iy(),u=g(r);if(i=arguments,o=this,l=r,u){if(e===c)return s=n=l,c=uE(y,t),h?_(n):a;if(p)return eW(c),c=uE(y,t),_(l)}return e===c&&(c=uE(y,t)),a}return t=i7(t)||0,iV(r)&&(h=!!r.leading,f=(p="maxWait"in r)?t2(i7(r.maxWait)||0,t):f,v="trailing"in r?!!r.trailing:v),b.cancel=function(){e!==c&&eW(c),s=0,i=l=o=c=e},b.flush=function(){return e===c?a:d(iy())},b}var ik=es(function(n,t){return rB(n,1,t)}),iO=es(function(n,t,r){return rB(n,i7(t)||0,r)});function iI(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new nO(u);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(iI.Cache||rm),r}function iR(n){if("function"!=typeof n)throw new nO(u);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}iI.Cache=rm;var iz=es(function(n,t){var r=(t=1==t.length&&iT(t[0])?tv(t[0],tC(uc())):tv(rP(t,1),tC(uc()))).length;return es(function(e){for(var u=-1,i=t3(e.length,r);++u=t}),iB=r3(function(){return arguments}())?r3:function(n){return iG(n)&&nC.call(n,"callee")&&!nG.call(n,"callee")},iT=nd.isArray,i$=tt?tC(tt):function(n){return iG(n)&&rY(n)==O};function iD(n){return null!=n&&iK(n.length)&&!iq(n)}function iM(n){return iG(n)&&iD(n)}var iF=tQ||oX,iN=tr?tC(tr):function(n){return iG(n)&&rY(n)==p};function iP(n){if(!iG(n))return!1;var t=rY(n);return t==v||"[object DOMException]"==t||"string"==typeof n.message&&"string"==typeof n.name&&!iY(n)}function iq(n){if(!iV(n))return!1;var t=rY(n);return t==_||t==g||"[object AsyncFunction]"==t||"[object Proxy]"==t}function iZ(n){return"number"==typeof n&&n==i9(n)}function iK(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=0x1fffffffffffff}function iV(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function iG(n){return null!=n&&"object"==typeof n}var iH=te?tC(te):function(n){return iG(n)&&u_(n)==y};function iJ(n){return"number"==typeof n||iG(n)&&rY(n)==d}function iY(n){if(!iG(n)||rY(n)!=b)return!1;var t=nP(n);if(null===t)return!0;var r=nC.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&nS.call(r)==nB}var iQ=tu?tC(tu):function(n){return iG(n)&&rY(n)==m},iX=ti?tC(ti):function(n){return iG(n)&&u_(n)==x};function i0(n){return"string"==typeof n||!iT(n)&&iG(n)&&rY(n)==j}function i1(n){return"symbol"==typeof n||iG(n)&&rY(n)==A}var i2=to?tC(to):function(n){return iG(n)&&iK(n.length)&&!!nQ[rY(n)]},i3=e3(r7),i8=e3(function(n,t){return n<=t});function i6(n){if(!n)return[];if(iD(n))return i0(n)?tK(n):eM(n);if(n8&&n[n8]){for(var t,r=n[n8](),e=[];!(t=r.next()).done;)e.push(t.value);return e}var u=u_(n);return(u==y?tF:u==x?tq:oj)(n)}function i4(n){return n?(n=i7(n))===f||n===-f?(n<0?-1:1)*17976931348623157e292:n==n?n:0:0===n?n:0}function i9(n){var t=i4(n),r=t%1;return t==t?r?t-r:t:0}function i5(n){return n?rW(i9(n),0,0xffffffff):0}function i7(n){if("number"==typeof n)return n;if(i1(n))return a;if(iV(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=iV(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=tS(n);var r=nc.test(n);return r||ns.test(n)?n2(n.slice(2),r?2:8):na.test(n)?a:+n}function on(n){return eF(n,o_(n))}function ot(n){return null==n?"":em(n)}var or=eP(function(n,t){if(uA(t)||iD(t))return void eF(t,ov(t),n);for(var r in t)nC.call(t,r)&&rI(n,r,t[r])}),oe=eP(function(n,t){eF(t,o_(t),n)}),ou=eP(function(n,t,r,e){eF(t,o_(t),n,e)}),oi=eP(function(n,t,r,e){eF(t,ov(t),n,e)}),oo=ue(rC),of=es(function(n,t){n=nj(n);var r=-1,u=t.length,i=u>2?t[2]:e;for(i&&uw(t[0],t[1],i)&&(u=1);++r1),t}),eF(n,ui(n),r),e&&(r=rL(r,7,ut));for(var u=t.length;u--;)ej(r,t[u]);return r}),ob=ue(function(n,t){return null==n?{}:eo(n,t,function(t,r){return ol(n,r)})});function ow(n,t){if(null==n)return{};var r=tv(ui(n),function(n){return[n]});return t=uc(t),eo(n,r,function(n,r){return t(n,r[0])})}var om=e9(ov),ox=e9(o_);function oj(n){return null==n?[]:tW(n,ov(n))}var oA=eV(function(n,t,r){return t=t.toLowerCase(),n+(r?ok(t):t)});function ok(n){return oW(ot(n).toLowerCase())}function oO(n){return(n=ot(n))&&n.replace(np,tT).replace(nZ,"")}var oI=eV(function(n,t,r){return n+(r?"-":"")+t.toLowerCase()}),oR=eV(function(n,t,r){return n+(r?" ":"")+t.toLowerCase()}),oz=eK("toLowerCase"),oE=eV(function(n,t,r){return n+(r?"_":"")+t.toLowerCase()}),oS=eV(function(n,t,r){return n+(r?" ":"")+oW(t)}),oC=eV(function(n,t,r){return n+(r?" ":"")+t.toUpperCase()}),oW=eK("toUpperCase");function oL(n,t,r){if(n=ot(n),t=r?e:t,e===t){var u;return(u=n,nH.test(u))?n.match(nV)||[]:n.match(ne)||[]}return n.match(t)||[]}var oU=es(function(n,t){try{return tf(n,e,t)}catch(n){return iP(n)?n:new nw(n)}}),oB=ue(function(n,t){return tc(t,function(t){rS(n,t=uB(t),iw(n[t],n))}),n});function oT(n){return function(){return n}}var o$=eJ(),oD=eJ(!0);function oM(n){return n}function oF(n){return r9("function"==typeof n?n:rL(n,1))}var oN=es(function(n,t){return function(r){return r2(r,n,t)}}),oP=es(function(n,t){return function(r){return r2(n,r,t)}});function oq(n,t,r){var e=ov(t),u=rG(t,e);null!=r||iV(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=rG(t,ov(t)));var i=!(iV(r)&&"chain"in r)||!!r.chain,o=iq(n);return tc(u,function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=eM(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,t_([this.value()],arguments))})}),n}function oZ(){}var oK=e0(tv),oV=e0(tl),oG=e0(td);function oH(n){return um(n)?tO(uB(n)):function(t){return rH(t,n)}}var oJ=e2(),oY=e2(!0);function oQ(){return[]}function oX(){return!1}var o0=eX(function(n,t){return n+t},0),o1=e6("ceil"),o2=eX(function(n,t){return n/t},1),o3=e6("floor"),o8=eX(function(n,t){return n*t},1),o6=e6("round"),o4=eX(function(n,t){return n-t},0);return rv.after=function(n,t){if("function"!=typeof t)throw new nO(u);return n=i9(n),function(){if(--n<1)return t.apply(this,arguments)}},rv.ary=id,rv.assign=or,rv.assignIn=oe,rv.assignInWith=ou,rv.assignWith=oi,rv.at=oo,rv.before=ib,rv.bind=iw,rv.bindAll=oB,rv.bindKey=im,rv.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return iT(n)?n:[n]},rv.chain=ir,rv.chunk=function(n,t,r){t=(r?uw(n,t,r):e===t)?1:t2(i9(t),0);var u=null==n?0:n.length;if(!u||t<1)return[];for(var i=0,o=0,f=nd(tI(u/t));ia?0:a+o),(f=e===f||f>a?a:i9(f))<0&&(f+=a),f=o>f?0:i5(f);o>>0)?(n=ot(n))&&("string"==typeof t||null!=t&&!iQ(t))&&!(t=em(t))&&tM(n)?eC(tK(n),0,r):n.split(t,r):[]},rv.spread=function(n,t){if("function"!=typeof n)throw new nO(u);return t=null==t?0:t2(i9(t),0),es(function(r){var e=r[t],u=eC(r,0,t);return e&&t_(u,e),tf(n,this,u)})},rv.tail=function(n){var t=null==n?0:n.length;return t?e_(n,1,t):[]},rv.take=function(n,t,r){return n&&n.length?e_(n,0,(t=r||e===t?1:i9(t))<0?0:t):[]},rv.takeRight=function(n,t,r){var u=null==n?0:n.length;return u?e_(n,(t=u-(t=r||e===t?1:i9(t)))<0?0:t,u):[]},rv.takeRightWhile=function(n,t){return n&&n.length?ek(n,uc(t,3),!1,!0):[]},rv.takeWhile=function(n,t){return n&&n.length?ek(n,uc(t,3)):[]},rv.tap=function(n,t){return t(n),n},rv.throttle=function(n,t,r){var e=!0,i=!0;if("function"!=typeof n)throw new nO(u);return iV(r)&&(e="leading"in r?!!r.leading:e,i="trailing"in r?!!r.trailing:i),iA(n,t,{leading:e,maxWait:t,trailing:i})},rv.thru=ie,rv.toArray=i6,rv.toPairs=om,rv.toPairsIn=ox,rv.toPath=function(n){return iT(n)?tv(n,uB):i1(n)?[n]:eM(uU(ot(n)))},rv.toPlainObject=on,rv.transform=function(n,t,r){var e=iT(n),u=e||iF(n)||i2(n);if(t=uc(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:iV(n)&&iq(i)?r_(nP(n)):{}}return(u?tc:rK)(n,function(n,e,u){return t(r,n,e,u)}),r},rv.unary=function(n){return id(n,1)},rv.union=u0,rv.unionBy=u1,rv.unionWith=u2,rv.uniq=function(n){return n&&n.length?ex(n):[]},rv.uniqBy=function(n,t){return n&&n.length?ex(n,uc(t,2)):[]},rv.uniqWith=function(n,t){return t="function"==typeof t?t:e,n&&n.length?ex(n,e,t):[]},rv.unset=function(n,t){return null==n||ej(n,t)},rv.unzip=u3,rv.unzipWith=u8,rv.update=function(n,t,r){return null==n?n:eA(n,t,eE(r))},rv.updateWith=function(n,t,r,u){return u="function"==typeof u?u:e,null==n?n:eA(n,t,eE(r),u)},rv.values=oj,rv.valuesIn=function(n){return null==n?[]:tW(n,o_(n))},rv.without=u6,rv.words=oL,rv.wrap=function(n,t){return iE(eE(t),n)},rv.xor=u4,rv.xorBy=u9,rv.xorWith=u5,rv.zip=u7,rv.zipObject=function(n,t){return eR(n||[],t||[],rI)},rv.zipObjectDeep=function(n,t){return eR(n||[],t||[],eh)},rv.zipWith=it,rv.entries=om,rv.entriesIn=ox,rv.extend=oe,rv.extendWith=ou,oq(rv,rv),rv.add=o0,rv.attempt=oU,rv.camelCase=oA,rv.capitalize=ok,rv.ceil=o1,rv.clamp=function(n,t,r){return e===r&&(r=t,t=e),e!==r&&(r=(r=i7(r))==r?r:0),e!==t&&(t=(t=i7(t))==t?t:0),rW(i7(n),t,r)},rv.clone=function(n){return rL(n,4)},rv.cloneDeep=function(n){return rL(n,5)},rv.cloneDeepWith=function(n,t){return rL(n,5,t="function"==typeof t?t:e)},rv.cloneWith=function(n,t){return rL(n,4,t="function"==typeof t?t:e)},rv.conformsTo=function(n,t){return null==t||rU(n,t,ov(t))},rv.deburr=oO,rv.defaultTo=function(n,t){return null==n||n!=n?t:n},rv.divide=o2,rv.endsWith=function(n,t,r){n=ot(n),t=em(t);var u=n.length,i=r=e===r?u:rW(i9(r),0,u);return(r-=t.length)>=0&&n.slice(r,i)==t},rv.eq=iW,rv.escape=function(n){return(n=ot(n))&&P.test(n)?n.replace(F,t$):n},rv.escapeRegExp=function(n){return(n=ot(n))&&Y.test(n)?n.replace(J,"\\$&"):n},rv.every=function(n,t,r){var u=iT(n)?tl:rM;return r&&uw(n,t,r)&&(t=e),u(n,uc(t,3))},rv.find=io,rv.findIndex=uN,rv.findKey=function(n,t){return tw(n,uc(t,3),rK)},rv.findLast=ia,rv.findLastIndex=uP,rv.findLastKey=function(n,t){return tw(n,uc(t,3),rV)},rv.floor=o3,rv.forEach=ic,rv.forEachRight=il,rv.forIn=function(n,t){return null==n?n:rq(n,uc(t,3),o_)},rv.forInRight=function(n,t){return null==n?n:rZ(n,uc(t,3),o_)},rv.forOwn=function(n,t){return n&&rK(n,uc(t,3))},rv.forOwnRight=function(n,t){return n&&rV(n,uc(t,3))},rv.get=oc,rv.gt=iL,rv.gte=iU,rv.has=function(n,t){return null!=n&&ug(n,t,rX)},rv.hasIn=ol,rv.head=uZ,rv.identity=oM,rv.includes=function(n,t,r,e){n=iD(n)?n:oj(n),r=r&&!e?i9(r):0;var u=n.length;return r<0&&(r=t2(u+r,0)),i0(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&tx(n,t,r)>-1},rv.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return -1;var u=null==r?0:i9(r);return u<0&&(u=t2(e+u,0)),tx(n,t,u)},rv.inRange=function(n,t,r){var u,i,o;return t=i4(t),e===r?(r=t,t=0):r=i4(r),(u=n=i7(n))>=t3(i=t,o=r)&&u=-0x1fffffffffffff&&n<=0x1fffffffffffff},rv.isSet=iX,rv.isString=i0,rv.isSymbol=i1,rv.isTypedArray=i2,rv.isUndefined=function(n){return e===n},rv.isWeakMap=function(n){return iG(n)&&u_(n)==k},rv.isWeakSet=function(n){return iG(n)&&"[object WeakSet]"==rY(n)},rv.join=function(n,t){return null==n?"":t0.call(n,t)},rv.kebabCase=oI,rv.last=uH,rv.lastIndexOf=function(n,t,r){var u=null==n?0:n.length;if(!u)return -1;var i=u;return e!==r&&(i=(i=i9(r))<0?t2(u+i,0):t3(i,u-1)),t==t?function(n,t,r){for(var e=r+1;e--&&n[e]!==t;);return e}(n,t,i):tm(n,tA,i,!0)},rv.lowerCase=oR,rv.lowerFirst=oz,rv.lt=i3,rv.lte=i8,rv.max=function(n){return n&&n.length?rF(n,oM,rQ):e},rv.maxBy=function(n,t){return n&&n.length?rF(n,uc(t,2),rQ):e},rv.mean=function(n){return tk(n,oM)},rv.meanBy=function(n,t){return tk(n,uc(t,2))},rv.min=function(n){return n&&n.length?rF(n,oM,r7):e},rv.minBy=function(n,t){return n&&n.length?rF(n,uc(t,2),r7):e},rv.stubArray=oQ,rv.stubFalse=oX,rv.stubObject=function(){return{}},rv.stubString=function(){return""},rv.stubTrue=function(){return!0},rv.multiply=o8,rv.nth=function(n,t){return n&&n.length?eu(n,i9(t)):e},rv.noConflict=function(){return n6._===this&&(n6._=nT),this},rv.noop=oZ,rv.now=iy,rv.pad=function(n,t,r){n=ot(n);var e=(t=i9(t))?tZ(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return e1(tJ(u),r)+n+e1(tI(u),r)},rv.padEnd=function(n,t,r){n=ot(n);var e=(t=i9(t))?tZ(n):0;return t&&et){var u=n;n=t,t=u}if(r||n%1||t%1){var i=t4();return t3(n+i*(t-n+n1("1e-"+((i+"").length-1))),t)}return ec(n,t)},rv.reduce=function(n,t,r){var e=iT(n)?tg:tR,u=arguments.length<3;return e(n,uc(t,4),r,u,r$)},rv.reduceRight=function(n,t,r){var e=iT(n)?ty:tR,u=arguments.length<3;return e(n,uc(t,4),r,u,rD)},rv.repeat=function(n,t,r){return t=(r?uw(n,t,r):e===t)?1:i9(t),el(ot(n),t)},rv.replace=function(){var n=arguments,t=ot(n[0]);return n.length<3?t:t.replace(n[1],n[2])},rv.result=function(n,t,r){t=eS(t,n);var u=-1,i=t.length;for(i||(i=1,n=e);++u0x1fffffffffffff)return[];var r=0xffffffff,e=t3(n,0xffffffff);t=uc(t),n-=0xffffffff;for(var u=tE(e,t);++r=o)return n;var a=r-tZ(u);if(a<1)return u;var c=f?eC(f,0,a).join(""):n.slice(0,a);if(e===i)return c+u;if(f&&(a+=c.length-a),iQ(i)){if(n.slice(a).search(i)){var l,s=c;for(i.global||(i=nA(i.source,ot(nf.exec(i))+"g")),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,e===h?a:h)}}else if(n.indexOf(em(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+u},rv.unescape=function(n){return(n=ot(n))&&N.test(n)?n.replace(M,tG):n},rv.uniqueId=function(n){var t=++nW;return ot(n)+t},rv.upperCase=oC,rv.upperFirst=oW,rv.each=ic,rv.eachRight=il,rv.first=uZ,oq(rv,(ny={},rK(rv,function(n,t){nC.call(rv.prototype,t)||(ny[t]=n)}),ny),{chain:!1}),rv.VERSION="4.17.21",tc(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){rv[n].placeholder=rv}),tc(["drop","take"],function(n,t){rd.prototype[n]=function(r){r=e===r?1:t2(i9(r),0);var u=this.__filtered__&&!t?new rd(this):this.clone();return u.__filtered__?u.__takeCount__=t3(r,u.__takeCount__):u.__views__.push({size:t3(r,0xffffffff),type:n+(u.__dir__<0?"Right":"")}),u},rd.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),tc(["filter","map","takeWhile"],function(n,t){var r=t+1,e=1==r||3==r;rd.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:uc(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),tc(["head","last"],function(n,t){var r="take"+(t?"Right":"");rd.prototype[n]=function(){return this[r](1).value()[0]}}),tc(["initial","tail"],function(n,t){var r="drop"+(t?"":"Right");rd.prototype[n]=function(){return this.__filtered__?new rd(this):this[r](1)}}),rd.prototype.compact=function(){return this.filter(oM)},rd.prototype.find=function(n){return this.filter(n).head()},rd.prototype.findLast=function(n){return this.reverse().find(n)},rd.prototype.invokeMap=es(function(n,t){return"function"==typeof n?new rd(this):this.map(function(r){return r2(r,n,t)})}),rd.prototype.reject=function(n){return this.filter(iR(uc(n)))},rd.prototype.slice=function(n,t){n=i9(n);var r=this;return r.__filtered__&&(n>0||t<0)?new rd(r):(n<0?r=r.takeRight(-n):n&&(r=r.drop(n)),e!==t&&(r=(t=i9(t))<0?r.dropRight(-t):r.take(t-n)),r)},rd.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},rd.prototype.toArray=function(){return this.take(0xffffffff)},rK(rd.prototype,function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),u=/^(?:head|last)$/.test(t),i=rv[u?"take"+("last"==t?"Right":""):t],o=u||/^find/.test(t);i&&(rv.prototype[t]=function(){var t=this.__wrapped__,f=u?[1]:arguments,a=t instanceof rd,c=f[0],l=a||iT(t),s=function(n){var t=i.apply(rv,t_([n],f));return u&&h?t[0]:t};l&&r&&"function"==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=a&&!p;if(!o&&l){t=_?t:new rd(this);var g=n.apply(t,f);return g.__actions__.push({func:ie,args:[s],thisArg:e}),new ry(g,h)}return v&&_?n.apply(this,f):(g=this.thru(s),v?u?g.value()[0]:g.value():g)})}),tc(["pop","push","shift","sort","splice","unshift"],function(n){var t=nI[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);rv.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(iT(u)?u:[],n)}return this[r](function(r){return t.apply(iT(r)?r:[],n)})}}),rK(rd.prototype,function(n,t){var r=rv[t];if(r){var e=r.name+"";nC.call(ri,e)||(ri[e]=[]),ri[e].push({name:t,func:r})}}),ri[eY(e,2).name]=[{name:"wrapper",func:e}],rd.prototype.clone=function(){var n=new rd(this.__wrapped__);return n.__actions__=eM(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=eM(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=eM(this.__views__),n},rd.prototype.reverse=function(){if(this.__filtered__){var n=new rd(this);n.__dir__=-1,n.__filtered__=!0}else n=this.clone(),n.__dir__*=-1;return n},rd.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=iT(n),e=t<0,u=r?n.length:0,i=function(n,t,r){for(var e=-1,u=r.length;++e=this.__values__.length,t=n?e:this.__values__[this.__index__++];return{done:n,value:t}},rv.prototype.plant=function(n){for(var t,r=this;r instanceof rg;){var u=u$(r);u.__index__=0,u.__values__=e,t?i.__wrapped__=u:t=u;var i=u;r=r.__wrapped__}return i.__wrapped__=n,t},rv.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof rd){var t=n;return this.__actions__.length&&(t=new rd(this)),(t=t.reverse()).__actions__.push({func:ie,args:[uX],thisArg:e}),new ry(t,this.__chain__)}return this.thru(uX)},rv.prototype.toJSON=rv.prototype.valueOf=rv.prototype.value=function(){return eO(this.__wrapped__,this.__actions__)},rv.prototype.first=rv.prototype.head,n8&&(rv.prototype[n8]=function(){return this}),rv}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(n6._=tH,define(function(){return tH})):n9?((n9.exports=tH)._=tH,n4._=tH):n6._=tH}).call(this)}}]); \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3948.ca4bddea.js.LICENSE.txt b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3948.ca4bddea.js.LICENSE.txt deleted file mode 100644 index a1a64a27f9..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3948.ca4bddea.js.LICENSE.txt +++ /dev/null @@ -1,22 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ - -/** - * @license - * Lodash - * Copyright OpenJS Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */ \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3956.c2c369d8.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3956.c2c369d8.js deleted file mode 100644 index 6627eabb13..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3956.c2c369d8.js +++ /dev/null @@ -1,10 +0,0 @@ -/*! For license information please see 3956.c2c369d8.js.LICENSE.txt */ -"use strict";(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["3956"],{47552:function(t,e,i){let n,r,s,o,a;i.r(e),i.d(e,{easeIn:()=>nw,LayoutGroup:()=>H,useWillChange:()=>oY,inertia:()=>nx,time:()=>eY,px:()=>tX,useMotionValue:()=>oD,MotionConfig:()=>ti,addPointerEvent:()=>n6,sync:()=>a0,color:()=>iy,useVelocity:()=>oz,useAnimationControls:()=>am,MotionValue:()=>eJ,frameSteps:()=>U,motion:()=>s8,progress:()=>R,scrollInfo:()=>oP,useScroll:()=>oC,m:()=>ep,animations:()=>n2,animateValue:()=>nj,FlatTree:()=>rX,transform:()=>oW,useInView:()=>aC,useMotionTemplate:()=>oL,anticipate:()=>ie,useUnmountEffect:()=>o_,addScaleCorrector:()=>er,DeprecatedLayoutGroupContext:()=>E,DragControls:()=>av,spring:()=>ny,MotionContext:()=>tr,useTime:()=>oO,animate:()=>ai,findSpring:()=>np,disableInstantTransitions:()=>aR,AcceleratedAnimation:()=>nU,animationControls:()=>oq,complex:()=>iM,backOut:()=>e8,buildTransform:()=>t1,useAnimate:()=>an,distance:()=>n8,scroll:()=>oA,useInstantLayoutTransition:()=>ab,delay:()=>rG,useReducedMotion:()=>oX,noop:()=>M,MotionConfigContext:()=>m,cancelSync:()=>a1,domMin:()=>oe,useDomEvent:()=>ag,useAnimateMini:()=>ap,useForceUpdate:()=>W,useIsPresent:()=>w,useIsomorphicLayoutEffect:()=>S,useInstantTransition:()=>aV,visualElementStore:()=>s1,isDragActive:()=>ek,LayoutGroupContext:()=>c,useViewportScroll:()=>oR,addPointerInfo:()=>n4,backInOut:()=>it,useDragControls:()=>ax,startOptimizedAppearAnimation:()=>aO,isMotionValue:()=>tC,circIn:()=>ii,inView:()=>aM,isBrowser:()=>T,useDeprecatedAnimatedState:()=>a$,useMotionValueEvent:()=>oi,easeInOut:()=>nb,useAnimation:()=>af,calcLength:()=>rs,backIn:()=>e7,useElementScroll:()=>oV,AnimatePresence:()=>A,useTransform:()=>o$,PresenceContext:()=>p,createScopedAnimate:()=>ae,mirrorEasing:()=>e4,animateVisualElement:()=>nq,distance2D:()=>n7,optimizedAppearDataAttribute:()=>tg,AnimateSharedLayout:()=>az,domMax:()=>ot,useReducedMotionConfig:()=>oG,cubicBezier:()=>e9,keyframes:()=>nV,circInOut:()=>is,useCycle:()=>aA,useSpring:()=>oF,useAnimationFrame:()=>oB,useResetProjection:()=>aS,cancelFrame:()=>O,isMotionComponent:()=>aw,isValidMotionProp:()=>J,steps:()=>a5,makeUseVisualState:()=>tR,MotionGlobalConfig:()=>L,domAnimation:()=>s7,motionValue:()=>eQ,clamp:()=>tU,resolveMotionValue:()=>tV,invariant:()=>C,filterProps:()=>te,stagger:()=>aQ,unwrapMotionComponent:()=>aP,SwitchLayoutGroupContext:()=>tx,createBox:()=>ry,VisualElement:()=>s2,wrap:()=>oZ,mix:()=>nh,animateMini:()=>ad,createRendererMotionComponent:()=>tw,LazyMotion:()=>q,Reorder:()=>l,frame:()=>B,circOut:()=>ir,frameData:()=>I,interpolate:()=>nE,easeOut:()=>nP,reverseEasing:()=>e6,usePresence:()=>x,useDeprecatedInvertedScale:()=>aX,pipe:()=>nn});var l={};i.r(l),i.d(l,{Group:()=>aK,Item:()=>aJ});var u=i(85893),h=i(81004);let c=(0,h.createContext)({});function d(t){let e=(0,h.useRef)(null);return null===e.current&&(e.current=t()),e.current}let p=(0,h.createContext)(null),m=(0,h.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});class f extends h.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function g({children:t,isPresent:e}){let i=(0,h.useId)(),n=(0,h.useRef)(null),r=(0,h.useRef)({width:0,height:0,top:0,left:0}),{nonce:s}=(0,h.useContext)(m);return(0,h.useInsertionEffect)(()=>{let{width:t,height:o,top:a,left:l}=r.current;if(e||!n.current||!t||!o)return;n.current.dataset.motionPopId=i;let u=document.createElement("style");return s&&(u.nonce=s),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` - [data-motion-pop-id="${i}"] { - position: absolute !important; - width: ${t}px !important; - height: ${o}px !important; - top: ${a}px !important; - left: ${l}px !important; - } - `),()=>{document.head.removeChild(u)}},[e]),(0,u.jsx)(f,{isPresent:e,childRef:n,sizeRef:r,children:h.cloneElement(t,{ref:n})})}let v=({children:t,initial:e,isPresent:i,onExitComplete:n,custom:r,presenceAffectsLayout:s,mode:o})=>{let a=d(y),l=(0,h.useId)(),c=(0,h.useCallback)(t=>{for(let e of(a.set(t,!0),a.values()))if(!e)return;n&&n()},[a,n]),m=(0,h.useMemo)(()=>({id:l,initial:e,isPresent:i,custom:r,onExitComplete:c,register:t=>(a.set(t,!1),()=>a.delete(t))}),s?[Math.random(),c]:[i,c]);return(0,h.useMemo)(()=>{a.forEach((t,e)=>a.set(e,!1))},[i]),h.useEffect(()=>{i||a.size||!n||n()},[i]),"popLayout"===o&&(t=(0,u.jsx)(g,{isPresent:i,children:t})),(0,u.jsx)(p.Provider,{value:m,children:t})};function y(){return new Map}function x(t=!0){let e=(0,h.useContext)(p);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:n,register:r}=e,s=(0,h.useId)();(0,h.useEffect)(()=>{t&&r(s)},[t]);let o=(0,h.useCallback)(()=>t&&n&&n(s),[s,n,t]);return!i&&n?[!1,o]:[!0]}function w(){var t;return null===(t=(0,h.useContext)(p))||t.isPresent}let P=t=>t.key||"";function b(t){let e=[];return h.Children.forEach(t,t=>{(0,h.isValidElement)(t)&&e.push(t)}),e}let T="undefined"!=typeof window,S=T?h.useLayoutEffect:h.useEffect,A=({children:t,custom:e,initial:i=!0,onExitComplete:n,presenceAffectsLayout:r=!0,mode:s="sync",propagate:o=!1})=>{let[a,l]=x(o),p=(0,h.useMemo)(()=>b(t),[t]),m=o&&!a?[]:p.map(P),f=(0,h.useRef)(!0),g=(0,h.useRef)(p),y=d(()=>new Map),[w,T]=(0,h.useState)(p),[A,E]=(0,h.useState)(p);S(()=>{f.current=!1,g.current=p;for(let t=0;t{let h=P(t),c=(!o||!!a)&&(p===A||m.includes(h));return(0,u.jsx)(v,{isPresent:c,initial:(!f.current||!!i)&&void 0,custom:c?void 0:e,presenceAffectsLayout:r,mode:s,onExitComplete:c?void 0:()=>{if(!y.has(h))return;y.set(h,!0);let t=!0;y.forEach(e=>{e||(t=!1)}),t&&(null==C||C(),E(g.current),o&&(null==l||l()),n&&n())},children:t},h)})})},E=(0,h.createContext)(null),M=t=>t,C=M;function V(t){let e;return()=>(void 0===e&&(e=t()),e)}let R=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n},D=t=>1e3*t,k=t=>t/1e3,L={skipAnimations:!1,useManualTiming:!1},j=["read","resolveKeyframes","update","preRender","render","postRender"];function F(t,e){let i=!1,n=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=j.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,r=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,r=!1,o=!1)=>{let a=o&&n?e:i;return r&&s.add(t),a.has(t)||a.add(t),t},cancel:t=>{i.delete(t),s.delete(t)},process:t=>{if(o=t,n){r=!0;return}n=!0,[e,i]=[i,e],e.forEach(a),e.clear(),n=!1,r&&(r=!1,l.process(t))}};return l}(s),t),{}),{read:a,resolveKeyframes:l,update:u,preRender:h,render:c,postRender:d}=o,p=()=>{let s=L.useManualTiming?r.timestamp:performance.now();i=!1,r.delta=n?1e3/60:Math.max(Math.min(s-r.timestamp,40),1),r.timestamp=s,r.isProcessing=!0,a.process(r),l.process(r),u.process(r),h.process(r),c.process(r),d.process(r),r.isProcessing=!1,i&&e&&(n=!1,t(p))},m=()=>{i=!0,n=!0,r.isProcessing||t(p)};return{schedule:j.reduce((t,e)=>{let n=o[e];return t[e]=(t,e=!1,r=!1)=>(i||m(),n.schedule(t,e,r)),t},{}),cancel:t=>{for(let e=0;e(t.current=!0,()=>{t.current=!1}),[]),t}(),[e,i]=(0,h.useState)(0),n=(0,h.useCallback)(()=>{t.current&&i(e+1)},[e]);return[(0,h.useCallback)(()=>B.postRender(n),[n]),e]}let $=t=>!t.isLayoutDirty&&t.willUpdate(!1),N=t=>!0===t,z=t=>N(!0===t)||"id"===t,H=({children:t,id:e,inherit:i=!0})=>{let n=(0,h.useContext)(c),r=(0,h.useContext)(E),[s,o]=W(),a=(0,h.useRef)(null),l=n.id||r;null===a.current&&(z(i)&&l&&(e=e?l+"-"+e:l),a.current={id:e,group:N(i)&&n.group||function(){let t=new Set,e=new WeakMap,i=()=>t.forEach($);return{add:n=>{t.add(n),e.set(n,n.addEventListener("willUpdate",i))},remove:n=>{t.delete(n);let r=e.get(n);r&&(r(),e.delete(n)),i()},dirty:i}}()});let d=(0,h.useMemo)(()=>({...a.current,forceRender:s}),[o]);return(0,u.jsx)(c.Provider,{value:d,children:t})},Y=(0,h.createContext)({strict:!1}),X={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},G={};for(let t in X)G[t]={isEnabled:e=>X[t].some(t=>!!e[t])};function K(t){for(let e in t)G[e]={...G[e],...t[e]}}function q({children:t,features:e,strict:i=!1}){let[,n]=(0,h.useState)(!_(e)),r=(0,h.useRef)(void 0);if(!_(e)){let{renderer:t,...i}=e;r.current=t,K(i)}return(0,h.useEffect)(()=>{_(e)&&e().then(({renderer:t,...e})=>{K(e),r.current=t,n(!0)})},[]),(0,u.jsx)(Y.Provider,{value:{renderer:r.current,strict:i},children:t})}function _(t){return"function"==typeof t}let Z=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function J(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||Z.has(t)}let Q=t=>!J(t);function tt(t){t&&(Q=e=>e.startsWith("on")?!J(e):t(e))}try{tt(require("@emotion/is-prop-valid").default)}catch(t){}function te(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(Q(r)||!0===i&&J(r)||!e&&!J(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}function ti({children:t,isValidProp:e,...i}){e&&tt(e),(i={...(0,h.useContext)(m),...i}).isStatic=d(()=>i.isStatic);let n=(0,h.useMemo)(()=>i,[JSON.stringify(i.transition),i.transformPagePoint,i.reducedMotion]);return(0,u.jsx)(m.Provider,{value:n,children:t})}function tn(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(i,n)=>"create"===n?t:(e.has(n)||e.set(n,t(n)),e.get(n))})}let tr=(0,h.createContext)({});function ts(t){return"string"==typeof t||Array.isArray(t)}function to(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}let ta=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tl=["initial",...ta];function tu(t){return to(t.animate)||tl.some(e=>ts(t[e]))}function th(t){return!!(tu(t)||t.variants)}function tc(t){return Array.isArray(t)?t.join(" "):t}let td=Symbol.for("motionComponentSymbol");function tp(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let tm=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),tf="framerAppearId",tg="data-"+tm(tf),{schedule:tv,cancel:ty}=F(queueMicrotask,!1),tx=(0,h.createContext)({});function tw({preloadedFeatures:t,createVisualElement:e,useRender:i,useVisualState:n,Component:r}){var s,o;function a(t,s){var o,a,l;let d,f={...(0,h.useContext)(m),...t,layoutId:function({layoutId:t}){let e=(0,h.useContext)(c).id;return e&&void 0!==t?e+"-"+t:t}(t)},{isStatic:g}=f,v=function(t){let{initial:e,animate:i}=function(t,e){if(tu(t)){let{initial:e,animate:i}=t;return{initial:!1===e||ts(e)?e:void 0,animate:ts(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,h.useContext)(tr));return(0,h.useMemo)(()=>({initial:e,animate:i}),[tc(e),tc(i)])}(t),y=n(t,g);if(!g&&T){a=0,l=0,(0,h.useContext)(Y).strict;let t=function(t){let{drag:e,layout:i}=G;if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(f);d=t.MeasureLayout,v.visualElement=function(t,e,i,n,r){var s,o;let{visualElement:a}=(0,h.useContext)(tr),l=(0,h.useContext)(Y),u=(0,h.useContext)(p),c=(0,h.useContext)(m).reducedMotion,d=(0,h.useRef)(null);n=n||l.renderer,!d.current&&n&&(d.current=n(t,{visualState:e,parent:a,props:i,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:c}));let f=d.current,g=(0,h.useContext)(tx);f&&!f.projection&&r&&("html"===f.type||"svg"===f.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&tp(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:u})}(d.current,i,r,g);let v=(0,h.useRef)(!1);(0,h.useInsertionEffect)(()=>{f&&v.current&&f.update(i,u)});let y=i[tg],x=(0,h.useRef)(!!y&&!(null==(s=window.MotionHandoffIsComplete)?void 0:s.call(window,y))&&(null==(o=window.MotionHasOptimisedAnimation)?void 0:o.call(window,y)));return S(()=>{f&&(v.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),tv.render(f.render),x.current&&f.animationState&&f.animationState.animateChanges())}),(0,h.useEffect)(()=>{f&&(!x.current&&f.animationState&&f.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{var t;null==(t=window.MotionHandoffMarkAsComplete)||t.call(window,y)}),x.current=!1))}),f}(r,y,f,e,t.ProjectionNode)}return(0,u.jsxs)(tr.Provider,{value:v,children:[d&&v.visualElement?(0,u.jsx)(d,{visualElement:v.visualElement,...f}):null,i(r,t,(o=v.visualElement,(0,h.useCallback)(t=>{t&&y.onMount&&y.onMount(t),o&&(t?o.mount(t):o.unmount()),s&&("function"==typeof s?s(t):tp(s)&&(s.current=t))},[o])),y,g,v.visualElement)]})}t&&K(t),a.displayName=`motion.${"string"==typeof r?r:`create(${null!=(o=null!=(s=r.displayName)?s:r.name)?o:""})`}`;let l=(0,h.forwardRef)(a);return l[td]=r,l}let tP=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function tb(t){if("string"!=typeof t||t.includes("-"));else if(tP.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}function tT(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function tS(t,e,i,n){if("function"==typeof e){let[r,s]=tT(n);e=e(void 0!==i?i:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=tT(n);e=e(void 0!==i?i:t.custom,r,s)}return e}let tA=t=>Array.isArray(t),tE=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),tM=t=>tA(t)?t[t.length-1]||0:t,tC=t=>!!(t&&t.getVelocity);function tV(t){let e=tC(t)?t.get():t;return tE(e)?e.toValue():e}let tR=t=>(e,i)=>{let n=(0,h.useContext)(tr),r=(0,h.useContext)(p),s=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:i},n,r,s){let o={latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=tV(s[t]);let{initial:o,animate:a}=t,l=tu(t),u=th(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!to(c)){let e=Array.isArray(c)?c:[c];for(let i=0;ii({props:n,current:t,...o}),o.onUpdate=t=>i(t)),o})(t,e,n,r);return i?s():d(s)},tD=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],tk=new Set(tD),tL=t=>e=>"string"==typeof e&&e.startsWith(t),tj=tL("--"),tF=tL("var(--"),tB=t=>!!tF(t)&&tO.test(t.split("/*")[0].trim()),tO=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,tI=(t,e)=>e&&"number"==typeof t?e.transform(t):t,tU=(t,e,i)=>i>e?e:i"number"==typeof t,parse:parseFloat,transform:t=>t},t$={...tW,transform:t=>tU(0,1,t)},tN={...tW,default:1},tz=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),tH=tz("deg"),tY=tz("%"),tX=tz("px"),tG=tz("vh"),tK=tz("vw"),tq={...tY,parse:t=>tY.parse(t)/100,transform:t=>tY.transform(100*t)},t_={borderWidth:tX,borderTopWidth:tX,borderRightWidth:tX,borderBottomWidth:tX,borderLeftWidth:tX,borderRadius:tX,radius:tX,borderTopLeftRadius:tX,borderTopRightRadius:tX,borderBottomRightRadius:tX,borderBottomLeftRadius:tX,width:tX,maxWidth:tX,height:tX,maxHeight:tX,top:tX,right:tX,bottom:tX,left:tX,padding:tX,paddingTop:tX,paddingRight:tX,paddingBottom:tX,paddingLeft:tX,margin:tX,marginTop:tX,marginRight:tX,marginBottom:tX,marginLeft:tX,backgroundPositionX:tX,backgroundPositionY:tX},tZ={...tW,transform:Math.round},tJ={...t_,rotate:tH,rotateX:tH,rotateY:tH,rotateZ:tH,scale:tN,scaleX:tN,scaleY:tN,scaleZ:tN,skew:tH,skewX:tH,skewY:tH,distance:tX,translateX:tX,translateY:tX,translateZ:tX,x:tX,y:tX,z:tX,perspective:tX,transformPerspective:tX,opacity:t$,originX:tq,originY:tq,originZ:tX,zIndex:tZ,size:tX,fillOpacity:t$,strokeOpacity:t$,numOctaves:tZ},tQ={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},t0=tD.length;function t1(t,e,i){let n="",r=!0;for(let s=0;s({style:{},transform:{},transformOrigin:{},vars:{}}),t8=()=>({...t6(),attrs:{}}),t7=t=>"string"==typeof t&&"svg"===t.toLowerCase();function et(t,{style:e,vars:i},n,r){for(let s in Object.assign(t.style,e,r&&r.getProjectionStyles(n)),i)t.style.setProperty(s,i[s])}let ee=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function ei(t,e,i,n){for(let i in et(t,e,void 0,n),e.attrs)t.setAttribute(ee.has(i)?i:tm(i),e.attrs[i])}let en={};function er(t){Object.assign(en,t)}function es(t,{layout:e,layoutId:i}){return tk.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!en[t]||"opacity"===t)}function eo(t,e,i){var n;let{style:r}=t,s={};for(let o in r)(tC(r[o])||e.style&&tC(e.style[o])||es(o,t)||(null==(n=null==i?void 0:i.getValue(o))?void 0:n.liveStyle)!==void 0)&&(s[o]=r[o]);return s}function ea(t,e,i){let n=eo(t,e,i);for(let i in t)(tC(t[i])||tC(e[i]))&&(n[-1!==tD.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}let el=["x","y","width","height","cx","cy","r"],eu={useVisualState:tR({scrapeMotionValuesFromProps:ea,createRenderState:t8,onUpdate:({props:t,prevProps:e,current:i,renderState:n,latestValues:r})=>{if(!i)return;let s=!!t.drag;if(!s){for(let t in r)if(tk.has(t)){s=!0;break}}if(!s)return;let o=!e;if(e)for(let i=0;i{try{n.dimensions="function"==typeof i.getBBox?i.getBBox():i.getBoundingClientRect()}catch(t){n.dimensions={x:0,y:0,width:0,height:0}}B.render(()=>{t4(n,r,t7(i.tagName),t.transformTemplate),ei(i,n)})})}})},eh={useVisualState:tR({scrapeMotionValuesFromProps:eo,createRenderState:t6})};function ec(t,e,i){for(let n in e)tC(e[n])||es(n,i)||(t[n]=e[n])}function ed(t,e){return function(i,{forwardMotionProps:n}={forwardMotionProps:!1}){let r={...tb(i)?eu:eh,preloadedFeatures:t,useRender:function(t=!1){return(e,i,n,{latestValues:r},s)=>{let o=(tb(e)?function(t,e,i,n){let r=(0,h.useMemo)(()=>{let i=t8();return t4(i,e,t7(n),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};ec(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return ec(n,i,t),Object.assign(n,function({transformTemplate:t},e){return(0,h.useMemo)(()=>{let i=t6();return t5(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(i,r,s,e),a=te(i,"string"==typeof e,t),l=e!==h.Fragment?{...a,...o,ref:n}:{},{children:u}=i,c=(0,h.useMemo)(()=>tC(u)?u.get():u,[u]);return(0,h.createElement)(e,{...l,children:c})}}(n),createVisualElement:e,Component:i};return tw(r)}}let ep=tn(ed());function em(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;nvoid 0!==window.ScrollTimeline);class ev{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;ieg()&&i.attachTimeline?i.attachTimeline(t):"function"==typeof e?e(i):void 0);return()=>{i.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;ee[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class ey extends ev{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}function ex(t,e){return t?t[e]||t.default||t:void 0}function ew(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function eP(t,e=100,i){let n=i({...t,keyframes:[0,e]}),r=Math.min(ew(n),2e4);return{type:"keyframes",ease:t=>n.next(r*t).value/e,duration:k(r)}}function eb(t){return"function"==typeof t}function eT(t,e){t.timeline=e,t.onfinish=null}class eS{constructor(t){this.animation=t}get duration(){var t,e,i;return k(Number((null==(e=null==(t=this.animation)?void 0:t.effect)?void 0:e.getComputedTiming().duration)||(null==(i=this.options)?void 0:i.duration)||300))}get time(){var t;return this.animation?k((null==(t=this.animation)?void 0:t.currentTime)||0):0}set time(t){this.animation&&(this.animation.currentTime=D(t))}get speed(){return this.animation?this.animation.playbackRate:1}set speed(t){this.animation&&(this.animation.playbackRate=t)}get state(){return this.animation?this.animation.playState:"finished"}get startTime(){return this.animation?this.animation.startTime:null}get finished(){return this.animation?this.animation.finished:Promise.resolve()}play(){this.animation&&this.animation.play()}pause(){this.animation&&this.animation.pause()}stop(){this.animation&&"idle"!==this.state&&"finished"!==this.state&&(this.animation.commitStyles&&this.animation.commitStyles(),this.cancel())}flatten(){var t;this.animation&&(null==(t=this.animation.effect)||t.updateTiming({easing:"linear"}))}attachTimeline(t){return this.animation&&eT(this.animation,t),M}complete(){this.animation&&this.animation.finish()}cancel(){try{this.animation&&this.animation.cancel()}catch(t){}}}let eA=t=>Array.isArray(t)&&"number"==typeof t[0],eE={linearEasing:void 0},eM=function(t,e){let i=V(t);return()=>{var t;return null!=(t=eE[e])?t:i()}}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),eC=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e`cubic-bezier(${t}, ${e}, ${i}, ${n})`,eR={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:eV([0,.65,.55,1]),circOut:eV([.55,0,1,.45]),backIn:eV([.31,.01,.66,-.59]),backOut:eV([.33,1.53,.69,.99])},eD={x:!1,y:!1};function ek(){return eD.x||eD.y}function eL(t,e,i){var n;if(t instanceof Element)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let s=null!=(n=null==i?void 0:i[t])?n:r.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t)}function ej(t,e){let i=eL(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function eF(t){return e=>{"touch"===e.pointerType||ek()||t(e)}}let eB=(t,e)=>!!e&&(t===e||eB(t,e.parentElement)),eO=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary,eI=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),eU=new WeakSet;function eW(t){return e=>{"Enter"===e.key&&t(e)}}function e$(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let eN=(t,e)=>{let i=t.currentTarget;if(!i)return;let n=eW(()=>{if(eU.has(i))return;e$(i,"down");let t=eW(()=>{e$(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>e$(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)},ez=new Set(["width","height","top","left","right","bottom",...tD]);function eH(){n=void 0}let eY={now:()=>(void 0===n&&eY.set(I.isProcessing||L.useManualTiming?I.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(eH)}};function eX(t,e){-1===t.indexOf(e)&&t.push(e)}function eG(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class eK{constructor(){this.subscriptions=[]}add(t){return eX(this.subscriptions,t),()=>eG(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r!isNaN(parseFloat(t)),eZ={current:void 0};class eJ{constructor(t,e={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=eY.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=eY.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=e_(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new eK);let i=this.events[t].add(e);return"change"===t?()=>{i(),B.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return eZ.current&&eZ.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=eY.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return eq(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function eQ(t,e){return new eJ(t,e)}function e0(t,e){let{transitionEnd:i={},transition:n={},...r}=ef(t,e)||{};for(let e in r={...r,...i}){let i=tM(r[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,eQ(i))}}function e1(t,e){let i=t.getValue("willChange");if(tC(i)&&i.add)return i.add(e)}function e5(t){return t.props[tg]}let e2={current:!1},e3=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function e9(t,e,i,n){if(t===e&&i===n)return M;let r=e=>(function(t,e,i,n,r){let s,o,a=0;do(s=e3(o=e+(i-e)/2,n,r)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o})(e,0,1,t,i);return t=>0===t||1===t?t:e3(r(t),e,n)}let e4=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,e6=t=>e=>1-t(1-e),e8=e9(.33,1.53,.69,.99),e7=e6(e8),it=e4(e7),ie=t=>(t*=2)<1?.5*e7(t):.5*(2-Math.pow(2,-10*(t-1))),ii=t=>1-Math.sin(Math.acos(t)),ir=e6(ii),is=e4(ii),io=t=>/^0[^.\s]+$/u.test(t),ia=t=>Math.round(1e5*t)/1e5,il=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,iu=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ih=(t,e)=>i=>!!("string"==typeof i&&iu.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),ic=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[r,s,o,a]=n.match(il);return{[t]:parseFloat(r),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},id=t=>tU(0,255,t),ip={...tW,transform:t=>Math.round(id(t))},im={test:ih("rgb","red"),parse:ic("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+ip.transform(t)+", "+ip.transform(e)+", "+ip.transform(i)+", "+ia(t$.transform(n))+")"},ig={test:ih("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:im.transform},iv={test:ih("hsl","hue"),parse:ic("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+tY.transform(ia(e))+", "+tY.transform(ia(i))+", "+ia(t$.transform(n))+")"},iy={test:t=>im.test(t)||ig.test(t)||iv.test(t),parse:t=>im.test(t)?im.parse(t):iv.test(t)?iv.parse(t):ig.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?im.transform(t):iv.transform(t)},ix=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,iw="number",iP="color",ib=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function iT(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},r=[],s=0,o=e.replace(ib,t=>(iy.test(t)?(n.color.push(s),r.push(iP),i.push(iy.parse(t))):t.startsWith("var(")?(n.var.push(s),r.push("var"),i.push(t)):(n.number.push(s),r.push(iw),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:n,types:r}}function iS(t){return iT(t).values}function iA(t){let{split:e,types:i}=iT(t),n=e.length;return t=>{let r="";for(let s=0;s"number"==typeof t?0:t,iM={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null==(e=t.match(il))?void 0:e.length)||0)+((null==(i=t.match(ix))?void 0:i.length)||0)>0},parse:iS,createTransformer:iA,getAnimatableNone:function(t){let e=iS(t);return iA(t)(e.map(iE))}},iC=new Set(["brightness","contrast","saturate","opacity"]);function iV(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(il)||[];if(!n)return t;let r=i.replace(n,""),s=+!!iC.has(e);return n!==i&&(s*=100),e+"("+s+r+")"}let iR=/\b([a-z-]*)\(.*?\)/gu,iD={...iM,getAnimatableNone:t=>{let e=t.match(iR);return e?e.map(iV).join(" "):t}},ik={...tJ,color:iy,backgroundColor:iy,outlineColor:iy,fill:iy,stroke:iy,borderColor:iy,borderTopColor:iy,borderRightColor:iy,borderBottomColor:iy,borderLeftColor:iy,filter:iD,WebkitFilter:iD},iL=t=>ik[t];function ij(t,e){let i=iL(t);return i!==iD&&(i=iM),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let iF=new Set(["auto","none","0"]),iB=t=>t===tW||t===tX,iO=(t,e)=>parseFloat(t.split(", ")[e]),iI=(t,e)=>(i,{transform:n})=>{if("none"===n||!n)return 0;let r=n.match(/^matrix3d\((.+)\)$/u);if(r)return iO(r[1],e);{let e=n.match(/^matrix\((.+)\)$/u);return e?iO(e[1],t):0}},iU=new Set(["x","y","z"]),iW=tD.filter(t=>!iU.has(t)),i$={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:iI(4,13),y:iI(5,14)};i$.translateX=i$.x,i$.translateY=i$.y;let iN=new Set,iz=!1,iH=!1;function iY(){if(iH){let t=Array.from(iN).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=function(t){let e=[];return iW.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e}(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{var n;null==(n=t.getValue(e))||n.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}iH=!1,iz=!1,iN.forEach(t=>t.complete()),iN.clear()}function iX(){iN.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(iH=!0)})}class iG{constructor(t,e,i,n,r,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(iN.add(this),iz||(iz=!0,B.read(iX),B.resolveKeyframes(iY))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;for(let r=0;r/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),iq=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,i_=t=>e=>e.test(t),iZ=[tW,tX,tY,tH,tK,tG,{test:t=>"auto"===t,parse:t=>t}],iJ=t=>iZ.find(i_(t));class iQ extends iG{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}let i0=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(iM.test(t)||"0"===t)&&!t.startsWith("url(")),i1=t=>null!==t;function i5(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(i1),s=e&&"loop"!==i&&e%2==1?0:r.length-1;return s&&void 0!==n?n:r[s]}class i2{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=eY.now(),this.options={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(iX(),iY()),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=eY.now(),this.hasAttemptedResolve=!0;let{name:i,type:n,velocity:r,delay:s,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=i0(r,e),a=i0(s,e);return M(o===a,`You are trying to animate ${e} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i{this.resolveFinishedPromise=t})}}let i3=(t,e,i)=>t+(e-t)*i;function i9(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function i4(t,e){return i=>i>0?e:t}let i6=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},i8=[ig,im,iv],i7=t=>i8.find(e=>e.test(t));function nt(t){let e=i7(t);if(M(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===iv&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=i9(a,n,t+1/3),s=i9(a,n,t),o=i9(a,n,t-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let ne=(t,e)=>{let i=nt(t),n=nt(e);if(!i||!n)return i4(t,e);let r={...i};return t=>(r.red=i6(i.red,n.red,t),r.green=i6(i.green,n.green,t),r.blue=i6(i.blue,n.blue,t),r.alpha=i3(i.alpha,n.alpha,t),im.transform(r))},ni=(t,e)=>i=>e(t(i)),nn=(...t)=>t.reduce(ni),nr=new Set(["none","hidden"]);function ns(t,e){return i=>i3(t,e,i)}function no(t){return"number"==typeof t?ns:"string"==typeof t?tB(t)?i4:iy.test(t)?ne:nu:Array.isArray(t)?na:"object"==typeof t?iy.test(t)?ne:nl:i4}function na(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>no(t)(t,e[i]));return t=>{for(let e=0;e{for(let e in n)i[e]=n[e](t);return i}}let nu=(t,e)=>{let i=iM.createTransformer(e),n=iT(t),r=iT(e);if(!(n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length))return M(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),i4(t,e);if(nr.has(t)&&!r.values.length||nr.has(e)&&!n.values.length)return nr.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return nn(na(function(t,e){var i;let n=[],r={color:0,var:0,number:0};for(let s=0;s{let n=e*o,r=n*t;return .001-(n-i)/nm(e,o)*Math.exp(-r)},s=e=>{let n=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-n),l=nm(Math.pow(e,2),o);return(n*i+i-s)*a*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,s,5/t);if(t=D(t),isNaN(a))return{stiffness:nd.stiffness,damping:nd.damping,duration:t};{let e=Math.pow(a,2)*n;return{stiffness:e,damping:2*o*Math.sqrt(n*e),duration:t}}}function nm(t,e){return t*Math.sqrt(1-e*e)}let nf=["duration","bounce"],ng=["stiffness","damping","mass"];function nv(t,e){return e.some(e=>void 0!==t[e])}function ny(t=nd.visualDuration,e=nd.bounce){let i,n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:r,restDelta:s}=n,o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:h,mass:c,duration:d,velocity:p,isResolvedFromDuration:m}=function(t){let e={velocity:nd.velocity,stiffness:nd.stiffness,damping:nd.damping,mass:nd.mass,isResolvedFromDuration:!1,...t};if(!nv(t,ng)&&nv(t,nf))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*tU(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:nd.mass,stiffness:n,damping:r}}else{let i=np(t);(e={...e,...i,mass:nd.mass}).isResolvedFromDuration=!0}return e}({...n,velocity:-k(n.velocity||0)}),f=p||0,g=h/(2*Math.sqrt(u*c)),v=a-o,y=k(Math.sqrt(u/c)),x=5>Math.abs(v);if(r||(r=x?nd.restSpeed.granular:nd.restSpeed.default),s||(s=x?nd.restDelta.granular:nd.restDelta.default),g<1){let t=nm(y,g);i=e=>a-Math.exp(-g*y*e)*((f+g*y*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}else if(1===g)i=t=>a-Math.exp(-y*t)*(v+(f+y*v)*t);else{let t=y*Math.sqrt(g*g-1);i=e=>{let i=Math.exp(-g*y*e),n=Math.min(t*e,300);return a-i*((f+g*y*v)*Math.sinh(n)+t*v*Math.cosh(n))/t}}let w={calculatedDuration:m&&d||null,next:t=>{let e=i(t);if(m)l.done=t>=d;else{let n=0;g<1&&(n=0===t?D(f):nc(i,t,e));let o=Math.abs(a-e)<=s;l.done=Math.abs(n)<=r&&o}return l.value=l.done?a:e,l},toString:()=>{let t=Math.min(ew(w),2e4),e=eC(e=>w.next(t*e).value,t,30);return t+"ms "+e}};return w}function nx({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d,p=t[0],m={done:!1,value:p},f=t=>void 0!==a&&tl,g=t=>void 0===a?l:void 0===l||Math.abs(a-t)-v*Math.exp(-t/n),P=t=>x+w(t),b=t=>{let e=w(t),i=P(t);m.done=Math.abs(e)<=u,m.value=m.done?x:i},T=t=>{f(m.value)&&(c=t,d=ny({keyframes:[m.value,g(m.value)],velocity:nc(P,t,m.value),damping:r,stiffness:s,restDelta:u,restSpeed:h}))};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,b(t),T(t)),void 0!==c&&t>=c)?d.next(t-c):(e||b(t),m)}}}let nw=e9(.42,0,1,1),nP=e9(0,0,.58,1),nb=e9(.42,0,.58,1),nT=t=>Array.isArray(t)&&"number"!=typeof t[0],nS={linear:M,easeIn:nw,easeInOut:nb,easeOut:nP,circIn:ii,circInOut:is,circOut:ir,backIn:e7,backInOut:it,backOut:e8,anticipate:ie},nA=t=>{if(eA(t)){C(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,n,r]=t;return e9(e,i,n,r)}return"string"==typeof t?(C(void 0!==nS[t],`Invalid easing type '${t}'`),nS[t]):t};function nE(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let s=t.length;if(C(s===e.length,"Both input and output ranges must be the same length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let n=[],r=i||nh,s=t.length-1;for(let i=0;i{if(o&&i1)for(;nu(tU(t[0],t[s-1],e)):u}function nM(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=R(0,e,n);t.push(i3(i,1,r))}}function nC(t){let e=[0];return nM(e,t.length-1),e}function nV({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=nT(n)?n.map(nA):nA(n),o={done:!1,value:e[0]},a=nE((r=i&&i.length===e.length?i:nC(e),r.map(e=>e*t)),e,{ease:Array.isArray(s)?s:e.map(()=>s||nb).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}let nR=t=>{let e=({timestamp:e})=>t(e);return{start:()=>B.update(e,!0),stop:()=>O(e),now:()=>I.isProcessing?I.timestamp:eY.now()}},nD={decay:nx,inertia:nx,tween:nV,keyframes:nV,spring:ny},nk=t=>t/100;class nL extends i2{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:e,motionValue:i,element:n,keyframes:r}=this.options,s=(null==n?void 0:n.KeyframeResolver)||iG;this.resolver=new s(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i,{type:n="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=this.options,l=eb(n)?n:nD[n]||nV;l!==nV&&"number"!=typeof t[0]&&(e=nn(nk,nh(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===o&&(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=ew(u));let{calculatedDuration:h}=u,c=h+s;return{generator:u,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:h,resolvedDuration:c,totalDuration:c*(r+1)-s}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:n,generator:r,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return r.next(0);let{delay:c,repeat:d,repeatType:p,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let g=this.currentTime-c*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,x=r;if(d){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/h)):"mirror"===p&&(x=s)),y=tU(0,1,i)*h}let w=v?{done:!1,value:a[0]}:x.next(y);o&&(w.value=o(w.value));let{done:P}=w;v||null===l||(P=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let b=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return b&&void 0!==n&&(w.value=i5(a,this.options,n)),f&&f(w.value),b&&this.finish(),w}get duration(){let{resolved:t}=this;return t?k(t.calculatedDuration):0}get time(){return k(this.currentTime)}set time(t){t=D(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=k(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=nR,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=n):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!=(t=this.currentTime)?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}function nj(t){return new nL(t)}let nF=new Set(["opacity","clipPath","filter","transform"]);function nB(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){let u={[e]:i};l&&(u.offset=l);let h=function t(e,i){if(e)return"function"==typeof e&&eM()?eC(e,i):eA(e)?eV(e):Array.isArray(e)?e.map(e=>t(e,i)||eR.easeOut):eR[e]}(a,r);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:n,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}let nO=V(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),nI={anticipate:ie,backInOut:it,circInOut:is};class nU extends i2{constructor(t){super(t);let{name:e,motionValue:i,element:n,keyframes:r}=this.options;this.resolver=new iQ(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}initPlayback(t,e){var i;let{duration:n=300,times:r,ease:s,type:o,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof s&&eM()&&s in nI&&(s=nI[s]),eb((i=this.options).type)||"spring"===i.type||!function t(e){return!!("function"==typeof e&&eM()||!e||"string"==typeof e&&(e in eR||eM())||eA(e)||Array.isArray(e)&&e.every(t))}(i.ease)){let{onComplete:e,onUpdate:i,motionValue:a,element:l,...u}=this.options,h=function(t,e){let i=new nL({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:t[0]},r=[],s=0;for(;!n.done&&s<2e4;)r.push((n=i.sample(s)).value),s+=10;return{times:void 0,keyframes:r,duration:s-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),n=h.duration,r=h.times,s=h.ease,o="keyframes"}let h=nB(a.owner.current,l,t,{...this.options,duration:n,times:r,ease:s});return h.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?(eT(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:i}=this.options;a.set(i5(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:n,times:r,type:o,ease:s,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return k(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return k(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=D(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return M;let{animation:i}=e;eT(i,t)}else this.pendingTimeline=t;return M}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:n,type:r,ease:s,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,element:l,...u}=this.options,h=new nL({...u,keyframes:i,duration:n,type:r,ease:s,times:o,isGenerator:!0}),c=D(this.time);t.setWithVelocity(h.sample(c-10).value,h.sample(c).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return nO()&&i&&nF.has(i)&&!a&&!l&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}}let nW={type:"spring",stiffness:500,damping:25,restSpeed:10},n$=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),nN={type:"keyframes",duration:.8},nz={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nH=(t,{keyframes:e})=>e.length>2?nN:tk.has(t)?t.startsWith("scale")?n$(e[1]):nW:nz,nY=(t,e,i,n={},r,s)=>o=>{let a=ex(n,t)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u-=D(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(a)&&(h={...h,...nH(t,h)}),h.duration&&(h.duration=D(h.duration)),h.repeatDelay&&(h.repeatDelay=D(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(h.duration=0,0===h.delay&&(c=!0)),(e2.current||L.skipAnimations)&&(c=!0,h.duration=0,h.delay=0),c&&!s&&void 0!==e.get()){let t=i5(h.keyframes,a);if(void 0!==t)return B.update(()=>{h.onUpdate(t),h.onComplete()}),new ey([])}return!s&&nU.supports(h)?new nU(h):new nL(h)};function nX(t,e,{delay:i=0,transitionOverride:n,type:r}={}){var s;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;n&&(o=n);let u=[],h=r&&t.animationState&&t.animationState.getState()[r];for(let e in l){let n=t.getValue(e,null!=(s=t.latestValues[e])?s:null),r=l[e];if(void 0===r||h&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(h,e))continue;let a={delay:i,...ex(o||{},e)},c=!1;if(window.MotionHandoffAnimation){let i=e5(t);if(i){let t=window.MotionHandoffAnimation(i,e,B);null!==t&&(a.startTime=t,c=!0)}}e1(t,e),n.start(nY(e,n,r,t.shouldReduceMotion&&ez.has(e)?{type:!1}:a,t,c));let d=n.animation;d&&u.push(d)}return a&&Promise.all(u).then(()=>{B.update(()=>{a&&e0(t,a)})}),u}function nG(t,e,i={}){var n;let r=ef(t,e,"exit"===i.type?null==(n=t.presenceContext)?void 0:n.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(s=i.transitionOverride);let o=r?()=>Promise.all(nX(t,r,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,i=0,n=0,r=1,s){let o=[],a=(t.variantChildren.size-1)*n,l=1===r?(t=0)=>t*n:(t=0)=>a-t*n;return Array.from(t.variantChildren).sort(nK).forEach((t,n)=>{t.notify("AnimationStart",e),o.push(nG(t,e,{...s,delay:i+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,r+n,o,a,i)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(i.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function nK(t,e){return t.sortNodePosition(e)}function nq(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>nG(t,e,i)));else if("string"==typeof e)n=nG(t,e,i);else{let r="function"==typeof e?ef(t,e,i.custom):e;n=Promise.all(nX(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})}let n_=tl.length,nZ=[...ta].reverse(),nJ=ta.length;function nQ(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function n0(){return{animate:nQ(!0),whileInView:nQ(),whileHover:nQ(),whileTap:nQ(),whileDrag:nQ(),whileFocus:nQ(),exit:nQ()}}class n1{constructor(t){this.isMounted=!1,this.node=t}update(){}}let n5=0,n2={animation:{Feature:class extends n1{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>nq(t,e,i))),i=n0(),n=!0,r=e=>(i,n)=>{var r;let s=ef(t,n,"exit"===e?null==(r=t.presenceContext)?void 0:r.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;i={...i,...n,...e}}return i};function s(s){let{props:o}=t,a=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;tc&&v,b=!1,T=Array.isArray(g)?g:[g],S=T.reduce(r(m),{});!1===y&&(S={});let{prevResolvedValues:A={}}=f,E={...A,...S},M=e=>{P=!0,u.has(e)&&(b=!0,u.delete(e)),f.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in E){let e=S[t],i=A[t];if(h.hasOwnProperty(t))continue;let n=!1;(tA(e)&&tA(i)?em(e,i):e===i)?void 0!==e&&u.has(t)?M(t):f.protectedKeys[t]=!0:null!=e?M(t):u.add(t)}f.prevProp=g,f.prevResolvedValues=S,f.isActive&&(h={...h,...S}),n&&t.blockInitialAnimation&&(P=!1);let C=!(x&&w)||b;P&&C&&l.push(...T.map(t=>({animation:t,options:{type:m}})))}if(u.size){let e={};u.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=null!=n?n:null}),l.push({animation:e})}let m=!!l.length;return n&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(m=!1),n=!1,m?e(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,n){var r;if(i[e].isActive===n)return Promise.resolve();null==(r=t.variantChildren)||r.forEach(t=>{var i;return null==(i=t.animationState)?void 0:i.setActive(e,n)}),i[e].isActive=n;let o=s(e);for(let t in i)i[t].protectedKeys={};return o},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=n0(),n=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();to(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null==(t=this.unmountControls)||t.call(this)}}},exit:{Feature:class extends n1{constructor(){super(...arguments),this.id=n5++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}}};function n3(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}function n9(t){return{point:{x:t.pageX,y:t.pageY}}}let n4=t=>e=>eO(e)&&t(e,n9(e));function n6(t,e,i,n){return n3(t,e,n4(i),n)}let n8=(t,e)=>Math.abs(t-e);function n7(t,e){return Math.sqrt(n8(t.x,e.x)**2+n8(t.y,e.y)**2)}class rt{constructor(t,e,{transformPagePoint:i,contextWindow:n,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=rn(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=n7(t.offset,{x:0,y:0})>=3;if(!e&&!i)return;let{point:n}=t,{timestamp:r}=I;this.history.push({...n,timestamp:r});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=re(e,this.transformPagePoint),B.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=rn("pointercancel"===t.type?this.lastMoveEventInfo:re(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!eO(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.contextWindow=n||window;let s=re(n9(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=I;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,rn(s,this.history)),this.removeListeners=nn(n6(this.contextWindow,"pointermove",this.handlePointerMove),n6(this.contextWindow,"pointerup",this.handlePointerUp),n6(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),O(this.updatePoint)}}function re(t,e){return e?{point:e(t.point)}:t}function ri(t,e){return{x:t.x-e.x,y:t.y-e.y}}function rn({point:t},e){return{point:t,delta:ri(t,rr(e)),offset:ri(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=rr(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>D(.1)));)i--;if(!n)return{x:0,y:0};let s=k(r.timestamp-n.timestamp);if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function rr(t){return t[t.length-1]}function rs(t){return t.max-t.min}function ro(t,e,i,n=.5){t.origin=n,t.originPoint=i3(e.min,e.max,t.origin),t.scale=rs(i)/rs(e),t.translate=i3(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function ra(t,e,i,n){ro(t.x,e.x,i.x,n?n.originX:void 0),ro(t.y,e.y,i.y,n?n.originY:void 0)}function rl(t,e,i){t.min=i.min+e.min,t.max=t.min+rs(e)}function ru(t,e,i){t.min=e.min-i.min,t.max=t.min+rs(e)}function rh(t,e,i){ru(t.x,e.x,i.x),ru(t.y,e.y,i.y)}function rc(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function rd(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min({translate:0,scale:1,origin:0,originPoint:0}),rg=()=>({x:rf(),y:rf()}),rv=()=>({min:0,max:0}),ry=()=>({x:rv(),y:rv()});function rx(t){return[t("x"),t("y")]}function rw({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function rP(t){return void 0===t||1===t}function rb({scale:t,scaleX:e,scaleY:i}){return!rP(t)||!rP(e)||!rP(i)}function rT(t){return rb(t)||rS(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function rS(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function rA(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function rE(t,e=0,i=1,n,r){t.min=rA(t.min,e,i,n,r),t.max=rA(t.max,e,i,n,r)}function rM(t,{x:e,y:i}){rE(t.x,e.translate,e.scale,e.originPoint),rE(t.y,i.translate,i.scale,i.originPoint)}function rC(t,e){t.min=t.min+e,t.max=t.max+e}function rV(t,e,i,n,r=.5){let s=i3(t.min,t.max,r);rE(t,e,i,s,n)}function rR(t,e){rV(t.x,e.x,e.scaleX,e.scale,e.originX),rV(t.y,e.y,e.scaleY,e.scale,e.originY)}function rD(t,e){return rw(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}let rk=({current:t})=>t?t.ownerDocument.defaultView:null,rL=new WeakMap;class rj{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ry(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new rt(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(n9(t).point)},onStart:(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(eD[t])return null;else return eD[t]=!0,()=>{eD[t]=!1};return eD.x||eD.y?null:(eD.x=eD.y=!0,()=>{eD.x=eD.y=!1})}(i),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rx(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tY.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=rs(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&B.postRender(()=>r(t,e)),e1(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>rx(t=>{var e;return"paused"===this.getAnimationState(t)&&(null==(e=this.getAxisMotionValue(t).animation)?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:rk(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:r}=this.getProps();r&&B.postRender(()=>r(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!rF(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&ti&&(t=n?i3(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(t=this.visualElement.projection)?void 0:t.layout,r=this.constraints;e&&tp(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:rc(t.x,i,r),y:rc(t.y,e,n)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:rp(t,"left","right"),y:rp(t,"top","bottom")}}(i),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&rx(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!tp(e))return!1;let n=e.current;C(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=function(t,e,i){let n=rD(t,i),{scroll:r}=e;return r&&(rC(n.x,r.offset.x),rC(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:rd(t.x,s.x),y:rd(t.y,s.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=rw(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(rx(o=>{if(!rF(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return e1(this.visualElement,t),i.start(nY(t,i,0,e,this.visualElement,!1))}stopAnimation(){rx(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){rx(t=>{var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.pause()})}getAnimationState(t){var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){rx(e=>{let{drag:i}=this.getProps();if(!rF(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e];r.set(t[e]-i3(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!tp(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};rx(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=rs(t),r=rs(e);return r>n?i=R(e.min,e.max-n,t.min):n>r&&(i=R(t.min,t.max-r,e.min)),tU(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),rx(e=>{if(!rF(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set(i3(r,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;rL.set(this.visualElement,this);let t=n6(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();tp(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),B.read(e);let r=n3(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(rx(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),n(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function rF(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let rB=t=>(e,i)=>{t&&B.postRender(()=>t(e,i))},rO={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rI(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let rU={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!tX.test(t))return t;else t=parseFloat(t);let i=rI(t,e.target.x),n=rI(t,e.target.y);return`${i}% ${n}%`}};class rW extends h.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;er(rN),r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),rO.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,s=i.projection;return s&&(s.isPresent=r,n||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||B.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tv.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function r$(t){let[e,i]=x(),n=(0,h.useContext)(c);return(0,u.jsx)(rW,{...t,layoutGroup:n,switchLayoutGroup:(0,h.useContext)(tx),isPresent:e,safeToRemove:i})}let rN={borderRadius:{...rU,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rU,borderTopRightRadius:rU,borderBottomLeftRadius:rU,borderBottomRightRadius:rU,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=iM.parse(t);if(n.length>5)return t;let r=iM.createTransformer(t),s=+("number"!=typeof n[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=i3(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};function rz(t,e,i){let n=tC(t)?t:eQ(t);return n.start(nY("",n,e,i)),n.animation}function rH(t){return t instanceof SVGElement&&"svg"!==t.tagName}let rY=(t,e)=>t.depth-e.depth;class rX{constructor(){this.children=[],this.isDirty=!1}add(t){eX(this.children,t),this.isDirty=!0}remove(t){eG(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rY),this.isDirty=!1,this.children.forEach(t)}}function rG(t,e){let i=eY.now(),n=({timestamp:r})=>{let s=r-i;s>=e&&(O(n),t(s-e))};return B.read(n,!0),()=>O(n)}let rK=["TopLeft","TopRight","BottomLeft","BottomRight"],rq=rK.length,r_=t=>"string"==typeof t?parseFloat(t):t,rZ=t=>"number"==typeof t||tX.test(t);function rJ(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rQ=r1(0,.5,ir),r0=r1(.5,.95,M);function r1(t,e,i){return n=>ne?1:i(R(t,e,n))}function r5(t,e){t.min=e.min,t.max=e.max}function r2(t,e){r5(t.x,e.x),r5(t.y,e.y)}function r3(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function r9(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function r4(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(tY.test(e)&&(e=parseFloat(e),e=i3(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=i3(s.min,s.max,n);t===s&&(a-=e),t.min=r9(t.min,e,i,a,r),t.max=r9(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let r6=["x","scaleX","originX"],r8=["y","scaleY","originY"];function r7(t,e,i,n){r4(t.x,e,r6,i?i.x:void 0,n?n.x:void 0),r4(t.y,e,r8,i?i.y:void 0,n?n.y:void 0)}function st(t){return 0===t.translate&&1===t.scale}function se(t){return st(t.x)&&st(t.y)}function si(t,e){return t.min===e.min&&t.max===e.max}function sn(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function sr(t,e){return sn(t.x,e.x)&&sn(t.y,e.y)}function ss(t){return rs(t.x)/rs(t.y)}function so(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class sa{constructor(){this.members=[]}add(t){eX(this.members,t),t.scheduleRender()}remove(t){if(eG(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let sl={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},su="undefined"!=typeof window&&void 0!==window.MotionDebug,sh=["","X","Y","Z"],sc={visibility:"hidden"},sd=0;function sp(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function sm({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=null==e?void 0:e()){this.id=sd++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,su&&(sl.totalNodes=sl.resolvedTargetDeltas=sl.recalculatedProjection=0),this.nodes.forEach(sv),this.nodes.forEach(sS),this.nodes.forEach(sA),this.nodes.forEach(sy),su&&window.MotionDebug.record(sl)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;tthis.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=rG(n,250),rO.hasAnimatedSinceResize&&(rO.hasAnimatedSinceResize=!1,this.nodes.forEach(sT))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&s&&(n||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||sD,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!sr(this.targetLayout,n)||i,u=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...ex(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||sT(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,O(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(sE),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=e5(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",B,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=ry());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(r3(this.prevProjectionDelta.x,this.projectionDelta.x),r3(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),ra(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&so(this.projectionDelta.x,this.prevProjectionDelta.x)&&so(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),su&&sl.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null==(e=this.options.visualElement)||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=rg(),this.projectionDelta=rg(),this.projectionDeltaWithTransform=rg()}setAnimationOrigin(t,e=!1){let i,n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=rg();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=ry(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(sR));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(sC(o.x,t.x,n),sC(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,m,f,g;rh(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,g=n,sV(p.x,m.x,f.x,g),sV(p.y,m.y,f.y,g),i&&(u=this.relativeTarget,d=i,si(u.x,d.x)&&si(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=ry()),r2(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=i3(0,void 0!==i.opacity?i.opacity:1,rQ(n)),t.opacityExit=i3(void 0!==e.opacity?e.opacity:1,0,r0(n))):s&&(t.opacity=i3(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let r=0;r{rO.hasAnimatedSinceResize=!0,this.currentAnimation=rz(0,1e3,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&sF(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||ry();let e=rs(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=rs(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}r2(e,i),rR(e,r),ra(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new sa),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null==(t=this.getStack())?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null==(t=this.getStack())?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&sp("z",t,n,this.animationValues);for(let e=0;e{var e;return null==(e=t.currentAnimation)?void 0:e.stop()}),this.root.nodes.forEach(sw),this.root.sharedNodes.clear()}}}function sf(t){t.updateLayout()}function sg(t){var e;let i=(null==(e=t.resumeFrom)?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:r}=t.options,s=i.source!==t.layout.source;"size"===r?rx(t=>{let n=s?i.measuredBox[t]:i.layoutBox[t],r=rs(n);n.min=e[t].min,n.max=n.min+r}):sF(r,i.layoutBox,e)&&rx(n=>{let r=s?i.measuredBox[n]:i.layoutBox[n],o=rs(e[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=rg();ra(o,e,i.layoutBox);let a=rg();s?ra(a,t.applyTransform(n,!0),i.measuredBox):ra(a,e,i.layoutBox);let l=!se(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=ry();rh(o,i.layoutBox,r.layoutBox);let a=ry();rh(a,e,s.layoutBox),sr(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function sv(t){su&&sl.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function sy(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function sx(t){t.clearSnapshot()}function sw(t){t.clearMeasurements()}function sP(t){t.isLayoutDirty=!1}function sb(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function sT(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function sS(t){t.resolveTargetDelta()}function sA(t){t.calcProjection()}function sE(t){t.resetSkewAndRotation()}function sM(t){t.removeLeadSnapshot()}function sC(t,e,i){t.translate=i3(e.translate,0,i),t.scale=i3(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function sV(t,e,i,n){t.min=i3(e.min,i.min,n),t.max=i3(e.max,i.max,n)}function sR(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let sD={duration:.45,ease:[.4,0,.1,1]},sk=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),sL=sk("applewebkit/")&&!sk("chrome/")?Math.round:M;function sj(t){t.min=sL(t.min),t.max=sL(t.max)}function sF(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(ss(e)-ss(i)))}function sB(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}let sO=sm({attachResizeListener:(t,e)=>n3(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),sI={current:void 0},sU=sm({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!sI.current){let t=new sO({});t.mount(window),t.setOptions({layoutScroll:!0}),sI.current=t}return sI.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),sW={pan:{Feature:class extends n1{constructor(){super(...arguments),this.removePointerDownListener=M}onPointerDown(t){this.session=new rt(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rk(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:rB(t),onStart:rB(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&B.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=n6(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends n1{constructor(t){super(t),this.removeGroupControls=M,this.removeListeners=M,this.controls=new rj(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||M}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:sU,MeasureLayout:r$}};function s$(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&B.postRender(()=>r(e,n9(e)))}function sN(t,e,i){let{props:n}=t;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&B.postRender(()=>r(e,n9(e)))}let sz=new WeakMap,sH=new WeakMap,sY=t=>{let e=sz.get(t.target);e&&e(t)},sX=t=>{t.forEach(sY)},sG={some:0,all:1},sK={inView:{Feature:class extends n1{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:sG[n]};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;sH.has(i)||sH.set(i,{});let n=sH.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(sX,{root:t,...e})),n[r]}(e);return sz.set(t,i),n.observe(t),()=>{sz.delete(t),n.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends n1{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=ej(t,i),o=t=>{let n=t.currentTarget;if(!(eO(t)&&!ek())||eU.has(n))return;eU.add(n);let s=e(t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),eO(t)&&!ek()&&eU.has(n)&&(eU.delete(n),"function"==typeof s&&s(t,{success:e}))},a=t=>{o(t,i.useGlobalTarget||eB(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return n.forEach(t=>{eI.has(t.tagName)||-1!==t.tabIndex||null!==t.getAttribute("tabindex")||(t.tabIndex=0),(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),t.addEventListener("focus",t=>eN(t,r),r)}),s}(t,t=>(sN(this.node,t,"Start"),(t,{success:e})=>sN(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends n1{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=nn(n3(this.node.current,"focus",()=>this.onFocus()),n3(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends n1{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=ej(t,i),o=eF(t=>{let{target:i}=t,n=e(t);if("function"!=typeof n||!i)return;let s=eF(t=>{n(t),i.removeEventListener("pointerleave",s)});i.addEventListener("pointerleave",s,r)});return n.forEach(t=>{t.addEventListener("pointerenter",o,r)}),s}(t,t=>(s$(this.node,t,"Start"),t=>s$(this.node,t,"End"))))}unmount(){}}}},sq={layout:{ProjectionNode:sU,MeasureLayout:r$}},s_={current:null},sZ={current:!1};function sJ(){if(sZ.current=!0,T)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>s_.current=t.matches;t.addListener(e),e()}else s_.current=!1}let sQ=[...iZ,iy,iM],s0=t=>sQ.find(i_(t)),s1=new WeakMap,s5=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class s2{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:r,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=iG,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=eY.now();this.renderScheduledAtthis.bindToMotionValue(e,t)),sZ.current||sJ(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||s_.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in s1.delete(this.current),this.projection&&this.projection.unmount(),O(this.notifyUpdate),O(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=tk.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&B.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),s(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in G){let e=G[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ry()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;ee.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=eQ(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let n=void 0===this.latestValues[t]&&this.current?null!=(i=this.getBaseTargetFromProps(this.props,t))?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=n&&("string"==typeof n&&(iK(n)||io(n))?n=parseFloat(n):!s0(n)&&iM.test(e)&&(n=ij(t,e)),this.setBaseTarget(t,tC(n)?n.get():n)),tC(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=tS(this.props,n,null==(e=this.presenceContext)?void 0:e.custom);r&&(i=r[t])}if(n&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||tC(r)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new eK),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class s3 extends s2{constructor(){super(...arguments),this.KeyframeResolver=iQ}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;tC(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}class s9 extends s3{constructor(){super(...arguments),this.type="html",this.renderInstance=et}readValueFromInstance(t,e){if(tk.has(e)){let t=iL(e);return t&&t.default||0}{let i=window.getComputedStyle(t),n=(tj(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return rD(t,e)}build(t,e,i){t5(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return eo(t,e,i)}}class s4 extends s3{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ry}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(tk.has(e)){let t=iL(e);return t&&t.default||0}return e=ee.has(e)?e:tm(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return ea(t,e,i)}build(t,e,i){t4(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,n){ei(t,e,i,n)}mount(t){this.isSVGTag=t7(t.tagName),super.mount(t)}}let s6=(t,e)=>tb(t)?new s4(e):new s9(e,{allowProjection:t!==h.Fragment}),s8=tn(ed({...n2,...sK,...sW,...sq},s6)),s7={renderer:s6,...n2,...sK},ot={...s7,...sW,...sq},oe={renderer:s6,...n2};function oi(t,e,i){(0,h.useInsertionEffect)(()=>t.on(e,i),[t,e,i])}function on(t,e){let i,n=()=>{let{currentTime:n}=e,r=(null===n?0:n.value)/100;i!==r&&t(r),i=r};return B.update(n,!0),()=>O(n)}let or=new WeakMap;function os({target:t,contentRect:e,borderBoxSize:i}){var n;null==(n=or.get(t))||n.forEach(n=>{n({target:t,contentSize:e,get size(){if(i){let{inlineSize:t,blockSize:e}=i[0];return{width:t,height:e}}if(t instanceof SVGElement&&"getBBox"in t)return t.getBBox();return{width:t.offsetWidth,height:t.offsetHeight}}})})}function oo(t){t.forEach(os)}let oa=new Set,ol=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),ou=()=>({time:0,x:ol(),y:ol()}),oh={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function oc(t,e,i,n){let r=i[e],{length:s,position:o}=oh[e],a=r.current,l=i.time;r.current=t[`scroll${o}`],r.scrollLength=t[`scroll${s}`]-t[`client${s}`],r.offset.length=0,r.offset[0]=0,r.offset[1]=r.scrollLength,r.progress=R(0,r.scrollLength,r.current);let u=n-l;r.velocity=u>50?0:eq(r.current-a,u)}let od={start:0,center:.5,end:1};function op(t,e,i=0){let n=0;if(t in od&&(t=od[t]),"string"==typeof t){let e=parseFloat(t);t.endsWith("px")?n=e:t.endsWith("%")?t=e/100:t.endsWith("vw")?n=e/100*document.documentElement.clientWidth:t.endsWith("vh")?n=e/100*document.documentElement.clientHeight:t=e}return"number"==typeof t&&(n=e*t),i+n}let om=[0,0],of=[[0,0],[1,1]],og={x:0,y:0},ov=new WeakMap,oy=new WeakMap,ox=new WeakMap,ow=t=>t===document.documentElement?window:t;function oP(t,{container:e=document.documentElement,...i}={}){let n=ox.get(e);n||(n=new Set,ox.set(e,n));let o=function(t,e,i,n={}){return{measure:()=>(function(t,e=t,i){if(i.x.targetOffset=0,i.y.targetOffset=0,e!==t){let n=e;for(;n&&n!==t;)i.x.targetOffset+=n.offsetLeft,i.y.targetOffset+=n.offsetTop,n=n.offsetParent}i.x.targetLength=e===t?e.scrollWidth:e.clientWidth,i.y.targetLength=e===t?e.scrollHeight:e.clientHeight,i.x.containerLength=t.clientWidth,i.y.containerLength=t.clientHeight})(t,n.target,i),update:e=>{oc(t,"x",i,e),oc(t,"y",i,e),i.time=e,(n.offset||n.target)&&function(t,e,i){let{offset:n=of}=i,{target:r=t,axis:s="y"}=i,o="y"===s?"height":"width",a=r!==t?function(t,e){let i={x:0,y:0},n=t;for(;n&&n!==e;)if(n instanceof HTMLElement)i.x+=n.offsetLeft,i.y+=n.offsetTop,n=n.offsetParent;else if("svg"===n.tagName){let t=n.getBoundingClientRect(),e=(n=n.parentElement).getBoundingClientRect();i.x+=t.left-e.left,i.y+=t.top-e.top}else if(n instanceof SVGGraphicsElement){let{x:t,y:e}=n.getBBox();i.x+=t,i.y+=e;let r=null,s=n.parentNode;for(;!r;)"svg"===s.tagName&&(r=s),s=n.parentNode;n=r}else break;return i}(r,t):og,l=r===t?{width:t.scrollWidth,height:t.scrollHeight}:"getBBox"in r&&"svg"!==r.tagName?r.getBBox():{width:r.clientWidth,height:r.clientHeight},u={width:t.clientWidth,height:t.clientHeight};e[s].offset.length=0;let h=!e[s].interpolate,c=n.length;for(let t=0;te(i)}}(e,t,ou(),i);if(n.add(o),!ov.has(e)){let t=()=>{for(let t of n)t.measure()},i=()=>{for(let t of n)t.update(I.timestamp)},o=()=>{for(let t of n)t.notify()},a=()=>{B.read(t,!1,!0),B.read(i,!1,!0),B.update(o,!1,!0)};ov.set(e,a);let l=ow(e);window.addEventListener("resize",a,{passive:!0}),e!==document.documentElement&&oy.set(e,"function"==typeof e?(oa.add(e),s||(s=()=>{let t={width:window.innerWidth,height:window.innerHeight},e={target:window,size:t,contentSize:t};oa.forEach(t=>t(e))},window.addEventListener("resize",s)),()=>{oa.delete(e),!oa.size&&s&&(s=void 0)}):function(t,e){r||"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(oo));let i=eL(t);return i.forEach(t=>{let i=or.get(t);i||(i=new Set,or.set(t,i)),i.add(e),null==r||r.observe(t)}),()=>{i.forEach(t=>{let i=or.get(t);null==i||i.delete(e),(null==i?void 0:i.size)||null==r||r.unobserve(t)})}}(e,a)),l.addEventListener("scroll",a,{passive:!0})}let a=ov.get(e);return B.read(a,!1,!0),()=>{var t;O(a);let i=ox.get(e);if(!i||(i.delete(o),i.size))return;let n=ov.get(e);ov.delete(e),n&&(ow(e).removeEventListener("scroll",n),null==(t=oy.get(e))||t(),window.removeEventListener("resize",n))}}let ob=new Map;function oT({source:t,container:e=document.documentElement,axis:i="y"}={}){t&&(e=t),ob.has(e)||ob.set(e,{});let n=ob.get(e);return n[i]||(n[i]=eg()?new ScrollTimeline({source:e,axis:i}):function({source:t,container:e,axis:i="y"}){t&&(e=t);let n={value:0},r=oP(t=>{n.value=100*t[i].progress},{container:e,axis:i});return{currentTime:n,cancel:r}}({source:e,axis:i})),n[i]}function oS(t){return t&&(t.target||t.offset)}function oA(t,{axis:e="y",...i}={}){var n,r;let s={axis:e,...i};return"function"==typeof t?(n=t,r=s,2===n.length||oS(r)?oP(t=>{n(t[r.axis].progress,t)},r):on(n,oT(r))):function(t,e){if(t.flatten(),oS(e))return t.pause(),oP(i=>{t.time=t.duration*i[e.axis].progress},e);{let i=oT(e);return t.attachTimeline?t.attachTimeline(i,t=>(t.pause(),on(e=>{t.time=t.duration*e},i))):M}}(t,s)}function oE(t,e){M(!!(!e||e.current),`You have defined a ${t} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let oM=()=>({scrollX:eQ(0),scrollY:eQ(0),scrollXProgress:eQ(0),scrollYProgress:eQ(0)});function oC({container:t,target:e,layoutEffect:i=!0,...n}={}){let r=d(oM);return(i?S:h.useEffect)(()=>(oE("target",e),oE("container",t),oA((t,{x:e,y:i})=>{r.scrollX.set(e.current),r.scrollXProgress.set(e.progress),r.scrollY.set(i.current),r.scrollYProgress.set(i.progress)},{...n,container:(null==t?void 0:t.current)||void 0,target:(null==e?void 0:e.current)||void 0})),[t,e,JSON.stringify(n.offset)]),r}function oV(t){return oC({container:t})}function oR(){return oC()}function oD(t){let e=d(()=>eQ(t)),{isStatic:i}=(0,h.useContext)(m);if(i){let[,i]=(0,h.useState)(t);(0,h.useEffect)(()=>e.on("change",i),[])}return e}function ok(t,e){let i=oD(e()),n=()=>i.set(e());return n(),S(()=>{let e=()=>B.preRender(n,!1,!0),i=t.map(t=>t.on("change",e));return()=>{i.forEach(t=>t()),O(n)}}),i}function oL(t,...e){let i=t.length;return ok(e.filter(tC),function(){let n="";for(let r=0;r{}),a=()=>{let t=n.current;t&&0===t.time&&t.sample(I.delta),l(),n.current=nj({keyframes:[r.get(),s.current],velocity:r.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...e,onUpdate:o.current})},l=()=>{n.current&&n.current.stop()};return(0,h.useInsertionEffect)(()=>r.attach((t,e)=>i?e(t):(s.current=t,o.current=e,B.update(a),r.get()),l),[JSON.stringify(e)]),S(()=>{if(tC(t))return t.on("change",t=>r.set(oj(t)))},[r]),r}function oB(t){let e=(0,h.useRef)(0),{isStatic:i}=(0,h.useContext)(m);(0,h.useEffect)(()=>{if(i)return;let n=({timestamp:i,delta:n})=>{e.current||(e.current=i),t(i-e.current,n)};return B.update(n,!0),()=>O(n)},[t])}function oO(){let t=oD(0);return oB(e=>t.set(e)),t}let oI=t=>t&&"object"==typeof t&&t.mix,oU=t=>oI(t)?t.mix:void 0;function oW(...t){let e=!Array.isArray(t[0]),i=e?0:-1,n=t[0+i],r=t[1+i],s=t[2+i],o=t[3+i],a=nE(r,s,{mixer:oU(s[0]),...o});return e?a(n):a}function o$(t,e,i,n){if("function"==typeof t){eZ.current=[],t();let e=ok(eZ.current,t);return eZ.current=void 0,e}let r="function"==typeof e?e:oW(e,i,n);return Array.isArray(t)?oN(t,r):oN([t],([t])=>r(t))}function oN(t,e){let i=d(()=>[]);return ok(t,()=>{i.length=0;let n=t.length;for(let e=0;e{let n=t.getVelocity();e.set(n),n&&B.update(i)};return oi(t,"change",()=>{B.update(i,!1,!0)}),e}class oH extends eJ{constructor(){super(...arguments),this.values=[]}add(t){let e=tk.has(t)?"transform":nF.has(t)?tm(t):void 0;e&&(eX(this.values,e),this.update())}update(){this.set(this.values.length?this.values.join(", "):"auto")}}function oY(){return d(()=>new oH("auto"))}function oX(){sZ.current||sJ();let[t]=(0,h.useState)(s_.current);return t}function oG(){let t=oX(),{reducedMotion:e}=(0,h.useContext)(m);return"never"!==e&&("always"===e||t)}function oK(t,e){[...e].reverse().forEach(i=>{let n=t.getVariant(i);n&&e0(t,n),t.variantChildren&&t.variantChildren.forEach(t=>{oK(t,e)})})}function oq(){let t=!1,e=new Set,i={subscribe:t=>(e.add(t),()=>void e.delete(t)),start(i,n){C(t,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let r=[];return e.forEach(t=>{r.push(nq(t,i,{transitionOverride:n}))}),Promise.all(r)},set:i=>(C(t,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),e.forEach(t=>{var e,n;e=t,Array.isArray(n=i)?oK(e,n):"string"==typeof n?oK(e,[n]):e0(e,n)})),stop(){e.forEach(t=>{t.values.forEach(t=>t.stop())})},mount:()=>(t=!0,()=>{t=!1,i.stop()})};return i}function o_(t){return(0,h.useEffect)(()=>()=>t(),[])}let oZ=(t,e,i)=>{let n=e-t;return((i-t)%n+n)%n+t};function oJ(t,e){return nT(t)?t[oZ(0,t.length,e)]:t}function oQ(t){return"object"==typeof t&&!Array.isArray(t)}function o0(t,e,i,n){return"string"==typeof t&&oQ(e)?eL(t,i,n):t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t]}function o1(t,e,i,n){var r;return"number"==typeof e?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):"<"===e?i:null!=(r=n.get(e))?r:t}function o5(t,e){return t.at!==e.at?t.at-e.at:null===t.value?1:null===e.value?-1:0}function o2(t,e){return e.has(t)||e.set(t,{}),e.get(t)}function o3(t,e){return e[t]||(e[t]=[]),e[t]}let o9=t=>"number"==typeof t,o4=t=>t.every(o9);class o6 extends s2{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,e){if(e in t){let i=t[e];if("string"==typeof i||"number"==typeof i)return i}}getBaseTargetFromProps(){}removeValueFromRenderState(t,e){delete e.output[t]}measureInstanceViewportBox(){return ry()}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}}function o8(t){let e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},i=rH(t)?new s4(e):new s9(e);i.mount(t),s1.set(t,i)}function o7(t){let e=new o6({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});e.mount(t),s1.set(t,e)}function at(t,e,i,n){let r=[];if(tC(t)||"number"==typeof t||"string"==typeof t&&!oQ(e))r.push(rz(t,oQ(e)&&e.default||e,i&&i.default||i));else{let s=o0(t,e,n),o=s.length;C(!!o,"No valid elements provided.");for(let t=0;t{var l;let u=Array.isArray(l=t)?l:[l],{delay:h=0,times:p=nC(u),type:m="keyframes",repeat:f,repeatType:g,repeatDelay:v=0,...x}=i,{ease:w=e.ease||"easeOut",duration:P}=i,b="function"==typeof h?h(o,a):h,T=u.length,S=eb(m)?m:null==r?void 0:r[m];if(T<=2&&S){let t=100;2===T&&o4(u)&&(t=Math.abs(u[1]-u[0]));let e={...x};void 0!==P&&(e.duration=D(P));let i=eP(e,t,S);w=i.ease,P=i.duration}null!=P||(P=s);let A=c+b;1===p.length&&0===p[0]&&(p[1]=1);let E=p.length-u.length;if(E>0&&nM(p,E),1===u.length&&u.unshift(null),f){C(f<20,"Repeat count too high, must be less than 20");P*=f+1;let t=[...u],e=[...p],i=[...w=Array.isArray(w)?[...w]:[w]];for(let n=0;nr&&i.at{for(let r in t){let s=t[r];s.sort(o5);let a=[],l=[],u=[];for(let t=0;t{n.push(...at(i,t,e))}),n}(e,i,t):at(e,i,n,t));return t&&t.animations.push(s),s}}let ai=ae();function an(){let t=d(()=>({current:null,animations:[]})),e=d(()=>ae(t));return o_(()=>{t.animations.forEach(t=>t.stop())}),[t,e]}function ar(t,e,i){t.style.setProperty(`--${e}`,i)}function as(t,e,i){t.style[e]=i}let ao=V(()=>{try{document.createElement("div").animate({opacity:[1]})}catch(t){return!1}return!0}),aa=new WeakMap,al="easeOut";function au(t){let e=aa.get(t)||new Map;return aa.set(t,e),aa.get(t)}class ah extends eS{constructor(t,e,i,n){let r=e.startsWith("--");C("string"!=typeof n.type,'animateMini doesn\'t support "type" as a string. Did you mean to import { spring } from "framer-motion"?');let s=au(t).get(e);s&&s.stop(),Array.isArray(i)||(i=[i]);var o=i,a=()=>e.startsWith("--")?t.style.getPropertyValue(e):window.getComputedStyle(t)[e];for(let t=0;t{this.setValue(t,e,i5(i,n)),this.cancel(),this.resolveFinishedPromise()},u=()=>{this.setValue=r?ar:as,this.options=n,this.updateFinishedPromise(),this.removeAnimation=()=>{let i=aa.get(t);i&&i.delete(e)}};nO()?(super(nB(t,e,i,n)),u(),!1===n.autoplay&&this.animation.pause(),this.animation.onfinish=l,au(t).set(e,this)):(super(),u(),l())}then(t,e){return this.currentFinishedPromise.then(t,e)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}play(){"finished"===this.state&&this.updateFinishedPromise(),super.play()}cancel(){this.removeAnimation(),super.cancel()}}let ac=t=>function(e,i,n){return new ey(function(t,e,i,n){let r=eL(t,n),s=r.length;C(!!s,"No valid element provided.");let o=[];for(let t=0;t({current:null,animations:[]})),e=d(()=>ac(t));return o_(()=>{t.animations.forEach(t=>t.stop())}),[t,e]}function am(){let t=d(oq);return S(t.mount,[]),t}let af=am;function ag(t,e,i,n){(0,h.useEffect)(()=>{let r=t.current;if(i&&r)return n3(r,e,i,n)},[t,e,i,n])}class av{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,e){this.componentControls.forEach(i=>{i.start(t.nativeEvent||t,e)})}}let ay=()=>new av;function ax(){return d(ay)}function aw(t){return null!==t&&"object"==typeof t&&td in t}function aP(t){if(aw(t))return t[td]}function ab(){return aT}function aT(t){sI.current&&(sI.current.isUpdating=!1,sI.current.blockUpdate(),t&&t())}function aS(){return(0,h.useCallback)(()=>{let t=sI.current;t&&t.resetTree()},[])}function aA(...t){let e=(0,h.useRef)(0),[i,n]=(0,h.useState)(t[e.current]);return[i,(0,h.useCallback)(i=>{e.current="number"!=typeof i?oZ(0,t.length,e.current+1):i,n(t[e.current])},[t.length,...t])]}let aE={some:0,all:1};function aM(t,e,{root:i,margin:n,amount:r="some"}={}){let s=eL(t),o=new WeakMap,a=new IntersectionObserver(t=>{t.forEach(t=>{let i=o.get(t.target);if(!!i!==t.isIntersecting)if(t.isIntersecting){let i=e(t);"function"==typeof i?o.set(t.target,i):a.unobserve(t.target)}else"function"==typeof i&&(i(t),o.delete(t.target))})},{root:i,rootMargin:n,threshold:"number"==typeof r?r:aE[r]});return s.forEach(t=>a.observe(t)),()=>a.disconnect()}function aC(t,{root:e,margin:i,amount:n,once:r=!1}={}){let[s,o]=(0,h.useState)(!1);return(0,h.useEffect)(()=>{if(!t.current||r&&s)return;let a={root:e&&e.current||void 0,margin:i,amount:n};return aM(t.current,()=>(o(!0),r?void 0:()=>o(!1)),a)},[e,t,i,r,n]),s}function aV(){let[t,e]=W(),i=(0,h.useRef)(-1);return(0,h.useEffect)(()=>{B.postRender(()=>B.postRender(()=>{e===i.current&&(e2.current=!1)}))},[e]),n=>{aT(()=>{e2.current=!0,t(),n(),i.current=e+1})}}function aR(){e2.current=!1}let aD=(t,e)=>{let i=tk.has(e)?"transform":e;return`${t}: ${i}`},ak=new Map,aL=new Map;function aj(t,e,i){var n;let r=aD(t,e),s=ak.get(r);if(!s)return null;let{animation:o,startTime:a}=s;function l(){var n;null==(n=window.MotionCancelOptimisedAnimation)||n.call(window,t,e,i)}return(o.onfinish=l,null===a||(null==(n=window.MotionHandoffIsComplete)?void 0:n.call(window,t)))?(l(),null):a}let aF=new Set;function aB(){aF.forEach(t=>{t.animation.play(),t.animation.startTime=t.startTime}),aF.clear()}function aO(t,e,i,n,r){if(window.MotionIsMounted)return;let s=t.dataset[tf];if(!s)return;window.MotionHandoffAnimation=aj;let l=aD(s,e);a||(a=nB(t,e,[i[0],i[0]],{duration:1e4,ease:"linear"}),ak.set(l,{animation:a,startTime:null}),window.MotionHandoffAnimation=aj,window.MotionHasOptimisedAnimation=(t,e)=>{if(!t)return!1;if(!e)return aL.has(t);let i=aD(t,e);return!!ak.get(i)},window.MotionHandoffMarkAsComplete=t=>{aL.has(t)&&aL.set(t,!0)},window.MotionHandoffIsComplete=t=>!0===aL.get(t),window.MotionCancelOptimisedAnimation=(t,e,i,n)=>{let r=aD(t,e),s=ak.get(r);s&&(i&&void 0===n?i.postRender(()=>{i.postRender(()=>{s.animation.cancel()})}):s.animation.cancel(),i&&n?(aF.add(s),i.render(aB)):(ak.delete(r),ak.size||(window.MotionCancelOptimisedAnimation=void 0)))},window.MotionCheckAppearSync=(t,e,i)=>{var n,r;let s=e5(t);if(!s)return;let o=null==(n=window.MotionHasOptimisedAnimation)?void 0:n.call(window,s,e),a=null==(r=t.props.values)?void 0:r[e];if(!o||!a)return;let l=i.on("change",t=>{var i;a.get()!==t&&(null==(i=window.MotionCancelOptimisedAnimation)||i.call(window,s,e),l())});return l});let u=()=>{a.cancel();let s=nB(t,e,i,n);void 0===o&&(o=performance.now()),s.startTime=o,ak.set(l,{animation:s,startTime:o}),r&&r(s)};aL.set(s,!1),a.ready?a.ready.then(u).catch(M):u()}let aI=()=>({});class aU extends s2{constructor(){super(...arguments),this.measureInstanceViewportBox=ry}build(){}resetTransform(){}restoreTransform(){}removeValueFromRenderState(){}renderInstance(){}scrapeMotionValuesFromProps(){return aI()}getBaseTargetFromProps(){}readValueFromInstance(t,e,i){return i.initialState[e]||0}sortInstanceNodePosition(){return 0}}let aW=tR({scrapeMotionValuesFromProps:aI,createRenderState:aI});function a$(t){let[e,i]=(0,h.useState)(t),n=aW({},!1),r=d(()=>new aU({props:{onUpdate:t=>{i({...t})}},visualState:n,presenceContext:null},{initialState:t}));return(0,h.useLayoutEffect)(()=>(r.mount({}),()=>r.unmount()),[r]),[e,d(()=>t=>nq(r,t))]}let aN=0,az=({children:t})=>(h.useEffect(()=>{C(!1,"AnimateSharedLayout is deprecated: https://www.framer.com/docs/guide-upgrade/##shared-layout-animations")},[]),(0,u.jsx)(H,{id:d(()=>`asl-${aN++}`),children:t})),aH=t=>t>.001?1/t:1e5,aY=!1;function aX(t){let e=oD(1),i=oD(1),{visualElement:n}=(0,h.useContext)(tr);return C(!!(t||n),"If no scale values are provided, useInvertedScale must be used within a child of another motion component."),M(aY,"useInvertedScale is deprecated and will be removed in 3.0. Use the layout prop instead."),aY=!0,t?(e=t.scaleX||e,i=t.scaleY||i):n&&(e=n.getValue("scaleX",1),i=n.getValue("scaleY",1)),{scaleX:o$(e,aH),scaleY:o$(i,aH)}}let aG=(0,h.createContext)(null),aK=(0,h.forwardRef)(function({children:t,as:e="ul",axis:i="y",onReorder:n,values:r,...s},o){let a=d(()=>s8[e]),l=[],c=(0,h.useRef)(!1);return C(!!r,"Reorder.Group must be provided a values prop"),(0,h.useEffect)(()=>{c.current=!1}),(0,u.jsx)(a,{...s,ref:o,ignoreStrict:!0,children:(0,u.jsx)(aG.Provider,{value:{axis:i,registerItem:(t,e)=>{let n=l.findIndex(e=>t===e.value);-1!==n?l[n].layout=e[i]:l.push({value:t,layout:e[i]}),l.sort(a_)},updateOrder:(t,e,i)=>{if(c.current)return;let s=function(t,e,i,n){if(!n)return t;let r=t.findIndex(t=>t.value===e);if(-1===r)return t;let s=n>0?1:-1,o=t[r+s];if(!o)return t;let a=t[r],l=o.layout,u=i3(l.min,l.max,.5);return 1===s&&a.layout.max+i>u||-1===s&&a.layout.min+i=0&&n-1!==r.indexOf(t))))}},children:t})})});function aq(t){return t.value}function a_(t,e){return t.layout.min-e.layout.min}function aZ(t,e=0){return tC(t)?t:oD(e)}let aJ=(0,h.forwardRef)(function({children:t,style:e={},value:i,as:n="li",onDrag:r,layout:s=!0,...o},a){let l=d(()=>s8[n]),c=(0,h.useContext)(aG),p={x:aZ(e.x),y:aZ(e.y)},m=o$([p.x,p.y],([t,e])=>t||e?1:"unset");C(!!c,"Reorder.Item must be a child of Reorder.Group");let{axis:f,registerItem:g,updateOrder:v}=c;return(0,u.jsx)(l,{drag:f,...o,dragSnapToOrigin:!0,style:{...e,x:p.x,y:p.y,zIndex:m},layout:s,onDrag:(t,e)=>{let{velocity:n}=e;n[f]&&v(i,p[f].get(),n[f]),r&&r(t,e)},onLayoutMeasure:t=>g(i,t),ref:a,ignoreStrict:!0,children:t})});function aQ(t=.1,{startDelay:e=0,from:i=0,ease:n}={}){return(r,s)=>{let o=t*Math.abs(("number"==typeof i?i:function(t,e){if("first"===t)return 0;{let i=e-1;return"last"===t?i:i/2}}(i,s))-r);if(n){let e=s*t;o=nA(n)(o/e)*e}return e+o}}let a0=B,a1=j.reduce((t,e)=>(t[e]=t=>O(t),t),{});function a5(t,e="end"){return i=>{let n=(i="end"===e?Math.min(i,.999):Math.max(i,.001))*t;return tU(0,1,("end"===e?Math.floor(n):Math.ceil(n))/t)}}}}]); \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3956.c2c369d8.js.LICENSE.txt b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3956.c2c369d8.js.LICENSE.txt deleted file mode 100644 index 8693fb8316..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3956.c2c369d8.js.LICENSE.txt +++ /dev/null @@ -1,13 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3969.2cf8ec77.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3969.2cf8ec77.js deleted file mode 100644 index a32fc0bba9..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3969.2cf8ec77.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 3969.2cf8ec77.js.LICENSE.txt */ -"use strict";(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["3969"],{35589:function(e,t,a){a.r(t),a.d(t,{Cassandra:()=>W,MSSQL:()=>A,MariaSQL:()=>$,MySQL:()=>N,PLSQL:()=>G,PostgreSQL:()=>Z,SQLDialect:()=>X,SQLite:()=>E,StandardSQL:()=>R,keywordCompletionSource:()=>j,schemaCompletionSource:()=>I,sql:()=>J});var n=a(73015),r=a(26644),i=a(70080),s=a(83582);function o(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57}function l(e,t,a){for(let n=!1;;){if(e.next<0)return;if(e.next==t&&!n)return void e.advance();n=a&&!n&&92==e.next,e.advance()}}function c(e,t){for(;95==e.next||o(e.next);)null!=t&&(t+=String.fromCharCode(e.next)),e.advance();return t}function d(e,t){for(;48==e.next||49==e.next;)e.advance();t&&e.next==t&&e.advance()}function u(e,t){for(;;){if(46==e.next){if(t)break;t=!0}else if(e.next<48||e.next>57)break;e.advance()}if(69==e.next||101==e.next)for(e.advance(),(43==e.next||45==e.next)&&e.advance();e.next>=48&&e.next<=57;)e.advance()}function m(e){for(;!(e.next<0||10==e.next);)e.advance()}function p(e,t){for(let a=0;a!=&|~^/",specialVar:"?",identifierQuotes:'"',caseInsensitiveIdentifiers:!1,words:g(_,h)};function v(e){return new i.Jq(t=>{let{next:a}=t;if(t.advance(),p(a,f)){for(;p(t.next,f);)t.advance();t.acceptToken(36)}else if(36==a&&e.doubleDollarQuotedStrings){let e=c(t,"");36==t.next&&(t.advance(),function(e,t){e:for(;;){if(e.next<0)return;if(36==e.next){e.advance();for(let a=0;a1){t.advance(),l(t,39,e.backslashEscapes),t.acceptToken(3);break}if(!o(t.next))break;t.advance()}else if(e.plsqlQuotingMechanism&&(113==a||81==a)&&39==t.next&&t.peek(1)>0&&!p(t.peek(1),f)){let e=t.peek(1);t.advance(2),function(e,t){let a="[{<(".indexOf(String.fromCharCode(t)),n=a<0?t:"]}>)".charCodeAt(a);for(;;){if(e.next<0)return;if(e.next==n&&39==e.peek(1))return void e.advance(2);e.advance()}}(t,e),t.acceptToken(3)}else if(40==a)t.acceptToken(7);else if(41==a)t.acceptToken(8);else if(123==a)t.acceptToken(9);else if(125==a)t.acceptToken(10);else if(91==a)t.acceptToken(11);else if(93==a)t.acceptToken(12);else if(59==a)t.acceptToken(13);else if(e.unquotedBitLiterals&&48==a&&98==t.next)t.advance(),d(t),t.acceptToken(22);else if((98==a||66==a)&&(39==t.next||34==t.next)){let a=t.next;t.advance(),e.treatBitsAsBytes?(l(t,a,e.backslashEscapes),t.acceptToken(23)):(d(t,a),t.acceptToken(22))}else if(48==a&&(120==t.next||88==t.next)||(120==a||88==a)&&39==t.next){let e=39==t.next;for(t.advance();(r=t.next)>=48&&r<=57||r>=97&&r<=102||r>=65&&r<=70;)t.advance();e&&39==t.next&&t.advance(),t.acceptToken(4)}else if(46==a&&t.next>=48&&t.next<=57)u(t,!0),t.acceptToken(4);else if(46==a)t.acceptToken(14);else if(a>=48&&a<=57)u(t,!1),t.acceptToken(4);else if(p(a,e.operatorChars)){for(;p(t.next,e.operatorChars);)t.advance();t.acceptToken(15)}else if(p(a,e.specialVar)){var n,r;if(t.next==a&&t.advance(),39==t.next||34==t.next||96==t.next){let e=t.next;t.advance(),l(t,e,!1)}else c(t);t.acceptToken(17)}else if(p(a,e.identifierQuotes))l(t,a,!1),t.acceptToken(19);else if(58==a||44==a)t.acceptToken(16);else if(o(a)){let r=c(t,String.fromCharCode(a));t.acceptToken(46==t.next||46==t.peek(-r.length-1)?18:null!=(n=e.words[r.toLowerCase()])?n:18)}}else m(t),t.acceptToken(1)})}let y=v(b),k=i.WQ.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"⚠ LineComment BlockComment String Number Bool Null ( ) { } [ ] ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,nodeProps:[["isolate",-4,1,2,3,19,""]],skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,y],topRules:{Script:[0,25]},tokenPrec:0});function x(e){let t=e.cursor().moveTo(e.from,-1);for(;/Comment/.test(t.name);)t.moveTo(t.from,-1);return t.node}function O(e,t){let a=e.sliceString(t.from,t.to),n=/^([`'"])(.*)\1$/.exec(a);return n?n[2]:a}function w(e){return e&&("Identifier"==e.name||"QuotedIdentifier"==e.name)}function Q(e,t){for(let a=[];;){if(!t||"."!=t.name)return a;let n=x(t);if(!w(n))return a;a.unshift(O(e,n)),t=x(n)}}let C=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" ")),S=/^\w*$/,q=/^[`'"]?\w*[`'"]?$/;function P(e){return e.self&&"string"==typeof e.self.label}class T{constructor(e,t){this.idQuote=e,this.idCaseInsensitive=t,this.list=[],this.children=void 0}child(e){let t=this.children||(this.children=Object.create(null)),a=t[e];return a||(e&&!this.list.some(t=>t.label==e)&&this.list.push(U(e,"type",this.idQuote,this.idCaseInsensitive)),t[e]=new T(this.idQuote,this.idCaseInsensitive))}maybeChild(e){return this.children?this.children[e]:null}addCompletion(e){let t=this.list.findIndex(t=>t.label==e.label);t>-1?this.list[t]=e:this.list.push(e)}addCompletions(e){for(let t of e)this.addCompletion("string"==typeof t?U(t,"property",this.idQuote,this.idCaseInsensitive):t)}addNamespace(e){Array.isArray(e)?this.addCompletions(e):P(e)?this.addNamespace(e.children):this.addNamespaceObject(e)}addNamespaceObject(e){for(let t of Object.keys(e)){let a=e[t],n=null,r=t.replace(/\\?\./g,e=>"."==e?"\0":e).split("\0"),i=this;P(a)&&(n=a.self,a=a.children);for(let e=0;e({from:Math.min(e.from+100,t.doc.lineAt(e.from).to),to:e.to}),BlockComment:e=>({from:e.from+2,to:e.to-2})}),(0,r.Gv)({Keyword:r.pJ.keyword,Type:r.pJ.typeName,Builtin:r.pJ.standard(r.pJ.name),Bits:r.pJ.number,Bytes:r.pJ.string,Bool:r.pJ.bool,Null:r.pJ.null,Number:r.pJ.number,String:r.pJ.string,Identifier:r.pJ.name,QuotedIdentifier:r.pJ.special(r.pJ.string),SpecialVar:r.pJ.special(r.pJ.name),LineComment:r.pJ.lineComment,BlockComment:r.pJ.blockComment,Operator:r.pJ.operator,"Semi Punctuation":r.pJ.punctuation,"( )":r.pJ.paren,"{ }":r.pJ.brace,"[ ]":r.pJ.squareBracket})]});class X{constructor(e,t,a){this.dialect=e,this.language=t,this.spec=a}get extension(){return this.language.extension}configureLanguage(e,t){return new X(this.dialect,this.language.configure(e,t),this.spec)}static define(e){let t=function(e,t,a,n){let r={};for(let t in b)r[t]=(e.hasOwnProperty(t)?e:b)[t];return t&&(r.words=g(t,a||"",n)),r}(e,e.keywords,e.types,e.builtin),a=n.qp.define({name:"sql",parser:z.configure({tokenizers:[{from:y,to:v(t)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new X(t,a,e)}}function B(e,t){return{label:e,type:t,boost:-1}}function j(e,t=!1,a){var n,r;let i;return n=e.dialect.words,r=a||B,i=Object.keys(n).map(e=>{var a;return r(t?e.toUpperCase():e,21==(a=n[e])?"type":20==a?"keyword":"variable")}),(0,s.eC)(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],(0,s.Mb)(i))}function I(e){var t,a,r,i,s,o,l;let c,d;return e.schema?(t=e.schema,a=e.tables,r=e.schemas,i=e.defaultTable,s=e.defaultSchema,c=new T((null==(l=null==(o=e.dialect||R)?void 0:o.spec.identifierQuotes)?void 0:l[0])||'"',!!(null==o?void 0:o.spec.caseInsensitiveIdentifiers)),d=s?c.child(s):null,c.addNamespace(t),a&&(d||c).addCompletions(a),r&&c.addCompletions(r),d&&c.addCompletions(d.list),i&&c.addCompletions((d||c).child(i).list),e=>{var t,a,r;let s,o,{parents:l,from:u,quoted:m,empty:p,aliases:f}=(t=e.state,a=e.pos,s=(0,n.qz)(t).resolveInner(a,-1),o=function(e,t){let a;for(let e=t;!a;e=e.parent){if(!e)return null;"Statement"==e.name&&(a=e)}let n=null;for(let t=a.firstChild,r=!1,i=null;t;t=t.nextSibling){let a="Keyword"==t.name?e.sliceString(t.from,t.to).toLowerCase():null,s=null;if(r)if("as"==a&&i&&w(t.nextSibling))s=O(e,t.nextSibling);else if(a&&C.has(a))break;else i&&w(t)&&(s=O(e,t));else r="from"==a;s&&(n||(n=Object.create(null)),n[s]=function(e,t){if("CompositeIdentifier"==t.name){let a=[];for(let n=t.firstChild;n;n=n.nextSibling)w(n)&&a.push(O(e,n));return a}return[O(e,t)]}(e,i)),i=/Identifier$/.test(t.name)?t:null}return n}(t.doc,s),"Identifier"==s.name||"QuotedIdentifier"==s.name||"Keyword"==s.name?{from:s.from,quoted:"QuotedIdentifier"==s.name?t.doc.sliceString(s.from,s.from+1):null,parents:Q(t.doc,x(s)),aliases:o}:"."==s.name?{from:a,quoted:null,parents:Q(t.doc,s),aliases:o}:{from:a,quoted:null,parents:[],empty:!0,aliases:o});if(p&&!e.explicit)return null;f&&1==l.length&&(l=f[l[0]]||l);let g=c;for(let e of l){for(;!g.children||!g.children[e];)if(g==c&&d)g=d;else{if(g!=d||!i)return null;g=g.child(i)}let t=g.maybeChild(e);if(!t)return null;g=t}let h=m&&e.state.sliceDoc(e.pos,e.pos+1)==m,_=g.list;return g==c&&f&&(_=_.concat(Object.keys(f).map(e=>({label:e,type:"constant"})))),{from:u,to:h?e.pos+1:void 0,options:(r=_,m?r.map(e=>({...e,label:e.label[0]==m?e.label:m+e.label+m,apply:void 0})):r),validFor:m?q:S}}):()=>null}function J(e={}){let t=e.dialect||R;return new n.ri(t.language,[e.schema?(e.dialect||R).language.data.of({autocomplete:I(e)}):[],t.language.data.of({autocomplete:j(t,e.upperCaseKeywords,e.keywordCompletion)})])}let R=X.define({}),Z=X.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:_+"abort abs absent access according ada admin aggregate alias also always analyse analyze array_agg array_max_cardinality asensitive assert assignment asymmetric atomic attach attribute attributes avg backward base64 begin_frame begin_partition bernoulli bit_length blocked bom cache called cardinality catalog_name ceil ceiling chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics characters checkpoint class class_origin cluster coalesce cobol collation_catalog collation_name collation_schema collect column_name columns command_function command_function_code comment comments committed concurrently condition_number configuration conflict connection_name constant constraint_catalog constraint_name constraint_schema contains content control conversion convert copy corr cost covar_pop covar_samp csv cume_dist current_catalog current_row current_schema cursor_name database datalink datatype datetime_interval_code datetime_interval_precision db debug defaults defined definer degree delimiter delimiters dense_rank depends derived detach detail dictionary disable discard dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue document dump dynamic_function dynamic_function_code element elsif empty enable encoding encrypted end_frame end_partition endexec enforced enum errcode error event every exclude excluding exclusive exp explain expression extension extract family file filter final first_value flag floor following force foreach fortran forward frame_row freeze fs functions fusion generated granted greatest groups handler header hex hierarchy hint id ignore ilike immediately immutable implementation implicit import include including increment indent index indexes info inherit inherits inline insensitive instance instantiable instead integrity intersection invoker isnull key_member key_type label lag last_value lead leakproof least length library like_regex link listen ln load location lock locked log logged lower mapping matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text min minvalue mod mode more move multiset mumps name namespace nfc nfd nfkc nfkd nil normalize normalized nothing notice notify notnull nowait nth_value ntile nullable nullif nulls number occurrences_regex octet_length octets off offset oids operator options ordering others over overlay overriding owned owner parallel parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partition pascal passing passthrough password percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding prepared print_strict_params procedural procedures program publication query quote raise range rank reassign recheck recovery refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex rename repeatable replace replica requiring reset respect restart restore result_oid returned_cardinality returned_length returned_octet_length returned_sqlstate returning reverse routine_catalog routine_name routine_schema routines row_count row_number rowtype rule scale schema_name schemas scope scope_catalog scope_name scope_schema security selective self sensitive sequence sequences serializable server server_name setof share show simple skip slice snapshot source specific_name sqlcode sqlerror sqrt stable stacked standalone statement statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time table_name tables tablesample tablespace temp template ties token top_level_count transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex trigger_catalog trigger_name trigger_schema trim trim_array truncate trusted type types uescape unbounded uncommitted unencrypted unlink unlisten unlogged unnamed untyped upper uri use_column use_variable user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema vacuum valid validate validator value_of var_pop var_samp varbinary variable_conflict variadic verbose version versioning views volatile warning whitespace width_bucket window within wrapper xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate yes",types:h+"bigint int8 bigserial serial8 varbit bool box bytea cidr circle precision float8 inet int4 json jsonb line lseg macaddr macaddr8 money numeric pg_lsn point polygon float4 int2 smallserial serial2 serial serial4 text timetz timestamptz tsquery tsvector txid_snapshot uuid xml"}),L="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill",V=h+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime unsigned signed",D="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",N=X.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:_+"group_concat "+L,types:V,builtin:D}),$=X.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:_+"always generated groupby_concat hard persistent shutdown soft virtual "+L,types:V,builtin:D}),A=X.define({keywords:_+"trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock pivot readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx unpivot updlock with",types:h+"bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image hierarchyid uniqueidentifier sql_variant xml",builtin:"binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id",operatorChars:"*+-%<>!=^&|/",specialVar:"@"}),E=X.define({keywords:_+"abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",types:h+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int2 int8 unsigned signed real",builtin:"auth backup bail changes clone databases dbinfo dump echo eqp explain fullschema headers help import imposter indexes iotrace lint load log mode nullvalue once print prompt quit restore save scanstats separator shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width",operatorChars:"*+-%<>!=&|/~",identifierQuotes:'`"',specialVar:"@:?$"}),W=X.define({keywords:"add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime infinity NaN",types:h+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),G=X.define({keywords:_+"abort accept access add all alter and any arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body by case cast char_base check close cluster clusters colauth column comment commit compress connected constant constraint crash create current currval cursor data_base database dba deallocate debugoff debugon declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry exception exception_init exchange exclusive exists external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base of off offline on online only option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw rebuild record ref references refresh rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work",builtin:"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define echo editfile embedded feedback flagger flush heading headsep instance linesize lno loboffset logsource longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar repfooter repheader serveroutput shiftinout show showmode spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout timing trimout trimspool ttitle underline verify version wrap",types:h+"ascii bfile bfilename bigserial bit blob dec long number nvarchar nvarchar2 serial smallint string text uid varchar2 xml",operatorChars:"*/+-%<>!=~",doubleQuotedStrings:!0,charSetCasts:!0,plsqlQuotingMechanism:!0})}}]); \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3969.2cf8ec77.js.LICENSE.txt b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3969.2cf8ec77.js.LICENSE.txt deleted file mode 100644 index 8693fb8316..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/3969.2cf8ec77.js.LICENSE.txt +++ /dev/null @@ -1,13 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4374.c99deb71.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4374.c99deb71.js deleted file mode 100644 index 34b164948d..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4374.c99deb71.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 4374.c99deb71.js.LICENSE.txt */ -"use strict";(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["4374"],{18241:function(e,t,r){r.r(t),r.d(t,{Immer:()=>X,applyPatches:()=>Z,castDraft:()=>er,castImmutable:()=>en,createDraft:()=>ee,current:()=>q,enableMapSet:()=>G,enablePatches:()=>B,finishDraft:()=>et,freeze:()=>P,immerable:()=>i,isDraft:()=>u,isDraftable:()=>l,nothing:()=>a,original:()=>_,produce:()=>Q,produceWithPatches:()=>T,setAutoFreeze:()=>V,setUseStrictShallowCopy:()=>Y});var n,a=Symbol.for("immer-nothing"),i=Symbol.for("immer-draftable"),s=Symbol.for("immer-state");function o(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var c=Object.getPrototypeOf;function u(e){return!!e&&!!e[s]}function l(e){return!!e&&(p(e)||Array.isArray(e)||!!e[i]||!!e.constructor?.[i]||g(e)||m(e))}var f=Object.prototype.constructor.toString();function p(e){if(!e||"object"!=typeof e)return!1;let t=c(e);if(null===t)return!0;let r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===f}function _(e){return u(e)||o(15,e),e[s].base_}function h(e,t){0===d(e)?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function d(e){let t=e[s];return t?t.type_:Array.isArray(e)?1:g(e)?2:3*!!m(e)}function y(e,t){return 2===d(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function b(e,t){return 2===d(e)?e.get(t):e[t]}function v(e,t,r){let n=d(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function g(e){return e instanceof Map}function m(e){return e instanceof Set}function w(e){return e.copy_||e.base_}function S(e,t){if(g(e))return new Map(e);if(m(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let r=p(e);if(!0!==t&&("class_only"!==t||r)){let t=c(e);return null!==t&&r?{...e}:Object.assign(Object.create(t),e)}{let t=Object.getOwnPropertyDescriptors(e);delete t[s];let r=Reflect.ownKeys(t);for(let n=0;n1&&(e.set=e.add=e.clear=e.delete=z),Object.freeze(e),t&&Object.entries(e).forEach(([e,t])=>P(t,!0))),e}function z(){o(2)}function O(e){return Object.isFrozen(e)}var A={};function j(e){let t=A[e];return t||o(0,e),t}function M(e,t){t&&(j("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function k(e){D(e),e.drafts_.forEach(E),e.drafts_=null}function D(e){e===n&&(n=e.parent_)}function F(e){return n={drafts_:[],parent_:n,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function E(e){let t=e[s];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function x(e,t){t.unfinalizedDrafts_=t.drafts_.length;let r=t.drafts_[0];return void 0!==e&&e!==r?(r[s].modified_&&(k(t),o(4)),l(e)&&(e=C(t,e),t.parent_||R(t,e)),t.patches_&&j("Patches").generateReplacementPatches_(r[s].base_,e,t.patches_,t.inversePatches_)):e=C(t,r,[]),k(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==a?e:void 0}function C(e,t,r){if(O(t))return t;let n=t[s];if(!n)return h(t,(a,i)=>N(e,n,t,a,i,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return R(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;let t=n.copy_,a=t,i=!1;3===n.type_&&(a=new Set(t),t.clear(),i=!0),h(a,(a,s)=>N(e,n,t,a,s,r,i)),R(e,t,!1),r&&e.patches_&&j("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function N(e,t,r,n,a,i,s){if(u(a)){let s=C(e,a,i&&t&&3!==t.type_&&!y(t.assigned_,n)?i.concat(n):void 0);if(v(r,n,s),!u(s))return;e.canAutoFreeze_=!1}else s&&r.add(a);if(l(a)&&!O(a)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;C(e,a),(!t||!t.scope_.parent_)&&"symbol"!=typeof n&&Object.prototype.propertyIsEnumerable.call(r,n)&&R(e,a)}}function R(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&P(t,r)}var K={get(e,t){if(t===s)return e;let r=w(e);if(!y(r,t)){var n=e,a=r,i=t;let s=U(a,i);return s?"value"in s?s.value:s.get?.call(n.draft_):void 0}let o=r[t];return e.finalized_||!l(o)?o:o===I(e.base_,t)?(J(e),e.copy_[t]=$(o,e)):o},has:(e,t)=>t in w(e),ownKeys:e=>Reflect.ownKeys(w(e)),set(e,t,r){let n=U(w(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){let n=I(w(e),t),a=n?.[s];if(a&&a.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if((r===n?0!==r||1/r==1/n:r!=r&&n!=n)&&(void 0!==r||y(e.base_,t)))return!0;J(e),L(e)}return!!(e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t]))||(e.copy_[t]=r,e.assigned_[t]=!0,!0)},deleteProperty:(e,t)=>(void 0!==I(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,J(e),L(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let r=w(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty(){o(11)},getPrototypeOf:e=>c(e.base_),setPrototypeOf(){o(12)}},W={};function I(e,t){let r=e[s];return(r?w(r):e)[t]}function U(e,t){if(!(t in e))return;let r=c(e);for(;r;){let e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=c(r)}}function L(e){!e.modified_&&(e.modified_=!0,e.parent_&&L(e.parent_))}function J(e){e.copy_||(e.copy_=S(e.base_,e.scope_.immer_.useStrictShallowCopy_))}h(K,(e,t)=>{W[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),W.deleteProperty=function(e,t){return W.set.call(this,e,t,void 0)},W.set=function(e,t,r){return K.set.call(this,e[0],t,r,e[0])};var X=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,r)=>{let n;if("function"==typeof e&&"function"!=typeof t){let r=t;t=e;let n=this;return function(e=r,...a){return n.produce(e,e=>t.call(this,e,...a))}}if("function"!=typeof t&&o(6),void 0!==r&&"function"!=typeof r&&o(7),l(e)){let a=F(this),i=$(e,void 0),s=!0;try{n=t(i),s=!1}finally{s?k(a):D(a)}return M(a,r),x(n,a)}if(e&&"object"==typeof e)o(1,e);else{if(void 0===(n=t(e))&&(n=e),n===a&&(n=void 0),this.autoFreeze_&&P(n,!0),r){let t=[],a=[];j("Patches").generateReplacementPatches_(e,n,t,a),r(t,a)}return n}},this.produceWithPatches=(e,t)=>{let r,n;return"function"==typeof e?(t,...r)=>this.produceWithPatches(t,t=>e(t,...r)):[this.produce(e,t,(e,t)=>{r=e,n=t}),r,n]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){l(e)||o(8),u(e)&&(e=q(e));let t=F(this),r=$(e,void 0);return r[s].isManual_=!0,D(t),r}finishDraft(e,t){let r=e&&e[s];r&&r.isManual_||o(9);let{scope_:n}=r;return M(n,t),x(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){let n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));let n=j("Patches").applyPatches_;return u(e)?n(e,t):this.produce(e,e=>n(e,t))}};function $(e,t){let r=g(e)?j("MapSet").proxyMap_(e,t):m(e)?j("MapSet").proxySet_(e,t):function(e,t){let r=Array.isArray(e),a={type_:+!!r,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},i=a,s=K;r&&(i=[a],s=W);let{revoke:o,proxy:c}=Proxy.revocable(i,s);return a.draft_=c,a.revoke_=o,c}(e,t);return(t?t.scope_:n).drafts_.push(r),r}function q(e){return u(e)||o(10,e),function e(t){let r;if(!l(t)||O(t))return t;let n=t[s];if(n){if(!n.modified_)return n.base_;n.finalized_=!0,r=S(t,n.scope_.immer_.useStrictShallowCopy_)}else r=S(t,!0);return h(r,(t,n)=>{v(r,t,e(n))}),n&&(n.finalized_=!1),r}(e)}function B(){var e;let t="replace",r="remove";function n(e){if(!l(e))return e;if(Array.isArray(e))return e.map(n);if(g(e))return new Map(Array.from(e.entries()).map(([e,t])=>[e,n(t)]));if(m(e))return new Set(Array.from(e).map(n));let t=Object.create(c(e));for(let r in e)t[r]=n(e[r]);return y(e,i)&&(t[i]=e[i]),t}function s(e){return u(e)?n(e):e}e="Patches",A[e]||(A[e]={applyPatches_:function(e,a){return a.forEach(a=>{let{path:i,op:s}=a,c=e;for(let e=0;e{let a=b(f,e),i=b(p,e),o=n?y(f,e)?t:"add":r;if(a===i&&o===t)return;let _=c.concat(e);u.push(o===r?{op:o,path:_}:{op:o,path:_,value:i}),l.push("add"===o?{op:r,path:_}:o===r?{op:"add",path:_,value:s(a)}:{op:t,path:_,value:s(a)})});return;case 1:return function(e,n,a,i){let{base_:o,assigned_:c}=e,u=e.copy_;u.length{if(!s.has(e)){let i=t.concat([o]);n.push({op:r,path:i,value:e}),a.unshift({op:"add",path:i,value:e})}o++}),o=0,s.forEach(e=>{if(!i.has(e)){let i=t.concat([o]);n.push({op:"add",path:i,value:e}),a.unshift({op:r,path:i,value:e})}o++})}(e,n,a,i)}},generateReplacementPatches_:function(e,r,n,i){n.push({op:t,path:[],value:r===a?void 0:r}),i.push({op:t,path:[],value:e})}})}function G(){var e;class t extends Map{constructor(e,t){super(),this[s]={type_:2,parent_:t,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,copy_:void 0,assigned_:void 0,base_:e,draft_:this,isManual_:!1,revoked_:!1}}get size(){return w(this[s]).size}has(e){return w(this[s]).has(e)}set(e,t){let n=this[s];return c(n),w(n).has(e)&&w(n).get(e)===t||(r(n),L(n),n.assigned_.set(e,!0),n.copy_.set(e,t),n.assigned_.set(e,!0)),this}delete(e){if(!this.has(e))return!1;let t=this[s];return c(t),r(t),L(t),t.base_.has(e)?t.assigned_.set(e,!1):t.assigned_.delete(e),t.copy_.delete(e),!0}clear(){let e=this[s];c(e),w(e).size&&(r(e),L(e),e.assigned_=new Map,h(e.base_,t=>{e.assigned_.set(t,!1)}),e.copy_.clear())}forEach(e,t){w(this[s]).forEach((r,n,a)=>{e.call(t,this.get(n),n,this)})}get(e){let t=this[s];c(t);let n=w(t).get(e);if(t.finalized_||!l(n)||n!==t.base_.get(e))return n;let a=$(n,t);return r(t),t.copy_.set(e,a),a}keys(){return w(this[s]).keys()}values(){let e=this.keys();return{[Symbol.iterator]:()=>this.values(),next:()=>{let t=e.next();return t.done?t:{done:!1,value:this.get(t.value)}}}}entries(){let e=this.keys();return{[Symbol.iterator]:()=>this.entries(),next:()=>{let t=e.next();if(t.done)return t;let r=this.get(t.value);return{done:!1,value:[t.value,r]}}}}[Symbol.iterator](){return this.entries()}}function r(e){e.copy_||(e.assigned_=new Map,e.copy_=new Map(e.base_))}class a extends Set{constructor(e,t){super(),this[s]={type_:3,parent_:t,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,copy_:void 0,base_:e,draft_:this,drafts_:new Map,revoked_:!1,isManual_:!1}}get size(){return w(this[s]).size}has(e){let t=this[s];return(c(t),t.copy_)?!!(t.copy_.has(e)||t.drafts_.has(e)&&t.copy_.has(t.drafts_.get(e))):t.base_.has(e)}add(e){let t=this[s];return c(t),this.has(e)||(i(t),L(t),t.copy_.add(e)),this}delete(e){if(!this.has(e))return!1;let t=this[s];return c(t),i(t),L(t),t.copy_.delete(e)||!!t.drafts_.has(e)&&t.copy_.delete(t.drafts_.get(e))}clear(){let e=this[s];c(e),w(e).size&&(i(e),L(e),e.copy_.clear())}values(){let e=this[s];return c(e),i(e),e.copy_.values()}entries(){let e=this[s];return c(e),i(e),e.copy_.entries()}keys(){return this.values()}[Symbol.iterator](){return this.values()}forEach(e,t){let r=this.values(),n=r.next();for(;!n.done;)e.call(t,n.value,n.value,this),n=r.next()}}function i(e){e.copy_||(e.copy_=new Set,e.base_.forEach(t=>{if(l(t)){let r=$(t,e);e.drafts_.set(t,r),e.copy_.add(r)}else e.copy_.add(t)}))}function c(e){e.revoked_&&o(3,JSON.stringify(w(e)))}e="MapSet",A[e]||(A[e]={proxyMap_:function(e,r){return new t(e,r)},proxySet_:function(e,t){return new a(e,t)}})}var H=new X,Q=H.produce,T=H.produceWithPatches.bind(H),V=H.setAutoFreeze.bind(H),Y=H.setUseStrictShallowCopy.bind(H),Z=H.applyPatches.bind(H),ee=H.createDraft.bind(H),et=H.finishDraft.bind(H);function er(e){return e}function en(e){return e}}}]); \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4374.c99deb71.js.LICENSE.txt b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4374.c99deb71.js.LICENSE.txt deleted file mode 100644 index 8693fb8316..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4374.c99deb71.js.LICENSE.txt +++ /dev/null @@ -1,13 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/448.3498365b.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/448.3498365b.js deleted file mode 100644 index 86b405aff8..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/448.3498365b.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 448.3498365b.js.LICENSE.txt */ -"use strict";(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["448"],{94902:function(e,t,r){function n(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}r.r(t),r.d(t,{createSerializableStateInvariantMiddleware:()=>D,isAction:()=>g,isPlain:()=>N,createDynamicMiddleware:()=>e2,freeze:()=>w.freeze,isPlainObject:()=>c,createDraftSafeSelector:()=>v,asyncThunkCreator:()=>eu,addListener:()=>eH,isPending:()=>function e(...t){return 0===t.length?e=>H(e,["pending"]):J(t)?K(...t.map(e=>e.pending)):e()(t[0])},ReducerType:()=>ec,findNonSerializableValue:()=>function e(t,r="",n=N,i,o=[],a){let u;if(!n(t))return{keyPath:r||"",value:t};if("object"!=typeof t||null===t||a?.has(t))return!1;let c=null!=i?i(t):Object.entries(t),l=o.length>0;for(let[t,s]of c){let c=r?r+"."+t:t;if(!(l&&o.some(e=>e instanceof RegExp?e.test(c):c===e))){if(!n(s))return{keyPath:c,value:s};if("object"==typeof s&&(u=e(s,c,n,i,o,a)))return u}}return a&&function e(t){if(!Object.isFrozen(t))return!1;for(let r of Object.values(t))if("object"==typeof r&&null!==r&&!e(r))return!1;return!0}(t)&&a.add(t),!1},isFluxStandardAction:()=>_,legacy_createStore:()=>s,compose:()=>h,autoBatchEnhancer:()=>B,createActionCreatorInvariantMiddleware:()=>k,createEntityAdapter:()=>em,createImmutableStateInvariantMiddleware:()=>I,createSlice:()=>es,isRejected:()=>Q,prepareAutoBatched:()=>W,__DO_NOT_USE__ActionTypes:()=>u,createSelectorCreator:()=>b.wN,isDraft:()=>w.isDraft,current:()=>w.current,formatProdErrorMessage:()=>tn,applyMiddleware:()=>y,createNextState:()=>w.produce,nanoid:()=>Y,isAsyncThunkAction:()=>function e(...t){return 0===t.length?e=>H(e,["pending","fulfilled","rejected"]):J(t)?K(...t.flatMap(e=>[e.pending,e.rejected,e.fulfilled])):e()(t[0])},clearAllListeners:()=>eJ,TaskAbortError:()=>e_,createDraftSafeSelectorCreator:()=>O,combineSlices:()=>tr,isAllOf:()=>G,original:()=>w.original,configureStore:()=>U,buildCreateSlice:()=>el,SHOULD_AUTOBATCH:()=>$,isFulfilled:()=>function e(...t){return 0===t.length?e=>H(e,["fulfilled"]):J(t)?K(...t.map(e=>e.fulfilled)):e()(t[0])},createAction:()=>A,Tuple:()=>M,isRejectedWithValue:()=>function e(...t){let r=e=>e&&e.meta&&e.meta.rejectedWithValue;return 0===t.length||J(t)?G(Q(...t),r):e()(t[0])},isAnyOf:()=>K,createSelector:()=>b.P1,createReducer:()=>X,combineReducers:()=>f,removeListener:()=>eQ,bindActionCreators:()=>p,lruMemoize:()=>b.PP,isActionCreator:()=>T,createAsyncThunk:()=>ei,createStore:()=>l,createListenerMiddleware:()=>eZ,isImmutableDefault:()=>R,weakMapMemoize:()=>b.kO,miniSerializeError:()=>er,unwrapResult:()=>eo});var i,o="function"==typeof Symbol&&Symbol.observable||"@@observable",a=()=>Math.random().toString(36).substring(7).split("").join("."),u={INIT:`@@redux/INIT${a()}`,REPLACE:`@@redux/REPLACE${a()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${a()}`};function c(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function l(e,t,r){if("function"!=typeof e)throw Error(n(2));if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw Error(n(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw Error(n(1));return r(l)(e,t)}let i=e,a=t,s=new Map,f=s,d=0,p=!1;function h(){f===s&&(f=new Map,s.forEach((e,t)=>{f.set(t,e)}))}function y(){if(p)throw Error(n(3));return a}function g(e){if("function"!=typeof e)throw Error(n(4));if(p)throw Error(n(5));let t=!0;h();let r=d++;return f.set(r,e),function(){if(t){if(p)throw Error(n(6));t=!1,h(),f.delete(r),s=null}}}function w(e){if(!c(e))throw Error(n(7));if(void 0===e.type)throw Error(n(8));if("string"!=typeof e.type)throw Error(n(17));if(p)throw Error(n(9));try{p=!0,a=i(a,e)}finally{p=!1}return(s=f).forEach(e=>{e()}),e}return w({type:u.INIT}),{dispatch:w,subscribe:g,getState:y,replaceReducer:function(e){if("function"!=typeof e)throw Error(n(10));i=e,w({type:u.REPLACE})},[o]:function(){return{subscribe(e){if("object"!=typeof e||null===e)throw Error(n(11));function t(){e.next&&e.next(y())}return t(),{unsubscribe:g(t)}},[o](){return this}}}}}function s(e,t,r){return l(e,t,r)}function f(e){let t,r=Object.keys(e),i={};for(let t=0;t{let t=i[e];if(void 0===t(void 0,{type:u.INIT}))throw Error(n(12));if(void 0===t(void 0,{type:u.PROBE_UNKNOWN_ACTION()}))throw Error(n(13))})}catch(e){t=e}return function(e={},r){if(t)throw t;let a=!1,u={};for(let t=0;te:1===e.length?e[0]:e.reduce((e,t)=>(...r)=>e(t(...r)))}function y(...e){return t=>(r,i)=>{let o=t(r,i),a=()=>{throw Error(n(15))},u={getState:o.getState,dispatch:(e,...t)=>a(e,...t)};return a=h(...e.map(e=>e(u)))(o.dispatch),{...o,dispatch:a}}}function g(e){return c(e)&&"type"in e&&"string"==typeof e.type}var w=r(65605),b=r(49436);function m(e){return({dispatch:t,getState:r})=>n=>i=>"function"==typeof i?i(t,r,e):n(i)}var E=m(),O=(...e)=>{let t=(0,b.wN)(...e),r=Object.assign((...e)=>{let r=t(...e),n=(e,...t)=>r((0,w.isDraft)(e)?(0,w.current)(e):e,...t);return Object.assign(n,r),n},{withTypes:()=>r});return r},v=O(b.kO),j="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!=arguments.length)return"object"==typeof arguments[0]?h:h.apply(null,arguments)};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var S=e=>e&&"function"==typeof e.match;function A(e,t){function r(...n){if(t){let r=t(...n);if(!r)throw Error(tn(0));return{type:e,payload:r.payload,..."meta"in r&&{meta:r.meta},..."error"in r&&{error:r.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=t=>g(t)&&t.type===e,r}function T(e){return"function"==typeof e&&"type"in e&&S(e)}function _(e){return g(e)&&Object.keys(e).every(P)}function P(e){return["type","payload","error","meta"].indexOf(e)>-1}function k(e={}){return()=>e=>t=>e(t)}var M=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return 1===t.length&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function C(e){return(0,w.isDraftable)(e)?(0,w.produce)(e,()=>{}):e}function x(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function R(e){return"object"!=typeof e||null==e||Object.isFrozen(e)}function I(e={}){return()=>e=>t=>e(t)}function N(e){let t=typeof e;return null==e||"string"===t||"boolean"===t||"number"===t||Array.isArray(e)||c(e)}function D(e={}){return()=>e=>t=>e(t)}var L=()=>function(e){let{thunk:t=!0,immutableCheck:r=!0,serializableCheck:n=!0,actionCreatorCheck:i=!0}=e??{},o=new M;return t&&("boolean"==typeof t?o.push(E):o.push(m(t.extraArgument))),o},$="RTK_autoBatch",W=()=>e=>({payload:e,meta:{[$]:!0}}),z=e=>t=>{setTimeout(t,e)},B=(e={type:"raf"})=>t=>(...r)=>{let n=t(...r),i=!0,o=!1,a=!1,u=new Set,c="tick"===e.type?queueMicrotask:"raf"===e.type?"undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:z(10):"callback"===e.type?e.queueNotification:z(e.timeout),l=()=>{a=!1,o&&(o=!1,u.forEach(e=>e()))};return Object.assign({},n,{subscribe(e){let t=n.subscribe(()=>i&&e());return u.add(e),()=>{t(),u.delete(e)}},dispatch(e){try{return(o=!(i=!e?.meta?.[$]))&&!a&&(a=!0,c(l)),n.dispatch(e)}finally{i=!0}}})},V=e=>function(t){let{autoBatch:r=!0}=t??{},n=new M(e);return r&&n.push(B("object"==typeof r?r:void 0)),n};function U(e){let t,r,n=L(),{reducer:i,middleware:o,devTools:a=!0,duplicateMiddlewareCheck:u=!0,preloadedState:s,enhancers:d}=e||{};if("function"==typeof i)t=i;else if(c(i))t=f(i);else throw Error(tn(1));r="function"==typeof o?o(n):n();let p=h;a&&(p=j({trace:!1,..."object"==typeof a&&a}));let g=V(y(...r));return l(t,s,p(..."function"==typeof d?d(g):g()))}function q(e){let t,r={},n=[],i={addCase(e,t){let n="string"==typeof e?e:e.type;if(!n)throw Error(tn(28));if(n in r)throw Error(tn(29));return r[n]=t,i},addMatcher:(e,t)=>(n.push({matcher:e,reducer:t}),i),addDefaultCase:e=>(t=e,i)};return e(i),[r,n,t]}function X(e,t){let r,[n,i,o]=q(t);if("function"==typeof e)r=()=>C(e());else{let t=C(e);r=()=>t}function a(e=r(),t){let u=[n[t.type],...i.filter(({matcher:e})=>e(t)).map(({reducer:e})=>e)];return 0===u.filter(e=>!!e).length&&(u=[o]),u.reduce((e,r)=>{if(r)if((0,w.isDraft)(e)){let n=r(e,t);return void 0===n?e:n}else{if((0,w.isDraftable)(e))return(0,w.produce)(e,e=>r(e,t));let n=r(e,t);if(void 0===n){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}return e},e)}return a.getInitialState=r,a}var F=(e,t)=>S(e)?e.match(t):e(t);function K(...e){return t=>e.some(e=>F(e,t))}function G(...e){return t=>e.every(e=>F(e,t))}function H(e,t){if(!e||!e.meta)return!1;let r="string"==typeof e.meta.requestId,n=t.indexOf(e.meta.requestStatus)>-1;return r&&n}function J(e){return"function"==typeof e[0]&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function Q(...e){return 0===e.length?e=>H(e,["rejected"]):J(e)?K(...e.map(e=>e.rejected)):Q()(e[0])}var Y=(e=21)=>{let t="",r=e;for(;r--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},Z=["name","message","stack","code"],ee=class{constructor(e,t){this.payload=e,this.meta=t}_type},et=class{constructor(e,t){this.payload=e,this.meta=t}_type},er=e=>{if("object"==typeof e&&null!==e){let t={};for(let r of Z)"string"==typeof e[r]&&(t[r]=e[r]);return t}return{message:String(e)}},en="External signal was aborted",ei=(()=>{function e(e,t,r){let n=A(e+"/fulfilled",(e,t,r,n)=>({payload:e,meta:{...n||{},arg:r,requestId:t,requestStatus:"fulfilled"}})),i=A(e+"/pending",(e,t,r)=>({payload:void 0,meta:{...r||{},arg:t,requestId:e,requestStatus:"pending"}})),o=A(e+"/rejected",(e,t,n,i,o)=>({payload:i,error:(r&&r.serializeError||er)(e||"Rejected"),meta:{...o||{},arg:n,requestId:t,rejectedWithValue:!!i,requestStatus:"rejected",aborted:e?.name==="AbortError",condition:e?.name==="ConditionError"}}));return Object.assign(function(e,{signal:a}={}){return(u,c,l)=>{let s,f,d=r?.idGenerator?r.idGenerator(e):Y(),p=new AbortController;function h(e){f=e,p.abort()}a&&(a.aborted?h(en):a.addEventListener("abort",()=>h(en),{once:!0}));let y=async function(){let a;try{var y;let o=r?.condition?.(e,{getState:c,extra:l});if(y=o,null!==y&&"object"==typeof y&&"function"==typeof y.then&&(o=await o),!1===o||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};let g=new Promise((e,t)=>{s=()=>{t({name:"AbortError",message:f||"Aborted"})},p.signal.addEventListener("abort",s)});u(i(d,e,r?.getPendingMeta?.({requestId:d,arg:e},{getState:c,extra:l}))),a=await Promise.race([g,Promise.resolve(t(e,{dispatch:u,getState:c,extra:l,requestId:d,signal:p.signal,abort:h,rejectWithValue:(e,t)=>new ee(e,t),fulfillWithValue:(e,t)=>new et(e,t)})).then(t=>{if(t instanceof ee)throw t;return t instanceof et?n(t.payload,d,e,t.meta):n(t,d,e)})])}catch(t){a=t instanceof ee?o(null,d,e,t.payload,t.meta):o(t,d,e)}finally{s&&p.signal.removeEventListener("abort",s)}return r&&!r.dispatchConditionRejection&&o.match(a)&&a.meta.condition||u(a),a}();return Object.assign(y,{abort:h,requestId:d,arg:e,unwrap:()=>y.then(eo)})}},{pending:i,rejected:o,fulfilled:n,settled:K(o,n),typePrefix:e})}return e.withTypes=()=>e,e})();function eo(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var ea=Symbol.for("rtk-slice-createasyncthunk"),eu={[ea]:ei},ec=((i=ec||{}).reducer="reducer",i.reducerWithPrepare="reducerWithPrepare",i.asyncThunk="asyncThunk",i);function el({creators:e}={}){let t=e?.asyncThunk?.[ea];return function(e){let r,{name:n,reducerPath:i=n}=e;if(!n)throw Error(tn(11));let o=("function"==typeof e.reducers?e.reducers(function(){function e(e,t){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer:e=>Object.assign({[e.name]:(...t)=>e(...t)}[e.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(e,t)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}),asyncThunk:e}}()):e.reducers)||{},a=Object.keys(o),u={},c={},l={},s=[],f={addCase(e,t){let r="string"==typeof e?e:e.type;if(!r)throw Error(tn(12));if(r in c)throw Error(tn(13));return c[r]=t,f},addMatcher:(e,t)=>(s.push({matcher:e,reducer:t}),f),exposeAction:(e,t)=>(l[e]=t,f),exposeCaseReducer:(e,t)=>(u[e]=t,f)};function d(){let[t={},r=[],n]="function"==typeof e.extraReducers?q(e.extraReducers):[e.extraReducers],i={...t,...c};return X(e.initialState,e=>{for(let t in i)e.addCase(t,i[t]);for(let t of s)e.addMatcher(t.matcher,t.reducer);for(let t of r)e.addMatcher(t.matcher,t.reducer);n&&e.addDefaultCase(n)})}a.forEach(r=>{let i=o[r],a={reducerName:r,type:`${n}/${r}`,createNotation:"function"==typeof e.reducers};"asyncThunk"===i._reducerDefinitionType?function({type:e,reducerName:t},r,n,i){if(!i)throw Error(tn(18));let{payloadCreator:o,fulfilled:a,pending:u,rejected:c,settled:l,options:s}=r,f=i(e,o,s);n.exposeAction(t,f),a&&n.addCase(f.fulfilled,a),u&&n.addCase(f.pending,u),c&&n.addCase(f.rejected,c),l&&n.addMatcher(f.settled,l),n.exposeCaseReducer(t,{fulfilled:a||ef,pending:u||ef,rejected:c||ef,settled:l||ef})}(a,i,f,t):function({type:e,reducerName:t,createNotation:r},n,i){let o,a;if("reducer"in n){if(r&&"reducerWithPrepare"!==n._reducerDefinitionType)throw Error(tn(17));o=n.reducer,a=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?A(e,a):A(e))}(a,i,f)});let p=e=>e,h=new Map,y=new WeakMap;function g(e,t){return r||(r=d()),r(e,t)}function w(){return r||(r=d()),r.getInitialState()}function b(t,r=!1){function n(e){let i=e[t];return void 0===i&&r&&(i=x(y,n,w)),i}function i(t=p){let n=x(h,r,()=>new WeakMap);return x(n,t,()=>{let n={};for(let[i,o]of Object.entries(e.selectors??{}))n[i]=function(e,t,r,n){function i(o,...a){let u=t(o);return void 0===u&&n&&(u=r()),e(u,...a)}return i.unwrapped=e,i}(o,t,()=>x(y,t,w),r);return n})}return{reducerPath:t,getSelectors:i,get selectors(){return i(n)},selectSlice:n}}let m={name:n,reducer:g,actions:l,caseReducers:u,getInitialState:w,...b(i),injectInto(e,{reducerPath:t,...r}={}){let n=t??i;return e.inject({reducerPath:n,reducer:g},r),{...m,...b(n,!0)}}};return m}}var es=el();function ef(){}var ed=w.isDraft;function ep(e){return function(t,r){let n=t=>{_(r)?e(r.payload,t):e(r,t)};return ed(t)?(n(t),t):(0,w.produce)(t,n)}}function eh(e,t){return t(e)}function ey(e){return Array.isArray(e)||(e=Object.values(e)),e}function eg(e){return(0,w.isDraft)(e)?(0,w.current)(e):e}function ew(e,t,r){e=ey(e);let n=eg(r.ids),i=new Set(n),o=[],a=new Set([]),u=[];for(let r of e){let e=t(r);i.has(e)||a.has(e)?u.push({id:e,changes:r}):(a.add(e),o.push(r))}return[o,u,n]}function eb(e){function t(t,r){let n=e(t);n in r.entities||(r.ids.push(n),r.entities[n]=t)}function r(e,r){for(let n of e=ey(e))t(n,r)}function n(t,r){let n=e(t);n in r.entities||r.ids.push(n),r.entities[n]=t}function i(e,t){let r=!1;e.forEach(e=>{e in t.entities&&(delete t.entities[e],r=!0)}),r&&(t.ids=t.ids.filter(e=>e in t.entities))}function o(t,r){let n={},i={};t.forEach(e=>{e.id in r.entities&&(i[e.id]={id:e.id,changes:{...i[e.id]?.changes,...e.changes}})}),(t=Object.values(i)).length>0&&t.filter(t=>(function(t,r,n){let i=n.entities[r.id];if(void 0===i)return!1;let o=Object.assign({},i,r.changes),a=e(o),u=a!==r.id;return u&&(t[r.id]=a,delete n.entities[r.id]),n.entities[a]=o,u})(n,t,r)).length>0&&(r.ids=Object.values(r.entities).map(t=>e(t)))}function a(t,n){let[i,a]=ew(t,e,n);r(i,n),o(a,n)}return{removeAll:function(e){let t=ep((t,r)=>e(r));return function(e){return t(e,void 0)}}(function(e){Object.assign(e,{ids:[],entities:{}})}),addOne:ep(t),addMany:ep(r),setOne:ep(n),setMany:ep(function(e,t){for(let r of e=ey(e))n(r,t)}),setAll:ep(function(e,t){e=ey(e),t.ids=[],t.entities={},r(e,t)}),updateOne:ep(function(e,t){return o([e],t)}),updateMany:ep(o),upsertOne:ep(function(e,t){return a([e],t)}),upsertMany:ep(a),removeOne:ep(function(e,t){return i([e],t)}),removeMany:ep(i)}}function em(e={}){let{selectId:t,sortComparer:r}={sortComparer:!1,selectId:e=>e.id,...e},n=r?function(e,t){let{removeOne:r,removeMany:n,removeAll:i}=eb(e);function o(t,r,n){t=ey(t);let i=new Set(n??eg(r.ids)),o=t.filter(t=>!i.has(e(t)));0!==o.length&&l(r,o)}function a(t,r){if(0!==(t=ey(t)).length){for(let n of t)delete r.entities[e(n)];l(r,t)}}function u(t,r){let n=!1,i=!1;for(let o of t){let t=r.entities[o.id];if(!t)continue;n=!0,Object.assign(t,o.changes);let a=e(t);if(o.id!==a){i=!0,delete r.entities[o.id];let e=r.ids.indexOf(o.id);r.ids[e]=a,r.entities[a]=t}}n&&l(r,[],n,i)}function c(t,r){let[n,i,a]=ew(t,e,r);n.length&&o(n,r,a),i.length&&u(i,r)}let l=(r,n,i,o)=>{let a=eg(r.entities),u=eg(r.ids),c=r.entities,l=u;o&&(l=new Set(u));let s=[];for(let e of l){let t=a[e];t&&s.push(t)}let f=0===s.length;for(let r of n)c[e(r)]=r,f||function(e,t,r){let n=function(e,t,r){let n=0,i=e.length;for(;n>>1;r(t,e[o])>=0?n=o+1:i=o}return n}(e,t,r);e.splice(n,0,t)}(s,r,t);f?s=n.slice().sort(t):i&&s.sort(t);let d=s.map(e);!function(e,t){if(e.length!==t.length)return!1;for(let r=0;re.ids,i=e=>e.entities,o=r(n,i,(e,t)=>e.map(e=>t[e])),a=(e,t)=>t,u=(e,t)=>e[t],c=r(n,e=>e.length);if(!e)return{selectIds:n,selectEntities:i,selectAll:o,selectTotal:c,selectById:r(i,a,u)};let l=r(e,i);return{selectIds:r(e,n),selectEntities:l,selectAll:r(e,o),selectTotal:r(e,c),selectById:r(l,a,u)}},...n}}var eE="listener",eO="completed",ev="cancelled",ej=`task-${ev}`,eS=`task-${eO}`,eA=`${eE}-${ev}`,eT=`${eE}-${eO}`,e_=class{constructor(e){this.code=e,this.message=`task ${ev} (reason: ${e})`}name="TaskAbortError";message},eP=(e,t)=>{if("function"!=typeof e)throw TypeError(tn(32))},ek=()=>{},eM=(e,t=ek)=>(e.catch(t),e),eC=(e,t)=>(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)),ex=(e,t)=>{let r=e.signal;r.aborted||("reason"in r||Object.defineProperty(r,"reason",{enumerable:!0,value:t,configurable:!0,writable:!0}),e.abort(t))},eR=e=>{if(e.aborted){let{reason:t}=e;throw new e_(t)}};function eI(e,t){let r=ek;return new Promise((n,i)=>{let o=()=>i(new e_(e.reason));if(e.aborted)return void o();r=eC(e,o),t.finally(()=>r()).then(n,i)}).finally(()=>{r=ek})}var eN=async(e,t)=>{try{await Promise.resolve();let t=await e();return{status:"ok",value:t}}catch(e){return{status:e instanceof e_?"cancelled":"rejected",error:e}}finally{t?.()}},eD=e=>t=>eM(eI(e,t).then(t=>(eR(e),t))),eL=e=>{let t=eD(e);return e=>t(new Promise(t=>setTimeout(t,e)))},{assign:e$}=Object,eW={},ez="listenerMiddleware",eB=(e,t)=>{let r=t=>eC(e,()=>ex(t,e.reason));return(n,i)=>{eP(n,"taskExecutor");let o=new AbortController;r(o);let a=eN(async()=>{eR(e),eR(o.signal);let t=await n({pause:eD(o.signal),delay:eL(o.signal),signal:o.signal});return eR(o.signal),t},()=>ex(o,eS));return i?.autoJoin&&t.push(a.catch(ek)),{result:eD(e)(a),cancel(){ex(o,ej)}}}},eV=(e,t)=>{let r=async(r,n)=>{eR(t);let i=()=>{},o=[new Promise((t,n)=>{let o=e({predicate:r,effect:(e,r)=>{r.unsubscribe(),t([e,r.getState(),r.getOriginalState()])}});i=()=>{o(),n()}})];null!=n&&o.push(new Promise(e=>setTimeout(e,n,null)));try{let e=await eI(t,Promise.race(o));return eR(t),e}finally{i()}};return(e,t)=>eM(r(e,t))},eU=e=>{let{type:t,actionCreator:r,matcher:n,predicate:i,effect:o}=e;if(t)i=A(t).match;else if(r)t=r.type,i=r.match;else if(n)i=n;else if(i);else throw Error(tn(21));return eP(o,"options.listener"),{predicate:i,type:t,effect:o}},eq=e$(e=>{let{type:t,predicate:r,effect:n}=eU(e);return{id:Y(),effect:n,type:t,predicate:r,pending:new Set,unsubscribe:()=>{throw Error(tn(22))}}},{withTypes:()=>eq}),eX=(e,t)=>{let{type:r,effect:n,predicate:i}=eU(t);return Array.from(e.values()).find(e=>("string"==typeof r?e.type===r:e.predicate===i)&&e.effect===n)},eF=e=>{e.pending.forEach(e=>{ex(e,eA)})},eK=e=>()=>{e.forEach(eF),e.clear()},eG=(e,t,r)=>{try{e(t,r)}catch(e){setTimeout(()=>{throw e},0)}},eH=e$(A(`${ez}/add`),{withTypes:()=>eH}),eJ=A(`${ez}/removeAll`),eQ=e$(A(`${ez}/remove`),{withTypes:()=>eQ}),eY=(...e)=>{console.error(`${ez}/error`,...e)},eZ=(e={})=>{let t=new Map,{extra:r,onError:n=eY}=e;eP(n,"onError");let i=e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),t?.cancelActive&&eF(e)}),o=e=>i(eX(t,e)??eq(e));e$(o,{withTypes:()=>o});let a=e=>{let r=eX(t,e);return r&&(r.unsubscribe(),e.cancelActive&&eF(r)),!!r};e$(a,{withTypes:()=>a});let u=async(e,i,a,u)=>{let c=new AbortController,l=eV(o,c.signal),s=[];try{e.pending.add(c),await Promise.resolve(e.effect(i,e$({},a,{getOriginalState:u,condition:(e,t)=>l(e,t).then(Boolean),take:l,delay:eL(c.signal),pause:eD(c.signal),extra:r,signal:c.signal,fork:eB(c.signal,s),unsubscribe:e.unsubscribe,subscribe:()=>{t.set(e.id,e)},cancelActiveListeners:()=>{e.pending.forEach((e,t,r)=>{e!==c&&(ex(e,eA),r.delete(e))})},cancel:()=>{ex(c,eA),e.pending.delete(c)},throwIfCancelled:()=>{eR(c.signal)}})))}catch(e){e instanceof e_||eG(n,e,{raisedBy:"effect"})}finally{await Promise.all(s),ex(c,eT),e.pending.delete(c)}},c=eK(t);return{middleware:e=>r=>i=>{let l;if(!g(i))return r(i);if(eH.match(i))return o(i.payload);if(eJ.match(i))return void c();if(eQ.match(i))return a(i.payload);let s=e.getState(),f=()=>{if(s===eW)throw Error(tn(23));return s};try{if(l=r(i),t.size>0){let r=e.getState();for(let o of Array.from(t.values())){let t=!1;try{t=o.predicate(i,r,s)}catch(e){t=!1,eG(n,e,{raisedBy:"predicate"})}t&&u(o,i,e,f)}}}finally{s=eW}return l},startListening:o,stopListening:a,clearListeners:c}},e0=e=>({middleware:e,applied:new Map}),e1=e=>t=>t?.meta?.instanceId===e,e2=()=>{let e=Y(),t=new Map,r=Object.assign(A("dynamicMiddleware/add",(...t)=>({payload:t,meta:{instanceId:e}})),{withTypes:()=>r}),n=Object.assign(function(...e){e.forEach(e=>{x(t,e,e0)})},{withTypes:()=>n}),i=e=>h(...Array.from(t.values()).map(t=>x(t.applied,e,t.middleware))),o=G(r,e1(e));return{middleware:e=>t=>r=>o(r)?(n(...r.payload),e.dispatch):i(e)(t)(r),addMiddleware:n,withMiddleware:r,instanceId:e}},e4=e=>"reducerPath"in e&&"string"==typeof e.reducerPath,e3=e=>e.flatMap(e=>e4(e)?[[e.reducerPath,e.reducer]]:Object.entries(e)),e6=Symbol.for("rtk-state-proxy-original"),e5=e=>!!e&&!!e[e6],e9=new WeakMap,e7=(e,t,r)=>x(e9,e,()=>new Proxy(e,{get:(e,n,i)=>{if(n===e6)return e;let o=Reflect.get(e,n,i);if(void 0===o){let e=r[n];if(void 0!==e)return e;let i=t[n];if(i){let e=i(void 0,{type:Y()});if(void 0===e)throw Error(tn(24));return r[n]=e,e}}return o}})),e8=e=>{if(!e5(e))throw Error(tn(25));return e[e6]},te={},tt=(e=te)=>e;function tr(...e){let t=Object.fromEntries(e3(e)),r=()=>Object.keys(t).length?f(t):tt,n=r();function i(e,t){return n(e,t)}i.withLazyLoadedSlices=()=>i;let o={};return Object.assign(i,{inject:(e,a={})=>{let{reducerPath:u,reducer:c}=e,l=t[u];return!a.overrideExisting&&l&&l!==c||(a.overrideExisting&&l!==c&&delete o[u],t[u]=c,n=r()),i},selector:Object.assign(function(e,r){return function(n,...i){return e(e7(r?r(n,...i):n,t,o),...i)}},{original:e8})})}function tn(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}}}]); \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/448.3498365b.js.LICENSE.txt b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/448.3498365b.js.LICENSE.txt deleted file mode 100644 index 8693fb8316..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/448.3498365b.js.LICENSE.txt +++ /dev/null @@ -1,13 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4650.2e475083.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4650.2e475083.js deleted file mode 100644 index 29eb6a6e77..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4650.2e475083.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 4650.2e475083.js.LICENSE.txt */ -(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["4650"],{71739:function(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},74976:function(e,t,n){"use strict";let i;n.r(t),n.d(t,{TransWithoutContext:()=>F,selectOrdinal:()=>es,setDefaults:()=>C,useTranslation:()=>J,setI18n:()=>j,time:()=>en,Translation:()=>G,getInitialProps:()=>_,useSSR:()=>X,withSSR:()=>ee,select:()=>ea,date:()=>et,I18nextProvider:()=>Q,number:()=>ei,Trans:()=>K,composeInitialProps:()=>U,getDefaults:()=>S,initReactI18next:()=>D,getI18n:()=>R,withTranslation:()=>Z,plural:()=>er,I18nContext:()=>H});var a=n(81004),r=n(71739),s=n.n(r),l=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function o(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(s()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var i=e.indexOf("--\x3e");return{type:"comment",comment:-1!==i?e.slice(4,i):""}}for(var a=new RegExp(l),r=null;null!==(r=a.exec(e));)if(r[0].trim())if(r[1]){var o=r[1].trim(),c=[o,""];o.indexOf("=")>-1&&(c=o.split("=")),t.attrs[c[0]]=c[1],a.lastIndex--}else r[2]&&(t.attrs[r[2]]=r[3].trim().substring(1,r[3].length-1));return t}var c=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,u=/^\s*$/,p=Object.create(null);let d={parse:function(e,t){t||(t={}),t.components||(t.components=p);var n,i=[],a=[],r=-1,s=!1;if(0!==e.indexOf("<")){var l=e.indexOf("<");i.push({type:"text",content:-1===l?e:e.substring(0,l)})}return e.replace(c,function(l,c){if(s){if(l!=="")return;s=!1}var p,d="/"!==l.charAt(1),f=l.startsWith("\x3c!--"),g=c+l.length,m=e.charAt(g);if(f){var h=o(l);return r<0?i.push(h):(p=a[r]).children.push(h),i}if(d&&(r++,"tag"===(n=o(l)).type&&t.components[n.name]&&(n.type="component",s=!0),n.voidElement||s||!m||"<"===m||n.children.push({type:"text",content:e.slice(g,e.indexOf("<",g))}),0===r&&i.push(n),(p=a[r-1])&&p.children.push(n),a[r]=n),(!d||n.voidElement)&&(r>-1&&(n.voidElement||n.name===l.slice(2,-1))&&(n=-1==--r?i:a[r]),!s&&"<"!==m&&m)){p=-1===r?i:a[r].children;var y=e.indexOf("<",g),b=e.slice(g,-1===y?void 0:y);u.test(b)&&(b=" "),(y>-1&&r+p.length>=0||" "!==b)&&p.push({type:"text",content:b})}}),i}};function f(){if(console&&console.warn){for(var e=arguments.length,t=Array(e),n=0;n()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},y=(e,t,n)=>{e.loadNamespaces(t,h(e,n))},b=(e,t,n,i)=>{N(n)&&(n=[n]),n.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,h(e,i))},v=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.languages[0],a=!!t.options&&t.options.fallbackLng,r=t.languages[t.languages.length-1];if("cimode"===i.toLowerCase())return!0;let s=(e,n)=>{let i=t.services.backendConnector.state[`${e}|${n}`];return -1===i||2===i};return(!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1)||!t.services.backendConnector.backend||!t.isLanguageChangingTo||!!s(t.isLanguageChangingTo,e))&&!!(t.hasResourceBundle(i,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||s(i,e)&&(!a||s(r,e)))},x=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0===t.options.ignoreJSONStructure?v(e,t,n):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,i)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!i(t.isLanguageChangingTo,e))return!1}}):(m("i18n.languages were undefined or empty",t.languages),!0)},E=e=>e.displayName||e.name||(N(e)&&e.length>0?e:"Unknown"),N=e=>"string"==typeof e,k=e=>"object"==typeof e&&null!==e,$=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,O={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"…","…":"…","/":"/","/":"/"},w=e=>O[e],I={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace($,w)},C=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};I={...I,...e}},S=()=>I,j=e=>{i=e},R=()=>i,L=(e,t)=>{if(!e)return!1;let n=e.props?e.props.children:e.children;return t?n.length>0:!!n},T=e=>{if(!e)return[];let t=e.props?e.props.children:e.children;return e.props&&e.props.i18nIsDynamicList?A(t):t},P=e=>Array.isArray(e)&&e.every(a.isValidElement),A=e=>Array.isArray(e)?e:[e],z=(e,t)=>{let n={...t};return n.props=Object.assign(e.props,t.props),n},V=(e,t)=>{if(!e)return"";let n="",i=A(e),r=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return i.forEach((e,i)=>{if(N(e))n+=`${e}`;else if((0,a.isValidElement)(e)){let{props:a,type:s}=e,l=Object.keys(a).length,o=r.indexOf(s)>-1,c=a.children;if(c||!o||l)if(!c&&(!o||l)||a.i18nIsDynamicList)n+=`<${i}>`;else if(o&&1===l&&N(c))n+=`<${s}>${c}`;else{let e=V(c,t);n+=`<${i}>${e}`}else n+=`<${s}/>`}else if(null===e)f("Trans: the passed in value is invalid - seems you passed in a null child.");else if(k(e)){let{format:t,...i}=e,a=Object.keys(i);if(1===a.length){let e=t?`${a[0]}, ${t}`:a[0];n+=`{{${e}}}`}else f("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else f("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)}),n},B=(e,t,n,i,r,s)=>{if(""===t)return[];let l=i.transKeepBasicHtmlNodesFor||[],o=t&&new RegExp(l.map(e=>`<${e}`).join("|")).test(t);if(!e&&!o&&!s)return[t];let c={},u=e=>{A(e).forEach(e=>{N(e)||(L(e)?u(T(e)):k(e)&&!(0,a.isValidElement)(e)&&Object.assign(c,e))})};u(e);let p=d.parse(`<0>${t}`),f={...c,...r},g=(e,t,n)=>{let i=T(e),a=h(i,t.children,n);return P(i)&&0===a.length||e.props&&e.props.i18nIsDynamicList?i:a},m=(e,t,n,i,r)=>{e.dummy?(e.children=t,n.push((0,a.cloneElement)(e,{key:i},r?void 0:t))):n.push(...a.Children.map([e],e=>{let n={...e.props};return delete n.i18nIsDynamicList,(0,a.createElement)(e.type,{...n,key:i,ref:e.ref},r?null:t)}))},h=(t,r,c)=>{let u=A(t);return A(r).reduce((t,r,p)=>{let d=r.children&&r.children[0]&&r.children[0].content&&n.services.interpolator.interpolate(r.children[0].content,f,n.language);if("tag"===r.type){let s=u[parseInt(r.name,10)];1!==c.length||s||(s=c[0][r.name]),s||(s={});let y=0!==Object.keys(r.attrs).length?z({props:r.attrs},s):s,b=(0,a.isValidElement)(y),v=b&&L(r,!0)&&!r.voidElement,x=o&&k(y)&&y.dummy&&!b,E=k(e)&&Object.hasOwnProperty.call(e,r.name);if(N(y)){let e=n.services.interpolator.interpolate(y,f,n.language);t.push(e)}else if(L(y)||v){let e=g(y,r,c);m(y,e,t,p)}else if(x)m(y,h(u,r.children,c),t,p);else if(Number.isNaN(parseFloat(r.name)))if(E){let e=g(y,r,c);m(y,e,t,p,r.voidElement)}else if(i.transSupportBasicHtmlNodes&&l.indexOf(r.name)>-1)if(r.voidElement)t.push((0,a.createElement)(r.name,{key:`${r.name}-${p}`}));else{let e=h(u,r.children,c);t.push((0,a.createElement)(r.name,{key:`${r.name}-${p}`},e))}else if(r.voidElement)t.push(`<${r.name} />`);else{let e=h(u,r.children,c);t.push(`<${r.name}>${e}`)}else if(k(y)&&!b){let e=r.children[0]?d:null;e&&t.push(e)}else m(y,d,t,p,1!==r.children.length||!d)}else if("text"===r.type){let e=i.transWrapTextNodes,l=s?i.unescape(n.services.interpolator.interpolate(r.content,f,n.language)):n.services.interpolator.interpolate(r.content,f,n.language);e?t.push((0,a.createElement)(e,{key:`${r.name}-${p}`},l)):t.push(l)}return t},[])};return T(h([{dummy:!0,children:e||[]}],p,A(e||[]))[0])};function F(e){let{children:t,count:n,parent:i,i18nKey:r,context:s,tOptions:l={},values:o,defaults:c,components:u,ns:p,i18n:d,t:f,shouldUnescape:g,...h}=e,y=d||R();if(!y)return m("You will need to pass in an i18next instance by using i18nextReactModule"),t;let b=f||y.t.bind(y)||(e=>e),v={...S(),...y.options&&y.options.react},x=p||b.ns||y.options&&y.options.defaultNS;x=N(x)?[x]:x||["translation"];let E=V(t,v),k=c||E||v.transEmptyNodeValue||r,{hashTransKey:$}=v,O=r||($?$(E||k):E||k);y.options&&y.options.interpolation&&y.options.interpolation.defaultVariables&&(o=o&&Object.keys(o).length>0?{...o,...y.options.interpolation.defaultVariables}:{...y.options.interpolation.defaultVariables});let w=o||void 0!==n||!t?l.interpolation:{interpolation:{...l.interpolation,prefix:"#$?",suffix:"?$#"}},I={...l,context:s||l.context,count:n,...o,...w,defaultValue:k,ns:x},C=O?b(O,I):k;u&&Object.keys(u).forEach(e=>{let t=u[e];"function"==typeof t.type||!t.props||!t.props.children||0>C.indexOf(`${e}/>`)&&0>C.indexOf(`${e} />`)||(u[e]=(0,a.createElement)(function(){return(0,a.createElement)(a.Fragment,null,t)}))});let j=B(u||t,C,y,v,I,g),L=void 0!==i?i:v.defaultTransParent;return L?(0,a.createElement)(L,h,j):j}let D={type:"3rdParty",init(e){C(e.options.react),j(e)}},H=(0,a.createContext)();class W{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces=()=>Object.keys(this.usedNamespaces)}let U=e=>async t=>{let n=e.getInitialProps?await e.getInitialProps(t):{},i=_();return{...n,...i}},_=()=>{let e=R(),t=e.reportNamespaces?e.reportNamespaces.getUsedNamespaces():[],n={},i={};return e.languages.forEach(n=>{i[n]={},t.forEach(t=>{i[n][t]=e.getResourceBundle(n,t)||{}})}),n.initialI18nStore=i,n.initialLanguage=e.language,n};function K(e){let{children:t,count:n,parent:i,i18nKey:r,context:s,tOptions:l={},values:o,defaults:c,components:u,ns:p,i18n:d,t:f,shouldUnescape:g,...m}=e,{i18n:h,defaultNS:y}=(0,a.useContext)(H)||{},b=d||h||R(),v=f||b&&b.t.bind(b);return F({children:t,count:n,parent:i,i18nKey:r,context:s,tOptions:l,values:o,defaults:c,components:u,ns:p||v&&v.ns||y||b&&b.options&&b.options.defaultNS,i18n:b,t:f,shouldUnescape:g,...m})}let M=(e,t)=>{let n=(0,a.useRef)();return(0,a.useEffect)(()=>{n.current=t?n.current:e},[e,t]),n.current},q=(e,t,n,i)=>e.getFixedT(t,n,i),Y=(e,t,n,i)=>(0,a.useCallback)(q(e,t,n,i),[e,t,n,i]),J=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{i18n:n}=t,{i18n:i,defaultNS:r}=(0,a.useContext)(H)||{},s=n||i||R();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new W),!s){m("You will need to pass in an i18next instance by using initReactI18next");let e=(e,t)=>N(t)?t:k(t)&&N(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}s.options.react&&void 0!==s.options.react.wait&&m("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");let l={...S(),...s.options.react,...t},{useSuspense:o,keyPrefix:c}=l,u=e||r||s.options&&s.options.defaultNS;u=N(u)?[u]:u||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(u);let p=(s.isInitialized||s.initializedStoreOnce)&&u.every(e=>x(e,s,l)),d=Y(s,t.lng||null,"fallback"===l.nsMode?u:u[0],c),f=()=>d,g=()=>q(s,t.lng||null,"fallback"===l.nsMode?u:u[0],c),[h,v]=(0,a.useState)(f),E=u.join();t.lng&&(E=`${t.lng}${E}`);let $=M(E),O=(0,a.useRef)(!0);(0,a.useEffect)(()=>{let{bindI18n:e,bindI18nStore:n}=l;O.current=!0,p||o||(t.lng?b(s,t.lng,u,()=>{O.current&&v(g)}):y(s,u,()=>{O.current&&v(g)})),p&&$&&$!==E&&O.current&&v(g);let i=()=>{O.current&&v(g)};return e&&s&&s.on(e,i),n&&s&&s.store.on(n,i),()=>{O.current=!1,e&&s&&e.split(" ").forEach(e=>s.off(e,i)),n&&s&&n.split(" ").forEach(e=>s.store.off(e,i))}},[s,E]),(0,a.useEffect)(()=>{O.current&&p&&v(f)},[s,c,p]);let w=[h,s,p];if(w.t=h,w.i18n=s,w.ready=p,p||!p&&!o)return w;throw new Promise(e=>{t.lng?b(s,t.lng,u,()=>e()):y(s,u,()=>e())})},Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){function i(i){let{forwardedRef:r,...s}=i,[l,o,c]=J(e,{...s,keyPrefix:t.keyPrefix}),u={...s,t:l,i18n:o,tReady:c};return t.withRef&&r?u.ref=r:!t.withRef&&r&&(u.forwardedRef=r),(0,a.createElement)(n,u)}return i.displayName=`withI18nextTranslation(${E(n)})`,i.WrappedComponent=n,t.withRef?(0,a.forwardRef)((e,t)=>(0,a.createElement)(i,Object.assign({},e,{forwardedRef:t}))):i}};function G(e){let{ns:t,children:n,...i}=e,[a,r,s]=J(t,i);return n(a,{i18n:r,lng:r.language},s)}function Q(e){let{i18n:t,defaultNS:n,children:i}=e,r=(0,a.useMemo)(()=>({i18n:t,defaultNS:n}),[t,n]);return(0,a.createElement)(H.Provider,{value:r},i)}let X=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{i18n:i}=n,{i18n:r}=(0,a.useContext)(H)||{},s=i||r||R();s.options&&s.options.isClone||(e&&!s.initializedStoreOnce&&(s.services.resourceStore.data=e,s.options.ns=Object.values(e).reduce((e,t)=>(Object.keys(t).forEach(t=>{0>e.indexOf(t)&&e.push(t)}),e),s.options.ns),s.initializedStoreOnce=!0,s.isInitialized=!0),t&&!s.initializedLanguageOnce&&(s.changeLanguage(t),s.initializedLanguageOnce=!0))},ee=()=>function(e){function t(t){let{initialI18nStore:n,initialLanguage:i,...r}=t;return X(n,i),(0,a.createElement)(e,{...r})}return t.getInitialProps=U(e),t.displayName=`withI18nextSSR(${E(e)})`,t.WrappedComponent=e,t},et=()=>"",en=()=>"",ei=()=>"",ea=()=>"",er=()=>"",es=()=>""}}]); \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4650.2e475083.js.LICENSE.txt b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4650.2e475083.js.LICENSE.txt deleted file mode 100644 index 8693fb8316..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4650.2e475083.js.LICENSE.txt +++ /dev/null @@ -1,13 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4854.58d64832.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4854.58d64832.js deleted file mode 100644 index 838b1566eb..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4854.58d64832.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 4854.58d64832.js.LICENSE.txt */ -"use strict";(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["4854"],{95684:function(e,t,n){n.r(t),n.d(t,{defaultCoordinates:()=>F,useDroppable:()=>e3,closestCorners:()=>W,getClientRect:()=>Z,useDraggable:()=>e2,KeyboardSensor:()=>eb,TouchSensor:()=>ek,TraversalOrder:()=>y,KeyboardCode:()=>v,defaultDropAnimationSideEffects:()=>tn,defaultKeyboardCoordinateGetter:()=>ey,rectIntersection:()=>Y,closestCenter:()=>H,useSensor:()=>I,applyModifiers:()=>e$,MeasuringStrategy:()=>b,DragOverlay:()=>ti,DndContext:()=>eQ,useSensors:()=>j,MouseSensor:()=>eM,AutoScrollActivator:()=>m,useDndMonitor:()=>O,PointerSensor:()=>eC,useDndContext:()=>e5,getFirstCollision:()=>K,defaultDropAnimation:()=>tr,getScrollableAncestors:()=>ee,defaultAnnouncements:()=>N,defaultScreenReaderInstructions:()=>T,pointerWithin:()=>q,MeasuringFrequency:()=>w});var r,l,i,a,o,u,s,d,c,h,f,g,v,p,m,y,b,w,x,D=n(81004),E=n.n(D),C=n(3859),S=n(24285);let M={display:"none"};function R(e){let{id:t,value:n}=e;return E().createElement("div",{id:t,style:M},n)}function k(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;return E().createElement("div",{id:t,style:{position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":r,"aria-atomic":!0},n)}let L=(0,D.createContext)(null);function O(e){let t=(0,D.useContext)(L);(0,D.useEffect)(()=>{if(!t)throw Error("useDndMonitor must be used within a children of ");return t(e)},[e,t])}let T={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},N={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function A(e){let{announcements:t=N,container:n,hiddenTextDescribedById:r,screenReaderInstructions:l=T}=e,{announce:i,announcement:a}=function(){let[e,t]=(0,D.useState)("");return{announce:(0,D.useCallback)(e=>{null!=e&&t(e)},[]),announcement:e}}(),o=(0,S.Ld)("DndLiveRegion"),[u,s]=(0,D.useState)(!1);if((0,D.useEffect)(()=>{s(!0)},[]),O((0,D.useMemo)(()=>({onDragStart(e){let{active:n}=e;i(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&i(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;i(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;i(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;i(t.onDragCancel({active:n,over:r}))}}),[i,t])),!u)return null;let d=E().createElement(E().Fragment,null,E().createElement(R,{id:r,value:l.draggable}),E().createElement(k,{id:o,announcement:a}));return n?(0,C.createPortal)(d,n):d}function P(){}function I(e,t){return(0,D.useMemo)(()=>({sensor:e,options:null!=t?t:{}}),[e,t])}function j(){for(var e=arguments.length,t=Array(e),n=0;n[...t].filter(e=>null!=e),[...t])}(r=h||(h={})).DragStart="dragStart",r.DragMove="dragMove",r.DragEnd="dragEnd",r.DragCancel="dragCancel",r.DragOver="dragOver",r.RegisterDroppable="registerDroppable",r.SetDroppableDisabled="setDroppableDisabled",r.UnregisterDroppable="unregisterDroppable";let F=Object.freeze({x:0,y:0});function z(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function B(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function J(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function X(e){let{left:t,top:n,height:r,width:l}=e;return[{x:t,y:n},{x:t+l,y:n},{x:t,y:n+r},{x:t+l,y:n+r}]}function K(e,t){if(!e||0===e.length)return null;let[n]=e;return t?n[t]:n}function U(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}let H=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,l=U(t,t.left,t.top),i=[];for(let e of r){let{id:t}=e,r=n.get(t);if(r){let n=z(U(r),l);i.push({id:t,data:{droppableContainer:e,value:n}})}}return i.sort(B)},W=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,l=X(t),i=[];for(let e of r){let{id:t}=e,r=n.get(t);if(r){let n=X(r),a=Number((l.reduce((e,t,r)=>e+z(n[r],t),0)/4).toFixed(4));i.push({id:t,data:{droppableContainer:e,value:a}})}}return i.sort(B)},Y=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,l=[];for(let e of r){let{id:r}=e,i=n.get(r);if(i){let n=function(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),l=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height);if(r0&&l.push({id:r,data:{droppableContainer:e,value:n}})}}return l.sort(J)},q=e=>{let{droppableContainers:t,droppableRects:n,pointerCoordinates:r}=e;if(!r)return[];let l=[];for(let e of t){let{id:t}=e,i=n.get(t);if(i&&function(e,t){let{top:n,left:r,bottom:l,right:i}=t;return n<=e.y&&e.y<=l&&r<=e.x&&e.x<=i}(r,i)){let n=Number((X(i).reduce((e,t)=>e+z(r,t),0)/4).toFixed(4));l.push({id:t,data:{droppableContainer:e,value:n}})}}return l.sort(B)};function _(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:F}let G=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r({...e,top:e.top+ +t.y,bottom:e.bottom+ +t.y,left:e.left+ +t.x,right:e.right+ +t.x}),{...e})};function V(e){if(e.startsWith("matrix3d(")){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}let $={ignoreTransform:!1};function Z(e,t){void 0===t&&(t=$);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=(0,S.Jj)(e).getComputedStyle(e);t&&(n=function(e,t,n){let r=V(t);if(!r)return e;let{scaleX:l,scaleY:i,x:a,y:o}=r,u=e.left-a-(1-l)*parseFloat(n),s=e.top-o-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),d=l?e.width/l:e.width,c=i?e.height/i:e.height;return{width:d,height:c,top:s,right:u+d,bottom:s+c,left:u}}(n,t,r))}let{top:r,left:l,width:i,height:a,bottom:o,right:u}=n;return{top:r,left:l,width:i,height:a,bottom:o,right:u}}function Q(e){return Z(e,{ignoreTransform:!0})}function ee(e,t){let n=[];return e?function r(l){var i;if(null!=t&&n.length>=t||!l)return n;if((0,S.qk)(l)&&null!=l.scrollingElement&&!n.includes(l.scrollingElement))return n.push(l.scrollingElement),n;if(!(0,S.Re)(l)||(0,S.vZ)(l)||n.includes(l))return n;let a=(0,S.Jj)(e).getComputedStyle(l);return(l!==e&&function(e,t){void 0===t&&(t=(0,S.Jj)(e).getComputedStyle(e));let n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(e=>{let r=t[e];return"string"==typeof r&&n.test(r)})}(l,a)&&n.push(l),void 0===(i=a)&&(i=(0,S.Jj)(l).getComputedStyle(l)),"fixed"===i.position)?n:r(l.parentNode)}(e):n}function et(e){let[t]=ee(e,1);return null!=t?t:null}function en(e){return S.Nq&&e?(0,S.FJ)(e)?e:(0,S.UG)(e)?(0,S.qk)(e)||e===(0,S.r3)(e).scrollingElement?window:(0,S.Re)(e)?e:null:null:null}function er(e){return(0,S.FJ)(e)?e.scrollX:e.scrollLeft}function el(e){return(0,S.FJ)(e)?e.scrollY:e.scrollTop}function ei(e){return{x:er(e),y:el(e)}}function ea(e){return!!S.Nq&&!!e&&e===document.scrollingElement}function eo(e){let t={x:0,y:0},n=ea(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},l=e.scrollTop<=t.y,i=e.scrollLeft<=t.x;return{isTop:l,isLeft:i,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}(l=f||(f={}))[l.Forward=1]="Forward",l[l.Backward=-1]="Backward";let eu={x:.2,y:.2};function es(e){return e.reduce((e,t)=>(0,S.IH)(e,ei(t)),F)}function ed(e,t){if(void 0===t&&(t=Z),!e)return;let{top:n,left:r,bottom:l,right:i}=t(e);et(e)&&(l<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}let ec=[["x",["left","right"],function(e){return e.reduce((e,t)=>e+er(t),0)}],["y",["top","bottom"],function(e){return e.reduce((e,t)=>e+el(t),0)}]];class eh{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;let n=ee(t),r=es(n);for(let[t,l,i]of(this.rect={...e},this.width=e.width,this.height=e.height,ec))for(let e of l)Object.defineProperty(this,e,{get:()=>{let l=i(n),a=r[t]-l;return this.rect[e]+a},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class ef{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)})},this.target=e}add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function eg(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}function ev(e){e.preventDefault()}function ep(e){e.stopPropagation()}(i=g||(g={})).Click="click",i.DragStart="dragstart",i.Keydown="keydown",i.ContextMenu="contextmenu",i.Resize="resize",i.SelectionChange="selectionchange",i.VisibilityChange="visibilitychange",(a=v||(v={})).Space="Space",a.Down="ArrowDown",a.Right="ArrowRight",a.Left="ArrowLeft",a.Up="ArrowUp",a.Esc="Escape",a.Enter="Enter",a.Tab="Tab";let em={start:[v.Space,v.Enter],cancel:[v.Esc],end:[v.Space,v.Enter,v.Tab]},ey=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case v.Right:return{...n,x:n.x+25};case v.Left:return{...n,x:n.x-25};case v.Down:return{...n,y:n.y+25};case v.Up:return{...n,y:n.y-25}}};class eb{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;let{event:{target:t}}=e;this.props=e,this.listeners=new ef((0,S.r3)(t)),this.windowListeners=new ef((0,S.Jj)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(g.Resize,this.handleCancel),this.windowListeners.add(g.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(g.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&ed(n),t(F)}handleKeyDown(e){if((0,S.vd)(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:l=em,coordinateGetter:i=ey,scrollBehavior:a="smooth"}=r,{code:o}=e;if(l.end.includes(o))return void this.handleEnd(e);if(l.cancel.includes(o))return void this.handleCancel(e);let{collisionRect:u}=n.current,s=u?{x:u.left,y:u.top}:F;this.referenceCoordinates||(this.referenceCoordinates=s);let d=i(e,{active:t,context:n.current,currentCoordinates:s});if(d){let t=(0,S.$X)(d,s),r={x:0,y:0},{scrollableAncestors:l}=n.current;for(let n of l){let l=e.code,{isTop:i,isRight:o,isLeft:u,isBottom:s,maxScroll:c,minScroll:h}=eo(n),f=function(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:l}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:l,width:e.clientWidth,height:e.clientHeight}}(n),g={x:Math.min(l===v.Right?f.right-f.width/2:f.right,Math.max(l===v.Right?f.left:f.left+f.width/2,d.x)),y:Math.min(l===v.Down?f.bottom-f.height/2:f.bottom,Math.max(l===v.Down?f.top:f.top+f.height/2,d.y))},p=l===v.Right&&!o||l===v.Left&&!u,m=l===v.Down&&!s||l===v.Up&&!i;if(p&&g.x!==d.x){let e=n.scrollLeft+t.x,i=l===v.Right&&e<=c.x||l===v.Left&&e>=h.x;if(i&&!t.y)return void n.scrollTo({left:e,behavior:a});i?r.x=n.scrollLeft-e:r.x=l===v.Right?n.scrollLeft-c.x:n.scrollLeft-h.x,r.x&&n.scrollBy({left:-r.x,behavior:a});break}if(m&&g.y!==d.y){let e=n.scrollTop+t.y,i=l===v.Down&&e<=c.y||l===v.Up&&e>=h.y;if(i&&!t.x)return void n.scrollTo({top:e,behavior:a});i?r.y=n.scrollTop-e:r.y=l===v.Down?n.scrollTop-c.y:n.scrollTop-h.y,r.y&&n.scrollBy({top:-r.y,behavior:a});break}}this.handleMove(e,(0,S.IH)((0,S.$X)(d,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function ew(e){return!!(e&&"distance"in e)}function ex(e){return!!(e&&"delay"in e)}eb.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=em,onActivation:l}=t,{active:i}=n,{code:a}=e.nativeEvent;if(r.start.includes(a)){let t=i.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==l||l({event:e.nativeEvent}),!0)}return!1}}];class eD{constructor(e,t,n){var r;void 0===n&&(n=function(e){let{EventTarget:t}=(0,S.Jj)(e);return e instanceof t?e:(0,S.r3)(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;let{event:l}=e,{target:i}=l;this.props=e,this.events=t,this.document=(0,S.r3)(i),this.documentListeners=new ef(this.document),this.listeners=new ef(n),this.windowListeners=new ef((0,S.Jj)(i)),this.initialCoordinates=null!=(r=(0,S.DC)(l))?r:F,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(g.Resize,this.handleCancel),this.windowListeners.add(g.DragStart,ev),this.windowListeners.add(g.VisibilityChange,this.handleCancel),this.windowListeners.add(g.ContextMenu,ev),this.documentListeners.add(g.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(ex(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(ew(t))return void this.handlePending(t)}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(g.Click,ep,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(g.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;let{activated:n,initialCoordinates:r,props:l}=this,{onMove:i,options:{activationConstraint:a}}=l;if(!r)return;let o=null!=(t=(0,S.DC)(e))?t:F,u=(0,S.$X)(r,o);if(!n&&a){if(ew(a)){if(null!=a.tolerance&&eg(u,a.tolerance))return this.handleCancel();if(eg(u,a.distance))return this.handleStart()}return ex(a)&&eg(u,a.tolerance)?this.handleCancel():void this.handlePending(a,u)}e.cancelable&&e.preventDefault(),i(o)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===v.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}let eE={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class eC extends eD{constructor(e){let{event:t}=e;super(e,eE,(0,S.r3)(t.target))}}eC.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!!n.isPrimary&&0===n.button&&(null==r||r({event:n}),!0)}}];let eS={move:{name:"mousemove"},end:{name:"mouseup"}};(o=p||(p={}))[o.RightClick=2]="RightClick";class eM extends eD{constructor(e){super(e,eS,(0,S.r3)(e.event.target))}}eM.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==p.RightClick&&(null==r||r({event:n}),!0)}}];let eR={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class ek extends eD{constructor(e){super(e,eR)}static setup(){return window.addEventListener(eR.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(eR.move.name,e)};function e(){}}}ek.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:l}=n;return!(l.length>1)&&(null==r||r({event:n}),!0)}}],(u=m||(m={}))[u.Pointer=0]="Pointer",u[u.DraggableRect=1]="DraggableRect",(s=y||(y={}))[s.TreeOrder=0]="TreeOrder",s[s.ReversedTreeOrder=1]="ReversedTreeOrder";let eL={x:{[f.Backward]:!1,[f.Forward]:!1},y:{[f.Backward]:!1,[f.Forward]:!1}};(d=b||(b={}))[d.Always=0]="Always",d[d.BeforeDragging=1]="BeforeDragging",d[d.WhileDragging=2]="WhileDragging",(w||(w={})).Optimized="optimized";let eO=new Map;function eT(e,t){return(0,S.Gj)(n=>e?n||("function"==typeof t?t(e):e):null,[t,e])}function eN(e){let{callback:t,disabled:n}=e,r=(0,S.zX)(t),l=(0,D.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,D.useEffect)(()=>()=>null==l?void 0:l.disconnect(),[l]),l}function eA(e){return new eh(Z(e),e)}function eP(e,t,n){void 0===t&&(t=eA);let[r,l]=(0,D.useState)(null);function i(){l(r=>{if(!e)return null;if(!1===e.isConnected){var l;return null!=(l=null!=r?r:n)?l:null}let i=t(e);return JSON.stringify(r)===JSON.stringify(i)?r:i})}let a=function(e){let{callback:t,disabled:n}=e,r=(0,S.zX)(t),l=(0,D.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,D.useEffect)(()=>()=>null==l?void 0:l.disconnect(),[l]),l}({callback(t){if(e)for(let n of t){let{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){i();break}}}}),o=eN({callback:i});return(0,S.LI)(()=>{i(),e?(null==o||o.observe(e),null==a||a.observe(document.body,{childList:!0,subtree:!0})):(null==o||o.disconnect(),null==a||a.disconnect())},[e]),r}let eI=[];function ej(e,t){void 0===t&&(t=[]);let n=(0,D.useRef)(null);return(0,D.useEffect)(()=>{n.current=null},t),(0,D.useEffect)(()=>{let t=e!==F;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?(0,S.$X)(e,n.current):F}function eF(e){return(0,D.useMemo)(()=>e?function(e){let t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null,[e])}let ez=[];function eB(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return(0,S.Re)(t)?t:e}let eJ=[{sensor:eC,options:{}},{sensor:eb,options:{}}],eX={current:{}},eK={draggable:{measure:Q},droppable:{measure:Q,strategy:b.WhileDragging,frequency:w.Optimized},dragOverlay:{measure:Z}};class eU extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}let eH={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new eU,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:P},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:eK,measureDroppableContainers:P,windowRect:null,measuringScheduled:!1},eW={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:P,draggableNodes:new Map,over:null,measureDroppableContainers:P},eY=(0,D.createContext)(eW),eq=(0,D.createContext)(eH);function e_(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new eU}}}function eG(e,t){switch(t.type){case h.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case h.DragMove:if(null==e.draggable.active)return e;return{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case h.DragEnd:case h.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case h.RegisterDroppable:{let{element:n}=t,{id:r}=n,l=new eU(e.droppable.containers);return l.set(r,n),{...e,droppable:{...e.droppable,containers:l}}}case h.SetDroppableDisabled:{let{id:n,key:r,disabled:l}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;let a=new eU(e.droppable.containers);return a.set(n,{...i,disabled:l}),{...e,droppable:{...e.droppable,containers:a}}}case h.UnregisterDroppable:{let{id:n,key:r}=t,l=e.droppable.containers.get(n);if(!l||r!==l.key)return e;let i=new eU(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function eV(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:l}=(0,D.useContext)(eY),i=(0,S.D9)(r),a=(0,S.D9)(null==n?void 0:n.id);return(0,D.useEffect)(()=>{if(!t&&!r&&i&&null!=a){if(!(0,S.vd)(i)||document.activeElement===i.target)return;let e=l.get(a);if(!e)return;let{activatorNode:t,node:n}=e;(t.current||n.current)&&requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=(0,S.so)(e);if(t){t.focus();break}}})}},[r,t,l,a,i]),null}function e$(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}let eZ=(0,D.createContext)({...F,scaleX:1,scaleY:1});(c=x||(x={}))[c.Uninitialized=0]="Uninitialized",c[c.Initializing=1]="Initializing",c[c.Initialized=2]="Initialized";let eQ=(0,D.memo)(function(e){var t,n,r,l,i,a;let{id:o,accessibility:u,autoScroll:s=!0,children:d,sensors:c=eJ,collisionDetection:g=Y,measuring:v,modifiers:p,...w}=e,[M,R]=(0,D.useReducer)(eG,void 0,e_),[k,O]=function(){let[e]=(0,D.useState)(()=>new Set),t=(0,D.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,D.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)})},[e]),t]}(),[T,N]=(0,D.useState)(x.Uninitialized),P=T===x.Initialized,{draggable:{active:I,nodes:j,translate:z},droppable:{containers:B}}=M,J=null!=I?j.get(I):null,X=(0,D.useRef)({initial:null,translated:null}),U=(0,D.useMemo)(()=>{var e;return null!=I?{id:I,data:null!=(e=null==J?void 0:J.data)?e:eX,rect:X}:null},[I,J]),H=(0,D.useRef)(null),[W,q]=(0,D.useState)(null),[V,$]=(0,D.useState)(null),Q=(0,S.Ey)(w,Object.values(w)),er=(0,S.Ld)("DndDescribedBy",o),el=(0,D.useMemo)(()=>B.getEnabled(),[B]),ed=(0,D.useMemo)(()=>({draggable:{...eK.draggable,...null==v?void 0:v.draggable},droppable:{...eK.droppable,...null==v?void 0:v.droppable},dragOverlay:{...eK.dragOverlay,...null==v?void 0:v.dragOverlay}}),[null==v?void 0:v.draggable,null==v?void 0:v.droppable,null==v?void 0:v.dragOverlay]),{droppableRects:ec,measureDroppableContainers:ef,measuringScheduled:eg}=function(e,t){let{dragging:n,dependencies:r,config:l}=t,[i,a]=(0,D.useState)(null),{frequency:o,measure:u,strategy:s}=l,d=(0,D.useRef)(e),c=function(){switch(s){case b.Always:return!1;case b.BeforeDragging:return n;default:return!n}}(),h=(0,S.Ey)(c),f=(0,D.useCallback)(function(e){void 0===e&&(e=[]),h.current||a(t=>null===t?e:t.concat(e.filter(e=>!t.includes(e))))},[h]),g=(0,D.useRef)(null),v=(0,S.Gj)(t=>{if(c&&!n)return eO;if(!t||t===eO||d.current!==e||null!=i){let t=new Map;for(let n of e){if(!n)continue;if(i&&i.length>0&&!i.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new eh(u(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,i,n,c,u]);return(0,D.useEffect)(()=>{d.current=e},[e]),(0,D.useEffect)(()=>{c||f()},[n,c]),(0,D.useEffect)(()=>{i&&i.length>0&&a(null)},[JSON.stringify(i)]),(0,D.useEffect)(()=>{c||"number"!=typeof o||null!==g.current||(g.current=setTimeout(()=>{f(),g.current=null},o))},[o,c,f,...r]),{droppableRects:v,measureDroppableContainers:f,measuringScheduled:null!=i}}(el,{dragging:P,dependencies:[z.x,z.y],config:ed.droppable}),ev=function(e,t){let n=null!=t?e.get(t):void 0,r=n?n.node.current:null;return(0,S.Gj)(e=>{var n;return null==t?null:null!=(n=null!=r?r:e)?n:null},[r,t])}(j,I),ep=(0,D.useMemo)(()=>V?(0,S.DC)(V):null,[V]),em=function(){let e=(null==W?void 0:W.autoScrollEnabled)===!1,t="object"==typeof s?!1===s.enabled:!1===s,n=P&&!e&&!t;return"object"==typeof s?{...s,enabled:n}:{enabled:n}}(),ey=eT(ev,ed.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:r,config:l=!0}=e,i=(0,D.useRef)(!1),{x:a,y:o}="boolean"==typeof l?{x:l,y:l}:l;(0,S.LI)(()=>{if(!a&&!o||!t){i.current=!1;return}if(i.current||!r)return;let e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;let l=_(n(e),r);if(a||(l.x=0),o||(l.y=0),i.current=!0,Math.abs(l.x)>0||Math.abs(l.y)>0){let t=et(e);t&&t.scrollBy({top:l.y,left:l.x})}},[t,a,o,r,n])}({activeNode:null!=I?j.get(I):null,config:em.layoutShiftCompensation,initialRect:ey,measure:ed.draggable.measure});let eb=eP(ev,ed.draggable.measure,ey),ew=eP(ev?ev.parentElement:null),ex=(0,D.useRef)({activatorEvent:null,active:null,activeNode:ev,collisionRect:null,collisions:null,droppableRects:ec,draggableNodes:j,draggingNode:null,draggingNodeRect:null,droppableContainers:B,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),eD=B.getNodeFor(null==(t=ex.current.over)?void 0:t.id),eE=function(e){let{measure:t}=e,[n,r]=(0,D.useState)(null),l=eN({callback:(0,D.useCallback)(e=>{for(let{target:n}of e)if((0,S.Re)(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),i=(0,D.useCallback)(e=>{let n=eB(e);null==l||l.disconnect(),n&&(null==l||l.observe(n)),r(n?t(n):null)},[t,l]),[a,o]=(0,S.wm)(i);return(0,D.useMemo)(()=>({nodeRef:a,rect:n,setRef:o}),[n,a,o])}({measure:ed.dragOverlay.measure}),eC=null!=(n=eE.nodeRef.current)?n:ev,eS=P?null!=(r=eE.rect)?r:eb:null,eM=!!(eE.nodeRef.current&&eE.rect),eR=function(e){let t=eT(e);return _(e,t)}(eM?null:eb),ek=eF(eC?(0,S.Jj)(eC):null),eA=function(e){let t=(0,D.useRef)(e),n=(0,S.Gj)(n=>e?n&&n!==eI&&e&&t.current&&e.parentNode===t.current.parentNode?n:ee(e):eI,[e]);return(0,D.useEffect)(()=>{t.current=e},[e]),n}(P?null!=eD?eD:ev:null),eU=function(e,t){void 0===t&&(t=Z);let[n]=e,r=eF(n?(0,S.Jj)(n):null),[l,i]=(0,D.useState)(ez);function a(){i(()=>e.length?e.map(e=>ea(e)?r:new eh(t(e),e)):ez)}let o=eN({callback:a});return(0,S.LI)(()=>{null==o||o.disconnect(),a(),e.forEach(e=>null==o?void 0:o.observe(e))},[e]),l}(eA),eH=e$(p,{transform:{x:z.x-eR.x,y:z.y-eR.y,scaleX:1,scaleY:1},activatorEvent:V,active:U,activeNodeRect:eb,containerNodeRect:ew,draggingNodeRect:eS,over:ex.current.over,overlayNodeRect:eE.rect,scrollableAncestors:eA,scrollableAncestorRects:eU,windowRect:ek}),eW=ep?(0,S.IH)(ep,z):null,eQ=function(e){let[t,n]=(0,D.useState)(null),r=(0,D.useRef)(e),l=(0,D.useCallback)(e=>{let t=en(e.target);t&&n(e=>e?(e.set(t,ei(t)),new Map(e)):null)},[]);return(0,D.useEffect)(()=>{let t=r.current;if(e!==t){i(t);let a=e.map(e=>{let t=en(e);return t?(t.addEventListener("scroll",l,{passive:!0}),[t,ei(t)]):null}).filter(e=>null!=e);n(a.length?new Map(a):null),r.current=e}return()=>{i(e),i(t)};function i(e){e.forEach(e=>{let t=en(e);null==t||t.removeEventListener("scroll",l)})}},[l,e]),(0,D.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>(0,S.IH)(e,t),F):es(e):F,[e,t])}(eA),e0=ej(eQ),e1=ej(eQ,[eb]),e2=(0,S.IH)(eH,e0),e5=eS?G(eS,eH):null,e4=U&&e5?g({active:U,collisionRect:e5,droppableRects:ec,droppableContainers:el,pointerCoordinates:eW}):null,e3=K(e4,"id"),[e9,e8]=(0,D.useState)(null),e6=(i=eM?eH:(0,S.IH)(eH,e1),a=null!=(l=null==e9?void 0:e9.rect)?l:null,{...i,scaleX:a&&eb?a.width/eb.width:1,scaleY:a&&eb?a.height/eb.height:1}),e7=(0,D.useRef)(null),te=(0,D.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(null==H.current)return;let l=j.get(H.current);if(!l)return;let i=e.nativeEvent,a=new n({active:H.current,activeNode:l,event:i,options:r,context:ex,onAbort(e){if(!j.get(e))return;let{onDragAbort:t}=Q.current,n={id:e};null==t||t(n),k({type:"onDragAbort",event:n})},onPending(e,t,n,r){if(!j.get(e))return;let{onDragPending:l}=Q.current,i={id:e,constraint:t,initialCoordinates:n,offset:r};null==l||l(i),k({type:"onDragPending",event:i})},onStart(e){let t=H.current;if(null==t)return;let n=j.get(t);if(!n)return;let{onDragStart:r}=Q.current,l={activatorEvent:i,active:{id:t,data:n.data,rect:X}};(0,C.unstable_batchedUpdates)(()=>{null==r||r(l),N(x.Initializing),R({type:h.DragStart,initialCoordinates:e,active:t}),k({type:"onDragStart",event:l}),q(e7.current),$(i)})},onMove(e){R({type:h.DragMove,coordinates:e})},onEnd:o(h.DragEnd),onCancel:o(h.DragCancel)});function o(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:l}=ex.current,a=null;if(t&&l){let{cancelDrop:o}=Q.current;a={activatorEvent:i,active:t,collisions:n,delta:l,over:r},e===h.DragEnd&&"function"==typeof o&&await Promise.resolve(o(a))&&(e=h.DragCancel)}H.current=null,(0,C.unstable_batchedUpdates)(()=>{R({type:e}),N(x.Uninitialized),e8(null),q(null),$(null),e7.current=null;let t=e===h.DragEnd?"onDragEnd":"onDragCancel";if(a){let e=Q.current[t];null==e||e(a),k({type:t,event:a})}})}}e7.current=a},[j]),tt=(0,D.useCallback)((e,t)=>(n,r)=>{let l=n.nativeEvent,i=j.get(r);null!==H.current||!i||l.dndKit||l.defaultPrevented||!0===e(n,t.options,{active:i})&&(l.dndKit={capturedBy:t.sensor},H.current=r,te(n,t))},[j,te]),tn=(0,D.useMemo)(()=>c.reduce((e,t)=>{let{sensor:n}=t;return[...e,...n.activators.map(e=>({eventName:e.eventName,handler:tt(e.handler,t)}))]},[]),[c,tt]);(0,D.useEffect)(()=>{if(!S.Nq)return;let e=c.map(e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()});return()=>{for(let t of e)null==t||t()}},c.map(e=>{let{sensor:t}=e;return t})),(0,S.LI)(()=>{eb&&T===x.Initializing&&N(x.Initialized)},[eb,T]),(0,D.useEffect)(()=>{let{onDragMove:e}=Q.current,{active:t,activatorEvent:n,collisions:r,over:l}=ex.current;if(!t||!n)return;let i={active:t,activatorEvent:n,collisions:r,delta:{x:e2.x,y:e2.y},over:l};(0,C.unstable_batchedUpdates)(()=>{null==e||e(i),k({type:"onDragMove",event:i})})},[e2.x,e2.y]),(0,D.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:l}=ex.current;if(!e||null==H.current||!t||!l)return;let{onDragOver:i}=Q.current,a=r.get(e3),o=a&&a.rect.current?{id:a.id,rect:a.rect.current,data:a.data,disabled:a.disabled}:null,u={active:e,activatorEvent:t,collisions:n,delta:{x:l.x,y:l.y},over:o};(0,C.unstable_batchedUpdates)(()=>{e8(o),null==i||i(u),k({type:"onDragOver",event:u})})},[e3]),(0,S.LI)(()=>{ex.current={activatorEvent:V,active:U,activeNode:ev,collisionRect:e5,collisions:e4,droppableRects:ec,draggableNodes:j,draggingNode:eC,draggingNodeRect:eS,droppableContainers:B,over:e9,scrollableAncestors:eA,scrollAdjustedTranslate:e2},X.current={initial:eS,translated:e5}},[U,ev,e4,e5,j,eC,eS,ec,B,e9,eA,e2]),function(e){let{acceleration:t,activator:n=m.Pointer,canScroll:r,draggingRect:l,enabled:i,interval:a=5,order:o=y.TreeOrder,pointerCoordinates:u,scrollableAncestors:s,scrollableAncestorRects:d,delta:c,threshold:h}=e,g=function(e){let{delta:t,disabled:n}=e,r=(0,S.D9)(t);return(0,S.Gj)(e=>{if(n||!r||!e)return eL;let l={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[f.Backward]:e.x[f.Backward]||-1===l.x,[f.Forward]:e.x[f.Forward]||1===l.x},y:{[f.Backward]:e.y[f.Backward]||-1===l.y,[f.Forward]:e.y[f.Forward]||1===l.y}}},[n,t,r])}({delta:c,disabled:!i}),[v,p]=(0,S.Yz)(),b=(0,D.useRef)({x:0,y:0}),w=(0,D.useRef)({x:0,y:0}),x=(0,D.useMemo)(()=>{switch(n){case m.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case m.DraggableRect:return l}},[n,l,u]),E=(0,D.useRef)(null),C=(0,D.useCallback)(()=>{let e=E.current;if(!e)return;let t=b.current.x*w.current.x,n=b.current.y*w.current.y;e.scrollBy(t,n)},[]),M=(0,D.useMemo)(()=>o===y.TreeOrder?[...s].reverse():s,[o,s]);(0,D.useEffect)(()=>{if(!i||!s.length||!x)return void p();for(let e of M){if((null==r?void 0:r(e))===!1)continue;let n=d[s.indexOf(e)];if(!n)continue;let{direction:l,speed:i}=function(e,t,n,r,l){let{top:i,left:a,right:o,bottom:u}=n;void 0===r&&(r=10),void 0===l&&(l=eu);let{isTop:s,isBottom:d,isLeft:c,isRight:h}=eo(e),g={x:0,y:0},v={x:0,y:0},p={height:t.height*l.y,width:t.width*l.x};return!s&&i<=t.top+p.height?(g.y=f.Backward,v.y=r*Math.abs((t.top+p.height-i)/p.height)):!d&&u>=t.bottom-p.height&&(g.y=f.Forward,v.y=r*Math.abs((t.bottom-p.height-u)/p.height)),!h&&o>=t.right-p.width?(g.x=f.Forward,v.x=r*Math.abs((t.right-p.width-o)/p.width)):!c&&a<=t.left+p.width&&(g.x=f.Backward,v.x=r*Math.abs((t.left+p.width-a)/p.width)),{direction:g,speed:v}}(e,n,x,t,h);for(let e of["x","y"])g[e][l[e]]||(i[e]=0,l[e]=0);if(i.x>0||i.y>0){p(),E.current=e,v(C,a),b.current=i,w.current=l;return}}b.current={x:0,y:0},w.current={x:0,y:0},p()},[t,C,r,p,i,a,JSON.stringify(x),JSON.stringify(g),v,s,M,d,JSON.stringify(h)])}({...em,delta:z,draggingRect:e5,pointerCoordinates:eW,scrollableAncestors:eA,scrollableAncestorRects:eU});let tr=(0,D.useMemo)(()=>({active:U,activeNode:ev,activeNodeRect:eb,activatorEvent:V,collisions:e4,containerNodeRect:ew,dragOverlay:eE,draggableNodes:j,droppableContainers:B,droppableRects:ec,over:e9,measureDroppableContainers:ef,scrollableAncestors:eA,scrollableAncestorRects:eU,measuringConfiguration:ed,measuringScheduled:eg,windowRect:ek}),[U,ev,eb,V,e4,ew,eE,j,B,ec,e9,ef,eA,eU,ed,eg,ek]),tl=(0,D.useMemo)(()=>({activatorEvent:V,activators:tn,active:U,activeNodeRect:eb,ariaDescribedById:{draggable:er},dispatch:R,draggableNodes:j,over:e9,measureDroppableContainers:ef}),[V,tn,U,eb,R,er,j,e9,ef]);return E().createElement(L.Provider,{value:O},E().createElement(eY.Provider,{value:tl},E().createElement(eq.Provider,{value:tr},E().createElement(eZ.Provider,{value:e6},d)),E().createElement(eV,{disabled:(null==u?void 0:u.restoreFocus)===!1})),E().createElement(A,{...u,hiddenTextDescribedById:er}))}),e0=(0,D.createContext)(null),e1="button";function e2(e){let{id:t,data:n,disabled:r=!1,attributes:l}=e,i=(0,S.Ld)("Draggable"),{activators:a,activatorEvent:o,active:u,activeNodeRect:s,ariaDescribedById:d,draggableNodes:c,over:h}=(0,D.useContext)(eY),{role:f=e1,roleDescription:g="draggable",tabIndex:v=0}=null!=l?l:{},p=(null==u?void 0:u.id)===t,m=(0,D.useContext)(p?eZ:e0),[y,b]=(0,S.wm)(),[w,x]=(0,S.wm)(),E=(0,D.useMemo)(()=>a.reduce((e,n)=>{let{eventName:r,handler:l}=n;return e[r]=e=>{l(e,t)},e},{}),[a,t]),C=(0,S.Ey)(n);return(0,S.LI)(()=>(c.set(t,{id:t,key:i,node:y,activatorNode:w,data:C}),()=>{let e=c.get(t);e&&e.key===i&&c.delete(t)}),[c,t]),{active:u,activatorEvent:o,activeNodeRect:s,attributes:(0,D.useMemo)(()=>({role:f,tabIndex:v,"aria-disabled":r,"aria-pressed":!!p&&f===e1||void 0,"aria-roledescription":g,"aria-describedby":d.draggable}),[r,f,v,p,g,d.draggable]),isDragging:p,listeners:r?void 0:E,node:y,over:h,setNodeRef:b,setActivatorNodeRef:x,transform:m}}function e5(){return(0,D.useContext)(eq)}let e4={timeout:25};function e3(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:l}=e,i=(0,S.Ld)("Droppable"),{active:a,dispatch:o,over:u,measureDroppableContainers:s}=(0,D.useContext)(eY),d=(0,D.useRef)({disabled:n}),c=(0,D.useRef)(!1),f=(0,D.useRef)(null),g=(0,D.useRef)(null),{disabled:v,updateMeasurementsFor:p,timeout:m}={...e4,...l},y=(0,S.Ey)(null!=p?p:r),b=eN({callback:(0,D.useCallback)(()=>{if(!c.current){c.current=!0;return}null!=g.current&&clearTimeout(g.current),g.current=setTimeout(()=>{s(Array.isArray(y.current)?y.current:[y.current]),g.current=null},m)},[m]),disabled:v||!a}),w=(0,D.useCallback)((e,t)=>{b&&(t&&(b.unobserve(t),c.current=!1),e&&b.observe(e))},[b]),[x,E]=(0,S.wm)(w),C=(0,S.Ey)(t);return(0,D.useEffect)(()=>{b&&x.current&&(b.disconnect(),c.current=!1,b.observe(x.current))},[x,b]),(0,D.useEffect)(()=>(o({type:h.RegisterDroppable,element:{id:r,key:i,disabled:n,node:x,rect:f,data:C}}),()=>o({type:h.UnregisterDroppable,key:i,id:r})),[r]),(0,D.useEffect)(()=>{n!==d.current.disabled&&(o({type:h.SetDroppableDisabled,id:r,key:i,disabled:n}),d.current.disabled=n)},[r,i,n,o]),{active:a,rect:f,isOver:(null==u?void 0:u.id)===r,node:x,over:u,setNodeRef:E}}function e9(e){let{animation:t,children:n}=e,[r,l]=(0,D.useState)(null),[i,a]=(0,D.useState)(null),o=(0,S.D9)(n);return n||r||!o||l(o),(0,S.LI)(()=>{if(!i)return;let e=null==r?void 0:r.key,n=null==r?void 0:r.props.id;if(null==e||null==n)return void l(null);Promise.resolve(t(n,i)).then(()=>{l(null)})},[t,r,i]),E().createElement(E().Fragment,null,n,r?(0,D.cloneElement)(r,{ref:a}):null)}let e8={x:0,y:0,scaleX:1,scaleY:1};function e6(e){let{children:t}=e;return E().createElement(eY.Provider,{value:eW},E().createElement(eZ.Provider,{value:e8},t))}let e7={position:"fixed",touchAction:"none"},te=e=>(0,S.vd)(e)?"transform 250ms ease":void 0,tt=(0,D.forwardRef)((e,t)=>{let{as:n,activatorEvent:r,adjustScale:l,children:i,className:a,rect:o,style:u,transform:s,transition:d=te}=e;if(!o)return null;let c=l?s:{...s,scaleX:1,scaleY:1},h={...e7,width:o.width,height:o.height,top:o.top,left:o.left,transform:S.ux.Transform.toString(c),transformOrigin:l&&r?function(e,t){let n=(0,S.DC)(e);if(!n)return"0 0";let r={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return r.x+"% "+r.y+"%"}(r,o):void 0,transition:"function"==typeof d?d(r):d,...u};return E().createElement(n,{className:a,style:h,ref:t},i)}),tn=e=>t=>{let{active:n,dragOverlay:r}=t,l={},{styles:i,className:a}=e;if(null!=i&&i.active)for(let[e,t]of Object.entries(i.active))void 0!==t&&(l[e]=n.node.style.getPropertyValue(e),n.node.style.setProperty(e,t));if(null!=i&&i.dragOverlay)for(let[e,t]of Object.entries(i.dragOverlay))void 0!==t&&r.node.style.setProperty(e,t);return null!=a&&a.active&&n.node.classList.add(a.active),null!=a&&a.dragOverlay&&r.node.classList.add(a.dragOverlay),function(){for(let[e,t]of Object.entries(l))n.node.style.setProperty(e,t);null!=a&&a.active&&n.node.classList.remove(a.active)}},tr={duration:250,easing:"ease",keyframes:e=>{let{transform:{initial:t,final:n}}=e;return[{transform:S.ux.Transform.toString(t)},{transform:S.ux.Transform.toString(n)}]},sideEffects:tn({styles:{active:{opacity:"0"}}})},tl=0,ti=E().memo(e=>{var t;let{adjustScale:n=!1,children:r,dropAnimation:l,style:i,transition:a,modifiers:o,wrapperElement:u="div",className:s,zIndex:d=999}=e,{activatorEvent:c,active:h,activeNodeRect:f,containerNodeRect:g,draggableNodes:v,droppableContainers:p,dragOverlay:m,over:y,measuringConfiguration:b,scrollableAncestors:w,scrollableAncestorRects:x,windowRect:C}=e5(),M=(0,D.useContext)(eZ),R=(t=null==h?void 0:h.id,(0,D.useMemo)(()=>{if(null!=t)return++tl},[t])),k=e$(o,{activatorEvent:c,active:h,activeNodeRect:f,containerNodeRect:g,draggingNodeRect:m.rect,over:y,overlayNodeRect:m.rect,scrollableAncestors:w,scrollableAncestorRects:x,transform:M,windowRect:C}),L=eT(f),O=function(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:l}=e;return(0,S.zX)((e,i)=>{if(null===t)return;let a=n.get(e);if(!a)return;let o=a.node.current;if(!o)return;let u=eB(i);if(!u)return;let{transform:s}=(0,S.Jj)(i).getComputedStyle(i),d=V(s);if(!d)return;let c="function"==typeof t?t:function(e){let{duration:t,easing:n,sideEffects:r,keyframes:l}={...tr,...e};return e=>{let{active:i,dragOverlay:a,transform:o,...u}=e;if(!t)return;let s={x:a.rect.left-i.rect.left,y:a.rect.top-i.rect.top},d={scaleX:1!==o.scaleX?i.rect.width*o.scaleX/a.rect.width:1,scaleY:1!==o.scaleY?i.rect.height*o.scaleY/a.rect.height:1},c={x:o.x-s.x,y:o.y-s.y,...d},h=l({...u,active:i,dragOverlay:a,transform:{initial:o,final:c}}),[f]=h,g=h[h.length-1];if(JSON.stringify(f)===JSON.stringify(g))return;let v=null==r?void 0:r({active:i,dragOverlay:a,...u}),p=a.node.animate(h,{duration:t,easing:n,fill:"forwards"});return new Promise(e=>{p.onfinish=()=>{null==v||v(),e()}})}}(t);return ed(o,l.draggable.measure),c({active:{id:e,data:a.data,node:o,rect:l.draggable.measure(o)},draggableNodes:n,dragOverlay:{node:i,rect:l.dragOverlay.measure(u)},droppableContainers:r,measuringConfiguration:l,transform:d})})}({config:l,draggableNodes:v,droppableContainers:p,measuringConfiguration:b}),T=L?m.setRef:void 0;return E().createElement(e6,null,E().createElement(e9,{animation:O},h&&R?E().createElement(tt,{key:R,id:h.id,ref:T,as:u,activatorEvent:c,adjustScale:n,className:s,transition:a,rect:L,style:{zIndex:d,...i},transform:k},r):null))})}}]); \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4854.58d64832.js.LICENSE.txt b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4854.58d64832.js.LICENSE.txt deleted file mode 100644 index 8693fb8316..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4854.58d64832.js.LICENSE.txt +++ /dev/null @@ -1,13 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4876.35267c1f.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4876.35267c1f.js deleted file mode 100644 index 91d1c9c1c2..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4876.35267c1f.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 4876.35267c1f.js.LICENSE.txt */ -(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["4876"],{45243:function(t,i){(function(t){"use strict";function i(t){var i,e,n,o;for(e=1,n=arguments.length;e0?Math.floor(t):Math.ceil(t)};function W(t,i,e){return t instanceof j?t:z(t)?new j(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new j(t.x,t.y):new j(t,i,e)}function F(t,i){if(t)for(var e=i?[t,i]:t,n=0,o=e.length;n=this.min.x&&e.x<=this.max.x&&i.y>=this.min.y&&e.y<=this.max.y},intersects:function(t){t=U(t);var i=this.min,e=this.max,n=t.min,o=t.max,s=o.x>=i.x&&n.x<=e.x,r=o.y>=i.y&&n.y<=e.y;return s&&r},overlaps:function(t){t=U(t);var i=this.min,e=this.max,n=t.min,o=t.max,s=o.x>i.x&&n.xi.y&&n.y=n.lat&&e.lat<=o.lat&&i.lng>=n.lng&&e.lng<=o.lng},intersects:function(t){t=q(t);var i=this._southWest,e=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>=i.lat&&n.lat<=e.lat,r=o.lng>=i.lng&&n.lng<=e.lng;return s&&r},overlaps:function(t){t=q(t);var i=this._southWest,e=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>i.lat&&n.lati.lng&&n.lng1,tS=function(){var t=!1;try{var i=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",v,i),window.removeEventListener("testPassiveEventSupport",v,i)}catch(t){}return t}(),tk=!!document.createElement("canvas").getContext,tE=!!(document.createElementNS&&te("svg").createSVGRect),tO=!!tE&&((u=document.createElement("div")).innerHTML="","http://www.w3.org/2000/svg"===(u.firstChild&&u.firstChild.namespaceURI)),tA=!tE&&function(){try{var t=document.createElement("div");t.innerHTML='';var i=t.firstChild;return i.style.behavior="url(#default#VML)",i&&"object"==typeof i.adj}catch(t){return!1}}();function tB(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var tI={ie:ts,ielt9:tr,edge:ta,webkit:th,android:tl,android23:tu,androidStock:t_,opera:td,chrome:tp,gecko:tm,safari:tf,phantom:tg,opera12:tv,win:ty,ie3d:tx,webkit3d:tw,gecko3d:tb,any3d:tP,mobile:tL,mobileWebkit:tL&&th,mobileWebkit3d:tL&&tw,msPointer:tT,pointer:tM,touch:tC,touchNative:tz,mobileOpera:tL&&td,mobileGecko:tL&&tm,retina:tZ,passiveEvents:tS,canvas:tk,svg:tE,vml:tA,inlineSvg:tO,mac:0===navigator.platform.indexOf("Mac"),linux:0===navigator.platform.indexOf("Linux")},tR=tI.msPointer?"MSPointerDown":"pointerdown",tN=tI.msPointer?"MSPointerMove":"pointermove",tD=tI.msPointer?"MSPointerUp":"pointerup",tj=tI.msPointer?"MSPointerCancel":"pointercancel",tH={touchstart:tR,touchmove:tN,touchend:tD,touchcancel:tj},tW={touchstart:function(t,i){i.MSPOINTER_TYPE_TOUCH&&i.pointerType===i.MSPOINTER_TYPE_TOUCH&&iL(i),tK(t,i)},touchmove:tK,touchend:tK,touchcancel:tK},tF={},tU=!1;function tV(t){tF[t.pointerId]=t}function tq(t){tF[t.pointerId]&&(tF[t.pointerId]=t)}function tG(t){delete tF[t.pointerId]}function tK(t,i){if(i.pointerType!==(i.MSPOINTER_TYPE_MOUSE||"mouse")){for(var e in i.touches=[],tF)i.touches.push(tF[e]);i.changedTouches=[i],t(i)}}var tY=ii(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),tX=ii(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),tJ="webkitTransition"===tX||"OTransition"===tX?tX+"End":"transitionend";function t$(t){return"string"==typeof t?document.getElementById(t):t}function tQ(t,i){var e=t.style[i]||t.currentStyle&&t.currentStyle[i];if((!e||"auto"===e)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);e=n?n[i]:null}return"auto"===e?null:e}function t0(t,i,e){var n=document.createElement(t);return n.className=i||"",e&&e.appendChild(n),n}function t1(t){var i=t.parentNode;i&&i.removeChild(t)}function t2(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function t3(t){var i=t.parentNode;i&&i.lastChild!==t&&i.appendChild(t)}function t5(t){var i=t.parentNode;i&&i.firstChild!==t&&i.insertBefore(t,i.firstChild)}function t8(t,i){if(void 0!==t.classList)return t.classList.contains(i);var e=t6(t);return e.length>0&&RegExp("(^|\\s)"+i+"(\\s|$)").test(e)}function t9(t,i){if(void 0!==t.classList)for(var e=w(i),n=0,o=e.length;n0?2*window.devicePixelRatio:1;function iZ(t){return tI.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/iC:t.deltaY&&1===t.deltaMode?-(20*t.deltaY):t.deltaY&&2===t.deltaMode?-(60*t.deltaY):t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&32765>Math.abs(t.detail)?-(20*t.detail):t.detail?-(60*(t.detail/32765)):0}function iS(t,i){var e=i.relatedTarget;if(!e)return!0;try{for(;e&&e!==t;)e=e.parentNode}catch(t){return!1}return e!==t}var ik=D.extend({run:function(t,i,e,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=e||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=is(t),this._offset=i.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=B(this._animate,this),this._step()},_step:function(t){var i=new Date-this._startTime,e=1e3*this._duration;ithis.options.maxZoom))?this.setZoom(t):this},panInsideBounds:function(t,i){this._enforcingBounds=!0;var e=this.getCenter(),n=this._limitCenter(e,this._zoom,q(t));return e.equals(n)||this.panTo(n,i),this._enforcingBounds=!1,this},panInside:function(t,i){var e=W((i=i||{}).paddingTopLeft||i.padding||[0,0]),n=W(i.paddingBottomRight||i.padding||[0,0]),o=this.project(this.getCenter()),s=this.project(t),r=this.getPixelBounds(),a=U([r.min.add(e),r.max.subtract(n)]),h=a.getSize();if(!a.contains(s)){this._enforcingBounds=!0;var l=s.subtract(a.getCenter()),u=a.extend(s).getSize().subtract(h);o.x+=l.x<0?-u.x:u.x,o.y+=l.y<0?-u.y:u.y,this.panTo(this.unproject(o),i),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=i({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var n=this.getSize(),o=e.divideBy(2).round(),s=n.divideBy(2).round(),r=o.subtract(s);return r.x||r.y?(t.animate&&t.pan?this.panBy(r):(t.pan&&this._rawPanBy(r),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(d(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:n})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=i({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=d(this._handleGeolocationResponse,this),n=d(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,n,t):navigator.geolocation.getCurrentPosition(e,n,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(this._container._leaflet_id){var i=t.code,e=t.message||(1===i?"permission denied":2===i?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:i,message:"Geolocation error: "+e+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var i=new G(t.coords.latitude,t.coords.longitude),e=i.toBounds(2*t.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(e);this.setView(i,n.maxZoom?Math.min(o,n.maxZoom):o)}var s={latlng:i,bounds:e,timestamp:t.timestamp};for(var r in t.coords)"number"==typeof t.coords[r]&&(s[r]=t.coords[r]);this.fire("locationfound",s)}},addHandler:function(t,i){if(!i)return this;var e=this[t]=new i(this);return this._handlers.push(e),this.options[t]&&e.enable(),this},remove:function(){var t;if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),t1(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(I(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)t1(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,i){var e=t0("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),i||this._mapPane);return t&&(this._panes[t]=e),e},getCenter:function(){return(this._checkIfLoaded(),this._lastCenter&&!this._moved())?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new V(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,i,e){t=q(t),e=W(e||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=t.getNorthWest(),a=t.getSouthEast(),h=this.getSize().subtract(e),l=U(this.project(a,n),this.project(r,n)).getSize(),u=tI.any3d?this.options.zoomSnap:1,c=h.x/l.x,_=h.y/l.y,d=i?Math.max(c,_):Math.min(c,_);return n=this.getScaleZoom(d,n),u&&(n=u/100*Math.round(n/(u/100)),n=i?Math.ceil(n/u)*u:Math.floor(n/u)*u),Math.max(o,Math.min(s,n))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new j(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,i){var e=this._getTopLeftPoint(t,i);return new F(e,e.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,i){var e=this.options.crs;return i=void 0===i?this._zoom:i,e.scale(t)/e.scale(i)},getScaleZoom:function(t,i){var e=this.options.crs;i=void 0===i?this._zoom:i;var n=e.zoom(t*e.scale(i));return isNaN(n)?1/0:n},project:function(t,i){return i=void 0===i?this._zoom:i,this.options.crs.latLngToPoint(K(t),i)},unproject:function(t,i){return i=void 0===i?this._zoom:i,this.options.crs.pointToLatLng(W(t),i)},layerPointToLatLng:function(t){var i=W(t).add(this.getPixelOrigin());return this.unproject(i)},latLngToLayerPoint:function(t){return this.project(K(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(K(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(q(t))},distance:function(t,i){return this.options.crs.distance(K(t),K(i))},containerPointToLayerPoint:function(t){return W(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return W(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var i=this.containerPointToLayerPoint(W(t));return this.layerPointToLatLng(i)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(K(t)))},mouseEventToContainerPoint:function(t){return iz(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var i=this._container=t$(t);if(i){if(i._leaflet_id)throw Error("Map container is already initialized.")}else throw Error("Map container not found.");id(i,"scroll",this._onScroll,this),this._containerId=m(i)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&tI.any3d,t9(t,"leaflet-container"+(tI.touch?" leaflet-touch":"")+(tI.retina?" leaflet-retina":"")+(tI.ielt9?" leaflet-oldie":"")+(tI.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var i=tQ(t,"position");"absolute"!==i&&"relative"!==i&&"fixed"!==i&&"sticky"!==i&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),io(this._mapPane,new j(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(t9(t.markerPane,"leaflet-zoom-hide"),t9(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,i,e){io(this._mapPane,new j(0,0));var n=!this._loaded;this._loaded=!0,i=this._limitZoom(i),this.fire("viewprereset");var o=this._zoom!==i;this._moveStart(o,e)._move(t,i)._moveEnd(o),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,i){return t&&this.fire("zoomstart"),i||this.fire("movestart"),this},_move:function(t,i,e,n){void 0===i&&(i=this._zoom);var o=this._zoom!==i;return this._zoom=i,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),n?e&&e.pinch&&this.fire("zoom",e):((o||e&&e.pinch)&&this.fire("zoom",e),this.fire("move",e)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return I(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){io(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[m(this._container)]=this;var i=t?im:id;i(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&i(window,"resize",this._onResize,this),tI.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){I(this._resizeRequest),this._resizeRequest=B(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,i){for(var e,n=[],o="mouseout"===i||"mouseover"===i,s=t.target||t.srcElement,r=!1;s;){if((e=this._targets[m(s)])&&("click"===i||"preclick"===i)&&this._draggableMoved(e)){r=!0;break}if(e&&e.listens(i,!0)&&(o&&!iS(s,t)||(n.push(e),o)))break;if(s===this._container)break;s=s.parentNode}return!n.length&&!r&&!o&&this.listens(i,!0)&&(n=[this]),n},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var i=t.target||t.srcElement;if(!(!this._loaded||i._leaflet_disable_events||"click"===t.type&&this._isClickDisabled(i))){var e=t.type;"mousedown"===e&&il(i),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,n){if("click"===t.type){var o=i({},t);o.type="preclick",this._fireDOMEvent(o,o.type,n)}var s=this._findEventTargets(t,e);if(n){for(var r=[],a=0;a=Math.abs(r.x)&&1>=Math.abs(r.y)?t:this.unproject(n.add(r),i)},_limitOffset:function(t,i){if(!i)return t;var e=this.getPixelBounds(),n=new F(e.min.add(t),e.max.add(t));return t.add(this._getBoundsOffset(n,i))},_getBoundsOffset:function(t,i,e){var n=U(this.project(i.getNorthEast(),e),this.project(i.getSouthWest(),e)),o=n.min.subtract(t.min),s=n.max.subtract(t.max);return new j(this._rebound(o.x,-s.x),this._rebound(o.y,-s.y))},_rebound:function(t,i){return t+i>0?Math.round(t-i)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(i))},_limitZoom:function(t){var i=this.getMinZoom(),e=this.getMaxZoom(),n=tI.any3d?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(i,Math.min(e,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){t4(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,i){var e=this._getCenterOffset(t)._trunc();return(!0===(i&&i.animate)||!!this.getSize().contains(e))&&(this.panBy(e,i),!0)},_createAnimProxy:function(){var t=this._proxy=t0("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var i=this._proxy.style[tY];ie(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),i===this._proxy.style[tY]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){t1(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),i=this.getZoom();ie(this._proxy,this.project(t,i),this.getZoomScale(i,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,i,e){if(this._animatingZoom)return!0;if(e=e||{},!this._zoomAnimated||!1===e.animate||this._nothingToAnimate()||Math.abs(i-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(i),o=this._getCenterOffset(t)._divideBy(1-1/n);return(!0===e.animate||!!this.getSize().contains(o))&&(B(function(){this._moveStart(!0,e.noMoveStart||!1)._animateZoom(t,i,!0)},this),!0)},_animateZoom:function(t,i,e,n){this._mapPane&&(e&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=i,t9(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:i,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(d(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&t4(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}}),iO=R.extend({options:{position:"topright"},initialize:function(t){b(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var i=this._map;return i&&i.removeControl(this),this.options.position=t,i&&i.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var i=this._container=this.onAdd(t),e=this.getPosition(),n=t._controlCorners[e];return t9(i,"leaflet-control"),-1!==e.indexOf("bottom")?n.insertBefore(i,n.firstChild):n.appendChild(i),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(t1(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),iA=function(t){return new iO(t)};iE.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},i="leaflet-",e=this._controlContainer=t0("div",i+"control-container",this._container);function n(n,o){t[n+o]=t0("div",i+n+" "+i+o,e)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)t1(this._controlCorners[t]);t1(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var iB=iO.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,i,e,n){return e1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=i&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var i=this._getLayer(m(t.target)),e=i.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;e&&this._map.fire(e,i)},_createRadioElement:function(t,i){var e=document.createElement("div");return e.innerHTML='",e.firstChild},_addItem:function(t){var i,e=document.createElement("label"),n=this._map.hasLayer(t.layer);t.overlay?((i=document.createElement("input")).type="checkbox",i.className="leaflet-control-layers-selector",i.defaultChecked=n):i=this._createRadioElement("leaflet-base-layers_"+m(this),n),this._layerControlInputs.push(i),i.layerId=m(t.layer),id(i,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+t.name;var s=document.createElement("span");return e.appendChild(s),s.appendChild(i),s.appendChild(o),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(e),this._checkDisabledLayers(),e},_onInputClick:function(){if(!this._preventClick){var t,i,e=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var s=e.length-1;s>=0;s--)t=e[s],i=this._getLayer(t.layerId).layer,t.checked?n.push(i):t.checked||o.push(i);for(s=0;s=0;o--)t=e[o],i=this._getLayer(t.layerId).layer,t.disabled=void 0!==i.options.minZoom&&ni.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,id(t,"click",iL),this.expand();var i=this;setTimeout(function(){im(t,"click",iL),i._preventClick=!1})}}),iI=iO.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(t){var i="leaflet-control-zoom",e=t0("div",i+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,i+"-in",e,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,i+"-out",e,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),e},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,i,e,n,o){var s=t0("a",e,n);return s.innerHTML=t,s.href="#",s.title=i,s.setAttribute("role","button"),s.setAttribute("aria-label",i),iP(s),id(s,"click",iT),id(s,"click",o,this),id(s,"click",this._refocusOnMap,this),s},_updateDisabled:function(){var t=this._map,i="leaflet-disabled";t4(this._zoomInButton,i),t4(this._zoomOutButton,i),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(t9(this._zoomOutButton,i),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(t9(this._zoomInButton,i),this._zoomInButton.setAttribute("aria-disabled","true"))}});iE.mergeOptions({zoomControl:!0}),iE.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new iI,this.addControl(this.zoomControl))});var iR=iO.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var i="leaflet-control-scale",e=t0("div",i),n=this.options;return this._addScales(n,i+"-line",e),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),e},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,i,e){t.metric&&(this._mScale=t0("div",i,e)),t.imperial&&(this._iScale=t0("div",i,e))},_update:function(){var t=this._map,i=t.getSize().y/2,e=t.distance(t.containerPointToLatLng([0,i]),t.containerPointToLatLng([this.options.maxWidth,i]));this._updateScales(e)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var i=this._getRoundNum(t);this._updateScale(this._mScale,i<1e3?i+" m":i/1e3+" km",i/t)},_updateImperial:function(t){var i,e,n,o=3.2808399*t;o>5280?(i=o/5280,e=this._getRoundNum(i),this._updateScale(this._iScale,e+" mi",e/i)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(t,i,e){t.style.width=Math.round(this.options.maxWidth*e)+"px",t.innerHTML=i},_getRoundNum:function(t){var i=Math.pow(10,(Math.floor(t)+"").length-1),e=t/i;return i*(e=e>=10?10:e>=5?5:e>=3?3:e>=2?2:1)}}),iN=iO.extend({options:{position:"bottomright",prefix:'
'+(tI.inlineSvg?' ':"")+"Leaflet"},initialize:function(t){b(this,t),this._attributions={}},onAdd:function(t){for(var i in t.attributionControl=this,this._container=t0("div","leaflet-control-attribution"),iP(this._container),t._layers)t._layers[i].getAttribution&&this.addAttribution(t._layers[i].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",function(){this.removeAttribution(t.layer.getAttribution())},this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t&&(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update()),this},removeAttribution:function(t){return t&&this._attributions[t]&&(this._attributions[t]--,this._update()),this},_update:function(){if(this._map){var t=[];for(var i in this._attributions)this._attributions[i]&&t.push(i);var e=[];this.options.prefix&&e.push(this.options.prefix),t.length&&e.push(t.join(", ")),this._container.innerHTML=e.join(' ')}}});iE.mergeOptions({attributionControl:!0}),iE.addInitHook(function(){this.options.attributionControl&&new iN().addTo(this)}),iO.Layers=iB,iO.Zoom=iI,iO.Scale=iR,iO.Attribution=iN,iA.layers=function(t,i,e){return new iB(t,i,e)},iA.zoom=function(t){return new iI(t)},iA.scale=function(t){return new iR(t)},iA.attribution=function(t){return new iN(t)};var iD=R.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}});iD.addTo=function(t,i){return t.addHandler(i,this),this};var ij=tI.touch?"touchstart mousedown":"mousedown",iH=D.extend({options:{clickTolerance:3},initialize:function(t,i,e,n){b(this,n),this._element=t,this._dragStartTarget=i||t,this._preventOutline=e},enable:function(){this._enabled||(id(this._dragStartTarget,ij,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(iH._dragging===this&&this.finishDrag(!0),im(this._dragStartTarget,ij,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!(!this._enabled||(this._moved=!1,t8(this._element,"leaflet-zoom-anim")))){if(t.touches&&1!==t.touches.length){iH._dragging===this&&this.finishDrag();return}if(!iH._dragging&&!t.shiftKey&&(1===t.which||1===t.button||t.touches)&&(iH._dragging=this,this._preventOutline&&il(this._element),ia(),e(),!this._moving)){this.fire("down");var i=t.touches?t.touches[0]:t,n=ic(this._element);this._startPoint=new j(i.clientX,i.clientY),this._startPos=is(this._element),this._parentScale=i_(n);var o="mousedown"===t.type;id(document,o?"mousemove":"touchmove",this._onMove,this),id(document,o?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(t){if(this._enabled){if(t.touches&&t.touches.length>1){this._moved=!0;return}var i=t.touches&&1===t.touches.length?t.touches[0]:t,e=new j(i.clientX,i.clientY)._subtract(this._startPoint);(e.x||e.y)&&(Math.abs(e.x)+Math.abs(e.y)l&&(r=a,l=h);l>n&&(e[r]=1,t(i,e,n,o,r),t(i,e,n,r,s))}(t,n,i,0,e-1);var o,s=[];for(o=0;oi&&(e.push(t[n]),o=n);return oi.max.x&&(e|=2),t.yi.max.y&&(e|=8),e}function iX(t,i,e,n){var o,s=i.x,r=i.y,a=e.x-s,h=e.y-r,l=a*a+h*h;return l>0&&((o=((t.x-s)*a+(t.y-r)*h)/l)>1?(s=e.x,r=e.y):o>0&&(s+=a*o,r+=h*o)),a=t.x-s,h=t.y-r,n?a*a+h*h:new j(s,r)}function iJ(t){return!z(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function i$(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),iJ(t)}function iQ(t,i){if(!t||0===t.length)throw Error("latlngs not passed");iJ(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var e,n,o,s,r,a,h,l,u=K([0,0]),c=q(t);c.getNorthWest().distanceTo(c.getSouthWest())*c.getNorthEast().distanceTo(c.getNorthWest())<1700&&(u=iU(t));var _=t.length,d=[];for(e=0;e<_;e++){var p=K(t[e]);d.push(i.project(K([p.lat-u.lat,p.lng-u.lng])))}for(e=0,n=0;e<_-1;e++)n+=d[e].distanceTo(d[e+1])/2;if(0===n)l=d[0];else for(e=0,s=0;e<_-1;e++)if(r=d[e],a=d[e+1],(s+=o=r.distanceTo(a))>n){h=(s-n)/o,l=[a.x-h*(a.x-r.x),a.y-h*(a.y-r.y)];break}var m=i.unproject(W(l));return K([m.lat+u.lat,m.lng+u.lng])}var i0={project:function(t){return new j(t.lng,t.lat)},unproject:function(t){return new G(t.y,t.x)},bounds:new F([-180,-90],[180,90])},i1={R:6378137,R_MINOR:6356752.314245179,bounds:new F([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var i=Math.PI/180,e=this.R,n=t.lat*i,o=this.R_MINOR/e,s=Math.sqrt(1-o*o),r=s*Math.sin(n);return n=-e*Math.log(Math.max(Math.tan(Math.PI/4-n/2)/Math.pow((1-r)/(1+r),s/2),1e-10)),new j(t.lng*i*e,n)},unproject:function(t){for(var i,e=180/Math.PI,n=this.R,o=this.R_MINOR/n,s=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(r),h=0,l=.1;h<15&&Math.abs(l)>1e-7;h++)l=Math.PI/2-2*Math.atan(r*(i=Math.pow((1-(i=s*Math.sin(a)))/(1+i),s/2)))-a,a+=l;return new G(a*e,t.x*e/n)}},i2=i({},X,{code:"EPSG:3395",projection:i1,transformation:Q(c=.5/(Math.PI*i1.R),.5,-c,.5)}),i3=i({},X,{code:"EPSG:4326",projection:i0,transformation:Q(1/180,1,-1/180,.5)}),i5=i({},Y,{projection:i0,transformation:Q(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,i){var e=i.lng-t.lng,n=i.lat-t.lat;return Math.sqrt(e*e+n*n)},infinite:!0});Y.Earth=X,Y.EPSG3395=i2,Y.EPSG3857=tt,Y.EPSG900913=ti,Y.EPSG4326=i3,Y.Simple=i5;var i8=D.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[m(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[m(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var i=t.target;if(i.hasLayer(this)){if(this._map=i,this._zoomAnimated=i._zoomAnimated,this.getEvents){var e=this.getEvents();i.on(e,this),this.once("remove",function(){i.off(e,this)},this)}this.onAdd(i),this.fire("add"),i.fire("layeradd",{layer:this})}}});iE.include({addLayer:function(t){if(!t._layerAdd)throw Error("The provided object is not a Layer.");var i=m(t);return this._layers[i]||(this._layers[i]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var i=m(t);return this._layers[i]&&(this._loaded&&t.onRemove(this),delete this._layers[i],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null),this},hasLayer:function(t){return m(t)in this._layers},eachLayer:function(t,i){for(var e in this._layers)t.call(i,this._layers[e]);return this},_addLayers:function(t){t=t?z(t)?t:[t]:[];for(var i=0,e=t.length;ithis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()=2&&i[0]instanceof G&&i[0].equals(i[e-1])&&i.pop(),i},_setLatLngs:function(t){es.prototype._setLatLngs.call(this,t),iJ(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return iJ(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,i=this.options.weight,e=new j(i,i);if(t=new F(t.min.subtract(e),t.max.add(e)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t)){if(this.options.noClip){this._parts=this._rings;return}for(var n,o=0,s=this._rings.length;ot.y!=n.y>t.y&&t.x<(n.x-e.x)*(t.y-e.y)/(n.y-e.y)+e.x&&(l=!l);return l||es.prototype._containsPoint.call(this,t,!0)}}),ea=i4.extend({initialize:function(t,i){b(this,i),this._layers={},t&&this.addData(t)},addData:function(t){var i,e,n,o=z(t)?t:t.features;if(o){for(i=0,e=o.length;i0&&o.push(o[0].slice()),o}function ep(t,e){return t.feature?i({},t.feature,{geometry:e}):em(e)}function em(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var ef={toGeoJSON:function(t){return ep(this,{type:"Point",coordinates:e_(this.getLatLng(),t)})}};function eg(t,i){return new ea(t,i)}ei.include(ef),eo.include(ef),en.include(ef),es.include({toGeoJSON:function(t){var i=!iJ(this._latlngs),e=ed(this._latlngs,+!!i,!1,t);return ep(this,{type:(i?"Multi":"")+"LineString",coordinates:e})}}),er.include({toGeoJSON:function(t){var i=!iJ(this._latlngs),e=i&&!iJ(this._latlngs[0]),n=ed(this._latlngs,e?2:+!!i,!0,t);return i||(n=[n]),ep(this,{type:(e?"Multi":"")+"Polygon",coordinates:n})}}),i9.include({toMultiPoint:function(t){var i=[];return this.eachLayer(function(e){i.push(e.toGeoJSON(t).geometry.coordinates)}),ep(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(t){var i=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===i)return this.toMultiPoint(t);var e="GeometryCollection"===i,n=[];return(this.eachLayer(function(i){if(i.toGeoJSON){var o=i.toGeoJSON(t);if(e)n.push(o.geometry);else{var s=em(o);"FeatureCollection"===s.type?n.push.apply(n,s.features):n.push(s)}}}),e)?ep(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var ev=i8.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,i,e){this._url=t,this._bounds=q(i),b(this,e)},onAdd:function(){!this._image&&(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(t9(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){t1(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&t3(this._image),this},bringToBack:function(){return this._map&&t5(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=q(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,i=this._image=t?this._url:t0("img");if(t9(i,"leaflet-image-layer"),this._zoomAnimated&&t9(i,"leaflet-zoom-animated"),this.options.className&&t9(i,this.options.className),i.onselectstart=v,i.onmousemove=v,i.onload=d(this.fire,this,"load"),i.onerror=d(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t){this._url=i.src;return}i.src=this._url,i.alt=this.options.alt},_animateZoom:function(t){var i=this._map.getZoomScale(t.zoom),e=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;ie(this._image,e,i)},_reset:function(){var t=this._image,i=new F(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),e=i.getSize();io(t,i.min),t.style.width=e.x+"px",t.style.height=e.y+"px"},_updateOpacity:function(){it(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),ey=ev.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,i=this._image=t?this._url:t0("video");if(t9(i,"leaflet-image-layer"),this._zoomAnimated&&t9(i,"leaflet-zoom-animated"),this.options.className&&t9(i,this.options.className),i.onselectstart=v,i.onmousemove=v,i.onloadeddata=d(this.fire,this,"load"),t){for(var e=i.getElementsByTagName("source"),n=[],o=0;o0?n:[i.src];return}z(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(i.style,"objectFit")&&(i.style.objectFit="fill"),i.autoplay=!!this.options.autoplay,i.loop=!!this.options.loop,i.muted=!!this.options.muted,i.playsInline=!!this.options.playsInline;for(var s=0;so?(i.height=o+"px",t9(t,s)):t4(t,s),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),e=this._getAnchor();io(this._container,i.add(e))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var t=this._map,i=parseInt(tQ(this._container,"marginBottom"),10)||0,e=this._container.offsetHeight+i,n=this._containerWidth,o=new j(this._containerLeft,-e-this._containerBottom);o._add(is(this._container));var s=t.layerPointToContainerPoint(o),r=W(this.options.autoPanPadding),a=W(this.options.autoPanPaddingTopLeft||r),h=W(this.options.autoPanPaddingBottomRight||r),l=t.getSize(),u=0,c=0;s.x+n+h.x>l.x&&(u=s.x+n-l.x+h.x),s.x-u-a.x<0&&(u=s.x-a.x),s.y+e+h.y>l.y&&(c=s.y+e-l.y+h.y),s.y-c-a.y<0&&(c=s.y-a.y),(u||c)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([u,c]))}},_getAnchor:function(){return W(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});iE.mergeOptions({closePopupOnClick:!0}),iE.include({openPopup:function(t,i,e){return this._initOverlay(eb,t,i,e).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),i8.include({bindPopup:function(t,i){return this._popup=this._initOverlay(eb,this._popup,t,i),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof i4||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(this._popup&&this._map){iT(t);var i=t.layer||t.target;if(this._popup._source===i&&!(i instanceof ee))return void(this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng));this._popup._source=i,this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var eP=ew.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){ew.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){ew.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=ew.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=t0("div",t),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+m(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var i,e,n=this._map,o=this._container,s=n.latLngToContainerPoint(n.getCenter()),r=n.layerPointToContainerPoint(t),a=this.options.direction,h=o.offsetWidth,l=o.offsetHeight,u=W(this.options.offset),c=this._getAnchor();"top"===a?(i=h/2,e=l):"bottom"===a?(i=h/2,e=0):("center"===a?i=h/2:"right"===a?i=0:"left"===a?i=h:r.xthis.options.maxZoom||en&&this._retainParent(o,s,r,n))},_retainChildren:function(t,i,e,n){for(var o=2*t;o<2*t+2;o++)for(var s=2*i;s<2*i+2;s++){var r=new j(o,s);r.z=e+1;var a=this._tileCoordsToKey(r),h=this._tiles[a];if(h&&h.active){h.retain=!0;continue}h&&h.loaded&&(h.retain=!0),e+1this.options.maxZoom||void 0!==this.options.minZoom&&o1)return void this._setView(t,e);for(var c=o.min.y;c<=o.max.y;c++)for(var _=o.min.x;_<=o.max.x;_++){var d=new j(_,c);if(d.z=this._tileZoom,this._isValidTile(d)){var p=this._tiles[this._tileCoordsToKey(d)];p?p.current=!0:r.push(d)}}if(r.sort(function(t,i){return t.distanceTo(s)-i.distanceTo(s)}),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(_=0;_e.max.x)||!i.wrapLat&&(t.ye.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return q(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var i=this._map,e=this.getTileSize(),n=t.scaleBy(e),o=n.add(e);return[i.unproject(n,t.z),i.unproject(o,t.z)]},_tileCoordsToBounds:function(t){var i=this._tileCoordsToNwSe(t),e=new V(i[0],i[1]);return this.options.noWrap||(e=this._map.wrapLatLngBounds(e)),e},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var i=t.split(":"),e=new j(+i[0],+i[1]);return e.z=+i[2],e},_removeTile:function(t){var i=this._tiles[t];i&&(t1(i.el),delete this._tiles[t],this.fire("tileunload",{tile:i.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){t9(t,"leaflet-tile");var i=this.getTileSize();t.style.width=i.x+"px",t.style.height=i.y+"px",t.onselectstart=v,t.onmousemove=v,tI.ielt9&&this.options.opacity<1&&it(t,this.options.opacity)},_addTile:function(t,i){var e=this._getTilePos(t),n=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),d(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&B(d(this._tileReady,this,t,null,o)),io(o,e),this._tiles[n]={el:o,coords:t,current:!0},i.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,i,e){i&&this.fire("tileerror",{error:i,tile:e,coords:t});var n=this._tileCoordsToKey(t);(e=this._tiles[n])&&(e.loaded=+new Date,this._map._fadeAnimated?(it(e.el,0),I(this._fadeFrame),this._fadeFrame=B(this._updateOpacity,this)):(e.active=!0,this._pruneTiles()),i||(t9(e.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:e.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),tI.ielt9||!this._map._fadeAnimated?B(this._pruneTiles,this):setTimeout(d(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var i=new j(this._wrapX?g(t.x,this._wrapX):t.x,this._wrapY?g(t.y,this._wrapY):t.y);return i.z=t.z,i},_pxBoundsToTileRange:function(t){var i=this.getTileSize();return new F(t.min.unscaleBy(i).floor(),t.max.unscaleBy(i).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),eM=eT.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,i){this._url=t,(i=b(this,i)).detectRetina&&tI.retina&&i.maxZoom>0?(i.tileSize=Math.floor(i.tileSize/2),i.zoomReverse?(i.zoomOffset--,i.minZoom=Math.min(i.maxZoom,i.minZoom+1)):(i.zoomOffset++,i.maxZoom=Math.max(i.minZoom,i.maxZoom-1)),i.minZoom=Math.max(0,i.minZoom)):i.zoomReverse?i.minZoom=Math.min(i.maxZoom,i.minZoom):i.maxZoom=Math.max(i.minZoom,i.maxZoom),"string"==typeof i.subdomains&&(i.subdomains=i.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,i){return this._url===t&&void 0===i&&(i=!0),this._url=t,i||this.redraw(),this},createTile:function(t,i){var e=document.createElement("img");return id(e,"load",d(this._tileOnLoad,this,i,e)),id(e,"error",d(this._tileOnError,this,i,e)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(e.referrerPolicy=this.options.referrerPolicy),e.alt="",e.src=this.getTileUrl(t),e},getTileUrl:function(t){var e={r:tI.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=n),e["-y"]=n}return M(this._url,i(e,this.options))},_tileOnLoad:function(t,i){tI.ielt9?setTimeout(d(t,this,null,i),0):t(null,i)},_tileOnError:function(t,i,e){var n=this.options.errorTileUrl;n&&i.getAttribute("src")!==n&&(i.src=n),t(e,i)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,i=this.options.maxZoom,e=this.options.zoomReverse,n=this.options.zoomOffset;return e&&(t=i-t),t+n},_getSubdomain:function(t){var i=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[i]},_abortLoading:function(){var t,i;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&((i=this._tiles[t].el).onload=v,i.onerror=v,!i.complete)){i.src=Z;var e=this._tiles[t].coords;t1(i),delete this._tiles[t],this.fire("tileabort",{tile:i,coords:e})}},_removeTile:function(t){var i=this._tiles[t];if(i)return i.el.setAttribute("src",Z),eT.prototype._removeTile.call(this,t)},_tileReady:function(t,i,e){if(this._map&&(!e||e.getAttribute("src")!==Z))return eT.prototype._tileReady.call(this,t,i,e)}});function ez(t,i){return new eM(t,i)}var eC=eM.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var n=i({},this.defaultWmsParams);for(var o in e)o in this.options||(n[o]=e[o]);var s=(e=b(this,e)).detectRetina&&tI.retina?2:1,r=this.getTileSize();n.width=r.x*s,n.height=r.y*s,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var i=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[i]=this._crs.code,eM.prototype.onAdd.call(this,t)},getTileUrl:function(t){var i=this._tileCoordsToNwSe(t),e=this._crs,n=U(e.project(i[0]),e.project(i[1])),o=n.min,s=n.max,r=(this._wmsVersion>=1.3&&this._crs===i3?[o.y,o.x,s.y,s.x]:[o.x,o.y,s.x,s.y]).join(","),a=eM.prototype.getTileUrl.call(this,t);return a+P(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+r},setParams:function(t,e){return i(this.wmsParams,t),e||this.redraw(),this}});eM.WMS=eC,ez.wms=function(t,i){return new eC(t,i)};var eZ=i8.extend({options:{padding:.1},initialize:function(t){b(this,t),m(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),t9(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,i){var e=this._map.getZoomScale(i,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,i),s=n.multiplyBy(-e).add(o).subtract(this._map._getNewPixelOrigin(t,i));tI.any3d?ie(this._container,s,e):io(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,i=this._map.getSize(),e=this._map.containerPointToLayerPoint(i.multiplyBy(-t)).round();this._bounds=new F(e,e.add(i.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),eS=eZ.extend({options:{tolerance:0},getEvents:function(){var t=eZ.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){eZ.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");id(t,"mousemove",this._onMouseMove,this),id(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),id(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){I(this._redrawRequest),delete this._ctx,t1(this._container),im(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){eZ.prototype._update.call(this);var t=this._bounds,i=this._container,e=t.getSize(),n=tI.retina?2:1;io(i,t.min),i.width=n*e.x,i.height=n*e.y,i.style.width=e.x+"px",i.style.height=e.y+"px",tI.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){eZ.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[m(t)]=t;var i=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=i),this._drawLast=i,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var i=t._order,e=i.next,n=i.prev;e?e.prev=n:this._drawLast=n,n?n.next=e:this._drawFirst=e,delete t._order,delete this._layers[m(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var i,e,n=t.options.dashArray.split(/[, ]+/),o=[];for(e=0;e')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),eO=tI.vml?eE:te,eA=eZ.extend({_initContainer:function(){this._container=eO("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=eO("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){t1(this._container),im(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){eZ.prototype._update.call(this);var t=this._bounds,i=t.getSize(),e=this._container;this._svgSize&&this._svgSize.equals(i)||(this._svgSize=i,e.setAttribute("width",i.x),e.setAttribute("height",i.y)),io(e,t.min),e.setAttribute("viewBox",[t.min.x,t.min.y,i.x,i.y].join(" ")),this.fire("update")}},_initPath:function(t){var i=t._path=eO("path");t.options.className&&t9(i,t.options.className),t.options.interactive&&t9(i,"leaflet-interactive"),this._updateStyle(t),this._layers[m(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){t1(t._path),t.removeInteractiveTarget(t._path),delete this._layers[m(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var i=t._path,e=t.options;i&&(e.stroke?(i.setAttribute("stroke",e.color),i.setAttribute("stroke-opacity",e.opacity),i.setAttribute("stroke-width",e.weight),i.setAttribute("stroke-linecap",e.lineCap),i.setAttribute("stroke-linejoin",e.lineJoin),e.dashArray?i.setAttribute("stroke-dasharray",e.dashArray):i.removeAttribute("stroke-dasharray"),e.dashOffset?i.setAttribute("stroke-dashoffset",e.dashOffset):i.removeAttribute("stroke-dashoffset")):i.setAttribute("stroke","none"),e.fill?(i.setAttribute("fill",e.fillColor||e.color),i.setAttribute("fill-opacity",e.fillOpacity),i.setAttribute("fill-rule",e.fillRule||"evenodd")):i.setAttribute("fill","none"))},_updatePoly:function(t,i){this._setPath(t,tn(t._parts,i))},_updateCircle:function(t){var i=t._point,e=Math.max(Math.round(t._radius),1),n=Math.max(Math.round(t._radiusY),1)||e,o="a"+e+","+n+" 0 1,0 ",s=t._empty()?"M0 0":"M"+(i.x-e)+","+i.y+o+2*e+",0 "+o+-(2*e)+",0 ";this._setPath(t,s)},_setPath:function(t,i){t._path.setAttribute("d",i)},_bringToFront:function(t){t3(t._path)},_bringToBack:function(t){t5(t._path)}});function eB(t){return tI.svg||tI.vml?new eA(t):null}tI.vml&&eA.include({_initContainer:function(){this._container=t0("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(eZ.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var i=t._container=eE("shape");t9(i,"leaflet-vml-shape "+(this.options.className||"")),i.coordsize="1 1",t._path=eE("path"),i.appendChild(t._path),this._updateStyle(t),this._layers[m(t)]=t},_addPath:function(t){var i=t._container;this._container.appendChild(i),t.options.interactive&&t.addInteractiveTarget(i)},_removePath:function(t){var i=t._container;t1(i),t.removeInteractiveTarget(i),delete this._layers[m(t)]},_updateStyle:function(t){var i=t._stroke,e=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(i||(i=t._stroke=eE("stroke")),o.appendChild(i),i.weight=n.weight+"px",i.color=n.color,i.opacity=n.opacity,n.dashArray?i.dashStyle=z(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):i.dashStyle="",i.endcap=n.lineCap.replace("butt","flat"),i.joinstyle=n.lineJoin):i&&(o.removeChild(i),t._stroke=null),n.fill?(e||(e=t._fill=eE("fill")),o.appendChild(e),e.color=n.fillColor||n.color,e.opacity=n.fillOpacity):e&&(o.removeChild(e),t._fill=null)},_updateCircle:function(t){var i=t._point.round(),e=Math.round(t._radius),n=Math.round(t._radiusY||e);this._setPath(t,t._empty()?"M0 0":"AL "+i.x+","+i.y+" "+e+","+n+" 0,23592600")},_setPath:function(t,i){t._path.v=i},_bringToFront:function(t){t3(t._container)},_bringToBack:function(t){t5(t._container)}}),iE.include({getRenderer:function(t){var i=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return i||(i=this._renderer=this._createRenderer()),this.hasLayer(i)||this.addLayer(i),i},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var i=this._paneRenderers[t];return void 0===i&&(i=this._createRenderer({pane:t}),this._paneRenderers[t]=i),i},_createRenderer:function(t){return this.options.preferCanvas&&ek(t)||eB(t)}});var eI=er.extend({initialize:function(t,i){er.prototype.initialize.call(this,this._boundsToLatLngs(t),i)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=q(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});eA.create=eO,eA.pointsToPath=tn,ea.geometryToLayer=eh,ea.coordsToLatLng=eu,ea.coordsToLatLngs=ec,ea.latLngToCoords=e_,ea.latLngsToCoords=ed,ea.getFeature=ep,ea.asFeature=em,iE.mergeOptions({boxZoom:!0});var eR=iD.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){id(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){im(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){t1(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),e(),ia(),this._startPoint=this._map.mouseEventToContainerPoint(t),id(document,{contextmenu:iT,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=t0("div","leaflet-zoom-box",this._container),t9(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var i=new F(this._point,this._startPoint),e=i.getSize();io(this._box,i.min),this._box.style.width=e.x+"px",this._box.style.height=e.y+"px"},_finish:function(){this._moved&&(t1(this._box),t4(this._container,"leaflet-crosshair")),n(),ih(),im(document,{contextmenu:iT,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(d(this._resetState,this),0);var i=new V(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(i).fire("boxzoomend",{boxZoomBounds:i})}},_onKeyDown:function(t){27===t.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});iE.addInitHook("addHandler","boxZoom",eR),iE.mergeOptions({doubleClickZoom:!0});var eN=iD.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var i=this._map,e=i.getZoom(),n=i.options.zoomDelta,o=t.originalEvent.shiftKey?e-n:e+n;"center"===i.options.doubleClickZoom?i.setZoom(o):i.setZoomAround(t.containerPoint,o)}});iE.addInitHook("addHandler","doubleClickZoom",eN),iE.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var eD=iD.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new iH(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}t9(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){t4(this._map._container,"leaflet-grab"),t4(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var i=q(this._map.options.maxBounds);this._offsetLimit=U(this._map.latLngToContainerPoint(i.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(i.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var i=this._lastTime=+new Date,e=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(e),this._times.push(i),this._prunePositions(i)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),i=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=i.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,i){return t-(t-i)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),i=this._offsetLimit;t.xi.max.x&&(t.x=this._viscousLimit(t.x,i.max.x)),t.y>i.max.y&&(t.y=this._viscousLimit(t.y,i.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,i=Math.round(t/2),e=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-i+e)%t+i-e,s=(n+i+e)%t-i-e,r=Math.abs(o+e)0?o:-o))-i;this._delta=0,this._startTime=null,s&&("center"===t.options.scrollWheelZoom?t.setZoom(i+s):t.setZoomAround(this._lastMousePos,i+s))}});iE.addInitHook("addHandler","scrollWheelZoom",eH),iE.mergeOptions({tapHold:tI.touchNative&&tI.safari&&tI.mobile,tapTolerance:15});var eW=iD.extend({addHooks:function(){id(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){im(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),1===t.touches.length){var i=t.touches[0];this._startPos=this._newPos=new j(i.clientX,i.clientY),this._holdTimeout=setTimeout(d(function(){this._cancel(),this._isTapValid()&&(id(document,"touchend",iL),id(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",i))},this),600),id(document,"touchend touchcancel contextmenu",this._cancel,this),id(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){im(document,"touchend",iL),im(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),im(document,"touchend touchcancel contextmenu",this._cancel,this),im(document,"touchmove",this._onMove,this)},_onMove:function(t){var i=t.touches[0];this._newPos=new j(i.clientX,i.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,i){var e=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:i.screenX,screenY:i.screenY,clientX:i.clientX,clientY:i.clientY});e._simulated=!0,i.target.dispatchEvent(e)}});iE.addInitHook("addHandler","tapHold",eW),iE.mergeOptions({touchZoom:tI.touch,bounceAtZoomLimits:!0});var eF=iD.extend({addHooks:function(){t9(this._map._container,"leaflet-touch-zoom"),id(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){t4(this._map._container,"leaflet-touch-zoom"),im(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var i=this._map;if(t.touches&&2===t.touches.length&&!i._animatingZoom&&!this._zooming){var e=i.mouseEventToContainerPoint(t.touches[0]),n=i.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=i.getSize()._divideBy(2),this._startLatLng=i.containerPointToLatLng(this._centerPoint),"center"!==i.options.touchZoom&&(this._pinchStartLatLng=i.containerPointToLatLng(e.add(n)._divideBy(2))),this._startDist=e.distanceTo(n),this._startZoom=i.getZoom(),this._moved=!1,this._zooming=!0,i._stop(),id(document,"touchmove",this._onTouchMove,this),id(document,"touchend touchcancel",this._onTouchEnd,this),iL(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var i=this._map,e=i.mouseEventToContainerPoint(t.touches[0]),n=i.mouseEventToContainerPoint(t.touches[1]),o=e.distanceTo(n)/this._startDist;if(this._zoom=i.getScaleZoom(o,this._startZoom),!i.options.bounceAtZoomLimits&&(this._zoomi.getMaxZoom()&&o>1)&&(this._zoom=i._limitZoom(this._zoom)),"center"===i.options.touchZoom){if(this._center=this._startLatLng,1===o)return}else{var s=e._add(n)._divideBy(2)._subtract(this._centerPoint);if(1===o&&0===s.x&&0===s.y)return;this._center=i.unproject(i.project(this._pinchStartLatLng,this._zoom).subtract(s),this._zoom)}this._moved||(i._moveStart(!0,!1),this._moved=!0),I(this._animRequest);var r=d(i._move,i,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=B(r,this,!0),iL(t)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,I(this._animRequest),im(document,"touchmove",this._onTouchMove,this),im(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});iE.addInitHook("addHandler","touchZoom",eF),iE.BoxZoom=eR,iE.DoubleClickZoom=eN,iE.Drag=eD,iE.Keyboard=ej,iE.ScrollWheelZoom=eH,iE.TapHold=eW,iE.TouchZoom=eF,t.Bounds=F,t.Browser=tI,t.CRS=Y,t.Canvas=eS,t.Circle=eo,t.CircleMarker=en,t.Class=R,t.Control=iO,t.DivIcon=eL,t.DivOverlay=ew,t.DomEvent={__proto__:null,on:id,off:im,stopPropagation:iw,disableScrollPropagation:ib,disableClickPropagation:iP,preventDefault:iL,stop:iT,getPropagationPath:iM,getMousePosition:iz,getWheelDelta:iZ,isExternalTarget:iS,addListener:id,removeListener:im},t.DomUtil={__proto__:null,TRANSFORM:tY,TRANSITION:tX,TRANSITION_END:tJ,get:t$,getStyle:tQ,create:t0,remove:t1,empty:t2,toFront:t3,toBack:t5,hasClass:t8,addClass:t9,removeClass:t4,setClass:t7,getClass:t6,setOpacity:it,testProp:ii,setTransform:ie,setPosition:io,getPosition:is,get disableTextSelection(){return e},get enableTextSelection(){return n},disableImageDrag:ia,enableImageDrag:ih,preventOutline:il,restoreOutline:iu,getSizedParentNode:ic,getScale:i_},t.Draggable=iH,t.Evented=D,t.FeatureGroup=i4,t.GeoJSON=ea,t.GridLayer=eT,t.Handler=iD,t.Icon=i7,t.ImageOverlay=ev,t.LatLng=G,t.LatLngBounds=V,t.Layer=i8,t.LayerGroup=i9,t.LineUtil={__proto__:null,simplify:iV,pointToSegmentDistance:iq,closestPointOnSegment:function(t,i,e){return iX(t,i,e)},clipSegment:iG,_getEdgeIntersection:iK,_getBitCode:iY,_sqClosestPointOnSegment:iX,isFlat:iJ,_flat:i$,polylineCenter:iQ},t.Map=iE,t.Marker=ei,t.Mixin={Events:N},t.Path=ee,t.Point=j,t.PolyUtil={__proto__:null,clipPolygon:iW,polygonCenter:iF,centroid:iU},t.Polygon=er,t.Polyline=es,t.Popup=eb,t.PosAnimation=ik,t.Projection={__proto__:null,LonLat:i0,Mercator:i1,SphericalMercator:J},t.Rectangle=eI,t.Renderer=eZ,t.SVG=eA,t.SVGOverlay=ex,t.TileLayer=eM,t.Tooltip=eP,t.Transformation=$,t.Util={__proto__:null,extend:i,create:_,bind:d,get lastId(){return p},stamp:m,throttle:f,wrapNum:g,falseFn:v,formatNum:y,trim:x,splitWords:w,setOptions:b,getParamString:P,template:M,isArray:z,indexOf:C,emptyImageUrl:Z,requestFn:O,cancelFn:A,requestAnimFrame:B,cancelAnimFrame:I},t.VideoOverlay=ey,t.bind=d,t.bounds=U,t.canvas=ek,t.circle=function(t,i,e){return new eo(t,i,e)},t.circleMarker=function(t,i){return new en(t,i)},t.control=iA,t.divIcon=function(t){return new eL(t)},t.extend=i,t.featureGroup=function(t,i){return new i4(t,i)},t.geoJSON=eg,t.geoJson=eg,t.gridLayer=function(t){return new eT(t)},t.icon=function(t){return new i7(t)},t.imageOverlay=function(t,i,e){return new ev(t,i,e)},t.latLng=K,t.latLngBounds=q,t.layerGroup=function(t,i){return new i9(t,i)},t.map=function(t,i){return new iE(t,i)},t.marker=function(t,i){return new ei(t,i)},t.point=W,t.polygon=function(t,i){return new er(t,i)},t.polyline=function(t,i){return new es(t,i)},t.popup=function(t,i){return new eb(t,i)},t.rectangle=function(t,i){return new eI(t,i)},t.setOptions=b,t.stamp=m,t.svg=eB,t.svgOverlay=function(t,i,e){return new ex(t,i,e)},t.tileLayer=ez,t.tooltip=function(t,i){return new eP(t,i)},t.transformation=Q,t.version="1.9.4",t.videoOverlay=function(t,i,e){return new ey(t,i,e)};var eU=window.L;t.noConflict=function(){return window.L=eU,this},window.L=t})(i)}}]); \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4876.35267c1f.js.LICENSE.txt b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4876.35267c1f.js.LICENSE.txt deleted file mode 100644 index 4a4da2ab9b..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/4876.35267c1f.js.LICENSE.txt +++ /dev/null @@ -1,18 +0,0 @@ -/* @preserve - * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com - * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade - */ - -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5402.277643cf.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5402.277643cf.js deleted file mode 100644 index 260e4abff1..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5402.277643cf.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 5402.277643cf.js.LICENSE.txt */ -"use strict";(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["5402"],{9836:function(e,u,i){i.r(u),i.d(u,{Pimcore:()=>n});let n={container:i(80380).nC}}}]); \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5402.277643cf.js.LICENSE.txt b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5402.277643cf.js.LICENSE.txt deleted file mode 100644 index f5d20e255b..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5402.277643cf.js.LICENSE.txt +++ /dev/null @@ -1,23 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ - -/** - * This source file is available under the terms of the - * Pimcore Open Core License (POCL) - * Full copyright and license information is available in - * LICENSE.md which is distributed with this source code. - * - * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * @license Pimcore Open Core License (POCL) - */ \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5435.f7ef0649.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5435.f7ef0649.js deleted file mode 100644 index 275bdd3b6b..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5435.f7ef0649.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 5435.f7ef0649.js.LICENSE.txt */ -"use strict";(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["5435"],{17029:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Attribute=void 0;class i{constructor(e,t,i,o){this.name=e,this.modelName=t,this.defaultValue=i,this.alwaysWriteJson=o,this.required=!1,this.fixed=!1,this.type="any"}setType(e){return this.type=e,this}setRequired(){return this.required=!0,this}setFixed(){return this.fixed=!0,this}}t.Attribute=i,i.NUMBER="number",i.STRING="string",i.BOOLEAN="boolean"},58267:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeDefinitions=void 0;let o=i(17029);t.AttributeDefinitions=class{constructor(){this.attributes=[],this.nameToAttribute={}}addWithAll(e,t,i,n){let r=new o.Attribute(e,t,i,n);return this.attributes.push(r),this.nameToAttribute[e]=r,r}addInherited(e,t){return this.addWithAll(e,t,void 0,!1)}add(e,t,i){return this.addWithAll(e,void 0,t,i)}getAttributes(){return this.attributes}getModelName(e){let t=this.nameToAttribute[e];if(void 0!==t)return t.modelName}toJson(e,t){for(let i of this.attributes){let o=t[i.name];(i.alwaysWriteJson||o!==i.defaultValue)&&(e[i.name]=o)}}fromJson(e,t){for(let i of this.attributes){let o=e[i.name];void 0===o?t[i.name]=i.defaultValue:t[i.name]=o}}update(e,t){for(let i of this.attributes)if(e.hasOwnProperty(i.name)){let o=e[i.name];void 0===o?delete t[i.name]:t[i.name]=o}}setDefaults(e){for(let t of this.attributes)e[t.name]=t.defaultValue}toTypescriptInterface(e,t){let i=[],o=this.attributes.sort((e,t)=>e.name.localeCompare(t.name));i.push("export interface I"+e+"Attributes {");for(let e=0;e0?" // "+e:""))}}return i.push("}"),i.join("\n")}}},40232:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.DockLocation=void 0;let o=i(13380),n=i(10807);class r{static getByName(e){return r.values[e]}static getLocation(e,t,i){if(t=(t-e.x)/e.width,i=(i-e.y)/e.height,t>=.25&&t<.75&&i>=.25&&i<.75)return r.CENTER;let o=i>=t,n=i>=1-t;return o?n?r.BOTTOM:r.LEFT:n?r.RIGHT:r.TOP}constructor(e,t,i){this._name=e,this._orientation=t,this._indexPlus=i,r.values[this._name]=this}getName(){return this._name}getOrientation(){return this._orientation}getDockRect(e){return this===r.TOP?new n.Rect(e.x,e.y,e.width,e.height/2):this===r.BOTTOM?new n.Rect(e.x,e.getBottom()-e.height/2,e.width,e.height/2):this===r.LEFT?new n.Rect(e.x,e.y,e.width/2,e.height):this===r.RIGHT?new n.Rect(e.getRight()-e.width/2,e.y,e.width/2,e.height):e.clone()}split(e,t){return this===r.TOP?{start:new n.Rect(e.x,e.y,e.width,t),end:new n.Rect(e.x,e.y+t,e.width,e.height-t)}:this===r.LEFT?{start:new n.Rect(e.x,e.y,t,e.height),end:new n.Rect(e.x+t,e.y,e.width-t,e.height)}:this===r.RIGHT?{start:new n.Rect(e.getRight()-t,e.y,t,e.height),end:new n.Rect(e.x,e.y,e.width-t,e.height)}:{start:new n.Rect(e.x,e.getBottom()-t,e.width,t),end:new n.Rect(e.x,e.y,e.width,e.height-t)}}reflect(){return this===r.TOP?r.BOTTOM:this===r.LEFT?r.RIGHT:this===r.RIGHT?r.LEFT:r.TOP}toString(){return"(DockLocation: name="+this._name+", orientation="+this._orientation+")"}}t.DockLocation=r,r.values={},r.TOP=new r("top",o.Orientation.VERT,0),r.BOTTOM=new r("bottom",o.Orientation.VERT,1),r.LEFT=new r("left",o.Orientation.HORZ,0),r.RIGHT=new r("right",o.Orientation.HORZ,1),r.CENTER=new r("center",o.Orientation.VERT,0)},30268:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.DragDrop=void 0;let o=i(10807),n=!!("undefined"!=typeof window&&window.document&&window.document.createElement);class r{constructor(){this._manualGlassManagement=!1,this._startX=0,this._startY=0,this._dragDepth=0,this._glassShowing=!1,this._dragging=!1,this._active=!1,n&&(this._glass=document.createElement("div"),this._glass.style.zIndex="998",this._glass.style.backgroundColor="transparent",this._glass.style.outline="none"),this._defaultGlassCursor="default",this._onMouseMove=this._onMouseMove.bind(this),this._onMouseUp=this._onMouseUp.bind(this),this._onKeyPress=this._onKeyPress.bind(this),this._onDragCancel=this._onDragCancel.bind(this),this._onDragEnter=this._onDragEnter.bind(this),this._onDragLeave=this._onDragLeave.bind(this),this.resizeGlass=this.resizeGlass.bind(this),this._lastClick=0,this._clickX=0,this._clickY=0}addGlass(e){var t;this._glassShowing?this._manualGlassManagement=!0:(this._document||(this._document=window.document),this._rootElement||(this._rootElement=this._document.body),this.resizeGlass(),null==(t=this._document.defaultView)||t.addEventListener("resize",this.resizeGlass),this._document.body.appendChild(this._glass),this._glass.tabIndex=-1,this._glass.focus(),this._glass.addEventListener("keydown",this._onKeyPress),this._glass.addEventListener("dragenter",this._onDragEnter,{passive:!1}),this._glass.addEventListener("dragover",this._onMouseMove,{passive:!1}),this._glass.addEventListener("dragleave",this._onDragLeave,{passive:!1}),this._glassShowing=!0,this._fDragCancel=e,this._manualGlassManagement=!1)}resizeGlass(){o.Rect.fromElement(this._rootElement).positionElement(this._glass,"fixed")}hideGlass(){var e;this._glassShowing&&(this._document.body.removeChild(this._glass),null==(e=this._document.defaultView)||e.removeEventListener("resize",this.resizeGlass),this._glassShowing=!1,this._document=void 0,this._rootElement=void 0,this.setGlassCursorOverride(void 0))}_updateGlassCursor(){var e;this._glass.style.cursor=null!=(e=this._glassCursorOverride)?e:this._defaultGlassCursor}_setDefaultGlassCursor(e){this._defaultGlassCursor=e,this._updateGlassCursor()}setGlassCursorOverride(e){this._glassCursorOverride=e,this._updateGlassCursor()}startDrag(e,t,i,o,n,r,s,a,l){if(e&&this._lastEvent&&this._lastEvent.type.startsWith("touch")&&e.type.startsWith("mouse")&&e.timeStamp-this._lastEvent.timeStamp<500||this._dragging)return;this._lastEvent=e,a?this._document=a:this._document=window.document,l?this._rootElement=l:this._rootElement=this._document.body;let d=this._getLocationEvent(e);this.addGlass(n),e?(this._startX=d.clientX,this._startY=d.clientY,(!window.matchMedia||window.matchMedia("(pointer: fine)").matches)&&this._setDefaultGlassCursor(getComputedStyle(e.target).cursor),this._stopPropagation(e),this._preventDefault(e)):(this._startX=0,this._startY=0,this._setDefaultGlassCursor("default")),this._dragging=!1,this._fDragStart=t,this._fDragMove=i,this._fDragEnd=o,this._fDragCancel=n,this._fClick=r,this._fDblClick=s,this._active=!0,(null==e?void 0:e.type)==="dragenter"?(this._dragDepth=1,this._rootElement.addEventListener("dragenter",this._onDragEnter,{passive:!1}),this._rootElement.addEventListener("dragover",this._onMouseMove,{passive:!1}),this._rootElement.addEventListener("dragleave",this._onDragLeave,{passive:!1}),this._document.addEventListener("dragend",this._onDragCancel,{passive:!1}),this._document.addEventListener("drop",this._onMouseUp,{passive:!1})):(this._document.addEventListener("mouseup",this._onMouseUp,{passive:!1}),this._document.addEventListener("mousemove",this._onMouseMove,{passive:!1}),this._document.addEventListener("touchend",this._onMouseUp,{passive:!1}),this._document.addEventListener("touchmove",this._onMouseMove,{passive:!1}))}isDragging(){return this._dragging}isActive(){return this._active}toString(){return"(DragDrop: startX="+this._startX+", startY="+this._startY+", dragging="+this._dragging+")"}_onKeyPress(e){"Escape"===e.code&&this._onDragCancel()}_onDragCancel(){this._rootElement.removeEventListener("dragenter",this._onDragEnter),this._rootElement.removeEventListener("dragover",this._onMouseMove),this._rootElement.removeEventListener("dragleave",this._onDragLeave),this._document.removeEventListener("dragend",this._onDragCancel),this._document.removeEventListener("drop",this._onMouseUp),this._document.removeEventListener("mousemove",this._onMouseMove),this._document.removeEventListener("mouseup",this._onMouseUp),this._document.removeEventListener("touchend",this._onMouseUp),this._document.removeEventListener("touchmove",this._onMouseMove),this.hideGlass(),void 0!==this._fDragCancel&&this._fDragCancel(this._dragging),this._dragging=!1,this._active=!1}_getLocationEvent(e){let t=e;return e&&e.touches&&(t=e.touches[0]),t}_getLocationEventEnd(e){let t=e;return e.changedTouches&&(t=e.changedTouches[0]),t}_stopPropagation(e){e.stopPropagation&&e.stopPropagation()}_preventDefault(e){return e.preventDefault&&e.cancelable&&e.preventDefault(),e}_onMouseMove(e){this._lastEvent=e;let t=this._getLocationEvent(e);return this._stopPropagation(e),this._preventDefault(e),!this._dragging&&(Math.abs(this._startX-t.clientX)>5||Math.abs(this._startY-t.clientY)>5)&&(this._dragging=!0,this._fDragStart&&(this._setDefaultGlassCursor("move"),this._dragging=this._fDragStart({clientX:this._startX,clientY:this._startY}))),this._dragging&&this._fDragMove&&this._fDragMove(t),!1}_onMouseUp(e){this._lastEvent=e;let t=this._getLocationEventEnd(e);if(this._stopPropagation(e),this._preventDefault(e),this._active=!1,this._rootElement.removeEventListener("dragenter",this._onDragEnter),this._rootElement.removeEventListener("dragover",this._onMouseMove),this._rootElement.removeEventListener("dragleave",this._onDragLeave),this._document.removeEventListener("dragend",this._onDragCancel),this._document.removeEventListener("drop",this._onMouseUp),this._document.removeEventListener("mousemove",this._onMouseMove),this._document.removeEventListener("mouseup",this._onMouseUp),this._document.removeEventListener("touchend",this._onMouseUp),this._document.removeEventListener("touchmove",this._onMouseMove),this._manualGlassManagement||this.hideGlass(),this._dragging)this._dragging=!1,this._fDragEnd&&this._fDragEnd(e);else if(this._fDragCancel&&this._fDragCancel(this._dragging),5>=Math.abs(this._startX-t.clientX)&&5>=Math.abs(this._startY-t.clientY)){let i=!1,o=new Date().getTime();5>=Math.abs(this._clickX-t.clientX)&&5>=Math.abs(this._clickY-t.clientY)&&o-this._lastClick<500&&this._fDblClick&&(this._fDblClick(e),i=!0),!i&&this._fClick&&this._fClick(e),this._lastClick=o,this._clickX=t.clientX,this._clickY=t.clientY}return!1}_onDragEnter(e){return this._preventDefault(e),this._stopPropagation(e),this._dragDepth++,!1}_onDragLeave(e){return this._preventDefault(e),this._stopPropagation(e),this._dragDepth--,this._dragDepth<=0&&this._onDragCancel(),!1}}t.DragDrop=r,r.instance=new r},5748:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.DropInfo=void 0,t.DropInfo=class{constructor(e,t,i,o,n){this.node=e,this.rect=t,this.location=i,this.index=o,this.className=n}}},25551:function(e,t){var i;Object.defineProperty(t,"__esModule",{value:!0}),t.I18nLabel=void 0,(i=t.I18nLabel||(t.I18nLabel={})).Close_Tab="Close",i.Close_Tabset="Close tabset",i.Move_Tab="Move: ",i.Move_Tabset="Move tabset",i.Maximize="Maximize tabset",i.Restore="Restore tabset",i.Float_Tab="Show selected tab in floating window",i.Overflow_Menu_Tooltip="Hidden tabs",i.Floating_Window_Message="This panel is shown in a floating window",i.Floating_Window_Show_Window="Show window",i.Floating_Window_Dock_Window="Dock window",i.Error_rendering_component="Error rendering component"},13380:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Orientation=void 0;class i{static flip(e){return e===i.HORZ?i.VERT:i.HORZ}constructor(e){this._name=e}getName(){return this._name}toString(){return this._name}}t.Orientation=i,i.HORZ=new i("horz"),i.VERT=new i("vert")},40031:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.showPopup=void 0;let o=i(81004),n=i(30268),r=i(24115),s=i(15797);t.showPopup=function(e,t,i,s,l,d){var h;let _=s.getRootDiv(),c=s.getClassName,u=e.ownerDocument,g=e.getBoundingClientRect(),T=null!=(h=null==_?void 0:_.getBoundingClientRect())?h:new DOMRect(0,0,100,100),E=u.createElement("div");E.className=c(r.CLASSES.FLEXLAYOUT__POPUP_MENU_CONTAINER),g.leftb()),n.DragDrop.instance.setGlassCursorOverride("default"),_&&_.appendChild(E);let b=()=>{s.hidePortal(),n.DragDrop.instance.hideGlass(),_&&_.removeChild(E),E.removeEventListener("mousedown",p),u.removeEventListener("mousedown",f)},p=e=>{e.stopPropagation()},f=e=>{b()};E.addEventListener("mousedown",p),u.addEventListener("mousedown",f),s.showPortal(o.createElement(a,{currentDocument:u,onSelect:i,onHide:b,items:t,classNameMapper:c,layout:s,iconFactory:l,titleFactory:d}),E)};let a=e=>{let{items:t,onHide:i,onSelect:n,classNameMapper:a,layout:l,iconFactory:d,titleFactory:h}=e,_=(e,t)=>{n(e),i(),t.stopPropagation()},c=t.map((e,t)=>o.createElement("div",{key:e.index,className:a(r.CLASSES.FLEXLAYOUT__POPUP_MENU_ITEM),"data-layout-path":"/popup-menu/tb"+t,onClick:t=>_(e,t),title:e.node.getHelpText()},e.node.getModel().isLegacyOverflowMenu()?e.node._getNameForOverflowMenu():o.createElement(s.TabButtonStamp,{node:e.node,layout:l,iconFactory:d,titleFactory:h})));return o.createElement("div",{className:a(r.CLASSES.FLEXLAYOUT__POPUP_MENU),"data-layout-path":"/popup-menu"},c)}},10807:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.Rect=void 0;let o=i(13380);class n{static empty(){return new n(0,0,0,0)}constructor(e,t,i,o){this.x=e,this.y=t,this.width=i,this.height=o}static fromElement(e){let{x:t,y:i,width:o,height:r}=e.getBoundingClientRect();return new n(t,i,o,r)}clone(){return new n(this.x,this.y,this.width,this.height)}equals(e){return this.x===(null==e?void 0:e.x)&&this.y===(null==e?void 0:e.y)&&this.width===(null==e?void 0:e.width)&&this.height===(null==e?void 0:e.height)}getBottom(){return this.y+this.height}getRight(){return this.x+this.width}getCenter(){return{x:this.x+this.width/2,y:this.y+this.height/2}}positionElement(e,t){this.styleWithPosition(e.style,t)}styleWithPosition(e,t="absolute"){return e.left=this.x+"px",e.top=this.y+"px",e.width=Math.max(0,this.width)+"px",e.height=Math.max(0,this.height)+"px",e.position=t,e}contains(e,t){return!!(this.x<=e&&e<=this.getRight()&&this.y<=t&&t<=this.getBottom())}removeInsets(e){return new n(this.x+e.left,this.y+e.top,Math.max(0,this.width-e.left-e.right),Math.max(0,this.height-e.top-e.bottom))}centerInRect(e){this.x=(e.width-this.width)/2,this.y=(e.height-this.height)/2}_getSize(e){let t=this.width;return e===o.Orientation.VERT&&(t=this.height),t}toString(){return"(Rect: x="+this.x+", y="+this.y+", width="+this.width+", height="+this.height+")"}}t.Rect=n},24115:function(e,t){var i;Object.defineProperty(t,"__esModule",{value:!0}),t.CLASSES=void 0,(i=t.CLASSES||(t.CLASSES={})).FLEXLAYOUT__BORDER="flexlayout__border",i.FLEXLAYOUT__BORDER_="flexlayout__border_",i.FLEXLAYOUT__BORDER_BUTTON="flexlayout__border_button",i.FLEXLAYOUT__BORDER_BUTTON_="flexlayout__border_button_",i.FLEXLAYOUT__BORDER_BUTTON_CONTENT="flexlayout__border_button_content",i.FLEXLAYOUT__BORDER_BUTTON_LEADING="flexlayout__border_button_leading",i.FLEXLAYOUT__BORDER_BUTTON_TRAILING="flexlayout__border_button_trailing",i.FLEXLAYOUT__BORDER_BUTTON__SELECTED="flexlayout__border_button--selected",i.FLEXLAYOUT__BORDER_BUTTON__UNSELECTED="flexlayout__border_button--unselected",i.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW="flexlayout__border_toolbar_button_overflow",i.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW_="flexlayout__border_toolbar_button_overflow_",i.FLEXLAYOUT__BORDER_INNER="flexlayout__border_inner",i.FLEXLAYOUT__BORDER_INNER_="flexlayout__border_inner_",i.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER="flexlayout__border_inner_tab_container",i.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER_="flexlayout__border_inner_tab_container_",i.FLEXLAYOUT__BORDER_TAB_DIVIDER="flexlayout__border_tab_divider",i.FLEXLAYOUT__BORDER_SIZER="flexlayout__border_sizer",i.FLEXLAYOUT__BORDER_TOOLBAR="flexlayout__border_toolbar",i.FLEXLAYOUT__BORDER_TOOLBAR_="flexlayout__border_toolbar_",i.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON="flexlayout__border_toolbar_button",i.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_FLOAT="flexlayout__border_toolbar_button-float",i.FLEXLAYOUT__DRAG_RECT="flexlayout__drag_rect",i.FLEXLAYOUT__EDGE_RECT="flexlayout__edge_rect",i.FLEXLAYOUT__EDGE_RECT_TOP="flexlayout__edge_rect_top",i.FLEXLAYOUT__EDGE_RECT_LEFT="flexlayout__edge_rect_left",i.FLEXLAYOUT__EDGE_RECT_BOTTOM="flexlayout__edge_rect_bottom",i.FLEXLAYOUT__EDGE_RECT_RIGHT="flexlayout__edge_rect_right",i.FLEXLAYOUT__ERROR_BOUNDARY_CONTAINER="flexlayout__error_boundary_container",i.FLEXLAYOUT__ERROR_BOUNDARY_CONTENT="flexlayout__error_boundary_content",i.FLEXLAYOUT__FLOATING_WINDOW_CONTENT="flexlayout__floating_window_content",i.FLEXLAYOUT__FLOATING_WINDOW_TAB="flexlayout__floating_window_tab",i.FLEXLAYOUT__LAYOUT="flexlayout__layout",i.FLEXLAYOUT__OUTLINE_RECT="flexlayout__outline_rect",i.FLEXLAYOUT__OUTLINE_RECT_EDGE="flexlayout__outline_rect_edge",i.FLEXLAYOUT__SPLITTER="flexlayout__splitter",i.FLEXLAYOUT__SPLITTER_EXTRA="flexlayout__splitter_extra",i.FLEXLAYOUT__SPLITTER_="flexlayout__splitter_",i.FLEXLAYOUT__SPLITTER_BORDER="flexlayout__splitter_border",i.FLEXLAYOUT__SPLITTER_DRAG="flexlayout__splitter_drag",i.FLEXLAYOUT__TAB="flexlayout__tab",i.FLEXLAYOUT__TABSET="flexlayout__tabset",i.FLEXLAYOUT__TABSET_HEADER="flexlayout__tabset_header",i.FLEXLAYOUT__TABSET_HEADER_SIZER="flexlayout__tabset_header_sizer",i.FLEXLAYOUT__TABSET_HEADER_CONTENT="flexlayout__tabset_header_content",i.FLEXLAYOUT__TABSET_MAXIMIZED="flexlayout__tabset-maximized",i.FLEXLAYOUT__TABSET_SELECTED="flexlayout__tabset-selected",i.FLEXLAYOUT__TABSET_SIZER="flexlayout__tabset_sizer",i.FLEXLAYOUT__TABSET_TAB_DIVIDER="flexlayout__tabset_tab_divider",i.FLEXLAYOUT__TABSET_CONTENT="flexlayout__tabset_content",i.FLEXLAYOUT__TABSET_TABBAR_INNER="flexlayout__tabset_tabbar_inner",i.FLEXLAYOUT__TABSET_TABBAR_INNER_="flexlayout__tabset_tabbar_inner_",i.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER="flexlayout__tabset_tabbar_inner_tab_container",i.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER_="flexlayout__tabset_tabbar_inner_tab_container_",i.FLEXLAYOUT__TABSET_TABBAR_OUTER="flexlayout__tabset_tabbar_outer",i.FLEXLAYOUT__TABSET_TABBAR_OUTER_="flexlayout__tabset_tabbar_outer_",i.FLEXLAYOUT__TAB_BORDER="flexlayout__tab_border",i.FLEXLAYOUT__TAB_BORDER_="flexlayout__tab_border_",i.FLEXLAYOUT__TAB_BUTTON="flexlayout__tab_button",i.FLEXLAYOUT__TAB_BUTTON_STRETCH="flexlayout__tab_button_stretch",i.FLEXLAYOUT__TAB_BUTTON_CONTENT="flexlayout__tab_button_content",i.FLEXLAYOUT__TAB_BUTTON_LEADING="flexlayout__tab_button_leading",i.FLEXLAYOUT__TAB_BUTTON_OVERFLOW="flexlayout__tab_button_overflow",i.FLEXLAYOUT__TAB_BUTTON_OVERFLOW_COUNT="flexlayout__tab_button_overflow_count",i.FLEXLAYOUT__TAB_BUTTON_TEXTBOX="flexlayout__tab_button_textbox",i.FLEXLAYOUT__TAB_BUTTON_TRAILING="flexlayout__tab_button_trailing",i.FLEXLAYOUT__TAB_BUTTON_STAMP="flexlayout__tab_button_stamp",i.FLEXLAYOUT__TAB_FLOATING="flexlayout__tab_floating",i.FLEXLAYOUT__TAB_FLOATING_INNER="flexlayout__tab_floating_inner",i.FLEXLAYOUT__TAB_TOOLBAR="flexlayout__tab_toolbar",i.FLEXLAYOUT__TAB_TOOLBAR_BUTTON="flexlayout__tab_toolbar_button",i.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_="flexlayout__tab_toolbar_button-",i.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_FLOAT="flexlayout__tab_toolbar_button-float",i.FLEXLAYOUT__TAB_TOOLBAR_STICKY_BUTTONS_CONTAINER="flexlayout__tab_toolbar_sticky_buttons_container",i.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_CLOSE="flexlayout__tab_toolbar_button-close",i.FLEXLAYOUT__POPUP_MENU_CONTAINER="flexlayout__popup_menu_container",i.FLEXLAYOUT__POPUP_MENU_ITEM="flexlayout__popup_menu_item",i.FLEXLAYOUT__POPUP_MENU="flexlayout__popup_menu"},86352:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i);var n=Object.getOwnPropertyDescriptor(t,i);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,o,n)}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(55295),t),n(i(89349),t),n(i(33076),t),n(i(74268),t),n(i(1073),t),n(i(47562),t),n(i(47548),t),n(i(47984),t),n(i(50161),t),n(i(46466),t),n(i(70089),t),n(i(50996),t),n(i(90191),t),n(i(46677),t),n(i(52733),t),n(i(40232),t),n(i(30268),t),n(i(5748),t),n(i(25551),t),n(i(13380),t),n(i(10807),t),n(i(24115),t)},89349:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Action=void 0,t.Action=class{constructor(e,t){this.type=e,this.data=t}}},33076:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.Actions=void 0;let o=i(89349);class n{static addNode(e,t,i,r,s){return new o.Action(n.ADD_NODE,{json:e,toNode:t,location:i.getName(),index:r,select:s})}static moveNode(e,t,i,r,s){return new o.Action(n.MOVE_NODE,{fromNode:e,toNode:t,location:i.getName(),index:r,select:s})}static deleteTab(e){return new o.Action(n.DELETE_TAB,{node:e})}static deleteTabset(e){return new o.Action(n.DELETE_TABSET,{node:e})}static renameTab(e,t){return new o.Action(n.RENAME_TAB,{node:e,text:t})}static selectTab(e){return new o.Action(n.SELECT_TAB,{tabNode:e})}static setActiveTabset(e){return new o.Action(n.SET_ACTIVE_TABSET,{tabsetNode:e})}static adjustSplit(e){let t=e.node1Id,i=e.node2Id;return new o.Action(n.ADJUST_SPLIT,{node1:t,weight1:e.weight1,pixelWidth1:e.pixelWidth1,node2:i,weight2:e.weight2,pixelWidth2:e.pixelWidth2})}static adjustBorderSplit(e,t){return new o.Action(n.ADJUST_BORDER_SPLIT,{node:e,pos:t})}static maximizeToggle(e){return new o.Action(n.MAXIMIZE_TOGGLE,{node:e})}static updateModelAttributes(e){return new o.Action(n.UPDATE_MODEL_ATTRIBUTES,{json:e})}static updateNodeAttributes(e,t){return new o.Action(n.UPDATE_NODE_ATTRIBUTES,{node:e,json:t})}static floatTab(e){return new o.Action(n.FLOAT_TAB,{node:e})}static unFloatTab(e){return new o.Action(n.UNFLOAT_TAB,{node:e})}}t.Actions=n,n.ADD_NODE="FlexLayout_AddNode",n.MOVE_NODE="FlexLayout_MoveNode",n.DELETE_TAB="FlexLayout_DeleteTab",n.DELETE_TABSET="FlexLayout_DeleteTabset",n.RENAME_TAB="FlexLayout_RenameTab",n.SELECT_TAB="FlexLayout_SelectTab",n.SET_ACTIVE_TABSET="FlexLayout_SetActiveTabset",n.ADJUST_SPLIT="FlexLayout_AdjustSplit",n.ADJUST_BORDER_SPLIT="FlexLayout_AdjustBorderSplit",n.MAXIMIZE_TOGGLE="FlexLayout_MaximizeToggle",n.UPDATE_MODEL_ATTRIBUTES="FlexLayout_UpdateModelAttributes",n.UPDATE_NODE_ATTRIBUTES="FlexLayout_UpdateNodeAttributes",n.FLOAT_TAB="FlexLayout_FloatTab",n.UNFLOAT_TAB="FlexLayout_UnFloatTab"},74268:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.BorderNode=void 0;let o=i(17029),n=i(58267),r=i(40232),s=i(5748),a=i(13380),l=i(10807),d=i(24115),h=i(70089),_=i(90191),c=i(46677),u=i(52968);class g extends h.Node{static _fromJson(e,t){let i=new g(r.DockLocation.getByName(e.location),e,t);return e.children&&(i._children=e.children.map(e=>{let o=c.TabNode._fromJson(e,t);return o._setParent(i),o})),i}static _createAttributeDefinitions(){let e=new n.AttributeDefinitions;return e.add("type",g.TYPE,!0).setType(o.Attribute.STRING).setFixed(),e.add("selected",-1).setType(o.Attribute.NUMBER),e.add("show",!0).setType(o.Attribute.BOOLEAN),e.add("config",void 0).setType("any"),e.addInherited("barSize","borderBarSize").setType(o.Attribute.NUMBER),e.addInherited("enableDrop","borderEnableDrop").setType(o.Attribute.BOOLEAN),e.addInherited("className","borderClassName").setType(o.Attribute.STRING),e.addInherited("autoSelectTabWhenOpen","borderAutoSelectTabWhenOpen").setType(o.Attribute.BOOLEAN),e.addInherited("autoSelectTabWhenClosed","borderAutoSelectTabWhenClosed").setType(o.Attribute.BOOLEAN),e.addInherited("size","borderSize").setType(o.Attribute.NUMBER),e.addInherited("minSize","borderMinSize").setType(o.Attribute.NUMBER),e.addInherited("enableAutoHide","borderEnableAutoHide").setType(o.Attribute.BOOLEAN),e}constructor(e,t,i){super(i),this._adjustedSize=0,this._calculatedBorderBarSize=0,this._location=e,this._drawChildren=[],this._attributes.id=`border_${e.getName()}`,g._attributeDefinitions.fromJson(t,this._attributes),i._addNode(this)}getLocation(){return this._location}getTabHeaderRect(){return this._tabHeaderRect}getRect(){return this._tabHeaderRect}getContentRect(){return this._contentRect}isEnableDrop(){return this._getAttr("enableDrop")}isAutoSelectTab(e){return(null==e&&(e=-1!==this.getSelected()),e)?this._getAttr("autoSelectTabWhenOpen"):this._getAttr("autoSelectTabWhenClosed")}getClassName(){return this._getAttr("className")}calcBorderBarSize(e){let t=this._getAttr("barSize");0!==t?this._calculatedBorderBarSize=t:this._calculatedBorderBarSize=e.borderBarSize}getBorderBarSize(){return this._calculatedBorderBarSize}getSize(){let e=this._getAttr("size"),t=this.getSelected();if(-1===t)return e;{let i=this._children[t],o=this._location._orientation===a.Orientation.HORZ?i._getAttr("borderWidth"):i._getAttr("borderHeight");return -1===o?e:o}}getMinSize(){return this._getAttr("minSize")}getSelected(){return this._attributes.selected}getSelectedNode(){if(-1!==this.getSelected())return this._children[this.getSelected()]}getOrientation(){return this._location.getOrientation()}getConfig(){return this._attributes.config}isMaximized(){return!1}isShowing(){return!!this._attributes.show&&(!(this._model._getShowHiddenBorder()!==this._location&&this.isAutoHide())||0!==this._children.length)}isAutoHide(){return this._getAttr("enableAutoHide")}_setSelected(e){this._attributes.selected=e}_setSize(e){let t=this.getSelected();if(-1===t)this._attributes.size=e;else{let i=this._children[t];-1===(this._location._orientation===a.Orientation.HORZ?i._getAttr("borderWidth"):i._getAttr("borderHeight"))?this._attributes.size=e:this._location._orientation===a.Orientation.HORZ?i._setBorderWidth(e):i._setBorderHeight(e)}}_updateAttrs(e){g._attributeDefinitions.update(e,this._attributes)}_getDrawChildren(){return this._drawChildren}_setAdjustedSize(e){this._adjustedSize=e}_getAdjustedSize(){return this._adjustedSize}_layoutBorderOuter(e,t){this.calcBorderBarSize(t);let i=this._location.split(e,this.getBorderBarSize());return this._tabHeaderRect=i.start,i.end}_layoutBorderInner(e,t){this._drawChildren=[];let i=this._location,o=i.split(e,this._adjustedSize+this._model.getSplitterSize()),n=i.reflect().split(o.start,this._model.getSplitterSize());this._contentRect=n.end;for(let e=0;e0){let e=this._children[0],i=e.getTabRect(),r=i.y,a=i.height,h=this._tabHeaderRect.x,_=0;for(let c=0;c=h&&t<_){let e=new l.Rect(i.x-2,r,3,a);o=new s.DropInfo(this,e,n,c,d.CLASSES.FLEXLAYOUT__OUTLINE_RECT);break}h=_}if(null==o){let e=new l.Rect(i.getRight()-2,r,3,a);o=new s.DropInfo(this,e,n,this._children.length,d.CLASSES.FLEXLAYOUT__OUTLINE_RECT)}}else{let e=new l.Rect(this._tabHeaderRect.x+1,this._tabHeaderRect.y+2,3,18);o=new s.DropInfo(this,e,n,0,d.CLASSES.FLEXLAYOUT__OUTLINE_RECT)}else if(this._children.length>0){let e=this._children[0],t=e.getTabRect(),r=t.x,a=t.width,h=this._tabHeaderRect.y,_=0;for(let c=0;c=h&&i<_){let e=new l.Rect(r,t.y-2,a,3);o=new s.DropInfo(this,e,n,c,d.CLASSES.FLEXLAYOUT__OUTLINE_RECT);break}h=_}if(null==o){let e=new l.Rect(r,t.getBottom()-2,a,3);o=new s.DropInfo(this,e,n,this._children.length,d.CLASSES.FLEXLAYOUT__OUTLINE_RECT)}}else{let e=new l.Rect(this._tabHeaderRect.x+2,this._tabHeaderRect.y+1,18,3);o=new s.DropInfo(this,e,n,0,d.CLASSES.FLEXLAYOUT__OUTLINE_RECT)}if(!e._canDockInto(e,o))return}else if(-1!==this.getSelected()&&this._contentRect.contains(t,i)){let t=this._contentRect;if(o=new s.DropInfo(this,t,n,-1,d.CLASSES.FLEXLAYOUT__OUTLINE_RECT),!e._canDockInto(e,o))return}return o}drop(e,t,i,o){let n=0,r=e.getParent();void 0!==r&&(n=r._removeChild(e),r!==this&&r instanceof g&&r.getSelected()===n?r._setSelected(-1):(0,u.adjustSelectedIndex)(r,n)),e.getType()===c.TabNode.TYPE&&r===this&&n0&&i--;let s=i;-1===s&&(s=this._children.length),e.getType()===c.TabNode.TYPE&&this._addChild(e,s),(o||!1!==o&&this.isAutoSelectTab())&&this._setSelected(s),this._model._tidy()}toJson(){let e={};return g._attributeDefinitions.toJson(e,this._attributes),e.location=this._location.getName(),e.children=this._children.map(e=>e.toJson()),e}_getSplitterBounds(e,t=!1){let i=[0,0],o=t?this.getMinSize():0,n=this._model._getOuterInnerRects().outer,s=this._model._getOuterInnerRects().inner,a=this._model.getRoot();return this._location===r.DockLocation.TOP?(i[0]=n.y+o,i[1]=Math.max(i[0],s.getBottom()-e.getHeight()-a.getMinHeight())):this._location===r.DockLocation.LEFT?(i[0]=n.x+o,i[1]=Math.max(i[0],s.getRight()-e.getWidth()-a.getMinWidth())):this._location===r.DockLocation.BOTTOM?(i[1]=n.getBottom()-e.getHeight()-o,i[0]=Math.min(i[1],s.y+a.getMinHeight())):this._location===r.DockLocation.RIGHT&&(i[1]=n.getRight()-e.getWidth()-o,i[0]=Math.min(i[1],s.x+a.getMinWidth())),i}_calculateSplit(e,t){let i=this._getSplitterBounds(e);return this._location===r.DockLocation.BOTTOM||this._location===r.DockLocation.RIGHT?Math.max(0,i[1]-t):Math.max(0,t-i[0])}_getAttributeDefinitions(){return g._attributeDefinitions}static getAttributeDefinitions(){return g._attributeDefinitions}}t.BorderNode=g,g.TYPE="border",g._attributeDefinitions=g._createAttributeDefinitions()},1073:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.BorderSet=void 0;let o=i(13380),n=i(74268);class r{static _fromJson(e,t){let i=new r(t);return i._borders=e.map(e=>n.BorderNode._fromJson(e,t)),i}constructor(e){this._model=e,this._borders=[]}getBorders(){return this._borders}_forEachNode(e){for(let t of this._borders)for(let i of(e(t,0),t.getChildren()))i._forEachNode(e,1)}_toJson(){return this._borders.map(e=>e.toJson())}_layoutBorder(e,t){let i=e.outer,n=this._model.getRoot(),r=Math.max(0,i.height-n.getMinHeight()),s=Math.max(0,i.width-n.getMinWidth()),a=0,l=0,d=0,h=0,_=this._borders.filter(e=>e.isShowing());for(let e of _){e._setAdjustedSize(e.getSize());let t=-1!==e.getSelected();e.getLocation().getOrientation()===o.Orientation.HORZ?(l+=e.getBorderBarSize(),t&&(s-=this._model.getSplitterSize(),l+=e.getSize(),h+=e.getSize())):(a+=e.getBorderBarSize(),t&&(r-=this._model.getSplitterSize(),a+=e.getSize(),d+=e.getSize()))}let c=0,u=!1;for(;l>s&&h>0||a>r&&d>0;){let e=_[c];if(-1!==e.getSelected()){let t=e._getAdjustedSize();l>s&&h>0&&e.getLocation().getOrientation()===o.Orientation.HORZ&&t>0&&t>e.getMinSize()?(e._setAdjustedSize(t-1),l--,h--,u=!0):a>r&&d>0&&e.getLocation().getOrientation()===o.Orientation.VERT&&t>0&&t>e.getMinSize()&&(e._setAdjustedSize(t-1),a--,d--,u=!0)}if(0==(c=(c+1)%_.length))if(u)u=!1;else break}for(let i of _)e.outer=i._layoutBorderOuter(e.outer,t);for(let i of(e.inner=e.outer,_))e.inner=i._layoutBorderInner(e.inner,t);return e}_findDropTargetNode(e,t,i){for(let o of this._borders)if(o.isShowing()){let n=o.canDrop(e,t,i);if(void 0!==n)return n}}}t.BorderSet=r},47562:function(e,t){var i;Object.defineProperty(t,"__esModule",{value:!0}),t.ICloseType=void 0,(i=t.ICloseType||(t.ICloseType={}))[i.Visible=1]="Visible",i[i.Always=2]="Always",i[i.Selected=3]="Selected"},47548:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},47984:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},50161:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},46466:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.Model=void 0;let o=i(17029),n=i(58267),r=i(40232),s=i(13380),a=i(10807),l=i(33076),d=i(74268),h=i(1073),_=i(50996),c=i(46677),u=i(52733),g=i(52968);class T{static fromJson(e){let t=new T;return T._attributeDefinitions.fromJson(e.global,t._attributes),e.borders&&(t._borders=h.BorderSet._fromJson(e.borders,t)),t._root=_.RowNode._fromJson(e.layout,t),t._tidy(),t}static _createAttributeDefinitions(){let e=new n.AttributeDefinitions;return e.add("legacyOverflowMenu",!1).setType(o.Attribute.BOOLEAN),e.add("enableEdgeDock",!0).setType(o.Attribute.BOOLEAN),e.add("rootOrientationVertical",!1).setType(o.Attribute.BOOLEAN),e.add("marginInsets",{top:0,right:0,bottom:0,left:0}).setType("IInsets"),e.add("enableUseVisibility",!1).setType(o.Attribute.BOOLEAN),e.add("enableRotateBorderIcons",!0).setType(o.Attribute.BOOLEAN),e.add("splitterSize",-1).setType(o.Attribute.NUMBER),e.add("splitterExtra",0).setType(o.Attribute.NUMBER),e.add("tabEnableClose",!0).setType(o.Attribute.BOOLEAN),e.add("tabCloseType",1).setType("ICloseType"),e.add("tabEnableFloat",!1).setType(o.Attribute.BOOLEAN),e.add("tabEnableDrag",!0).setType(o.Attribute.BOOLEAN),e.add("tabEnableRename",!0).setType(o.Attribute.BOOLEAN),e.add("tabContentClassName",void 0).setType(o.Attribute.STRING),e.add("tabClassName",void 0).setType(o.Attribute.STRING),e.add("tabIcon",void 0).setType(o.Attribute.STRING),e.add("tabEnableRenderOnDemand",!0).setType(o.Attribute.BOOLEAN),e.add("tabDragSpeed",.3).setType(o.Attribute.NUMBER),e.add("tabBorderWidth",-1).setType(o.Attribute.NUMBER),e.add("tabBorderHeight",-1).setType(o.Attribute.NUMBER),e.add("tabSetEnableDeleteWhenEmpty",!0).setType(o.Attribute.BOOLEAN),e.add("tabSetEnableDrop",!0).setType(o.Attribute.BOOLEAN),e.add("tabSetEnableDrag",!0).setType(o.Attribute.BOOLEAN),e.add("tabSetEnableDivide",!0).setType(o.Attribute.BOOLEAN),e.add("tabSetEnableMaximize",!0).setType(o.Attribute.BOOLEAN),e.add("tabSetEnableClose",!1).setType(o.Attribute.BOOLEAN),e.add("tabSetEnableSingleTabStretch",!1).setType(o.Attribute.BOOLEAN),e.add("tabSetAutoSelectTab",!0).setType(o.Attribute.BOOLEAN),e.add("tabSetClassNameTabStrip",void 0).setType(o.Attribute.STRING),e.add("tabSetClassNameHeader",void 0).setType(o.Attribute.STRING),e.add("tabSetEnableTabStrip",!0).setType(o.Attribute.BOOLEAN),e.add("tabSetHeaderHeight",0).setType(o.Attribute.NUMBER),e.add("tabSetTabStripHeight",0).setType(o.Attribute.NUMBER),e.add("tabSetMarginInsets",{top:0,right:0,bottom:0,left:0}).setType("IInsets"),e.add("tabSetBorderInsets",{top:0,right:0,bottom:0,left:0}).setType("IInsets"),e.add("tabSetTabLocation","top").setType("ITabLocation"),e.add("tabSetMinWidth",0).setType(o.Attribute.NUMBER),e.add("tabSetMinHeight",0).setType(o.Attribute.NUMBER),e.add("borderSize",200).setType(o.Attribute.NUMBER),e.add("borderMinSize",0).setType(o.Attribute.NUMBER),e.add("borderBarSize",0).setType(o.Attribute.NUMBER),e.add("borderEnableDrop",!0).setType(o.Attribute.BOOLEAN),e.add("borderAutoSelectTabWhenOpen",!0).setType(o.Attribute.BOOLEAN),e.add("borderAutoSelectTabWhenClosed",!1).setType(o.Attribute.BOOLEAN),e.add("borderClassName",void 0).setType(o.Attribute.STRING),e.add("borderEnableAutoHide",!1).setType(o.Attribute.BOOLEAN),e}constructor(){this._borderRects={inner:a.Rect.empty(),outer:a.Rect.empty()},this._attributes={},this._idMap={},this._borders=new h.BorderSet(this),this._pointerFine=!0,this._showHiddenBorder=r.DockLocation.CENTER}_setChangeListener(e){this._changeListener=e}getActiveTabset(){return this._activeTabSet&&this.getNodeById(this._activeTabSet.getId())?this._activeTabSet:void 0}_getShowHiddenBorder(){return this._showHiddenBorder}_setShowHiddenBorder(e){this._showHiddenBorder=e}_setActiveTabset(e){this._activeTabSet=e}getMaximizedTabset(){return this._maximizedTabSet}_setMaximizedTabset(e){this._maximizedTabSet=e}getRoot(){return this._root}isRootOrientationVertical(){return this._attributes.rootOrientationVertical}isUseVisibility(){return this._attributes.enableUseVisibility}isEnableRotateBorderIcons(){return this._attributes.enableRotateBorderIcons}getBorderSet(){return this._borders}_getOuterInnerRects(){return this._borderRects}_getPointerFine(){return this._pointerFine}_setPointerFine(e){this._pointerFine=e}visitNodes(e){this._borders._forEachNode(e),this._root._forEachNode(e,0)}getNodeById(e){return this._idMap[e]}getFirstTabSet(e=this._root){let t=e.getChildren()[0];return t instanceof u.TabSetNode?t:this.getFirstTabSet(t)}doAction(e){let t;switch(e.type){case l.Actions.ADD_NODE:{let i=new c.TabNode(this,e.data.json,!0),o=this._idMap[e.data.toNode];(o instanceof u.TabSetNode||o instanceof d.BorderNode||o instanceof _.RowNode)&&(o.drop(i,r.DockLocation.getByName(e.data.location),e.data.index,e.data.select),t=i);break}case l.Actions.MOVE_NODE:{let t=this._idMap[e.data.fromNode];if(t instanceof c.TabNode||t instanceof u.TabSetNode){let i=this._idMap[e.data.toNode];(i instanceof u.TabSetNode||i instanceof d.BorderNode||i instanceof _.RowNode)&&i.drop(t,r.DockLocation.getByName(e.data.location),e.data.index,e.data.select)}break}case l.Actions.DELETE_TAB:{let t=this._idMap[e.data.node];t instanceof c.TabNode&&t._delete();break}case l.Actions.DELETE_TABSET:{let t=this._idMap[e.data.node];if(t instanceof u.TabSetNode){let e=[...t.getChildren()];for(let t=0;tthis._idMap[e.getId()]=e)}_adjustSplitSide(e,t,i){e._setWeight(t),null!=e.getWidth()&&e.getOrientation()===s.Orientation.VERT?e._updateAttrs({width:i}):null!=e.getHeight()&&e.getOrientation()===s.Orientation.HORZ&&e._updateAttrs({height:i})}toJson(){let e={};return T._attributeDefinitions.toJson(e,this._attributes),this.visitNodes(e=>{e._fireEvent("save",void 0)}),{global:e,borders:this._borders._toJson(),layout:this._root.toJson()}}getSplitterSize(){let e=this._attributes.splitterSize;return -1===e&&(e=this._pointerFine?8:12),e}isLegacyOverflowMenu(){return this._attributes.legacyOverflowMenu}getSplitterExtra(){return this._attributes.splitterExtra}isEnableEdgeDock(){return this._attributes.enableEdgeDock}_addNode(e){let t=e.getId();if(void 0!==this._idMap[t])throw Error(`Error: each node must have a unique id, duplicate id:${e.getId()}`);"splitter"!==e.getType()&&(this._idMap[t]=e)}_layout(e,t){var i;return this._borderRects=this._borders._layoutBorder({outer:e,inner:e},t),e=this._borderRects.inner.removeInsets(this._getAttribute("marginInsets")),null==(i=this._root)||i.calcMinSize(),this._root._layout(e,t),e}_findDropTargetNode(e,t,i){let o=this._root._findDropTargetNode(e,t,i);return void 0===o&&(o=this._borders._findDropTargetNode(e,t,i)),o}_tidy(){this._root._tidy()}_updateAttrs(e){T._attributeDefinitions.update(e,this._attributes)}_nextUniqueId(){return"#"+(0,g.randomUUID)()}_getAttribute(e){return this._attributes[e]}setOnAllowDrop(e){this._onAllowDrop=e}_getOnAllowDrop(){return this._onAllowDrop}setOnCreateTabSet(e){this._onCreateTabSet=e}_getOnCreateTabSet(){return this._onCreateTabSet}static toTypescriptInterfaces(){console.log(T._attributeDefinitions.toTypescriptInterface("Global",void 0)),console.log(_.RowNode.getAttributeDefinitions().toTypescriptInterface("Row",T._attributeDefinitions)),console.log(u.TabSetNode.getAttributeDefinitions().toTypescriptInterface("TabSet",T._attributeDefinitions)),console.log(c.TabNode.getAttributeDefinitions().toTypescriptInterface("Tab",T._attributeDefinitions)),console.log(d.BorderNode.getAttributeDefinitions().toTypescriptInterface("Border",T._attributeDefinitions))}toString(){return JSON.stringify(this.toJson())}}t.Model=T,T._attributeDefinitions=T._createAttributeDefinitions()},70089:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.Node=void 0;let o=i(40232),n=i(13380),r=i(10807);t.Node=class{constructor(e){this._dirty=!1,this._tempSize=0,this._model=e,this._attributes={},this._children=[],this._fixed=!1,this._rect=r.Rect.empty(),this._visible=!1,this._listeners={}}getId(){let e=this._attributes.id;return void 0!==e||(e=this._model._nextUniqueId(),this._setId(e)),e}getModel(){return this._model}getType(){return this._attributes.type}getParent(){return this._parent}getChildren(){return this._children}getRect(){return this._rect}isVisible(){return this._visible}getOrientation(){return void 0===this._parent?this._model.isRootOrientationVertical()?n.Orientation.VERT:n.Orientation.HORZ:n.Orientation.flip(this._parent.getOrientation())}setEventListener(e,t){this._listeners[e]=t}removeEventListener(e){delete this._listeners[e]}_setId(e){this._attributes.id=e}_fireEvent(e,t){void 0!==this._listeners[e]&&this._listeners[e](t)}_getAttr(e){let t=this._attributes[e];if(void 0===t){let i=this._getAttributeDefinitions().getModelName(e);void 0!==i&&(t=this._model._getAttribute(i))}return t}_forEachNode(e,t){for(let i of(e(this,t),t++,this._children))i._forEachNode(e,t)}_setVisible(e){e!==this._visible&&(this._fireEvent("visibility",{visible:e}),this._visible=e)}_getDrawChildren(){return this._children}_setParent(e){this._parent=e}_setRect(e){this._rect=e}_setWeight(e){this._attributes.weight=e}_setSelected(e){this._attributes.selected=e}_isFixed(){return this._fixed}_layout(e,t){this._rect=e}_findDropTargetNode(e,t,i){let o;if(this._rect.contains(t,i)){if(void 0!==this._model.getMaximizedTabset())o=this._model.getMaximizedTabset().canDrop(e,t,i);else if(void 0===(o=this.canDrop(e,t,i))&&0!==this._children.length){for(let n of this._children)if(void 0!==(o=n._findDropTargetNode(e,t,i)))break}}return o}canDrop(e,t,i){}_canDockInto(e,t){if(null!=t){if(t.location===o.DockLocation.CENTER&&!1===t.node.isEnableDrop()||t.location===o.DockLocation.CENTER&&"tabset"===e.getType()&&void 0!==e.getName()||t.location!==o.DockLocation.CENTER&&!1===t.node.isEnableDivide())return!1;if(this._model._getOnAllowDrop())return this._model._getOnAllowDrop()(e,t)}return!0}_removeChild(e){let t=this._children.indexOf(e);return -1!==t&&this._children.splice(t,1),this._dirty=!0,t}_addChild(e,t){return null!=t?this._children.splice(t,0,e):(this._children.push(e),t=this._children.length-1),e._parent=this,this._dirty=!0,t}_removeAll(){this._children=[],this._dirty=!0}_styleWithPosition(e){return null==e&&(e={}),this._rect.styleWithPosition(e)}_getTempSize(){return this._tempSize}_setTempSize(e){this._tempSize=e}isEnableDivide(){return!0}_toAttributeString(){return JSON.stringify(this._attributes,void 0," ")}}},50996:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.RowNode=void 0;let o=i(17029),n=i(58267),r=i(40232),s=i(5748),a=i(13380),l=i(10807),d=i(24115),h=i(74268),_=i(70089),c=i(90191),u=i(52733);class g extends _.Node{static _fromJson(e,t){let i=new g(t,e);if(null!=e.children)for(let o of e.children)if(o.type===u.TabSetNode.TYPE){let e=u.TabSetNode._fromJson(o,t);i._addChild(e)}else{let e=g._fromJson(o,t);i._addChild(e)}return i}static _createAttributeDefinitions(){let e=new n.AttributeDefinitions;return e.add("type",g.TYPE,!0).setType(o.Attribute.STRING).setFixed(),e.add("id",void 0).setType(o.Attribute.STRING),e.add("weight",100).setType(o.Attribute.NUMBER),e.add("width",void 0).setType(o.Attribute.NUMBER),e.add("height",void 0).setType(o.Attribute.NUMBER),e}constructor(e,t){super(e),this._dirty=!0,this._drawChildren=[],this._minHeight=0,this._minWidth=0,g._attributeDefinitions.fromJson(t,this._attributes),e._addNode(this)}getWeight(){return this._attributes.weight}getWidth(){return this._getAttr("width")}getHeight(){return this._getAttr("height")}_setWeight(e){this._attributes.weight=e}_layout(e,t){super._layout(e,t);let i=this._rect._getSize(this.getOrientation()),o=0,n=0,r=0,s=0,d=this._getDrawChildren();for(let e of d){let t=e._getPrefSize(this.getOrientation());e._isFixed()?void 0!==t&&(n+=t):void 0===t?o+=e.getWeight():(r+=t,s+=e.getWeight())}let h=!1,_=i-n-r;_<0&&(_=i-n,h=!0,o+=s);let u=0,g=0;for(let e of d){let t=e._getPrefSize(this.getOrientation());if(e._isFixed())void 0!==t&&e._setTempSize(t);else if(null==t||h){if(0===o)e._setTempSize(0);else{let t=e.getMinSize(this.getOrientation()),i=Math.floor(_*(e.getWeight()/o));e._setTempSize(Math.max(t,i))}g+=e._getTempSize()}else e._setTempSize(t);u+=e._getTempSize()}if(g>0){for(;ui;){let e=!1;for(let t of d)if(!(t instanceof c.SplitterNode)){let o=t.getMinSize(this.getOrientation());t._getTempSize()>o&&u>i&&(t._setTempSize(t._getTempSize()-1),u--,e=!0)}if(!e)break}for(;u>i;){let e=!1;for(let t of d)t instanceof c.SplitterNode||t._getTempSize()>0&&u>i&&(t._setTempSize(t._getTempSize()-1),u--,e=!0);if(!e)break}}let T=0;for(let e of d)this.getOrientation()===a.Orientation.HORZ?e._layout(new l.Rect(this._rect.x+T,this._rect.y,e._getTempSize(),this._rect.height),t):e._layout(new l.Rect(this._rect.x,this._rect.y+T,this._rect.width,e._getTempSize()),t),T+=e._getTempSize();return!0}_getSplitterBounds(e,t=!1){let i=[0,0],o=this._getDrawChildren(),n=o.indexOf(e),r=o[n-1],s=o[n+1];if(this.getOrientation()===a.Orientation.HORZ){let o=t?r.getMinWidth():0,n=t?s.getMinWidth():0;i[0]=r.getRect().x+o,i[1]=s.getRect().getRight()-e.getWidth()-n}else{let o=t?r.getMinHeight():0,n=t?s.getMinHeight():0;i[0]=r.getRect().y+o,i[1]=s.getRect().getBottom()-e.getHeight()-n}return i}_calculateSplit(e,t){let i,o=this._getDrawChildren(),n=o.indexOf(e),r=this._getSplitterBounds(e),s=o[n-1].getWeight()+o[n+1].getWeight(),a=Math.max(0,t-r[0]),l=Math.max(0,r[1]-t);return a+l>0&&(i={node1Id:o[n-1].getId(),weight1:a*s/(a+l),pixelWidth1:a,node2Id:o[n+1].getId(),weight2:l*s/(a+l),pixelWidth2:l}),i}_getDrawChildren(){if(this._dirty){this._drawChildren=[];for(let e=0;eh/2-50&&nthis._rect.getRight()-10&&n>h/2-50&&nl/2-50&&athis._rect.getBottom()-10&&a>l/2-50&&ae+t.getWeight(),0);0===s&&(s=100),o._setWeight(s/3);let a=!this._model.isRootOrientationVertical();if(a&&t===r.DockLocation.LEFT||!a&&t===r.DockLocation.TOP)this._addChild(o,0);else if(a&&t===r.DockLocation.RIGHT||!a&&t===r.DockLocation.BOTTOM)this._addChild(o);else if(a&&t===r.DockLocation.TOP||!a&&t===r.DockLocation.LEFT){let e=new g(this._model,{}),t=new g(this._model,{});for(let e of(t._setWeight(75),o._setWeight(25),this._children))t._addChild(e);this._removeAll(),e._addChild(o),e._addChild(t),this._addChild(e)}else if(a&&t===r.DockLocation.BOTTOM||!a&&t===r.DockLocation.RIGHT){let e=new g(this._model,{}),t=new g(this._model,{});for(let e of(t._setWeight(75),o._setWeight(25),this._children))t._addChild(e);this._removeAll(),e._addChild(t),e._addChild(o),this._addChild(e)}this._model._setActiveTabset(o),this._model._tidy()}toJson(){let e={};for(let t of(g._attributeDefinitions.toJson(e,this._attributes),e.children=[],this._children))e.children.push(t.toJson());return e}isEnableDrop(){return!0}_getPrefSize(e){let t=this.getWidth();return e===a.Orientation.VERT&&(t=this.getHeight()),t}_getAttributeDefinitions(){return g._attributeDefinitions}_updateAttrs(e){g._attributeDefinitions.update(e,this._attributes)}static getAttributeDefinitions(){return g._attributeDefinitions}}t.RowNode=g,g.TYPE="row",g._attributeDefinitions=g._createAttributeDefinitions()},90191:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.SplitterNode=void 0;let o=i(58267),n=i(13380),r=i(70089);class s extends r.Node{constructor(e){super(e),this._fixed=!0,this._attributes.type=s.TYPE,e._addNode(this)}getWidth(){return this._model.getSplitterSize()}getMinWidth(){return this.getOrientation()===n.Orientation.VERT?this._model.getSplitterSize():0}getHeight(){return this._model.getSplitterSize()}getMinHeight(){return this.getOrientation()===n.Orientation.HORZ?this._model.getSplitterSize():0}getMinSize(e){return e===n.Orientation.HORZ?this.getMinWidth():this.getMinHeight()}getWeight(){return 0}_setWeight(e){}_getPrefSize(e){return this._model.getSplitterSize()}_updateAttrs(e){}_getAttributeDefinitions(){return new o.AttributeDefinitions}toJson(){}}t.SplitterNode=s,s.TYPE="splitter"},46677:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.TabNode=void 0;let o=i(17029),n=i(58267),r=i(70089);class s extends r.Node{static _fromJson(e,t,i=!0){return new s(t,e,i)}static _createAttributeDefinitions(){let e=new n.AttributeDefinitions;return e.add("type",s.TYPE,!0).setType(o.Attribute.STRING),e.add("id",void 0).setType(o.Attribute.STRING),e.add("name","[Unnamed Tab]").setType(o.Attribute.STRING),e.add("altName",void 0).setType(o.Attribute.STRING),e.add("helpText",void 0).setType(o.Attribute.STRING),e.add("component",void 0).setType(o.Attribute.STRING),e.add("config",void 0).setType("any"),e.add("floating",!1).setType(o.Attribute.BOOLEAN),e.add("tabsetClassName",void 0).setType(o.Attribute.STRING),e.addInherited("enableClose","tabEnableClose").setType(o.Attribute.BOOLEAN),e.addInherited("closeType","tabCloseType").setType("ICloseType"),e.addInherited("enableDrag","tabEnableDrag").setType(o.Attribute.BOOLEAN),e.addInherited("enableRename","tabEnableRename").setType(o.Attribute.BOOLEAN),e.addInherited("className","tabClassName").setType(o.Attribute.STRING),e.addInherited("contentClassName","tabContentClassName").setType(o.Attribute.STRING),e.addInherited("icon","tabIcon").setType(o.Attribute.STRING),e.addInherited("enableRenderOnDemand","tabEnableRenderOnDemand").setType(o.Attribute.BOOLEAN),e.addInherited("enableFloat","tabEnableFloat").setType(o.Attribute.BOOLEAN),e.addInherited("borderWidth","tabBorderWidth").setType(o.Attribute.NUMBER),e.addInherited("borderHeight","tabBorderHeight").setType(o.Attribute.NUMBER),e}constructor(e,t,i=!0){super(e),this._extra={},s._attributeDefinitions.fromJson(t,this._attributes),!0===i&&e._addNode(this)}getWindow(){return this._window}getTabRect(){return this._tabRect}_setTabRect(e){this._tabRect=e}_setRenderedName(e){this._renderedName=e}_getNameForOverflowMenu(){let e=this._getAttr("altName");return void 0!==e?e:this._renderedName}getName(){return this._getAttr("name")}getHelpText(){return this._getAttr("helpText")}getComponent(){return this._getAttr("component")}getConfig(){return this._attributes.config}getExtraData(){return this._extra}isFloating(){return this._getAttr("floating")}getIcon(){return this._getAttr("icon")}isEnableClose(){return this._getAttr("enableClose")}getCloseType(){return this._getAttr("closeType")}isEnableFloat(){return this._getAttr("enableFloat")}isEnableDrag(){return this._getAttr("enableDrag")}isEnableRename(){return this._getAttr("enableRename")}getClassName(){return this._getAttr("className")}getContentClassName(){return this._getAttr("contentClassName")}getTabSetClassName(){return this._getAttr("tabsetClassName")}isEnableRenderOnDemand(){return this._getAttr("enableRenderOnDemand")}_setName(e){this._attributes.name=e,this._window&&this._window.document&&(this._window.document.title=e)}_setFloating(e){this._attributes.floating=e}_layout(e,t){e.equals(this._rect)||this._fireEvent("resize",{rect:e}),this._rect=e}_delete(){this._parent._remove(this),this._fireEvent("close",{})}toJson(){let e={};return s._attributeDefinitions.toJson(e,this._attributes),e}_updateAttrs(e){s._attributeDefinitions.update(e,this._attributes)}_getAttributeDefinitions(){return s._attributeDefinitions}_setWindow(e){this._window=e}_setBorderWidth(e){this._attributes.borderWidth=e}_setBorderHeight(e){this._attributes.borderHeight=e}static getAttributeDefinitions(){return s._attributeDefinitions}}t.TabNode=s,s.TYPE="tab",s._attributeDefinitions=s._createAttributeDefinitions()},52733:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.TabSetNode=void 0;let o=i(17029),n=i(58267),r=i(40232),s=i(5748),a=i(13380),l=i(10807),d=i(24115),h=i(74268),_=i(70089),c=i(50996),u=i(46677),g=i(52968);class T extends _.Node{static _fromJson(e,t){let i=new T(t,e);if(null!=e.children)for(let o of e.children){let e=u.TabNode._fromJson(o,t);i._addChild(e)}return 0===i._children.length&&i._setSelected(-1),e.maximized&&!0===e.maximized&&t._setMaximizedTabset(i),e.active&&!0===e.active&&t._setActiveTabset(i),i}static _createAttributeDefinitions(){let e=new n.AttributeDefinitions;return e.add("type",T.TYPE,!0).setType(o.Attribute.STRING).setFixed(),e.add("id",void 0).setType(o.Attribute.STRING),e.add("weight",100).setType(o.Attribute.NUMBER),e.add("width",void 0).setType(o.Attribute.NUMBER),e.add("height",void 0).setType(o.Attribute.NUMBER),e.add("selected",0).setType(o.Attribute.NUMBER),e.add("name",void 0).setType(o.Attribute.STRING),e.add("config",void 0).setType("any"),e.addInherited("enableDeleteWhenEmpty","tabSetEnableDeleteWhenEmpty"),e.addInherited("enableDrop","tabSetEnableDrop"),e.addInherited("enableDrag","tabSetEnableDrag"),e.addInherited("enableDivide","tabSetEnableDivide"),e.addInherited("enableMaximize","tabSetEnableMaximize"),e.addInherited("enableClose","tabSetEnableClose"),e.addInherited("enableSingleTabStretch","tabSetEnableSingleTabStretch"),e.addInherited("classNameTabStrip","tabSetClassNameTabStrip"),e.addInherited("classNameHeader","tabSetClassNameHeader"),e.addInherited("enableTabStrip","tabSetEnableTabStrip"),e.addInherited("borderInsets","tabSetBorderInsets"),e.addInherited("marginInsets","tabSetMarginInsets"),e.addInherited("minWidth","tabSetMinWidth"),e.addInherited("minHeight","tabSetMinHeight"),e.addInherited("headerHeight","tabSetHeaderHeight"),e.addInherited("tabStripHeight","tabSetTabStripHeight"),e.addInherited("tabLocation","tabSetTabLocation"),e.addInherited("autoSelectTab","tabSetAutoSelectTab").setType(o.Attribute.BOOLEAN),e}constructor(e,t){super(e),T._attributeDefinitions.fromJson(t,this._attributes),e._addNode(this),this._calculatedTabBarHeight=0,this._calculatedHeaderBarHeight=0}getName(){return this._getAttr("name")}getSelected(){let e=this._attributes.selected;return void 0!==e?e:-1}getSelectedNode(){let e=this.getSelected();if(-1!==e)return this._children[e]}getWeight(){return this._getAttr("weight")}getWidth(){return this._getAttr("width")}getMinWidth(){return this._getAttr("minWidth")}getHeight(){return this._getAttr("height")}getMinHeight(){return this._getAttr("minHeight")}getMinSize(e){return e===a.Orientation.HORZ?this.getMinWidth():this.getMinHeight()}getConfig(){return this._attributes.config}isMaximized(){return this._model.getMaximizedTabset()===this}isActive(){return this._model.getActiveTabset()===this}isEnableDeleteWhenEmpty(){return this._getAttr("enableDeleteWhenEmpty")}isEnableDrop(){return this._getAttr("enableDrop")}isEnableDrag(){return this._getAttr("enableDrag")}isEnableDivide(){return this._getAttr("enableDivide")}isEnableMaximize(){return this._getAttr("enableMaximize")}isEnableClose(){return this._getAttr("enableClose")}isEnableSingleTabStretch(){return this._getAttr("enableSingleTabStretch")}canMaximize(){return!!this.isEnableMaximize()&&(this.getModel().getMaximizedTabset()===this||this.getParent()!==this.getModel().getRoot()||1!==this.getModel().getRoot().getChildren().length)}isEnableTabStrip(){return this._getAttr("enableTabStrip")}isAutoSelectTab(){return this._getAttr("autoSelectTab")}getClassNameTabStrip(){return this._getAttr("classNameTabStrip")}getClassNameHeader(){return this._getAttr("classNameHeader")}calculateHeaderBarHeight(e){let t=this._getAttr("headerHeight");0!==t?this._calculatedHeaderBarHeight=t:this._calculatedHeaderBarHeight=e.headerBarSize}calculateTabBarHeight(e){let t=this._getAttr("tabStripHeight");0!==t?this._calculatedTabBarHeight=t:this._calculatedTabBarHeight=e.tabBarSize}getHeaderHeight(){return this._calculatedHeaderBarHeight}getTabStripHeight(){return this._calculatedTabBarHeight}getTabLocation(){return this._getAttr("tabLocation")}_setWeight(e){this._attributes.weight=e}_setSelected(e){this._attributes.selected=e}canDrop(e,t,i){let o;if(e===this){let e=r.DockLocation.CENTER,t=this._tabHeaderRect;o=new s.DropInfo(this,t,e,-1,d.CLASSES.FLEXLAYOUT__OUTLINE_RECT)}else if(this._contentRect.contains(t,i)){let e=r.DockLocation.CENTER;void 0===this._model.getMaximizedTabset()&&(e=r.DockLocation.getLocation(this._contentRect,t,i));let n=e.getDockRect(this._rect);o=new s.DropInfo(this,n,e,-1,d.CLASSES.FLEXLAYOUT__OUTLINE_RECT)}else if(null!=this._tabHeaderRect&&this._tabHeaderRect.contains(t,i)){let e,i,n;if(0===this._children.length)i=(e=this._tabHeaderRect.clone()).y+3,n=e.height-4,e.width=2;else{let a=this._children[0];i=(e=a.getTabRect()).y,n=e.height;let h=this._tabHeaderRect.x,_=0;for(let c=0;c=h&&t<_){let t=r.DockLocation.CENTER,a=new l.Rect(e.x-2,i,3,n);o=new s.DropInfo(this,a,t,c,d.CLASSES.FLEXLAYOUT__OUTLINE_RECT);break}h=_}}if(null==o){let t=r.DockLocation.CENTER,a=new l.Rect(e.getRight()-2,i,3,n);o=new s.DropInfo(this,a,t,this._children.length,d.CLASSES.FLEXLAYOUT__OUTLINE_RECT)}}if(e._canDockInto(e,o))return o}_layout(e,t){this.calculateHeaderBarHeight(t),this.calculateTabBarHeight(t),this.isMaximized()&&(e=this._model.getRoot().getRect()),e=e.removeInsets(this._getAttr("marginInsets")),this._rect=e,e=e.removeInsets(this._getAttr("borderInsets"));let i=void 0!==this.getName(),o=0,n=0;i&&(o+=this._calculatedHeaderBarHeight,n+=this._calculatedHeaderBarHeight),this.isEnableTabStrip()&&("top"===this.getTabLocation()?this._tabHeaderRect=new l.Rect(e.x,e.y+o,e.width,this._calculatedTabBarHeight):this._tabHeaderRect=new l.Rect(e.x,e.y+e.height-this._calculatedTabBarHeight,e.width,this._calculatedTabBarHeight),n+=this._calculatedTabBarHeight,"top"===this.getTabLocation()&&(o+=this._calculatedTabBarHeight)),this._contentRect=new l.Rect(e.x,e.y+o,e.width,e.height-n);for(let e=0;e0&&i--,t===r.DockLocation.CENTER){let t=i;if(-1===t&&(t=this._children.length),e.getType()===u.TabNode.TYPE)this._addChild(e,t),(o||!1!==o&&this.isAutoSelectTab())&&this._setSelected(t);else{for(let i=0;i0&&this._setSelected(0)}this._model._setActiveTabset(this)}else{let i;if(e instanceof u.TabNode){let t=this._model._getOnCreateTabSet();(i=new T(this._model,t?t(e):{}))._addChild(e),n=i}else i=e;let o=this._parent,r=o.getChildren().indexOf(this);if(o.getOrientation()===t._orientation)i._setWeight(this.getWeight()/2),this._setWeight(this.getWeight()/2),o._addChild(i,r+t._indexPlus);else{let e=new c.RowNode(this._model,{});e._setWeight(this.getWeight()),e._addChild(this),this._setWeight(50),i._setWeight(50),e._addChild(i,t._indexPlus),o._removeChild(this),o._addChild(e,r)}this._model._setActiveTabset(i)}this._model._tidy()}toJson(){let e={};return T._attributeDefinitions.toJson(e,this._attributes),e.children=this._children.map(e=>e.toJson()),this.isActive()&&(e.active=!0),this.isMaximized()&&(e.maximized=!0),e}_updateAttrs(e){T._attributeDefinitions.update(e,this._attributes)}_getAttributeDefinitions(){return T._attributeDefinitions}_getPrefSize(e){let t=this.getWidth();return e===a.Orientation.VERT&&(t=this.getHeight()),t}static getAttributeDefinitions(){return T._attributeDefinitions}}t.TabSetNode=T,T.TYPE="tabset",T._attributeDefinitions=T._createAttributeDefinitions()},52968:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.randomUUID=t.adjustSelectedIndex=t.adjustSelectedIndexAfterDock=t.adjustSelectedIndexAfterFloat=void 0;let o=i(52733),n=i(74268);t.adjustSelectedIndexAfterFloat=function(e){let t=e.getParent();if(null!==t)if(t instanceof o.TabSetNode){let i=!1,o=0,n=t.getChildren();for(let t=0;t0?t>=e.getChildren().length&&e._setSelected(e.getChildren().length-1):ti||e._setSelected(-1))}},t.randomUUID=function(){return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))}},55821:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.BorderButton=void 0;let o=i(81004),n=i(25551),r=i(33076),s=i(10807),a=i(47562),l=i(24115),d=i(14592);t.BorderButton=e=>{let{layout:t,node:i,selected:h,border:_,iconFactory:c,titleFactory:u,icons:g,path:T}=e,E=o.useRef(null),b=o.useRef(null),p=e=>{(0,d.isAuxMouseEvent)(e)||t.getEditingTab()||t.dragStart(e,void 0,i,i.isEnableDrag(),m,S)},f=e=>{(0,d.isAuxMouseEvent)(e)&&t.auxMouseClick(i,e)},m=()=>{t.doAction(r.Actions.selectTab(i.getId()))},S=e=>{},A=e=>{e.target!==b.current&&(t.getCurrentDocument().body.removeEventListener("mousedown",A),t.getCurrentDocument().body.removeEventListener("touchstart",A),t.setEditingTab(void 0))},L=()=>{let e=i.getCloseType();return!!h||e===a.ICloseType.Always||e===a.ICloseType.Visible&&!!window.matchMedia&&!!window.matchMedia("(hover: hover) and (pointer: fine)").matches},v=e=>{e.stopPropagation()};o.useLayoutEffect(()=>{O(),t.getEditingTab()===i&&b.current.select()});let O=()=>{var e;let o=t.getDomRect(),n=null==(e=E.current)?void 0:e.getBoundingClientRect();n&&o&&i._setTabRect(new s.Rect(n.left-o.left,n.top-o.top,n.width,n.height))},R=e=>{e.stopPropagation()},N=t.getClassName,y=N(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON)+" "+N(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON_+_);h?y+=" "+N(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON__SELECTED):y+=" "+N(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON__UNSELECTED),void 0!==i.getClassName()&&(y+=" "+i.getClassName());let D=0;!1===i.getModel().isEnableRotateBorderIcons()&&("left"===_?D=90:"right"===_&&(D=-90));let B=(0,d.getRenderStateEx)(t,i,c,u,D),C=B.content?o.createElement("div",{className:N(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON_CONTENT)},B.content):null,w=B.leading?o.createElement("div",{className:N(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON_LEADING)},B.leading):null;if(t.getEditingTab()===i&&(C=o.createElement("input",{ref:b,className:N(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_TEXTBOX),"data-layout-path":T+"/textbox",type:"text",autoFocus:!0,defaultValue:i.getName(),onKeyDown:e=>{"Escape"===e.code?t.setEditingTab(void 0):"Enter"===e.code&&(t.setEditingTab(void 0),t.doAction(r.Actions.renameTab(i.getId(),e.target.value)))},onMouseDown:R,onTouchStart:R})),i.isEnableClose()){let e=t.i18nName(n.I18nLabel.Close_Tab);B.buttons.push(o.createElement("div",{key:"close","data-layout-path":T+"/button/close",title:e,className:N(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON_TRAILING),onMouseDown:v,onClick:e=>{L()?t.doAction(r.Actions.deleteTab(i.getId())):m()},onTouchStart:v},"function"==typeof g.close?g.close(i):g.close))}return o.createElement("div",{ref:E,"data-layout-path":T,className:y,onMouseDown:p,onClick:f,onAuxClick:f,onContextMenu:e=>{t.showContextMenu(i,e)},onTouchStart:p,title:i.getHelpText()},w,C,B.buttons)}},9715:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.BorderTabSet=void 0;let o=i(81004),n=i(40232),r=i(55821),s=i(40031),a=i(33076),l=i(25551),d=i(1680),h=i(13380),_=i(24115),c=i(14592);t.BorderTabSet=e=>{let{border:t,layout:i,iconFactory:u,titleFactory:g,icons:T,path:E}=e,b=o.useRef(null),p=o.useRef(null),f=o.useRef(null),{selfRef:m,position:S,userControlledLeft:A,hiddenTabs:L,onMouseWheel:v,tabsTruncated:O}=(0,d.useTabOverflow)(t,h.Orientation.flip(t.getOrientation()),b,f),R=e=>{(0,c.isAuxMouseEvent)(e)&&i.auxMouseClick(t,e)},N=e=>{e.stopPropagation()},y=e=>{i.doAction(a.Actions.selectTab(e.node.getId())),A.current=!1},D=i.getClassName,B=t.getTabHeaderRect().styleWithPosition({}),C=[],w=e=>{let n=t.getSelected()===e,s=t.getChildren()[e];C.push(o.createElement(r.BorderButton,{layout:i,border:t.getLocation().getName(),node:s,path:E+"/tb"+e,key:s.getId(),selected:n,iconFactory:u,titleFactory:g,icons:T})),e0&&(O?I=[...x,...I]:C.push(o.createElement("div",{ref:f,key:"sticky_buttons_container",onMouseDown:N,onTouchStart:N,onDragStart:e=>{e.preventDefault()},className:D(_.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_STICKY_BUTTONS_CONTAINER)},x))),L.length>0){let e,n=i.i18nName(l.I18nLabel.Overflow_Menu_Tooltip);e="function"==typeof T.more?T.more(t,L):o.createElement(o.Fragment,null,T.more,o.createElement("div",{className:D(_.CLASSES.FLEXLAYOUT__TAB_BUTTON_OVERFLOW_COUNT)},L.length)),I.splice(Math.min(U.overflowPosition,I.length),0,o.createElement("button",{key:"overflowbutton",ref:p,className:D(_.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON)+" "+D(_.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW)+" "+D(_.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW_+t.getLocation().getName()),title:n,onClick:e=>{let o=i.getShowOverflowMenu();if(void 0!==o)o(t,e,L,y);else{let e=p.current;(0,s.showPopup)(e,L,y,i,u,g)}e.stopPropagation()},onMouseDown:N,onTouchStart:N},e))}let F=t.getSelected();if(-1!==F){let e=t.getChildren()[F];if(void 0!==e&&i.isSupportsPopout()&&e.isEnableFloat()&&!e.isFloating()){let n=i.i18nName(l.I18nLabel.Float_Tab);I.push(o.createElement("button",{key:"float",title:n,className:D(_.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON)+" "+D(_.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_FLOAT),onClick:e=>{let o=t.getChildren()[t.getSelected()];void 0!==o&&i.doAction(a.Actions.floatTab(o.getId())),e.stopPropagation()},onMouseDown:N,onTouchStart:N},"function"==typeof T.popout?T.popout(e):T.popout))}}let z=o.createElement("div",{key:"toolbar",ref:b,className:D(_.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR)+" "+D(_.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_+t.getLocation().getName())},I);B=i.styleFont(B);let P={},Y=t.getBorderBarSize()-1;return P=t.getLocation()===n.DockLocation.LEFT?{right:Y,height:Y,top:S}:t.getLocation()===n.DockLocation.RIGHT?{left:Y,height:Y,top:S}:{height:Y,left:S},o.createElement("div",{ref:m,dir:"ltr",style:B,className:M,"data-layout-path":E,onClick:R,onAuxClick:R,onContextMenu:e=>{i.showContextMenu(t,e)},onWheel:v},o.createElement("div",{style:{height:Y},className:D(_.CLASSES.FLEXLAYOUT__BORDER_INNER)+" "+D(_.CLASSES.FLEXLAYOUT__BORDER_INNER_+t.getLocation().getName())},o.createElement("div",{style:P,className:D(_.CLASSES.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER)+" "+D(_.CLASSES.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER_+t.getLocation().getName())},C)),z)}},86180:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorBoundary=void 0;let o=i(81004),n=i(24115);class r extends o.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){console.debug(e),console.debug(t)}render(){return this.state.hasError?o.createElement("div",{className:n.CLASSES.FLEXLAYOUT__ERROR_BOUNDARY_CONTAINER},o.createElement("div",{className:n.CLASSES.FLEXLAYOUT__ERROR_BOUNDARY_CONTENT},this.props.message)):this.props.children}}t.ErrorBoundary=r},67868:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingWindow=void 0;let o=i(81004),n=i(3859),r=i(10807),s=i(24115);t.FloatingWindow=e=>{let{title:t,id:i,url:a,rect:l,onCloseWindow:d,onSetWindow:h,children:_}=e,c=o.useRef(null),u=o.useRef(null),[g,T]=o.useState(void 0);return(o.useLayoutEffect(()=>{u.current&&clearTimeout(u.current);let e=!0,o=l||new r.Rect(0,0,100,100),n=Array.from(window.document.styleSheets).reduce((e,t)=>{let i;try{i=t.cssRules}catch(e){}try{return[...e,{href:t.href,type:t.type,rules:i?Array.from(i).map(e=>e.cssText):null}]}catch(t){return e}},[]);return c.current=window.open(a,i,`left=${o.x},top=${o.y},width=${o.width},height=${o.height}`),null!==c.current?(h(i,c.current),window.addEventListener("beforeunload",()=>{c.current&&(c.current.close(),c.current=null)}),c.current.addEventListener("load",()=>{if(e){let e=c.current.document;e.title=t;let o=e.createElement("div");o.className=s.CLASSES.FLEXLAYOUT__FLOATING_WINDOW_CONTENT,e.body.appendChild(o),(function(e,t){let i=e.head,o=[];for(let n of t)if(n.href){let t=e.createElement("link");t.type=n.type,t.rel="stylesheet",t.href=n.href,i.appendChild(t),o.push(new Promise(e=>{t.onload=()=>e(!0)}))}else if(n.rules){let t=e.createElement("style");for(let i of n.rules)t.appendChild(e.createTextNode(i));i.appendChild(t)}return Promise.all(o)})(e,n).then(()=>{T(o)}),c.current.addEventListener("beforeunload",()=>{d(i)})}})):(console.warn(`Unable to open window ${a}`),d(i)),()=>{e=!1,u.current=setTimeout(()=>{c.current&&(c.current.close(),c.current=null)},0)}},[]),void 0!==g)?(0,n.createPortal)(_,g):null}},46538:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingWindowTab=void 0;let o=i(81004),n=i(86180),r=i(25551),s=i(81004),a=i(24115);t.FloatingWindowTab=e=>{let{layout:t,node:i,factory:l}=e,d=t.getClassName,h=l(i);return o.createElement("div",{className:d(a.CLASSES.FLEXLAYOUT__FLOATING_WINDOW_TAB)},o.createElement(n.ErrorBoundary,{message:e.layout.i18nName(r.I18nLabel.Error_rendering_component)},o.createElement(s.Fragment,null,h)))}},93281:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.RestoreIcon=t.PopoutIcon=t.EdgeIcon=t.OverflowIcon=t.MaximizeIcon=t.CloseIcon=void 0;let o=i(81004),n={width:"1em",height:"1em",display:"flex",alignItems:"center"};t.CloseIcon=()=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:n,viewBox:"0 0 24 24"},o.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),o.createElement("path",{stroke:"var(--color-icon)",fill:"var(--color-icon)",d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),t.MaximizeIcon=()=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:n,viewBox:"0 0 24 24",fill:"var(--color-icon)"},o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{stroke:"var(--color-icon)",d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"})),t.OverflowIcon=()=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:n,viewBox:"0 0 24 24",fill:"var(--color-icon)"},o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{stroke:"var(--color-icon)",d:"M7 10l5 5 5-5z"})),t.EdgeIcon=()=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"block",width:10,height:10},preserveAspectRatio:"none",viewBox:"0 0 100 100"},o.createElement("path",{fill:"var(--color-edge-icon)",stroke:"var(--color-edge-icon)",d:"M10 30 L90 30 l-40 40 Z"})),t.PopoutIcon=()=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:n,viewBox:"0 0 20 20",fill:"var(--color-icon)"},o.createElement("path",{d:"M11 3a1 1 0 100 2h2.586l-6.293 6.293a1 1 0 101.414 1.414L15 6.414V9a1 1 0 102 0V4a1 1 0 00-1-1h-5z"}),o.createElement("path",{d:"M5 5a2 2 0 00-2 2v8a2 2 0 002 2h8a2 2 0 002-2v-3a1 1 0 10-2 0v3H5V7h3a1 1 0 000-2H5z"})),t.RestoreIcon=()=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:n,viewBox:"0 0 24 24",fill:"var(--color-icon)"},o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{stroke:"var(--color-icon)",d:"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"}))},55295:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.Layout=void 0;let o=i(81004),n=i(3859),r=i(40232),s=i(30268),a=i(33076),l=i(74268),d=i(90191),h=i(46677),_=i(52733),c=i(10807),u=i(24115),g=i(9715),T=i(31996),E=i(60178),b=i(70470),p=i(67868),f=i(46538),m=i(62022),S=i(13380),A=i(93281),L=i(15797),v={close:o.createElement(A.CloseIcon,null),closeTabset:o.createElement(A.CloseIcon,null),popout:o.createElement(A.PopoutIcon,null),maximize:o.createElement(A.MaximizeIcon,null),restore:o.createElement(A.RestoreIcon,null),more:o.createElement(A.OverflowIcon,null),edgeArrow:o.createElement(A.EdgeIcon,null)},O="undefined"!=typeof window&&(window.document.documentMode||/Edge\//.test(window.navigator.userAgent)),R="undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(hover: hover) and (pointer: fine)").matches&&!O;class N extends o.Component{constructor(e){super(e),this.firstMove=!1,this.dragRectRendered=!0,this.dragDivText=void 0,this.edgeRectLength=100,this.edgeRectWidth=10,this.onModelChange=e=>{this.forceUpdate(),this.props.onModelChange&&this.props.onModelChange(this.props.model,e)},this.updateRect=e=>{if(e||(e=this.getDomRect()),!e)return;let t=new c.Rect(0,0,e.width,e.height);t.equals(this.state.rect)||0===t.width||0===t.height||this.setState({rect:t})},this.updateLayoutMetrics=()=>{if(this.findHeaderBarSizeRef.current){let e=this.findHeaderBarSizeRef.current.getBoundingClientRect().height;e!==this.state.calculatedHeaderBarSize&&this.setState({calculatedHeaderBarSize:e})}if(this.findTabBarSizeRef.current){let e=this.findTabBarSizeRef.current.getBoundingClientRect().height;e!==this.state.calculatedTabBarSize&&this.setState({calculatedTabBarSize:e})}if(this.findBorderBarSizeRef.current){let e=this.findBorderBarSizeRef.current.getBoundingClientRect().height;e!==this.state.calculatedBorderBarSize&&this.setState({calculatedBorderBarSize:e})}},this.getClassName=e=>void 0===this.props.classNameMapper?e:this.props.classNameMapper(e),this.onCloseWindow=e=>{this.doAction(a.Actions.unFloatTab(e));try{this.props.model.getNodeById(e)._setWindow(void 0)}catch(e){}},this.onSetWindow=(e,t)=>{this.props.model.getNodeById(e)._setWindow(t)},this.onCancelAdd=()=>{var e,t;let i=this.selfRef.current;i&&this.dragDiv&&i.removeChild(this.dragDiv),this.dragDiv=void 0,this.hidePortal(),null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(),this.fnNewNodeDropped=void 0);try{null==(t=null==(e=this.customDrop)?void 0:e.invalidated)||t.call(e)}catch(e){console.error(e)}s.DragDrop.instance.hideGlass(),this.newTabJson=void 0,this.customDrop=void 0},this.onCancelDrag=e=>{var t,i;if(e){let e=this.selfRef.current,o=this.outlineDiv;if(e&&o)try{e.removeChild(o)}catch(e){}let n=this.dragDiv;if(e&&n)try{e.removeChild(n)}catch(e){}this.dragDiv=void 0,this.hidePortal(),this.setState({showEdges:!1}),null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(),this.fnNewNodeDropped=void 0);try{null==(i=null==(t=this.customDrop)?void 0:t.invalidated)||i.call(t)}catch(e){console.error(e)}s.DragDrop.instance.hideGlass(),this.newTabJson=void 0,this.customDrop=void 0}this.setState({showHiddenBorder:r.DockLocation.CENTER})},this.onDragDivMouseDown=e=>{e.preventDefault(),this.dragStart(e,this.dragDivText,h.TabNode._fromJson(this.newTabJson,this.props.model,!1),!0,void 0,void 0)},this.dragStart=(e,t,i,o,n,r)=>{var a,l;o?(this.dragNode=i,this.dragDivText=t,s.DragDrop.instance.startDrag(e,this.onDragStart,this.onDragMove,this.onDragEnd,this.onCancelDrag,n,r,this.currentDocument,null!=(l=this.selfRef.current)?l:void 0)):s.DragDrop.instance.startDrag(e,void 0,void 0,void 0,void 0,n,r,this.currentDocument,null!=(a=this.selfRef.current)?a:void 0)},this.dragRectRender=(e,t,i,n)=>{let r;if(void 0!==e?r=o.createElement("div",{style:{whiteSpace:"pre"}},e.replace("
","\n")):t&&t instanceof h.TabNode&&(r=o.createElement(L.TabButtonStamp,{node:t,layout:this,iconFactory:this.props.iconFactory,titleFactory:this.props.titleFactory})),void 0!==this.props.onRenderDragRect){let e=this.props.onRenderDragRect(r,t,i);void 0!==e&&(r=e)}this.dragRectRendered=!1;let s=this.dragDiv;s&&(s.style.visibility="hidden",this.showPortal(o.createElement(y,{onRendered:()=>{this.dragRectRendered=!0,null==n||n()}},r),s))},this.showPortal=(e,t)=>{let i=(0,n.createPortal)(e,t);this.setState({portal:i})},this.hidePortal=()=>{this.setState({portal:void 0})},this.onDragStart=()=>{var e;this.dropInfo=void 0,this.customDrop=void 0;let t=this.selfRef.current;return this.outlineDiv=this.currentDocument.createElement("div"),this.outlineDiv.className=this.getClassName(u.CLASSES.FLEXLAYOUT__OUTLINE_RECT),this.outlineDiv.style.visibility="hidden",t&&t.appendChild(this.outlineDiv),null==this.dragDiv&&(this.dragDiv=this.currentDocument.createElement("div"),this.dragDiv.className=this.getClassName(u.CLASSES.FLEXLAYOUT__DRAG_RECT),this.dragDiv.setAttribute("data-layout-path","/drag-rectangle"),this.dragRectRender(this.dragDivText,this.dragNode,this.newTabJson),t&&t.appendChild(this.dragDiv)),void 0===this.props.model.getMaximizedTabset()&&this.setState({showEdges:this.props.model.isEnableEdgeDock()}),this.dragNode&&this.outlineDiv&&this.dragNode instanceof h.TabNode&&void 0!==this.dragNode.getTabRect()&&(null==(e=this.dragNode.getTabRect())||e.positionElement(this.outlineDiv)),this.firstMove=!0,!0},this.onDragMove=e=>{var t,i,o,n,r,s,a;if(!1===this.firstMove){let e=this.props.model._getAttribute("tabDragSpeed");this.outlineDiv&&(this.outlineDiv.style.transition=`top ${e}s, left ${e}s, width ${e}s, height ${e}s`)}this.firstMove=!1;let l=null==(t=this.selfRef.current)?void 0:t.getBoundingClientRect(),d={x:e.clientX-(null!=(i=null==l?void 0:l.left)?i:0),y:e.clientY-(null!=(o=null==l?void 0:l.top)?o:0)};this.checkForBorderToShow(d.x,d.y);let h=null!=(r=null==(n=this.dragDiv)?void 0:n.getBoundingClientRect())?r:new DOMRect(0,0,100,100),_=d.x-h.width/2;_+h.width>(null!=(s=null==l?void 0:l.width)?s:0)&&(_=(null!=(a=null==l?void 0:l.width)?a:0)-h.width),_=Math.max(0,_),this.dragDiv&&(this.dragDiv.style.left=_+"px",this.dragDiv.style.top=d.y+5+"px",this.dragRectRendered&&"hidden"===this.dragDiv.style.visibility&&(this.dragDiv.style.visibility="visible"));let c=this.props.model._findDropTargetNode(this.dragNode,d.x,d.y);c&&(this.props.onTabDrag?this.handleCustomTabDrag(c,d,e):(this.dropInfo=c,this.outlineDiv&&(this.outlineDiv.className=this.getClassName(c.className),c.rect.positionElement(this.outlineDiv),this.outlineDiv.style.visibility="visible")))},this.onDragEnd=e=>{let t=this.selfRef.current;if(t&&(this.outlineDiv&&t.removeChild(this.outlineDiv),this.dragDiv&&t.removeChild(this.dragDiv)),this.dragDiv=void 0,this.hidePortal(),this.setState({showEdges:!1}),s.DragDrop.instance.hideGlass(),this.dropInfo)if(this.customDrop){this.newTabJson=void 0;try{let{callback:e,dragging:t,over:i,x:o,y:n,location:r}=this.customDrop;e(t,i,o,n,r),null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(),this.fnNewNodeDropped=void 0)}catch(e){console.error(e)}}else if(void 0!==this.newTabJson){let t=this.doAction(a.Actions.addNode(this.newTabJson,this.dropInfo.node.getId(),this.dropInfo.location,this.dropInfo.index));null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(t,e),this.fnNewNodeDropped=void 0),this.newTabJson=void 0}else void 0!==this.dragNode&&this.doAction(a.Actions.moveNode(this.dragNode.getId(),this.dropInfo.node.getId(),this.dropInfo.location,this.dropInfo.index));this.setState({showHiddenBorder:r.DockLocation.CENTER})},this.props.model._setChangeListener(this.onModelChange),this.tabIds=[],this.selfRef=o.createRef(),this.findHeaderBarSizeRef=o.createRef(),this.findTabBarSizeRef=o.createRef(),this.findBorderBarSizeRef=o.createRef(),this.supportsPopout=void 0!==e.supportsPopout?e.supportsPopout:R,this.popoutURL=e.popoutURL?e.popoutURL:"popout.html",this.icons=Object.assign(Object.assign({},v),e.icons),this.state={rect:new c.Rect(0,0,0,0),calculatedHeaderBarSize:25,calculatedTabBarSize:26,calculatedBorderBarSize:30,editingTab:void 0,showHiddenBorder:r.DockLocation.CENTER,showEdges:!1},this.onDragEnter=this.onDragEnter.bind(this)}styleFont(e){return this.props.font&&(this.selfRef.current&&(this.props.font.size&&this.selfRef.current.style.setProperty("--font-size",this.props.font.size),this.props.font.family&&this.selfRef.current.style.setProperty("--font-family",this.props.font.family)),this.props.font.style&&(e.fontStyle=this.props.font.style),this.props.font.weight&&(e.fontWeight=this.props.font.weight)),e}doAction(e){if(void 0===this.props.onAction)return this.props.model.doAction(e);{let t=this.props.onAction(e);return void 0!==t?this.props.model.doAction(t):void 0}}componentDidMount(){this.updateRect(),this.updateLayoutMetrics(),this.currentDocument=this.selfRef.current.ownerDocument,this.currentWindow=this.currentDocument.defaultView,this.resizeObserver=new ResizeObserver(e=>{this.updateRect(e[0].contentRect)});let e=this.selfRef.current;e&&this.resizeObserver.observe(e)}componentDidUpdate(){this.updateLayoutMetrics(),this.props.model!==this.previousModel&&(void 0!==this.previousModel&&this.previousModel._setChangeListener(void 0),this.props.model._setChangeListener(this.onModelChange),this.previousModel=this.props.model)}getCurrentDocument(){return this.currentDocument}getDomRect(){var e;return null==(e=this.selfRef.current)?void 0:e.getBoundingClientRect()}getRootDiv(){return this.selfRef.current}isSupportsPopout(){return this.supportsPopout}isRealtimeResize(){var e;return null!=(e=this.props.realtimeResize)&&e}onTabDrag(...e){var t,i;return null==(i=(t=this.props).onTabDrag)?void 0:i.call(t,...e)}getPopoutURL(){return this.popoutURL}componentWillUnmount(){var e;let t=this.selfRef.current;t&&(null==(e=this.resizeObserver)||e.unobserve(t))}setEditingTab(e){this.setState({editingTab:e})}getEditingTab(){return this.state.editingTab}render(){if(!this.selfRef.current)return o.createElement("div",{ref:this.selfRef,className:this.getClassName(u.CLASSES.FLEXLAYOUT__LAYOUT)},this.metricsElements());this.props.model._setPointerFine(window&&window.matchMedia&&window.matchMedia("(pointer: fine)").matches);let e=[],t=[],i=[],n={},r=[],s={headerBarSize:this.state.calculatedHeaderBarSize,tabBarSize:this.state.calculatedTabBarSize,borderBarSize:this.state.calculatedBorderBarSize};this.props.model._setShowHiddenBorder(this.state.showHiddenBorder),this.centerRect=this.props.model._layout(this.state.rect,s),this.renderBorder(this.props.model.getBorderSet(),e,n,i,r),this.renderChildren("",this.props.model.getRoot(),t,n,i,r);let a=[],l={};for(let e of this.tabIds)n[e]&&(a.push(e),l[e]=e);for(let e of(this.tabIds=a,Object.keys(n)))l[e]||this.tabIds.push(e);let d=[],h=this.icons.edgeArrow;if(this.state.showEdges){let e=this.centerRect,t=this.edgeRectLength,i=this.edgeRectWidth,n=this.edgeRectLength/2,r=this.getClassName(u.CLASSES.FLEXLAYOUT__EDGE_RECT);d.push(o.createElement("div",{key:"North",style:{top:e.y,left:e.x+e.width/2-n,width:t,height:i,borderBottomLeftRadius:50,borderBottomRightRadius:50},className:r+" "+this.getClassName(u.CLASSES.FLEXLAYOUT__EDGE_RECT_TOP)},o.createElement("div",{style:{transform:"rotate(180deg)"}},h))),d.push(o.createElement("div",{key:"West",style:{top:e.y+e.height/2-n,left:e.x,width:i,height:t,borderTopRightRadius:50,borderBottomRightRadius:50},className:r+" "+this.getClassName(u.CLASSES.FLEXLAYOUT__EDGE_RECT_LEFT)},o.createElement("div",{style:{transform:"rotate(90deg)"}},h))),d.push(o.createElement("div",{key:"South",style:{top:e.y+e.height-i,left:e.x+e.width/2-n,width:t,height:i,borderTopLeftRadius:50,borderTopRightRadius:50},className:r+" "+this.getClassName(u.CLASSES.FLEXLAYOUT__EDGE_RECT_BOTTOM)},o.createElement("div",null,h))),d.push(o.createElement("div",{key:"East",style:{top:e.y+e.height/2-n,left:e.x+e.width-i,width:i,height:t,borderTopLeftRadius:50,borderBottomLeftRadius:50},className:r+" "+this.getClassName(u.CLASSES.FLEXLAYOUT__EDGE_RECT_RIGHT)},o.createElement("div",{style:{transform:"rotate(-90deg)"}},h)))}return o.createElement("div",{ref:this.selfRef,className:this.getClassName(u.CLASSES.FLEXLAYOUT__LAYOUT),onDragEnter:this.props.onExternalDrag?this.onDragEnter:void 0},t,this.tabIds.map(e=>n[e]),e,r,d,i,this.metricsElements(),this.state.portal)}metricsElements(){let e=this.styleFont({visibility:"hidden"});return o.createElement(o.Fragment,null,o.createElement("div",{key:"findHeaderBarSize",ref:this.findHeaderBarSizeRef,style:e,className:this.getClassName(u.CLASSES.FLEXLAYOUT__TABSET_HEADER_SIZER)},"FindHeaderBarSize"),o.createElement("div",{key:"findTabBarSize",ref:this.findTabBarSizeRef,style:e,className:this.getClassName(u.CLASSES.FLEXLAYOUT__TABSET_SIZER)},"FindTabBarSize"),o.createElement("div",{key:"findBorderBarSize",ref:this.findBorderBarSizeRef,style:e,className:this.getClassName(u.CLASSES.FLEXLAYOUT__BORDER_SIZER)},"FindBorderBarSize"))}renderBorder(e,t,i,n,r){for(let s of e.getBorders()){let e=`/border/${s.getLocation().getName()}`;if(s.isShowing()){t.push(o.createElement(g.BorderTabSet,{key:`border_${s.getLocation().getName()}`,path:e,border:s,layout:this,iconFactory:this.props.iconFactory,titleFactory:this.props.titleFactory,icons:this.icons}));let a=s._getDrawChildren(),l=0,_=0;for(let t of a){if(t instanceof d.SplitterNode){let i=e+"/s";r.push(o.createElement(T.Splitter,{key:t.getId(),layout:this,node:t,path:i}))}else if(t instanceof h.TabNode){let r=e+"/t"+_++;if(this.supportsPopout&&t.isFloating()){let e=this._getScreenRect(t),a=t._getAttr("borderWidth"),d=t._getAttr("borderHeight");e&&(-1!==a&&s.getLocation().getOrientation()===S.Orientation.HORZ?e.width=a:-1!==d&&s.getLocation().getOrientation()===S.Orientation.VERT&&(e.height=d)),n.push(o.createElement(p.FloatingWindow,{key:t.getId(),url:this.popoutURL,rect:e,title:t.getName(),id:t.getId(),onSetWindow:this.onSetWindow,onCloseWindow:this.onCloseWindow},o.createElement(f.FloatingWindowTab,{layout:this,node:t,factory:this.props.factory}))),i[t.getId()]=o.createElement(m.TabFloating,{key:t.getId(),layout:this,path:r,node:t,selected:l===s.getSelected()})}else i[t.getId()]=o.createElement(E.Tab,{key:t.getId(),layout:this,path:r,node:t,selected:l===s.getSelected(),factory:this.props.factory})}l++}}}}renderChildren(e,t,i,n,r,s){let a=t._getDrawChildren(),l=0,c=0,u=0;for(let t of a)if(t instanceof d.SplitterNode){let i=e+"/s"+l++;s.push(o.createElement(T.Splitter,{key:t.getId(),layout:this,path:i,node:t}))}else if(t instanceof _.TabSetNode){let a=e+"/ts"+u++;i.push(o.createElement(b.TabSet,{key:t.getId(),layout:this,path:a,node:t,iconFactory:this.props.iconFactory,titleFactory:this.props.titleFactory,icons:this.icons})),this.renderChildren(a,t,i,n,r,s)}else if(t instanceof h.TabNode){let i=e+"/t"+c++,s=t.getParent().getChildren()[t.getParent().getSelected()];if(void 0===s&&console.warn("undefined selectedTab should not happen"),this.supportsPopout&&t.isFloating()){let e=this._getScreenRect(t);r.push(o.createElement(p.FloatingWindow,{key:t.getId(),url:this.popoutURL,rect:e,title:t.getName(),id:t.getId(),onSetWindow:this.onSetWindow,onCloseWindow:this.onCloseWindow},o.createElement(f.FloatingWindowTab,{layout:this,node:t,factory:this.props.factory}))),n[t.getId()]=o.createElement(m.TabFloating,{key:t.getId(),layout:this,path:i,node:t,selected:t===s})}else n[t.getId()]=o.createElement(E.Tab,{key:t.getId(),layout:this,path:i,node:t,selected:t===s,factory:this.props.factory})}else{let o=e+(t.getOrientation()===S.Orientation.HORZ?"/r":"/c")+u++;this.renderChildren(o,t,i,n,r,s)}}_getScreenRect(e){var t;let i=e.getRect().clone(),o=null==(t=this.selfRef.current)?void 0:t.getBoundingClientRect();if(!o)return null;let n=Math.min(80,this.currentWindow.outerHeight-this.currentWindow.innerHeight),r=Math.min(80,this.currentWindow.outerWidth-this.currentWindow.innerWidth);return i.x=i.x+o.x+this.currentWindow.screenX+r,i.y=i.y+o.y+this.currentWindow.screenY+n,i}addTabToTabSet(e,t){if(void 0!==this.props.model.getNodeById(e))return this.doAction(a.Actions.addNode(t,e,r.DockLocation.CENTER,-1))}addTabToActiveTabSet(e){let t=this.props.model.getActiveTabset();if(void 0!==t)return this.doAction(a.Actions.addNode(e,t.getId(),r.DockLocation.CENTER,-1))}addTabWithDragAndDrop(e,t,i){this.fnNewNodeDropped=i,this.newTabJson=t,this.dragStart(void 0,e,h.TabNode._fromJson(t,this.props.model,!1),!0,void 0,void 0)}moveTabWithDragAndDrop(e,t){this.dragStart(void 0,t,e,!0,void 0,void 0)}addTabWithDragAndDropIndirect(e,t,i){this.fnNewNodeDropped=i,this.newTabJson=t,s.DragDrop.instance.addGlass(this.onCancelAdd),this.dragDivText=e,this.dragDiv=this.currentDocument.createElement("div"),this.dragDiv.className=this.getClassName(u.CLASSES.FLEXLAYOUT__DRAG_RECT),this.dragDiv.addEventListener("mousedown",this.onDragDivMouseDown),this.dragDiv.addEventListener("touchstart",this.onDragDivMouseDown,{passive:!1}),this.dragRectRender(this.dragDivText,void 0,this.newTabJson,()=>{if(this.dragDiv){this.dragDiv.style.visibility="visible";let e=this.dragDiv.getBoundingClientRect(),t=new c.Rect(0,0,null==e?void 0:e.width,null==e?void 0:e.height);t.centerInRect(this.state.rect),this.dragDiv.setAttribute("data-layout-path","/drag-rectangle"),this.dragDiv.style.left=t.x+"px",this.dragDiv.style.top=t.y+"px"}}),this.selfRef.current.appendChild(this.dragDiv)}handleCustomTabDrag(e,t,i){var o,n,r;let a=null==(o=this.customDrop)?void 0:o.invalidated,d=null==(n=this.customDrop)?void 0:n.callback;this.customDrop=void 0;let g=this.newTabJson||(this.dragNode instanceof h.TabNode?this.dragNode:void 0);if(g&&(e.node instanceof _.TabSetNode||e.node instanceof l.BorderNode)&&-1===e.index){let o=e.node.getSelectedNode(),n=null==o?void 0:o.getRect();if(o&&(null==n?void 0:n.contains(t.x,t.y))){let r;try{let s=this.onTabDrag(g,o,t.x-n.x,t.y-n.y,e.location,()=>this.onDragMove(i));s&&(r={rect:new c.Rect(s.x+n.x,s.y+n.y,s.width,s.height),callback:s.callback,invalidated:s.invalidated,dragging:g,over:o,x:t.x-n.x,y:t.y-n.y,location:e.location,cursor:s.cursor})}catch(e){console.error(e)}(null==r?void 0:r.callback)===d&&(a=void 0),this.customDrop=r}}this.dropInfo=e,this.outlineDiv&&(this.outlineDiv.className=this.getClassName(this.customDrop?u.CLASSES.FLEXLAYOUT__OUTLINE_RECT:e.className),this.customDrop?this.customDrop.rect.positionElement(this.outlineDiv):e.rect.positionElement(this.outlineDiv)),s.DragDrop.instance.setGlassCursorOverride(null==(r=this.customDrop)?void 0:r.cursor),this.outlineDiv&&(this.outlineDiv.style.visibility="visible");try{null==a||a()}catch(e){console.error(e)}}onDragEnter(e){if(s.DragDrop.instance.isDragging())return;let t=this.props.onExternalDrag(e);t&&(this.fnNewNodeDropped=t.onDrop,this.newTabJson=t.json,this.dragStart(e,t.dragText,h.TabNode._fromJson(t.json,this.props.model,!1),!0,void 0,void 0))}checkForBorderToShow(e,t){let i=this.props.model._getOuterInnerRects().outer,o=i.getCenter(),n=this.edgeRectWidth,s=this.edgeRectLength/2,a=!1;this.props.model.isEnableEdgeDock()&&this.state.showHiddenBorder===r.DockLocation.CENTER&&(t>o.y-s&&to.x-s&&e=i.getRight()-n?l=r.DockLocation.RIGHT:t<=i.y+n?l=r.DockLocation.TOP:t>=i.getBottom()-n&&(l=r.DockLocation.BOTTOM)),l!==this.state.showHiddenBorder&&this.setState({showHiddenBorder:l})}maximize(e){this.doAction(a.Actions.maximizeToggle(e.getId()))}customizeTab(e,t){this.props.onRenderTab&&this.props.onRenderTab(e,t)}customizeTabSet(e,t){this.props.onRenderTabSet&&this.props.onRenderTabSet(e,t)}i18nName(e,t){let i;return this.props.i18nMapper&&(i=this.props.i18nMapper(e,t)),void 0===i&&(i=e+(void 0===t?"":t)),i}getOnRenderFloatingTabPlaceholder(){return this.props.onRenderFloatingTabPlaceholder}getShowOverflowMenu(){return this.props.onShowOverflowMenu}getTabSetPlaceHolderCallback(){return this.props.onTabSetPlaceHolder}showContextMenu(e,t){this.props.onContextMenu&&this.props.onContextMenu(e,t)}auxMouseClick(e,t){this.props.onAuxMouseClick&&this.props.onAuxMouseClick(e,t)}}t.Layout=N;let y=e=>(o.useEffect(()=>{var t;null==(t=e.onRendered)||t.call(e)},[e]),o.createElement(o.Fragment,null,e.children))},31996:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.Splitter=void 0;let o=i(81004),n=i(30268),r=i(33076),s=i(74268),a=i(13380),l=i(24115);t.Splitter=e=>{let{layout:t,node:i,path:d}=e,h=o.useRef([]),_=o.useRef(void 0),c=i.getParent(),u=e=>{var o;n.DragDrop.instance.setGlassCursorOverride(i.getOrientation()===a.Orientation.HORZ?"ns-resize":"ew-resize"),n.DragDrop.instance.startDrag(e,T,E,p,g,void 0,void 0,t.getCurrentDocument(),null!=(o=t.getRootDiv())?o:void 0),h.current=c._getSplitterBounds(i,!0);let r=t.getRootDiv();_.current=t.getCurrentDocument().createElement("div"),_.current.style.position="absolute",_.current.className=t.getClassName(l.CLASSES.FLEXLAYOUT__SPLITTER_DRAG),_.current.style.cursor=i.getOrientation()===a.Orientation.HORZ?"ns-resize":"ew-resize";let s=i.getRect();i.getOrientation()===a.Orientation.VERT&&s.width<2?s.width=2:i.getOrientation()===a.Orientation.HORZ&&s.height<2&&(s.height=2),s.positionElement(_.current),r&&r.appendChild(_.current)},g=e=>{let i=t.getRootDiv();i&&i.removeChild(_.current)},T=()=>!0,E=e=>{let o=t.getDomRect();if(!o)return;let n={x:e.clientX-o.left,y:e.clientY-o.top};_&&(i.getOrientation()===a.Orientation.HORZ?_.current.style.top=f(n.y-4)+"px":_.current.style.left=f(n.x-4)+"px"),t.isRealtimeResize()&&b()},b=()=>{let e=0;if(_&&(e=i.getOrientation()===a.Orientation.HORZ?_.current.offsetTop:_.current.offsetLeft),c instanceof s.BorderNode){let o=c._calculateSplit(i,e);t.doAction(r.Actions.adjustBorderSplit(i.getParent().getId(),o))}else{let o=c._calculateSplit(i,e);void 0!==o&&t.doAction(r.Actions.adjustSplit(o))}},p=()=>{b();let e=t.getRootDiv();e&&e.removeChild(_.current)},f=e=>{let t=h.current,i=e;return et[1]&&(i=t[1]),i},m=t.getClassName,S=i.getRect(),A=S.styleWithPosition({cursor:i.getOrientation()===a.Orientation.HORZ?"ns-resize":"ew-resize"}),L=m(l.CLASSES.FLEXLAYOUT__SPLITTER)+" "+m(l.CLASSES.FLEXLAYOUT__SPLITTER_+i.getOrientation().getName());c instanceof s.BorderNode?L+=" "+m(l.CLASSES.FLEXLAYOUT__SPLITTER_BORDER):void 0!==i.getModel().getMaximizedTabset()&&(A.display="none");let v=i.getModel().getSplitterExtra();if(0===v)return o.createElement("div",{style:A,"data-layout-path":d,className:L,onTouchStart:u,onMouseDown:u});{let e=S.clone();e.x=0,e.y=0,i.getOrientation()===a.Orientation.VERT?e.width+=v:e.height+=v;let t=e.styleWithPosition({cursor:i.getOrientation()===a.Orientation.HORZ?"ns-resize":"ew-resize"}),n=m(l.CLASSES.FLEXLAYOUT__SPLITTER_EXTRA);return o.createElement("div",{style:A,"data-layout-path":d,className:L},o.createElement("div",{style:t,className:n,onTouchStart:u,onMouseDown:u}))}}},60178:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.Tab=void 0;let o=i(81004),n=i(81004),r=i(33076),s=i(52733),a=i(24115),l=i(86180),d=i(25551),h=i(74268),_=i(14592);t.Tab=e=>{let t,{layout:i,selected:c,node:u,factory:g,path:T}=e,[E,b]=o.useState(!e.node.isEnableRenderOnDemand()||e.selected);o.useLayoutEffect(()=>{!E&&c&&b(!0)});let p=()=>{let e=u.getParent();e.getType()!==s.TabSetNode.TYPE||e.isActive()||i.doAction(r.Actions.setActiveTabset(e.getId()))},f=i.getClassName,m=u.getModel().isUseVisibility(),S=u.getParent(),A=u._styleWithPosition();c||(0,_.hideElement)(A,m),S instanceof s.TabSetNode&&void 0!==u.getModel().getMaximizedTabset()&&!S.isMaximized()&&(0,_.hideElement)(A,m),E&&(t=g(u));let L=f(a.CLASSES.FLEXLAYOUT__TAB);return S instanceof h.BorderNode&&(L+=" "+f(a.CLASSES.FLEXLAYOUT__TAB_BORDER),L+=" "+f(a.CLASSES.FLEXLAYOUT__TAB_BORDER_+S.getLocation().getName())),void 0!==u.getContentClassName()&&(L+=" "+u.getContentClassName()),o.createElement("div",{className:L,"data-layout-path":T,onMouseDown:p,onTouchStart:p,style:A},o.createElement(l.ErrorBoundary,{message:e.layout.i18nName(d.I18nLabel.Error_rendering_component)},o.createElement(n.Fragment,null,t)))}},22112:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.TabButton=void 0;let o=i(81004),n=i(25551),r=i(33076),s=i(10807),a=i(47562),l=i(24115),d=i(14592);t.TabButton=e=>{let{layout:t,node:i,selected:h,iconFactory:_,titleFactory:c,icons:u,path:g}=e,T=o.useRef(null),E=o.useRef(null),b=e=>{(0,d.isAuxMouseEvent)(e)||t.getEditingTab()||t.dragStart(e,void 0,i,i.isEnableDrag(),f,m)},p=e=>{(0,d.isAuxMouseEvent)(e)&&t.auxMouseClick(i,e)},f=()=>{t.doAction(r.Actions.selectTab(i.getId()))},m=e=>{i.isEnableRename()&&S()},S=()=>{t.setEditingTab(i),t.getCurrentDocument().body.addEventListener("mousedown",A),t.getCurrentDocument().body.addEventListener("touchstart",A)},A=e=>{e.target!==E.current&&(t.getCurrentDocument().body.removeEventListener("mousedown",A),t.getCurrentDocument().body.removeEventListener("touchstart",A),t.setEditingTab(void 0))},L=()=>{let e=i.getCloseType();return!!h||e===a.ICloseType.Always||e===a.ICloseType.Visible&&!!window.matchMedia&&!!window.matchMedia("(hover: hover) and (pointer: fine)").matches},v=e=>{e.stopPropagation()};o.useLayoutEffect(()=>{O(),t.getEditingTab()===i&&E.current.select()});let O=()=>{var e;let o=t.getDomRect(),n=null==(e=T.current)?void 0:e.getBoundingClientRect();n&&o&&i._setTabRect(new s.Rect(n.left-o.left,n.top-o.top,n.width,n.height))},R=e=>{e.stopPropagation()},N=t.getClassName,y=i.getParent(),D=y.isEnableSingleTabStretch()&&1===y.getChildren().length,B=D?l.CLASSES.FLEXLAYOUT__TAB_BUTTON_STRETCH:l.CLASSES.FLEXLAYOUT__TAB_BUTTON,C=N(B);C+=" "+N(B+"_"+y.getTabLocation()),D||(h?C+=" "+N(B+"--selected"):C+=" "+N(B+"--unselected")),void 0!==i.getClassName()&&(C+=" "+i.getClassName());let w=(0,d.getRenderStateEx)(t,i,_,c),M=w.content?o.createElement("div",{className:N(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_CONTENT)},w.content):null,I=w.leading?o.createElement("div",{className:N(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_LEADING)},w.leading):null;if(t.getEditingTab()===i&&(M=o.createElement("input",{ref:E,className:N(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_TEXTBOX),"data-layout-path":g+"/textbox",type:"text",autoFocus:!0,defaultValue:i.getName(),onKeyDown:e=>{"Escape"===e.code?t.setEditingTab(void 0):"Enter"===e.code&&(t.setEditingTab(void 0),t.doAction(r.Actions.renameTab(i.getId(),e.target.value)))},onMouseDown:R,onTouchStart:R})),i.isEnableClose()&&!D){let e=t.i18nName(n.I18nLabel.Close_Tab);w.buttons.push(o.createElement("div",{key:"close","data-layout-path":g+"/button/close",title:e,className:N(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_TRAILING),onMouseDown:v,onClick:e=>{L()?t.doAction(r.Actions.deleteTab(i.getId())):f()},onTouchStart:v},"function"==typeof u.close?u.close(i):u.close))}return o.createElement("div",{ref:T,"data-layout-path":g,className:C,onMouseDown:b,onClick:p,onAuxClick:p,onContextMenu:e=>{t.showContextMenu(i,e)},onTouchStart:b,title:i.getHelpText()},I,M,w.buttons)}},15797:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.TabButtonStamp=void 0;let o=i(81004),n=i(24115),r=i(14592);t.TabButtonStamp=e=>{let{layout:t,node:i,iconFactory:s,titleFactory:a}=e,l=o.useRef(null),d=t.getClassName,h=d(n.CLASSES.FLEXLAYOUT__TAB_BUTTON_STAMP),_=(0,r.getRenderStateEx)(t,i,s,a),c=_.content?o.createElement("div",{className:d(n.CLASSES.FLEXLAYOUT__TAB_BUTTON_CONTENT)},_.content):i._getNameForOverflowMenu(),u=_.leading?o.createElement("div",{className:d(n.CLASSES.FLEXLAYOUT__TAB_BUTTON_LEADING)},_.leading):null;return o.createElement("div",{ref:l,className:h,title:i.getHelpText()},u,c)}},62022:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.TabFloating=void 0;let o=i(81004),n=i(33076),r=i(52733),s=i(24115),a=i(25551),l=i(14592);t.TabFloating=e=>{let{layout:t,selected:i,node:d,path:h}=e,_=()=>{d.getWindow()&&d.getWindow().focus()},c=()=>{t.doAction(n.Actions.unFloatTab(d.getId()))},u=()=>{let e=d.getParent();e.getType()!==r.TabSetNode.TYPE||e.isActive()||t.doAction(n.Actions.setActiveTabset(e.getId()))},g=t.getClassName,T=d.getParent(),E=d._styleWithPosition();i||(0,l.hideElement)(E,d.getModel().isUseVisibility()),T instanceof r.TabSetNode&&void 0!==d.getModel().getMaximizedTabset()&&!T.isMaximized()&&(0,l.hideElement)(E,d.getModel().isUseVisibility());let b=t.i18nName(a.I18nLabel.Floating_Window_Message),p=t.i18nName(a.I18nLabel.Floating_Window_Show_Window),f=t.i18nName(a.I18nLabel.Floating_Window_Dock_Window),m=t.getOnRenderFloatingTabPlaceholder();return m?o.createElement("div",{className:g(s.CLASSES.FLEXLAYOUT__TAB_FLOATING),onMouseDown:u,onTouchStart:u,style:E},m(c,_)):o.createElement("div",{className:g(s.CLASSES.FLEXLAYOUT__TAB_FLOATING),"data-layout-path":h,onMouseDown:u,onTouchStart:u,style:E},o.createElement("div",{className:g(s.CLASSES.FLEXLAYOUT__TAB_FLOATING_INNER)},o.createElement("div",null,b),o.createElement("div",null,o.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),_()}},p)),o.createElement("div",null,o.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),c()}},f))))}},1680:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.useTabOverflow=void 0;let o=i(81004),n=i(10807),r=i(52733),s=i(13380);t.useTabOverflow=(e,t,i,a)=>{let l=o.useRef(!0),d=o.useRef(!1),h=o.useRef(new n.Rect(0,0,0,0)),_=o.useRef(null),[c,u]=o.useState(0),g=o.useRef(!1),[T,E]=o.useState([]),b=o.useRef(0);o.useLayoutEffect(()=>{g.current=!1},[e.getSelectedNode(),e.getRect().width,e.getRect().height]),o.useLayoutEffect(()=>{L()});let p=_.current;o.useEffect(()=>{if(p)return p.addEventListener("wheel",f,{passive:!1}),()=>{p.removeEventListener("wheel",f)}},[p]);let f=e=>{e.preventDefault()},m=e=>t===s.Orientation.HORZ?e.x:e.y,S=e=>t===s.Orientation.HORZ?e.getRight():e.getBottom(),A=e=>t===s.Orientation.HORZ?e.width:e.height,L=()=>{!0===l.current&&(d.current=!1);let t=e instanceof r.TabSetNode?e.getRect():e.getTabHeaderRect(),o=e.getChildren()[e.getChildren().length-1],n=null===a.current?0:A(a.current.getBoundingClientRect());if(!0===l.current||0===b.current&&0!==T.length||t.width!==h.current.width||t.height!==h.current.height){b.current=T.length,h.current=t;let s=!(e instanceof r.TabSetNode)||!0===e.isEnableTabStrip(),a=S(t)-n;if(null!==i.current&&(a-=A(i.current.getBoundingClientRect())),s&&e.getChildren().length>0){if(0===T.length&&0===c&&S(o.getTabRect())+2=a-m(t)?i=m(t)-o:(r>a||oa&&(i=a-r))}let r=Math.max(0,a-(S(o.getTabRect())+2+i)),s=Math.min(0,c+i+r),h=s-c,_=[];for(let i=0;ia)&&_.push({node:o,index:i})}_.length>0&&(d.current=!0),l.current=!1,E(_),u(s)}}else l.current=!0};return{selfRef:_,position:c,userControlledLeft:g,hiddenTabs:T,onMouseWheel:e=>{let t=0;t=Math.abs(e.deltaX)>Math.abs(e.deltaY)?-e.deltaX:-e.deltaY,1===e.deltaMode&&(t*=40),u(c+t),g.current=!0,e.stopPropagation()},tabsTruncated:d.current}}},70470:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.TabSet=void 0;let o=i(81004),n=i(25551),r=i(33076),s=i(40031),a=i(22112),l=i(1680),d=i(13380),h=i(24115),_=i(14592);t.TabSet=e=>{let t,i,{node:c,layout:u,iconFactory:g,titleFactory:T,icons:E,path:b}=e,p=o.useRef(null),f=o.useRef(null),m=o.useRef(null),S=o.useRef(null),{selfRef:A,position:L,userControlledLeft:v,hiddenTabs:O,onMouseWheel:R,tabsTruncated:N}=(0,l.useTabOverflow)(c,d.Orientation.HORZ,p,S),y=e=>{u.doAction(r.Actions.selectTab(e.node.getId())),v.current=!1},D=e=>{if(!(0,_.isAuxMouseEvent)(e)){let t=c.getName();if(t=void 0===t?"":": "+t,u.doAction(r.Actions.setActiveTabset(c.getId())),!u.getEditingTab()){let i=u.i18nName(n.I18nLabel.Move_Tabset,t);void 0!==c.getModel().getMaximizedTabset()?u.dragStart(e,i,c,!1,e=>void 0,M):u.dragStart(e,i,c,c.isEnableDrag(),e=>void 0,M)}}},B=e=>{(0,_.isAuxMouseEvent)(e)&&u.auxMouseClick(c,e)},C=e=>{u.showContextMenu(c,e)},w=e=>{e.stopPropagation()},M=e=>{c.canMaximize()&&u.maximize(c)},I=u.getClassName;null!==m.current&&0!==m.current.scrollLeft&&(m.current.scrollLeft=0);let x=c.getSelectedNode(),U=c._styleWithPosition();void 0===c.getModel().getMaximizedTabset()||c.isMaximized()||(0,_.hideElement)(U,c.getModel().isUseVisibility());let F=[];if(c.isEnableTabStrip())for(let e=0;e0&&(N||W?Y=[...P,...Y]:F.push(o.createElement("div",{ref:S,key:"sticky_buttons_container",onMouseDown:w,onTouchStart:w,onDragStart:e=>{e.preventDefault()},className:I(h.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_STICKY_BUTTONS_CONTAINER)},P))),O.length>0){let e,t=u.i18nName(n.I18nLabel.Overflow_Menu_Tooltip);e="function"==typeof E.more?E.more(c,O):o.createElement(o.Fragment,null,E.more,o.createElement("div",{className:I(h.CLASSES.FLEXLAYOUT__TAB_BUTTON_OVERFLOW_COUNT)},O.length)),Y.splice(Math.min(X.overflowPosition,Y.length),0,o.createElement("button",{key:"overflowbutton","data-layout-path":b+"/button/overflow",ref:f,className:I(h.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+I(h.CLASSES.FLEXLAYOUT__TAB_BUTTON_OVERFLOW),title:t,onClick:e=>{let t=u.getShowOverflowMenu();if(void 0!==t)t(c,e,O,y);else{let e=f.current;(0,s.showPopup)(e,O,y,u,g,T)}e.stopPropagation()},onMouseDown:w,onTouchStart:w},e))}if(void 0!==x&&u.isSupportsPopout()&&x.isEnableFloat()&&!x.isFloating()){let e=u.i18nName(n.I18nLabel.Float_Tab);Y.push(o.createElement("button",{key:"float","data-layout-path":b+"/button/float",title:e,className:I(h.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+I(h.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_FLOAT),onClick:e=>{void 0!==x&&u.doAction(r.Actions.floatTab(x.getId())),e.stopPropagation()},onMouseDown:w,onTouchStart:w},"function"==typeof E.popout?E.popout(x):E.popout))}if(c.canMaximize()){let e=u.i18nName(n.I18nLabel.Restore),t=u.i18nName(n.I18nLabel.Maximize);(z?H:Y).push(o.createElement("button",{key:"max","data-layout-path":b+"/button/max",title:c.isMaximized()?e:t,className:I(h.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+I(h.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_+(c.isMaximized()?"max":"min")),onClick:e=>{c.canMaximize()&&u.maximize(c),e.stopPropagation()},onMouseDown:w,onTouchStart:w},c.isMaximized()?"function"==typeof E.restore?E.restore(c):E.restore:"function"==typeof E.maximize?E.maximize(c):E.maximize))}if(!c.isMaximized()&&G){let e=W?u.i18nName(n.I18nLabel.Close_Tab):u.i18nName(n.I18nLabel.Close_Tabset);(z?H:Y).push(o.createElement("button",{key:"close","data-layout-path":b+"/button/close",title:e,className:I(h.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+I(h.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_CLOSE),onClick:W?e=>{u.doAction(r.Actions.deleteTab(c.getChildren()[0].getId())),e.stopPropagation()}:e=>{u.doAction(r.Actions.deleteTabset(c.getId())),e.stopPropagation()},onMouseDown:w,onTouchStart:w},"function"==typeof E.closeTabset?E.closeTabset(c):E.closeTabset))}let j=o.createElement("div",{key:"toolbar",ref:p,className:I(h.CLASSES.FLEXLAYOUT__TAB_TOOLBAR),onMouseDown:w,onTouchStart:w,onDragStart:e=>{e.preventDefault()}},Y),V=I(h.CLASSES.FLEXLAYOUT__TABSET_TABBAR_OUTER);if(void 0!==c.getClassNameTabStrip()&&(V+=" "+c.getClassNameTabStrip()),V+=" "+h.CLASSES.FLEXLAYOUT__TABSET_TABBAR_OUTER_+c.getTabLocation(),c.isActive()&&!z&&(V+=" "+I(h.CLASSES.FLEXLAYOUT__TABSET_SELECTED)),c.isMaximized()&&!z&&(V+=" "+I(h.CLASSES.FLEXLAYOUT__TABSET_MAXIMIZED)),W){let e=c.getChildren()[0];void 0!==e.getTabSetClassName()&&(V+=" "+e.getTabSetClassName())}if(z){let e=o.createElement("div",{key:"toolbar",ref:p,className:I(h.CLASSES.FLEXLAYOUT__TAB_TOOLBAR),onMouseDown:w,onTouchStart:w,onDragStart:e=>{e.preventDefault()}},H),i=I(h.CLASSES.FLEXLAYOUT__TABSET_HEADER);c.isActive()&&(i+=" "+I(h.CLASSES.FLEXLAYOUT__TABSET_SELECTED)),c.isMaximized()&&(i+=" "+I(h.CLASSES.FLEXLAYOUT__TABSET_MAXIMIZED)),void 0!==c.getClassNameHeader()&&(i+=" "+c.getClassNameHeader()),t=o.createElement("div",{className:i,style:{height:c.getHeaderHeight()+"px"},"data-layout-path":b+"/header",onMouseDown:D,onContextMenu:C,onClick:B,onAuxClick:B,onTouchStart:D},o.createElement("div",{className:I(h.CLASSES.FLEXLAYOUT__TABSET_HEADER_CONTENT)},k),e)}let J={height:c.getTabStripHeight()+"px"};i=o.createElement("div",{className:V,style:J,"data-layout-path":b+"/tabstrip",onMouseDown:D,onContextMenu:C,onClick:B,onAuxClick:B,onTouchStart:D},o.createElement("div",{ref:m,className:I(h.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER)+" "+I(h.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER_+c.getTabLocation())},o.createElement("div",{style:{left:L,width:W?"100%":"10000px"},className:I(h.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER)+" "+I(h.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER_+c.getTabLocation())},F)),j),U=u.styleFont(U);var Z,K=void 0;if(0===c.getChildren().length){let e=u.getTabSetPlaceHolderCallback();e&&(K=e(c))}let $=o.createElement("div",{className:I(h.CLASSES.FLEXLAYOUT__TABSET_CONTENT)},K);return Z="top"===c.getTabLocation()?o.createElement(o.Fragment,null,t,i,$):o.createElement(o.Fragment,null,t,$,i),o.createElement("div",{ref:A,dir:"ltr","data-layout-path":b,style:U,className:I(h.CLASSES.FLEXLAYOUT__TABSET),onWheel:R},Z)}},14592:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.isAuxMouseEvent=t.hideElement=t.getRenderStateEx=void 0;let o=i(81004);t.getRenderStateEx=function(e,t,i,n,r){let s=i?i(t):void 0,a=t.getName(),l=t.getName();if(void 0===r&&(r=0),void 0!==n){let e=n(t);void 0!==e&&("string"==typeof e?(a=e,l=e):void 0!==e.titleContent?(a=e.titleContent,l=e.name):a=e)}void 0===s&&void 0!==t.getIcon()&&(s=0!==r?o.createElement("img",{style:{width:"1em",height:"1em",transform:"rotate("+r+"deg)"},src:t.getIcon(),alt:"leadingContent"}):o.createElement("img",{style:{width:"1em",height:"1em"},src:t.getIcon(),alt:"leadingContent"}));let d={leading:s,content:a,name:l,buttons:[]};return e.customizeTab(t,d),t._setRenderedName(d.name),d},t.hideElement=function(e,t){t?e.visibility="hidden":e.display="none"},t.isAuxMouseEvent=function(e){let t=!1;return e.nativeEvent instanceof MouseEvent&&(0!==e.nativeEvent.button||e.ctrlKey||e.altKey||e.metaKey||e.shiftKey)&&(t=!0),t}}}]); \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5435.f7ef0649.js.LICENSE.txt b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5435.f7ef0649.js.LICENSE.txt deleted file mode 100644 index 8693fb8316..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5435.f7ef0649.js.LICENSE.txt +++ /dev/null @@ -1,13 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5639.5ee87fc3.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5639.5ee87fc3.js deleted file mode 100644 index e1149a337b..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5639.5ee87fc3.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 5639.5ee87fc3.js.LICENSE.txt */ -"use strict";(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["5639"],{62243:function(O,e,r){r.r(e),r.d(e,{jsonLanguage:()=>o,jsonParseLinter:()=>Q,json:()=>i});var t=r(70080),a=r(26644);let P=(0,a.Gv)({String:a.pJ.string,Number:a.pJ.number,"True False":a.pJ.bool,PropertyName:a.pJ.propertyName,Null:a.pJ.null,", :":a.pJ.separator,"[ ]":a.pJ.squareBracket,"{ }":a.pJ.brace}),s=t.WQ.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:"#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",14,"["],["closedBy",8,"}",15,"]"]],propSources:[P],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0});var n=r(73015);let Q=()=>O=>{try{JSON.parse(O.state.doc.toString())}catch(P){var e,r;let t;if(!(P instanceof SyntaxError))throw P;let a=(e=P,r=O.state.doc,(t=e.message.match(/at position (\d+)/))?Math.min(+t[1],r.length):(t=e.message.match(/at line (\d+) column (\d+)/))?Math.min(r.line(+t[1]).from+ +t[2]-1,r.length):0);return[{from:a,message:P.message,severity:"error",to:a}]}return[]},o=n.qp.define({name:"json",parser:s.configure({props:[n.uj.add({Object:(0,n.tC)({except:/^\s*\}/}),Array:(0,n.tC)({except:/^\s*\]/})}),n.x0.add({"Object Array":n.Dv})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function i(){return new n.ri(o)}}}]); \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5639.5ee87fc3.js.LICENSE.txt b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5639.5ee87fc3.js.LICENSE.txt deleted file mode 100644 index 8693fb8316..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5639.5ee87fc3.js.LICENSE.txt +++ /dev/null @@ -1,13 +0,0 @@ -/*! - * - * /** - * * This source file is available under the terms of the - * * Pimcore Open Core License (POCL) - * * Full copyright and license information is available in - * * LICENSE.md which is distributed with this source code. - * * - * * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com) - * * @license Pimcore Open Core License (POCL) - * * / - * - */ \ No newline at end of file diff --git a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5853.e0681c6c.js b/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5853.e0681c6c.js deleted file mode 100644 index 162e0d1b49..0000000000 --- a/public/build/73e92824-314e-4a6f-b440-9ee968401a6e/static/js/async/5853.e0681c6c.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 5853.e0681c6c.js.LICENSE.txt */ -"use strict";(self.webpackChunkpimcore_studio_ui_bundle=self.webpackChunkpimcore_studio_ui_bundle||[]).push([["5853"],{10417:function(e,t,r){r.r(t),r.d(t,{useSearchParams:()=>rx,matchPath:()=>O,createHashRouter:()=>rt,useViewTransitionState:()=>rO,useRoutes:()=>td,UNSAFE_NavigationContext:()=>e5,UNSAFE_useRouteId:()=>tS,unstable_HistoryRouter:()=>rp,useNavigationType:()=>tr,redirect:()=>Q,isRouteErrorResponse:()=>er,NavigationType:()=>c,useMatches:()=>tC,Router:()=>tH,useRouteError:()=>tk,Link:()=>ry,createPath:()=>C,resolvePath:()=>B,useBeforeUnload:()=>rj,createRoutesFromChildren:()=>tq,NavLink:()=>rg,useSubmit:()=>rD,renderMatches:()=>tX,createBrowserRouter:()=>re,ScrollRestoration:()=>rw,useFetcher:()=>rk,generatePath:()=>M,AbortedDeferredError:()=>q,Outlet:()=>tI,useFormAction:()=>rL,MemoryRouter:()=>tN,Form:()=>rb,HashRouter:()=>rf,Navigate:()=>tB,RouterProvider:()=>rc,createMemoryRouter:()=>tQ,UNSAFE_DataRouterStateContext:()=>e4,useHref:()=>e9,useBlocker:()=>tU,useLinkClickHandler:()=>rR,Await:()=>t$,createSearchParams:()=>t4,replace:()=>ee,parsePath:()=>P,defer:()=>G,json:()=>Y,BrowserRouter:()=>rh,matchRoutes:()=>_,useAsyncValue:()=>t_,useAsyncError:()=>tA,useLocation:()=>tt,UNSAFE_RouteContext:()=>e6,UNSAFE_FetchersContext:()=>ra,useNavigate:()=>to,useParams:()=>tu,useResolvedPath:()=>tc,Routes:()=>tW,UNSAFE_ViewTransitionContext:()=>rn,useActionData:()=>tL,useOutlet:()=>ts,useRevalidator:()=>tx,UNSAFE_ErrorResponseImpl:()=>et,UNSAFE_LocationContext:()=>e3,UNSAFE_useScrollRestoration:()=>rU,createRoutesFromElements:()=>tq,redirectDocument:()=>Z,unstable_usePrompt:()=>rM,useMatch:()=>tn,useRouteLoaderData:()=>tD,useFetchers:()=>r_,UNSAFE_DataRouterContext:()=>e7,useLoaderData:()=>tP,Route:()=>tz,useInRouterContext:()=>te,useNavigation:()=>tR,useOutletContext:()=>tl});var n,a,o,i,l,s,u,c,d,h,f,p=r(81004),m=r(3859);function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;tu(e,"string"==typeof e?null:e.state,0===t?"default":void 0));let o=s(null==n?t.length-1:n),i=c.Pop,l=null;function s(e){return Math.min(Math.max(e,0),t.length-1)}function u(e,r,n){void 0===r&&(r=null);let a=x(t?t[o].pathname:"/",e,r,n);return S("/"===a.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),a}function d(e){return"string"==typeof e?e:C(e)}return{get index(){return o},get action(){return i},get location(){return t[o]},createHref:d,createURL:e=>new URL(d(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?P(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,r){i=c.Push;let n=u(e,r);o+=1,t.splice(o,t.length,n),a&&l&&l({action:i,location:n,delta:1})},replace(e,r){i=c.Replace;let n=u(e,r);t[o]=n,a&&l&&l({action:i,location:n,delta:0})},go(e){i=c.Pop;let r=s(o+e),n=t[r];o=r,l&&l({action:i,location:n,delta:e})},listen:e=>(l=e,()=>{l=null})}}function b(e){return void 0===e&&(e={}),D(function(e,t){let{pathname:r,search:n,hash:a}=e.location;return x("",{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:C(t)},null,e)}function w(e){return void 0===e&&(e={}),D(function(e,t){let{pathname:r="/",search:n="",hash:a=""}=P(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),x("",{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"==typeof t?t:C(t))},function(e,t){S("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},e)}function E(e,t){if(!1===e||null==e)throw Error(t)}function S(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw Error(t)}catch(e){}}}function R(e,t){return{usr:e.state,key:e.key,idx:t}}function x(e,t,r,n){return void 0===r&&(r=null),v({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?P(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function C(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function P(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function D(e,t,r,n){void 0===n&&(n={});let{window:a=document.defaultView,v5Compat:o=!1}=n,i=a.history,l=c.Pop,s=null,u=d();function d(){return(i.state||{idx:null}).idx}function h(){l=c.Pop;let e=d(),t=null==e?null:e-u;u=e,s&&s({action:l,location:p.location,delta:t})}function f(e){let t="null"!==a.location.origin?a.location.origin:a.location.href,r="string"==typeof e?e:C(e);return E(t,"No window.location.(origin|href) available to create URL for href: "+(r=r.replace(/ $/,"%20"))),new URL(r,t)}null==u&&(u=0,i.replaceState(v({},i.state,{idx:u}),""));let p={get action(){return l},get location(){return e(a,i)},listen(e){if(s)throw Error("A history only accepts one active listener");return a.addEventListener(y,h),s=e,()=>{a.removeEventListener(y,h),s=null}},createHref:e=>t(a,e),createURL:f,encodeLocation(e){let t=f(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){l=c.Push;let n=x(p.location,e,t);r&&r(n,e);let h=R(n,u=d()+1),f=p.createHref(n);try{i.pushState(h,"",f)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;a.location.assign(f)}o&&s&&s({action:l,location:p.location,delta:1})},replace:function(e,t){l=c.Replace;let n=x(p.location,e,t);r&&r(n,e);let a=R(n,u=d()),h=p.createHref(n);i.replaceState(a,"",h),o&&s&&s({action:l,location:p.location,delta:0})},go:e=>i.go(e)};return p}(a=d||(d={})).data="data",a.deferred="deferred",a.redirect="redirect",a.error="error";let L=new Set(["lazy","caseSensitive","path","id","index","children"]);function k(e,t,r,n){return void 0===r&&(r=[]),void 0===n&&(n={}),e.map((e,a)=>{let o=[...r,String(a)],i="string"==typeof e.id?e.id:o.join("-");if(E(!0!==e.index||!e.children,"Cannot specify children on an index route"),E(!n[i],'Found a route id collision on id "'+i+"\". Route id's must be globally unique within Data Router usages"),!0===e.index){let r=v({},e,t(e),{id:i});return n[i]=r,r}{let r=v({},e,t(e),{id:i,children:void 0});return n[i]=r,e.children&&(r.children=k(e.children,t,o,n)),r}})}function _(e,t,r){return void 0===r&&(r="/"),A(e,t,r,!1)}function A(e,t,r,n){let a=N(("string"==typeof t?P(t):t).pathname||"/",r);if(null==a)return null;let o=function e(t,r,n,a){void 0===r&&(r=[]),void 0===n&&(n=[]),void 0===a&&(a="");let o=(t,o,i)=>{var l,s;let u,c,d={relativePath:void 0===i?t.path||"":i,caseSensitive:!0===t.caseSensitive,childrenIndex:o,route:t};d.relativePath.startsWith("/")&&(E(d.relativePath.startsWith(a),'Absolute route path "'+d.relativePath+'" nested under path "'+a+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),d.relativePath=d.relativePath.slice(a.length));let h=$([a,d.relativePath]),f=n.concat(d);t.children&&t.children.length>0&&(E(!0!==t.index,'Index routes must not have child routes. Please remove all child routes from route path "'+h+'".'),e(t.children,r,f,h)),(null!=t.path||t.index)&&r.push({path:h,score:(l=h,s=t.index,c=(u=l.split("/")).length,u.some(j)&&(c+=-2),s&&(c+=2),u.filter(e=>!j(e)).reduce((e,t)=>e+(U.test(t)?3:""===t?1:10),c)),routesMeta:f})};return t.forEach((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of function e(t){let r=t.split("/");if(0===r.length)return[];let[n,...a]=r,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===a.length)return o?[i,""]:[i];let l=e(a.join("/")),s=[];return s.push(...l.map(e=>""===e?i:[i,e].join("/"))),o&&s.push(...l),s.map(e=>t.startsWith("/")&&""===e?"/":e)}(e.path))o(e,t,r);else o(e,t)}),r}(e);o.sort((e,t)=>{var r,n;return e.score!==t.score?t.score-e.score:(r=e.routesMeta.map(e=>e.childrenIndex),n=t.routesMeta.map(e=>e.childrenIndex),r.length===n.length&&r.slice(0,-1).every((e,t)=>e===n[t])?r[r.length-1]-n[n.length-1]:0)});let i=null;for(let e=0;null==i&&e"*"===e;function M(e,t){void 0===t&&(t={});let r=e;r.endsWith("*")&&"*"!==r&&!r.endsWith("/*")&&(S(!1,'Route path "'+r+'" will be treated as if it were "'+r.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+r.replace(/\*$/,"/*")+'".'),r=r.replace(/\*$/,"/*"));let n=r.startsWith("/")?"/":"",a=e=>null==e?"":"string"==typeof e?e:String(e);return n+r.split(/\/+/).map((e,r,n)=>{if(r===n.length-1&&"*"===e)return a(t["*"]);let o=e.match(/^:([\w-]+)(\??)$/);if(o){let[,e,r]=o,n=t[e];return E("?"===r||null!=n,'Missing ":'+e+'" param'),a(n)}return e.replace(/\?$/g,"")}).filter(e=>!!e).join("/")}function O(e,t){var r,n,a;let o,i;"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[l,s]=(r=e.path,n=e.caseSensitive,a=e.end,void 0===n&&(n=!1),void 0===a&&(a=!0),S("*"===r||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were "'+r.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+r.replace(/\*$/,"/*")+'".'),o=[],i="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,r)=>(o.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")),r.endsWith("*")?(o.push({paramName:"*"}),i+="*"===r||"/*"===r?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?i+="\\/*$":""!==r&&"/"!==r&&(i+="(?:(?=\\/|$))"),[new RegExp(i,n?void 0:"i"),o]),u=t.match(l);if(!u)return null;let c=u[0],d=c.replace(/(.)\/+$/,"$1"),h=u.slice(1);return{params:s.reduce((e,t,r)=>{let{paramName:n,isOptional:a}=t;if("*"===n){let e=h[r]||"";d=c.slice(0,c.length-e.length).replace(/(.)\/+$/,"$1")}let o=h[r];return a&&!o?e[n]=void 0:e[n]=(o||"").replace(/%2F/g,"/"),e},{}),pathname:c,pathnameBase:d,pattern:e}}function F(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return S(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function N(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function B(e,t){var r;let n;void 0===t&&(t="/");let{pathname:a,search:o="",hash:i=""}="string"==typeof e?P(e):e;return{pathname:a?a.startsWith("/")?a:(r=a,n=t.replace(/\/+$/,"").split("/"),r.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"):t,search:J(o),hash:K(i)}}function I(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field [")+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function z(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function H(e,t){let r=z(e);return t?r.map((e,t)=>t===r.length-1?e.pathname:e.pathnameBase):r.map(e=>e.pathnameBase)}function W(e,t,r,n){let a,o;void 0===n&&(n=!1),"string"==typeof e?a=P(e):(E(!(a=v({},e)).pathname||!a.pathname.includes("?"),I("?","pathname","search",a)),E(!a.pathname||!a.pathname.includes("#"),I("#","pathname","hash",a)),E(!a.search||!a.search.includes("#"),I("#","search","hash",a)));let i=""===e||""===a.pathname,l=i?"/":a.pathname;if(null==l)o=r;else{let e=t.length-1;if(!n&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let s=B(a,o),u=l&&"/"!==l&&l.endsWith("/"),c=(i||"."===l)&&r.endsWith("/");return!s.pathname.endsWith("/")&&(u||c)&&(s.pathname+="/"),s}let $=e=>e.join("/").replace(/\/\/+/g,"/"),V=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),J=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",K=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",Y=function(e,t){void 0===t&&(t={});let r="number"==typeof t?{status:t}:t,n=new Headers(r.headers);return n.has("Content-Type")||n.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),v({},r,{headers:n}))};class q extends Error{}class X{constructor(e,t){let r;this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],E(e&&"object"==typeof e&&!Array.isArray(e),"defer() only accepts plain objects"),this.abortPromise=new Promise((e,t)=>r=t),this.controller=new AbortController;let n=()=>r(new q("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",n),this.controller.signal.addEventListener("abort",n),this.data=Object.entries(e).reduce((e,t)=>{let[r,n]=t;return Object.assign(e,{[r]:this.trackPromise(r,n)})},{}),this.done&&this.unlistenAbortSignal(),this.init=t}trackPromise(e,t){if(!(t instanceof Promise))return t;this.deferredKeys.push(e),this.pendingKeysSet.add(e);let r=Promise.race([t,this.abortPromise]).then(t=>this.onSettle(r,e,void 0,t),t=>this.onSettle(r,e,t));return r.catch(()=>{}),Object.defineProperty(r,"_tracked",{get:()=>!0}),r}onSettle(e,t,r,n){if(this.controller.signal.aborted&&r instanceof q)return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:()=>r}),Promise.reject(r);if(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),void 0===r&&void 0===n){let r=Error('Deferred data for key "'+t+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(e,"_error",{get:()=>r}),this.emit(!1,t),Promise.reject(r)}return void 0===n?(Object.defineProperty(e,"_error",{get:()=>r}),this.emit(!1,t),Promise.reject(r)):(Object.defineProperty(e,"_data",{get:()=>n}),this.emit(!1,t),n)}emit(e,t){this.subscribers.forEach(r=>r(e,t))}subscribe(e){return this.subscribers.add(e),()=>this.subscribers.delete(e)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((e,t)=>this.pendingKeysSet.delete(t)),this.emit(!0)}async resolveData(e){let t=!1;if(!this.done){let r=()=>this.cancel();e.addEventListener("abort",r),t=await new Promise(t=>{this.subscribe(n=>{e.removeEventListener("abort",r),(n||this.done)&&t(n)})})}return t}get done(){return 0===this.pendingKeysSet.size}get unwrappedData(){return E(null!==this.data&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((e,t)=>{let[r,n]=t;return Object.assign(e,{[r]:function(e){if(!(e instanceof Promise&&!0===e._tracked))return e;if(e._error)throw e._error;return e._data}(n)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}let G=function(e,t){return void 0===t&&(t={}),new X(e,"number"==typeof t?{status:t}:t)},Q=function(e,t){void 0===t&&(t=302);let r=t;"number"==typeof r?r={status:r}:void 0===r.status&&(r.status=302);let n=new Headers(r.headers);return n.set("Location",e),new Response(null,v({},r,{headers:n}))},Z=(e,t)=>{let r=Q(e,t);return r.headers.set("X-Remix-Reload-Document","true"),r},ee=(e,t)=>{let r=Q(e,t);return r.headers.set("X-Remix-Replace","true"),r};class et{constructor(e,t,r,n){void 0===n&&(n=!1),this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function er(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}let en=["post","put","patch","delete"],ea=new Set(en),eo=new Set(["get",...en]),ei=new Set([301,302,303,307,308]),el=new Set([307,308]),es={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},eu={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ec={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},ed=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,eh=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),ef="remix-router-transitions";function ep(e){let t,r,n,a,o,i,l=e.window?e.window:"undefined"!=typeof window?window:void 0,s=void 0!==l&&void 0!==l.document&&void 0!==l.document.createElement,u=!s;if(E(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)t=e.mapRouteProperties;else if(e.detectErrorBoundary){let r=e.detectErrorBoundary;t=e=>({hasErrorBoundary:r(e)})}else t=eh;let h={},f=k(e.routes,t,void 0,h),p=e.basename||"/",m=e.dataStrategy||ex,y=e.patchRoutesOnNavigation,g=v({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),b=null,w=new Set,R=null,C=null,P=null,D=null!=e.hydrationData,L=_(f,e.history.location,p),U=!1,j=null;if(null==L&&!y){let t=eF(404,{pathname:e.history.location.pathname}),{matches:r,route:n}=eO(f);L=r,j={[n.id]:t}}if(L&&!e.hydrationData&&to(L,f,e.history.location.pathname).active&&(L=null),L)if(L.some(e=>e.route.lazy))n=!1;else if(L.some(e=>e.route.loader))if(g.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,r=e.hydrationData?e.hydrationData.errors:null;if(r){let e=L.findIndex(e=>void 0!==r[e.route.id]);n=L.slice(0,e+1).every(e=>!eb(e.route,t,r))}else n=L.every(e=>!eb(e.route,t,r))}else n=null!=e.hydrationData;else n=!0;else if(n=!1,L=[],g.v7_partialHydration){let t=to(null,f,e.history.location.pathname);t.active&&t.matches&&(U=!0,L=t.matches)}let M={historyAction:e.history.action,location:e.history.location,matches:L,initialized:n,navigation:es,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||j,fetchers:new Map,blockers:new Map},O=c.Pop,F=!1,B=!1,I=new Map,z=null,H=!1,W=!1,$=[],V=new Set,J=new Map,K=0,Y=-1,q=new Map,X=new Set,G=new Map,Q=new Map,Z=new Set,ee=new Map,et=new Map;function en(e,t){void 0===t&&(t={}),M=v({},M,e);let r=[],n=[];g.v7_fetcherPersist&&M.fetchers.forEach((e,t)=>{"idle"===e.state&&(Z.has(t)?n.push(t):r.push(t))}),Z.forEach(e=>{M.fetchers.has(e)||J.has(e)||n.push(e)}),[...w].forEach(e=>e(M,{deletedFetchers:n,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync})),g.v7_fetcherPersist?(r.forEach(e=>M.fetchers.delete(e)),n.forEach(e=>e4(e))):n.forEach(e=>Z.delete(e))}function ea(t,n,a){var o,i;let l,s,{flushSync:u}=void 0===a?{}:a,d=null!=M.actionData&&null!=M.navigation.formMethod&&eV(M.navigation.formMethod)&&"loading"===M.navigation.state&&(null==(o=t.state)?void 0:o._isRedirect)!==!0;l=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:d?M.actionData:null;let h=n.loaderData?eU(M.loaderData,n.loaderData,n.matches||[],n.errors):M.loaderData,p=M.blockers;p.size>0&&(p=new Map(p)).forEach((e,t)=>p.set(t,ec));let m=!0===F||null!=M.navigation.formMethod&&eV(M.navigation.formMethod)&&(null==(i=t.state)?void 0:i._isRedirect)!==!0;if(r&&(f=r,r=void 0),H||O===c.Pop||(O===c.Push?e.history.push(t,t.state):O===c.Replace&&e.history.replace(t,t.state)),O===c.Pop){let e=I.get(M.location.pathname);e&&e.has(t.pathname)?s={currentLocation:M.location,nextLocation:t}:I.has(t.pathname)&&(s={currentLocation:t,nextLocation:M.location})}else if(B){let e=I.get(M.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),I.set(M.location.pathname,e)),s={currentLocation:M.location,nextLocation:t}}en(v({},n,{actionData:l,loaderData:h,historyAction:O,location:t,initialized:!0,navigation:es,revalidation:"idle",restoreScrollPosition:ta(t,n.matches||M.matches),preventScrollReset:m,blockers:p}),{viewTransitionOpts:s,flushSync:!0===u}),O=c.Pop,F=!1,B=!1,H=!1,W=!1,$=[]}async function eo(t,r){if("number"==typeof t)return void e.history.go(t);let n=em(M.location,M.matches,p,g.v7_prependBasename,t,g.v7_relativeSplatPath,null==r?void 0:r.fromRouteId,null==r?void 0:r.relative),{path:a,submission:o,error:i}=ev(g.v7_normalizeFormMethod,!1,n,r),l=M.location,s=x(M.location,a,r&&r.state);s=v({},s,e.history.encodeLocation(s));let u=r&&null!=r.replace?r.replace:void 0,d=c.Push;!0===u?d=c.Replace:!1===u||null!=o&&eV(o.formMethod)&&o.formAction===M.location.pathname+M.location.search&&(d=c.Replace);let h=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,f=!0===(r&&r.flushSync),m=te({currentLocation:l,nextLocation:s,historyAction:d});return m?void e9(m,{state:"blocked",location:s,proceed(){e9(m,{state:"proceeding",proceed:void 0,reset:void 0,location:s}),eo(t,r)},reset(){let e=new Map(M.blockers);e.set(m,ec),en({blockers:e})}}):await ep(d,s,{submission:o,pendingError:i,preventScrollReset:h,replace:r&&r.replace,enableViewTransition:r&&r.viewTransition,flushSync:f})}async function ep(t,n,a){var i,l,s,u;let c;o&&o.abort(),o=null,O=t,H=!0===(a&&a.startUninterruptedRevalidation),i=M.location,l=M.matches,R&&P&&(R[tn(i,l)]=P()),F=!0===(a&&a.preventScrollReset),B=!0===(a&&a.enableViewTransition);let h=r||f,m=a&&a.overrideNavigation,y=null!=a&&a.initialHydration&&M.matches&&M.matches.length>0&&!U?M.matches:_(h,n,p),g=!0===(a&&a.flushSync);if(y&&M.initialized&&!W&&(s=M.location,u=n,s.pathname===u.pathname&&s.search===u.search&&(""===s.hash?""!==u.hash:s.hash===u.hash||""!==u.hash||!1))&&!(a&&a.submission&&eV(a.submission.formMethod)))return void ea(n,{matches:y},{flushSync:g});let b=to(y,h,n.pathname);if(b.active&&b.matches&&(y=b.matches),!y){let{error:e,notFoundMatches:t,route:r}=tt(n.pathname);ea(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:g});return}o=new AbortController;let w=ek(e.history,n,o.signal,a&&a.submission);if(a&&a.pendingError)c=[eM(y).route.id,{type:d.error,error:a.pendingError}];else if(a&&a.submission&&eV(a.submission.formMethod)){let t=await ey(w,n,a.submission,y,b.active,{replace:a.replace,flushSync:g});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(ez(r)&&er(r.error)&&404===r.error.status){o=null,ea(n,{matches:t.matches,loaderData:{},errors:{[e]:r.error}});return}}y=t.matches||y,c=t.pendingActionResult,m=eQ(n,a.submission),g=!1,b.active=!1,w=ek(e.history,w.url,w.signal)}let{shortCircuited:E,matches:S,loaderData:x,errors:C}=await ew(w,n,y,b.active,m,a&&a.submission,a&&a.fetcherSubmission,a&&a.replace,a&&!0===a.initialHydration,g,c);E||(o=null,ea(n,v({matches:S||y},ej(c),{loaderData:x,errors:C})))}async function ey(e,t,r,n,a,o){var i;let l;if(void 0===o&&(o={}),eW(),en({navigation:{state:"submitting",location:t,formMethod:(i=r).formMethod,formAction:i.formAction,formEncType:i.formEncType,formData:i.formData,json:i.json,text:i.text}},{flushSync:!0===o.flushSync}),a){let r=await ti(n,t.pathname,e.signal);if("aborted"===r.type)return{shortCircuited:!0};if("error"===r.type){let e=eM(r.partialMatches).route.id;return{matches:r.partialMatches,pendingActionResult:[e,{type:d.error,error:r.error}]}}if(r.matches)n=r.matches;else{let{notFoundMatches:e,error:r,route:n}=tt(t.pathname);return{matches:e,pendingActionResult:[n.id,{type:d.error,error:r}]}}}let s=eX(n,t);if(s.route.action||s.route.lazy){if(l=(await eA("action",M,e,[s],n,null))[s.route.id],e.signal.aborted)return{shortCircuited:!0}}else l={type:d.error,error:eF(405,{method:e.method,pathname:t.pathname,routeId:s.route.id})};if(eH(l)){let t;return t=o&&null!=o.replace?o.replace:eL(l.response.headers.get("Location"),new URL(e.url),p)===M.location.pathname+M.location.search,await e_(e,l,!0,{submission:r,replace:t}),{shortCircuited:!0}}if(eI(l))throw eF(400,{type:"defer-action"});if(ez(l)){let e=eM(n,s.route.id);return!0!==(o&&o.replace)&&(O=c.Push),{matches:n,pendingActionResult:[e.route.id,l]}}return{matches:n,pendingActionResult:[s.route.id,l]}}async function ew(t,n,a,i,l,s,u,c,d,h,m){let y=l||eQ(n,s),b=s||u||eG(y),w=!H&&(!g.v7_partialHydration||!d);if(i){if(w){let e=eE(m);en(v({navigation:y},void 0!==e?{actionData:e}:{}),{flushSync:h})}let e=await ti(a,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=eM(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(e.matches)a=e.matches;else{let{error:e,notFoundMatches:t,route:r}=tt(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}}let E=r||f,[S,R]=eg(e.history,M,a,b,n,g.v7_partialHydration&&!0===d,g.v7_skipActionErrorRevalidation,W,$,V,Z,G,X,E,p,m);if(tr(e=>!(a&&a.some(t=>t.route.id===e))||S&&S.some(t=>t.route.id===e)),Y=++K,0===S.length&&0===R.length){let e=e3();return ea(n,v({matches:a,loaderData:{},errors:m&&ez(m[1])?{[m[0]]:m[1].error}:null},ej(m),e?{fetchers:new Map(M.fetchers)}:{}),{flushSync:h}),{shortCircuited:!0}}if(w){let e={};if(!i){e.navigation=y;let t=eE(m);void 0!==t&&(e.actionData=t)}R.length>0&&(R.forEach(e=>{let t=M.fetchers.get(e.key),r=eZ(void 0,t?t.data:void 0);M.fetchers.set(e.key,r)}),e.fetchers=new Map(M.fetchers)),en(e,{flushSync:h})}R.forEach(e=>{e2(e.key),e.controller&&J.set(e.key,e.controller)});let x=()=>R.forEach(e=>e2(e.key));o&&o.signal.addEventListener("abort",x);let{loaderResults:C,fetcherResults:P}=await eB(M,a,S,R,t);if(t.signal.aborted)return{shortCircuited:!0};o&&o.signal.removeEventListener("abort",x),R.forEach(e=>J.delete(e.key));let D=eN(C);if(D)return await e_(t,D.result,!0,{replace:c}),{shortCircuited:!0};if(D=eN(P))return X.add(D.key),await e_(t,D.result,!0,{replace:c}),{shortCircuited:!0};let{loaderData:L,errors:k}=eT(M,a,C,m,R,P,ee);ee.forEach((e,t)=>{e.subscribe(r=>{(r||e.done)&&ee.delete(t)})}),g.v7_partialHydration&&d&&M.errors&&(k=v({},M.errors,k));let _=e3(),A=e6(Y),T=_||A||R.length>0;return v({matches:a,loaderData:L,errors:k},T?{fetchers:new Map(M.fetchers)}:{})}function eE(e){if(e&&!ez(e[1]))return{[e[0]]:e[1].data};if(M.actionData)if(0===Object.keys(M.actionData).length)return null;else return M.actionData}async function eR(t,n,a,i,l,s,u,c,d){var h,m;function v(e){if(!e.route.action&&!e.route.lazy){let e=eF(405,{method:d.formMethod,pathname:a,routeId:n});return e1(t,n,e,{flushSync:u}),!0}return!1}if(eW(),G.delete(t),!s&&v(i))return;let y=M.fetchers.get(t);eq(t,(h=d,m=y,{state:"submitting",formMethod:h.formMethod,formAction:h.formAction,formEncType:h.formEncType,formData:h.formData,json:h.json,text:h.text,data:m?m.data:void 0}),{flushSync:u});let b=new AbortController,w=ek(e.history,a,b.signal,d);if(s){let e=await ti(l,new URL(w.url).pathname,w.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void e1(t,n,e.error,{flushSync:u});if(!e.matches)return void e1(t,n,eF(404,{pathname:a}),{flushSync:u});if(v(i=eX(l=e.matches,a)))return}J.set(t,b);let S=K,R=(await eA("action",M,w,[i],l,t))[i.route.id];if(w.signal.aborted){J.get(t)===b&&J.delete(t);return}if(g.v7_fetcherPersist&&Z.has(t)){if(eH(R)||ez(R))return void eq(t,e0(void 0))}else{if(eH(R))return(J.delete(t),Y>S)?void eq(t,e0(void 0)):(X.add(t),eq(t,eZ(d)),e_(w,R,!1,{fetcherSubmission:d,preventScrollReset:c}));if(ez(R))return void e1(t,n,R.error)}if(eI(R))throw eF(400,{type:"defer-action"});let x=M.navigation.location||M.location,C=ek(e.history,x,b.signal),P=r||f,D="idle"!==M.navigation.state?_(P,M.navigation.location,p):M.matches;E(D,"Didn't find any matches after fetcher action");let L=++K;q.set(t,L);let k=eZ(d,R.data);M.fetchers.set(t,k);let[A,T]=eg(e.history,M,D,d,x,!1,g.v7_skipActionErrorRevalidation,W,$,V,Z,G,X,P,p,[i.route.id,R]);T.filter(e=>e.key!==t).forEach(e=>{let t=e.key,r=M.fetchers.get(t),n=eZ(void 0,r?r.data:void 0);M.fetchers.set(t,n),e2(t),e.controller&&J.set(t,e.controller)}),en({fetchers:new Map(M.fetchers)});let U=()=>T.forEach(e=>e2(e.key));b.signal.addEventListener("abort",U);let{loaderResults:j,fetcherResults:F}=await eB(M,D,A,T,C);if(b.signal.aborted)return;b.signal.removeEventListener("abort",U),q.delete(t),J.delete(t),T.forEach(e=>J.delete(e.key));let N=eN(j);if(N)return e_(C,N.result,!1,{preventScrollReset:c});if(N=eN(F))return X.add(N.key),e_(C,N.result,!1,{preventScrollReset:c});let{loaderData:B,errors:I}=eT(M,D,j,void 0,T,F,ee);if(M.fetchers.has(t)){let e=e0(R.data);M.fetchers.set(t,e)}e6(L),"loading"===M.navigation.state&&L>Y?(E(O,"Expected pending action"),o&&o.abort(),ea(M.navigation.location,{matches:D,loaderData:B,errors:I,fetchers:new Map(M.fetchers)})):(en({errors:I,loaderData:eU(M.loaderData,B,D,I),fetchers:new Map(M.fetchers)}),W=!1)}async function eP(t,r,n,a,o,i,l,s,u){let c=M.fetchers.get(t);eq(t,eZ(u,c?c.data:void 0),{flushSync:l});let d=new AbortController,h=ek(e.history,n,d.signal);if(i){let e=await ti(o,new URL(h.url).pathname,h.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void e1(t,r,e.error,{flushSync:l});if(!e.matches)return void e1(t,r,eF(404,{pathname:n}),{flushSync:l});a=eX(o=e.matches,n)}J.set(t,d);let f=K,p=(await eA("loader",M,h,[a],o,t))[a.route.id];if(eI(p)&&(p=await eY(p,h.signal,!0)||p),J.get(t)===d&&J.delete(t),!h.signal.aborted){if(Z.has(t))return void eq(t,e0(void 0));if(eH(p))if(Y>f)return void eq(t,e0(void 0));else{X.add(t),await e_(h,p,!1,{preventScrollReset:s});return}if(ez(p))return void e1(t,r,p.error);E(!eI(p),"Unhandled fetcher deferred data"),eq(t,e0(p.data))}}async function e_(t,r,n,a){let{submission:i,fetcherSubmission:u,preventScrollReset:d,replace:h}=void 0===a?{}:a;r.response.headers.has("X-Remix-Revalidate")&&(W=!0);let f=r.response.headers.get("Location");E(f,"Expected a Location header on the redirect Response"),f=eL(f,new URL(t.url),p);let m=x(M.location,f,{_isRedirect:!0});if(s){let t=!1;if(r.response.headers.has("X-Remix-Reload-Document"))t=!0;else if(ed.test(f)){let r=e.history.createURL(f);t=r.origin!==l.location.origin||null==N(r.pathname,p)}if(t)return void(h?l.location.replace(f):l.location.assign(f))}o=null;let y=!0===h||r.response.headers.has("X-Remix-Replace")?c.Replace:c.Push,{formMethod:g,formAction:b,formEncType:w}=M.navigation;!i&&!u&&g&&b&&w&&(i=eG(M.navigation));let S=i||u;if(el.has(r.response.status)&&S&&eV(S.formMethod))await ep(y,m,{submission:v({},S,{formAction:f}),preventScrollReset:d||F,enableViewTransition:n?B:void 0});else{let e=eQ(m,i);await ep(y,m,{overrideNavigation:e,fetcherSubmission:u,preventScrollReset:d||F,enableViewTransition:n?B:void 0})}}async function eA(e,r,n,a,o,i){let l,s={};try{l=await eC(m,e,r,n,a,o,i,h,t)}catch(e){return a.forEach(t=>{s[t.route.id]={type:d.error,error:e}}),s}for(let[e,t]of Object.entries(l)){var u;if(e$((u=t).result)&&ei.has(u.result.status)){let r=t.result;s[e]={type:d.redirect,response:function(e,t,r,n,a,o){let i=e.headers.get("Location");if(E(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!ed.test(i)){let l=n.slice(0,n.findIndex(e=>e.route.id===r)+1);i=em(new URL(t.url),l,a,!0,i,o),e.headers.set("Location",i)}return e}(r,n,e,o,p,g.v7_relativeSplatPath)}}else s[e]=await eD(t)}return s}async function eB(t,r,n,a,o){let i=t.matches,l=eA("loader",t,o,n,r,null),s=Promise.all(a.map(async r=>{if(!r.matches||!r.match||!r.controller)return Promise.resolve({[r.key]:{type:d.error,error:eF(404,{pathname:r.path})}});{let n=(await eA("loader",t,ek(e.history,r.path,r.controller.signal),[r.match],r.matches,r.key))[r.match.route.id];return{[r.key]:n}}})),u=await l,c=(await s).reduce((e,t)=>Object.assign(e,t),{});return await Promise.all([eJ(r,u,o.signal,i,t.loaderData),eK(r,c,a)]),{loaderResults:u,fetcherResults:c}}function eW(){W=!0,$.push(...tr()),G.forEach((e,t)=>{J.has(t)&&V.add(t),e2(t)})}function eq(e,t,r){void 0===r&&(r={}),M.fetchers.set(e,t),en({fetchers:new Map(M.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function e1(e,t,r,n){void 0===n&&(n={});let a=eM(M.matches,t);e4(e),en({errors:{[a.route.id]:r},fetchers:new Map(M.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function e7(e){return Q.set(e,(Q.get(e)||0)+1),Z.has(e)&&Z.delete(e),M.fetchers.get(e)||eu}function e4(e){let t=M.fetchers.get(e);J.has(e)&&!(t&&"loading"===t.state&&q.has(e))&&e2(e),G.delete(e),q.delete(e),X.delete(e),g.v7_fetcherPersist&&Z.delete(e),V.delete(e),M.fetchers.delete(e)}function e2(e){let t=J.get(e);t&&(t.abort(),J.delete(e))}function e5(e){for(let t of e){let e=e0(e7(t).data);M.fetchers.set(t,e)}}function e3(){let e=[],t=!1;for(let r of X){let n=M.fetchers.get(r);E(n,"Expected fetcher: "+r),"loading"===n.state&&(X.delete(r),e.push(r),t=!0)}return e5(e),t}function e6(e){let t=[];for(let[r,n]of q)if(n0}function e8(e){M.blockers.delete(e),et.delete(e)}function e9(e,t){let r=M.blockers.get(e)||ec;E("unblocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"proceeding"===t.state||"blocked"===r.state&&"unblocked"===t.state||"proceeding"===r.state&&"unblocked"===t.state,"Invalid blocker state transition: "+r.state+" -> "+t.state);let n=new Map(M.blockers);n.set(e,t),en({blockers:n})}function te(e){let{currentLocation:t,nextLocation:r,historyAction:n}=e;if(0===et.size)return;et.size>1&&S(!1,"A router only supports one blocker at a time");let a=Array.from(et.entries()),[o,i]=a[a.length-1],l=M.blockers.get(o);if((!l||"proceeding"!==l.state)&&i({currentLocation:t,nextLocation:r,historyAction:n}))return o}function tt(e){let t=eF(404,{pathname:e}),{matches:n,route:a}=eO(r||f);return tr(),{notFoundMatches:n,route:a,error:t}}function tr(e){let t=[];return ee.forEach((r,n)=>{(!e||e(n))&&(r.cancel(),t.push(n),ee.delete(n))}),t}function tn(e,t){return C&&C(e,t.map(e=>T(e,M.loaderData)))||e.key}function ta(e,t){if(R){let r=R[tn(e,t)];if("number"==typeof r)return r}return null}function to(e,t,r){if(y){if(!e)return{active:!0,matches:A(t,r,p,!0)||[]};else if(Object.keys(e[0].params).length>0)return{active:!0,matches:A(t,r,p,!0)}}return{active:!1,matches:null}}async function ti(e,n,a,o){if(!y)return{type:"success",matches:e};let i=e;for(;;){let e=null==r,l=r||f,s=h;try{await y({signal:a,path:n,matches:i,fetcherKey:o,patch:(e,r)=>{a.aborted||eS(e,r,l,s,t)}})}catch(e){return{type:"error",error:e,partialMatches:i}}finally{e&&!a.aborted&&(f=[...f])}if(a.aborted)return{type:"aborted"};let u=_(l,n,p);if(u)return{type:"success",matches:u};let c=A(l,n,p,!0);if(!c||i.length===c.length&&i.every((e,t)=>e.route.id===c[t].route.id))return{type:"success",matches:null};i=c}}return a={get basename(){return p},get future(){return g},get state(){return M},get routes(){return f},get window(){return l},initialize:function(){if(b=e.history.listen(t=>{let{action:r,location:n,delta:a}=t;if(i){i(),i=void 0;return}S(0===et.size||null!=a,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let o=te({currentLocation:M.location,nextLocation:n,historyAction:r});if(o&&null!=a){let t=new Promise(e=>{i=e});e.history.go(-1*a),e9(o,{state:"blocked",location:n,proceed(){e9(o,{state:"proceeding",proceed:void 0,reset:void 0,location:n}),t.then(()=>e.history.go(a))},reset(){let e=new Map(M.blockers);e.set(o,ec),en({blockers:e})}});return}return ep(r,n)}),s){var t=l,r=I;try{let e=t.sessionStorage.getItem(ef);if(e){let t=JSON.parse(e);for(let[e,n]of Object.entries(t||{}))n&&Array.isArray(n)&&r.set(e,new Set(n||[]))}}catch(e){}let e=()=>(function(e,t){if(t.size>0){let r={};for(let[e,n]of t)r[e]=[...n];try{e.sessionStorage.setItem(ef,JSON.stringify(r))}catch(e){S(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}})(l,I);l.addEventListener("pagehide",e),z=()=>l.removeEventListener("pagehide",e)}return M.initialized||ep(c.Pop,M.location,{initialHydration:!0}),a},subscribe:function(e){return w.add(e),()=>w.delete(e)},enableScrollRestoration:function(e,t,r){if(R=e,P=t,C=r||null,!D&&M.navigation===es){D=!0;let e=ta(M.location,M.matches);null!=e&&en({restoreScrollPosition:e})}return()=>{R=null,P=null,C=null}},navigate:eo,fetch:function(e,t,n,a){if(u)throw Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");e2(e);let o=!0===(a&&a.flushSync),i=r||f,l=em(M.location,M.matches,p,g.v7_prependBasename,n,g.v7_relativeSplatPath,t,null==a?void 0:a.relative),s=_(i,l,p),c=to(s,i,l);if(c.active&&c.matches&&(s=c.matches),!s)return void e1(e,t,eF(404,{pathname:l}),{flushSync:o});let{path:d,submission:h,error:m}=ev(g.v7_normalizeFormMethod,!0,l,a);if(m)return void e1(e,t,m,{flushSync:o});let v=eX(s,d),y=!0===(a&&a.preventScrollReset);if(h&&eV(h.formMethod))return void eR(e,t,d,v,s,c.active,o,y,h);G.set(e,{routeId:t,path:d}),eP(e,t,d,v,s,c.active,o,y,h)},revalidate:function(){if(eW(),en({revalidation:"loading"}),"submitting"!==M.navigation.state){if("idle"===M.navigation.state)return void ep(M.historyAction,M.location,{startUninterruptedRevalidation:!0});ep(O||M.historyAction,M.navigation.location,{overrideNavigation:M.navigation,enableViewTransition:!0===B})}},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:e7,deleteFetcher:function(e){let t=(Q.get(e)||0)-1;t<=0?(Q.delete(e),Z.add(e),g.v7_fetcherPersist||e4(e)):Q.set(e,t),en({fetchers:new Map(M.fetchers)})},dispose:function(){b&&b(),z&&z(),w.clear(),o&&o.abort(),M.fetchers.forEach((e,t)=>e4(t)),M.blockers.forEach((e,t)=>e8(t))},getBlocker:function(e,t){let r=M.blockers.get(e)||ec;return et.get(e)!==t&&et.set(e,t),r},deleteBlocker:e8,patchRoutes:function(e,n){let a=null==r;eS(e,n,r||f,h,t),a&&(f=[...f],en({}))},_internalFetchControllers:J,_internalActiveDeferreds:ee,_internalSetRoutes:function(e){r=k(e,t,void 0,h={})}}}function em(e,t,r,n,a,o,i,l){let s,u;if(i){for(let e of(s=[],t))if(s.push(e),e.route.id===i){u=e;break}}else s=t,u=t[t.length-1];let c=W(a||".",H(s,o),N(e.pathname,r)||e.pathname,"path"===l);if(null==a&&(c.search=e.search,c.hash=e.hash),(null==a||""===a||"."===a)&&u){let e=eq(c.search);if(u.route.index&&!e)c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index";else if(!u.route.index&&e){let e=new URLSearchParams(c.search),t=e.getAll("index");e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let r=e.toString();c.search=r?"?"+r:""}}return n&&"/"!==r&&(c.pathname="/"===c.pathname?r:$([r,c.pathname])),C(c)}function ev(e,t,r,n){var a;let o,i;if(!n||!(null!=n&&("formData"in n&&null!=n.formData||"body"in n&&void 0!==n.body)))return{path:r};if(n.formMethod&&(a=n.formMethod,!eo.has(a.toLowerCase())))return{path:r,error:eF(405,{method:n.formMethod})};let l=()=>({path:r,error:eF(400,{type:"invalid-body"})}),s=n.formMethod||"get",u=e?s.toUpperCase():s.toLowerCase(),c=eB(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!eV(u))return l();let e="string"==typeof n.body?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((e,t)=>{let[r,n]=t;return""+e+r+"="+n+"\n"},""):String(n.body);return{path:r,submission:{formMethod:u,formAction:c,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}else if("application/json"===n.formEncType){if(!eV(u))return l();try{let e="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:u,formAction:c,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return l()}}}if(E("function"==typeof FormData,"FormData is not available in this environment"),n.formData)o=e_(n.formData),i=n.formData;else if(n.body instanceof FormData)o=e_(n.body),i=n.body;else if(n.body instanceof URLSearchParams)i=eA(o=n.body);else if(null==n.body)o=new URLSearchParams,i=new FormData;else try{o=new URLSearchParams(n.body),i=eA(o)}catch(e){return l()}let d={formMethod:u,formAction:c,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(eV(d.formMethod))return{path:r,submission:d};let h=P(r);return t&&h.search&&eq(h.search)&&o.append("index",""),h.search="?"+o,{path:C(h),submission:d}}function ey(e,t,r){void 0===r&&(r=!1);let n=e.findIndex(e=>e.route.id===t);return n>=0?e.slice(0,r?n+1:n):e}function eg(e,t,r,n,a,o,i,l,s,u,c,d,h,f,p,m){let y=m?ez(m[1])?m[1].error:m[1].data:void 0,g=e.createURL(t.location),b=e.createURL(a),w=r;o&&t.errors?w=ey(r,Object.keys(t.errors)[0],!0):m&&ez(m[1])&&(w=ey(r,m[0]));let E=m?m[1].statusCode:void 0,S=i&&E&&E>=400,R=w.filter((e,r)=>{var a,i,u;let c,d,{route:h}=e;if(h.lazy)return!0;if(null==h.loader)return!1;if(o)return eb(h,t.loaderData,t.errors);if(a=t.loaderData,i=t.matches[r],u=e,c=!i||u.route.id!==i.route.id,d=void 0===a[u.route.id],c||d||s.some(t=>t===e.route.id))return!0;let f=t.matches[r];return eE(e,v({currentUrl:g,currentParams:f.params,nextUrl:b,nextParams:e.params},n,{actionResult:y,actionStatus:E,defaultShouldRevalidate:!S&&(l||g.pathname+g.search===b.pathname+b.search||g.search!==b.search||ew(f,e))}))}),x=[];return d.forEach((e,a)=>{if(o||!r.some(t=>t.route.id===e.routeId)||c.has(a))return;let i=_(f,e.path,p);if(!i)return void x.push({key:a,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let s=t.fetchers.get(a),d=eX(i,e.path),m=!1;h.has(a)?m=!1:u.has(a)?(u.delete(a),m=!0):m=s&&"idle"!==s.state&&void 0===s.data?l:eE(d,v({currentUrl:g,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:r[r.length-1].params},n,{actionResult:y,actionStatus:E,defaultShouldRevalidate:!S&&l})),m&&x.push({key:a,routeId:e.routeId,path:e.path,matches:i,match:d,controller:new AbortController})}),[R,x]}function eb(e,t,r){if(e.lazy)return!0;if(!e.loader)return!1;let n=null!=t&&void 0!==t[e.id],a=null!=r&&void 0!==r[e.id];return(!!n||!a)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!n&&!a)}function ew(e,t){let r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function eE(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if("boolean"==typeof r)return r}return t.defaultShouldRevalidate}function eS(e,t,r,n,a){var o;let i;if(e){let t=n[e];E(t,"No route found to patch children into: routeId = "+e),t.children||(t.children=[]),i=t.children}else i=r;let l=k(t.filter(e=>!i.some(t=>(function e(t,r){return"id"in t&&"id"in r&&t.id===r.id||t.index===r.index&&t.path===r.path&&t.caseSensitive===r.caseSensitive&&((!t.children||0===t.children.length)&&(!r.children||0===r.children.length)||t.children.every((t,n)=>{var a;return null==(a=r.children)?void 0:a.some(r=>e(t,r))}))})(e,t))),a,[e||"_","patch",String((null==(o=i)?void 0:o.length)||"0")],n);i.push(...l)}async function eR(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let a=r[e.id];E(a,"No route found in manifest");let o={};for(let e in n){let t=void 0!==a[e]&&"hasErrorBoundary"!==e;S(!t,'Route "'+a.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||L.has(e)||(o[e]=n[e])}Object.assign(a,o),Object.assign(a,v({},t(a),{lazy:void 0}))}async function ex(e){let{matches:t}=e,r=t.filter(e=>e.shouldLoad);return(await Promise.all(r.map(e=>e.resolve()))).reduce((e,t,n)=>Object.assign(e,{[r[n].route.id]:t}),{})}async function eC(e,t,r,n,a,o,i,l,s,u){let c=o.map(e=>e.route.lazy?eR(e.route,s,l):void 0),h=o.map((e,r)=>{let o=c[r],i=a.some(t=>t.route.id===e.route.id),l=async r=>(r&&"GET"===n.method&&(e.route.lazy||e.route.loader)&&(i=!0),i?eP(t,n,e,o,r,u):Promise.resolve({type:d.data,result:void 0}));return v({},e,{shouldLoad:i,resolve:l})}),f=await e({matches:h,request:n,params:o[0].params,fetcherKey:i,context:u});try{await Promise.all(c)}catch(e){}return f}async function eP(e,t,r,n,a,o){let i,l,s=n=>{let i,s=new Promise((e,t)=>i=t);l=()=>i(),t.signal.addEventListener("abort",l);let u=a=>"function"!=typeof n?Promise.reject(Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: ')+r.route.id+"]")):n({request:t,params:r.params,context:o},...void 0!==a?[a]:[]);return Promise.race([(async()=>{try{let e=await (a?a(e=>u(e)):u());return{type:"data",result:e}}catch(e){return{type:"error",result:e}}})(),s])};try{let a=r.route[e];if(n)if(a){let e,[t]=await Promise.all([s(a).catch(t=>{e=t}),n]);if(void 0!==e)throw e;i=t}else if(await n,a=r.route[e])i=await s(a);else{if("action"!==e)return{type:d.data,result:void 0};let n=new URL(t.url),a=n.pathname+n.search;throw eF(405,{method:t.method,pathname:a,routeId:r.route.id})}else if(a)i=await s(a);else{let e=new URL(t.url),r=e.pathname+e.search;throw eF(404,{pathname:r})}E(void 0!==i.result,"You defined "+("action"===e?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `")+e+"` function. Please return a value or `null`.")}catch(e){return{type:d.error,result:e}}finally{l&&t.signal.removeEventListener("abort",l)}return i}async function eD(e){var t,r,n,a,o,i,l,s,u;let{result:c,type:h}=e;if(e$(c)){let e;try{let t=c.headers.get("Content-Type");e=t&&/\bapplication\/json\b/.test(t)?null==c.body?null:await c.json():await c.text()}catch(e){return{type:d.error,error:e}}return h===d.error?{type:d.error,error:new et(c.status,c.statusText,e),statusCode:c.status,headers:c.headers}:{type:d.data,data:e,statusCode:c.status,headers:c.headers}}if(h===d.error)return eW(c)?c.data instanceof Error?{type:d.error,error:c.data,statusCode:null==(n=c.init)?void 0:n.status,headers:null!=(a=c.init)&&a.headers?new Headers(c.init.headers):void 0}:{type:d.error,error:new et((null==(t=c.init)?void 0:t.status)||500,void 0,c.data),statusCode:er(c)?c.status:void 0,headers:null!=(r=c.init)&&r.headers?new Headers(c.init.headers):void 0}:{type:d.error,error:c,statusCode:er(c)?c.status:void 0};return(u=c)&&"object"==typeof u&&"object"==typeof u.data&&"function"==typeof u.subscribe&&"function"==typeof u.cancel&&"function"==typeof u.resolveData?{type:d.deferred,deferredData:c,statusCode:null==(o=c.init)?void 0:o.status,headers:(null==(i=c.init)?void 0:i.headers)&&new Headers(c.init.headers)}:eW(c)?{type:d.data,data:c.data,statusCode:null==(l=c.init)?void 0:l.status,headers:null!=(s=c.init)&&s.headers?new Headers(c.init.headers):void 0}:{type:d.data,data:c}}function eL(e,t,r){if(ed.test(e)){let n=new URL(e.startsWith("//")?t.protocol+e:e),a=null!=N(n.pathname,r);if(n.origin===t.origin&&a)return n.pathname+n.search+n.hash}return e}function ek(e,t,r,n){let a=e.createURL(eB(t)).toString(),o={signal:r};if(n&&eV(n.formMethod)){let{formMethod:e,formEncType:t}=n;o.method=e.toUpperCase(),"application/json"===t?(o.headers=new Headers({"Content-Type":t}),o.body=JSON.stringify(n.json)):"text/plain"===t?o.body=n.text:"application/x-www-form-urlencoded"===t&&n.formData?o.body=e_(n.formData):o.body=n.formData}return new Request(a,o)}function e_(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,"string"==typeof n?n:n.name);return t}function eA(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function eT(e,t,r,n,a,o,i){let l,s,u,c,d,h,{loaderData:f,errors:p}=(s={},u=null,c=!1,d={},h=n&&ez(n[1])?n[1].error:void 0,t.forEach(e=>{if(!(e.route.id in r))return;let n=e.route.id,a=r[n];if(E(!eH(a),"Cannot handle redirect results in processLoaderData"),ez(a)){let e=a.error;void 0!==h&&(e=h,h=void 0),u=u||{},1;{let r=eM(t,n);null==u[r.route.id]&&(u[r.route.id]=e)}s[n]=void 0,c||(c=!0,l=er(a.error)?a.error.status:500),a.headers&&(d[n]=a.headers)}else eI(a)?(i.set(n,a.deferredData),s[n]=a.deferredData.data,null==a.statusCode||200===a.statusCode||c||(l=a.statusCode)):(s[n]=a.data,a.statusCode&&200!==a.statusCode&&!c&&(l=a.statusCode)),a.headers&&(d[n]=a.headers)}),void 0!==h&&n&&(u={[n[0]]:h},s[n[0]]=void 0),{loaderData:s,errors:u,statusCode:l||200,loaderHeaders:d});return a.forEach(t=>{let{key:r,match:n,controller:a}=t,i=o[r];if(E(i,"Did not find corresponding fetcher result"),!a||!a.signal.aborted)if(ez(i)){let t=eM(e.matches,null==n?void 0:n.route.id);p&&p[t.route.id]||(p=v({},p,{[t.route.id]:i.error})),e.fetchers.delete(r)}else if(eH(i))E(!1,"Unhandled fetcher revalidation redirect");else if(eI(i))E(!1,"Unhandled fetcher deferred data");else{let t=e0(i.data);e.fetchers.set(r,t)}}),{loaderData:f,errors:p}}function eU(e,t,r,n){let a=v({},t);for(let o of r){let r=o.route.id;if(t.hasOwnProperty(r)?void 0!==t[r]&&(a[r]=t[r]):void 0!==e[r]&&o.route.loader&&(a[r]=e[r]),n&&n.hasOwnProperty(r))break}return a}function ej(e){return e?ez(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function eM(e,t){return(t?e.slice(0,e.findIndex(e=>e.route.id===t)+1):[...e]).reverse().find(e=>!0===e.route.hasErrorBoundary)||e[0]}function eO(e){let t=1===e.length?e[0]:e.find(e=>e.index||!e.path||"/"===e.path)||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function eF(e,t){let{pathname:r,routeId:n,method:a,type:o,message:i}=void 0===t?{}:t,l="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(l="Bad Request",a&&r&&n?s="You made a "+a+' request to "'+r+'" but did not provide a `loader` for route "'+n+'", so there is no way to handle the request.':"defer-action"===o?s="defer() is not supported in actions":"invalid-body"===o&&(s="Unable to encode submission body")):403===e?(l="Forbidden",s='Route "'+n+'" does not match URL "'+r+'"'):404===e?(l="Not Found",s='No route matches URL "'+r+'"'):405===e&&(l="Method Not Allowed",a&&r&&n?s="You made a "+a.toUpperCase()+' request to "'+r+'" but did not provide an `action` for route "'+n+'", so there is no way to handle the request.':a&&(s='Invalid request method "'+a.toUpperCase()+'"')),new et(e||500,l,Error(s),!0)}function eN(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[r,n]=t[e];if(eH(n))return{key:r,result:n}}}function eB(e){let t="string"==typeof e?P(e):e;return C(v({},t,{hash:""}))}function eI(e){return e.type===d.deferred}function ez(e){return e.type===d.error}function eH(e){return(e&&e.type)===d.redirect}function eW(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function e$(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function eV(e){return ea.has(e.toLowerCase())}async function eJ(e,t,r,n,a){let o=Object.entries(t);for(let i=0;i(null==e?void 0:e.route.id)===l);if(!u)continue;let c=n.find(e=>e.route.id===u.route.id),d=null!=c&&!ew(c,u)&&(a&&a[u.route.id])!==void 0;eI(s)&&d&&await eY(s,r,!1).then(e=>{e&&(t[l]=e)})}}async function eK(e,t,r){for(let n=0;n(null==e?void 0:e.route.id)===o)&&eI(l)&&(E(i,"Expected an AbortController for revalidating fetcher deferred result"),await eY(l,i.signal,!0).then(e=>{e&&(t[a]=e)}))}}async function eY(e,t,r){if(void 0===r&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:d.data,data:e.deferredData.unwrappedData}}catch(e){return{type:d.error,error:e}}return{type:d.data,data:e.deferredData.data}}}function eq(e){return new URLSearchParams(e).getAll("index").some(e=>""===e)}function eX(e,t){let r="string"==typeof t?P(t).search:t.search;if(e[e.length-1].route.index&&eq(r||""))return e[e.length-1];let n=z(e);return n[n.length-1]}function eG(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:o,json:i}=e;if(t&&r&&n){if(null!=a)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a};else if(null!=o)return{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};else if(void 0!==i)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}}}function eQ(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function eZ(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function e0(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function e1(){return(e1=Object.assign?Object.assign.bind():function(e){for(var t=1;tO(e,F(t)),[t,e])}function ta(e){p.useContext(e5).static||p.useLayoutEffect(e)}function to(){let{isDataRoute:e}=p.useContext(e6);return e?function(){let{router:e}=tb(ty.UseNavigateStable),t=tE(tg.UseNavigateStable),r=p.useRef(!1);return ta(()=>{r.current=!0}),p.useCallback(function(n,a){void 0===a&&(a={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,e1({fromRouteId:t},a)))},[e,t])}():function(){te()||E(!1);let e=p.useContext(e7),{basename:t,future:r,navigator:n}=p.useContext(e5),{matches:a}=p.useContext(e6),{pathname:o}=tt(),i=JSON.stringify(H(a,r.v7_relativeSplatPath)),l=p.useRef(!1);return ta(()=>{l.current=!0}),p.useCallback(function(r,a){if(void 0===a&&(a={}),!l.current)return;if("number"==typeof r)return void n.go(r);let s=W(r,JSON.parse(i),o,"path"===a.relative);null==e&&"/"!==t&&(s.pathname="/"===s.pathname?t:$([t,s.pathname])),(a.replace?n.replace:n.push)(s,a.state,a)},[t,n,i,o,e])}()}let ti=p.createContext(null);function tl(){return p.useContext(ti)}function ts(e){let t=p.useContext(e6).outlet;return t?p.createElement(ti.Provider,{value:e},t):t}function tu(){let{matches:e}=p.useContext(e6),t=e[e.length-1];return t?t.params:{}}function tc(e,t){let{relative:r}=void 0===t?{}:t,{future:n}=p.useContext(e5),{matches:a}=p.useContext(e6),{pathname:o}=tt(),i=JSON.stringify(H(a,n.v7_relativeSplatPath));return p.useMemo(()=>W(e,JSON.parse(i),o,"path"===r),[e,i,o,r])}function td(e,t){return th(e,t)}function th(e,t,r,n){let a;te()||E(!1);let{navigator:o}=p.useContext(e5),{matches:i}=p.useContext(e6),l=i[i.length-1],s=l?l.params:{};l&&l.pathname;let u=l?l.pathnameBase:"/";l&&l.route;let d=tt();if(t){var h;let e="string"==typeof t?P(t):t;"/"===u||(null==(h=e.pathname)?void 0:h.startsWith(u))||E(!1),a=e}else a=d;let f=a.pathname||"/",m=f;if("/"!==u){let e=u.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(e.length).join("/")}let v=_(e,{pathname:m}),y=tv(v&&v.map(e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:$([u,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:$([u,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),i,r,n);return t&&y?p.createElement(e3.Provider,{value:{location:e1({pathname:"/",search:"",hash:"",state:null,key:"default"},a),navigationType:c.Pop}},y):y}let tf=p.createElement(function(){let e=tk(),t=er(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null;return p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},t),r?p.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},r):null,null)},null);class tp extends p.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?p.createElement(e6.Provider,{value:this.props.routeContext},p.createElement(e8.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function tm(e){let{routeContext:t,match:r,children:n}=e,a=p.useContext(e7);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),p.createElement(e6.Provider,{value:t},n)}function tv(e,t,r,n){var a,o;if(void 0===t&&(t=[]),void 0===r&&(r=null),void 0===n&&(n=null),null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(null==(o=n)||!o.v7_partialHydration||0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let i=e,l=null==(a=r)?void 0:a.errors;if(null!=l){let e=i.findIndex(e=>e.route.id&&(null==l?void 0:l[e.route.id])!==void 0);e>=0||E(!1),i=i.slice(0,Math.min(i.length,e+1))}let s=!1,u=-1;if(r&&n&&n.v7_partialHydration)for(let e=0;e=0?i.slice(0,u+1):[i[0]];break}}}return i.reduceRight((e,n,a)=>{var o,c;let d,h=!1,f=null,m=null;r&&(d=l&&n.route.id?l[n.route.id]:void 0,f=n.route.errorElement||tf,s&&(u<0&&0===a?(o="route-fallback",c=0,tj[o]||(tj[o]=!0),h=!0,m=null):u===a&&(h=!0,m=n.route.hydrateFallbackElement||null)));let v=t.concat(i.slice(0,a+1)),y=()=>{let t;return t=d?f:h?m:n.route.Component?p.createElement(n.route.Component,null):n.route.element?n.route.element:e,p.createElement(tm,{match:n,routeContext:{outlet:e,matches:v,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===a)?p.createElement(tp,{location:r.location,revalidation:r.revalidation,component:f,error:d,children:y(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):y()},null)}var ty=((o=ty||{}).UseBlocker="useBlocker",o.UseRevalidator="useRevalidator",o.UseNavigateStable="useNavigate",o),tg=((i=tg||{}).UseBlocker="useBlocker",i.UseLoaderData="useLoaderData",i.UseActionData="useActionData",i.UseRouteError="useRouteError",i.UseNavigation="useNavigation",i.UseRouteLoaderData="useRouteLoaderData",i.UseMatches="useMatches",i.UseRevalidator="useRevalidator",i.UseNavigateStable="useNavigate",i.UseRouteId="useRouteId",i);function tb(e){let t=p.useContext(e7);return t||E(!1),t}function tw(e){let t=p.useContext(e4);return t||E(!1),t}function tE(e){let t,r=((t=p.useContext(e6))||E(!1),t),n=r.matches[r.matches.length-1];return n.route.id||E(!1),n.route.id}function tS(){return tE(tg.UseRouteId)}function tR(){return tw(tg.UseNavigation).navigation}function tx(){let e=tb(ty.UseRevalidator),t=tw(tg.UseRevalidator);return p.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])}function tC(){let{matches:e,loaderData:t}=tw(tg.UseMatches);return p.useMemo(()=>e.map(e=>T(e,t)),[e,t])}function tP(){let e=tw(tg.UseLoaderData),t=tE(tg.UseLoaderData);return e.errors&&null!=e.errors[t]?void console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")"):e.loaderData[t]}function tD(e){return tw(tg.UseRouteLoaderData).loaderData[e]}function tL(){let e=tw(tg.UseActionData),t=tE(tg.UseLoaderData);return e.actionData?e.actionData[t]:void 0}function tk(){var e;let t=p.useContext(e8),r=tw(tg.UseRouteError),n=tE(tg.UseRouteError);return void 0!==t?t:null==(e=r.errors)?void 0:e[n]}function t_(){let e=p.useContext(e2);return null==e?void 0:e._data}function tA(){let e=p.useContext(e2);return null==e?void 0:e._error}let tT=0;function tU(e){let{router:t,basename:r}=tb(ty.UseBlocker),n=tw(tg.UseBlocker),[a,o]=p.useState(""),i=p.useCallback(t=>{if("function"!=typeof e)return!!e;if("/"===r)return e(t);let{currentLocation:n,nextLocation:a,historyAction:o}=t;return e({currentLocation:e1({},n,{pathname:N(n.pathname,r)||n.pathname}),nextLocation:e1({},a,{pathname:N(a.pathname,r)||a.pathname}),historyAction:o})},[r,e]);return p.useEffect(()=>{let e=String(++tT);return o(e),()=>t.deleteBlocker(e)},[t]),p.useEffect(()=>{""!==a&&t.getBlocker(a,i)},[t,a,i]),a&&n.blockers.has(a)?n.blockers.get(a):ec}let tj={},tM=(e,t,r)=>{};function tO(e,t){(null==e?void 0:e.v7_startTransition)===void 0&&tM("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(null==e?void 0:e.v7_relativeSplatPath)!==void 0||t&&void 0!==t.v7_relativeSplatPath||tM("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(void 0===t.v7_fetcherPersist&&tM("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),void 0===t.v7_normalizeFormMethod&&tM("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),void 0===t.v7_partialHydration&&tM("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),void 0===t.v7_skipActionErrorRevalidation&&tM("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}let tF=p.startTransition;function tN(e){let{basename:t,children:r,initialEntries:n,initialIndex:a,future:o}=e,i=p.useRef();null==i.current&&(i.current=g({initialEntries:n,initialIndex:a,v5Compat:!0}));let l=i.current,[s,u]=p.useState({action:l.action,location:l.location}),{v7_startTransition:c}=o||{},d=p.useCallback(e=>{c&&tF?tF(()=>u(e)):u(e)},[u,c]);return p.useLayoutEffect(()=>l.listen(d),[l,d]),p.useEffect(()=>tO(o),[o]),p.createElement(tH,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:l,future:o})}function tB(e){let{to:t,replace:r,state:n,relative:a}=e;te()||E(!1);let{future:o,static:i}=p.useContext(e5),{matches:l}=p.useContext(e6),{pathname:s}=tt(),u=to(),c=JSON.stringify(W(t,H(l,o.v7_relativeSplatPath),s,"path"===a));return p.useEffect(()=>u(JSON.parse(c),{replace:r,state:n,relative:a}),[u,c,a,r,n]),null}function tI(e){return ts(e.context)}function tz(e){E(!1)}function tH(e){let{basename:t="/",children:r=null,location:n,navigationType:a=c.Pop,navigator:o,static:i=!1,future:l}=e;te()&&E(!1);let s=t.replace(/^\/*/,"/"),u=p.useMemo(()=>({basename:s,navigator:o,static:i,future:e1({v7_relativeSplatPath:!1},l)}),[s,l,o,i]);"string"==typeof n&&(n=P(n));let{pathname:d="/",search:h="",hash:f="",state:m=null,key:v="default"}=n,y=p.useMemo(()=>{let e=N(d,s);return null==e?null:{location:{pathname:e,search:h,hash:f,state:m,key:v},navigationType:a}},[s,d,h,f,m,v,a]);return null==y?null:p.createElement(e5.Provider,{value:u},p.createElement(e3.Provider,{children:r,value:y}))}function tW(e){let{children:t,location:r}=e;return th(tq(t),r)}function t$(e){let{children:t,errorElement:r,resolve:n}=e;return p.createElement(tK,{resolve:n,errorElement:r},p.createElement(tY,null,t))}var tV=((l=tV||{})[l.pending=0]="pending",l[l.success=1]="success",l[l.error=2]="error",l);let tJ=new Promise(()=>{});class tK extends p.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error(" caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:r}=this.props,n=null,a=tV.pending;if(r instanceof Promise)if(this.state.error){a=tV.error;let e=this.state.error;Object.defineProperty(n=Promise.reject().catch(()=>{}),"_tracked",{get:()=>!0}),Object.defineProperty(n,"_error",{get:()=>e})}else r._tracked?a="_error"in(n=r)?tV.error:"_data"in n?tV.success:tV.pending:(a=tV.pending,Object.defineProperty(r,"_tracked",{get:()=>!0}),n=r.then(e=>Object.defineProperty(r,"_data",{get:()=>e}),e=>Object.defineProperty(r,"_error",{get:()=>e})));else a=tV.success,Object.defineProperty(n=Promise.resolve(),"_tracked",{get:()=>!0}),Object.defineProperty(n,"_data",{get:()=>r});if(a===tV.error&&n._error instanceof q)throw tJ;if(a===tV.error&&!t)throw n._error;if(a===tV.error)return p.createElement(e2.Provider,{value:n,children:t});if(a===tV.success)return p.createElement(e2.Provider,{value:n,children:e});throw n}}function tY(e){let{children:t}=e,r=t_(),n="function"==typeof t?t(r):t;return p.createElement(p.Fragment,null,n)}function tq(e,t){void 0===t&&(t=[]);let r=[];return p.Children.forEach(e,(e,n)=>{if(!p.isValidElement(e))return;let a=[...t,n];if(e.type===p.Fragment)return void r.push.apply(r,tq(e.props.children,a));e.type!==tz&&E(!1),e.props.index&&e.props.children&&E(!1);let o={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=tq(e.props.children,a)),r.push(o)}),r}function tX(e){return tv(e)}function tG(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:p.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:p.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:p.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function tQ(e,t){return ep({basename:null==t?void 0:t.basename,future:e1({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:g({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:tG,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()}function tZ(){return(tZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[r]=e[r]);return a}let t1="application/x-www-form-urlencoded";function t7(e){return null!=e&&"string"==typeof e.tagName}function t4(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(e=>[r,e]):[[r,n]])},[]))}let t2=null,t5=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function t3(e){return null==e||t5.has(e)?e:null}let t6=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],t8=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],t9=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(e){}function re(e,t){return ep({basename:null==t?void 0:t.basename,future:tZ({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:b({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||rr(),routes:e,mapRouteProperties:tG,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function rt(e,t){return ep({basename:null==t?void 0:t.basename,future:tZ({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:w({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||rr(),routes:e,mapRouteProperties:tG,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function rr(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=tZ({},t,{errors:function(e){if(!e)return null;let t=Object.entries(e),r={};for(let[e,n]of t)if(n&&"RouteErrorResponse"===n.__type)r[e]=new et(n.status,n.statusText,n.data,!0===n.internal);else if(n&&"Error"===n.__type){if(n.__subType){let t=window[n.__subType];if("function"==typeof t)try{let a=new t(n.message);a.stack="",r[e]=a}catch(e){}}if(null==r[e]){let t=Error(n.message);t.stack="",r[e]=t}}else r[e]=n;return r}(t.errors)})),t}let rn=p.createContext({isTransitioning:!1}),ra=p.createContext(new Map),ro=p.startTransition,ri=m.flushSync,rl=p.useId;function rs(e){ri?ri(e):e()}class ru{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}})}}function rc(e){let{fallbackElement:t,router:r,future:n}=e,[a,o]=p.useState(r.state),[i,l]=p.useState(),[s,u]=p.useState({isTransitioning:!1}),[c,d]=p.useState(),[h,f]=p.useState(),[m,v]=p.useState(),y=p.useRef(new Map),{v7_startTransition:g}=n||{},b=p.useCallback(e=>{if(g)ro?ro(e):e();else e()},[g]),w=p.useCallback((e,t)=>{let{deletedFetchers:n,flushSync:a,viewTransitionOpts:i}=t;e.fetchers.forEach((e,t)=>{void 0!==e.data&&y.current.set(t,e.data)}),n.forEach(e=>y.current.delete(e));let s=null==r.window||null==r.window.document||"function"!=typeof r.window.document.startViewTransition;if(!i||s)return void(a?rs(()=>o(e)):b(()=>o(e)));if(a){rs(()=>{h&&(c&&c.resolve(),h.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:i.currentLocation,nextLocation:i.nextLocation})});let t=r.window.document.startViewTransition(()=>{rs(()=>o(e))});t.finished.finally(()=>{rs(()=>{d(void 0),f(void 0),l(void 0),u({isTransitioning:!1})})}),rs(()=>f(t));return}h?(c&&c.resolve(),h.skipTransition(),v({state:e,currentLocation:i.currentLocation,nextLocation:i.nextLocation})):(l(e),u({isTransitioning:!0,flushSync:!1,currentLocation:i.currentLocation,nextLocation:i.nextLocation}))},[r.window,h,c,y,b]);p.useLayoutEffect(()=>r.subscribe(w),[r,w]),p.useEffect(()=>{s.isTransitioning&&!s.flushSync&&d(new ru)},[s]),p.useEffect(()=>{if(c&&i&&r.window){let e=c.promise,t=r.window.document.startViewTransition(async()=>{b(()=>o(i)),await e});t.finished.finally(()=>{d(void 0),f(void 0),l(void 0),u({isTransitioning:!1})}),f(t)}},[b,i,c,r.window]),p.useEffect(()=>{c&&i&&a.location.key===i.location.key&&c.resolve()},[c,h,a.location,i]),p.useEffect(()=>{!s.isTransitioning&&m&&(l(m.state),u({isTransitioning:!0,flushSync:!1,currentLocation:m.currentLocation,nextLocation:m.nextLocation}),v(void 0))},[s.isTransitioning,m]),p.useEffect(()=>{},[]);let E=p.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:e=>r.navigate(e),push:(e,t,n)=>r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset}),replace:(e,t,n)=>r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})}),[r]),S=r.basename||"/",R=p.useMemo(()=>({router:r,navigator:E,static:!1,basename:S}),[r,E,S]),x=p.useMemo(()=>({v7_relativeSplatPath:r.future.v7_relativeSplatPath}),[r.future.v7_relativeSplatPath]);return p.useEffect(()=>tO(n,r.future),[n,r.future]),p.createElement(p.Fragment,null,p.createElement(e7.Provider,{value:R},p.createElement(e4.Provider,{value:a},p.createElement(ra.Provider,{value:y.current},p.createElement(rn.Provider,{value:s},p.createElement(tH,{basename:S,location:a.location,navigationType:a.historyAction,navigator:E,future:x},a.initialized||r.future.v7_partialHydration?p.createElement(rd,{routes:r.routes,future:r.future,state:a}):t))))),null)}let rd=p.memo(function(e){let{routes:t,future:r,state:n}=e;return th(t,void 0,n,r)});function rh(e){let{basename:t,children:r,future:n,window:a}=e,o=p.useRef();null==o.current&&(o.current=b({window:a,v5Compat:!0}));let i=o.current,[l,s]=p.useState({action:i.action,location:i.location}),{v7_startTransition:u}=n||{},c=p.useCallback(e=>{u&&ro?ro(()=>s(e)):s(e)},[s,u]);return p.useLayoutEffect(()=>i.listen(c),[i,c]),p.useEffect(()=>tO(n),[n]),p.createElement(tH,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:i,future:n})}function rf(e){let{basename:t,children:r,future:n,window:a}=e,o=p.useRef();null==o.current&&(o.current=w({window:a,v5Compat:!0}));let i=o.current,[l,s]=p.useState({action:i.action,location:i.location}),{v7_startTransition:u}=n||{},c=p.useCallback(e=>{u&&ro?ro(()=>s(e)):s(e)},[s,u]);return p.useLayoutEffect(()=>i.listen(c),[i,c]),p.useEffect(()=>tO(n),[n]),p.createElement(tH,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:i,future:n})}function rp(e){let{basename:t,children:r,future:n,history:a}=e,[o,i]=p.useState({action:a.action,location:a.location}),{v7_startTransition:l}=n||{},s=p.useCallback(e=>{l&&ro?ro(()=>i(e)):i(e)},[i,l]);return p.useLayoutEffect(()=>a.listen(s),[a,s]),p.useEffect(()=>tO(n),[n]),p.createElement(tH,{basename:t,children:r,location:o.location,navigationType:o.action,navigator:a,future:n})}let rm="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,rv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ry=p.forwardRef(function(e,t){let r,{onClick:n,relative:a,reloadDocument:o,replace:i,state:l,target:s,to:u,preventScrollReset:c,viewTransition:d}=e,h=t0(e,t6),{basename:f}=p.useContext(e5),m=!1;if("string"==typeof u&&rv.test(u)&&(r=u,rm))try{let e=new URL(window.location.href),t=new URL(u.startsWith("//")?e.protocol+u:u),r=N(t.pathname,f);t.origin===e.origin&&null!=r?u=r+t.search+t.hash:m=!0}catch(e){}let v=e9(u,{relative:a}),y=rR(u,{replace:i,state:l,target:s,preventScrollReset:c,relative:a,viewTransition:d});return p.createElement("a",tZ({},h,{href:r||v,onClick:m||o?n:function(e){n&&n(e),e.defaultPrevented||y(e)},ref:t,target:s}))}),rg=p.forwardRef(function(e,t){let r,{"aria-current":n="page",caseSensitive:a=!1,className:o="",end:i=!1,style:l,to:s,viewTransition:u,children:c}=e,d=t0(e,t8),h=tc(s,{relative:d.relative}),f=tt(),m=p.useContext(e4),{navigator:v,basename:y}=p.useContext(e5),g=null!=m&&rO(h)&&!0===u,b=v.encodeLocation?v.encodeLocation(h).pathname:h.pathname,w=f.pathname,E=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;a||(w=w.toLowerCase(),E=E?E.toLowerCase():null,b=b.toLowerCase()),E&&y&&(E=N(E,y)||E);let S="/"!==b&&b.endsWith("/")?b.length-1:b.length,R=w===b||!i&&w.startsWith(b)&&"/"===w.charAt(S),x=null!=E&&(E===b||!i&&E.startsWith(b)&&"/"===E.charAt(b.length)),C={isActive:R,isPending:x,isTransitioning:g},P=R?n:void 0;r="function"==typeof o?o(C):[o,R?"active":null,x?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let D="function"==typeof l?l(C):l;return p.createElement(ry,tZ({},d,{"aria-current":P,className:r,ref:t,style:D,to:s,viewTransition:u}),"function"==typeof c?c(C):c)}),rb=p.forwardRef((e,t)=>{let{fetcherKey:r,navigate:n,reloadDocument:a,replace:o,state:i,method:l="get",action:s,onSubmit:u,relative:c,preventScrollReset:d,viewTransition:h}=e,f=t0(e,t9),m=rD(),v=rL(s,{relative:c}),y="get"===l.toLowerCase()?"get":"post";return p.createElement("form",tZ({ref:t,method:y,action:v,onSubmit:a?u:e=>{if(u&&u(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,a=(null==t?void 0:t.getAttribute("formmethod"))||l;m(t||e.currentTarget,{fetcherKey:r,method:a,navigate:n,replace:o,state:i,relative:c,preventScrollReset:d,viewTransition:h})}},f))});function rw(e){let{getKey:t,storageKey:r}=e;return rU({getKey:t,storageKey:r}),null}function rE(e){let t=p.useContext(e7);return t||E(!1),t}function rS(e){let t=p.useContext(e4);return t||E(!1),t}function rR(e,t){let{target:r,replace:n,state:a,preventScrollReset:o,relative:i,viewTransition:l}=void 0===t?{}:t,s=to(),u=tt(),c=tc(e,{relative:i});return p.useCallback(t=>{0!==t.button||r&&"_self"!==r||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),s(e,{replace:void 0!==n?n:C(u)===C(c),state:a,preventScrollReset:o,relative:i,viewTransition:l}))},[u,s,c,n,a,r,e,o,i,l])}function rx(e){let t=p.useRef(t4(e)),r=p.useRef(!1),n=tt(),a=p.useMemo(()=>{var e,a;let o;return e=n.search,a=r.current?null:t.current,o=t4(e),a&&a.forEach((e,t)=>{o.has(t)||a.getAll(t).forEach(e=>{o.append(t,e)})}),o},[n.search]),o=to(),i=p.useCallback((e,t)=>{let n=t4("function"==typeof e?e(a):e);r.current=!0,o("?"+n,t)},[o,a]);return[a,i]}(s=h||(h={})).UseScrollRestoration="useScrollRestoration",s.UseSubmit="useSubmit",s.UseSubmitFetcher="useSubmitFetcher",s.UseFetcher="useFetcher",s.useViewTransitionState="useViewTransitionState",(u=f||(f={})).UseFetcher="useFetcher",u.UseFetchers="useFetchers",u.UseScrollRestoration="useScrollRestoration";let rC=0,rP=()=>"__"+String(++rC)+"__";function rD(){let{router:e}=rE(h.UseSubmit),{basename:t}=p.useContext(e5),r=tS();return p.useCallback(function(n,a){if(void 0===a&&(a={}),"undefined"==typeof document)throw Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.");let{action:o,method:i,encType:l,formData:s,body:u}=function(e,t){let r,n,a,o,i;if(t7(e)&&"form"===e.tagName.toLowerCase()){let i=e.getAttribute("action");n=i?N(i,t):null,r=e.getAttribute("method")||"get",a=t3(e.getAttribute("enctype"))||t1,o=new FormData(e)}else if(t7(e)&&"button"===e.tagName.toLowerCase()||t7(e)&&"input"===e.tagName.toLowerCase()&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw Error('Cannot submit a