diff --git a/assets/build/api/docs.jsonopenapi.json b/assets/build/api/docs.jsonopenapi.json index c47c968da..7c97eef92 100644 --- a/assets/build/api/docs.jsonopenapi.json +++ b/assets/build/api/docs.jsonopenapi.json @@ -1 +1 @@ -{"openapi":"3.0.0","info":{"title":"Studio Backend API","description":"API for Studio generated by OpenApi Generator via zircote\/swagger-php","license":{"name":"GNU General Public License version 3 \u0026 Pimcore Commercial License","url":"https:\/\/www.pimcore.org\/license"},"version":"0.0.1"},"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\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}\/custom-metadata":{"get":{"tags":["Assets"],"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\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}\/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\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":"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\/download\/csv\/{jobRunId}":{"get":{"tags":["Assets"],"summary":"Download CSV file for assets","description":"Download the CSV file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create csv endpoint\n","operationId":"asset_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":["Assets"],"summary":"Delete asset CSV 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":"asset_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\/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\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\/export\/csv\/asset":{"post":{"tags":["Assets"],"summary":"Creating CSV file for assets","description":"Creating the CSV file for assets. \u003Cbr\u003E Parameters are: \u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Eassets\u003C\/strong\u003E: Array of asset 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\u003C\/ul\u003E Delimiter can be set to anything, but the default is a \u003Cstrong\u003Esemicolon\u003C\/strong\u003E \u003Cbr\u003E Header 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":"asset_export_csv_asset","requestBody":{"content":{"application\/json":{"schema":{"properties":{"assets":{"type":"array","items":{"type":"integer"},"example":[83]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"config":{"properties":{"delimiter":{"type":"string","example":";"},"header":{"type":"enum","enum":["asset_to_export","folder_to_export","asset_export_data","config","columns","filters","delimiter","header","no_header","title","name","\r\n","array"],"example":"title"}},"type":"object"}},"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\/assets\/export\/csv\/folder":{"post":{"tags":["Assets"],"summary":"Creating CSV file for assets based on folder","description":"Creating the CSV file for assets 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 assets 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 Delimiter can be set to anything, but the default is a \u003Cstrong\u003Esemicolon\u003C\/strong\u003E \u003Cbr\u003E Header 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":"asset_export_csv_folder","requestBody":{"content":{"application\/json":{"schema":{"properties":{"folders":{"type":"array","items":{"type":"integer"},"example":[83]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"},"config":{"properties":{"delimiter":{"type":"string","example":";"},"header":{"type":"enum","enum":["asset_to_export","folder_to_export","asset_export_data","config","columns","filters","delimiter","header","no_header","title","name","\r\n","array"],"example":"title"}},"type":"object"}},"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\/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\/Asset Document"},{"$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","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","minimum":1,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"data":{"type":"string","nullable":true},"metadata":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateCustomMetadata"},"nullable":true},"customSettings":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateCustomSettings"},"nullable":true},"properties":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateElementProperty"},"nullable":true},"image":{"oneOf":[{"$ref":"#\/components\/schemas\/ImageData"}],"nullable":true,"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\/Asset Document"},{"$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","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/{folderId}\/{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":"folderId","in":"path","description":"FolderId of the element","required":true,"schema":{"type":"integer","example":83}},{"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\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\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":null}}],"responses":{"200":{"description":"Asset grid configuration","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\/assets\/grid\/configurations\/{folderId}":{"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","parameters":[{"name":"folderId","in":"path","description":"FolderId of the folderId","required":true,"schema":{"type":"integer","example":83}}],"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\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","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"},"nullable":false},"filter":{"oneOf":[{"$ref":"#\/components\/schemas\/Filter"}],"nullable":true,"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\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":["pageSize","name","description","columns"],"properties":{"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"},"nullable":false},"filter":{"oneOf":[{"$ref":"#\/components\/schemas\/Filter"}],"nullable":true,"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":{"type":"array","items":{"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnData"}}},"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":null}},{"name":"quality","in":"query","description":"Quality of downloaded image","schema":{"type":"integer","example":null}},{"name":"dpi","in":"query","description":"Dpi of downloaded image","schema":{"type":"integer","example":null}}],"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\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\/format\/{format}":{"get":{"tags":["Assets"],"summary":"Download image asset by ID and format","description":"Download the image asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{format}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image\n","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\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\/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\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\/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\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":{"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","minimum":1,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"metadata":{"type":"array","items":{"$ref":"#\/components\/schemas\/PatchCustomMetadata"},"nullable":true}},"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\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\/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","minimum":1,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"metadata":{"type":"array","items":{"$ref":"#\/components\/schemas\/PatchCustomMetadata"},"nullable":true}},"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\/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":null}},{"name":"idSearchTerm","in":"query","description":"Filter assets\/data-objects by matching ids. As a wildcard * can be used","required":false,"schema":{"type":"string","example":null}},{"name":"excludeFolders","in":"query","description":"Filter folders from result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"path","in":"query","description":"Filter by path.","required":false,"schema":{"type":"string","example":null}},{"name":"pathIncludeParent","in":"query","description":"Include the parent item in the result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"pathIncludeDescendants","in":"query","description":"Include all descendants in the result.","required":false,"schema":{"type":"boolean","example":null}}],"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\/Asset Document"},{"$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\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\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\/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\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":"Successfully replaced asset 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\/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\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":null}},{"name":"aspectRatio","in":"query","description":"Aspect ratio","schema":{"type":"boolean","example":null}},{"name":"frame","in":"query","description":"Frame","schema":{"type":"boolean","example":null}},{"name":"async","in":"query","description":"Generate the asset asynchronously","schema":{"type":"boolean","example":null}}],"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\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}\/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\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}\/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\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\/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\/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\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}\/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\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}":{"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":"Update needs to have the complete data present. \u003Cbr\u003E You can create\/update\/delete list entries like properties. \u003Cbr\u003E If you want to update only a single field, 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","minimum":1,"nullable":true},"index":{"type":"integer","minimum":0,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"childrenSortBy":{"type":"string","nullable":true},"childrenSortOrder":{"type":"string","nullable":true},"published":{"type":"boolean","nullable":true},"editableData":{"type":"object","example":"{ \u0022someFieldKey\u0022: \u0022someValue\u0022 }","nullable":true},"properties":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateElementProperty"},"nullable":true}},"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","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/available-columns\/{classId}\/folderId":{"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":"path","description":"Identifies the class name for which the columns should be retrieved.","required":true,"schema":{"type":"string","example":"MyClass"}},{"name":"folderId","in":"path","description":"FolderId of the element","required":true,"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":{"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","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":{"type":"array","items":{"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnData"}}},"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":{"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}}],"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\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":{"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","minimum":1,"nullable":true},"index":{"type":"integer","minimum":0,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"childrenSortBy":{"type":"string","nullable":true},"childrenSortOrder":{"type":"string","nullable":true},"published":{"type":"boolean","nullable":true}},"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\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\/{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\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":null}},{"name":"idSearchTerm","in":"query","description":"Filter assets\/data-objects by matching ids. As a wildcard * can be used","required":false,"schema":{"type":"string","example":null}},{"name":"excludeFolders","in":"query","description":"Filter folders from result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"path","in":"query","description":"Filter by path.","required":false,"schema":{"type":"string","example":null}},{"name":"pathIncludeParent","in":"query","description":"Include the parent item in the result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"pathIncludeDescendants","in":"query","description":"Include all descendants in the result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"className","in":"query","description":"Filter by class.","required":false,"schema":{"type":"string","enum":["AccessoryPart","BodyStyle","Car","Category","Customer","CustomerSegment","CustomerSegmentGroup","Eierlegenedewollmilchsau","Event","FilterDefinition","LinkActivityDefinition","Manufacturer","News","OfferToolCustomProduct","OfferToolOffer","OfferToolOfferItem","OnlineShopOrder","OnlineShopOrderItem","OnlineShopTaxClass","OnlineShopVoucherSeries","OnlineShopVoucherToken","PortalUser","PortalUserGroup","TermSegmentBuilderDefinition","test"],"example":null}}],"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\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\/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\/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\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-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\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\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}\/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\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":null}}],"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","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":null}}],"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\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}\/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\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\/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\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\/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\/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\/notes":{"get":{"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","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":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":null}},{"name":"sortOrder","in":"query","description":"Sort order (asc or desc).","required":false,"schema":{"type":"string","enum":["ASC","DESC"],"example":null}},{"name":"filter","in":"query","description":"Filter for notes","required":false,"schema":{"type":"string","example":null}},{"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,"example":""}],"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":null}},{"name":"sortOrder","in":"query","description":"Sort order (asc or desc).","required":false,"schema":{"type":"string","enum":["ASC","DESC"],"example":null}},{"name":"filter","in":"query","description":"Filter for notes","required":false,"schema":{"type":"string","example":null}},{"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,"example":""}],"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":{"$ref":"#\/components\/schemas\/Filter"}},"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\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\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\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":{"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":null}},{"name":"filter","in":"query","description":"Filter for properties","required":false,"schema":{"type":"string","example":null}}],"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\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","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","minimum":1,"nullable":true},"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","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","minimum":1,"nullable":true},"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","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","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","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","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","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","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\/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":null}},{"name":"filter","in":"query","description":"Filter for properties","required":false,"schema":{"type":"string","example":null}},{"name":"parentId","in":"query","description":"Filter tags by parent id.","required":false,"schema":{"type":"integer","minimum":0,"example":null}}],"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\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\/{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":{"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\/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","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","minimum":1,"nullable":true},"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","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","minimum":1,"nullable":true},"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","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","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","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\/{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\/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\/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\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\/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\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\/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":"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\/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\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":["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\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":["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\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":"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\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\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\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":null}},{"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":{"properties":{"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowDetails"}}},"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":{"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":[],"example":{"commentEnabled":true,"commentRequired":true}}},"type":"object"},"Archive":{"title":"Archive","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"Asset":{"title":"Asset","required":["iconName","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"},{"type":"array","items":[]}]}},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes"},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"hasChildren":{"description":"Has children","type":"boolean","example":false},"type":{"description":"Type","type":"string","example":"image"},"filename":{"description":"Filename","type":"string","example":"cool.jpg"},"mimeType":{"description":"Mimetype","type":"string","example":"image\/jpeg","nullable":true},"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"}]},"Asset Document":{"title":"Asset Document","required":["pageCount","imageThumbnailPath"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"},{"properties":{"pageCount":{"description":"Page count","type":"integer","example":2,"nullable":true},"imageThumbnailPath":{"description":"Path to image thumbnail","type":"string","example":"\/path\/to\/document\/imagethumbnail.jpg","nullable":true}},"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":"array","items":[]}]}},"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","example":1707312457,"nullable":true},"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"}},"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"},{"type":"array","items":[]}]}},"email":{"description":"email address","type":"string","example":"email@pimcore.com"},"creationDate":{"description":"creation date","type":"integer","example":1707312457},"modificationDate":{"description":"modification date","type":"integer","example":1707312457,"nullable":true}},"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","example":0,"nullable":true},"name":{"description":"Tag name","type":"string","example":"tag 1","nullable":true}},"type":"object"},"Collection":{"title":"Collection","properties":{"totalItems":{"description":"total items","type":"integer","example":666},"items":{"description":"items","type":"mixed","example":["Asset","Folder","Document","DataObject"]}},"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","example":"de","nullable":true},"group":{"description":"Group of the Column","type":"string","example":"system"}},"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"},"CustomAttributes":{"title":"CustomAttributes","description":"Custom attributes used mainly for the tree","required":["icon","tooltip","additionalIcons","key","additionalCssClasses"],"properties":{"icon":{"oneOf":[{"$ref":"#\/components\/schemas\/ElementIcon"}],"nullable":true,"description":"Custom Icon"},"tooltip":{"description":"Custom Tooltip","type":"string","example":"\u003Cb\u003EMy Tooltip\u003C\/b\u003E","nullable":true},"additionalIcons":{"description":"AdditionalIcons","type":"array","items":{"type":"string","example":"some_other_icon"}},"key":{"description":"Custom Key\/Filename","type":"string","example":"my_custom_key","nullable":true},"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"},{"type":"array","items":[]}]}},"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":"string","example":"data","nullable":true}},"type":"object"},"CustomMetadataVersion":{"title":"CustomMetadataVersion","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":"string","example":"data","nullable":true}},"type":"object"},"CustomSettings":{"title":"CustomSettings","properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"fixedCustomSettings":{"oneOf":[{"$ref":"#\/components\/schemas\/FixedCustomSettings"}],"nullable":true,"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":[],"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"},"DataObjectFolder":{"title":"Data Object Folder","type":"object","allOf":[{"$ref":"#\/components\/schemas\/DataObject"}]},"DataObjectPermissions":{"title":"Data Object Permissions","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","example":"default","nullable":true},"localizedView":{"description":"Localized View","type":"string","example":"default","nullable":true},"layouts":{"description":"Layouts","type":"string","example":"default","nullable":true}},"type":"object"}]},"DataObject":{"title":"DataObject","required":["key","className","type","published","hasChildren","hasWorkflowWithPermissions","fullPath","customAttributes","permissions","index"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Element"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes"},"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}},"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":"enum","enum":["object","variant"],"example":"object"}},"type":"object"},"DataObjectVersion":{"title":"DataObjectVersion","required":["modificationDate","path","published"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"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"},"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"},{"type":"array","items":[]}]}},"key":{"description":"key","type":"string","example":"key_of_the_property"},"data":{"description":"data","type":"mixed","example":"123","nullable":true},"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","example":"comma,separated,values","nullable":true},"predefinedName":{"description":"predefinedName","type":"string","example":"name of the predefined property","nullable":true},"description":{"description":"description","type":"string","example":"Description of the predefined property","nullable":true}},"type":"object"},"DeleteInfo":{"title":"DeleteInfo","required":["hasDependencies","canUseRecycleBin"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"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"},{"type":"array","items":[]}]}},"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"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID of the User","type":"integer","example":"1"},"name":{"description":"Name of Folder or Role","type":"string","example":"admin","nullable":true},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"parentId":{"type":"integer","example":"2","nullable":true},"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"}}},"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"},"Document":{"title":"Document","required":[],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Element"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes"},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"fullPath":{"description":"Full path","type":"string","example":"\/path\/to\/asset.jpg"}},"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"},{"type":"array","items":[]}]}},"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"},"userOwner":{"description":"ID of owner","type":"integer","example":1},"userModification":{"description":"User that modified the element","type":"integer","example":1},"locked":{"description":"Locked","type":"string","example":"locked","nullable":true},"isLocked":{"description":"Is locked","type":"boolean","example":false},"creationDate":{"description":"Creation date","type":"integer","example":221846400,"nullable":true},"modificationDate":{"description":"Modification date","type":"integer","example":327417600,"nullable":true}},"type":"object"},"ElementIcon":{"title":"ElementIcon","required":["type","value"],"properties":{"type":{"description":"Icon type","type":"enum","enum":["name","path"],"example":"path"},"value":{"description":"Icon value","type":"string","example":"\/path\/to\/icon"}},"type":"object"},"EmailDocumentParameters":{"title":"EmailDocumentParameters","required":["key","value"],"properties":{"key":{"description":"parameter key","type":"string","example":"some_parameter_key"},"value":{"description":"parameter value","type":"value","example":"some_parameter_value","nullable":true}},"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"},{"type":"array","items":[]}]}},"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","example":"from@pimcore.com","nullable":true},"to":{"description":"to","type":"string","example":"to@pimcore.com","nullable":true},"subject":{"description":"subject","type":"string","example":"E-Mail subject","nullable":true}},"type":"object"},"EmailLogEntryDetail":{"title":"EmailLogDetail","required":["bcc","cc","error"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/EmailLogEntry"},{"properties":{"bcc":{"description":"bcc","type":"string","example":"email@pimcore.com","nullable":true},"cc":{"description":"cc","type":"string","example":"email@pimcore.com","nullable":true},"error":{"description":"error","type":"string","example":"Some error occurred","nullable":true}},"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"},{"type":"array","items":[]}]}},"name":{"description":"name","type":"string","example":"myParameter"},"value":{"description":"value","type":"string","example":"Some value","nullable":true},"objectData":{"oneOf":[{"$ref":"#\/components\/schemas\/ObjectParameter"}],"nullable":true,"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"},"FixedCustomSettings":{"title":"FixedCustomSettings","required":["embeddedMetadata","embeddedMetadataExtracted"],"properties":{"embeddedMetadata":{"description":"embedded meta data of the asset - array of any key-value pairs","type":"array","items":[],"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":[],"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","example":"en","nullable":true},"type":{"description":"Type","type":"string","example":"system.integer"},"group":{"description":"Group","type":"string","example":"system","nullable":true},"config":{"description":"Config","type":"array","items":{"type":"string"},"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"},{"type":"array","items":[]}]}},"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},"localizable":{"description":"Localizable","type":"boolean","example":false},"locale":{"description":"Locale","type":"string","example":"en","nullable":true},"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"},{"type":"array","items":[]}]}},"key":{"description":"Key","type":"string","example":"id"},"locale":{"description":"Locale","type":"string","example":"en","nullable":true},"value":{"description":"Value","type":"mixed","example":73,"nullable":true}},"type":"object"},"Configuration":{"title":"GridConfiguration","description":"Contains all data to configure a grid column","required":["id","name","description"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID","type":"integer","example":42},"name":{"description":"Name","type":"string","example":"My Configuration"},"description":{"description":"Description","type":"string","example":"My Configuration Description"}},"type":"object"},"DetailedConfiguration":{"title":"GridDetailedConfiguration","description":"Contains all data to configure a grid column","required":["name","description","shareGlobal","saveFilter","setAsFavorite","sharedUsers","sharedRoles","columns","filter","pageSize"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"name":{"description":"Name","type":"string","example":"My Configuration"},"description":{"description":"Description","type":"string","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","example":1634025600,"nullable":true},"creationDate":{"description":"Creation Date","type":"integer","example":1634025600,"nullable":true},"ownerId":{"description":"ID of the owner","type":"integer","example":42,"nullable":true},"id":{"description":"ID of the configuration","type":"integer","example":42,"nullable":true}},"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"}},"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 shoudl 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"},{"type":"array","items":[]}]}},"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","example":null,"nullable":true},"layout":{"description":"Layout","type":"string","example":null,"nullable":true},"region":{"description":"Region","type":"string","example":"center","nullable":true},"title":{"description":"Title","type":"string","example":"MyLayout","nullable":true},"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","example":"(float: left;)","nullable":true},"locked":{"description":"Locked","type":"boolean","example":false},"children":{"description":"Children","type":"array","items":[],"example":"[]"},"icon":{"oneOf":[{"$ref":"#\/components\/schemas\/ElementIcon"}],"nullable":true,"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"},"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"},{"type":"array","items":[]}]}},"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":[],"example":"Can be pretty much anything"},"userId":{"description":"User ID","type":"integer","example":1,"nullable":true},"userName":{"description":"Username","type":"string","example":"shaquille.oatmeal","nullable":true}},"type":"object"},"NoteType":{"title":"NoteType","required":["id"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"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"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/NotificationListItem"},{"properties":{"message":{"description":"message","type":"string","example":"Notification message","nullable":true},"payload":{"description":"payload","type":"string","example":"{\u0022key\u0022: \u0022value\u0022}","nullable":true},"attachmentType":{"description":"linked attachment type","type":"string","example":"object","nullable":true},"attachmentId":{"description":"linked attachment ID","type":"integer","example":3669,"nullable":true}},"type":"object"}]},"NotificationListItem":{"title":"NotificationListItem","required":["id","type","title","read","hasAttachment","sentDate","sender"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"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","example":"Pimcore Admin","nullable":true}},"type":"object"},"PatchCustomMetadata":{"title":"PatchCustomMetadata","required":["name"],"properties":{"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":"string","example":"en","nullable":true},"data":{"description":"Data","type":"string","example":"data","nullable":true}},"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","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"},"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"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"string","example":"alpha-numerical-value"},"name":{"description":"name","type":"string","example":"Mister Proper"},"description":{"description":"description","type":"string","example":"Detailed description of the property","nullable":true},"key":{"description":"key","type":"string","example":"Key for referencing"},"type":{"description":"type","type":"string","example":"text"},"data":{"description":"data","type":"string","example":"test","nullable":true},"config":{"description":"config","type":"string","example":"comma,separated,values","nullable":true},"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"},"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":"list","example":["Something went wrong"]},"notifyAll":{"description":"notifyAll","type":"boolean","example":false}},"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"},{"type":"array","items":[]}]}},"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","enum":["publish","delete"],"nullable":true},"version":{"description":"Version ID","type":"integer","example":987,"nullable":true},"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"},"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":"enum","enum":["document","html","text"],"example":"text"},"content":{"description":"email content","type":"string","example":"My email message","nullable":true},"documentPath":{"description":"path to the email document","type":"string","example":"\/path\/to\/document","nullable":true},"documentParameters":{"description":"email document parameters","type":"array","items":{"$ref":"#\/components\/schemas\/EmailDocumentParameters"}},"attachmentId":{"description":"id of the asset attachment","type":"integer","example":83,"nullable":true}},"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":"enum","enum":["asset","document","object"],"example":null,"nullable":true},"attachmentId":{"description":"ID of the attachment","type":"integer","example":83,"nullable":true}},"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"},{"type":"array","items":[]}]}},"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"},{"type":"array","items":[]}]}},"id":{"description":"ID of the Role","type":"integer","example":"1"},"name":{"description":"Name of the Role","type":"string","example":"role"}},"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":"object"},"workflowName":{"description":"name of the workflow","type":"string","example":"my_first_workflow"},"transition":{"description":"transition","type":"string","example":"start_workflow"},"workflowOptions":{"description":"workflowOptions","type":"object","example":"{\u0022notes\u0022: \u0022Some note I want to write\u0022}"}},"type":"object"},"Tag":{"title":"Tag","properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"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"},{"type":"array","items":[]}]}},"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"},"Translation":{"title":"Translation","description":"Translation Scheme for API","required":["locale","keys"],"properties":{"locale":{"description":"Locale","type":"string","example":"en"},"keys":{"description":"Keys","type":"array","items":{"type":"string","example":"not_your_typical_key"}}},"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"},{"type":"array","items":[]}]}},"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"},"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"],"properties":{"name":{"description":"Name of Folder or Role","type":"string","example":"admin","nullable":true},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"parentId":{"type":"integer","example":"2","nullable":true},"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"}}},"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","example":"data","nullable":true}},"type":"object"},"UpdateCustomSettings":{"title":"UpdateCustomSettings","required":["key","value"],"properties":{"key":{"description":"Key","type":"string","example":"my_custom_setting_key"},"value":{"description":"Value","type":"mixed","example":"data","nullable":true}},"type":"object"},"UpdateElementProperty":{"title":"UpdateDataProperty","required":["key","data","type","inheritable"],"properties":{"key":{"description":"key","type":"string","example":"Mister Proper"},"data":{"description":"data","type":"mixed","example":"123","nullable":true},"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","example":"Detailed description of the property","nullable":true},"key":{"description":"key","type":"string","example":"Key for referencing"},"type":{"description":"type","type":"string","example":"text"},"data":{"description":"data","type":"string","example":"test","nullable":true},"config":{"description":"config","type":"string","example":"comma,separated,values","nullable":true},"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","example":666,"nullable":true},"date":{"description":"Date of schedule","type":"integer","example":1634025600},"action":{"description":"Action","type":"string","enum":["publish","delete"],"nullable":true},"version":{"description":"Version ID","type":"integer","example":987,"nullable":true},"active":{"description":"Active","type":"boolean","example":true}},"type":"object"},"UpdateVersion":{"title":"UpdateVersion","properties":{"public":{"description":"Public","type":"boolean","example":null,"nullable":true},"note":{"description":"Note","type":"string","example":null,"nullable":true}},"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"],"properties":{"email":{"description":"Email of the User","type":"string","example":"","nullable":true},"firstname":{"description":"Firstname of the User","type":"string","example":"","nullable":true},"lastname":{"description":"Lastname of the User","type":"string","example":"","nullable":true},"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"}}},"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"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID of the User","type":"integer","example":"1"},"name":{"description":"Name of Folder or User","type":"string","example":"admin","nullable":true},"email":{"description":"Email of the User","type":"string","example":"","nullable":true},"firstname":{"description":"Firstname of the User","type":"string","example":"","nullable":true},"lastname":{"description":"Lastname of the User","type":"string","example":"","nullable":true},"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","example":"1718757677","nullable":true},"memorizeTabs":{"type":"boolean","example":true},"parentId":{"type":"integer","example":"2","nullable":true},"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"}},"type":"object"},"UserInformation":{"title":"User Information","description":"Information about the user","required":["username","permissions","isAdmin"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"username":{"description":"Username","type":"string","example":"admin"},"permissions":{"description":"Permissions","type":"array","items":{"type":"string","example":"clear_cache"}},"isAdmin":{"description":"If user is an admin user","type":"boolean","example":false}},"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"},{"type":"array","items":[]}]}},"key":{"description":"Key of the Permission","type":"string","example":"objects"},"category":{"description":"Category og the Permission","type":"string","example":"Datahub"}},"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"},{"type":"array","items":[]}]}},"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"},"scheduled":{"description":"scheduled","type":"integer","example":null,"nullable":true}},"type":"object"},"Dimensions":{"title":"VersionDimensions","properties":{"width":{"description":"width","type":"integer","example":1920,"nullable":true},"height":{"description":"height","type":"integer","example":1080,"nullable":true}},"type":"object"},"VersionUser":{"title":"VersionUser","properties":{"id":{"description":"ID","type":"integer","example":2,"nullable":true},"name":{"description":"name","type":"string","example":"John Doe","nullable":true}},"type":"object"},"Video":{"title":"Video","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"},{"properties":{"duration":{"description":"Duration","type":"number","format":"float","example":43560.5,"nullable":true},"width":{"description":"Width","type":"integer","example":1920,"nullable":true},"height":{"description":"Height","type":"integer","example":1080,"nullable":true},"imageThumbnailPath":{"description":"Path to Image Thumbnail","type":"string","example":"\/path\/to\/video\/imagethumbnail.jpg","nullable":true}},"type":"object"}]},"WorkflowDetails":{"title":"WorkflowDetails","required":["workflowName","workflowStatus","graph","allowedTransitions","globalActions"],"properties":{"workflowName":{"description":"workflowName","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"},"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"],"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"},"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":"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":"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":"Mercure","description":"Retrieve JWT token for Mercure hub as cookie"},{"name":"Notes","description":"Note operations to list\/delete notes"},{"name":"Notifications","description":"Notification operations to get\/delete\/send notifications"},{"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":"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":"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"}]} +{"openapi":"3.0.0","info":{"title":"Studio Backend API","description":"API for Studio generated by OpenApi Generator via zircote\/swagger-php","license":{"name":"GNU General Public License version 3 \u0026 Pimcore Commercial License","url":"https:\/\/www.pimcore.org\/license"},"version":"0.0.1"},"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\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}\/custom-metadata":{"get":{"tags":["Assets"],"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\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}\/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\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":"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\/download\/csv\/{jobRunId}":{"get":{"tags":["Assets"],"summary":"Download CSV file for assets","description":"Download the CSV file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create csv endpoint\n","operationId":"asset_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":["Assets"],"summary":"Delete asset CSV 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":"asset_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\/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\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\/export\/csv\/asset":{"post":{"tags":["Assets"],"summary":"Creating CSV file for assets","description":"Creating the CSV file for assets. \u003Cbr\u003E Parameters are: \u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Eassets\u003C\/strong\u003E: Array of asset 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\u003C\/ul\u003E Delimiter can be set to anything, but the default is a \u003Cstrong\u003Esemicolon\u003C\/strong\u003E \u003Cbr\u003E Header 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":"asset_export_csv_asset","requestBody":{"content":{"application\/json":{"schema":{"properties":{"assets":{"type":"array","items":{"type":"integer"},"example":[83]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"config":{"properties":{"delimiter":{"type":"string","example":";"},"header":{"type":"enum","enum":["asset_to_export","folder_to_export","asset_export_data","config","columns","filters","delimiter","header","no_header","title","name","\r\n","array"],"example":"title"}},"type":"object"}},"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\/assets\/export\/csv\/folder":{"post":{"tags":["Assets"],"summary":"Creating CSV file for assets based on folder","description":"Creating the CSV file for assets 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 assets 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 Delimiter can be set to anything, but the default is a \u003Cstrong\u003Esemicolon\u003C\/strong\u003E \u003Cbr\u003E Header 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":"asset_export_csv_folder","requestBody":{"content":{"application\/json":{"schema":{"properties":{"folders":{"type":"array","items":{"type":"integer"},"example":[83]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"},"config":{"properties":{"delimiter":{"type":"string","example":";"},"header":{"type":"enum","enum":["asset_to_export","folder_to_export","asset_export_data","config","columns","filters","delimiter","header","no_header","title","name","\r\n","array"],"example":"title"}},"type":"object"}},"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\/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\/Asset Document"},{"$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","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","minimum":1,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"data":{"type":"string","nullable":true},"metadata":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateCustomMetadata"},"nullable":true},"customSettings":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateCustomSettings"},"nullable":true},"properties":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateElementProperty"},"nullable":true},"image":{"oneOf":[{"$ref":"#\/components\/schemas\/ImageData"}],"nullable":true,"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\/Asset Document"},{"$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","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/{folderId}\/{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":"folderId","in":"path","description":"FolderId of the element","required":true,"schema":{"type":"integer","example":83}},{"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\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\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":null}}],"responses":{"200":{"description":"Asset grid configuration","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\/assets\/grid\/configurations\/{folderId}":{"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","parameters":[{"name":"folderId","in":"path","description":"FolderId of the folderId","required":true,"schema":{"type":"integer","example":83}}],"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\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","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"},"nullable":false},"filter":{"oneOf":[{"$ref":"#\/components\/schemas\/Filter"}],"nullable":true,"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\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":["pageSize","name","description","columns"],"properties":{"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"},"nullable":false},"filter":{"oneOf":[{"$ref":"#\/components\/schemas\/Filter"}],"nullable":true,"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":{"type":"array","items":{"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnData"}}},"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":null}},{"name":"quality","in":"query","description":"Quality of downloaded image","schema":{"type":"integer","example":null}},{"name":"dpi","in":"query","description":"Dpi of downloaded image","schema":{"type":"integer","example":null}}],"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\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\/format\/{format}":{"get":{"tags":["Assets"],"summary":"Download image asset by ID and format","description":"Download the image asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{format}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image\n","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\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\/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\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\/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\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":{"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","minimum":1,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"metadata":{"type":"array","items":{"$ref":"#\/components\/schemas\/PatchCustomMetadata"},"nullable":true}},"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\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\/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","minimum":1,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"metadata":{"type":"array","items":{"$ref":"#\/components\/schemas\/PatchCustomMetadata"},"nullable":true}},"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\/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":null}},{"name":"idSearchTerm","in":"query","description":"Filter assets\/data-objects by matching ids. As a wildcard * can be used","required":false,"schema":{"type":"string","example":null}},{"name":"excludeFolders","in":"query","description":"Filter folders from result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"path","in":"query","description":"Filter by path.","required":false,"schema":{"type":"string","example":null}},{"name":"pathIncludeParent","in":"query","description":"Include the parent item in the result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"pathIncludeDescendants","in":"query","description":"Include all descendants in the result.","required":false,"schema":{"type":"boolean","example":null}}],"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\/Asset Document"},{"$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\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\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\/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\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":"Successfully replaced asset 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\/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\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":null}},{"name":"aspectRatio","in":"query","description":"Aspect ratio","schema":{"type":"boolean","example":null}},{"name":"frame","in":"query","description":"Frame","schema":{"type":"boolean","example":null}},{"name":"async","in":"query","description":"Generate the asset asynchronously","schema":{"type":"boolean","example":null}}],"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\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}\/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\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}\/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\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\/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\/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\/LayoutDefinition"}}},"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\/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\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}\/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\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}":{"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":"Update needs to have the complete data present. \u003Cbr\u003E You can create\/update\/delete list entries like properties. \u003Cbr\u003E If you want to update only a single field, 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","minimum":1,"nullable":true},"index":{"type":"integer","minimum":0,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"childrenSortBy":{"type":"string","nullable":true},"childrenSortOrder":{"type":"string","nullable":true},"published":{"type":"boolean","nullable":true},"editableData":{"type":"object","example":"{ \u0022someFieldKey\u0022: \u0022someValue\u0022 }","nullable":true},"properties":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateElementProperty"},"nullable":true}},"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","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/available-columns\/{classId}\/folderId":{"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":"path","description":"Identifies the class name for which the columns should be retrieved.","required":true,"schema":{"type":"string","example":"MyClass"}},{"name":"folderId","in":"path","description":"FolderId of the element","required":true,"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":{"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","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":{"type":"array","items":{"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnData"}}},"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":{"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}}],"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\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":{"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","minimum":1,"nullable":true},"index":{"type":"integer","minimum":0,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"childrenSortBy":{"type":"string","nullable":true},"childrenSortOrder":{"type":"string","nullable":true},"published":{"type":"boolean","nullable":true}},"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\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\/{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\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":null}},{"name":"idSearchTerm","in":"query","description":"Filter assets\/data-objects by matching ids. As a wildcard * can be used","required":false,"schema":{"type":"string","example":null}},{"name":"excludeFolders","in":"query","description":"Filter folders from result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"path","in":"query","description":"Filter by path.","required":false,"schema":{"type":"string","example":null}},{"name":"pathIncludeParent","in":"query","description":"Include the parent item in the result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"pathIncludeDescendants","in":"query","description":"Include all descendants in the result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"className","in":"query","description":"Filter by class.","required":false,"schema":{"type":"string","enum":["AccessoryPart","BodyStyle","Car","Category","Customer","CustomerSegment","CustomerSegmentGroup","Eierlegenedewollmilchsau","Event","FilterDefinition","LinkActivityDefinition","Manufacturer","News","OfferToolCustomProduct","OfferToolOffer","OfferToolOfferItem","OnlineShopOrder","OnlineShopOrderItem","OnlineShopTaxClass","OnlineShopVoucherSeries","OnlineShopVoucherToken","PortalUser","PortalUserGroup","TermSegmentBuilderDefinition","test"],"example":null}}],"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\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\/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\/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\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-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\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\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}\/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\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":null}}],"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","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":null}}],"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\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}\/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\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\/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\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\/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\/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\/notes":{"get":{"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","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":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":null}},{"name":"sortOrder","in":"query","description":"Sort order (asc or desc).","required":false,"schema":{"type":"string","enum":["ASC","DESC"],"example":null}},{"name":"filter","in":"query","description":"Filter for notes","required":false,"schema":{"type":"string","example":null}},{"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,"example":""}],"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":null}},{"name":"sortOrder","in":"query","description":"Sort order (asc or desc).","required":false,"schema":{"type":"string","enum":["ASC","DESC"],"example":null}},{"name":"filter","in":"query","description":"Filter for notes","required":false,"schema":{"type":"string","example":null}},{"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,"example":""}],"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":{"$ref":"#\/components\/schemas\/Filter"}},"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\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\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\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":{"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":null}},{"name":"filter","in":"query","description":"Filter for properties","required":false,"schema":{"type":"string","example":null}}],"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\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","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","minimum":1,"nullable":true},"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","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","minimum":1,"nullable":true},"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","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","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","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","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","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","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\/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":null}},{"name":"filter","in":"query","description":"Filter for properties","required":false,"schema":{"type":"string","example":null}},{"name":"parentId","in":"query","description":"Filter tags by parent id.","required":false,"schema":{"type":"integer","minimum":0,"example":null}}],"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\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\/{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":{"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\/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","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","minimum":1,"nullable":true},"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","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","minimum":1,"nullable":true},"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","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","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","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\/{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\/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\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\/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\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\/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":"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\/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\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":["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\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":["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\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":"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\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\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\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":null}},{"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":{"properties":{"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowDetails"}}},"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":{"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":[],"example":{"commentEnabled":true,"commentRequired":true}}},"type":"object"},"Archive":{"title":"Archive","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"Asset":{"title":"Asset","required":["iconName","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"},{"type":"array","items":[]}]}},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes"},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"hasChildren":{"description":"Has children","type":"boolean","example":false},"type":{"description":"Type","type":"string","example":"image"},"filename":{"description":"Filename","type":"string","example":"cool.jpg"},"mimeType":{"description":"Mimetype","type":"string","example":"image\/jpeg","nullable":true},"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"}]},"Asset Document":{"title":"Asset Document","required":["pageCount","imageThumbnailPath"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"},{"properties":{"pageCount":{"description":"Page count","type":"integer","example":2,"nullable":true},"imageThumbnailPath":{"description":"Path to image thumbnail","type":"string","example":"\/path\/to\/document\/imagethumbnail.jpg","nullable":true}},"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":"array","items":[]}]}},"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","example":1707312457,"nullable":true},"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"}},"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"},{"type":"array","items":[]}]}},"email":{"description":"email address","type":"string","example":"email@pimcore.com"},"creationDate":{"description":"creation date","type":"integer","example":1707312457},"modificationDate":{"description":"modification date","type":"integer","example":1707312457,"nullable":true}},"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","example":0,"nullable":true},"name":{"description":"Tag name","type":"string","example":"tag 1","nullable":true}},"type":"object"},"Collection":{"title":"Collection","properties":{"totalItems":{"description":"total items","type":"integer","example":666},"items":{"description":"items","type":"mixed","example":["Asset","Folder","Document","DataObject"]}},"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","example":"de","nullable":true},"group":{"description":"Group of the Column","type":"string","example":"system"}},"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"},"CustomAttributes":{"title":"CustomAttributes","description":"Custom attributes used mainly for the tree","required":["icon","tooltip","additionalIcons","key","additionalCssClasses"],"properties":{"icon":{"oneOf":[{"$ref":"#\/components\/schemas\/ElementIcon"}],"nullable":true,"description":"Custom Icon"},"tooltip":{"description":"Custom Tooltip","type":"string","example":"\u003Cb\u003EMy Tooltip\u003C\/b\u003E","nullable":true},"additionalIcons":{"description":"AdditionalIcons","type":"array","items":{"type":"string","example":"some_other_icon"}},"key":{"description":"Custom Key\/Filename","type":"string","example":"my_custom_key","nullable":true},"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"},{"type":"array","items":[]}]}},"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":"string","example":"data","nullable":true}},"type":"object"},"CustomMetadataVersion":{"title":"CustomMetadataVersion","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":"string","example":"data","nullable":true}},"type":"object"},"CustomSettings":{"title":"CustomSettings","properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"fixedCustomSettings":{"oneOf":[{"$ref":"#\/components\/schemas\/FixedCustomSettings"}],"nullable":true,"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":[],"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"},"DataObjectFolder":{"title":"Data Object Folder","type":"object","allOf":[{"$ref":"#\/components\/schemas\/DataObject"}]},"DataObjectPermissions":{"title":"Data Object Permissions","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","example":"default","nullable":true},"localizedView":{"description":"Localized View","type":"string","example":"default","nullable":true},"layouts":{"description":"Layouts","type":"string","example":"default","nullable":true}},"type":"object"}]},"DataObject":{"title":"DataObject","required":["key","className","type","published","hasChildren","hasWorkflowWithPermissions","fullPath","customAttributes","permissions","index","objectData","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"},{"type":"array","items":[]}]}},"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"},"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},"objectData":{"description":"Detail object data","type":"object","example":{"fieldKey":"field value"}}},"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":"enum","enum":["object","variant"],"example":"object"}},"type":"object"},"DataObjectVersion":{"title":"DataObjectVersion","required":["modificationDate","path","published"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"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"},"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"},{"type":"array","items":[]}]}},"key":{"description":"key","type":"string","example":"key_of_the_property"},"data":{"description":"data","type":"mixed","example":"123","nullable":true},"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","example":"comma,separated,values","nullable":true},"predefinedName":{"description":"predefinedName","type":"string","example":"name of the predefined property","nullable":true},"description":{"description":"description","type":"string","example":"Description of the predefined property","nullable":true}},"type":"object"},"DeleteInfo":{"title":"DeleteInfo","required":["hasDependencies","canUseRecycleBin"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"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"},{"type":"array","items":[]}]}},"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"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID of the User","type":"integer","example":"1"},"name":{"description":"Name of Folder or Role","type":"string","example":"admin","nullable":true},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"parentId":{"type":"integer","example":"2","nullable":true},"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"}}},"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"},"Document":{"title":"Document","required":[],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Element"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes"},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"fullPath":{"description":"Full path","type":"string","example":"\/path\/to\/asset.jpg"}},"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"},{"type":"array","items":[]}]}},"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"},"userOwner":{"description":"ID of owner","type":"integer","example":1},"userModification":{"description":"User that modified the element","type":"integer","example":1},"locked":{"description":"Locked","type":"string","example":"locked","nullable":true},"isLocked":{"description":"Is locked","type":"boolean","example":false},"creationDate":{"description":"Creation date","type":"integer","example":221846400,"nullable":true},"modificationDate":{"description":"Modification date","type":"integer","example":327417600,"nullable":true}},"type":"object"},"ElementIcon":{"title":"ElementIcon","required":["type","value"],"properties":{"type":{"description":"Icon type","type":"enum","enum":["name","path"],"example":"path"},"value":{"description":"Icon value","type":"string","example":"\/path\/to\/icon"}},"type":"object"},"EmailDocumentParameters":{"title":"EmailDocumentParameters","required":["key","value"],"properties":{"key":{"description":"parameter key","type":"string","example":"some_parameter_key"},"value":{"description":"parameter value","type":"value","example":"some_parameter_value","nullable":true}},"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"},{"type":"array","items":[]}]}},"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","example":"from@pimcore.com","nullable":true},"to":{"description":"to","type":"string","example":"to@pimcore.com","nullable":true},"subject":{"description":"subject","type":"string","example":"E-Mail subject","nullable":true}},"type":"object"},"EmailLogEntryDetail":{"title":"EmailLogDetail","required":["bcc","cc","error"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/EmailLogEntry"},{"properties":{"bcc":{"description":"bcc","type":"string","example":"email@pimcore.com","nullable":true},"cc":{"description":"cc","type":"string","example":"email@pimcore.com","nullable":true},"error":{"description":"error","type":"string","example":"Some error occurred","nullable":true}},"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"},{"type":"array","items":[]}]}},"name":{"description":"name","type":"string","example":"myParameter"},"value":{"description":"value","type":"string","example":"Some value","nullable":true},"objectData":{"oneOf":[{"$ref":"#\/components\/schemas\/ObjectParameter"}],"nullable":true,"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"},"LayoutDefinition":{"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"},{"type":"array","items":[]}]}},"key":{"description":"Key of Field Collection","type":"string"},"datatype":{"description":"Data Type","type":"string","example":"layout"},"group":{"description":"Group","type":"string","example":"Group Name","nullable":true},"name":{"description":"Name","type":"string","example":"Layout","nullable":true},"type":{"description":"Type","type":"string","nullable":true},"region":{"description":"Region","type":"string","nullable":true},"title":{"description":"Title","type":"string","nullable":true},"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":[],"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":[],"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","example":"en","nullable":true},"type":{"description":"Type","type":"string","example":"system.integer"},"group":{"description":"Group","type":"string","example":"system","nullable":true},"config":{"description":"Config","type":"array","items":{"type":"string"},"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"},{"type":"array","items":[]}]}},"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},"localizable":{"description":"Localizable","type":"boolean","example":false},"locale":{"description":"Locale","type":"string","example":"en","nullable":true},"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"},{"type":"array","items":[]}]}},"key":{"description":"Key","type":"string","example":"id"},"locale":{"description":"Locale","type":"string","example":"en","nullable":true},"value":{"description":"Value","type":"mixed","example":73,"nullable":true}},"type":"object"},"Configuration":{"title":"GridConfiguration","description":"Contains all data to configure a grid column","required":["id","name","description"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID","type":"integer","example":42},"name":{"description":"Name","type":"string","example":"My Configuration"},"description":{"description":"Description","type":"string","example":"My Configuration Description"}},"type":"object"},"DetailedConfiguration":{"title":"GridDetailedConfiguration","description":"Contains all data to configure a grid column","required":["name","description","shareGlobal","saveFilter","setAsFavorite","sharedUsers","sharedRoles","columns","filter","pageSize"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"name":{"description":"Name","type":"string","example":"My Configuration"},"description":{"description":"Description","type":"string","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","example":1634025600,"nullable":true},"creationDate":{"description":"Creation Date","type":"integer","example":1634025600,"nullable":true},"ownerId":{"description":"ID of the owner","type":"integer","example":42,"nullable":true},"id":{"description":"ID of the configuration","type":"integer","example":42,"nullable":true}},"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"}},"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 shoudl 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"},{"type":"array","items":[]}]}},"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","example":null,"nullable":true},"layout":{"description":"Layout","type":"string","example":null,"nullable":true},"region":{"description":"Region","type":"string","example":"center","nullable":true},"title":{"description":"Title","type":"string","example":"MyLayout","nullable":true},"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","example":"(float: left;)","nullable":true},"locked":{"description":"Locked","type":"boolean","example":false},"children":{"description":"Children","type":"array","items":[],"example":"[]"},"icon":{"oneOf":[{"$ref":"#\/components\/schemas\/ElementIcon"}],"nullable":true,"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"},"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"},{"type":"array","items":[]}]}},"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":[],"example":"Can be pretty much anything"},"userId":{"description":"User ID","type":"integer","example":1,"nullable":true},"userName":{"description":"Username","type":"string","example":"shaquille.oatmeal","nullable":true}},"type":"object"},"NoteType":{"title":"NoteType","required":["id"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"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"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/NotificationListItem"},{"properties":{"message":{"description":"message","type":"string","example":"Notification message","nullable":true},"payload":{"description":"payload","type":"string","example":"{\u0022key\u0022: \u0022value\u0022}","nullable":true},"attachmentType":{"description":"linked attachment type","type":"string","example":"object","nullable":true},"attachmentId":{"description":"linked attachment ID","type":"integer","example":3669,"nullable":true}},"type":"object"}]},"NotificationListItem":{"title":"NotificationListItem","required":["id","type","title","read","hasAttachment","sentDate","sender"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"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","example":"Pimcore Admin","nullable":true}},"type":"object"},"PatchCustomMetadata":{"title":"PatchCustomMetadata","required":["name"],"properties":{"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":"string","example":"en","nullable":true},"data":{"description":"Data","type":"string","example":"data","nullable":true}},"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","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"},"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"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"string","example":"alpha-numerical-value"},"name":{"description":"name","type":"string","example":"Mister Proper"},"description":{"description":"description","type":"string","example":"Detailed description of the property","nullable":true},"key":{"description":"key","type":"string","example":"Key for referencing"},"type":{"description":"type","type":"string","example":"text"},"data":{"description":"data","type":"string","example":"test","nullable":true},"config":{"description":"config","type":"string","example":"comma,separated,values","nullable":true},"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"},"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":"list","example":["Something went wrong"]},"notifyAll":{"description":"notifyAll","type":"boolean","example":false}},"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"},{"type":"array","items":[]}]}},"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","enum":["publish","delete"],"nullable":true},"version":{"description":"Version ID","type":"integer","example":987,"nullable":true},"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"},"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":"enum","enum":["document","html","text"],"example":"text"},"content":{"description":"email content","type":"string","example":"My email message","nullable":true},"documentPath":{"description":"path to the email document","type":"string","example":"\/path\/to\/document","nullable":true},"documentParameters":{"description":"email document parameters","type":"array","items":{"$ref":"#\/components\/schemas\/EmailDocumentParameters"}},"attachmentId":{"description":"id of the asset attachment","type":"integer","example":83,"nullable":true}},"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":"enum","enum":["asset","document","object"],"example":null,"nullable":true},"attachmentId":{"description":"ID of the attachment","type":"integer","example":83,"nullable":true}},"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"},{"type":"array","items":[]}]}},"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"},{"type":"array","items":[]}]}},"id":{"description":"ID of the Role","type":"integer","example":"1"},"name":{"description":"Name of the Role","type":"string","example":"role"}},"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":"object"},"workflowName":{"description":"name of the workflow","type":"string","example":"my_first_workflow"},"transition":{"description":"transition","type":"string","example":"start_workflow"},"workflowOptions":{"description":"workflowOptions","type":"object","example":"{\u0022notes\u0022: \u0022Some note I want to write\u0022}"}},"type":"object"},"Tag":{"title":"Tag","properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"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"},{"type":"array","items":[]}]}},"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"},"Translation":{"title":"Translation","description":"Translation Scheme for API","required":["locale","keys"],"properties":{"locale":{"description":"Locale","type":"string","example":"en"},"keys":{"description":"Keys","type":"array","items":{"type":"string","example":"not_your_typical_key"}}},"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"},{"type":"array","items":[]}]}},"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"},"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"],"properties":{"name":{"description":"Name of Folder or Role","type":"string","example":"admin","nullable":true},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"parentId":{"type":"integer","example":"2","nullable":true},"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"}}},"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","example":"data","nullable":true}},"type":"object"},"UpdateCustomSettings":{"title":"UpdateCustomSettings","required":["key","value"],"properties":{"key":{"description":"Key","type":"string","example":"my_custom_setting_key"},"value":{"description":"Value","type":"mixed","example":"data","nullable":true}},"type":"object"},"UpdateElementProperty":{"title":"UpdateDataProperty","required":["key","data","type","inheritable"],"properties":{"key":{"description":"key","type":"string","example":"Mister Proper"},"data":{"description":"data","type":"mixed","example":"123","nullable":true},"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","example":"Detailed description of the property","nullable":true},"key":{"description":"key","type":"string","example":"Key for referencing"},"type":{"description":"type","type":"string","example":"text"},"data":{"description":"data","type":"string","example":"test","nullable":true},"config":{"description":"config","type":"string","example":"comma,separated,values","nullable":true},"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","example":666,"nullable":true},"date":{"description":"Date of schedule","type":"integer","example":1634025600},"action":{"description":"Action","type":"string","enum":["publish","delete"],"nullable":true},"version":{"description":"Version ID","type":"integer","example":987,"nullable":true},"active":{"description":"Active","type":"boolean","example":true}},"type":"object"},"UpdateVersion":{"title":"UpdateVersion","properties":{"public":{"description":"Public","type":"boolean","example":null,"nullable":true},"note":{"description":"Note","type":"string","example":null,"nullable":true}},"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"],"properties":{"email":{"description":"Email of the User","type":"string","example":"","nullable":true},"firstname":{"description":"Firstname of the User","type":"string","example":"","nullable":true},"lastname":{"description":"Lastname of the User","type":"string","example":"","nullable":true},"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"}}},"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"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID of the User","type":"integer","example":"1"},"name":{"description":"Name of Folder or User","type":"string","example":"admin","nullable":true},"email":{"description":"Email of the User","type":"string","example":"","nullable":true},"firstname":{"description":"Firstname of the User","type":"string","example":"","nullable":true},"lastname":{"description":"Lastname of the User","type":"string","example":"","nullable":true},"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","example":"1718757677","nullable":true},"memorizeTabs":{"type":"boolean","example":true},"parentId":{"type":"integer","example":"2","nullable":true},"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"}},"type":"object"},"UserInformation":{"title":"User Information","description":"Information about the user","required":["username","permissions","isAdmin"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"username":{"description":"Username","type":"string","example":"admin"},"permissions":{"description":"Permissions","type":"array","items":{"type":"string","example":"clear_cache"}},"isAdmin":{"description":"If user is an admin user","type":"boolean","example":false}},"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"},{"type":"array","items":[]}]}},"key":{"description":"Key of the Permission","type":"string","example":"objects"},"category":{"description":"Category og the Permission","type":"string","example":"Datahub"}},"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"},{"type":"array","items":[]}]}},"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"},"scheduled":{"description":"scheduled","type":"integer","example":null,"nullable":true}},"type":"object"},"Dimensions":{"title":"VersionDimensions","properties":{"width":{"description":"width","type":"integer","example":1920,"nullable":true},"height":{"description":"height","type":"integer","example":1080,"nullable":true}},"type":"object"},"VersionUser":{"title":"VersionUser","properties":{"id":{"description":"ID","type":"integer","example":2,"nullable":true},"name":{"description":"name","type":"string","example":"John Doe","nullable":true}},"type":"object"},"Video":{"title":"Video","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"},{"properties":{"duration":{"description":"Duration","type":"number","format":"float","example":43560.5,"nullable":true},"width":{"description":"Width","type":"integer","example":1920,"nullable":true},"height":{"description":"Height","type":"integer","example":1080,"nullable":true},"imageThumbnailPath":{"description":"Path to Image Thumbnail","type":"string","example":"\/path\/to\/video\/imagethumbnail.jpg","nullable":true}},"type":"object"}]},"WorkflowDetails":{"title":"WorkflowDetails","required":["workflowName","workflowStatus","graph","allowedTransitions","globalActions"],"properties":{"workflowName":{"description":"workflowName","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"},"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"],"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"},"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":"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":"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":"Mercure","description":"Retrieve JWT token for Mercure hub as cookie"},{"name":"Notes","description":"Note operations to list\/delete notes"},{"name":"Notifications","description":"Notification operations to get\/delete\/send notifications"},{"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":"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":"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"}]} diff --git a/assets/js/src/core/modules/auth/user/user-api-slice.gen.ts b/assets/js/src/core/modules/auth/user/user-api-slice.gen.ts index da6877f79..7984a6823 100644 --- a/assets/js/src/core/modules/auth/user/user-api-slice.gen.ts +++ b/assets/js/src/core/modules/auth/user/user-api-slice.gen.ts @@ -98,6 +98,10 @@ const injectedRtkApi = api }), invalidatesTags: ["User Management"], }), + userGetImage: build.query({ + query: (queryArg) => ({ url: `/pimcore-studio/api/user/image/${queryArg.id}` }), + providesTags: ["User Management"], + }), userGetTree: build.query({ query: (queryArg) => ({ url: `/pimcore-studio/api/users/tree`, @@ -199,6 +203,11 @@ export type UserUploadImageApiArg = { userImage: Blob; }; }; +export type UserGetImageApiResponse = /** status 200 User profile image */ Blob; +export type UserGetImageApiArg = { + /** Id of the User */ + id: number; +}; export type UserGetTreeApiResponse = /** status 200 Collection of users including folders for the given parent id. */ { totalItems: number; items: TreeNode[]; @@ -421,5 +430,6 @@ export const { usePimcoreStudioApiUserSearchQuery, useUserUpdatePasswordByIdMutation, useUserUploadImageMutation, + useUserGetImageQuery, useUserGetTreeQuery, } = injectedRtkApi; diff --git a/assets/js/src/core/modules/data-object/data-object-api-slice.gen.ts b/assets/js/src/core/modules/data-object/data-object-api-slice.gen.ts index 9080e3b26..46c14b12a 100644 --- a/assets/js/src/core/modules/data-object/data-object-api-slice.gen.ts +++ b/assets/js/src/core/modules/data-object/data-object-api-slice.gen.ts @@ -348,6 +348,14 @@ export type DataObject = Element & { additionalAttributes?: { [key: string]: string | number | boolean | object | any[]; }; + /** Inheritance allowed */ + allowInheritance?: boolean; + /** Variants allowed */ + allowVariants?: boolean; + /** Show variants */ + showVariants?: boolean; + /** Has preview */ + hasPreview?: boolean; customAttributes?: CustomAttributes; /** Has workflow available */ hasWorkflowAvailable?: boolean; @@ -368,6 +376,8 @@ export type DataObject = Element & { permissions?: DataObjectPermissions; /** Custom index */ index?: number; + /** Detail object data */ + objectData?: object; }; export type DataObjectFolder = DataObject; export type UpdateDataProperty = { diff --git a/assets/js/src/core/modules/data-object/editor/types/object/tab-manager/tabs/edit/components/root-component.tsx b/assets/js/src/core/modules/data-object/editor/types/object/tab-manager/tabs/edit/components/root-component.tsx index 5785b4f57..77fc51f2b 100644 --- a/assets/js/src/core/modules/data-object/editor/types/object/tab-manager/tabs/edit/components/root-component.tsx +++ b/assets/js/src/core/modules/data-object/editor/types/object/tab-manager/tabs/edit/components/root-component.tsx @@ -19,9 +19,10 @@ import { type DataObjectGetLayoutByIdApiResponse } from '@Pimcore/modules/data-o interface RootComponentProps { layout: DataObjectGetLayoutByIdApiResponse + data: any } -export const RootComponent = ({ layout }: RootComponentProps): React.JSX.Element => { +export const RootComponent = ({ layout, data }: RootComponentProps): React.JSX.Element => { return (
{ const { id } = useElementContext() - const { data, isLoading } = useDataObjectGetLayoutByIdQuery({ id }) + const { data: layoutData, isLoading } = useDataObjectGetLayoutByIdQuery({ id }) + const { data, isLoading: isDataLoading } = useDataObjectGetByIdQuery({ id }) - if (data === undefined || isLoading) { + if (layoutData === undefined || isLoading || isDataLoading) { return } - return + return ( + + ) } export const TAB_EDIT: IEditorTab = { diff --git a/public/build/0f61d669-d8b5-4060-a534-d8f59716c395/105.js b/public/build/0f61d669-d8b5-4060-a534-d8f59716c395/105.js new file mode 100644 index 000000000..266afc33a --- /dev/null +++ b/public/build/0f61d669-d8b5-4060-a534-d8f59716c395/105.js @@ -0,0 +1,2 @@ +/*! For license information please see 105.js.LICENSE.txt */ +"use strict";(self.webpackChunkstudio_core=self.webpackChunkstudio_core||[]).push([[105],{78105:(e,s,c)=>{c.r(s),c.d(s,{Pimcore:()=>t});var i=c(81690),r=c(19387),n=c(54088),t={container:i.container,serviceIds:n.serviceIds,pluginSystem:r.pluginSystem}}}]); \ No newline at end of file diff --git a/public/build/0f61d669-d8b5-4060-a534-d8f59716c395/105.js.LICENSE.txt b/public/build/0f61d669-d8b5-4060-a534-d8f59716c395/105.js.LICENSE.txt new file mode 100644 index 000000000..6c9b00cfe --- /dev/null +++ b/public/build/0f61d669-d8b5-4060-a534-d8f59716c395/105.js.LICENSE.txt @@ -0,0 +1,16 @@ +/*! + * + * /** + * * 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 (http://www.pimcore.org) + * * @license https://github.com/pimcore/studio-ui-bundle/blob/1.x/LICENSE.md POCL and PCL + * * / + * + */ diff --git a/public/build/0f61d669-d8b5-4060-a534-d8f59716c395/core-dll.css b/public/build/0f61d669-d8b5-4060-a534-d8f59716c395/core-dll.css new file mode 100644 index 000000000..cbd5f5e65 --- /dev/null +++ b/public/build/0f61d669-d8b5-4060-a534-d8f59716c395/core-dll.css @@ -0,0 +1,16 @@ +/*! + * + * /** + * * 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 (http://www.pimcore.org) + * * @license https://github.com/pimcore/studio-ui-bundle/blob/1.x/LICENSE.md POCL and PCL + * * / + * + */.leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{left:0;position:absolute;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{height:1600px;-webkit-transform-origin:0 0;width:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-height:none!important;max-width:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-height:none!important;max-width:none!important;padding:0;width:auto}.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:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{-moz-box-sizing:border-box;box-sizing:border-box;height:0;width:0;z-index:800}.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{height:1px;width:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{pointer-events:visiblePainted;pointer-events:auto;position:relative;z-index:800}.leaflet-bottom,.leaflet-top{pointer-events:none;position:absolute;z-index:1000}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{clear:both;float:left}.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;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;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-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;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-control,.leaflet-popup-pane{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-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:hsla(0,0%,100%,.5);border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px rgba(0,0,0,.65)}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;color:#000;display:block;height:26px;line-height:26px;text-align:center;text-decoration:none;width:26px}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:focus,.leaflet-bar a:hover{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-left-radius:4px;border-bottom-right-radius:4px}.leaflet-bar a.leaflet-disabled{background-color:#f4f4f4;color:#bbb;cursor:default}.leaflet-touch .leaflet-bar a{height:30px;line-height:30px;width: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-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.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 rgba(0,0,0,.4)}.leaflet-control-layers-toggle{background-image:url(/bundles/pimcorestudioui/build/0f61d669-d8b5-4060-a534-d8f59716c395/images/layers.416d9136.png);height:36px;width:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(/bundles/pimcorestudioui/build/0f61d669-d8b5-4060-a534-d8f59716c395/images/layers-2x.8f2c4d11.png);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{height:44px;width: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{background:#fff;color:#333;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{overflow-x:hidden;overflow-y:scroll;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(/bundles/pimcorestudioui/build/0f61d669-d8b5-4060-a534-d8f59716c395/images/marker-icon.2b3e1faf.png)}.leaflet-container .leaflet-control-attribution{background:#fff;background:hsla(0,0%,100%,.8);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;line-height:1.4;padding:0 5px}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:focus,.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;height:.6669em;vertical-align:baseline!important;width:1em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{background:hsla(0,0%,100%,.8);border:2px solid #777;border-top:none;-moz-box-sizing:border-box;box-sizing:border-box;line-height:1.1;padding:2px 5px 1px;text-shadow:1px 1px #fff;white-space:nowrap}.leaflet-control-scale-line:not(:first-child){border-bottom:none;border-top:2px solid #777;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{background-clip:padding-box;border:2px solid rgba(0,0,0,.2)}.leaflet-popup{margin-bottom:20px;position:absolute;text-align:center}.leaflet-popup-content-wrapper{border-radius:12px;padding:1px;text-align:left}.leaflet-popup-content{font-size:13px;font-size:1.08333em;line-height:1.3;margin:13px 24px 13px 20px;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{height:20px;left:50%;margin-left:-20px;margin-top:-1px;overflow:hidden;pointer-events:none;position:absolute;width:40px}.leaflet-popup-tip{height:17px;margin:-10px auto 0;padding:1px;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);width:17px}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.4);color:#333}.leaflet-container a.leaflet-popup-close-button{background:transparent;border:none;color:#757575;font:16px/24px Tahoma,Verdana,sans-serif;height:24px;position:absolute;right:0;text-align:center;text-decoration:none;top:0;width:24px}.leaflet-container a.leaflet-popup-close-button:focus,.leaflet-container a.leaflet-popup-close-button:hover{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)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678);margin:0 auto;width:24px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.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{background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.4);color:#222;padding:6px;pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{background:transparent;border:6px solid transparent;content:"";pointer-events:none;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{border-top-color:#fff;bottom:0;margin-bottom:-12px}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-left:-6px;margin-top:-12px;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;left:0;margin-left:-12px}@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-clip:padding-box;background-image:url(/bundles/pimcorestudioui/build/0f61d669-d8b5-4060-a534-d8f59716c395/images/spritesheet.ef32ea2b.png);background-image:linear-gradient(transparent,transparent),url(/bundles/pimcorestudioui/build/0f61d669-d8b5-4060-a534-d8f59716c395/images/spritesheet.a4e0eb7a.svg);background-repeat:no-repeat;background-size:300px 30px}.leaflet-retina .leaflet-draw-toolbar a{background-image:url(/bundles/pimcorestudioui/build/0f61d669-d8b5-4060-a534-d8f59716c395/images/spritesheet-2x.7ea3a6d4.png);background-image:linear-gradient(transparent,transparent),url(/bundles/pimcorestudioui/build/0f61d669-d8b5-4060-a534-d8f59716c395/images/spritesheet.a4e0eb7a.svg)}.leaflet-draw a{display:block;text-align:center;text-decoration:none}.leaflet-draw a .sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border:0}.leaflet-draw-actions{display:none;left:26px;list-style:none;margin:0;padding:0;position:absolute;top:0;white-space:nowrap}.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{-webkit-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.leaflet-right .leaflet-draw-actions li:last-child a{-webkit-border-radius:0;border-radius:0}.leaflet-right .leaflet-draw-actions li:first-child a{-webkit-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.leaflet-draw-actions a{background-color:#919187;border-left:1px solid #aaa;color:#fff;font:11px/19px Helvetica Neue,Arial,Helvetica,sans-serif;height:28px;line-height:28px;padding-left:10px;padding-right:10px;text-decoration:none}.leaflet-touch .leaflet-draw-actions a{font-size:12px;height:30px;line-height:30px}.leaflet-draw-actions-bottom{margin-top:0}.leaflet-draw-actions-top{margin-top:1px}.leaflet-draw-actions-bottom a,.leaflet-draw-actions-top 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{background-color:#fff;cursor:crosshair}.leaflet-draw-tooltip{background:#363636;background:rgba(0,0,0,.5);border:1px solid transparent;-webkit-border-radius:4px;border-radius:4px;color:#fff;font:12px/18px Helvetica Neue,Arial,Helvetica,sans-serif;margin-left:20px;margin-top:-21px;padding:4px 8px;position:absolute;visibility:hidden;white-space:nowrap;z-index:6}.leaflet-draw-tooltip:before{border-bottom:6px solid transparent;border-right:6px solid rgba(0,0,0,.5);border-top:6px solid transparent;content:"";left:-7px;position:absolute;top:7px}.leaflet-error-draw-tooltip{background-color:#f2dede;border:1px solid #e6b6bd;color:#b94a48}.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{font-size:1%;height:5px;opacity:.6;position:absolute;width:5px}.leaflet-edit-marker-selected{background-color:rgba(254,87,161,.1);border:4px dashed rgba(254,87,161,.6);-webkit-border-radius:4px;border-radius:4px;box-sizing:content-box}.leaflet-edit-move{cursor:move}.leaflet-edit-resize{cursor:pointer}.leaflet-oldie .leaflet-draw-toolbar{border:1px solid #999}.flexlayout__layout{--color-text:#000;--color-background:#fff;--color-base:#fff;--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:rgba(95,134,196,.1);--color-drag2-background:rgba(119,166,119,.075);--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:#fff;--color-popup-selected:var(--color-text);--color-popup-selected-background:var(--color-3);--color-edge-marker:#aaa;--color-edge-icon:#555;bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0}.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;transition-delay:.05s}}.flexlayout__splitter_border{z-index:10}.flexlayout__splitter_drag{background-color:var(--color-splitter-drag);z-index:1000}.flexlayout__splitter_extra{background-color:transparent}.flexlayout__outline_rect{background:var(--color-drag1-background);border:2px solid var(--color-drag1);border-radius:5px;box-sizing:border-box;pointer-events:none;position:absolute;z-index:1000}.flexlayout__outline_rect_edge{background:var(--color-drag2-background);border:2px solid var(--color-drag2);border-radius:5px;box-sizing:border-box;pointer-events:none;z-index:1000}.flexlayout__edge_rect{align-items:center;background-color:var(--color-edge-marker);pointer-events:none}.flexlayout__drag_rect,.flexlayout__edge_rect{display:flex;justify-content:center;position:absolute;z-index:1000}.flexlayout__drag_rect{background-color:var(--color-drag-rect-background);border:2px solid var(--color-drag-rect-border);border-radius:5px;color:var(--color-drag-rect);cursor:move;opacity:.9;padding:.3em 1em;text-align:center;word-wrap:break-word}.flexlayout__drag_rect,.flexlayout__tabset{box-sizing:border-box;flex-direction:column;font-family:var(--font-family);font-size:var(--font-size);overflow:hidden}.flexlayout__tabset{background-color:var(--color-tabset-background);display:flex}.flexlayout__tabset_tab_divider{width:4px}.flexlayout__tabset_content{align-items:center;display:flex;flex-grow:1;justify-content:center}.flexlayout__tabset_header{align-items:center;background-color:var(--color-tabset-header-background);border-bottom:1px solid var(--color-tabset-divider-line);box-sizing:border-box;color:var(--color-tabset-header);display:flex;padding:3px 3px 3px 5px}.flexlayout__tabset_header_content{flex-grow:1}.flexlayout__tabset_tabbar_outer{background-color:var(--color-tabset-background);box-sizing:border-box;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;display:flex;flex-grow:1;overflow:hidden;position:relative}.flexlayout__tabset_tabbar_inner_tab_container{bottom:0;box-sizing:border-box;display:flex;padding-left:4px;padding-right:4px;position:absolute;top:0;width:10000px}.flexlayout__tabset_tabbar_inner_tab_container_top{border-top:2px solid transparent}.flexlayout__tabset_tabbar_inner_tab_container_bottom{border-bottom:2px solid transparent}.flexlayout__tabset-selected{background-color:var(--color-tabset-background-selected)}.flexlayout__tabset-maximized{background-color:var(--color-tabset-background-maximized)}.flexlayout__tab_button_stamp{align-items:center;box-sizing:border-box;display:inline-flex;gap:.3em;white-space:nowrap}.flexlayout__tab{background-color:var(--color-background);box-sizing:border-box;color:var(--color-text);overflow:auto;position:absolute}.flexlayout__tab_button{padding:3px .5em}.flexlayout__tab_button,.flexlayout__tab_button_stretch{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;gap:.3em}.flexlayout__tab_button_stretch{background-color:transparent;color:var(--color-tab-selected);padding:3px 0;width:100%;text-wrap:nowrap}@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:var(--color-tab-unselected);color:gray}.flexlayout__tab_button_content,.flexlayout__tab_button_leading{display:flex}.flexlayout__tab_button_textbox{background-color:var(--color-tab-textbox-background);border:none;border:1px inset var(--color-1);border-radius:3px;color:var(--color-tab-textbox);font-family:var(--font-family);font-size:var(--font-size);width:10em}.flexlayout__tab_button_textbox:focus{outline:none}.flexlayout__tab_button_trailing{border-radius:4px;display:flex;visibility:hidden}.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{align-items:center;background-color:transparent;border:none;color:var(--color-overflow);display:flex;font-size:inherit}.flexlayout__tab_toolbar{align-items:center;display:flex;gap:.3em;padding-left:.5em;padding-right:.3em}.flexlayout__tab_toolbar_button{background-color:transparent;border:none;border-radius:4px;font-size:inherit;margin:0;outline:none;padding:1px}@media (hover:hover){.flexlayout__tab_toolbar_button:hover{background-color:var(--color-2)}}.flexlayout__tab_toolbar_sticky_buttons_container{align-items:center;display:flex;gap:.3em;padding-left:5px}.flexlayout__tab_floating{background-color:var(--color-background);box-sizing:border-box;color:var(--color-text);position:absolute}.flexlayout__tab_floating,.flexlayout__tab_floating_inner{align-items:center;display:flex;justify-content:center;overflow:auto}.flexlayout__tab_floating_inner{flex-direction:column}.flexlayout__tab_floating_inner div{margin-bottom:5px;text-align:center}.flexlayout__tab_floating_inner div a{color:#4169e1}.flexlayout__border{background-color:var(--color-border-background);box-sizing:border-box;color:var(--color-border);display:flex;font-family:var(--font-family);font-size:var(--font-size);overflow:hidden}.flexlayout__border_top{align-items:center;border-bottom:1px solid var(--color-border-divider-line)}.flexlayout__border_bottom{align-items:center;border-top:1px solid var(--color-border-divider-line)}.flexlayout__border_left{align-content:center;border-right:1px solid var(--color-border-divider-line);flex-direction:column}.flexlayout__border_right{align-content:center;border-left:1px solid var(--color-border-divider-line);flex-direction:column}.flexlayout__border_inner{box-sizing:border-box;display:flex;flex-grow:1;overflow:hidden;position:relative}.flexlayout__border_inner_tab_container{bottom:0;box-sizing:border-box;display:flex;padding-left:2px;padding-right:2px;position:absolute;top:0;white-space:nowrap;width:10000px}.flexlayout__border_inner_tab_container_right{transform:rotate(90deg);transform-origin:top left}.flexlayout__border_inner_tab_container_left{flex-direction:row-reverse;transform:rotate(-90deg);transform-origin:top right}.flexlayout__border_tab_divider{width:4px}.flexlayout__border_button{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;gap:.3em;margin:2px 0;padding:3px .5em;white-space:nowrap}.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_content,.flexlayout__border_button_leading{display:flex}.flexlayout__border_button_trailing{border-radius:4px;display:flex;visibility:hidden}.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;display:flex;gap:.3em}.flexlayout__border_toolbar_left,.flexlayout__border_toolbar_right{flex-direction:column;padding-bottom:.3em;padding-top:.5em}.flexlayout__border_toolbar_bottom,.flexlayout__border_toolbar_top{padding-left:.5em;padding-right:.3em}.flexlayout__border_toolbar_button{background-color:transparent;border:none;border-radius:4px;font-size:inherit;outline:none;padding:1px}@media (hover:hover){.flexlayout__border_toolbar_button:hover{background-color:var(--color-2)}}.flexlayout__border_toolbar_button_overflow{align-items:center;background-color:transparent;border:none;color:var(--color-overflow);display:flex;font-size:inherit}.flexlayout__popup_menu{font-family:var(--font-family);font-size:var(--font-size)}.flexlayout__popup_menu_item{border-radius:2px;cursor:pointer;padding:2px .5em;white-space:nowrap}@media (hover:hover){.flexlayout__popup_menu_item:hover{background-color:var(--color-6)}}.flexlayout__popup_menu_container{background:var(--color-popup-unselected-background);border:1px solid var(--color-popup-border);border-radius:3px;box-shadow:inset 0 0 5px rgba(0,0,0,.15);color:var(--color-popup-unselected);max-height:50%;min-width:100px;overflow:auto;padding:2px;position:absolute;z-index:1000}.flexlayout__floating_window _body{height:100%}.flexlayout__floating_window_content,.flexlayout__floating_window_tab{bottom:0;left:0;position:absolute;right:0;top:0}.flexlayout__floating_window_tab{background-color:var(--color-background);box-sizing:border-box;color:var(--color-text);overflow:auto}.flexlayout__error_boundary_container{bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.flexlayout__error_boundary_content{align-items:center;display:flex}.flexlayout__tabset_sizer{padding-top:5px}.flexlayout__tabset_header_sizer,.flexlayout__tabset_sizer{font-family:var(--font-family);font-size:var(--font-size);padding-bottom:3px}.flexlayout__tabset_header_sizer{padding-top:3px}.flexlayout__border_sizer{font-family:var(--font-family);font-size:var(--font-size);padding-bottom:5px;padding-top:6px}@font-face{font-family:Lato;src:url(/bundles/pimcorestudioui/build/0f61d669-d8b5-4060-a534-d8f59716c395/fonts/Lato-Regular.9d883d54.ttf)}@font-face{font-family:Lato;font-weight:300;src:url(/bundles/pimcorestudioui/build/0f61d669-d8b5-4060-a534-d8f59716c395/fonts/Lato-Light.c7400fca.ttf)}@font-face{font-family:Lato;font-weight:700;src:url(/bundles/pimcorestudioui/build/0f61d669-d8b5-4060-a534-d8f59716c395/fonts/Lato-Bold.636be8de.ttf)}*{box-sizing:border-box}.ant-message{bottom:20px!important;position:absolute;top:unset!important}@keyframes moveUp{0%{opacity:0;transform:translateY(30%)}to{opacity:1;transform:translateY(0)}}.ant-message .ant-message-move-up-appear,.ant-message .ant-message-move-up-enter{animation-name:moveUp}.ant-message .ant-message-move-up-leave{animation-direction:reverse;animation-name:moveUp} \ No newline at end of file diff --git a/public/build/0f61d669-d8b5-4060-a534-d8f59716c395/core-dll.js b/public/build/0f61d669-d8b5-4060-a534-d8f59716c395/core-dll.js new file mode 100644 index 000000000..f62997c6e --- /dev/null +++ b/public/build/0f61d669-d8b5-4060-a534-d8f59716c395/core-dll.js @@ -0,0 +1,2 @@ +/*! For license information please see core-dll.js.LICENSE.txt */ +var studio_core;(()=>{var e,t,n,r,o,i,a,s,l={79752:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(41191),o=2,i=.16,a=.05,s=.05,l=.15,c=5,u=4,f=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function d(e){var t=e.r,n=e.g,o=e.b,i=(0,r.rgbToHsv)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function p(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.rgbToHex)(t,n,o,!1))}function h(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?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 m(e,t,n){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),Number(r.toFixed(2)));var r}function g(e,t,n){var r;return(r=n?e.v+s*t:e.v-l*t)>1&&(r=1),Number(r.toFixed(2))}function y(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],o=(0,r.inputToRGB)(e),i=c;i>0;i-=1){var a=d(o),s=p((0,r.inputToRGB)({h:h(a,i,!0),s:m(a,i,!0),v:g(a,i,!0)}));n.push(s)}n.push(p(o));for(var l=1;l<=u;l+=1){var y=d(o),v=p((0,r.inputToRGB)({h:h(y,l),s:m(y,l),v:g(y,l)}));n.push(v)}return"dark"===t.theme?f.map((function(e){var o,i,a,s=e.index,l=e.opacity;return p((o=(0,r.inputToRGB)(t.backgroundColor||"#141414"),i=(0,r.inputToRGB)(n[s]),a=100*l/100,{r:(i.r-o.r)*a+o.r,g:(i.g-o.g)*a+o.g,b:(i.b-o.b)*a+o.b}))})):n}},11305:(e,t,n)=>{"use strict";n.r(t),n.d(t,{blue:()=>o.blue,blueDark:()=>o.blueDark,cyan:()=>o.cyan,cyanDark:()=>o.cyanDark,geekblue:()=>o.geekblue,geekblueDark:()=>o.geekblueDark,generate:()=>r.default,gold:()=>o.gold,goldDark:()=>o.goldDark,gray:()=>o.gray,green:()=>o.green,greenDark:()=>o.greenDark,grey:()=>o.grey,greyDark:()=>o.greyDark,lime:()=>o.lime,limeDark:()=>o.limeDark,magenta:()=>o.magenta,magentaDark:()=>o.magentaDark,orange:()=>o.orange,orangeDark:()=>o.orangeDark,presetDarkPalettes:()=>o.presetDarkPalettes,presetPalettes:()=>o.presetPalettes,presetPrimaryColors:()=>o.presetPrimaryColors,purple:()=>o.purple,purpleDark:()=>o.purpleDark,red:()=>o.red,redDark:()=>o.redDark,volcano:()=>o.volcano,volcanoDark:()=>o.volcanoDark,yellow:()=>o.yellow,yellowDark:()=>o.yellowDark});var r=n(79752),o=n(78897);n(89010)},78897:(e,t,n)=>{"use strict";n.r(t),n.d(t,{blue:()=>d,blueDark:()=>T,cyan:()=>f,cyanDark:()=>P,geekblue:()=>p,geekblueDark:()=>j,gold:()=>s,goldDark:()=>S,gray:()=>y,green:()=>u,greenDark:()=>_,grey:()=>g,greyDark:()=>A,lime:()=>c,limeDark:()=>E,magenta:()=>m,magentaDark:()=>k,orange:()=>a,orangeDark:()=>w,presetDarkPalettes:()=>D,presetPalettes:()=>v,presetPrimaryColors:()=>r,purple:()=>h,purpleDark:()=>C,red:()=>o,redDark:()=>b,volcano:()=>i,volcanoDark:()=>O,yellow:()=>l,yellowDark:()=>x});var r={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"},o=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];o.primary=o[5];var i=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];i.primary=i[5];var a=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];a.primary=a[5];var s=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];s.primary=s[5];var l=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];l.primary=l[5];var c=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];c.primary=c[5];var u=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];u.primary=u[5];var f=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];f.primary=f[5];var d=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];d.primary=d[5];var p=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];p.primary=p[5];var h=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];h.primary=h[5];var m=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];m.primary=m[5];var g=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];g.primary=g[5];var y=g,v={red:o,volcano:i,orange:a,gold:s,yellow:l,lime:c,green:u,cyan:f,blue:d,geekblue:p,purple:h,magenta:m,grey:g},b=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];b.primary=b[5];var O=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];O.primary=O[5];var w=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];w.primary=w[5];var S=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];S.primary=S[5];var x=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];x.primary=x[5];var E=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];E.primary=E[5];var _=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];_.primary=_[5];var P=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];P.primary=P[5];var T=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];T.primary=T[5];var j=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];j.primary=j[5];var C=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];C.primary=C[5];var k=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];k.primary=k[5];var A=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];A.primary=A[5];var D={red:b,volcano:O,orange:w,gold:S,yellow:x,lime:E,green:_,cyan:P,blue:T,geekblue:j,purple:C,magenta:k,grey:A}},89010:(e,t,n)=>{"use strict";n.r(t)},20077:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(71002),o=n(15671),i=n(43144),a=n(4942),s=n(36198),l=new(function(){function e(){(0,o.default)(this,e),(0,a.default)(this,"map",new Map),(0,a.default)(this,"objectIDMap",new WeakMap),(0,a.default)(this,"nextID",0),(0,a.default)(this,"lastAccessBeat",new Map),(0,a.default)(this,"accessBeat",0)}return(0,i.default)(e,[{key:"set",value:function(e,t){this.clear();var n=this.getCompositeKey(e);this.map.set(n,t),this.lastAccessBeat.set(n,Date.now())}},{key:"get",value:function(e){var t=this.getCompositeKey(e),n=this.map.get(t);return this.lastAccessBeat.set(t,Date.now()),this.accessBeat+=1,n}},{key:"getCompositeKey",value:function(e){var t=this;return e.map((function(e){return e&&"object"===(0,r.default)(e)?"obj_".concat(t.getObjectID(e)):"".concat((0,r.default)(e),"_").concat(e)})).join("|")}},{key:"getObjectID",value:function(e){if(this.objectIDMap.has(e))return this.objectIDMap.get(e);var t=this.nextID;return this.objectIDMap.set(e,t),this.nextID+=1,t}},{key:"clear",value:function(){var e=this;if(this.accessBeat>1e4){var t=Date.now();this.lastAccessBeat.forEach((function(n,r){t-n>6e5&&(e.map.delete(r),e.lastAccessBeat.delete(r))})),this.accessBeat=0}}}]),e}());const c=function(e,t){return s.useMemo((function(){var n=l.get(t);if(n)return n;var r=e();return l.set(t,r),r}),t)}},81291:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=function(){return{}}},90506:(e,t,n)=>{"use strict";n.r(t),n.d(t,{genCalc:()=>o.default,genStyleUtils:()=>r.default,mergeToken:()=>i.merge,statistic:()=>i.statistic,statisticToken:()=>i.default});var r=n(99981),o=n(18441),i=n(50952)},78964:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(71002),o=n(15671),i=n(43144),a=n(97326),s=n(60136),l=n(29388),c=n(4942),u=n(14406),f="CALC_UNIT",d=new RegExp(f,"g");function p(e){return"number"==typeof e?"".concat(e).concat(f):e}var h=function(e){(0,s.default)(n,e);var t=(0,l.default)(n);function n(e,i){var s;(0,o.default)(this,n),s=t.call(this),(0,c.default)((0,a.default)(s),"result",""),(0,c.default)((0,a.default)(s),"unitlessCssVar",void 0),(0,c.default)((0,a.default)(s),"lowPriority",void 0);var l=(0,r.default)(e);return s.unitlessCssVar=i,e instanceof n?s.result="(".concat(e.result,")"):"number"===l?s.result=p(e):"string"===l&&(s.result=e),s}return(0,i.default)(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(p(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(p(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(d,r?"px":""),void 0!==this.lowPriority?"calc(".concat(this.result,")"):this.result}}]),n}(u.default)},40935:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(15671),o=n(43144),i=n(97326),a=n(60136),s=n(29388),l=n(4942);const c=function(e){(0,a.default)(n,e);var t=(0,s.default)(n);function n(e){var o;return(0,r.default)(this,n),o=t.call(this),(0,l.default)((0,i.default)(o),"result",0),e instanceof n?o.result=e.result:"number"==typeof e&&(o.result=e),o}return(0,o.default)(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}(n(14406).default)},14406:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(43144),o=n(15671);const i=(0,r.default)((function e(){(0,o.default)(this,e)}))},18441:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(78964),o=n(40935);const i=function(e,t){var n="css"===e?r.default:o.default;return function(e){return new n(e,t)}}},99981:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(71002),o=n(93324),i=n(4942),a=n(1413),s=n(36198),l=n(78419),c=n(18441),u=n(79078),f=n(72254),d=n(62342),p=n(81663),h=n(50952),m=n(20077),g=n(81291);const y=function(e){var t=e.useCSP,n=void 0===t?g.default:t,y=e.useToken,v=e.usePrefix,b=e.getResetStyles,O=e.getCommonStyle,w=e.getCompUnitless;function S(t,i,s){var g=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},w=Array.isArray(t)?t:[t,t],S=(0,o.default)(w,1)[0],x=w.join("-"),E=e.layer||{name:"antd"};return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=y(),w=o.theme,_=o.realToken,P=o.hashId,T=o.token,j=o.cssVar,C=v(),k=C.rootPrefixCls,A=C.iconPrefixCls,D=n(),L=j?"css":"js",R=(0,m.default)((function(){var e=new Set;return j&&Object.keys(g.unitless||{}).forEach((function(t){e.add((0,l.token2CSSVar)(t,j.prefix)),e.add((0,l.token2CSSVar)(t,(0,u.default)(S,j.prefix)))})),(0,c.default)(L,e)}),[L,S,null==j?void 0:j.prefix]),M=(0,p.default)(L),I=M.max,N=M.min,B={theme:w,token:T,hashId:P,nonce:function(){return D.nonce},clientOnly:g.clientOnly,layer:E,order:g.order||-999};return(0,l.useStyleRegister)((0,a.default)((0,a.default)({},B),{},{clientOnly:!1,path:["Shared",k]}),(function(){return"function"==typeof b?b(T):[]})),[(0,l.useStyleRegister)((0,a.default)((0,a.default)({},B),{},{path:[x,e,A]}),(function(){if(!1===g.injectStyle)return[];var n=(0,h.default)(T),o=n.token,a=n.flush,c=(0,d.default)(S,_,s),p=".".concat(e),m=(0,f.default)(S,_,c,{deprecatedTokens:g.deprecatedTokens});j&&c&&"object"===(0,r.default)(c)&&Object.keys(c).forEach((function(e){c[e]="var(".concat((0,l.token2CSSVar)(e,(0,u.default)(S,j.prefix)),")")}));var y=(0,h.merge)(o,{componentCls:p,prefixCls:e,iconCls:".".concat(A),antCls:".".concat(k),calc:R,max:I,min:N},j?c:m),v=i(y,{hashId:P,prefixCls:e,rootPrefixCls:k,iconPrefixCls:A});a(S,m);var b="function"==typeof O?O(y,e,t,g.resetFont):null;return[!1===g.resetStyle?null:b,v]})),P]}}return{genStyleHooks:function(e,t,n,r){var c=Array.isArray(e)?e[0]:e;function u(e){return"".concat(String(c)).concat(e.slice(0,1).toUpperCase()).concat(e.slice(1))}var p=(null==r?void 0:r.unitless)||{},h="function"==typeof w?w(e):{},m=(0,a.default)((0,a.default)({},h),{},(0,i.default)({},u("zIndexPopup"),!0));Object.keys(p).forEach((function(e){m[u(e)]=p[e]}));var g=(0,a.default)((0,a.default)({},r),{},{unitless:m,prefixToken:u}),v=S(e,t,n,g),b=function(e,t,n){var r=n.unitless,o=n.injectStyle,i=void 0===o||o,a=n.prefixToken,c=n.ignore,u=function(o){var i=o.rootCls,s=o.cssVar,u=void 0===s?{}:s,p=y().realToken;return(0,l.useCSSVarRegister)({path:[e],prefix:u.prefix,key:u.key,unitless:r,ignore:c,token:p,scope:i},(function(){var r=(0,d.default)(e,p,t),o=(0,f.default)(e,p,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},p=function(t){var n=y().cssVar;return[function(r){return i&&n?s.createElement(s.Fragment,null,s.createElement(u,{rootCls:t,cssVar:n,component:e}),r):r},null==n?void 0:n.key]};return p}(c,n,g);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=v(e,t),r=(0,o.default)(n,2)[1],i=b(t),a=(0,o.default)(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=S(e,t,n,(0,a.default)({resetStyle:!1,order:-998},r));return function(e){var t=e.prefixCls,n=e.rootCls;return o(t,void 0===n?t:n),null}},genComponentStyleHook:S}}},79078:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=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("-"))}},72254:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(93324),o=n(1413);n(56790);const i=function(e,t,n,i){var a=(0,o.default)({},t[e]);null!=i&&i.deprecatedTokens&&i.deprecatedTokens.forEach((function(e){var t,n=(0,r.default)(e,2),o=n[0],i=n[1];(null!=a&&a[o]||null!=a&&a[i])&&(null!==(t=a[i])&&void 0!==t||(a[i]=null==a?void 0:a[o]))}));var s=(0,o.default)((0,o.default)({},n),a);return Object.keys(s).forEach((function(e){s[e]===t[e]&&delete s[e]})),s}},62342:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(50952);const o=function(e,t,n){var o;return"function"==typeof n?n((0,r.merge)(t,null!==(o=t[e])&&void 0!==o?o:{})):null!=n?n:{}}},81663:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(78419);const o=function(e){return"js"===e?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.r(t),n.d(t,{_statistic_build_:()=>c,default:()=>f,merge:()=>s,statistic:()=>l});var r=n(1413),o=n(71002),i="undefined"!=typeof CSSINJS_STATISTIC,a=!0;function s(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.r(t),n.d(t,{default:()=>l,pathKey:()=>s});var r=n(15671),o=n(43144),i=n(4942),a="%";function s(e){return e.join(a)}const l=function(){function e(t){(0,r.default)(this,e),(0,i.default)(this,"instanceId",void 0),(0,i.default)(this,"cache",new Map),this.instanceId=t}return(0,o.default)(e,[{key:"get",value:function(e){return this.opGet(s(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(s(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}()},22236:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(15671),o=n(43144),i=n(4942);const a=function(){function e(t,n){(0,r.default)(this,e),(0,i.default)(this,"name",void 0),(0,i.default)(this,"style",void 0),(0,i.default)(this,"_keyframe",!0),this.name=t,this.style=n}return(0,o.default)(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}()},61052:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ATTR_CACHE_PATH:()=>d,ATTR_MARK:()=>f,ATTR_TOKEN:()=>u,CSS_IN_JS_INSTANCE:()=>p,StyleProvider:()=>g,createCache:()=>h,default:()=>y});var r=n(1413),o=n(45987),i=n(56982),a=n(91881),s=n(36198),l=n(43481),c=["children"],u="data-token-hash",f="data-css-hash",d="data-cache-path",p="__cssinjs_instance__";function h(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(f,"]"))||[],n=document.head.firstChild;Array.from(t).forEach((function(t){t[p]=t[p]||e,t[p]===e&&document.head.insertBefore(t,n)}));var r={};Array.from(document.querySelectorAll("style[".concat(f,"]"))).forEach((function(t){var n,o=t.getAttribute(f);r[o]?t[p]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[o]=!0}))}return new l.default(e)}var m=s.createContext({hashPriority:"low",cache:h(),defaultCache:!0}),g=function(e){var t=e.children,n=(0,o.default)(e,c),l=s.useContext(m),u=(0,i.default)((function(){var e=(0,r.default)({},l);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||h(),e.defaultCache=!t&&l.defaultCache,e}),[l,n],(function(e,t){return!(0,a.default)(e[0],t[0],!0)||!(0,a.default)(e[1],t[1],!0)}));return s.createElement(m.Provider,{value:u},t)};const y=m},73098:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r,o=n(93324),i=n(4942),a=n(79942),s=n(4522),l=n(78195),c=n(43449),u=n(58356),f=(r={},(0,i.default)(r,l.STYLE_PREFIX,l.extract),(0,i.default)(r,a.TOKEN_PREFIX,a.extract),(0,i.default)(r,s.CSS_VAR_PREFIX,s.extract),r);function d(e){return null!==e}function p(e,t){var n="boolean"==typeof t?{plain:t}:t||{},r=n.plain,a=void 0!==r&&r,s=n.types,l=void 0===s?["style","token","cssVar"]:s,p=new RegExp("^(".concat(("string"==typeof l?[l]:l).join("|"),")%")),h=Array.from(e.cache.keys()).filter((function(e){return p.test(e)})),m={},g={},y="";return h.map((function(t){var n=t.replace(p,"").replace(/%/g,"|"),r=t.split("%"),i=(0,o.default)(r,1)[0],s=(0,f[i])(e.cache.get(t)[1],m,{plain:a});if(!s)return null;var l=(0,o.default)(s,3),c=l[0],u=l[1],d=l[2];return t.startsWith("style")&&(g[n]=u),[c,d]})).filter(d).sort((function(e,t){return(0,o.default)(e,1)[0]-(0,o.default)(t,1)[0]})).forEach((function(e){var t=(0,o.default)(e,2)[1];y+=t})),y+=(0,c.toStyleStr)(".".concat(u.ATTR_CACHE_MAP,'{content:"').concat((0,u.serialize)(g),'";}'),void 0,void 0,(0,i.default)({},u.ATTR_CACHE_MAP,u.ATTR_CACHE_MAP),a)}},4522:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CSS_VAR_PREFIX:()=>d,default:()=>h,extract:()=>p});var r=n(93324),o=n(89062),i=n(44958),a=n(36198),s=n(61052),l=n(43449),c=n(11154),u=n(6507),f=n(78195),d="cssVar",p=function(e,t,n){var o=(0,r.default)(e,4),i=o[1],a=o[2],s=o[3],c=(n||{}).plain;if(!i)return null;var u={"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)};return[-999,a,(0,l.toStyleStr)(i,s,a,u,c)]};const h=function(e,t){var n=e.key,p=e.prefix,h=e.unitless,m=e.ignore,g=e.token,y=e.scope,v=void 0===y?"":y,b=(0,a.useContext)(s.default),O=b.cache.instanceId,w=b.container,S=g._tokenKey,x=[].concat((0,o.default)(e.path),[n,v,S]);return(0,u.default)(d,x,(function(){var e=t(),o=(0,c.transformToken)(e,n,{prefix:p,unitless:h,ignore:m,scope:v}),i=(0,r.default)(o,2),a=i[0],s=i[1];return[a,s,(0,f.uniqueHash)(x,s),n]}),(function(e){var t=(0,r.default)(e,3)[2];l.isClientSide&&(0,i.removeCSS)(t,{mark:s.ATTR_MARK})}),(function(e){var t=(0,r.default)(e,3),o=t[1],a=t[2];if(o){var l=(0,i.updateCSS)(o,a,{mark:s.ATTR_MARK,prepend:"queue",attachTo:w,priority:-999});l[s.CSS_IN_JS_INSTANCE]=O,l.setAttribute(s.ATTR_TOKEN,n)}}))}},79942:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TOKEN_PREFIX:()=>b,default:()=>O,extract:()=>w,getComputedToken:()=>v});var r=n(93324),o=n(89062),i=n(1413),a=n(62506),s=n(44958),l=n(36198),c=n(61052),u=n(43449),f=n(11154),d=n(6507),p={},h="css",m=new Map;var g=0;function y(e,t){m.set(e,(m.get(e)||0)-1);var n=Array.from(m.keys()),r=n.filter((function(e){return(m.get(e)||0)<=0}));n.length-r.length>g&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(c.ATTR_TOKEN,'="').concat(e,'"]')).forEach((function(e){var n;e[c.CSS_IN_JS_INSTANCE]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),m.delete(e)}))}var v=function(e,t,n,r){var o=n.getDerivativeToken(e),a=(0,i.default)((0,i.default)({},o),t);return r&&(a=r(a)),a},b="token";function O(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},g=(0,l.useContext)(c.default),O=g.cache.instanceId,w=g.container,S=n.salt,x=void 0===S?"":S,E=n.override,_=void 0===E?p:E,P=n.formatToken,T=n.getComputedToken,j=n.cssVar,C=(0,u.memoResult)((function(){return Object.assign.apply(Object,[{}].concat((0,o.default)(t)))}),t),k=(0,u.flattenToken)(C),A=(0,u.flattenToken)(_),D=j?(0,u.flattenToken)(j):"";return(0,d.default)(b,[x,e.id,k,A,D],(function(){var t,n=T?T(C,_,e):v(C,_,e,P),o=(0,i.default)({},n),s="";if(j){var l=(0,f.transformToken)(n,j.key,{prefix:j.prefix,ignore:j.ignore,unitless:j.unitless,preserve:j.preserve}),c=(0,r.default)(l,2);n=c[0],s=c[1]}var d=(0,u.token2key)(n,x);n._tokenKey=d,o._tokenKey=(0,u.token2key)(o,x);var p=null!==(t=null==j?void 0:j.key)&&void 0!==t?t:d;n._themeKey=p,function(e){m.set(e,(m.get(e)||0)+1)}(p);var g="".concat(h,"-").concat((0,a.default)(d));return n._hashId=g,[n,g,o,s,(null==j?void 0:j.key)||""]}),(function(e){y(e[0]._themeKey,O)}),(function(e){var t=(0,r.default)(e,4),n=t[0],o=t[3];if(j&&o){var i=(0,s.updateCSS)(o,(0,a.default)("css-variables-".concat(n._themeKey)),{mark:c.ATTR_MARK,prepend:"queue",attachTo:w,priority:-999});i[c.CSS_IN_JS_INSTANCE]=O,i.setAttribute(c.ATTR_TOKEN,n._themeKey)}}))}var w=function(e,t,n){var o=(0,r.default)(e,5),i=o[2],a=o[3],s=o[4],l=(n||{}).plain;if(!a)return null;var c=i._tokenKey,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)};return[-999,c,(0,u.toStyleStr)(a,s,c,f,l)]}},28204:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{default:()=>l});var o=n(1413),i=n(8410),a=n(36198),s=(0,o.default)({},r||(r=n.t(a,2))).useInsertionEffect;const l=s?function(e,t,n){return s((function(){return e(),t()}),n)}:function(e,t,n){a.useMemo(e,n),(0,i.default)((function(){return t(!0)}),n)}},31364:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{default:()=>a});var o=n(1413),i=(n(80334),n(36198));const a=void 0!==(0,o.default)({},r||(r=n.t(i,2))).useInsertionEffect?function(e){var t=[],n=!1;return i.useEffect((function(){return n=!1,function(){n=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){n||t.push(e)}}:function(){return function(e){e()}}},6507:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(93324),o=n(89062),i=n(36198),a=n(43481),s=n(61052),l=n(28204),c=n(31364),u=n(70265);function f(e,t,n,f,d){var p=i.useContext(s.default).cache,h=[e].concat((0,o.default)(t)),m=(0,a.pathKey)(h),g=(0,c.default)([m]),y=((0,u.default)(),function(e){p.opUpdate(m,(function(t){var o=t||[void 0,void 0],i=(0,r.default)(o,2),a=i[0];var s=[void 0===a?0:a,i[1]||n()];return e?e(s):s}))});i.useMemo((function(){y()}),[m]);var v=p.opGet(m)[1];return(0,l.default)((function(){null==d||d(v)}),(function(e){return y((function(t){var n=(0,r.default)(t,2),o=n[0],i=n[1];return e&&0===o&&(null==d||d(v)),[o+1,i]})),function(){p.opUpdate(m,(function(t){var n=t||[],o=(0,r.default)(n,2),i=o[0],a=void 0===i?0:i,s=o[1];return 0===a-1?(g((function(){!e&&p.opGet(m)||null==f||f(s,!1)})),null):[a-1,s]}))}}),[m]),v}},70265:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=function(){return!1}},78195:(e,t,n)=>{"use strict";n.r(t),n.d(t,{STYLE_PREFIX:()=>E,default:()=>_,extract:()=>P,normalizeStyle:()=>b,parseStyle:()=>w,uniqueHash:()=>S});var r=n(87462),o=n(4942),i=n(1413),a=n(93324),s=n(89062),l=n(71002),c=n(62506),u=n(44958),f=n(36198),d=n(40351),p=n(40913),h=(n(56596),n(61052)),m=n(43449),g=n(58356),y=n(6507),v="_multi_value_";function b(e){return(0,p.serialize)((0,p.compile)(e),p.stringify).replace(/\{%%%\:[^;];}/g,";")}function O(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?void 0:t[0])||"";return[r="".concat(i).concat(o).concat(r.slice(i.length))].concat((0,s.default)(n.slice(1))).join(" ")})).join(",")}var w=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,c=r.injectHash,u=r.parentSelectors,f=n.hashId,p=n.layer,h=(n.path,n.hashPriority),m=n.transformers,g=void 0===m?[]:m,y=(n.linters,""),b={};function w(t){var r=t.getName(f);if(!b[r]){var o=e(t.style,n,{root:!1,parentSelectors:u}),i=(0,a.default)(o,1)[0];b[r]="@keyframes ".concat(t.getName(f)).concat(i)}}var S=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((function(t){Array.isArray(t)?e(t,n):t&&n.push(t)})),n}(Array.isArray(t)?t:[t]);return S.forEach((function(t){var r="string"!=typeof t||o?t:{};if("string"==typeof r)y+="".concat(r,"\n");else if(r._keyframe)w(r);else{var p=g.reduce((function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),r);Object.keys(p).forEach((function(t){var r=p[t];if("object"!==(0,l.default)(r)||!r||"animationName"===t&&r._keyframe||function(e){return"object"===(0,l.default)(e)&&e&&("_skip_check_"in e||v in e)}(r)){var m;function C(e,t){var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;d.default[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(w(t),r=t.getName(f)),y+="".concat(n,":").concat(r,";")}var g=null!==(m=null==r?void 0:r.value)&&void 0!==m?m:r;"object"===(0,l.default)(r)&&null!=r&&r[v]&&Array.isArray(g)?g.forEach((function(e){C(t,e)})):C(t,g)}else{var S=!1,x=t.trim(),E=!1;(o||c)&&f?x.startsWith("@")?S=!0:x=O("&"===x?"":t,f,h):!o||f||"&"!==x&&""!==x||(x="",E=!0);var _=e(r,n,{root:E,injectHash:S,parentSelectors:[].concat((0,s.default)(u),[x])}),P=(0,a.default)(_,2),T=P[0],j=P[1];b=(0,i.default)((0,i.default)({},b),j),y+="".concat(x).concat(T)}}))}})),o?p&&(y="@layer ".concat(p.name," {").concat(y,"}"),p.dependencies&&(b["@layer ".concat(p.name)]=p.dependencies.map((function(e){return"@layer ".concat(e,", ").concat(p.name,";")})).join("\n"))):y="{".concat(y,"}"),[y,b]};function S(e,t){return(0,c.default)("".concat(e.join("%")).concat(t))}function x(){return null}var E="style";function _(e,t){var n=e.token,l=e.path,c=e.hashId,d=e.layer,p=e.nonce,v=e.clientOnly,O=e.order,_=void 0===O?0:O,P=f.useContext(h.default),T=P.autoClear,j=(P.mock,P.defaultCache),C=P.hashPriority,k=P.container,A=P.ssrInline,D=P.transformers,L=P.linters,R=P.cache,M=P.layer,I=n._tokenKey,N=[I];M&&N.push("layer"),N.push.apply(N,(0,s.default)(l));var B=m.isClientSide;var $=(0,y.default)(E,N,(function(){var e=N.join("|");if((0,g.existPath)(e)){var n=(0,g.getStyleAndHash)(e),r=(0,a.default)(n,2),o=r[0],i=r[1];if(o)return[o,I,i,{},v,_]}var s=t(),u=w(s,{hashId:c,hashPriority:C,layer:M?d:void 0,path:l.join("-"),transformers:D,linters:L}),f=(0,a.default)(u,2),p=f[0],h=f[1],m=b(p),y=S(N,m);return[m,I,y,h,v,_]}),(function(e,t){var n=(0,a.default)(e,3)[2];(t||T)&&m.isClientSide&&(0,u.removeCSS)(n,{mark:h.ATTR_MARK})}),(function(e){var t=(0,a.default)(e,4),n=t[0],r=(t[1],t[2]),o=t[3];if(B&&n!==g.CSS_FILE_STYLE){var s={mark:h.ATTR_MARK,prepend:!M&&"queue",attachTo:k,priority:_},l="function"==typeof p?p():p;l&&(s.csp={nonce:l});var c=[],f=[];Object.keys(o).forEach((function(e){e.startsWith("@layer")?c.push(e):f.push(e)})),c.forEach((function(e){(0,u.updateCSS)(b(o[e]),"_layer-".concat(e),(0,i.default)((0,i.default)({},s),{},{prepend:!0}))}));var d=(0,u.updateCSS)(n,r,s);d[h.CSS_IN_JS_INSTANCE]=R.instanceId,d.setAttribute(h.ATTR_TOKEN,I),f.forEach((function(e){(0,u.updateCSS)(b(o[e]),"_effect-".concat(e),s)}))}})),F=(0,a.default)($,3),z=F[0],Q=F[1],V=F[2];return function(e){var t,n;A&&!B&&j?t=f.createElement("style",(0,r.default)({},(n={},(0,o.default)(n,h.ATTR_TOKEN,Q),(0,o.default)(n,h.ATTR_MARK,V),n),{dangerouslySetInnerHTML:{__html:z}})):t=f.createElement(x,null);return f.createElement(f.Fragment,null,t,e)}}var P=function(e,t,n){var r=(0,a.default)(e,6),o=r[0],i=r[1],s=r[2],l=r[3],c=r[4],u=r[5],f=(n||{}).plain;if(c)return null;var d=o,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return d=(0,m.toStyleStr)(o,i,s,p,f),l&&Object.keys(l).forEach((function(e){if(!t[e]){t[e]=!0;var n=b(l[e]),r=(0,m.toStyleStr)(n,i,"_effect-".concat(e),p,f);e.startsWith("@layer")?d=r+d:d+=r}})),[u,s,d]}},78419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Keyframes:()=>s.default,NaNLinter:()=>l.NaNLinter,StyleProvider:()=>c.StyleProvider,Theme:()=>u.Theme,_experimental:()=>m,createCache:()=>c.createCache,createTheme:()=>u.createTheme,extractStyle:()=>r.default,genCalc:()=>u.genCalc,getComputedToken:()=>o.getComputedToken,legacyLogicalPropertiesTransformer:()=>f.default,legacyNotSelectorLinter:()=>l.legacyNotSelectorLinter,logicalPropertiesLinter:()=>l.logicalPropertiesLinter,parentSelectorLinter:()=>l.parentSelectorLinter,px2remTransformer:()=>d.default,token2CSSVar:()=>h.token2CSSVar,unit:()=>p.unit,useCSSVarRegister:()=>i.default,useCacheToken:()=>o.default,useStyleRegister:()=>a.default});var r=n(73098),o=n(79942),i=n(4522),a=n(78195),s=n(22236),l=n(56596),c=n(61052),u=n(81671),f=n(41202),d=n(10376),p=n(43449),h=n(11154),m={supportModernCSS:function(){return(0,p.supportWhere)()&&(0,p.supportLogicProps)()}}},76564:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(88132);const o=function(e,t,n){("string"==typeof t&&/NaN/g.test(t)||Number.isNaN(t))&&(0,r.lintWarning)("Unexpected 'NaN' in property '".concat(e,": ").concat(t,"'."),n)}},82352:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(88132);const o=function(e,t,n){if("content"===e){("string"!=typeof t||-1===["normal","none","initial","inherit","unset"].indexOf(t)&&!/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0)))&&(0,r.lintWarning)("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(t,"\"'`."),n)}}},64238:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(88132);const o=function(e,t,n){"animation"===e&&n.hashId&&"none"!==t&&(0,r.lintWarning)("You seem to be using hashed animation '".concat(t,"', in which case 'animationName' with Keyframe as value is recommended."),n)}},56596:(e,t,n)=>{"use strict";n.r(t),n.d(t,{NaNLinter:()=>s.default,contentQuotesLinter:()=>r.default,hashedAnimationLinter:()=>o.default,legacyNotSelectorLinter:()=>i.default,logicalPropertiesLinter:()=>a.default,parentSelectorLinter:()=>l.default});var r=n(82352),o=n(64238),i=n(41190),a=n(62745),s=n(76564),l=n(68102)},41190:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(88132);function o(e){var t;return((null===(t=e.match(/:not\(([^)]*)\)/))||void 0===t?void 0:t[1])||"").split(/(\[[^[]*])|(?=[.#])/).filter((function(e){return e})).length>1}const i=function(e,t,n){var i=function(e){return e.parentSelectors.reduce((function(e,t){return e?t.includes("&")?t.replace(/&/g,e):"".concat(e," ").concat(t):t}),"")}(n),a=i.match(/:not\([^)]*\)/g)||[];a.length>0&&a.some(o)&&(0,r.lintWarning)("Concat ':not' selector not support in legacy browsers.",n)}},62745:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(88132);const o=function(e,t,n){switch(e){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":return void(0,r.lintWarning)("You seem to be using non-logical property '".concat(e,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),n);case"margin":case"padding":case"borderWidth":case"borderStyle":if("string"==typeof t){var o=t.split(" ").map((function(e){return e.trim()}));4===o.length&&o[1]!==o[3]&&(0,r.lintWarning)("You seem to be using '".concat(e,"' property with different left ").concat(e," and right ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),n)}return;case"clear":case"textAlign":return void("left"!==t&&"right"!==t||(0,r.lintWarning)("You seem to be using non-logical value '".concat(t,"' of ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),n));case"borderRadius":if("string"==typeof t)t.split("/").map((function(e){return e.trim()})).reduce((function(e,t){if(e)return e;var n=t.split(" ").map((function(e){return e.trim()}));return n.length>=2&&n[0]!==n[1]||(3===n.length&&n[1]!==n[2]||(4===n.length&&n[2]!==n[3]||e))}),!1)&&(0,r.lintWarning)("You seem to be using non-logical value '".concat(t,"' of ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),n);return}}},68102:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(88132);const o=function(e,t,n){n.parentSelectors.some((function(e){return e.split(",").some((function(e){return e.split("&").length>2}))}))&&(0,r.lintWarning)("Should not use more than one `&` in a selector.",n)}},88132:(e,t,n)=>{"use strict";n.r(t),n.d(t,{lintWarning:()=>o});var r=n(80334);function o(e,t){var n=t.path,o=t.parentSelectors;(0,r.default)(!1,"[Ant Design CSS-in-JS] ".concat(n?"Error in ".concat(n,": "):"").concat(e).concat(o.length?" Selector: ".concat(o.join(" | ")):""))}},80960:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(15671),o=n(43144),i=n(4942),a=n(80334),s=0,l=function(){function e(t){(0,r.default)(this,e),(0,i.default)(this,"derivatives",void 0),(0,i.default)(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=s,0===t.length&&(0,a.warning)(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),s+=1}return(0,o.default)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,n){return n(e,t)}),void 0)}}]),e}()},34286:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l,sameDerivativeOption:()=>s});var r=n(93324),o=n(15671),i=n(43144),a=n(4942);function s(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){var t;o?o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):o=void 0})),null!==(t=o)&&void 0!==t&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null===(n=o)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var o=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce((function(e,t){var n=(0,r.default)(e,2)[1];return o.internalGet(t)[1]{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(71002),o=n(15671),i=n(43144),a=n(97326),s=n(60136),l=n(29388),c=n(4942),u=n(74476),f="CALC_UNIT",d=new RegExp(f,"g");function p(e){return"number"==typeof e?"".concat(e).concat(f):e}var h=function(e){(0,s.default)(n,e);var t=(0,l.default)(n);function n(e,i){var s;(0,o.default)(this,n),s=t.call(this),(0,c.default)((0,a.default)(s),"result",""),(0,c.default)((0,a.default)(s),"unitlessCssVar",void 0),(0,c.default)((0,a.default)(s),"lowPriority",void 0);var l=(0,r.default)(e);return s.unitlessCssVar=i,e instanceof n?s.result="(".concat(e.result,")"):"number"===l?s.result=p(e):"string"===l&&(s.result=e),s}return(0,i.default)(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(p(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(p(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(d,r?"px":""),void 0!==this.lowPriority?"calc(".concat(this.result,")"):this.result}}]),n}(u.default)},7065:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(15671),o=n(43144),i=n(97326),a=n(60136),s=n(29388),l=n(4942),c=function(e){(0,a.default)(n,e);var t=(0,s.default)(n);function n(e){var o;return(0,r.default)(this,n),o=t.call(this),(0,l.default)((0,i.default)(o),"result",0),e instanceof n?o.result=e.result:"number"==typeof e&&(o.result=e),o}return(0,o.default)(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}(n(74476).default)},74476:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(43144),o=n(15671);const i=(0,r.default)((function e(){(0,o.default)(this,e)}))},39411:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(18158),o=n(7065);const i=function(e,t){var n="css"===e?r.default:o.default;return function(e){return new n(e,t)}}},3705:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(34286),o=n(80960),i=new r.default;function a(e){var t=Array.isArray(e)?e:[e];return i.has(t)||i.set(t,new o.default(t)),i.get(t)}},81671:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Theme:()=>i.default,ThemeCache:()=>a.default,createTheme:()=>o.default,genCalc:()=>r.default});var r=n(39411),o=n(3705),i=n(80960),a=n(34286)},41202:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(93324);function o(e){return e.notSplit=!0,e}var i={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:o(["borderTop","borderBottom"]),borderBlockStart:o(["borderTop"]),borderBlockEnd:o(["borderBottom"]),borderInline:o(["borderLeft","borderRight"]),borderInlineStart:o(["borderLeft"]),borderInlineEnd:o(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function a(e,t){var n=e;return t&&(n="".concat(n," !important")),{_skip_check_:!0,value:n}}const s={visit:function(e){var t={};return Object.keys(e).forEach((function(n){var o=e[n],s=i[n];if(!s||"number"!=typeof o&&"string"!=typeof o)t[n]=o;else{var l=function(e){if("number"==typeof e)return[[e],!1];var t=String(e).trim(),n=t.match(/(.*)(!important)/),r=(n?n[1]:t).trim().split(/\s+/),o=[],i=0;return[r.reduce((function(e,t){if(t.includes("(")||t.includes(")")){var n=t.split("(").length-1,r=t.split(")").length-1;i+=n-r}return i>=0&&o.push(t),0===i&&(e.push(o.join(" ")),o=[]),e}),[]),!!n]}(o),c=(0,r.default)(l,2),u=c[0],f=c[1];s.length&&s.notSplit?s.forEach((function(e){t[e]=a(o,f)})):1===s.length?t[s[0]]=a(u[0],f):2===s.length?s.forEach((function(e,n){var r;t[e]=a(null!==(r=u[n])&&void 0!==r?r:u[0],f)})):4===s.length?s.forEach((function(e,n){var r,o;t[e]=a(null!==(r=null!==(o=u[n])&&void 0!==o?o:u[n-2])&&void 0!==r?r:u[0],f)})):t[n]=o}})),t}}},10376:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(93324),o=n(1413),i=n(40351),a=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;const s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.rootValue,n=void 0===t?16:t,s=e.precision,l=void 0===s?5:s,c=e.mediaQuery,u=void 0!==c&&c,f=function(e,t){if(!t)return e;var r=parseFloat(t);if(r<=1)return e;var o=function(e,t){var n=Math.pow(10,t+1),r=Math.floor(e*n);return 10*Math.round(r/10)/n}(r/n,l);return"".concat(o,"rem")};return{visit:function(e){var t=(0,o.default)({},e);return Object.entries(e).forEach((function(e){var n=(0,r.default)(e,2),o=n[0],s=n[1];if("string"==typeof s&&s.includes("px")){var l=s.replace(a,f);t[o]=l}i.default[o]||"number"!=typeof s||0===s||(t[o]="".concat(s,"px").replace(a,f));var c=o.trim();if(c.startsWith("@")&&c.includes("px")&&u){var d=o.replace(a,f);t[d]=t[o],delete t[o]}})),t}}}},58356:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ATTR_CACHE_MAP:()=>s,CSS_FILE_STYLE:()=>l,existPath:()=>p,getStyleAndHash:()=>h,prepare:()=>d,reset:()=>f,serialize:()=>c});var r,o=n(93324),i=n(98924),a=n(61052),s="data-ant-cssinjs-cache-path",l="_FILE_STYLE__";function c(e){return Object.keys(e).map((function(t){var n=e[t];return"".concat(t,":").concat(n)})).join(";")}var u=!0;function f(e){r=e,u=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]}function d(){if(!r&&(r={},(0,i.default)())){var e=document.createElement("div");e.className=s,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";(t=t.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var t=e.split(":"),n=(0,o.default)(t,2),i=n[0],a=n[1];r[i]=a}));var n,a=document.querySelector("style[".concat(s,"]"));if(a)u=!1,null===(n=a.parentNode)||void 0===n||n.removeChild(a);document.body.removeChild(e)}}function p(e){return d(),!!r[e]}function h(e){var t=r[e],n=null;if(t&&(0,i.default)())if(u)n=l;else{var o=document.querySelector("style[".concat(a.ATTR_MARK,'="').concat(r[e],'"]'));o?n=o.innerHTML:delete r[e]}return[n,t]}},11154:(e,t,n)=>{"use strict";n.r(t),n.d(t,{serializeCSSVar:()=>i,token2CSSVar:()=>o,transformToken:()=>a});var r=n(93324),o=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()},i=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,r.default)(e,2),n=t[0],o=t[1];return"".concat(n,":").concat(o,";")})).join(""),"}"):""},a=function(e,t,n){var a={},s={};return Object.entries(e).forEach((function(e){var t,i,l=(0,r.default)(e,2),c=l[0],u=l[1];if(null!=n&&null!==(t=n.preserve)&&void 0!==t&&t[c])s[c]=u;else if(!("string"!=typeof u&&"number"!=typeof u||null!=n&&null!==(i=n.ignore)&&void 0!==i&&i[c])){var f,d=o(c,null==n?void 0:n.prefix);a[d]="number"!=typeof u||null!=n&&null!==(f=n.unitless)&&void 0!==f&&f[c]?String(u):"".concat(u,"px"),s[c]="var(".concat(d,")")}})),[s,i(a,t,{scope:null==n?void 0:n.scope})]}},43449:(e,t,n)=>{"use strict";n.r(t),n.d(t,{flattenToken:()=>m,isClientSide:()=>P,memoResult:()=>p,supportLayer:()=>w,supportLogicProps:()=>_,supportWhere:()=>x,toStyleStr:()=>j,token2key:()=>g,unit:()=>T});var r=n(4942),o=n(1413),i=n(71002),a=n(62506),s=n(98924),l=n(44958),c=n(61052),u=n(81671),f=new WeakMap,d={};function p(e,t){for(var n=f,r=0;r3&&void 0!==arguments[3]?arguments[3]:{};if(arguments.length>4&&void 0!==arguments[4]&&arguments[4])return e;var s=(0,o.default)((0,o.default)({},a),{},(i={},(0,r.default)(i,c.ATTR_TOKEN,t),(0,r.default)(i,c.ATTR_MARK,n),i)),l=Object.keys(s).map((function(e){var t=s[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"")}},75752:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FastColor:()=>l});var r=n(4942);const o=Math.round;function i(e,t){const 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}const a=(e,t,n)=>0===n?e:e/100;function s(e,t){const n=t||255;return e>n?n:e<0?0:e}class l{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if((0,r.default)(this,"isValid",!0),(0,r.default)(this,"r",0),(0,r.default)(this,"g",0),(0,r.default)(this,"b",0),(0,r.default)(this,"a",1),(0,r.default)(this,"_h",void 0),(0,r.default)(this,"_s",void 0),(0,r.default)(this,"_l",void 0),(0,r.default)(this,"_v",void 0),(0,r.default)(this,"_max",void 0),(0,r.default)(this,"_min",void 0),(0,r.default)(this,"_brightness",void 0),e)if("string"==typeof e){const n=e.trim();function o(e){return n.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(n)?this.fromHexString(n):o("rgb")?this.fromRgbString(n):o("hsl")?this.fromHslString(n):(o("hsv")||o("hsb"))&&this.fromHsvString(n)}else if(e instanceof l)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=s(e.r),this.g=s(e.g),this.b=s(e.b),this.a="number"==typeof e.a?s(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else{if(!t("hsv"))throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e));this.fromHsv(e)}else;}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){const t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}return.2126*e(this.r)+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){const e=this.getMax()-this.getMin();this._h=0===e?0:o(60*(this.r===this.getMax()?(this.g-this.b)/e+(this.g1&&(r=1),this._c({h:t,s:n,l:r,a:this.a})}mix(e,t=50){const 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){const 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 this.getBrightness()<128}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="#";const t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;const n=(this.g||0).toString(16);e+=2===n.length?n:"0"+n;const r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){const 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(){const 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){const r=this.clone();return r[e]=s(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){const 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){const e=o(255*n);this.r=e,this.g=e,this.b=e}let i=0,a=0,s=0;const l=e/60,c=(1-Math.abs(2*n-1))*t,u=c*(1-Math.abs(l%2-1));l>=0&&l<1?(i=c,a=u):l>=1&&l<2?(i=u,a=c):l>=2&&l<3?(a=c,s=u):l>=3&&l<4?(a=u,s=c):l>=4&&l<5?(i=u,s=c):l>=5&&l<6&&(i=c,s=u);const f=n-c/2;this.r=o(255*(i+f)),this.g=o(255*(a+f)),this.b=o(255*(s+f))}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;const i=o(255*n);if(this.r=i,this.g=i,this.b=i,t<=0)return;const a=e/60,s=Math.floor(a),l=a-s,c=o(n*(1-t)*255),u=o(n*(1-t*l)*255),f=o(n*(1-t*(1-l))*255);switch(s){case 0:this.g=f,this.b=c;break;case 1:this.r=u,this.b=c;break;case 2:this.r=c,this.b=f;break;case 3:this.r=c,this.g=u;break;case 4:this.r=f,this.g=c;break;default:this.g=c,this.b=u}}fromHsvString(e){const t=i(e,a);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){const t=i(e,a);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){const 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]}}},22420:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FastColor:()=>r.FastColor});var r=n(75752);n(79973)},79973:(e,t,n)=>{"use strict";n.r(t)},1085:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={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"}},15294:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={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"}},50756:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={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"}},509:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={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"}},13401:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(87462),o=n(93324),i=n(4942),a=n(45987),s=n(36198),l=n(93967),c=n.n(l),u=n(11305),f=n(63017),d=n(58784),p=n(59068),h=n(41755),m=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];(0,p.setTwoToneColor)(u.blue.primary);var g=s.forwardRef((function(e,t){var n=e.className,l=e.icon,u=e.spin,p=e.rotate,g=e.tabIndex,y=e.onClick,v=e.twoToneColor,b=(0,a.default)(e,m),O=s.useContext(f.default),w=O.prefixCls,S=void 0===w?"anticon":w,x=O.rootClassName,E=c()(x,S,(0,i.default)((0,i.default)({},"".concat(S,"-").concat(l.name),!!l.name),"".concat(S,"-spin"),!!u||"loading"===l.name),n),_=g;void 0===_&&y&&(_=-1);var P=p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0,T=(0,h.normalizeTwoToneColors)(v),j=(0,o.default)(T,2),C=j[0],k=j[1];return s.createElement("span",(0,r.default)({role:"img","aria-label":l.name},b,{ref:t,tabIndex:_,onClick:y,className:E}),s.createElement(d.default,{icon:l,primaryColor:C,secondaryColor:k,style:P}))}));g.displayName="AntdIcon",g.getTwoToneColor=p.getTwoToneColor,g.setTwoToneColor=p.setTwoToneColor;const y=g},63017:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(36198).createContext)({})},58784:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(45987),o=n(1413),i=n(36198),a=n(41755),s=["icon","className","onClick","style","primaryColor","secondaryColor"],l={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var c=function(e){var t=e.icon,n=e.className,c=e.onClick,u=e.style,f=e.primaryColor,d=e.secondaryColor,p=(0,r.default)(e,s),h=i.useRef(),m=l;if(f&&(m={primaryColor:f,secondaryColor:d||(0,a.getSecondaryColor)(f)}),(0,a.useInsertStyles)(h),(0,a.warning)((0,a.isIconDefinition)(t),"icon should be icon definiton, but got ".concat(t)),!(0,a.isIconDefinition)(t))return null;var g=t;return g&&"function"==typeof g.icon&&(g=(0,o.default)((0,o.default)({},g),{},{icon:g.icon(m.primaryColor,m.secondaryColor)})),(0,a.generate)(g.icon,"svg-".concat(g.name),(0,o.default)((0,o.default)({className:n,onClick:c,style:u,"data-icon":g.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},p),{},{ref:h}))};c.displayName="IconReact",c.getTwoToneColors=function(){return(0,o.default)({},l)},c.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;l.primaryColor=t,l.secondaryColor=n||(0,a.getSecondaryColor)(t),l.calculated=!!n};const u=c},59068:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getTwoToneColor:()=>s,setTwoToneColor:()=>a});var r=n(93324),o=n(58784),i=n(41755);function a(e){var t=(0,i.normalizeTwoToneColors)(e),n=(0,r.default)(t,2),a=n[0],s=n[1];return o.default.setTwoToneColors({primaryColor:a,secondaryColor:s})}function s(){var e=o.default.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}},8913:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(87462),o=n(36198),i=n(1085),a=n(13401),s=function(e,t){return o.createElement(a.default,(0,r.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},79090:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(87462),o=n(36198),i=n(15294),a=n(13401),s=function(e,t){return o.createElement(a.default,(0,r.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},43929:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(87462),o=n(36198),i=n(50756),a=n(13401),s=function(e,t){return o.createElement(a.default,(0,r.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},40110:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(87462),o=n(36198),i=n(509),a=n(13401),s=function(e,t){return o.createElement(a.default,(0,r.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},41755:(e,t,n)=>{"use strict";n.r(t),n.d(t,{generate:()=>h,getSecondaryColor:()=>m,iconStyles:()=>v,isIconDefinition:()=>d,normalizeAttrs:()=>p,normalizeTwoToneColors:()=>g,svgBaseProps:()=>y,useInsertStyles:()=>b,warning:()=>f});var r=n(1413),o=n(71002),i=n(11305),a=n(44958),s=n(27571),l=n(80334),c=n(36198),u=n(63017);function f(e,t){(0,l.default)(e,"[@ant-design/icons] ".concat(t))}function d(e){return"object"===(0,o.default)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,o.default)(e.icon)||"function"==typeof e.icon)}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r,o=e[n];if("class"===n)t.className=o,delete t.class;else delete t[n],t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=o;return t}),{})}function h(e,t,n){return n?c.createElement(e.tag,(0,r.default)((0,r.default)({key:t},p(e.attrs)),n),(e.children||[]).map((function(n,r){return h(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):c.createElement(e.tag,(0,r.default)({key:t},p(e.attrs)),(e.children||[]).map((function(n,r){return h(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function m(e){return(0,i.generate)(e)[0]}function g(e){return e?Array.isArray(e)?e:[e]:[]}var y={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},v="\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",b=function(e){var t=(0,c.useContext)(u.default),n=t.csp,r=t.prefixCls,o=v;r&&(o=o.replace(/anticon/g,r)),(0,c.useEffect)((function(){var t=e.current,r=(0,s.getShadowRoot)(t);(0,a.updateCSS)(o,"@ant-design-icons",{prepend:!0,csp:n,attachTo:r})}),[])}},86500:(e,t,n)=>{"use strict";n.r(t),n.d(t,{convertDecimalToHex:()=>p,convertHexToDecimal:()=>h,hslToRgb:()=>s,hsvToRgb:()=>c,numberInputToObject:()=>g,parseIntFromHex:()=>m,rgbToHex:()=>u,rgbToHsl:()=>i,rgbToHsv:()=>l,rgbToRgb:()=>o,rgbaToArgbHex:()=>d,rgbaToHex:()=>f});var r=n(90279);function o(e,t,n){return{r:255*(0,r.bound01)(e,255),g:255*(0,r.bound01)(t,255),b:255*(0,r.bound01)(n,255)}}function i(e,t,n){e=(0,r.bound01)(e,255),t=(0,r.bound01)(t,255),n=(0,r.bound01)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,s=0,l=(o+i)/2;if(o===i)s=0,a=0;else{var c=o-i;switch(s=l>.5?c/(2-o-i):c/(o+i),o){case e:a=(t-n)/c+(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 s(e,t,n){var o,i,s;if(e=(0,r.bound01)(e,360),t=(0,r.bound01)(t,100),n=(0,r.bound01)(n,100),0===t)i=n,s=n,o=n;else{var l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;o=a(c,l,e+1/3),i=a(c,l,e),s=a(c,l,e-1/3)}return{r:255*o,g:255*i,b:255*s}}function l(e,t,n){e=(0,r.bound01)(e,255),t=(0,r.bound01)(t,255),n=(0,r.bound01)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,s=o,l=o-i,c=0===o?0:l/o;if(o===i)a=0;else{switch(o){case e:a=(t-n)/l+(t>16,g:(65280&e)>>8,b:255&e}}},48701:(e,t,n)=>{"use strict";n.r(t),n.d(t,{names:()=>r});var r={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"}},1350:(e,t,n)=>{"use strict";n.r(t),n.d(t,{inputToRGB:()=>a,isValidCSSUnit:()=>d,stringInputToObject:()=>f});var r=n(86500),o=n(48701),i=n(90279);function a(e){var t={r:0,g:0,b:0},n=1,o=null,a=null,s=null,l=!1,c=!1;return"string"==typeof e&&(e=f(e)),"object"==typeof e&&(d(e.r)&&d(e.g)&&d(e.b)?(t=(0,r.rgbToRgb)(e.r,e.g,e.b),l=!0,c="%"===String(e.r).substr(-1)?"prgb":"rgb"):d(e.h)&&d(e.s)&&d(e.v)?(o=(0,i.convertToPercentage)(e.s),a=(0,i.convertToPercentage)(e.v),t=(0,r.hsvToRgb)(e.h,o,a),l=!0,c="hsv"):d(e.h)&&d(e.s)&&d(e.l)&&(o=(0,i.convertToPercentage)(e.s),s=(0,i.convertToPercentage)(e.l),t=(0,r.hslToRgb)(e.h,o,s),l=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.boundAlpha)(n),{ok:l,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 s="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),l="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),c="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),u={CSS_UNIT:new RegExp(s),rgb:new RegExp("rgb"+l),rgba:new RegExp("rgba"+c),hsl:new RegExp("hsl"+l),hsla:new RegExp("hsla"+c),hsv:new RegExp("hsv"+l),hsva:new RegExp("hsva"+c),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 f(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.names[e])e=o.names[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=u.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=u.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=u.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=u.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=u.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=u.hex8.exec(e))?{r:(0,r.parseIntFromHex)(n[1]),g:(0,r.parseIntFromHex)(n[2]),b:(0,r.parseIntFromHex)(n[3]),a:(0,r.convertHexToDecimal)(n[4]),format:t?"name":"hex8"}:(n=u.hex6.exec(e))?{r:(0,r.parseIntFromHex)(n[1]),g:(0,r.parseIntFromHex)(n[2]),b:(0,r.parseIntFromHex)(n[3]),format:t?"name":"hex"}:(n=u.hex4.exec(e))?{r:(0,r.parseIntFromHex)(n[1]+n[1]),g:(0,r.parseIntFromHex)(n[2]+n[2]),b:(0,r.parseIntFromHex)(n[3]+n[3]),a:(0,r.convertHexToDecimal)(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=u.hex3.exec(e))&&{r:(0,r.parseIntFromHex)(n[1]+n[1]),g:(0,r.parseIntFromHex)(n[2]+n[2]),b:(0,r.parseIntFromHex)(n[3]+n[3]),format:t?"name":"hex"}}function d(e){return Boolean(u.CSS_UNIT.exec(String(e)))}},98840:(e,t,n)=>{"use strict";n.r(t),n.d(t,{fromRatio:()=>i,legacyRandom:()=>a});var r=n(10274),o=n(90279);function i(e,t){var n={r:(0,o.convertToPercentage)(e.r),g:(0,o.convertToPercentage)(e.g),b:(0,o.convertToPercentage)(e.b)};return void 0!==e.a&&(n.a=Number(e.a)),new r.TinyColor(n,t)}function a(){return new r.TinyColor({r:Math.random(),g:Math.random(),b:Math.random()})}},10274:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TinyColor:()=>s,tinycolor:()=>l});var r=n(86500),o=n(48701),i=n(1350),a=n(90279),s=function(){function e(t,n){var o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=(0,r.numberInputToObject)(t)),this.originalInput=t;var a=(0,i.inputToRGB)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:a.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=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},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=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.boundAlpha)(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=(0,r.rgbToHsv)(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=(0,r.rgbToHsv)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.rgbToHsl)(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=(0,r.rgbToHsl)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.rgbToHex)(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),(0,r.rgbaToHex)(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*(0,a.bound01)(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*(0,a.bound01)(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="#"+(0,r.rgbToHex)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.names);t=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("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()):"name"===e&&0===this.a?this.toName():this.toRgbString()},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=(0,a.clamp01)(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=(0,a.clamp01)(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=(0,a.clamp01)(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=(0,a.clamp01)(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=[],s=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+s)%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;a{"use strict";n.r(t)},41191:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TinyColor:()=>r.TinyColor,bounds:()=>c.bounds,convertDecimalToHex:()=>u.convertDecimalToHex,convertHexToDecimal:()=>u.convertHexToDecimal,default:()=>f,fromRatio:()=>s.fromRatio,hslToRgb:()=>u.hslToRgb,hsvToRgb:()=>u.hsvToRgb,inputToRGB:()=>l.inputToRGB,isReadable:()=>i.isReadable,isValidCSSUnit:()=>l.isValidCSSUnit,legacyRandom:()=>s.legacyRandom,mostReadable:()=>i.mostReadable,names:()=>o.names,numberInputToObject:()=>u.numberInputToObject,parseIntFromHex:()=>u.parseIntFromHex,random:()=>c.random,readability:()=>i.readability,rgbToHex:()=>u.rgbToHex,rgbToHsl:()=>u.rgbToHsl,rgbToHsv:()=>u.rgbToHsv,rgbToRgb:()=>u.rgbToRgb,rgbaToArgbHex:()=>u.rgbaToArgbHex,rgbaToHex:()=>u.rgbaToHex,stringInputToObject:()=>l.stringInputToObject,tinycolor:()=>r.tinycolor,toMsFilter:()=>a.toMsFilter});var r=n(10274),o=n(48701),i=n(47816),a=n(39258),s=n(98840),l=n(1350),c=n(96624),u=(n(76721),n(86500));const f=r.tinycolor},96624:(e,t,n)=>{"use strict";n.r(t),n.d(t,{bounds:()=>l,random:()=>o});var r=n(10274);function o(e){if(void 0===e&&(e={}),void 0!==e.count&&null!==e.count){var t=e.count,n=[];for(e.count=void 0;t>n.length;)e.count=null,e.seed&&(e.seed+=1),n.push(o(e));return e.count=t,n}var c=function(e,t){var n=a(function(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if("string"==typeof e){var n=l.find((function(t){return t.name===e}));if(n){var o=s(n);if(o.hueRange)return o.hueRange}var i=new r.TinyColor(e);if(i.isValid){var a=i.toHsv().h;return[a,a]}}return[0,360]}(e),t);n<0&&(n=360+n);return n}(e.hue,e.seed),u=function(e,t){if("monochrome"===t.hue)return 0;if("random"===t.luminosity)return a([0,100],t.seed);var n=i(e).saturationRange,r=n[0],o=n[1];switch(t.luminosity){case"bright":r=55;break;case"dark":r=o-10;break;case"light":o=55}return a([r,o],t.seed)}(c,e),f=function(e,t,n){var r=function(e,t){for(var n=i(e).lowerBounds,r=0;r=o&&t<=s){var c=(l-a)/(s-o);return c*t+(a-c*o)}}return 0}(e,t),o=100;switch(n.luminosity){case"dark":o=r+20;break;case"light":r=(o+r)/2;break;case"random":r=0,o=100}return a([r,o],n.seed)}(c,u,e),d={h:c,s:u,v:f};return void 0!==e.alpha&&(d.a=e.alpha),new r.TinyColor(d)}function i(e){e>=334&&e<=360&&(e-=360);for(var t=0,n=l;t=r.hueRange[0]&&e<=r.hueRange[1])return r}throw Error("Color not found")}function a(e,t){if(void 0===t)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var n=e[1]||1,r=e[0]||0,o=(t=(9301*t+49297)%233280)/233280;return Math.floor(r+o*(n-r))}function s(e){var t=e.lowerBounds[0][0],n=e.lowerBounds[e.lowerBounds.length-1][0],r=e.lowerBounds[e.lowerBounds.length-1][1],o=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,n],brightnessRange:[r,o]}}var l=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}]},47816:(e,t,n)=>{"use strict";n.r(t),n.d(t,{isReadable:()=>i,mostReadable:()=>a,readability:()=>o});var r=n(10274);function o(e,t){var n=new r.TinyColor(e),o=new r.TinyColor(t);return(Math.max(n.getLuminance(),o.getLuminance())+.05)/(Math.min(n.getLuminance(),o.getLuminance())+.05)}function i(e,t,n){var r,i;void 0===n&&(n={level:"AA",size:"small"});var a=o(e,t);switch((null!==(r=n.level)&&void 0!==r?r:"AA")+(null!==(i=n.size)&&void 0!==i?i:"small")){case"AAsmall":case"AAAlarge":return a>=4.5;case"AAlarge":return a>=3;case"AAAsmall":return a>=7;default:return!1}}function a(e,t,n){void 0===n&&(n={includeFallbackColors:!1,level:"AA",size:"small"});for(var s=null,l=0,c=n.includeFallbackColors,u=n.level,f=n.size,d=0,p=t;dl&&(l=m,s=new r.TinyColor(h))}return i(e,s,{level:u,size:f})||!c?s:(n.includeFallbackColors=!1,a(e,["#fff","#000"],n))}},39258:(e,t,n)=>{"use strict";n.r(t),n.d(t,{toMsFilter:()=>i});var r=n(86500),o=n(10274);function i(e,t){var n=new o.TinyColor(e),i="#"+(0,r.rgbaToArgbHex)(n.r,n.g,n.b,n.a),a=i,s=n.gradientType?"GradientType = 1, ":"";if(t){var l=new o.TinyColor(t);a="#"+(0,r.rgbaToArgbHex)(l.r,l.g,l.b,l.a)}return"progid:DXImageTransform.Microsoft.gradient(".concat(s,"startColorstr=").concat(i,",endColorstr=").concat(a,")")}},90279:(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),Math.abs(e-t)<1e-6?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 s(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function l(e){return e<=1?"".concat(100*Number(e),"%"):e}function c(e){return 1===e.length?"0"+e:String(e)}n.r(t),n.d(t,{bound01:()=>r,boundAlpha:()=>s,clamp01:()=>o,convertToPercentage:()=>l,isOnePointZero:()=>i,isPercentage:()=>a,pad2:()=>c})},42617:(e,t,n)=>{"use strict";n.r(t),n.d(t,{HiddenText:()=>i,LiveRegion:()=>a,useAnnouncement:()=>s});var r=n(36198);const o={display:"none"};function i(e){let{id:t,value:n}=e;return r.createElement("div",{id:t,style:o},n)}function a(e){let{id:t,announcement:n,ariaLiveType:o="assertive"}=e;return r.createElement("div",{id:t,style:{position:"fixed",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":o,"aria-atomic":!0},n)}function s(){const[e,t]=(0,r.useState)("");return{announce:(0,r.useCallback)((e=>{null!=e&&t(e)}),[]),announcement:e}}},94697:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AutoScrollActivator:()=>ve,DndContext:()=>Ze,DragOverlay:()=>ht,KeyboardCode:()=>ne,KeyboardSensor:()=>se,MeasuringFrequency:()=>xe,MeasuringStrategy:()=>Se,MouseSensor:()=>me,PointerSensor:()=>de,TouchSensor:()=>ye,TraversalOrder:()=>be,applyModifiers:()=>Ge,closestCenter:()=>E,closestCorners:()=>_,defaultAnnouncements:()=>u,defaultCoordinates:()=>g,defaultDropAnimation:()=>ut,defaultDropAnimationSideEffects:()=>ct,defaultScreenReaderInstructions:()=>c,getClientRect:()=>M,getFirstCollision:()=>S,getScrollableAncestors:()=>N,pointerWithin:()=>C,rectIntersection:()=>T,useDndContext:()=>Je,useDndMonitor:()=>l,useDraggable:()=>Ke,useDroppable:()=>nt,useSensor:()=>h,useSensors:()=>m});var r=n(36198),o=n(18348),i=n(24285),a=n(42617);const s=(0,r.createContext)(null);function l(e){const t=(0,r.useContext)(s);(0,r.useEffect)((()=>{if(!t)throw new Error("useDndMonitor must be used within a children of ");return t(e)}),[e,t])}const c={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 "},u={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 f(e){let{announcements:t=u,container:n,hiddenTextDescribedById:s,screenReaderInstructions:f=c}=e;const{announce:d,announcement:p}=(0,a.useAnnouncement)(),h=(0,i.useUniqueId)("DndLiveRegion"),[m,g]=(0,r.useState)(!1);if((0,r.useEffect)((()=>{g(!0)}),[]),l((0,r.useMemo)((()=>({onDragStart(e){let{active:n}=e;d(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&d(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;d(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;d(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;d(t.onDragCancel({active:n,over:r}))}})),[d,t])),!m)return null;const y=r.createElement(r.Fragment,null,r.createElement(a.HiddenText,{id:s,value:f.draggable}),r.createElement(a.LiveRegion,{id:h,announcement:p}));return n?(0,o.createPortal)(y,n):y}var d;function p(){}function h(e,t){return(0,r.useMemo)((()=>({sensor:e,options:null!=t?t:{}})),[e,t])}function m(){for(var e=arguments.length,t=new Array(e),n=0;n[...t].filter((e=>null!=e))),[...t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(d||(d={}));const g=Object.freeze({x:0,y:0});function y(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function v(e,t){const n=(0,i.getEventCoordinates)(e);if(!n)return"0 0";return(n.x-t.left)/t.width*100+"% "+(n.y-t.top)/t.height*100+"%"}function b(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function O(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function w(e){let{left:t,top:n,height:r,width:o}=e;return[{x:t,y:n},{x:t+o,y:n},{x:t,y:n+r},{x:t+o,y:n+r}]}function S(e,t){if(!e||0===e.length)return null;const[n]=e;return t?n[t]:n}function x(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}}const E=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=x(t,t.left,t.top),i=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){const n=y(x(r),o);i.push({id:t,data:{droppableContainer:e,value:n}})}}return i.sort(b)},_=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=w(t),i=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){const n=w(r),a=o.reduce(((e,t,r)=>e+y(n[r],t)),0),s=Number((a/4).toFixed(4));i.push({id:t,data:{droppableContainer:e,value:s}})}}return i.sort(b)};function P(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),a=o-r,s=i-n;if(r{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[];for(const e of r){const{id:r}=e,i=n.get(r);if(i){const n=P(i,t);n>0&&o.push({id:r,data:{droppableContainer:e,value:n}})}}return o.sort(O)};function j(e,t){const{top:n,left:r,bottom:o,right:i}=t;return n<=e.y&&e.y<=o&&r<=e.x&&e.x<=i}const C=e=>{let{droppableContainers:t,droppableRects:n,pointerCoordinates:r}=e;if(!r)return[];const o=[];for(const e of t){const{id:t}=e,i=n.get(t);if(i&&j(r,i)){const n=w(i).reduce(((e,t)=>e+y(r,t)),0),a=Number((n/4).toFixed(4));o.push({id:t,data:{droppableContainer:e,value:a}})}}return o.sort(b)};function k(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:g}function A(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x})),{...t})}}const D=A(1);function L(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}const R={ignoreTransform:!1};function M(e,t){void 0===t&&(t=R);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:r}=(0,i.getWindow)(e).getComputedStyle(e);t&&(n=function(e,t,n){const r=L(t);if(!r)return e;const{scaleX:o,scaleY:i,x:a,y:s}=r,l=e.left-a-(1-o)*parseFloat(n),c=e.top-s-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),u=o?e.width/o:e.width,f=i?e.height/i:e.height;return{width:u,height:f,top:c,right:l+u,bottom:c+f,left:l}}(n,t,r))}const{top:r,left:o,width:a,height:s,bottom:l,right:c}=n;return{top:r,left:o,width:a,height:s,bottom:l,right:c}}function I(e){return M(e,{ignoreTransform:!0})}function N(e,t){const n=[];return e?function r(o){if(null!=t&&n.length>=t)return n;if(!o)return n;if((0,i.isDocument)(o)&&null!=o.scrollingElement&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),n;if(!(0,i.isHTMLElement)(o)||(0,i.isSVGElement)(o))return n;if(n.includes(o))return n;const a=(0,i.getWindow)(e).getComputedStyle(o);return o!==e&&function(e,t){void 0===t&&(t=(0,i.getWindow)(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const r=t[e];return"string"==typeof r&&n.test(r)}))}(o,a)&&n.push(o),function(e,t){return void 0===t&&(t=(0,i.getWindow)(e).getComputedStyle(e)),"fixed"===t.position}(o,a)?n:r(o.parentNode)}(e):n}function B(e){const[t]=N(e,1);return null!=t?t:null}function $(e){return i.canUseDOM&&e?(0,i.isWindow)(e)?e:(0,i.isNode)(e)?(0,i.isDocument)(e)||e===(0,i.getOwnerDocument)(e).scrollingElement?window:(0,i.isHTMLElement)(e)?e:null:null:null}function F(e){return(0,i.isWindow)(e)?e.scrollX:e.scrollLeft}function z(e){return(0,i.isWindow)(e)?e.scrollY:e.scrollTop}function Q(e){return{x:F(e),y:z(e)}}var V;function U(e){return!(!i.canUseDOM||!e)&&e===document.scrollingElement}function G(e){const t={x:0,y:0},n=U(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(V||(V={}));const W={x:.2,y:.2};function H(e,t,n,r,o){let{top:i,left:a,right:s,bottom:l}=n;void 0===r&&(r=10),void 0===o&&(o=W);const{isTop:c,isBottom:u,isLeft:f,isRight:d}=G(e),p={x:0,y:0},h={x:0,y:0},m=t.height*o.y,g=t.width*o.x;return!c&&i<=t.top+m?(p.y=V.Backward,h.y=r*Math.abs((t.top+m-i)/m)):!u&&l>=t.bottom-m&&(p.y=V.Forward,h.y=r*Math.abs((t.bottom-m-l)/m)),!d&&s>=t.right-g?(p.x=V.Forward,h.x=r*Math.abs((t.right-g-s)/g)):!f&&a<=t.left+g&&(p.x=V.Backward,h.x=r*Math.abs((t.left+g-a)/g)),{direction:p,speed:h}}function Z(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:n,right:r,bottom:o}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function X(e){return e.reduce(((e,t)=>(0,i.add)(e,Q(t))),g)}function q(e,t){if(void 0===t&&(t=M),!e)return;const{top:n,left:r,bottom:o,right:i}=t(e);B(e)&&(o<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const Y=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+F(t)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+z(t)),0)}]];class K{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;const n=N(t),r=X(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,o]of Y)for(const i of t)Object.defineProperty(this,i,{get:()=>{const t=o(n),a=r[e]-t;return this.rect[i]+a},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class J{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 ee(e,t){const 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}var te,ne;function re(e){e.preventDefault()}function oe(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(te||(te={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(ne||(ne={}));const ie={start:[ne.Space,ne.Enter],cancel:[ne.Esc],end:[ne.Space,ne.Enter]},ae=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case ne.Right:return{...n,x:n.x+25};case ne.Left:return{...n,x:n.x-25};case ne.Down:return{...n,y:n.y+25};case ne.Up:return{...n,y:n.y-25}}};class se{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new J((0,i.getOwnerDocument)(t)),this.windowListeners=new J((0,i.getWindow)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(te.Resize,this.handleCancel),this.windowListeners.add(te.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(te.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&q(n),t(g)}handleKeyDown(e){if((0,i.isKeyboardEvent)(e)){const{active:t,context:n,options:r}=this.props,{keyboardCodes:o=ie,coordinateGetter:a=ae,scrollBehavior:s="smooth"}=r,{code:l}=e;if(o.end.includes(l))return void this.handleEnd(e);if(o.cancel.includes(l))return void this.handleCancel(e);const{collisionRect:c}=n.current,u=c?{x:c.left,y:c.top}:g;this.referenceCoordinates||(this.referenceCoordinates=u);const f=a(e,{active:t,context:n.current,currentCoordinates:u});if(f){const t=(0,i.subtract)(f,u),r={x:0,y:0},{scrollableAncestors:o}=n.current;for(const n of o){const o=e.code,{isTop:i,isRight:a,isLeft:l,isBottom:c,maxScroll:u,minScroll:d}=G(n),p=Z(n),h={x:Math.min(o===ne.Right?p.right-p.width/2:p.right,Math.max(o===ne.Right?p.left:p.left+p.width/2,f.x)),y:Math.min(o===ne.Down?p.bottom-p.height/2:p.bottom,Math.max(o===ne.Down?p.top:p.top+p.height/2,f.y))},m=o===ne.Right&&!a||o===ne.Left&&!l,g=o===ne.Down&&!c||o===ne.Up&&!i;if(m&&h.x!==f.x){const e=n.scrollLeft+t.x,i=o===ne.Right&&e<=u.x||o===ne.Left&&e>=d.x;if(i&&!t.y)return void n.scrollTo({left:e,behavior:s});r.x=i?n.scrollLeft-e:o===ne.Right?n.scrollLeft-u.x:n.scrollLeft-d.x,r.x&&n.scrollBy({left:-r.x,behavior:s});break}if(g&&h.y!==f.y){const e=n.scrollTop+t.y,i=o===ne.Down&&e<=u.y||o===ne.Up&&e>=d.y;if(i&&!t.x)return void n.scrollTo({top:e,behavior:s});r.y=i?n.scrollTop-e:o===ne.Down?n.scrollTop-u.y:n.scrollTop-d.y,r.y&&n.scrollBy({top:-r.y,behavior:s});break}}this.handleMove(e,(0,i.add)((0,i.subtract)(f,this.referenceCoordinates),r))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function le(e){return Boolean(e&&"distance"in e)}function ce(e){return Boolean(e&&"delay"in e)}se.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=ie,onActivation:o}=t,{active:i}=n;const{code:a}=e.nativeEvent;if(r.start.includes(a)){const t=i.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==o||o({event:e.nativeEvent}),!0)}return!1}}];class ue{constructor(e,t,n){var r;void 0===n&&(n=function(e){const{EventTarget:t}=(0,i.getWindow)(e);return e instanceof t?e:(0,i.getOwnerDocument)(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;const{event:o}=e,{target:a}=o;this.props=e,this.events=t,this.document=(0,i.getOwnerDocument)(a),this.documentListeners=new J(this.document),this.listeners=new J(n),this.windowListeners=new J((0,i.getWindow)(a)),this.initialCoordinates=null!=(r=(0,i.getEventCoordinates)(o))?r:g,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(){const{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),this.windowListeners.add(te.Resize,this.handleCancel),this.windowListeners.add(te.DragStart,re),this.windowListeners.add(te.VisibilityChange,this.handleCancel),this.windowListeners.add(te.ContextMenu,re),this.documentListeners.add(te.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(ce(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay));if(le(t))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(te.Click,oe,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(te.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:r,props:o}=this,{onMove:a,options:{activationConstraint:s}}=o;if(!r)return;const l=null!=(t=(0,i.getEventCoordinates)(e))?t:g,c=(0,i.subtract)(r,l);if(!n&&s){if(le(s)){if(null!=s.tolerance&&ee(c,s.tolerance))return this.handleCancel();if(ee(c,s.distance))return this.handleStart()}return ce(s)&&ee(c,s.tolerance)?this.handleCancel():void 0}e.cancelable&&e.preventDefault(),a(l)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===ne.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const fe={move:{name:"pointermove"},end:{name:"pointerup"}};class de extends ue{constructor(e){const{event:t}=e,n=(0,i.getOwnerDocument)(t.target);super(e,fe,n)}}de.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)}}];const pe={move:{name:"mousemove"},end:{name:"mouseup"}};var he;!function(e){e[e.RightClick=2]="RightClick"}(he||(he={}));class me extends ue{constructor(e){super(e,pe,(0,i.getOwnerDocument)(e.event.target))}}me.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==he.RightClick&&(null==r||r({event:n}),!0)}}];const ge={move:{name:"touchmove"},end:{name:"touchend"}};class ye extends ue{constructor(e){super(e,ge)}static setup(){return window.addEventListener(ge.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(ge.move.name,e)};function e(){}}}var ve,be;function Oe(e){let{acceleration:t,activator:n=ve.Pointer,canScroll:o,draggingRect:a,enabled:s,interval:l=5,order:c=be.TreeOrder,pointerCoordinates:u,scrollableAncestors:f,scrollableAncestorRects:d,delta:p,threshold:h}=e;const m=function(e){let{delta:t,disabled:n}=e;const r=(0,i.usePrevious)(t);return(0,i.useLazyMemo)((e=>{if(n||!r||!e)return we;const o={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[V.Backward]:e.x[V.Backward]||-1===o.x,[V.Forward]:e.x[V.Forward]||1===o.x},y:{[V.Backward]:e.y[V.Backward]||-1===o.y,[V.Forward]:e.y[V.Forward]||1===o.y}}}),[n,t,r])}({delta:p,disabled:!s}),[g,y]=(0,i.useInterval)(),v=(0,r.useRef)({x:0,y:0}),b=(0,r.useRef)({x:0,y:0}),O=(0,r.useMemo)((()=>{switch(n){case ve.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case ve.DraggableRect:return a}}),[n,a,u]),w=(0,r.useRef)(null),S=(0,r.useCallback)((()=>{const e=w.current;if(!e)return;const t=v.current.x*b.current.x,n=v.current.y*b.current.y;e.scrollBy(t,n)}),[]),x=(0,r.useMemo)((()=>c===be.TreeOrder?[...f].reverse():f),[c,f]);(0,r.useEffect)((()=>{if(s&&f.length&&O){for(const e of x){if(!1===(null==o?void 0:o(e)))continue;const n=f.indexOf(e),r=d[n];if(!r)continue;const{direction:i,speed:a}=H(e,r,O,t,h);for(const e of["x","y"])m[e][i[e]]||(a[e]=0,i[e]=0);if(a.x>0||a.y>0)return y(),w.current=e,g(S,l),v.current=a,void(b.current=i)}v.current={x:0,y:0},b.current={x:0,y:0},y()}else y()}),[t,S,o,y,s,l,JSON.stringify(O),JSON.stringify(m),g,f,x,d,JSON.stringify(h)])}ye.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:o}=n;return!(o.length>1)&&(null==r||r({event:n}),!0)}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(ve||(ve={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(be||(be={}));const we={x:{[V.Backward]:!1,[V.Forward]:!1},y:{[V.Backward]:!1,[V.Forward]:!1}};var Se,xe;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(Se||(Se={})),function(e){e.Optimized="optimized"}(xe||(xe={}));const Ee=new Map;function _e(e,t){return(0,i.useLazyMemo)((n=>e?n||("function"==typeof t?t(e):e):null),[t,e])}function Pe(e){let{callback:t,disabled:n}=e;const o=(0,i.useEvent)(t),a=(0,r.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(o)}),[n]);return(0,r.useEffect)((()=>()=>null==a?void 0:a.disconnect()),[a]),a}function Te(e){return new K(M(e),e)}function je(e,t,n){void 0===t&&(t=Te);const[o,a]=(0,r.useReducer)((function(r){if(!e)return null;var o;if(!1===e.isConnected)return null!=(o=null!=r?r:n)?o:null;const i=t(e);if(JSON.stringify(r)===JSON.stringify(i))return r;return i}),null),s=function(e){let{callback:t,disabled:n}=e;const o=(0,i.useEvent)(t),a=(0,r.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(o)}),[o,n]);return(0,r.useEffect)((()=>()=>null==a?void 0:a.disconnect()),[a]),a}({callback(t){if(e)for(const n of t){const{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),l=Pe({callback:a});return(0,i.useIsomorphicLayoutEffect)((()=>{a(),e?(null==l||l.observe(e),null==s||s.observe(document.body,{childList:!0,subtree:!0})):(null==l||l.disconnect(),null==s||s.disconnect())}),[e]),o}const Ce=[];function ke(e,t){void 0===t&&(t=[]);const n=(0,r.useRef)(null);return(0,r.useEffect)((()=>{n.current=null}),t),(0,r.useEffect)((()=>{const t=e!==g;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)}),[e]),n.current?(0,i.subtract)(e,n.current):g}function Ae(e){return(0,r.useMemo)((()=>e?function(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null),[e])}const De=[];function Le(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return(0,i.isHTMLElement)(t)?t:e}const Re=[{sensor:de,options:{}},{sensor:se,options:{}}],Me={current:{}},Ie={draggable:{measure:I},droppable:{measure:I,strategy:Se.WhileDragging,frequency:xe.Optimized},dragOverlay:{measure:M}};class Ne 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}}const Be={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Ne,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:p},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Ie,measureDroppableContainers:p,windowRect:null,measuringScheduled:!1},$e={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:p,draggableNodes:new Map,over:null,measureDroppableContainers:p},Fe=(0,r.createContext)($e),ze=(0,r.createContext)(Be);function Qe(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Ne}}}function Ve(e,t){switch(t.type){case d.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case d.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case d.DragEnd:case d.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case d.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new Ne(e.droppable.containers);return o.set(r,n),{...e,droppable:{...e.droppable,containers:o}}}case d.SetDroppableDisabled:{const{id:n,key:r,disabled:o}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const a=new Ne(e.droppable.containers);return a.set(n,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:a}}}case d.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new Ne(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function Ue(e){let{disabled:t}=e;const{active:n,activatorEvent:o,draggableNodes:a}=(0,r.useContext)(Fe),s=(0,i.usePrevious)(o),l=(0,i.usePrevious)(null==n?void 0:n.id);return(0,r.useEffect)((()=>{if(!t&&!o&&s&&null!=l){if(!(0,i.isKeyboardEvent)(s))return;if(document.activeElement===s.target)return;const e=a.get(l);if(!e)return;const{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame((()=>{for(const e of[t.current,n.current]){if(!e)continue;const t=(0,i.findFirstFocusableNode)(e);if(t){t.focus();break}}}))}}),[o,t,a,l,s]),null}function Ge(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...r})),n):n}const We=(0,r.createContext)({...g,scaleX:1,scaleY:1});var He;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(He||(He={}));const Ze=(0,r.memo)((function(e){var t,n,a,l;let{id:c,accessibility:u,autoScroll:p=!0,children:h,sensors:m=Re,collisionDetection:y=T,measuring:v,modifiers:b,...O}=e;const w=(0,r.useReducer)(Ve,void 0,Qe),[x,E]=w,[_,P]=function(){const[e]=(0,r.useState)((()=>new Set)),t=(0,r.useCallback)((t=>(e.add(t),()=>e.delete(t))),[e]);return[(0,r.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]}(),[j,C]=(0,r.useState)(He.Uninitialized),A=j===He.Initialized,{draggable:{active:L,nodes:R,translate:I},droppable:{containers:F}}=x,z=L?R.get(L):null,V=(0,r.useRef)({initial:null,translated:null}),G=(0,r.useMemo)((()=>{var e;return null!=L?{id:L,data:null!=(e=null==z?void 0:z.data)?e:Me,rect:V}:null}),[L,z]),W=(0,r.useRef)(null),[H,Z]=(0,r.useState)(null),[q,Y]=(0,r.useState)(null),J=(0,i.useLatestValue)(O,Object.values(O)),ee=(0,i.useUniqueId)("DndDescribedBy",c),te=(0,r.useMemo)((()=>F.getEnabled()),[F]),ne=(re=v,(0,r.useMemo)((()=>({draggable:{...Ie.draggable,...null==re?void 0:re.draggable},droppable:{...Ie.droppable,...null==re?void 0:re.droppable},dragOverlay:{...Ie.dragOverlay,...null==re?void 0:re.dragOverlay}})),[null==re?void 0:re.draggable,null==re?void 0:re.droppable,null==re?void 0:re.dragOverlay]));var re;const{droppableRects:oe,measureDroppableContainers:ie,measuringScheduled:ae}=function(e,t){let{dragging:n,dependencies:o,config:a}=t;const[s,l]=(0,r.useState)(null),{frequency:c,measure:u,strategy:f}=a,d=(0,r.useRef)(e),p=function(){switch(f){case Se.Always:return!1;case Se.BeforeDragging:return n;default:return!n}}(),h=(0,i.useLatestValue)(p),m=(0,r.useCallback)((function(e){void 0===e&&(e=[]),h.current||l((t=>null===t?e:t.concat(e.filter((e=>!t.includes(e))))))}),[h]),g=(0,r.useRef)(null),y=(0,i.useLazyMemo)((t=>{if(p&&!n)return Ee;if(!t||t===Ee||d.current!==e||null!=s){const t=new Map;for(let n of e){if(!n)continue;if(s&&s.length>0&&!s.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}const e=n.node.current,r=e?new K(u(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t}),[e,s,n,p,u]);return(0,r.useEffect)((()=>{d.current=e}),[e]),(0,r.useEffect)((()=>{p||m()}),[n,p]),(0,r.useEffect)((()=>{s&&s.length>0&&l(null)}),[JSON.stringify(s)]),(0,r.useEffect)((()=>{p||"number"!=typeof c||null!==g.current||(g.current=setTimeout((()=>{m(),g.current=null}),c))}),[c,p,m,...o]),{droppableRects:y,measureDroppableContainers:m,measuringScheduled:null!=s}}(te,{dragging:A,dependencies:[I.x,I.y],config:ne.droppable}),se=function(e,t){const n=null!==t?e.get(t):void 0,r=n?n.node.current:null;return(0,i.useLazyMemo)((e=>{var n;return null===t?null:null!=(n=null!=r?r:e)?n:null}),[r,t])}(R,L),le=(0,r.useMemo)((()=>q?(0,i.getEventCoordinates)(q):null),[q]),ce=function(){const e=!1===(null==H?void 0:H.autoScrollEnabled),t="object"==typeof p?!1===p.enabled:!1===p,n=A&&!e&&!t;if("object"==typeof p)return{...p,enabled:n};return{enabled:n}}(),ue=function(e,t){return _e(e,t)}(se,ne.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:o,config:a=!0}=e;const s=(0,r.useRef)(!1),{x:l,y:c}="boolean"==typeof a?{x:a,y:a}:a;(0,i.useIsomorphicLayoutEffect)((()=>{if(!l&&!c||!t)return void(s.current=!1);if(s.current||!o)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const r=k(n(e),o);if(l||(r.x=0),c||(r.y=0),s.current=!0,Math.abs(r.x)>0||Math.abs(r.y)>0){const t=B(e);t&&t.scrollBy({top:r.y,left:r.x})}}),[t,l,c,o,n])}({activeNode:L?R.get(L):null,config:ce.layoutShiftCompensation,initialRect:ue,measure:ne.draggable.measure});const fe=je(se,ne.draggable.measure,ue),de=je(se?se.parentElement:null),pe=(0,r.useRef)({activatorEvent:null,active:null,activeNode:se,collisionRect:null,collisions:null,droppableRects:oe,draggableNodes:R,draggingNode:null,draggingNodeRect:null,droppableContainers:F,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),he=F.getNodeFor(null==(t=pe.current.over)?void 0:t.id),me=function(e){let{measure:t}=e;const[n,o]=(0,r.useState)(null),a=Pe({callback:(0,r.useCallback)((e=>{for(const{target:n}of e)if((0,i.isHTMLElement)(n)){o((e=>{const r=t(n);return e?{...e,width:r.width,height:r.height}:r}));break}}),[t])}),s=(0,r.useCallback)((e=>{const n=Le(e);null==a||a.disconnect(),n&&(null==a||a.observe(n)),o(n?t(n):null)}),[t,a]),[l,c]=(0,i.useNodeRef)(s);return(0,r.useMemo)((()=>({nodeRef:l,rect:n,setRef:c})),[n,l,c])}({measure:ne.dragOverlay.measure}),ge=null!=(n=me.nodeRef.current)?n:se,ye=A?null!=(a=me.rect)?a:fe:null,ve=Boolean(me.nodeRef.current&&me.rect),be=k(we=ve?null:fe,_e(we));var we;const xe=Ae(ge?(0,i.getWindow)(ge):null),Te=function(e){const t=(0,r.useRef)(e),n=(0,i.useLazyMemo)((n=>e?n&&n!==Ce&&e&&t.current&&e.parentNode===t.current.parentNode?n:N(e):Ce),[e]);return(0,r.useEffect)((()=>{t.current=e}),[e]),n}(A?null!=he?he:se:null),Ne=function(e,t){void 0===t&&(t=M);const[n]=e,o=Ae(n?(0,i.getWindow)(n):null),[a,s]=(0,r.useReducer)((function(){return e.length?e.map((e=>U(e)?o:new K(t(e),e))):De}),De),l=Pe({callback:s});return e.length>0&&a===De&&s(),(0,i.useIsomorphicLayoutEffect)((()=>{e.length?e.forEach((e=>null==l?void 0:l.observe(e))):(null==l||l.disconnect(),s())}),[e]),a}(Te),Be=Ge(b,{transform:{x:I.x-be.x,y:I.y-be.y,scaleX:1,scaleY:1},activatorEvent:q,active:G,activeNodeRect:fe,containerNodeRect:de,draggingNodeRect:ye,over:pe.current.over,overlayNodeRect:me.rect,scrollableAncestors:Te,scrollableAncestorRects:Ne,windowRect:xe}),$e=le?(0,i.add)(le,I):null,Ze=function(e){const[t,n]=(0,r.useState)(null),o=(0,r.useRef)(e),a=(0,r.useCallback)((e=>{const t=$(e.target);t&&n((e=>e?(e.set(t,Q(t)),new Map(e)):null))}),[]);return(0,r.useEffect)((()=>{const t=o.current;if(e!==t){r(t);const i=e.map((e=>{const t=$(e);return t?(t.addEventListener("scroll",a,{passive:!0}),[t,Q(t)]):null})).filter((e=>null!=e));n(i.length?new Map(i):null),o.current=e}return()=>{r(e),r(t)};function r(e){e.forEach((e=>{const t=$(e);null==t||t.removeEventListener("scroll",a)}))}}),[a,e]),(0,r.useMemo)((()=>e.length?t?Array.from(t.values()).reduce(((e,t)=>(0,i.add)(e,t)),g):X(e):g),[e,t])}(Te),Xe=ke(Ze),qe=ke(Ze,[fe]),Ye=(0,i.add)(Be,Xe),Ke=ye?D(ye,Be):null,Je=G&&Ke?y({active:G,collisionRect:Ke,droppableRects:oe,droppableContainers:te,pointerCoordinates:$e}):null,et=S(Je,"id"),[tt,nt]=(0,r.useState)(null),rt=function(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}(ve?Be:(0,i.add)(Be,qe),null!=(l=null==tt?void 0:tt.rect)?l:null,fe),ot=(0,r.useCallback)(((e,t)=>{let{sensor:n,options:r}=t;if(null==W.current)return;const i=R.get(W.current);if(!i)return;const a=e.nativeEvent,s=new n({active:W.current,activeNode:i,event:a,options:r,context:pe,onStart(e){const t=W.current;if(null==t)return;const n=R.get(t);if(!n)return;const{onDragStart:r}=J.current,i={active:{id:t,data:n.data,rect:V}};(0,o.unstable_batchedUpdates)((()=>{null==r||r(i),C(He.Initializing),E({type:d.DragStart,initialCoordinates:e,active:t}),_({type:"onDragStart",event:i})}))},onMove(e){E({type:d.DragMove,coordinates:e})},onEnd:l(d.DragEnd),onCancel:l(d.DragCancel)});function l(e){return async function(){const{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=pe.current;let s=null;if(t&&i){const{cancelDrop:o}=J.current;if(s={activatorEvent:a,active:t,collisions:n,delta:i,over:r},e===d.DragEnd&&"function"==typeof o){await Promise.resolve(o(s))&&(e=d.DragCancel)}}W.current=null,(0,o.unstable_batchedUpdates)((()=>{E({type:e}),C(He.Uninitialized),nt(null),Z(null),Y(null);const t=e===d.DragEnd?"onDragEnd":"onDragCancel";if(s){const e=J.current[t];null==e||e(s),_({type:t,event:s})}}))}}(0,o.unstable_batchedUpdates)((()=>{Z(s),Y(e.nativeEvent)}))}),[R]),it=(0,r.useCallback)(((e,t)=>(n,r)=>{const o=n.nativeEvent,i=R.get(r);if(null!==W.current||!i||o.dndKit||o.defaultPrevented)return;const a={active:i};!0===e(n,t.options,a)&&(o.dndKit={capturedBy:t.sensor},W.current=r,ot(n,t))}),[R,ot]),at=function(e,t){return(0,r.useMemo)((()=>e.reduce(((e,n)=>{const{sensor:r}=n;return[...e,...r.activators.map((e=>({eventName:e.eventName,handler:t(e.handler,n)})))]}),[])),[e,t])}(m,it);!function(e){(0,r.useEffect)((()=>{if(!i.canUseDOM)return;const t=e.map((e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()}));return()=>{for(const e of t)null==e||e()}}),e.map((e=>{let{sensor:t}=e;return t})))}(m),(0,i.useIsomorphicLayoutEffect)((()=>{fe&&j===He.Initializing&&C(He.Initialized)}),[fe,j]),(0,r.useEffect)((()=>{const{onDragMove:e}=J.current,{active:t,activatorEvent:n,collisions:r,over:i}=pe.current;if(!t||!n)return;const a={active:t,activatorEvent:n,collisions:r,delta:{x:Ye.x,y:Ye.y},over:i};(0,o.unstable_batchedUpdates)((()=>{null==e||e(a),_({type:"onDragMove",event:a})}))}),[Ye.x,Ye.y]),(0,r.useEffect)((()=>{const{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=pe.current;if(!e||null==W.current||!t||!i)return;const{onDragOver:a}=J.current,s=r.get(et),l=s&&s.rect.current?{id:s.id,rect:s.rect.current,data:s.data,disabled:s.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:l};(0,o.unstable_batchedUpdates)((()=>{nt(l),null==a||a(c),_({type:"onDragOver",event:c})}))}),[et]),(0,i.useIsomorphicLayoutEffect)((()=>{pe.current={activatorEvent:q,active:G,activeNode:se,collisionRect:Ke,collisions:Je,droppableRects:oe,draggableNodes:R,draggingNode:ge,draggingNodeRect:ye,droppableContainers:F,over:tt,scrollableAncestors:Te,scrollAdjustedTranslate:Ye},V.current={initial:ye,translated:Ke}}),[G,se,Je,Ke,R,ge,ye,oe,F,tt,Te,Ye]),Oe({...ce,delta:I,draggingRect:Ke,pointerCoordinates:$e,scrollableAncestors:Te,scrollableAncestorRects:Ne});const st=(0,r.useMemo)((()=>({active:G,activeNode:se,activeNodeRect:fe,activatorEvent:q,collisions:Je,containerNodeRect:de,dragOverlay:me,draggableNodes:R,droppableContainers:F,droppableRects:oe,over:tt,measureDroppableContainers:ie,scrollableAncestors:Te,scrollableAncestorRects:Ne,measuringConfiguration:ne,measuringScheduled:ae,windowRect:xe})),[G,se,fe,q,Je,de,me,R,F,oe,tt,ie,Te,Ne,ne,ae,xe]),lt=(0,r.useMemo)((()=>({activatorEvent:q,activators:at,active:G,activeNodeRect:fe,ariaDescribedById:{draggable:ee},dispatch:E,draggableNodes:R,over:tt,measureDroppableContainers:ie})),[q,at,G,fe,E,ee,R,tt,ie]);return r.createElement(s.Provider,{value:P},r.createElement(Fe.Provider,{value:lt},r.createElement(ze.Provider,{value:st},r.createElement(We.Provider,{value:rt},h)),r.createElement(Ue,{disabled:!1===(null==u?void 0:u.restoreFocus)})),r.createElement(f,{...u,hiddenTextDescribedById:ee}))})),Xe=(0,r.createContext)(null),qe="button",Ye="Droppable";function Ke(e){let{id:t,data:n,disabled:o=!1,attributes:a}=e;const s=(0,i.useUniqueId)(Ye),{activators:l,activatorEvent:c,active:u,activeNodeRect:f,ariaDescribedById:d,draggableNodes:p,over:h}=(0,r.useContext)(Fe),{role:m=qe,roleDescription:g="draggable",tabIndex:y=0}=null!=a?a:{},v=(null==u?void 0:u.id)===t,b=(0,r.useContext)(v?We:Xe),[O,w]=(0,i.useNodeRef)(),[S,x]=(0,i.useNodeRef)(),E=function(e,t){return(0,r.useMemo)((()=>e.reduce(((e,n)=>{let{eventName:r,handler:o}=n;return e[r]=e=>{o(e,t)},e}),{})),[e,t])}(l,t),_=(0,i.useLatestValue)(n);(0,i.useIsomorphicLayoutEffect)((()=>(p.set(t,{id:t,key:s,node:O,activatorNode:S,data:_}),()=>{const e=p.get(t);e&&e.key===s&&p.delete(t)})),[p,t]);return{active:u,activatorEvent:c,activeNodeRect:f,attributes:(0,r.useMemo)((()=>({role:m,tabIndex:y,"aria-disabled":o,"aria-pressed":!(!v||m!==qe)||void 0,"aria-roledescription":g,"aria-describedby":d.draggable})),[o,m,y,v,g,d.draggable]),isDragging:v,listeners:o?void 0:E,node:O,over:h,setNodeRef:w,setActivatorNodeRef:x,transform:b}}function Je(){return(0,r.useContext)(ze)}const et="Droppable",tt={timeout:25};function nt(e){let{data:t,disabled:n=!1,id:o,resizeObserverConfig:a}=e;const s=(0,i.useUniqueId)(et),{active:l,dispatch:c,over:u,measureDroppableContainers:f}=(0,r.useContext)(Fe),p=(0,r.useRef)({disabled:n}),h=(0,r.useRef)(!1),m=(0,r.useRef)(null),g=(0,r.useRef)(null),{disabled:y,updateMeasurementsFor:v,timeout:b}={...tt,...a},O=(0,i.useLatestValue)(null!=v?v:o),w=Pe({callback:(0,r.useCallback)((()=>{h.current?(null!=g.current&&clearTimeout(g.current),g.current=setTimeout((()=>{f(Array.isArray(O.current)?O.current:[O.current]),g.current=null}),b)):h.current=!0}),[b]),disabled:y||!l}),S=(0,r.useCallback)(((e,t)=>{w&&(t&&(w.unobserve(t),h.current=!1),e&&w.observe(e))}),[w]),[x,E]=(0,i.useNodeRef)(S),_=(0,i.useLatestValue)(t);return(0,r.useEffect)((()=>{w&&x.current&&(w.disconnect(),h.current=!1,w.observe(x.current))}),[x,w]),(0,i.useIsomorphicLayoutEffect)((()=>(c({type:d.RegisterDroppable,element:{id:o,key:s,disabled:n,node:x,rect:m,data:_}}),()=>c({type:d.UnregisterDroppable,key:s,id:o}))),[o]),(0,r.useEffect)((()=>{n!==p.current.disabled&&(c({type:d.SetDroppableDisabled,id:o,key:s,disabled:n}),p.current.disabled=n)}),[o,s,n,c]),{active:l,rect:m,isOver:(null==u?void 0:u.id)===o,node:x,over:u,setNodeRef:E}}function rt(e){let{animation:t,children:n}=e;const[o,a]=(0,r.useState)(null),[s,l]=(0,r.useState)(null),c=(0,i.usePrevious)(n);return n||o||!c||a(c),(0,i.useIsomorphicLayoutEffect)((()=>{if(!s)return;const e=null==o?void 0:o.key,n=null==o?void 0:o.props.id;null!=e&&null!=n?Promise.resolve(t(n,s)).then((()=>{a(null)})):a(null)}),[t,o,s]),r.createElement(r.Fragment,null,n,o?(0,r.cloneElement)(o,{ref:l}):null)}const ot={x:0,y:0,scaleX:1,scaleY:1};function it(e){let{children:t}=e;return r.createElement(Fe.Provider,{value:$e},r.createElement(We.Provider,{value:ot},t))}const at={position:"fixed",touchAction:"none"},st=e=>(0,i.isKeyboardEvent)(e)?"transform 250ms ease":void 0,lt=(0,r.forwardRef)(((e,t)=>{let{as:n,activatorEvent:o,adjustScale:a,children:s,className:l,rect:c,style:u,transform:f,transition:d=st}=e;if(!c)return null;const p=a?f:{...f,scaleX:1,scaleY:1},h={...at,width:c.width,height:c.height,top:c.top,left:c.left,transform:i.CSS.Transform.toString(p),transformOrigin:a&&o?v(o,c):void 0,transition:"function"==typeof d?d(o):d,...u};return r.createElement(n,{className:l,style:h,ref:t},s)})),ct=e=>t=>{let{active:n,dragOverlay:r}=t;const o={},{styles:i,className:a}=e;if(null!=i&&i.active)for(const[e,t]of Object.entries(i.active))void 0!==t&&(o[e]=n.node.style.getPropertyValue(e),n.node.style.setProperty(e,t));if(null!=i&&i.dragOverlay)for(const[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(const[e,t]of Object.entries(o))n.node.style.setProperty(e,t);null!=a&&a.active&&n.node.classList.remove(a.active)}},ut={duration:250,easing:"ease",keyframes:e=>{let{transform:{initial:t,final:n}}=e;return[{transform:i.CSS.Transform.toString(t)},{transform:i.CSS.Transform.toString(n)}]},sideEffects:ct({styles:{active:{opacity:"0"}}})};function ft(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:o}=e;return(0,i.useEvent)(((e,a)=>{if(null===t)return;const s=n.get(e);if(!s)return;const l=s.node.current;if(!l)return;const c=Le(a);if(!c)return;const{transform:u}=(0,i.getWindow)(a).getComputedStyle(a),f=L(u);if(!f)return;const d="function"==typeof t?t:function(e){const{duration:t,easing:n,sideEffects:r,keyframes:o}={...ut,...e};return e=>{let{active:i,dragOverlay:a,transform:s,...l}=e;if(!t)return;const c={x:a.rect.left-i.rect.left,y:a.rect.top-i.rect.top},u={scaleX:1!==s.scaleX?i.rect.width*s.scaleX/a.rect.width:1,scaleY:1!==s.scaleY?i.rect.height*s.scaleY/a.rect.height:1},f={x:s.x-c.x,y:s.y-c.y,...u},d=o({...l,active:i,dragOverlay:a,transform:{initial:s,final:f}}),[p]=d,h=d[d.length-1];if(JSON.stringify(p)===JSON.stringify(h))return;const m=null==r?void 0:r({active:i,dragOverlay:a,...l}),g=a.node.animate(d,{duration:t,easing:n,fill:"forwards"});return new Promise((e=>{g.onfinish=()=>{null==m||m(),e()}}))}}(t);return q(l,o.draggable.measure),d({active:{id:e,data:s.data,node:l,rect:o.draggable.measure(l)},draggableNodes:n,dragOverlay:{node:a,rect:o.dragOverlay.measure(c)},droppableContainers:r,measuringConfiguration:o,transform:f})}))}let dt=0;function pt(e){return(0,r.useMemo)((()=>{if(null!=e)return dt++,dt}),[e])}const ht=r.memo((e=>{let{adjustScale:t=!1,children:n,dropAnimation:o,style:i,transition:a,modifiers:s,wrapperElement:l="div",className:c,zIndex:u=999}=e;const{activatorEvent:f,active:d,activeNodeRect:p,containerNodeRect:h,draggableNodes:m,droppableContainers:g,dragOverlay:y,over:v,measuringConfiguration:b,scrollableAncestors:O,scrollableAncestorRects:w,windowRect:S}=Je(),x=(0,r.useContext)(We),E=pt(null==d?void 0:d.id),_=Ge(s,{activatorEvent:f,active:d,activeNodeRect:p,containerNodeRect:h,draggingNodeRect:y.rect,over:v,overlayNodeRect:y.rect,scrollableAncestors:O,scrollableAncestorRects:w,transform:x,windowRect:S}),P=_e(p),T=ft({config:o,draggableNodes:m,droppableContainers:g,measuringConfiguration:b}),j=P?y.setRef:void 0;return r.createElement(it,null,r.createElement(rt,{animation:T},d&&E?r.createElement(lt,{key:E,id:d.id,ref:j,as:l,activatorEvent:f,adjustScale:t,className:c,transition:a,rect:P,style:{zIndex:u,...i},transform:_},n):null))}))},32339:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createSnapModifier:()=>o,restrictToFirstScrollableAncestor:()=>l,restrictToHorizontalAxis:()=>i,restrictToParentElement:()=>s,restrictToVerticalAxis:()=>c,restrictToWindowEdges:()=>u,snapCenterToCursor:()=>f});var r=n(24285);function o(e){return t=>{let{transform:n}=t;return{...n,x:Math.ceil(n.x/e)*e,y:Math.ceil(n.y/e)*e}}}const i=e=>{let{transform:t}=e;return{...t,y:0}};function a(e,t,n){const r={...e};return t.top+e.y<=n.top?r.y=n.top-t.top:t.bottom+e.y>=n.top+n.height&&(r.y=n.top+n.height-t.bottom),t.left+e.x<=n.left?r.x=n.left-t.left:t.right+e.x>=n.left+n.width&&(r.x=n.left+n.width-t.right),r}const s=e=>{let{containerNodeRect:t,draggingNodeRect:n,transform:r}=e;return n&&t?a(r,n,t):r},l=e=>{let{draggingNodeRect:t,transform:n,scrollableAncestorRects:r}=e;const o=r[0];return t&&o?a(n,t,o):n},c=e=>{let{transform:t}=e;return{...t,x:0}},u=e=>{let{transform:t,draggingNodeRect:n,windowRect:r}=e;return n&&r?a(t,n,r):t},f=e=>{let{activatorEvent:t,draggingNodeRect:n,transform:o}=e;if(n&&t){const e=(0,r.getEventCoordinates)(t);if(!e)return o;const i=e.x-n.left,a=e.y-n.top;return{...o,x:o.x+i-n.width/2,y:o.y+a-n.height/2}}return o}},45587:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SortableContext:()=>v,arrayMove:()=>a,arraySwap:()=>s,defaultAnimateLayoutChanges:()=>O,defaultNewIndexGetter:()=>b,hasSortableData:()=>P,horizontalListSortingStrategy:()=>f,rectSortingStrategy:()=>d,rectSwappingStrategy:()=>p,sortableKeyboardCoordinates:()=>j,useSortable:()=>_,verticalListSortingStrategy:()=>m});var r=n(36198),o=n(94697),i=n(24285);function a(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function s(e,t,n){const r=e.slice();return r[t]=e[n],r[n]=e[t],r}function l(e,t){return e.reduce(((e,n,r)=>{const o=t.get(n);return o&&(e[r]=o),e}),Array(e.length))}function c(e){return null!==e&&e>=0}const u={scaleX:1,scaleY:1},f=e=>{var t;let{rects:n,activeNodeRect:r,activeIndex:o,overIndex:i,index:a}=e;const s=null!=(t=n[o])?t:r;if(!s)return null;const l=function(e,t,n){const r=e[t],o=e[t-1],i=e[t+1];if(!r||!o&&!i)return 0;if(no&&a<=i?{x:-s.width-l,y:0,...u}:a=i?{x:s.width+l,y:0,...u}:{x:0,y:0,...u}};const d=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const i=a(t,r,n),s=t[o],l=i[o];return l&&s?{x:l.left-s.left,y:l.top-s.top,scaleX:l.width/s.width,scaleY:l.height/s.height}:null},p=e=>{let t,n,{activeIndex:r,index:o,rects:i,overIndex:a}=e;return o===r&&(t=i[o],n=i[a]),o===a&&(t=i[o],n=i[r]),n&&t?{x:n.left-t.left,y:n.top-t.top,scaleX:n.width/t.width,scaleY:n.height/t.height}:null},h={scaleX:1,scaleY:1},m=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:o,rects:i,overIndex:a}=e;const s=null!=(t=i[n])?t:r;if(!s)return null;if(o===n){const e=i[a];return e?{x:0,y:nn&&o<=a?{x:0,y:-s.height-l,...h}:o=a?{x:0,y:s.height+l,...h}:{x:0,y:0,...h}};const g="Sortable",y=r.createContext({activeIndex:-1,containerId:g,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:d,disabled:{draggable:!1,droppable:!1}});function v(e){let{children:t,id:n,items:a,strategy:s=d,disabled:c=!1}=e;const{active:u,dragOverlay:f,droppableRects:p,over:h,measureDroppableContainers:m}=(0,o.useDndContext)(),v=(0,i.useUniqueId)(g,n),b=Boolean(null!==f.rect),O=(0,r.useMemo)((()=>a.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[a]),w=null!=u,S=u?O.indexOf(u.id):-1,x=h?O.indexOf(h.id):-1,E=(0,r.useRef)(O),_=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n{_&&w&&m(O)}),[_,O,w,m]),(0,r.useEffect)((()=>{E.current=O}),[O]);const j=(0,r.useMemo)((()=>({activeIndex:S,containerId:v,disabled:T,disableTransforms:P,items:O,overIndex:x,useDragOverlay:b,sortedRects:l(O,p),strategy:s})),[S,v,T.draggable,T.droppable,P,O,x,p,b,s]);return r.createElement(y.Provider,{value:j},t)}const b=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return a(n,r,o).indexOf(t)},O=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:i,newIndex:a,previousItems:s,previousContainerId:l,transition:c}=e;return!(!c||!r)&&((s===i||o!==a)&&(!!n||a!==o&&t===l))},w={duration:200,easing:"ease"},S="transform",x=i.CSS.Transition.toString({property:S,duration:0,easing:"linear"}),E={roleDescription:"sortable"};function _(e){let{animateLayoutChanges:t=O,attributes:n,disabled:a,data:s,getNewIndex:l=b,id:u,strategy:f,resizeObserverConfig:d,transition:p=w}=e;const{items:h,containerId:m,activeIndex:g,disabled:v,disableTransforms:_,sortedRects:P,overIndex:T,useDragOverlay:j,strategy:C}=(0,r.useContext)(y),k=function(e,t){var n,r;if("boolean"==typeof e)return{draggable:e,droppable:!1};return{draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,droppable:null!=(r=null==e?void 0:e.droppable)?r:t.droppable}}(a,v),A=h.indexOf(u),D=(0,r.useMemo)((()=>({sortable:{containerId:m,index:A,items:h},...s})),[m,s,A,h]),L=(0,r.useMemo)((()=>h.slice(h.indexOf(u))),[h,u]),{rect:R,node:M,isOver:I,setNodeRef:N}=(0,o.useDroppable)({id:u,data:D,disabled:k.droppable,resizeObserverConfig:{updateMeasurementsFor:L,...d}}),{active:B,activatorEvent:$,activeNodeRect:F,attributes:z,setNodeRef:Q,listeners:V,isDragging:U,over:G,setActivatorNodeRef:W,transform:H}=(0,o.useDraggable)({id:u,data:D,attributes:{...E,...n},disabled:k.draggable}),Z=(0,i.useCombinedRefs)(N,Q),X=Boolean(B),q=X&&!_&&c(g)&&c(T),Y=!j&&U,K=Y&&q?H:null,J=q?null!=K?K:(null!=f?f:C)({rects:P,activeNodeRect:F,activeIndex:g,overIndex:T,index:A}):null,ee=c(g)&&c(T)?l({id:u,items:h,activeIndex:g,overIndex:T}):A,te=null==B?void 0:B.id,ne=(0,r.useRef)({activeId:te,items:h,newIndex:ee,containerId:m}),re=h!==ne.current.items,oe=t({active:B,containerId:m,isDragging:U,isSorting:X,id:u,index:A,items:h,newIndex:ne.current.newIndex,previousItems:ne.current.items,previousContainerId:ne.current.containerId,transition:p,wasDragging:null!=ne.current.activeId}),ie=function(e){let{disabled:t,index:n,node:a,rect:s}=e;const[l,c]=(0,r.useState)(null),u=(0,r.useRef)(n);return(0,i.useIsomorphicLayoutEffect)((()=>{if(!t&&n!==u.current&&a.current){const e=s.current;if(e){const t=(0,o.getClientRect)(a.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&c(n)}}n!==u.current&&(u.current=n)}),[t,n,a,s]),(0,r.useEffect)((()=>{l&&c(null)}),[l]),l}({disabled:!oe,index:A,node:M,rect:R});return(0,r.useEffect)((()=>{X&&ne.current.newIndex!==ee&&(ne.current.newIndex=ee),m!==ne.current.containerId&&(ne.current.containerId=m),h!==ne.current.items&&(ne.current.items=h)}),[X,ee,m,h]),(0,r.useEffect)((()=>{if(te===ne.current.activeId)return;if(te&&!ne.current.activeId)return void(ne.current.activeId=te);const e=setTimeout((()=>{ne.current.activeId=te}),50);return()=>clearTimeout(e)}),[te]),{active:B,activeIndex:g,attributes:z,data:D,rect:R,index:A,newIndex:ee,items:h,isOver:I,isSorting:X,isDragging:U,listeners:V,node:M,overIndex:T,over:G,setNodeRef:Z,setActivatorNodeRef:W,setDroppableNodeRef:N,setDraggableNodeRef:Q,transform:null!=ie?ie:J,transition:function(){if(ie||re&&ne.current.newIndex===A)return x;if(Y&&!(0,i.isKeyboardEvent)($)||!p)return;if(X||oe)return i.CSS.Transition.toString({...p,property:S});return}()}}function P(e){if(!e)return!1;const 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)}const T=[o.KeyboardCode.Down,o.KeyboardCode.Right,o.KeyboardCode.Up,o.KeyboardCode.Left],j=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:a,droppableContainers:s,over:l,scrollableAncestors:c}}=t;if(T.includes(e.code)){if(e.preventDefault(),!n||!r)return;const t=[];s.getEnabled().forEach((n=>{if(!n||null!=n&&n.disabled)return;const i=a.get(n.id);if(i)switch(e.code){case o.KeyboardCode.Down:r.topi.top&&t.push(n);break;case o.KeyboardCode.Left:r.left>i.left&&t.push(n);break;case o.KeyboardCode.Right:r.left1&&(f=u[1].id),null!=f){const e=s.get(n.id),t=s.get(f),l=t?a.get(t.id):null,u=null==t?void 0:t.node.current;if(u&&l&&e&&t){const n=(0,o.getScrollableAncestors)(u).some(((e,t)=>c[t]!==e)),a=C(e,t),s=function(e,t){if(!P(e)||!P(t))return!1;if(!C(e,t))return!1;return e.data.current.sortable.index{"use strict";n.r(t),n.d(t,{CSS:()=>C,add:()=>x,canUseDOM:()=>i,findFirstFocusableNode:()=>A,getEventCoordinates:()=>j,getOwnerDocument:()=>d,getWindow:()=>l,hasViewportRelativeCoordinates:()=>_,isDocument:()=>c,isHTMLElement:()=>u,isKeyboardEvent:()=>P,isNode:()=>s,isSVGElement:()=>f,isTouchEvent:()=>T,isWindow:()=>a,subtract:()=>E,useCombinedRefs:()=>o,useEvent:()=>h,useInterval:()=>m,useIsomorphicLayoutEffect:()=>p,useLatestValue:()=>g,useLazyMemo:()=>y,useNodeRef:()=>v,usePrevious:()=>b,useUniqueId:()=>w});var r=n(36198);function o(){for(var e=arguments.length,t=new Array(e),n=0;ne=>{t.forEach((t=>t(e)))}),t)}const i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function a(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function s(e){return"nodeType"in e}function l(e){var t,n;return e?a(e)?e:s(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function c(e){const{Document:t}=l(e);return e instanceof t}function u(e){return!a(e)&&e instanceof l(e).HTMLElement}function f(e){return e instanceof l(e).SVGElement}function d(e){return e?a(e)?e.document:s(e)?c(e)?e:u(e)||f(e)?e.ownerDocument:document:document:document}const p=i?r.useLayoutEffect:r.useEffect;function h(e){const t=(0,r.useRef)(e);return p((()=>{t.current=e})),(0,r.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r{e.current=setInterval(t,n)}),[]),(0,r.useCallback)((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}function g(e,t){void 0===t&&(t=[e]);const n=(0,r.useRef)(e);return p((()=>{n.current!==e&&(n.current=e)}),t),n}function y(e,t){const n=(0,r.useRef)();return(0,r.useMemo)((()=>{const t=e(n.current);return n.current=t,t}),[...t])}function v(e){const t=h(e),n=(0,r.useRef)(null),o=(0,r.useCallback)((e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e}),[]);return[n,o]}function b(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}let O={};function w(e,t){return(0,r.useMemo)((()=>{if(t)return t;const n=null==O[e]?0:O[e]+1;return O[e]=n,e+"-"+n}),[e,t])}function S(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o{const r=Object.entries(n);for(const[n,o]of r){const r=t[n];null!=r&&(t[n]=r+e*o)}return t}),{...t})}}const x=S(1),E=S(-1);function _(e){return"clientX"in e&&"clientY"in e}function P(e){if(!e)return!1;const{KeyboardEvent:t}=l(e.target);return t&&e instanceof t}function T(e){if(!e)return!1;const{TouchEvent:t}=l(e.target);return t&&e instanceof t}function j(e){if(T(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return _(e)?{x:e.clientX,y:e.clientY}:null}const C=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[C.Translate.toString(e),C.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),k="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function A(e){return e.matches(k)?e:e.querySelector(k)}},62506:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}},40351:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={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}},54572:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(1413),o=n(89062),i=n(71002),a=n(15671),s=n(43144),l=n(4942),c=n(70580),u=n(45197),f=n(82781),d=(n(28811),function(){function e(t){(0,a.default)(this,e),(0,l.default)(this,"rules",null),(0,l.default)(this,"_messages",c.messages),this.define(t)}return(0,s.default)(e,[{key:"define",value:function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(0,i.default)(e)||Array.isArray(e))throw new 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=(0,u.deepMerge)((0,c.newMessages)(),e)),this._messages}},{key:"validate",value:function(t){var n=this,a=t,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if("function"==typeof s&&(l=s,s={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(null,a),Promise.resolve(a);if(s.messages){var f=this.messages();f===c.messages&&(f=(0,c.newMessages)()),(0,u.deepMerge)(f,s.messages),s.messages=f}else s.messages=this.messages();var d={};(s.keys||Object.keys(this.rules)).forEach((function(e){var o=n.rules[e],s=a[e];o.forEach((function(o){var l=o;"function"==typeof l.transform&&(a===t&&(a=(0,r.default)({},a)),null!=(s=a[e]=l.transform(s))&&(l.type=l.type||(Array.isArray(s)?"array":(0,i.default)(s)))),(l="function"==typeof l?{validator:l}:(0,r.default)({},l)).validator=n.getValidationMethod(l),l.validator&&(l.field=e,l.fullField=l.fullField||e,l.type=n.getType(l),d[e]=d[e]||[],d[e].push({rule:l,value:s,source:a,field:e}))}))}));var p={};return(0,u.asyncMap)(d,s,(function(t,n){var l,c=t.rule,f=!("object"!==c.type&&"array"!==c.type||"object"!==(0,i.default)(c.fields)&&"object"!==(0,i.default)(c.defaultField));function d(e,t){return(0,r.default)((0,r.default)({},t),{},{fullField:"".concat(c.fullField,".").concat(e),fullFields:c.fullFields?[].concat((0,o.default)(c.fullFields),[e]):[e]})}function h(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],l=Array.isArray(i)?i:[i];!s.suppressWarning&&l.length&&e.warning("async-validator:",l),l.length&&void 0!==c.message&&(l=[].concat(c.message));var h=l.map((0,u.complementError)(c,a));if(s.first&&h.length)return p[c.field]=1,n(h);if(f){if(c.required&&!t.value)return void 0!==c.message?h=[].concat(c.message).map((0,u.complementError)(c,a)):s.error&&(h=[s.error(c,(0,u.format)(s.messages.required,c.field))]),n(h);var m={};c.defaultField&&Object.keys(t.value).map((function(e){m[e]=c.defaultField})),m=(0,r.default)((0,r.default)({},m),t.rule.fields);var g={};Object.keys(m).forEach((function(e){var t=m[e],n=Array.isArray(t)?t:[t];g[e]=n.map(d.bind(null,e))}));var y=new e(g);y.messages(s.messages),t.rule.options&&(t.rule.options.messages=s.messages,t.rule.options.error=s.error),y.validate(t.value,t.rule.options||s,(function(e){var t=[];h&&h.length&&t.push.apply(t,(0,o.default)(h)),e&&e.length&&t.push.apply(t,(0,o.default)(e)),n(t.length?t:null)}))}else n(h)}if(f=f&&(c.required||!c.required&&t.value),c.field=t.field,c.asyncValidator)l=c.asyncValidator(c,t.value,h,t.source,s);else if(c.validator){try{l=c.validator(c,t.value,h,t.source,s)}catch(e){var m,g;null===(m=(g=console).error)||void 0===m||m.call(g,e),s.suppressValidatorError||setTimeout((function(){throw e}),0),h(e.message)}!0===l?h():!1===l?h("function"==typeof c.message?c.message(c.fullField||c.field):c.message||"".concat(c.fullField||c.field," fails")):l instanceof Array?h(l):l instanceof Error&&h(l.message)}l&&l.then&&l.then((function(){return h()}),(function(e){return h(e)}))}),(function(e){!function(e){for(var t,n,r=[],i={},s=0;s{"use strict";n.r(t)},70580:(e,t,n)=>{"use strict";function r(){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}}}n.r(t),n.d(t,{messages:()=>o,newMessages:()=>r});var o=r()},70122:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(45197),o="enum";const i=function(e,t,n,i,a){e[o]=Array.isArray(e[o])?e[o]:[],-1===e[o].indexOf(t)&&i.push((0,r.format)(a.messages[o],e.fullField,e[o].join(", ")))}},66758:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(70122),o=n(3885),i=n(45575),a=n(28766),s=n(6126),l=n(53898);const c={required:a.default,whitespace:l.default,type:s.default,range:i.default,enum:r.default,pattern:o.default}},3885:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(45197);const o=function(e,t,n,o,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push((0,r.format)(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push((0,r.format)(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},45575:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(45197);const o=function(e,t,n,o,i){var a="number"==typeof e.len,s="number"==typeof e.min,l="number"==typeof e.max,c=t,u=null,f="number"==typeof t,d="string"==typeof t,p=Array.isArray(t);if(f?u="number":d?u="string":p&&(u="array"),!u)return!1;p&&(c=t.length),d&&(c=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?c!==e.len&&o.push((0,r.format)(i.messages[u].len,e.fullField,e.len)):s&&!l&&ce.max?o.push((0,r.format)(i.messages[u].max,e.fullField,e.max)):s&&l&&(ce.max)&&o.push((0,r.format)(i.messages[u].range,e.fullField,e.min,e.max))}},28766:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(45197);const o=function(e,t,n,o,i,a){!e.required||n.hasOwnProperty(e.field)&&!(0,r.isEmptyValue)(t,a||e.type)||o.push((0,r.format)(i.messages.required,e.fullField))}},6126:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(71002),o=n(45197),i=n(28766),a=n(63274),s=/^(([^<>()\[\]\\.,;:\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,}))$/,l=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,c={integer:function(e){return c.number(e)&&parseInt(e,10)===e},float:function(e){return c.number(e)&&!c.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}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,r.default)(e)&&!c.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(s)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match((0,a.default)())},hex:function(e){return"string"==typeof e&&!!e.match(l)}};const u=function(e,t,n,a,s){if(e.required&&void 0===t)(0,i.default)(e,t,n,a,s);else{var l=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(l)>-1?c[l](t)||a.push((0,o.format)(s.messages.types[l],e.fullField,e.type)):l&&(0,r.default)(t)!==e.type&&a.push((0,o.format)(s.messages.types[l],e.fullField,e.type))}}},63274:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{default:()=>o});const o=function(){if(r)return r;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",o="[a-fA-F\\d]{1,4}",i=["(?:".concat(o,":){7}(?:").concat(o,"|:)"),"(?:".concat(o,":){6}(?:").concat(n,"|:").concat(o,"|:)"),"(?:".concat(o,":){5}(?::").concat(n,"|(?::").concat(o,"){1,2}|:)"),"(?:".concat(o,":){4}(?:(?::").concat(o,"){0,1}:").concat(n,"|(?::").concat(o,"){1,3}|:)"),"(?:".concat(o,":){3}(?:(?::").concat(o,"){0,2}:").concat(n,"|(?::").concat(o,"){1,4}|:)"),"(?:".concat(o,":){2}(?:(?::").concat(o,"){0,3}:").concat(n,"|(?::").concat(o,"){1,5}|:)"),"(?:".concat(o,":){1}(?:(?::").concat(o,"){0,4}:").concat(n,"|(?::").concat(o,"){1,6}|:)"),"(?::(?:(?::".concat(o,"){0,5}:").concat(n,"|(?::").concat(o,"){1,7}|:))")],a="(?:".concat(i.join("|"),")").concat("(?:%[0-9a-zA-Z]{1,})?"),s=new RegExp("(?:^".concat(n,"$)|(?:^").concat(a,"$)")),l=new RegExp("^".concat(n,"$")),c=new RegExp("^".concat(a,"$")),u=function(e){return e&&e.exact?s:new RegExp("(?:".concat(t(e)).concat(n).concat(t(e),")|(?:").concat(t(e)).concat(a).concat(t(e),")"),"g")};u.v4=function(e){return e&&e.exact?l:new RegExp("".concat(t(e)).concat(n).concat(t(e)),"g")},u.v6=function(e){return e&&e.exact?c:new RegExp("".concat(t(e)).concat(a).concat(t(e)),"g")};var f=u.v4().source,d=u.v6().source,p="(?:".concat("(?:(?:[a-z]+:)?//)","|www\\.)").concat("(?:\\S+(?::\\S*)?@)?","(?:localhost|").concat(f,"|").concat(d,"|").concat("(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)").concat("(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*").concat("(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",")").concat("(?::\\d{2,5})?").concat('(?:[/?#][^\\s"]*)?');return r=new RegExp("(?:^".concat(p,"$)"),"i")}},53898:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(45197);const o=function(e,t,n,o,i){(/^\s+$/.test(t)||""===t)&&o.push((0,r.format)(i.messages.whitespace,e.fullField))}},45197:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AsyncValidationError:()=>O,asyncMap:()=>w,complementError:()=>S,convertFieldsError:()=>m,deepMerge:()=>x,format:()=>g,isEmptyObject:()=>v,isEmptyValue:()=>y,warning:()=>h});var r=n(1413),o=n(71002),i=n(43144),a=n(15671),s=n(97326),l=n(60136),c=n(29388),u=n(7112),f=n(4942),d=n(89062),p=/%[sdj%]/g,h=function(){};function m(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 g(e){for(var t=arguments.length,n=new 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]"}break;default:return e}})):e}function y(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function v(e){return 0===Object.keys(e).length}function b(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)n(a);else{var s=r;r+=1,s{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(66758),o=n(45197);const i=function(e,t,n,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,s,a)}n(s)}},63519:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(66758);const o=function(e,t,n,o,i){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();r.default.required(e,t,o,a,i,"array"),null!=t&&(r.default.type(e,t,o,a,i),r.default.range(e,t,o,a,i))}n(a)}},4301:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(66758),o=n(45197);const i=function(e,t,n,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,s,a),void 0!==t&&r.default.type(e,t,i,s,a)}n(s)}},75378:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(66758),o=n(45197);const i=function(e,t,n,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t,"date")&&!e.required)return n();var l;if(r.default.required(e,t,i,s,a),!(0,o.isEmptyValue)(t,"date"))l=t instanceof Date?t:new Date(t),r.default.type(e,l,i,s,a),l&&r.default.range(e,l.getTime(),i,s,a)}n(s)}},80588:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(66758),o=n(45197);const i=function(e,t,n,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,s,a),void 0!==t&&r.default.enum(e,t,i,s,a)}n(s)}},85806:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(66758),o=n(45197);const i=function(e,t,n,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,s,a),void 0!==t&&(r.default.type(e,t,i,s,a),r.default.range(e,t,i,s,a))}n(s)}},82781:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(86329),o=n(63519),i=n(4301),a=n(75378),s=n(80588),l=n(85806),c=n(77394),u=n(38767),f=n(85764),d=n(12377),p=n(68585),h=n(15976),m=n(99185),g=n(96246),y=n(30142);const v={string:g.default,method:u.default,number:f.default,boolean:i.default,regexp:h.default,integer:c.default,float:l.default,array:o.default,object:d.default,enum:s.default,pattern:p.default,date:a.default,url:y.default,hex:y.default,email:y.default,required:m.default,any:r.default}},77394:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(66758),o=n(45197);const i=function(e,t,n,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,s,a),void 0!==t&&(r.default.type(e,t,i,s,a),r.default.range(e,t,i,s,a))}n(s)}},38767:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(66758),o=n(45197);const i=function(e,t,n,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,s,a),void 0!==t&&r.default.type(e,t,i,s,a)}n(s)}},85764:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(66758),o=n(45197);const i=function(e,t,n,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(""===t&&(t=void 0),(0,o.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,s,a),void 0!==t&&(r.default.type(e,t,i,s,a),r.default.range(e,t,i,s,a))}n(s)}},12377:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(66758),o=n(45197);const i=function(e,t,n,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,s,a),void 0!==t&&r.default.type(e,t,i,s,a)}n(s)}},68585:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(66758),o=n(45197);const i=function(e,t,n,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t,"string")&&!e.required)return n();r.default.required(e,t,i,s,a),(0,o.isEmptyValue)(t,"string")||r.default.pattern(e,t,i,s,a)}n(s)}},15976:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(66758),o=n(45197);const i=function(e,t,n,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,s,a),(0,o.isEmptyValue)(t)||r.default.type(e,t,i,s,a)}n(s)}},99185:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(71002),o=n(66758);const i=function(e,t,n,i,a){var s=[],l=Array.isArray(t)?"array":(0,r.default)(t);o.default.required(e,t,i,s,a,l),n(s)}},96246:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(66758),o=n(45197);const i=function(e,t,n,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t,"string")&&!e.required)return n();r.default.required(e,t,i,s,a,"string"),(0,o.isEmptyValue)(t,"string")||(r.default.type(e,t,i,s,a),r.default.range(e,t,i,s,a),r.default.pattern(e,t,i,s,a),!0===e.whitespace&&r.default.whitespace(e,t,i,s,a))}n(s)}},30142:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(66758),o=n(45197);const i=function(e,t,n,i,a){var s=e.type,l=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t,s)&&!e.required)return n();r.default.required(e,t,i,l,a,s),(0,o.isEmptyValue)(t,s)||r.default.type(e,t,i,l,a)}n(l)}},63073:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r=n(87462),o=n(4942),i=n(93324),a=n(36198),s=n(87814),l=n(93967),c=n.n(l),u=n(92313),f=n(6685),d=n(39222),p=n(51879),h=n(72436),m=[{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}];const g=(0,a.forwardRef)((function(e,t){var n=e.value,l=e.defaultValue,g=e.prefixCls,y=void 0===g?s.ColorPickerPrefixCls:g,v=e.onChange,b=e.onChangeComplete,O=e.className,w=e.style,S=e.panelRender,x=e.disabledAlpha,E=void 0!==x&&x,_=e.disabled,P=void 0!==_&&_,T=e.components,j=(0,h.default)(T),C=(0,i.default)(j,1)[0],k=(0,p.default)(l||s.defaultColor,n),A=(0,i.default)(k,2),D=A[0],L=A[1],R=(0,a.useMemo)((function(){return D.setA(1).toRgbString()}),[D]),M=function(e,t){n||L(e),null==v||v(e,t)},I=function(e){return new u.Color(D.setHue(e))},N=function(e){return new u.Color(D.setA(e/100))},B=c()("".concat(y,"-panel"),O,(0,o.default)({},"".concat(y,"-panel-disabled"),P)),$={prefixCls:y,disabled:P,color:D},F=a.createElement(a.Fragment,null,a.createElement(d.default,(0,r.default)({onChange:M},$,{onChangeComplete:b})),a.createElement("div",{className:"".concat(y,"-slider-container")},a.createElement("div",{className:c()("".concat(y,"-slider-group"),(0,o.default)({},"".concat(y,"-slider-group-disabled-alpha"),E))},a.createElement(C,(0,r.default)({},$,{type:"hue",colors:m,min:0,max:359,value:D.getHue(),onChange:function(e){M(I(e),{type:"hue",value:e})},onChangeComplete:function(e){b&&b(I(e))}})),!E&&a.createElement(C,(0,r.default)({},$,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:R}],min:0,max:100,value:100*D.a,onChange:function(e){M(N(e),{type:"alpha",value:e})},onChangeComplete:function(e){b&&b(N(e))}}))),a.createElement(f.default,{color:D.toRgbString(),prefixCls:y})));return a.createElement("div",{className:B,style:w,ref:t},"function"==typeof S?S(F):F)}))},92313:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Color:()=>h,getRoundNumber:()=>p});var r=n(15671),o=n(43144),i=n(60136),a=n(29388),s=n(1413),l=n(45987),c=n(71002),u=n(22420),f=["b"],d=["v"],p=function(e){return Math.round(Number(e||0))},h=function(e){(0,i.default)(n,e);var t=(0,a.default)(n);function n(e){return(0,r.default)(this,n),t.call(this,function(e){if(e instanceof u.FastColor)return e;if(e&&"object"===(0,c.default)(e)&&"h"in e&&"b"in e){var t=e,n=t.b,r=(0,l.default)(t,f);return(0,s.default)((0,s.default)({},r),{},{v:n})}return"string"==typeof e&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e}(e))}return(0,o.default)(n,[{key:"toHsbString",value:function(){var e=this.toHsb(),t=p(100*e.s),n=p(100*e.b),r=p(e.h),o=e.a,i="hsb(".concat(r,", ").concat(t,"%, ").concat(n,"%)"),a="hsba(".concat(r,", ").concat(t,"%, ").concat(n,"%, ").concat(o.toFixed(0===o?0:2),")");return 1===o?i:a}},{key:"toHsb",value:function(){var e=this.toHsv(),t=e.v,n=(0,l.default)(e,d);return(0,s.default)((0,s.default)({},n),{},{b:t,a:this.a})}}]),n}(u.FastColor)},6685:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(93967),o=n.n(r),i=n(36198);const a=function(e){var t=e.color,n=e.prefixCls,r=e.className,a=e.style,s=e.onClick,l="".concat(n,"-color-block");return i.createElement("div",{className:o()(l,r),style:a,onClick:s},i.createElement("div",{className:"".concat(l,"-inner"),style:{background:t}}))}},53210:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(36198),o=n(92313),i=n(87814);const a=function(e){var t=e.colors,n=e.children,a=e.direction,s=void 0===a?"to right":a,l=e.type,c=e.prefixCls,u=(0,r.useMemo)((function(){return t.map((function(e,n){var r=(0,i.generateColor)(e);return"alpha"===l&&n===t.length-1&&(r=new o.Color(r.setA(1))),r.toRgbString()})).join(",")}),[t,l]);return r.createElement("div",{className:"".concat(c,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(s,", ").concat(u,")")}},n)}},629:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(4942),o=n(93967),i=n.n(o),a=n(36198);const s=function(e){var t=e.size,n=void 0===t?"default":t,o=e.color,s=e.prefixCls;return a.createElement("div",{className:i()("".concat(s,"-handler"),(0,r.default)({},"".concat(s,"-handler-sm"),"small"===n)),style:{backgroundColor:o}})}},85212:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1413),o=n(36198);const i=function(e){var t=e.children,n=e.style,i=e.prefixCls;return o.createElement("div",{className:"".concat(i,"-palette"),style:(0,r.default)({position:"relative"},n)},t)}},39222:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(93324),o=n(36198),i=n(53011),a=n(87814),s=n(56790),l=n(629),c=n(85212),u=n(17371);const f=function(e){var t=e.color,n=e.onChange,f=e.prefixCls,d=e.onChangeComplete,p=e.disabled,h=(0,o.useRef)(),m=(0,o.useRef)(),g=(0,o.useRef)(t),y=(0,s.useEvent)((function(e){var r=(0,a.calculateColor)({offset:e,targetRef:m,containerRef:h,color:t});g.current=r,n(r)})),v=(0,i.default)({color:t,containerRef:h,targetRef:m,calculate:function(){return(0,a.calcOffset)(t)},onDragChange:y,onDragChangeComplete:function(){return null==d?void 0:d(g.current)},disabledDrag:p}),b=(0,r.default)(v,2),O=b[0],w=b[1];return o.createElement("div",{ref:h,className:"".concat(f,"-select"),onMouseDown:w,onTouchStart:w},o.createElement(c.default,{prefixCls:f},o.createElement(u.default,{x:O.x,y:O.y,ref:m},o.createElement(l.default,{color:t.toRgbString(),prefixCls:f})),o.createElement("div",{className:"".concat(f,"-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))"}})))}},60777:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(93324),o=n(36198),i=n(53011),a=n(85212),s=n(93967),l=n.n(s),c=n(56790),u=n(92313),f=n(87814),d=n(53210),p=n(629),h=n(17371);const m=function(e){var t=e.prefixCls,n=e.colors,s=e.disabled,m=e.onChange,g=e.onChangeComplete,y=e.color,v=e.type,b=(0,o.useRef)(),O=(0,o.useRef)(),w=(0,o.useRef)(y),S=function(e){return"hue"===v?e.getHue():100*e.a},x=(0,c.useEvent)((function(e){var t=(0,f.calculateColor)({offset:e,targetRef:O,containerRef:b,color:y,type:v});w.current=t,m(S(t))})),E=(0,i.default)({color:y,targetRef:O,containerRef:b,calculate:function(){return(0,f.calcOffset)(y,v)},onDragChange:x,onDragChangeComplete:function(){g(S(w.current))},direction:"x",disabledDrag:s}),_=(0,r.default)(E,2),P=_[0],T=_[1],j=o.useMemo((function(){if("hue"===v){var e=y.toHsb();return e.s=1,e.b=1,e.a=1,new u.Color(e)}return y}),[y,v]),C=o.useMemo((function(){return n.map((function(e){return"".concat(e.color," ").concat(e.percent,"%")}))}),[n]);return o.createElement("div",{ref:b,className:l()("".concat(t,"-slider"),"".concat(t,"-slider-").concat(v)),onMouseDown:T,onTouchStart:T},o.createElement(a.default,{prefixCls:t},o.createElement(h.default,{x:P.x,y:P.y,ref:O},o.createElement(p.default,{size:"small",color:j.toHexString(),prefixCls:t})),o.createElement(d.default,{colors:C,type:v,prefixCls:t})))}},17371:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(36198);const o=(0,r.forwardRef)((function(e,t){var n=e.children,o=e.x,i=e.y;return r.createElement("div",{ref:t,style:{position:"absolute",left:"".concat(o,"%"),top:"".concat(i,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},n)}))},53011:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(93324),o=n(36198);const i=function(e){var t=e.targetRef,n=e.containerRef,i=e.direction,a=e.onDragChange,s=e.onDragChangeComplete,l=e.calculate,c=e.color,u=e.disabledDrag,f=(0,o.useState)({x:0,y:0}),d=(0,r.default)(f,2),p=d[0],h=d[1],m=(0,o.useRef)(null),g=(0,o.useRef)(null);(0,o.useEffect)((function(){h(l())}),[c]),(0,o.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 y=function(e){var r=function(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}}(e),o=r.pageX,s=r.pageY,l=n.current.getBoundingClientRect(),c=l.x,u=l.y,f=l.width,d=l.height,h=t.current.getBoundingClientRect(),m=h.width,g=h.height,y=m/2,v=g/2,b=Math.max(0,Math.min(o-c,f))-y,O=Math.max(0,Math.min(s-u,d))-v,w={x:b,y:"x"===i?p.y:O};if(0===m&&0===g||m!==g)return!1;null==a||a(w)},v=function(e){e.preventDefault(),y(e)},b=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==s||s()};return[p,function(e){document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",g.current),u||(y(e),document.addEventListener("mousemove",v),document.addEventListener("mouseup",b),document.addEventListener("touchmove",v),document.addEventListener("touchend",b),m.current=v,g.current=b)}]}},51879:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(93324),o=n(56790),i=n(36198),a=n(87814);const s=function(e,t){var n=(0,o.useMergedState)(e,{value:t}),s=(0,r.default)(n,2),l=s[0],c=s[1];return[(0,i.useMemo)((function(){return(0,a.generateColor)(l)}),[l]),c]}},72436:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(36198),o=n(60777);function i(e){return r.useMemo((function(){return[(e||{}).slider||o.default]}),[e])}},10708:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Color:()=>o.Color,ColorBlock:()=>i.default,default:()=>a});var r=n(63073),o=n(92313),i=n(6685);n(49989);const a=r.default},49989:(e,t,n)=>{"use strict";n.r(t)},87814:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ColorPickerPrefixCls:()=>i,calcOffset:()=>c,calculateColor:()=>l,defaultColor:()=>s,generateColor:()=>a});var r=n(1413),o=n(92313),i="rc-color-picker",a=function(e){return e instanceof o.Color?e:new o.Color(e)},s=a("#1677ff"),l=function(e){var t=e.offset,n=e.targetRef,o=e.containerRef,i=e.color,s=e.type,l=o.current.getBoundingClientRect(),c=l.width,u=l.height,f=n.current.getBoundingClientRect(),d=f.width/2,p=f.height/2,h=(t.x+d)/c,m=1-(t.y+p)/u,g=i.toHsb(),y=h,v=(t.x+d)/c*360;if(s)switch(s){case"hue":return a((0,r.default)((0,r.default)({},g),{},{h:v<=0?0:v}));case"alpha":return a((0,r.default)((0,r.default)({},g),{},{a:y<=0?0:y}))}return a({h:g.h,s:h<=0?0:h,b:m>=1?1:m,a:g.a})},c=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:100*(1-n.b)}}}},12599:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tq,Action:()=>o,IDLE_BLOCKER:()=>pe,IDLE_FETCHER:()=>de,IDLE_NAVIGATION:()=>fe,UNSAFE_DEFERRED_SYMBOL:()=>ve,UNSAFE_DeferredData:()=>Y,UNSAFE_ErrorResponseImpl:()=>re,UNSAFE_convertRouteMatchToUiMatch:()=>w,UNSAFE_convertRoutesToDataRoutes:()=>v,UNSAFE_decodePath:()=>M,UNSAFE_getResolveToMatches:()=>F,UNSAFE_invariant:()=>c,UNSAFE_warning:()=>u,createBrowserHistory:()=>s,createHashHistory:()=>l,createMemoryHistory:()=>a,createPath:()=>p,createRouter:()=>ye,createStaticHandler:()=>be,data:()=>X,defer:()=>J,generatePath:()=>L,getStaticContextFromError:()=>Oe,getToPathname:()=>Q,isDataWithResponseInit:()=>Ke,isDeferredData:()=>Je,isRouteErrorResponse:()=>oe,joinPaths:()=>V,json:()=>H,matchPath:()=>R,matchRoutes:()=>b,normalizePathname:()=>U,parsePath:()=>h,redirect:()=>ee,redirectDocument:()=>te,replace:()=>ne,resolvePath:()=>N,resolveTo:()=>z,stripBasename:()=>I}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(o||(o={}));const i="popstate";function a(e){void 0===e&&(e={});let t,{initialEntries:n=["/"],initialIndex:r,v5Compat:i=!1}=e;t=n.map(((e,t)=>m(e,"string"==typeof e?null:e.state,0===t?"default":void 0)));let a=c(null==r?t.length-1:r),s=o.Pop,l=null;function c(e){return Math.min(Math.max(e,0),t.length-1)}function f(){return t[a]}function m(e,n,r){void 0===n&&(n=null);let o=d(t?f().pathname:"/",e,n,r);return u("/"===o.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),o}function g(e){return"string"==typeof e?e:p(e)}return{get index(){return a},get action(){return s},get location(){return f()},createHref:g,createURL:e=>new URL(g(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?h(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,n){s=o.Push;let r=m(e,n);a+=1,t.splice(a,t.length,r),i&&l&&l({action:s,location:r,delta:1})},replace(e,n){s=o.Replace;let r=m(e,n);t[a]=r,i&&l&&l({action:s,location:r,delta:0})},go(e){s=o.Pop;let n=c(a+e),r=t[n];a=n,l&&l({action:s,location:r,delta:e})},listen:e=>(l=e,()=>{l=null})}}function s(e){return void 0===e&&(e={}),m((function(e,t){let{pathname:n,search:r,hash:o}=e.location;return d("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:p(t)}),null,e)}function l(e){return void 0===e&&(e={}),m((function(e,t){let{pathname:n="/",search:r="",hash:o=""}=h(e.location.hash.substr(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),d("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:p(t))}),(function(e,t){u("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}function c(e,t){if(!1===e||null==e)throw new Error(t)}function u(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function f(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,n,o){return void 0===n&&(n=null),r({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?h(t):t,{state:n,key:t&&t.key||o||Math.random().toString(36).substr(2,8)})}function p(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function h(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function m(e,t,n,a){void 0===a&&(a={});let{window:s=document.defaultView,v5Compat:l=!1}=a,u=s.history,h=o.Pop,m=null,g=y();function y(){return(u.state||{idx:null}).idx}function v(){h=o.Pop;let e=y(),t=null==e?null:e-g;g=e,m&&m({action:h,location:O.location,delta:t})}function b(e){let t="null"!==s.location.origin?s.location.origin:s.location.href,n="string"==typeof e?e:p(e);return n=n.replace(/ $/,"%20"),c(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==g&&(g=0,u.replaceState(r({},u.state,{idx:g}),""));let O={get action(){return h},get location(){return e(s,u)},listen(e){if(m)throw new Error("A history only accepts one active listener");return s.addEventListener(i,v),m=e,()=>{s.removeEventListener(i,v),m=null}},createHref:e=>t(s,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h=o.Push;let r=d(O.location,e,t);n&&n(r,e),g=y()+1;let i=f(r,g),a=O.createHref(r);try{u.pushState(i,"",a)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;s.location.assign(a)}l&&m&&m({action:h,location:O.location,delta:1})},replace:function(e,t){h=o.Replace;let r=d(O.location,e,t);n&&n(r,e),g=y();let i=f(r,g),a=O.createHref(r);u.replaceState(i,"",a),l&&m&&m({action:h,location:O.location,delta:0})},go:e=>u.go(e)};return O}var g;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(g||(g={}));const y=new Set(["lazy","caseSensitive","path","id","index","children"]);function v(e,t,n,o){return void 0===n&&(n=[]),void 0===o&&(o={}),e.map(((e,i)=>{let a=[...n,String(i)],s="string"==typeof e.id?e.id:a.join("-");if(c(!0!==e.index||!e.children,"Cannot specify children on an index route"),c(!o[s],'Found a route id collision on id "'+s+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let n=r({},e,t(e),{id:s});return o[s]=n,n}{let n=r({},e,t(e),{id:s,children:void 0});return o[s]=n,e.children&&(n.children=v(e.children,t,a,o)),n}}))}function b(e,t,n){return void 0===n&&(n="/"),O(e,t,n,!1)}function O(e,t,n,r){let o=I(("string"==typeof t?h(t):t).pathname||"/",n);if(null==o)return null;let i=S(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let a=null;for(let e=0;null==a&&e{let a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(c(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let s=V([r,a.relativePath]),l=n.concat(a);e.children&&e.children.length>0&&(c(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),S(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:A(s,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of x(e.path))o(e,t,n);else o(e,t)})),t}function x(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===r.length)return o?[i,""]:[i];let a=x(r.join("/")),s=[];return s.push(...a.map((e=>""===e?i:[i,e].join("/")))),o&&s.push(...a),s.map((t=>e.startsWith("/")&&""===t?"/":t))}const E=/^:[\w-]+$/,_=3,P=2,T=1,j=10,C=-2,k=e=>"*"===e;function A(e,t){let n=e.split("/"),r=n.length;return n.some(k)&&(r+=C),t&&(r+=P),n.filter((e=>!k(e))).reduce(((e,t)=>e+(E.test(t)?_:""===t?T:j)),r)}function D(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,o={},i="/",a=[];for(let e=0;enull==e?"":"string"==typeof e?e:String(e);return r+n.split(/\/+/).map(((e,n,r)=>{if(n===r.length-1&&"*"===e){return o(t["*"])}const i=e.match(/^:([\w-]+)(\??)$/);if(i){const[,e,n]=i;let r=t[e];return c("?"===n||null!=r,'Missing ":'+e+'" param'),o(r)}return e.replace(/\?$/g,"")})).filter((e=>!!e)).join("/")}function R(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);u("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");let i=new RegExp(o,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:o}=t;if("*"===r){let e=s[n]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[n];return e[r]=o&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:i,pathnameBase:a,pattern:e}}function M(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return u(!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 I(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function N(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:o=""}="string"==typeof e?h(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:G(r),hash:W(o)}}function B(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function $(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function F(e,t){let n=$(e);return t?n.map(((e,t)=>t===n.length-1?e.pathname:e.pathnameBase)):n.map((e=>e.pathnameBase))}function z(e,t,n,o){let i;void 0===o&&(o=!1),"string"==typeof e?i=h(e):(i=r({},e),c(!i.pathname||!i.pathname.includes("?"),B("?","pathname","search",i)),c(!i.pathname||!i.pathname.includes("#"),B("#","pathname","hash",i)),c(!i.search||!i.search.includes("#"),B("#","search","hash",i)));let a,s=""===e||""===i.pathname,l=s?"/":i.pathname;if(null==l)a=n;else{let e=t.length-1;if(!o&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?t[e]:"/"}let u=N(i,a),f=l&&"/"!==l&&l.endsWith("/"),d=(s||"."===l)&&n.endsWith("/");return u.pathname.endsWith("/")||!f&&!d||(u.pathname+="/"),u}function Q(e){return""===e||""===e.pathname?"/":"string"==typeof e?h(e).pathname:e.pathname}const V=e=>e.join("/").replace(/\/\/+/g,"/"),U=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),G=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",W=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",H=function(e,t){void 0===t&&(t={});let n="number"==typeof t?{status:t}:t,o=new Headers(n.headers);return o.has("Content-Type")||o.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),r({},n,{headers:o}))};class Z{constructor(e,t){this.type="DataWithResponseInit",this.data=e,this.init=t||null}}function X(e,t){return new Z(e,"number"==typeof t?{status:t}:t)}class q extends Error{}class Y{constructor(e,t){let n;this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],c(e&&"object"==typeof e&&!Array.isArray(e),"defer() only accepts plain objects"),this.abortPromise=new Promise(((e,t)=>n=t)),this.controller=new AbortController;let r=()=>n(new q("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",r),this.controller.signal.addEventListener("abort",r),this.data=Object.entries(e).reduce(((e,t)=>{let[n,r]=t;return Object.assign(e,{[n]:this.trackPromise(n,r)})}),{}),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 n=Promise.race([t,this.abortPromise]).then((t=>this.onSettle(n,e,void 0,t)),(t=>this.onSettle(n,e,t)));return n.catch((()=>{})),Object.defineProperty(n,"_tracked",{get:()=>!0}),n}onSettle(e,t,n,r){if(this.controller.signal.aborted&&n instanceof q)return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:()=>n}),Promise.reject(n);if(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),void 0===n&&void 0===r){let n=new 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:()=>n}),this.emit(!1,t),Promise.reject(n)}return void 0===r?(Object.defineProperty(e,"_error",{get:()=>n}),this.emit(!1,t),Promise.reject(n)):(Object.defineProperty(e,"_data",{get:()=>r}),this.emit(!1,t),r)}emit(e,t){this.subscribers.forEach((n=>n(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 n=()=>this.cancel();e.addEventListener("abort",n),t=await new Promise((t=>{this.subscribe((r=>{e.removeEventListener("abort",n),(r||this.done)&&t(r)}))}))}return t}get done(){return 0===this.pendingKeysSet.size}get unwrappedData(){return c(null!==this.data&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce(((e,t)=>{let[n,r]=t;return Object.assign(e,{[n]:K(r)})}),{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function K(e){if(!function(e){return e instanceof Promise&&!0===e._tracked}(e))return e;if(e._error)throw e._error;return e._data}const J=function(e,t){return void 0===t&&(t={}),new Y(e,"number"==typeof t?{status:t}:t)},ee=function(e,t){void 0===t&&(t=302);let n=t;"number"==typeof n?n={status:n}:void 0===n.status&&(n.status=302);let o=new Headers(n.headers);return o.set("Location",e),new Response(null,r({},n,{headers:o}))},te=(e,t)=>{let n=ee(e,t);return n.headers.set("X-Remix-Reload-Document","true"),n},ne=(e,t)=>{let n=ee(e,t);return n.headers.set("X-Remix-Replace","true"),n};class re{constructor(e,t,n,r){void 0===r&&(r=!1),this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function oe(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const ie=["post","put","patch","delete"],ae=new Set(ie),se=["get",...ie],le=new Set(se),ce=new Set([301,302,303,307,308]),ue=new Set([307,308]),fe={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},de={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},pe={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},he=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,me=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),ge="remix-router-transitions";function ye(e){const t=e.window?e.window:"undefined"!=typeof window?window:void 0,n=void 0!==t&&void 0!==t.document&&void 0!==t.document.createElement,i=!n;let a;if(c(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)a=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;a=e=>({hasErrorBoundary:t(e)})}else a=me;let s,l,f,p={},h=v(e.routes,a,void 0,p),m=e.basename||"/",y=e.dataStrategy||Ae,S=e.patchRoutesOnNavigation,x=r({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),E=null,_=new Set,P=null,T=null,j=null,C=null!=e.hydrationData,k=b(h,e.history.location,m),A=null;if(null==k&&!S){let t=Ge(404,{pathname:e.history.location.pathname}),{matches:n,route:r}=Ue(h);k=n,A={[r.id]:t}}if(k&&!e.hydrationData){et(k,h,e.history.location.pathname).active&&(k=null)}if(k)if(k.some((e=>e.route.lazy)))l=!1;else if(k.some((e=>e.route.loader)))if(x.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,n=e.hydrationData?e.hydrationData.errors:null;if(n){let e=k.findIndex((e=>void 0!==n[e.route.id]));l=k.slice(0,e+1).every((e=>!Pe(e.route,t,n)))}else l=k.every((e=>!Pe(e.route,t,n)))}else l=null!=e.hydrationData;else l=!0;else if(l=!1,k=[],x.v7_partialHydration){let t=et(null,h,e.history.location.pathname);t.active&&t.matches&&(k=t.matches)}let D,L,R={historyAction:e.history.action,location:e.history.location,matches:k,initialized:l,navigation:fe,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||A,fetchers:new Map,blockers:new Map},M=o.Pop,N=!1,B=!1,$=new Map,F=null,z=!1,Q=!1,V=[],U=new Set,G=new Map,W=0,H=-1,Z=new Map,X=new Set,q=new Map,Y=new Map,K=new Set,J=new Map,ee=new Map;function te(e,t){void 0===t&&(t={}),R=r({},R,e);let n=[],o=[];x.v7_fetcherPersist&&R.fetchers.forEach(((e,t)=>{"idle"===e.state&&(K.has(t)?o.push(t):n.push(t))})),[..._].forEach((e=>e(R,{deletedFetchers:o,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync}))),x.v7_fetcherPersist&&(n.forEach((e=>R.fetchers.delete(e))),o.forEach((e=>Oe(e))))}function ne(t,n,i){var a,l;let c,{flushSync:u}=void 0===i?{}:i,f=null!=R.actionData&&null!=R.navigation.formMethod&&nt(R.navigation.formMethod)&&"loading"===R.navigation.state&&!0!==(null==(a=t.state)?void 0:a._isRedirect);c=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:f?R.actionData:null;let d=n.loaderData?ze(R.loaderData,n.loaderData,n.matches||[],n.errors):R.loaderData,p=R.blockers;p.size>0&&(p=new Map(p),p.forEach(((e,t)=>p.set(t,pe))));let m,g=!0===N||null!=R.navigation.formMethod&&nt(R.navigation.formMethod)&&!0!==(null==(l=t.state)?void 0:l._isRedirect);if(s&&(h=s,s=void 0),z||M===o.Pop||(M===o.Push?e.history.push(t,t.state):M===o.Replace&&e.history.replace(t,t.state)),M===o.Pop){let e=$.get(R.location.pathname);e&&e.has(t.pathname)?m={currentLocation:R.location,nextLocation:t}:$.has(t.pathname)&&(m={currentLocation:t,nextLocation:R.location})}else if(B){let e=$.get(R.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),$.set(R.location.pathname,e)),m={currentLocation:R.location,nextLocation:t}}te(r({},n,{actionData:c,loaderData:d,historyAction:M,location:t,initialized:!0,navigation:fe,revalidation:"idle",restoreScrollPosition:Je(t,n.matches||R.matches),preventScrollReset:g,blockers:p}),{viewTransitionOpts:m,flushSync:!0===u}),M=o.Pop,N=!1,B=!1,z=!1,Q=!1,V=[]}async function re(t,n,i){D&&D.abort(),D=null,M=t,z=!0===(i&&i.startUninterruptedRevalidation),function(e,t){if(P&&j){let n=Ke(e,t);P[n]=j()}}(R.location,R.matches),N=!0===(i&&i.preventScrollReset),B=!0===(i&&i.enableViewTransition);let a=s||h,l=i&&i.overrideNavigation,c=b(a,n,m),u=!0===(i&&i.flushSync),f=et(c,a,n.pathname);if(f.active&&f.matches&&(c=f.matches),!c){let{error:e,notFoundMatches:t,route:r}=$e(n.pathname);return void ne(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:u})}if(R.initialized&&!Q&&function(e,t){if(e.pathname!==t.pathname||e.search!==t.search)return!1;if(""===e.hash)return""!==t.hash;if(e.hash===t.hash)return!0;if(""!==t.hash)return!0;return!1}(R.location,n)&&!(i&&i.submission&&nt(i.submission.formMethod)))return void ne(n,{matches:c},{flushSync:u});D=new AbortController;let d,p=Ie(e.history,n,D.signal,i&&i.submission);if(i&&i.pendingError)d=[Ve(c).route.id,{type:g.error,error:i.pendingError}];else if(i&&i.submission&&nt(i.submission.formMethod)){let t=await async function(e,t,n,r,i,a){void 0===a&&(a={});ce();let s,l=function(e,t){let n={state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text};return n}(t,n);if(te({navigation:l},{flushSync:!0===a.flushSync}),i){let n=await tt(r,t.pathname,e.signal);if("aborted"===n.type)return{shortCircuited:!0};if("error"===n.type){let e=Ve(n.partialMatches).route.id;return{matches:n.partialMatches,pendingActionResult:[e,{type:g.error,error:n.error}]}}if(!n.matches){let{notFoundMatches:e,error:n,route:r}=$e(t.pathname);return{matches:e,pendingActionResult:[r.id,{type:g.error,error:n}]}}r=n.matches}let c=st(r,t);if(c.route.action||c.route.lazy){if(s=(await se("action",R,e,[c],r,null))[c.route.id],e.signal.aborted)return{shortCircuited:!0}}else s={type:g.error,error:Ge(405,{method:e.method,pathname:t.pathname,routeId:c.route.id})};if(Ye(s)){let t;if(a&&null!=a.replace)t=a.replace;else{t=Me(s.response.headers.get("Location"),new URL(e.url),m)===R.location.pathname+R.location.search}return await ae(e,s,!0,{submission:n,replace:t}),{shortCircuited:!0}}if(Xe(s))throw Ge(400,{type:"defer-action"});if(qe(s)){let e=Ve(r,c.route.id);return!0!==(a&&a.replace)&&(M=o.Push),{matches:r,pendingActionResult:[e.route.id,s]}}return{matches:r,pendingActionResult:[c.route.id,s]}}(p,n,i.submission,c,f.active,{replace:i.replace,flushSync:u});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(qe(r)&&oe(r.error)&&404===r.error.status)return D=null,void ne(n,{matches:t.matches,loaderData:{},errors:{[e]:r.error}})}c=t.matches||c,d=t.pendingActionResult,l=ct(n,i.submission),u=!1,f.active=!1,p=Ie(e.history,p.url,p.signal)}let{shortCircuited:y,matches:v,loaderData:O,errors:w}=await async function(t,n,o,i,a,l,c,u,f,d,p){let g=a||ct(n,l),y=l||c||lt(g),v=!(z||x.v7_partialHydration&&f);if(i){if(v){let e=ie(p);te(r({navigation:g},void 0!==e?{actionData:e}:{}),{flushSync:d})}let e=await tt(o,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=Ve(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(!e.matches){let{error:e,notFoundMatches:t,route:r}=$e(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}o=e.matches}let b=s||h,[O,w]=_e(e.history,R,o,y,n,x.v7_partialHydration&&!0===f,x.v7_skipActionErrorRevalidation,Q,V,U,K,q,X,b,m,p);if(He((e=>!(o&&o.some((t=>t.route.id===e)))||O&&O.some((t=>t.route.id===e)))),H=++W,0===O.length&&0===w.length){let e=Te();return ne(n,r({matches:o,loaderData:{},errors:p&&qe(p[1])?{[p[0]]:p[1].error}:null},Qe(p),e?{fetchers:new Map(R.fetchers)}:{}),{flushSync:d}),{shortCircuited:!0}}if(v){let e={};if(!i){e.navigation=g;let t=ie(p);void 0!==t&&(e.actionData=t)}w.length>0&&(e.fetchers=function(e){return e.forEach((e=>{let t=R.fetchers.get(e.key),n=ut(void 0,t?t.data:void 0);R.fetchers.set(e.key,n)})),new Map(R.fetchers)}(w)),te(e,{flushSync:d})}w.forEach((e=>{we(e.key),e.controller&&G.set(e.key,e.controller)}));let S=()=>w.forEach((e=>we(e.key)));D&&D.signal.addEventListener("abort",S);let{loaderResults:E,fetcherResults:_}=await le(R,o,O,w,t);if(t.signal.aborted)return{shortCircuited:!0};D&&D.signal.removeEventListener("abort",S);w.forEach((e=>G.delete(e.key)));let P=We(E);if(P)return await ae(t,P.result,!0,{replace:u}),{shortCircuited:!0};if(P=We(_),P)return X.add(P.key),await ae(t,P.result,!0,{replace:u}),{shortCircuited:!0};let{loaderData:T,errors:j}=Fe(R,o,E,p,w,_,J);J.forEach(((e,t)=>{e.subscribe((n=>{(n||e.done)&&J.delete(t)}))})),x.v7_partialHydration&&f&&R.errors&&(j=r({},R.errors,j));let C=Te(),k=je(H),A=C||k||w.length>0;return r({matches:o,loaderData:T,errors:j},A?{fetchers:new Map(R.fetchers)}:{})}(p,n,c,f.active,l,i&&i.submission,i&&i.fetcherSubmission,i&&i.replace,i&&!0===i.initialHydration,u,d);y||(D=null,ne(n,r({matches:v||c},Qe(d),{loaderData:O,errors:w})))}function ie(e){return e&&!qe(e[1])?{[e[0]]:e[1].data}:R.actionData?0===Object.keys(R.actionData).length?null:R.actionData:void 0}async function ae(i,a,s,l){let{submission:u,fetcherSubmission:f,preventScrollReset:p,replace:h}=void 0===l?{}:l;a.response.headers.has("X-Remix-Revalidate")&&(Q=!0);let g=a.response.headers.get("Location");c(g,"Expected a Location header on the redirect Response"),g=Me(g,new URL(i.url),m);let y=d(R.location,g,{_isRedirect:!0});if(n){let n=!1;if(a.response.headers.has("X-Remix-Reload-Document"))n=!0;else if(he.test(g)){const r=e.history.createURL(g);n=r.origin!==t.location.origin||null==I(r.pathname,m)}if(n)return void(h?t.location.replace(g):t.location.assign(g))}D=null;let v=!0===h||a.response.headers.has("X-Remix-Replace")?o.Replace:o.Push,{formMethod:b,formAction:O,formEncType:w}=R.navigation;!u&&!f&&b&&O&&w&&(u=lt(R.navigation));let S=u||f;if(ue.has(a.response.status)&&S&&nt(S.formMethod))await re(v,y,{submission:r({},S,{formAction:g}),preventScrollReset:p||N,enableViewTransition:s?B:void 0});else{let e=ct(y,u);await re(v,y,{overrideNavigation:e,fetcherSubmission:f,preventScrollReset:p||N,enableViewTransition:s?B:void 0})}}async function se(e,t,n,r,o,i){let s,l={};try{s=await De(y,e,t,n,r,o,i,p,a)}catch(e){return r.forEach((t=>{l[t.route.id]={type:g.error,error:e}})),l}for(let[e,t]of Object.entries(s))if(Ze(t)){let r=t.result;l[e]={type:g.redirect,response:Re(r,n,e,o,m,x.v7_relativeSplatPath)}}else l[e]=await Le(t);return l}async function le(t,n,r,o,i){let a=t.matches,s=se("loader",t,i,r,n,null),l=Promise.all(o.map((async n=>{if(n.matches&&n.match&&n.controller){let r=(await se("loader",t,Ie(e.history,n.path,n.controller.signal),[n.match],n.matches,n.key))[n.match.route.id];return{[n.key]:r}}return Promise.resolve({[n.key]:{type:g.error,error:Ge(404,{pathname:n.path})}})}))),c=await s,u=(await l).reduce(((e,t)=>Object.assign(e,t)),{});return await Promise.all([rt(n,c,i.signal,a,t.loaderData),ot(n,u,o)]),{loaderResults:c,fetcherResults:u}}function ce(){Q=!0,V.push(...He()),q.forEach(((e,t)=>{G.has(t)&&U.add(t),we(t)}))}function ye(e,t,n){void 0===n&&(n={}),R.fetchers.set(e,t),te({fetchers:new Map(R.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function ve(e,t,n,r){void 0===r&&(r={});let o=Ve(R.matches,t);Oe(e),te({errors:{[o.route.id]:n},fetchers:new Map(R.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function be(e){return x.v7_fetcherPersist&&(Y.set(e,(Y.get(e)||0)+1),K.has(e)&&K.delete(e)),R.fetchers.get(e)||de}function Oe(e){let t=R.fetchers.get(e);!G.has(e)||t&&"loading"===t.state&&Z.has(e)||we(e),q.delete(e),Z.delete(e),X.delete(e),K.delete(e),U.delete(e),R.fetchers.delete(e)}function we(e){let t=G.get(e);t&&(t.abort(),G.delete(e))}function Ee(e){for(let t of e){let e=ft(be(t).data);R.fetchers.set(t,e)}}function Te(){let e=[],t=!1;for(let n of X){let r=R.fetchers.get(n);c(r,"Expected fetcher: "+n),"loading"===r.state&&(X.delete(n),e.push(n),t=!0)}return Ee(e),t}function je(e){let t=[];for(let[n,r]of Z)if(r0}function ke(e){R.blockers.delete(e),ee.delete(e)}function Ne(e,t){let n=R.blockers.get(e)||pe;c("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state);let r=new Map(R.blockers);r.set(e,t),te({blockers:r})}function Be(e){let{currentLocation:t,nextLocation:n,historyAction:r}=e;if(0===ee.size)return;ee.size>1&&u(!1,"A router only supports one blocker at a time");let o=Array.from(ee.entries()),[i,a]=o[o.length-1],s=R.blockers.get(i);return s&&"proceeding"===s.state?void 0:a({currentLocation:t,nextLocation:n,historyAction:r})?i:void 0}function $e(e){let t=Ge(404,{pathname:e}),n=s||h,{matches:r,route:o}=Ue(n);return He(),{notFoundMatches:r,route:o,error:t}}function He(e){let t=[];return J.forEach(((n,r)=>{e&&!e(r)||(n.cancel(),t.push(r),J.delete(r))})),t}function Ke(e,t){if(T){return T(e,t.map((e=>w(e,R.loaderData))))||e.key}return e.key}function Je(e,t){if(P){let n=Ke(e,t),r=P[n];if("number"==typeof r)return r}return null}function et(e,t,n){if(S){if(!e){return{active:!0,matches:O(t,n,m,!0)||[]}}if(Object.keys(e[0].params).length>0){return{active:!0,matches:O(t,n,m,!0)}}}return{active:!1,matches:null}}async function tt(e,t,n){if(!S)return{type:"success",matches:e};let r=e;for(;;){let e=null==s,o=s||h,i=p;try{await S({path:t,matches:r,patch:(e,t)=>{n.aborted||Ce(e,t,o,i,a)}})}catch(e){return{type:"error",error:e,partialMatches:r}}finally{e&&!n.aborted&&(h=[...h])}if(n.aborted)return{type:"aborted"};let l=b(o,t,m);if(l)return{type:"success",matches:l};let c=O(o,t,m,!0);if(!c||r.length===c.length&&r.every(((e,t)=>e.route.id===c[t].route.id)))return{type:"success",matches:null};r=c}}return f={get basename(){return m},get future(){return x},get state(){return R},get routes(){return h},get window(){return t},initialize:function(){if(E=e.history.listen((t=>{let{action:n,location:r,delta:o}=t;if(L)return L(),void(L=void 0);u(0===ee.size||null!=o,"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 i=Be({currentLocation:R.location,nextLocation:r,historyAction:n});if(i&&null!=o){let t=new Promise((e=>{L=e}));return e.history.go(-1*o),void Ne(i,{state:"blocked",location:r,proceed(){Ne(i,{state:"proceeding",proceed:void 0,reset:void 0,location:r}),t.then((()=>e.history.go(o)))},reset(){let e=new Map(R.blockers);e.set(i,pe),te({blockers:e})}})}return re(n,r)})),n){!function(e,t){try{let n=e.sessionStorage.getItem(ge);if(n){let e=JSON.parse(n);for(let[n,r]of Object.entries(e||{}))r&&Array.isArray(r)&&t.set(n,new Set(r||[]))}}catch(e){}}(t,$);let e=()=>function(e,t){if(t.size>0){let n={};for(let[e,r]of t)n[e]=[...r];try{e.sessionStorage.setItem(ge,JSON.stringify(n))}catch(e){u(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(t,$);t.addEventListener("pagehide",e),F=()=>t.removeEventListener("pagehide",e)}return R.initialized||re(o.Pop,R.location,{initialHydration:!0}),f},subscribe:function(e){return _.add(e),()=>_.delete(e)},enableScrollRestoration:function(e,t,n){if(P=e,j=t,T=n||null,!C&&R.navigation===fe){C=!0;let e=Je(R.location,R.matches);null!=e&&te({restoreScrollPosition:e})}return()=>{P=null,j=null,T=null}},navigate:async function t(n,i){if("number"==typeof n)return void e.history.go(n);let a=Se(R.location,R.matches,m,x.v7_prependBasename,n,x.v7_relativeSplatPath,null==i?void 0:i.fromRouteId,null==i?void 0:i.relative),{path:s,submission:l,error:c}=xe(x.v7_normalizeFormMethod,!1,a,i),u=R.location,f=d(R.location,s,i&&i.state);f=r({},f,e.history.encodeLocation(f));let p=i&&null!=i.replace?i.replace:void 0,h=o.Push;!0===p?h=o.Replace:!1===p||null!=l&&nt(l.formMethod)&&l.formAction===R.location.pathname+R.location.search&&(h=o.Replace);let g=i&&"preventScrollReset"in i?!0===i.preventScrollReset:void 0,y=!0===(i&&i.flushSync),v=Be({currentLocation:u,nextLocation:f,historyAction:h});if(!v)return await re(h,f,{submission:l,pendingError:c,preventScrollReset:g,replace:i&&i.replace,enableViewTransition:i&&i.viewTransition,flushSync:y});Ne(v,{state:"blocked",location:f,proceed(){Ne(v,{state:"proceeding",proceed:void 0,reset:void 0,location:f}),t(n,i)},reset(){let e=new Map(R.blockers);e.set(v,pe),te({blockers:e})}})},fetch:function(t,n,r,o){if(i)throw new 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.");we(t);let a=!0===(o&&o.flushSync),l=s||h,u=Se(R.location,R.matches,m,x.v7_prependBasename,r,x.v7_relativeSplatPath,n,null==o?void 0:o.relative),f=b(l,u,m),d=et(f,l,u);if(d.active&&d.matches&&(f=d.matches),!f)return void ve(t,n,Ge(404,{pathname:u}),{flushSync:a});let{path:p,submission:g,error:y}=xe(x.v7_normalizeFormMethod,!0,u,o);if(y)return void ve(t,n,y,{flushSync:a});let v=st(f,p),O=!0===(o&&o.preventScrollReset);g&&nt(g.formMethod)?async function(t,n,r,o,i,a,l,u,f){function d(e){if(!e.route.action&&!e.route.lazy){let e=Ge(405,{method:f.formMethod,pathname:r,routeId:n});return ve(t,n,e,{flushSync:l}),!0}return!1}if(ce(),q.delete(t),!a&&d(o))return;let p=R.fetchers.get(t);ye(t,function(e,t){let n={state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0};return n}(f,p),{flushSync:l});let g=new AbortController,y=Ie(e.history,r,g.signal,f);if(a){let e=await tt(i,r,y.signal);if("aborted"===e.type)return;if("error"===e.type)return void ve(t,n,e.error,{flushSync:l});if(!e.matches)return void ve(t,n,Ge(404,{pathname:r}),{flushSync:l});if(d(o=st(i=e.matches,r)))return}G.set(t,g);let v=W,O=await se("action",R,y,[o],i,t),w=O[o.route.id];if(y.signal.aborted)return void(G.get(t)===g&&G.delete(t));if(x.v7_fetcherPersist&&K.has(t)){if(Ye(w)||qe(w))return void ye(t,ft(void 0))}else{if(Ye(w))return G.delete(t),H>v?void ye(t,ft(void 0)):(X.add(t),ye(t,ut(f)),ae(y,w,!1,{fetcherSubmission:f,preventScrollReset:u}));if(qe(w))return void ve(t,n,w.error)}if(Xe(w))throw Ge(400,{type:"defer-action"});let S=R.navigation.location||R.location,E=Ie(e.history,S,g.signal),_=s||h,P="idle"!==R.navigation.state?b(_,R.navigation.location,m):R.matches;c(P,"Didn't find any matches after fetcher action");let T=++W;Z.set(t,T);let j=ut(f,w.data);R.fetchers.set(t,j);let[C,k]=_e(e.history,R,P,f,S,!1,x.v7_skipActionErrorRevalidation,Q,V,U,K,q,X,_,m,[o.route.id,w]);k.filter((e=>e.key!==t)).forEach((e=>{let t=e.key,n=R.fetchers.get(t),r=ut(void 0,n?n.data:void 0);R.fetchers.set(t,r),we(t),e.controller&&G.set(t,e.controller)})),te({fetchers:new Map(R.fetchers)});let A=()=>k.forEach((e=>we(e.key)));g.signal.addEventListener("abort",A);let{loaderResults:L,fetcherResults:I}=await le(R,P,C,k,E);if(g.signal.aborted)return;g.signal.removeEventListener("abort",A),Z.delete(t),G.delete(t),k.forEach((e=>G.delete(e.key)));let N=We(L);if(N)return ae(E,N.result,!1,{preventScrollReset:u});if(N=We(I),N)return X.add(N.key),ae(E,N.result,!1,{preventScrollReset:u});let{loaderData:B,errors:$}=Fe(R,P,L,void 0,k,I,J);if(R.fetchers.has(t)){let e=ft(w.data);R.fetchers.set(t,e)}je(T),"loading"===R.navigation.state&&T>H?(c(M,"Expected pending action"),D&&D.abort(),ne(R.navigation.location,{matches:P,loaderData:B,errors:$,fetchers:new Map(R.fetchers)})):(te({errors:$,loaderData:ze(R.loaderData,B,P,$),fetchers:new Map(R.fetchers)}),Q=!1)}(t,n,p,v,f,d.active,a,O,g):(q.set(t,{routeId:n,path:p}),async function(t,n,r,o,i,a,s,l,u){let f=R.fetchers.get(t);ye(t,ut(u,f?f.data:void 0),{flushSync:s});let d=new AbortController,p=Ie(e.history,r,d.signal);if(a){let e=await tt(i,r,p.signal);if("aborted"===e.type)return;if("error"===e.type)return void ve(t,n,e.error,{flushSync:s});if(!e.matches)return void ve(t,n,Ge(404,{pathname:r}),{flushSync:s});o=st(i=e.matches,r)}G.set(t,d);let h=W,m=await se("loader",R,p,[o],i,t),g=m[o.route.id];Xe(g)&&(g=await it(g,p.signal,!0)||g);G.get(t)===d&&G.delete(t);if(p.signal.aborted)return;if(K.has(t))return void ye(t,ft(void 0));if(Ye(g))return H>h?void ye(t,ft(void 0)):(X.add(t),void await ae(p,g,!1,{preventScrollReset:l}));if(qe(g))return void ve(t,n,g.error);c(!Xe(g),"Unhandled fetcher deferred data"),ye(t,ft(g.data))}(t,n,p,v,f,d.active,a,O,g))},revalidate:function(){ce(),te({revalidation:"loading"}),"submitting"!==R.navigation.state&&("idle"!==R.navigation.state?re(M||R.historyAction,R.navigation.location,{overrideNavigation:R.navigation,enableViewTransition:!0===B}):re(R.historyAction,R.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:be,deleteFetcher:function(e){if(x.v7_fetcherPersist){let t=(Y.get(e)||0)-1;t<=0?(Y.delete(e),K.add(e)):Y.set(e,t)}else Oe(e);te({fetchers:new Map(R.fetchers)})},dispose:function(){E&&E(),F&&F(),_.clear(),D&&D.abort(),R.fetchers.forEach(((e,t)=>Oe(t))),R.blockers.forEach(((e,t)=>ke(t)))},getBlocker:function(e,t){let n=R.blockers.get(e)||pe;return ee.get(e)!==t&&ee.set(e,t),n},deleteBlocker:ke,patchRoutes:function(e,t){let n=null==s;Ce(e,t,s||h,p,a),n&&(h=[...h],te({}))},_internalFetchControllers:G,_internalActiveDeferreds:J,_internalSetRoutes:function(e){p={},s=v(e,a,void 0,p)}},f}const ve=Symbol("deferred");function be(e,t){c(e.length>0,"You must provide a non-empty routes array to createStaticHandler");let n,o={},i=(t?t.basename:null)||"/";if(null!=t&&t.mapRouteProperties)n=t.mapRouteProperties;else if(null!=t&&t.detectErrorBoundary){let e=t.detectErrorBoundary;n=t=>({hasErrorBoundary:e(t)})}else n=me;let a=r({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},t?t.future:null),s=v(e,n,void 0,o);async function l(e,t,n,o,i,s,l){c(e.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(nt(e.method.toLowerCase())){let c=await async function(e,t,n,o,i,s,l){let c;if(n.route.action||n.route.lazy){c=(await f("action",e,[n],t,l,o,i))[n.route.id],e.signal.aborted&&we(e,l,a)}else{let t=Ge(405,{method:e.method,pathname:new URL(e.url).pathname,routeId:n.route.id});if(l)throw t;c={type:g.error,error:t}}if(Ye(c))throw new Response(null,{status:c.response.status,headers:{Location:c.response.headers.get("Location")}});if(Xe(c)){let e=Ge(400,{type:"defer-action"});if(l)throw e;c={type:g.error,error:e}}if(l){if(qe(c))throw c.error;return{matches:[n],loaderData:{},actionData:{[n.route.id]:c.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let d=new Request(e.url,{headers:e.headers,redirect:e.redirect,signal:e.signal});if(qe(c)){let e=s?n:Ve(t,n.route.id);return r({},await u(d,t,o,i,s,null,[e.route.id,c]),{statusCode:oe(c.error)?c.error.status:null!=c.statusCode?c.statusCode:500,actionData:null,actionHeaders:r({},c.headers?{[n.route.id]:c.headers}:{})})}let p=await u(d,t,o,i,s,null);return r({},p,{actionData:{[n.route.id]:c.data}},c.statusCode?{statusCode:c.statusCode}:{},{actionHeaders:c.headers?{[n.route.id]:c.headers}:{}})}(e,n,l||st(n,t),o,i,s,null!=l);return c}let c=await u(e,n,o,i,s,l);return et(c)?c:r({},c,{actionData:null,actionHeaders:{}})}catch(e){if(null!=(d=e)&&"object"==typeof d&&"type"in d&&"result"in d&&(d.type===g.data||d.type===g.error)&&et(e.result)){if(e.type===g.error)throw e.result;return e.result}if(function(e){if(!et(e))return!1;let t=e.status,n=e.headers.get("Location");return t>=300&&t<=399&&null!=n}(e))return e;throw e}var d}async function u(e,t,n,o,i,s,l){let c=null!=s;if(c&&(null==s||!s.route.loader)&&(null==s||!s.route.lazy))throw Ge(400,{method:e.method,pathname:new URL(e.url).pathname,routeId:null==s?void 0:s.route.id});let u=(s?[s]:l&&qe(l[1])?Ee(t,l[0]):t).filter((e=>e.route.loader||e.route.lazy));if(0===u.length)return{matches:t,loaderData:t.reduce(((e,t)=>Object.assign(e,{[t.route.id]:null})),{}),errors:l&&qe(l[1])?{[l[0]]:l[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let d=await f("loader",e,u,t,c,n,o);e.signal.aborted&&we(e,c,a);let p=new Map,h=$e(t,d,l,p,i),m=new Set(u.map((e=>e.route.id)));return t.forEach((e=>{m.has(e.route.id)||(h.loaderData[e.route.id]=null)})),r({},h,{matches:t,activeDeferreds:p.size>0?Object.fromEntries(p.entries()):null})}async function f(e,t,r,s,l,c,u){let f=await De(u||Ae,e,null,t,r,s,null,o,n,c),d={};return await Promise.all(s.map((async e=>{if(!(e.route.id in f))return;let n=f[e.route.id];if(Ze(n)){throw Re(n.result,t,e.route.id,s,i,a.v7_relativeSplatPath)}if(et(n.result)&&l)throw n;d[e.route.id]=await Le(n)}))),d}return{dataRoutes:s,query:async function(e,t){let{requestContext:n,skipLoaderErrorBubbling:o,dataStrategy:a}=void 0===t?{}:t,c=new URL(e.url),u=e.method,f=d("",p(c),null,"default"),h=b(s,f,i);if(!tt(u)&&"HEAD"!==u){let e=Ge(405,{method:u}),{matches:t,route:n}=Ue(s);return{basename:i,location:f,matches:t,loaderData:{},actionData:null,errors:{[n.id]:e},statusCode:e.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}if(!h){let e=Ge(404,{pathname:f.pathname}),{matches:t,route:n}=Ue(s);return{basename:i,location:f,matches:t,loaderData:{},actionData:null,errors:{[n.id]:e},statusCode:e.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let m=await l(e,f,h,n,a||null,!0===o,null);return et(m)?m:r({location:f,basename:i},m)},queryRoute:async function(e,t){let{routeId:n,requestContext:r,dataStrategy:o}=void 0===t?{}:t,a=new URL(e.url),c=e.method,u=d("",p(a),null,"default"),f=b(s,u,i);if(!tt(c)&&"HEAD"!==c&&"OPTIONS"!==c)throw Ge(405,{method:c});if(!f)throw Ge(404,{pathname:u.pathname});let h=n?f.find((e=>e.route.id===n)):st(f,u);if(n&&!h)throw Ge(403,{pathname:u.pathname,routeId:n});if(!h)throw Ge(404,{pathname:u.pathname});let m=await l(e,u,f,r,o||null,!1,h);if(et(m))return m;let g=m.errors?Object.values(m.errors)[0]:void 0;if(void 0!==g)throw g;if(m.actionData)return Object.values(m.actionData)[0];if(m.loaderData){var y;let e=Object.values(m.loaderData)[0];return null!=(y=m.activeDeferreds)&&y[h.route.id]&&(e[ve]=m.activeDeferreds[h.route.id]),e}}}}function Oe(e,t,n){return r({},t,{statusCode:oe(n)?n.status:500,errors:{[t._deepestRenderedBoundaryId||e[0].id]:n}})}function we(e,t,n){if(n.v7_throwAbortReason&&void 0!==e.signal.reason)throw e.signal.reason;throw new Error((t?"queryRoute":"query")+"() call aborted: "+e.method+" "+e.url)}function Se(e,t,n,r,o,i,a,s){let l,c;if(a){l=[];for(let e of t)if(l.push(e),e.route.id===a){c=e;break}}else l=t,c=t[t.length-1];let u=z(o||".",F(l,i),I(e.pathname,n)||e.pathname,"path"===s);if(null==o&&(u.search=e.search,u.hash=e.hash),(null==o||""===o||"."===o)&&c){let e=at(u.search);if(c.route.index&&!e)u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index";else if(!c.route.index&&e){let e=new URLSearchParams(u.search),t=e.getAll("index");e.delete("index"),t.filter((e=>e)).forEach((t=>e.append("index",t)));let n=e.toString();u.search=n?"?"+n:""}}return r&&"/"!==n&&(u.pathname="/"===u.pathname?n:V([n,u.pathname])),p(u)}function xe(e,t,n,r){if(!r||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(r))return{path:n};if(r.formMethod&&!tt(r.formMethod))return{path:n,error:Ge(405,{method:r.formMethod})};let o,i,a=()=>({path:n,error:Ge(400,{type:"invalid-body"})}),s=r.formMethod||"get",l=e?s.toUpperCase():s.toLowerCase(),u=He(n);if(void 0!==r.body){if("text/plain"===r.formEncType){if(!nt(l))return a();let e="string"==typeof r.body?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce(((e,t)=>{let[n,r]=t;return""+e+n+"="+r+"\n"}),""):String(r.body);return{path:n,submission:{formMethod:l,formAction:u,formEncType:r.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===r.formEncType){if(!nt(l))return a();try{let e="string"==typeof r.body?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:l,formAction:u,formEncType:r.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return a()}}}if(c("function"==typeof FormData,"FormData is not available in this environment"),r.formData)o=Ne(r.formData),i=r.formData;else if(r.body instanceof FormData)o=Ne(r.body),i=r.body;else if(r.body instanceof URLSearchParams)o=r.body,i=Be(o);else if(null==r.body)o=new URLSearchParams,i=new FormData;else try{o=new URLSearchParams(r.body),i=Be(o)}catch(e){return a()}let f={formMethod:l,formAction:u,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(nt(f.formMethod))return{path:n,submission:f};let d=h(n);return t&&d.search&&at(d.search)&&o.append("index",""),d.search="?"+o,{path:p(d),submission:f}}function Ee(e,t,n){void 0===n&&(n=!1);let r=e.findIndex((e=>e.route.id===t));return r>=0?e.slice(0,n?r+1:r):e}function _e(e,t,n,o,i,a,s,l,c,u,f,d,p,h,m,g){let y=g?qe(g[1])?g[1].error:g[1].data:void 0,v=e.createURL(t.location),O=e.createURL(i),w=n;a&&t.errors?w=Ee(n,Object.keys(t.errors)[0],!0):g&&qe(g[1])&&(w=Ee(n,g[0]));let S=g?g[1].statusCode:void 0,x=s&&S&&S>=400,E=w.filter(((e,n)=>{let{route:i}=e;if(i.lazy)return!0;if(null==i.loader)return!1;if(a)return Pe(i,t.loaderData,t.errors);if(function(e,t,n){let r=!t||n.route.id!==t.route.id,o=void 0===e[n.route.id];return r||o}(t.loaderData,t.matches[n],e)||c.some((t=>t===e.route.id)))return!0;let s=t.matches[n],u=e;return je(e,r({currentUrl:v,currentParams:s.params,nextUrl:O,nextParams:u.params},o,{actionResult:y,actionStatus:S,defaultShouldRevalidate:!x&&(l||v.pathname+v.search===O.pathname+O.search||v.search!==O.search||Te(s,u))}))})),_=[];return d.forEach(((e,i)=>{if(a||!n.some((t=>t.route.id===e.routeId))||f.has(i))return;let s=b(h,e.path,m);if(!s)return void _.push({key:i,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let c=t.fetchers.get(i),d=st(s,e.path),g=!1;p.has(i)?g=!1:u.has(i)?(u.delete(i),g=!0):g=c&&"idle"!==c.state&&void 0===c.data?l:je(d,r({currentUrl:v,currentParams:t.matches[t.matches.length-1].params,nextUrl:O,nextParams:n[n.length-1].params},o,{actionResult:y,actionStatus:S,defaultShouldRevalidate:!x&&l})),g&&_.push({key:i,routeId:e.routeId,path:e.path,matches:s,match:d,controller:new AbortController})})),[E,_]}function Pe(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let r=null!=t&&void 0!==t[e.id],o=null!=n&&void 0!==n[e.id];return!(!r&&o)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!r&&!o)}function Te(e,t){let n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function je(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if("boolean"==typeof n)return n}return t.defaultShouldRevalidate}function Ce(e,t,n,r,o){var i;let a;if(e){let t=r[e];c(t,"No route found to patch children into: routeId = "+e),t.children||(t.children=[]),a=t.children}else a=n;let s=v(t.filter((e=>!a.some((t=>ke(e,t))))),o,[e||"_","patch",String((null==(i=a)?void 0:i.length)||"0")],r);a.push(...s)}function ke(e,t){return"id"in e&&"id"in t&&e.id===t.id||e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive&&(!(e.children&&0!==e.children.length||t.children&&0!==t.children.length)||e.children.every(((e,n)=>{var r;return null==(r=t.children)?void 0:r.some((t=>ke(e,t)))})))}async function Ae(e){let{matches:t}=e,n=t.filter((e=>e.shouldLoad));return(await Promise.all(n.map((e=>e.resolve())))).reduce(((e,t,r)=>Object.assign(e,{[n[r].route.id]:t})),{})}async function De(e,t,n,o,i,a,s,l,f,d){let p=a.map((e=>e.route.lazy?async function(e,t,n){if(!e.lazy)return;let o=await e.lazy();if(!e.lazy)return;let i=n[e.id];c(i,"No route found in manifest");let a={};for(let e in o){let t=void 0!==i[e]&&"hasErrorBoundary"!==e;u(!t,'Route "'+i.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||y.has(e)||(a[e]=o[e])}Object.assign(i,a),Object.assign(i,r({},t(i),{lazy:void 0}))}(e.route,f,l):void 0)),h=a.map(((e,n)=>{let a=p[n],s=i.some((t=>t.route.id===e.route.id));return r({},e,{shouldLoad:s,resolve:async n=>(n&&"GET"===o.method&&(e.route.lazy||e.route.loader)&&(s=!0),s?async function(e,t,n,r,o,i){let a,s,l=r=>{let a,l=new Promise(((e,t)=>a=t));s=()=>a(),t.signal.addEventListener("abort",s);let c=o=>"function"!=typeof r?Promise.reject(new Error('You cannot call the handler for a route which defines a boolean "'+e+'" [routeId: '+n.route.id+"]")):r({request:t,params:n.params,context:i},...void 0!==o?[o]:[]),u=(async()=>{try{return{type:"data",result:await(o?o((e=>c(e))):c())}}catch(e){return{type:"error",result:e}}})();return Promise.race([u,l])};try{let o=n.route[e];if(r)if(o){let e,[t]=await Promise.all([l(o).catch((t=>{e=t})),r]);if(void 0!==e)throw e;a=t}else{if(await r,o=n.route[e],!o){if("action"===e){let e=new URL(t.url),r=e.pathname+e.search;throw Ge(405,{method:t.method,pathname:r,routeId:n.route.id})}return{type:g.data,result:void 0}}a=await l(o)}else{if(!o){let e=new URL(t.url);throw Ge(404,{pathname:e.pathname+e.search})}a=await l(o)}c(void 0!==a.result,"You defined "+("action"===e?"an action":"a loader")+' for route "'+n.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){return{type:g.error,result:e}}finally{s&&t.signal.removeEventListener("abort",s)}return a}(t,o,e,a,n,d):Promise.resolve({type:g.data,result:void 0}))})})),m=await e({matches:h,request:o,params:a[0].params,fetcherKey:s,context:d});try{await Promise.all(p)}catch(e){}return m}async function Le(e){let{result:t,type:n}=e;if(et(t)){let e;try{let n=t.headers.get("Content-Type");e=n&&/\bapplication\/json\b/.test(n)?null==t.body?null:await t.json():await t.text()}catch(e){return{type:g.error,error:e}}return n===g.error?{type:g.error,error:new re(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:g.data,data:e,statusCode:t.status,headers:t.headers}}if(n===g.error){if(Ke(t)){var r,o;if(t.data instanceof Error)return{type:g.error,error:t.data,statusCode:null==(o=t.init)?void 0:o.status};t=new re((null==(r=t.init)?void 0:r.status)||500,void 0,t.data)}return{type:g.error,error:t,statusCode:oe(t)?t.status:void 0}}var i,a,s,l;return Je(t)?{type:g.deferred,deferredData:t,statusCode:null==(i=t.init)?void 0:i.status,headers:(null==(a=t.init)?void 0:a.headers)&&new Headers(t.init.headers)}:Ke(t)?{type:g.data,data:t.data,statusCode:null==(s=t.init)?void 0:s.status,headers:null!=(l=t.init)&&l.headers?new Headers(t.init.headers):void 0}:{type:g.data,data:t}}function Re(e,t,n,r,o,i){let a=e.headers.get("Location");if(c(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!he.test(a)){let s=r.slice(0,r.findIndex((e=>e.route.id===n))+1);a=Se(new URL(t.url),s,o,!0,a,i),e.headers.set("Location",a)}return e}function Me(e,t,n){if(he.test(e)){let r=e,o=r.startsWith("//")?new URL(t.protocol+r):new URL(r),i=null!=I(o.pathname,n);if(o.origin===t.origin&&i)return o.pathname+o.search+o.hash}return e}function Ie(e,t,n,r){let o=e.createURL(He(t)).toString(),i={signal:n};if(r&&nt(r.formMethod)){let{formMethod:e,formEncType:t}=r;i.method=e.toUpperCase(),"application/json"===t?(i.headers=new Headers({"Content-Type":t}),i.body=JSON.stringify(r.json)):"text/plain"===t?i.body=r.text:"application/x-www-form-urlencoded"===t&&r.formData?i.body=Ne(r.formData):i.body=r.formData}return new Request(o,i)}function Ne(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,"string"==typeof r?r:r.name);return t}function Be(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function $e(e,t,n,r,o){let i,a={},s=null,l=!1,u={},f=n&&qe(n[1])?n[1].error:void 0;return e.forEach((n=>{if(!(n.route.id in t))return;let d=n.route.id,p=t[d];if(c(!Ye(p),"Cannot handle redirect results in processLoaderData"),qe(p)){let t=p.error;if(void 0!==f&&(t=f,f=void 0),s=s||{},o)s[d]=t;else{let n=Ve(e,d);null==s[n.route.id]&&(s[n.route.id]=t)}a[d]=void 0,l||(l=!0,i=oe(p.error)?p.error.status:500),p.headers&&(u[d]=p.headers)}else Xe(p)?(r.set(d,p.deferredData),a[d]=p.deferredData.data,null==p.statusCode||200===p.statusCode||l||(i=p.statusCode),p.headers&&(u[d]=p.headers)):(a[d]=p.data,p.statusCode&&200!==p.statusCode&&!l&&(i=p.statusCode),p.headers&&(u[d]=p.headers))})),void 0!==f&&n&&(s={[n[0]]:f},a[n[0]]=void 0),{loaderData:a,errors:s,statusCode:i||200,loaderHeaders:u}}function Fe(e,t,n,o,i,a,s){let{loaderData:l,errors:u}=$e(t,n,o,s,!1);return i.forEach((t=>{let{key:n,match:o,controller:i}=t,s=a[n];if(c(s,"Did not find corresponding fetcher result"),!i||!i.signal.aborted)if(qe(s)){let t=Ve(e.matches,null==o?void 0:o.route.id);u&&u[t.route.id]||(u=r({},u,{[t.route.id]:s.error})),e.fetchers.delete(n)}else if(Ye(s))c(!1,"Unhandled fetcher revalidation redirect");else if(Xe(s))c(!1,"Unhandled fetcher deferred data");else{let t=ft(s.data);e.fetchers.set(n,t)}})),{loaderData:l,errors:u}}function ze(e,t,n,o){let i=r({},t);for(let r of n){let n=r.route.id;if(t.hasOwnProperty(n)?void 0!==t[n]&&(i[n]=t[n]):void 0!==e[n]&&r.route.loader&&(i[n]=e[n]),o&&o.hasOwnProperty(n))break}return i}function Qe(e){return e?qe(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Ve(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 Ue(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 Ge(e,t){let{pathname:n,routeId:r,method:o,type:i,message:a}=void 0===t?{}:t,s="Unknown Server Error",l="Unknown @remix-run/router error";return 400===e?(s="Bad Request",o&&n&&r?l="You made a "+o+' request to "'+n+'" but did not provide a `loader` for route "'+r+'", so there is no way to handle the request.':"defer-action"===i?l="defer() is not supported in actions":"invalid-body"===i&&(l="Unable to encode submission body")):403===e?(s="Forbidden",l='Route "'+r+'" does not match URL "'+n+'"'):404===e?(s="Not Found",l='No route matches URL "'+n+'"'):405===e&&(s="Method Not Allowed",o&&n&&r?l="You made a "+o.toUpperCase()+' request to "'+n+'" but did not provide an `action` for route "'+r+'", so there is no way to handle the request.':o&&(l='Invalid request method "'+o.toUpperCase()+'"')),new re(e||500,s,new Error(l),!0)}function We(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[n,r]=t[e];if(Ye(r))return{key:n,result:r}}}function He(e){return p(r({},"string"==typeof e?h(e):e,{hash:""}))}function Ze(e){return et(e.result)&&ce.has(e.result.status)}function Xe(e){return e.type===g.deferred}function qe(e){return e.type===g.error}function Ye(e){return(e&&e.type)===g.redirect}function Ke(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function Je(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}function et(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function tt(e){return le.has(e.toLowerCase())}function nt(e){return ae.has(e.toLowerCase())}async function rt(e,t,n,r,o){let i=Object.entries(t);for(let a=0;a(null==e?void 0:e.route.id)===s));if(!c)continue;let u=r.find((e=>e.route.id===c.route.id)),f=null!=u&&!Te(u,c)&&void 0!==(o&&o[c.route.id]);Xe(l)&&f&&await it(l,n,!1).then((e=>{e&&(t[s]=e)}))}}async function ot(e,t,n){for(let r=0;r(null==e?void 0:e.route.id)===i))&&(Xe(s)&&(c(a,"Expected an AbortController for revalidating fetcher deferred result"),await it(s,a.signal,!0).then((e=>{e&&(t[o]=e)}))))}}async function it(e,t,n){if(void 0===n&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:g.data,data:e.deferredData.unwrappedData}}catch(e){return{type:g.error,error:e}}return{type:g.data,data:e.deferredData.data}}}function at(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function st(e,t){let n="string"==typeof t?h(t).search:t.search;if(e[e.length-1].route.index&&at(n||""))return e[e.length-1];let r=$(e);return r[r.length-1]}function lt(e){let{formMethod:t,formAction:n,formEncType:r,text:o,formData:i,json:a}=e;if(t&&n&&r)return null!=o?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:o}:null!=i?{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0}:void 0!==a?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:a,text:void 0}:void 0}function ct(e,t){if(t){return{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}return{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function ut(e,t){if(e){return{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}}return{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function ft(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}},79608:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>s});var r,o,i=n(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>s});var r,o,i=n(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>s});var r,o,i=n(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>l});var r,o,i,a=n(36198);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>s});var r,o,i=n(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>s});var r,o,i=n(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>c});var r,o,i,a,s=n(36198);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>c});var r,o,i,a,s=n(36198);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>l});var r,o,i,a=n(36198);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>s});var r,o,i=n(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>s});var r,o,i=n(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>s});var r,o,i=n(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>s});var r,o,i=n(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>s});var r,o,i=n(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>s});var r,o,i=n(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>s});var r,o,i=n(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>c});var r,o,i,a,s=n(36198);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>s});var r,o,i=n(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>s});var r,o,i=n(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>s});var r,o,i=n(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r,o=n(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{basicSetup:()=>u,minimalSetup:()=>f});var r=n(47421),o=n(78120),i=n(45383),a=n(49892),s=n(34790),l=n(59119),c=n(28519),u=function(e){void 0===e&&(e={});var{crosshairCursor:t=!1}=e,n=[];!1!==e.closeBracketsKeymap&&(n=n.concat(s.closeBracketsKeymap)),!1!==e.defaultKeymap&&(n=n.concat(i.defaultKeymap)),!1!==e.searchKeymap&&(n=n.concat(a.searchKeymap)),!1!==e.historyKeymap&&(n=n.concat(i.historyKeymap)),!1!==e.foldKeymap&&(n=n.concat(l.foldKeymap)),!1!==e.completionKeymap&&(n=n.concat(s.completionKeymap)),!1!==e.lintKeymap&&(n=n.concat(c.lintKeymap));var u=[];return!1!==e.lineNumbers&&u.push((0,r.lineNumbers)()),!1!==e.highlightActiveLineGutter&&u.push((0,r.highlightActiveLineGutter)()),!1!==e.highlightSpecialChars&&u.push((0,r.highlightSpecialChars)()),!1!==e.history&&u.push((0,i.history)()),!1!==e.foldGutter&&u.push((0,l.foldGutter)()),!1!==e.drawSelection&&u.push((0,r.drawSelection)()),!1!==e.dropCursor&&u.push((0,r.dropCursor)()),!1!==e.allowMultipleSelections&&u.push(o.EditorState.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&u.push((0,l.indentOnInput)()),!1!==e.syntaxHighlighting&&u.push((0,l.syntaxHighlighting)(l.defaultHighlightStyle,{fallback:!0})),!1!==e.bracketMatching&&u.push((0,l.bracketMatching)()),!1!==e.closeBrackets&&u.push((0,s.closeBrackets)()),!1!==e.autocompletion&&u.push((0,s.autocompletion)()),!1!==e.rectangularSelection&&u.push((0,r.rectangularSelection)()),!1!==t&&u.push((0,r.crosshairCursor)()),!1!==e.highlightActiveLine&&u.push((0,r.highlightActiveLine)()),!1!==e.highlightSelectionMatches&&u.push((0,a.highlightSelectionMatches)()),e.tabSize&&"number"==typeof e.tabSize&&u.push(l.indentUnit.of(" ".repeat(e.tabSize))),u.concat([r.keymap.of(n.flat())]).filter(Boolean)},f=function(e){void 0===e&&(e={});var t=[];!1!==e.defaultKeymap&&(t=t.concat(i.defaultKeymap)),!1!==e.historyKeymap&&(t=t.concat(i.historyKeymap));var n=[];return!1!==e.highlightSpecialChars&&n.push((0,r.highlightSpecialChars)()),!1!==e.history&&n.push((0,i.history)()),!1!==e.drawSelection&&n.push((0,r.drawSelection)()),!1!==e.syntaxHighlighting&&n.push((0,l.syntaxHighlighting)(l.defaultHighlightStyle,{fallback:!0})),n.concat([r.keymap.of(t.flat())]).filter(Boolean)}},3891:(e,t,n)=>{"use strict";n.r(t),n.d(t,{color:()=>a.color,defaultLightThemeOption:()=>l.defaultLightThemeOption,getDefaultExtensions:()=>c,oneDark:()=>a.oneDark,oneDarkHighlightStyle:()=>a.oneDarkHighlightStyle,oneDarkTheme:()=>a.oneDarkTheme});var r=n(45383),o=n(15643),i=n(47421),a=n(23732),s=n(78120),l=n(86915),c=function(e){void 0===e&&(e={});var{indentWithTab:t=!0,editable:n=!0,readOnly:c=!1,theme:u="light",placeholder:f="",basicSetup:d=!0}=e,p=[];switch(t&&p.unshift(i.keymap.of([r.indentWithTab])),d&&("boolean"==typeof d?p.unshift((0,o.basicSetup)()):p.unshift((0,o.basicSetup)(d))),f&&p.unshift((0,i.placeholder)(f)),u){case"light":p.push(l.defaultLightThemeOption);break;case"dark":p.push(a.oneDark);break;case"none":break;default:p.push(u)}return!1===n&&p.push(i.EditorView.editable.of(!1)),c&&p.push(s.EditorState.readOnly.of(!0)),[...p]}},5770:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Annotation:()=>c.Annotation,AnnotationType:()=>c.AnnotationType,BidiSpan:()=>l.BidiSpan,BlockInfo:()=>l.BlockInfo,BlockType:()=>l.BlockType,ChangeDesc:()=>c.ChangeDesc,ChangeSet:()=>c.ChangeSet,CharCategory:()=>c.CharCategory,Compartment:()=>c.Compartment,Decoration:()=>l.Decoration,Direction:()=>l.Direction,EditorSelection:()=>c.EditorSelection,EditorState:()=>c.EditorState,EditorView:()=>l.EditorView,Facet:()=>c.Facet,GutterMarker:()=>l.GutterMarker,Line:()=>c.Line,MapMode:()=>c.MapMode,MatchDecorator:()=>l.MatchDecorator,Prec:()=>c.Prec,Range:()=>c.Range,RangeSet:()=>c.RangeSet,RangeSetBuilder:()=>c.RangeSetBuilder,RangeValue:()=>c.RangeValue,RectangleMarker:()=>l.RectangleMarker,SelectionRange:()=>c.SelectionRange,StateEffect:()=>c.StateEffect,StateEffectType:()=>c.StateEffectType,StateField:()=>c.StateField,Text:()=>c.Text,Transaction:()=>c.Transaction,ViewPlugin:()=>l.ViewPlugin,ViewUpdate:()=>l.ViewUpdate,WidgetType:()=>l.WidgetType,__test:()=>l.__test,basicSetup:()=>u.basicSetup,closeHoverTooltips:()=>l.closeHoverTooltips,codePointAt:()=>c.codePointAt,codePointSize:()=>c.codePointSize,color:()=>f.color,combineConfig:()=>c.combineConfig,countColumn:()=>c.countColumn,crosshairCursor:()=>l.crosshairCursor,default:()=>m,defaultLightThemeOption:()=>f.defaultLightThemeOption,drawSelection:()=>l.drawSelection,dropCursor:()=>l.dropCursor,findClusterBreak:()=>c.findClusterBreak,findColumn:()=>c.findColumn,fromCodePoint:()=>c.fromCodePoint,getDefaultExtensions:()=>f.getDefaultExtensions,getDrawSelectionConfig:()=>l.getDrawSelectionConfig,getPanel:()=>l.getPanel,getStatistics:()=>d.getStatistics,getTooltip:()=>l.getTooltip,gutter:()=>l.gutter,gutterLineClass:()=>l.gutterLineClass,gutterWidgetClass:()=>l.gutterWidgetClass,gutters:()=>l.gutters,hasHoverTooltips:()=>l.hasHoverTooltips,highlightActiveLine:()=>l.highlightActiveLine,highlightActiveLineGutter:()=>l.highlightActiveLineGutter,highlightSpecialChars:()=>l.highlightSpecialChars,highlightTrailingWhitespace:()=>l.highlightTrailingWhitespace,highlightWhitespace:()=>l.highlightWhitespace,hoverTooltip:()=>l.hoverTooltip,keymap:()=>l.keymap,layer:()=>l.layer,lineNumberMarkers:()=>l.lineNumberMarkers,lineNumberWidgetMarker:()=>l.lineNumberWidgetMarker,lineNumbers:()=>l.lineNumbers,logException:()=>l.logException,minimalSetup:()=>u.minimalSetup,oneDark:()=>f.oneDark,oneDarkHighlightStyle:()=>f.oneDarkHighlightStyle,oneDarkTheme:()=>f.oneDarkTheme,panels:()=>l.panels,placeholder:()=>l.placeholder,rectangularSelection:()=>l.rectangularSelection,repositionTooltips:()=>l.repositionTooltips,runScopeHandlers:()=>l.runScopeHandlers,scrollPastEnd:()=>l.scrollPastEnd,showPanel:()=>l.showPanel,showTooltip:()=>l.showTooltip,tooltips:()=>l.tooltips,useCodeMirror:()=>a.useCodeMirror});var r=n(87462),o=n(63366),i=n(36198),a=n(57871),s=n(85893),l=n(47421),c=n(78120),u=n(15643),f=n(3891),d=n(74241),p=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],h=(0,i.forwardRef)(((e,t)=>{var{className:n,value:l="",selection:c,extensions:u=[],onChange:f,onStatistics:d,onCreateEditor:h,onUpdate:m,autoFocus:g,theme:y="light",height:v,minHeight:b,maxHeight:O,width:w,minWidth:S,maxWidth:x,basicSetup:E,placeholder:_,indentWithTab:P,editable:T,readOnly:j,root:C,initialState:k}=e,A=(0,o.default)(e,p),D=(0,i.useRef)(null),{state:L,view:R,container:M}=(0,a.useCodeMirror)({container:D.current,root:C,value:l,autoFocus:g,theme:y,height:v,minHeight:b,maxHeight:O,width:w,minWidth:S,maxWidth:x,basicSetup:E,placeholder:_,indentWithTab:P,editable:T,readOnly:j,selection:c,onChange:f,onStatistics:d,onCreateEditor:h,onUpdate:m,extensions:u,initialState:k});if((0,i.useImperativeHandle)(t,(()=>({editor:D.current,state:L,view:R})),[D,M,L,R]),"string"!=typeof l)throw new Error("value must be typeof string but got "+typeof l);var I="string"==typeof y?"cm-theme-"+y:"cm-theme";return(0,s.jsx)("div",(0,r.default)({ref:D,className:I+(n?" "+n:"")},A))}));h.displayName="CodeMirror";const m=h},86915:(e,t,n)=>{"use strict";n.r(t),n.d(t,{defaultLightThemeOption:()=>r});var r=n(47421).EditorView.theme({"&":{backgroundColor:"#fff"}},{dark:!1})},57871:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useCodeMirror:()=>u});var r=n(36198),o=n(78120),i=n(47421),a=n(3891),s=n(74241),l=o.Annotation.define(),c=[];function u(e){var{value:t,selection:n,onChange:u,onStatistics:f,onCreateEditor:d,onUpdate:p,extensions:h=c,autoFocus:m,theme:g="light",height:y=null,minHeight:v=null,maxHeight:b=null,width:O=null,minWidth:w=null,maxWidth:S=null,placeholder:x="",editable:E=!0,readOnly:_=!1,indentWithTab:P=!0,basicSetup:T=!0,root:j,initialState:C}=e,[k,A]=(0,r.useState)(),[D,L]=(0,r.useState)(),[R,M]=(0,r.useState)(),I=i.EditorView.theme({"&":{height:y,minHeight:v,maxHeight:b,width:O,minWidth:w,maxWidth:S},"& .cm-scroller":{height:"100% !important"}}),N=[i.EditorView.updateListener.of((e=>{if(e.docChanged&&"function"==typeof u&&!e.transactions.some((e=>e.annotation(l)))){var t=e.state.doc.toString();u(t,e)}f&&f((0,s.getStatistics)(e))})),I,...(0,a.getDefaultExtensions)({theme:g,editable:E,readOnly:_,placeholder:x,indentWithTab:P,basicSetup:T})];return p&&"function"==typeof p&&N.push(i.EditorView.updateListener.of(p)),N=N.concat(h),(0,r.useEffect)((()=>{if(k&&!R){var e={doc:t,selection:n,extensions:N},r=C?o.EditorState.fromJSON(C.json,e,C.fields):o.EditorState.create(e);if(M(r),!D){var a=new i.EditorView({state:r,parent:k,root:j});L(a),d&&d(a,r)}}return()=>{D&&(M(void 0),L(void 0))}}),[k,R]),(0,r.useEffect)((()=>A(e.container)),[e.container]),(0,r.useEffect)((()=>()=>{D&&(D.destroy(),L(void 0))}),[D]),(0,r.useEffect)((()=>{m&&D&&D.focus()}),[m,D]),(0,r.useEffect)((()=>{D&&D.dispatch({effects:o.StateEffect.reconfigure.of(N)})}),[g,h,y,v,b,O,w,S,x,E,_,P,T,u,p]),(0,r.useEffect)((()=>{if(void 0!==t){var e=D?D.state.doc.toString():"";D&&t!==e&&D.dispatch({changes:{from:0,to:e.length,insert:t||""},annotations:[l.of(!0)]})}}),[t,D]),{state:R,setState:M,view:D,setView:L,container:k,setContainer:A}}},74241:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getStatistics:()=>r});var r=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))})},89942:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(36198),o=n(65223),i=n(4173);const a=e=>{const{space:t,form:n,children:a}=e;if(null==a)return null;let s=a;return n&&(s=r.createElement(o.NoFormStyle,{override:!0,status:!0},s)),t&&(s=r.createElement(i.NoCompactStyle,null,s)),s}},78290:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(36198),o=n(8913);const i=e=>{let t;return"object"==typeof e&&(null==e?void 0:e.clearIcon)?t=e:e&&(t={clearIcon:r.createElement(o.default,null)}),t}},33603:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c,getTransitionName:()=>l});var r=n(49134);const o=()=>({height:0,opacity:0}),i=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},a=e=>({height:e?e.offsetHeight:0}),s=(e,t)=>!0===(null==t?void 0:t.deadline)||"height"===t.propertyName,l=(e,t,n)=>void 0!==n?n:`${e}-${t}`,c=function(){return{motionName:`${arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.defaultPrefixCls}-motion-collapse`,onAppearStart:o,onEnterStart:o,onAppearActive:i,onEnterActive:i,onLeaveStart:a,onLeaveActive:o,onAppearEnd:s,onEnterEnd:s,onLeaveEnd:s,motionDeadline:500}}},96159:(e,t,n)=>{"use strict";n.r(t),n.d(t,{cloneElement:()=>a,isFragment:()=>o,replaceElement:()=>i});var r=n(36198);function o(e){return e&&r.isValidElement(e)&&e.type===r.Fragment}const i=(e,t,n)=>r.isValidElement(e)?r.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t;function a(e,t){return i(e,e,t)}},9708:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getMergedStatus:()=>a,getStatusClassNames:()=>i});var r=n(93967),o=n.n(r);function i(e,t,n){return o()({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:n})}const a=(e,t)=>t||e},27288:(e,t,n)=>{"use strict";n.r(t),n.d(t,{WarningContext:()=>c,default:()=>f,devUseWarning:()=>u,noop:()=>i,resetWarned:()=>s});var r=n(36198),o=n(80334);function i(){}let a=null;function s(){a=null,(0,o.resetWarned)()}let l=i;const c=r.createContext({}),u=()=>{const e=()=>{};return e.deprecated=i,e},f=l},11443:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(36198),o=n(93967),i=n.n(o),a=n(93587),s=n(75164),l=n(38135),c=n(42550),u=n(17415),f=n(30190);function d(e){return Number.isNaN(e)?0:e}const p=e=>{const{className:t,target:n,component:o}=e,p=r.useRef(null),[h,m]=r.useState(null),[g,y]=r.useState([]),[v,b]=r.useState(0),[O,w]=r.useState(0),[S,x]=r.useState(0),[E,_]=r.useState(0),[P,T]=r.useState(!1),j={left:v,top:O,width:S,height:E,borderRadius:g.map((e=>`${e}px`)).join(" ")};function C(){const e=getComputedStyle(n);m((0,f.getTargetWaveColor)(n));const t="static"===e.position,{borderLeftWidth:r,borderTopWidth:o}=e;b(t?n.offsetLeft:d(-parseFloat(r))),w(t?n.offsetTop:d(-parseFloat(o))),x(n.offsetWidth),_(n.offsetHeight);const{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:s,borderBottomRightRadius:l}=e;y([i,a,l,s].map((e=>d(parseFloat(e)))))}if(h&&(j["--wave-color"]=h),r.useEffect((()=>{if(n){const e=(0,s.default)((()=>{C(),T(!0)}));let t;return"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(C),t.observe(n)),()=>{s.default.cancel(e),null==t||t.disconnect()}}}),[]),!P)return null;const k=("Checkbox"===o||"Radio"===o)&&(null==n?void 0:n.classList.contains(u.TARGET_CLS));return r.createElement(a.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n;if(t.deadline||"opacity"===t.propertyName){const e=null===(n=p.current)||void 0===n?void 0:n.parentElement;(0,l.unmount)(e).then((()=>{null==e||e.remove()}))}return!1}},((e,n)=>{let{className:o}=e;return r.createElement("div",{ref:(0,c.composeRef)(p,n),className:i()(t,o,{"wave-quick":k}),style:j})}))},h=(e,t)=>{var n;const{component:o}=t;if("Checkbox"===o&&!(null===(n=e.querySelector("input"))||void 0===n?void 0:n.checked))return;const 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),(0,l.render)(r.createElement(p,Object.assign({},t,{target:e})),i)}},3378:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(36198),o=n(93967),i=n.n(o),a=n(5110),s=n(42550),l=n(49134),c=n(96159),u=n(55521),f=n(98345);const d=e=>{const{children:t,disabled:n,component:o}=e,{getPrefixCls:d}=(0,r.useContext)(l.ConfigContext),p=(0,r.useRef)(null),h=d("wave"),[,m]=(0,u.default)(h),g=(0,f.default)(p,i()(h,m),o);if(r.useEffect((()=>{const e=p.current;if(!e||1!==e.nodeType||n)return;const t=t=>{!(0,a.default)(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]),!r.isValidElement(t))return null!=t?t:null;const y=(0,s.supportRef)(t)?(0,s.composeRef)(t.ref,p):p;return(0,c.cloneElement)(t,{ref:y})}},17415:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TARGET_CLS:()=>r});const r=`${n(49134).defaultPrefixCls}-wave-target`},55521:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(12641);const o=e=>{const{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}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},i=(0,r.genComponentStyleHook)("Wave",(e=>[o(e)]))},98345:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(36198),o=n(66680),i=n(75164),a=n(49134),s=n(29691),l=n(17415),c=n(11443);const u=(e,t,n)=>{const{wave:u}=r.useContext(a.ConfigContext),[,f,d]=(0,s.default)(),p=(0,o.default)((r=>{const o=e.current;if((null==u?void 0:u.disabled)||!o)return;const i=o.querySelector(`.${l.TARGET_CLS}`)||o,{showEffect:a}=u||{};(a||c.default)(i,{className:t,token:f,component:n,event:r,hashId:d})})),h=r.useRef();return e=>{i.default.cancel(h.current),h.current=(0,i.default)((()=>{p(e)}))}}},30190:(e,t,n)=>{"use strict";function r(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 o(e){const{borderTopColor:t,borderColor:n,backgroundColor:o}=getComputedStyle(e);return r(t)?t:r(n)?n:r(o)?o:null}n.r(t),n.d(t,{getTargetWaveColor:()=>o,isValidWaveColor:()=>r})},6508:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(36198),o=n(93967),i=n.n(o);const a=(0,r.forwardRef)(((e,t)=>{const{className:n,style:o,children:a,prefixCls:s}=e,l=i()(`${s}-icon`,n);return r.createElement("span",{ref:t,className:l,style:o},a)}))},44942:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(36198),o=n(79090),i=n(93967),a=n.n(i),s=n(93587),l=n(6508);const c=(0,r.forwardRef)(((e,t)=>{const{prefixCls:n,className:i,style:s,iconClassName:c}=e,u=a()(`${n}-loading-icon`,i);return r.createElement(l.default,{prefixCls:n,className:u,style:s,ref:t},r.createElement(o.default,{className:c}))})),u=()=>({width:0,opacity:0,transform:"scale(0)"}),f=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),d=e=>{const{prefixCls:t,loading:n,existIcon:o,className:i,style:a}=e,l=!!n;return o?r.createElement(c,{prefixCls:t,className:i,style:a}):r.createElement(s.default,{visible:l,motionName:`${t}-loading-icon-motion`,motionLeave:l,removeOnLeave:!0,onAppearStart:u,onAppearActive:f,onEnterStart:u,onEnterActive:f,onLeaveStart:f,onLeaveActive:u},((e,n)=>{let{className:o,style:s}=e;return r.createElement(c,{prefixCls:t,className:i,style:Object.assign(Object.assign({},a),s),ref:n,iconClassName:o})}))}},95658:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GroupSizeContext:()=>c,default:()=>u});var r=n(36198),o=n(93967),i=n.n(o),a=(n(27288),n(49134)),s=n(12641),l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:n}=r.useContext(a.ConfigContext),{prefixCls:o,size:u,className:f}=e,d=l(e,["prefixCls","size","className"]),p=t("btn-group",o),[,,h]=(0,s.useToken)();let m="";switch(u){case"large":m="lg";break;case"small":m="sm"}const g=i()(p,{[`${p}-${m}`]:m,[`${p}-rtl`]:"rtl"===n},f,h);return r.createElement(c.Provider,{value:u},r.createElement("div",Object.assign({},d,{className:g})))}},97447:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var r=n(36198),o=n(93967),i=n.n(o),a=n(98423),s=n(42550),l=(n(27288),n(3378)),c=n(49134),u=n(98866),f=n(98675),d=n(4173),p=n(95658),h=n(33671),m=n(6508),g=n(44942),y=n(57663),v=n(36171),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var n,o,w,S;const{loading:x=!1,prefixCls:E,color:_,variant:P,type:T,danger:j=!1,shape:C="default",size:k,styles:A,disabled:D,className:L,rootClassName:R,children:M,icon:I,iconPosition:N="start",ghost:B=!1,block:$=!1,htmlType:F="button",classNames:z,style:Q={},autoInsertSpace:V,autoFocus:U}=e,G=b(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),W=T||"default",[H,Z]=(0,r.useMemo)((()=>{if(_&&P)return[_,P];const e=O[W]||[];return j?["danger",e[1]]:e}),[T,_,P,j]),X="danger"===H?"dangerous":H,{getPrefixCls:q,direction:Y,button:K}=(0,r.useContext)(c.ConfigContext),J=null===(n=null!=V?V:null==K?void 0:K.autoInsertSpace)||void 0===n||n,ee=q("btn",E),[te,ne,re]=(0,y.default)(ee),oe=(0,r.useContext)(u.default),ie=null!=D?D:oe,ae=(0,r.useContext)(p.GroupSizeContext),se=(0,r.useMemo)((()=>function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return t=Number.isNaN(t)||"number"!=typeof t?0:t,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}(x)),[x]),[le,ce]=(0,r.useState)(se.loading),[ue,fe]=(0,r.useState)(!1),de=(0,r.useRef)(),pe=(0,s.useComposeRef)(t,de),he=1===r.Children.count(M)&&!I&&!(0,h.isUnBorderedButtonVariant)(Z);(0,r.useEffect)((()=>{let e=null;return se.delay>0?e=setTimeout((()=>{e=null,ce(!0)}),se.delay):ce(se.loading),function(){e&&(clearTimeout(e),e=null)}}),[se]),(0,r.useEffect)((()=>{if(!de.current||!J)return;const e=de.current.textContent||"";he&&(0,h.isTwoCNChar)(e)?ue||fe(!0):ue&&fe(!1)})),(0,r.useEffect)((()=>{U&&de.current&&de.current.focus()}),[]);const me=r.useCallback((t=>{var n;le||ie?t.preventDefault():null===(n=e.onClick)||void 0===n||n.call(e,t)}),[e.onClick,le,ie]);const{compactSize:ge,compactItemClassnames:ye}=(0,d.useCompactItemContext)(ee,Y),ve={large:"lg",small:"sm",middle:void 0},be=(0,f.default)((e=>{var t,n;return null!==(n=null!==(t=null!=k?k:ge)&&void 0!==t?t:ae)&&void 0!==n?n:e})),Oe=be&&null!==(o=ve[be])&&void 0!==o?o:"",we=le?"loading":I,Se=(0,a.default)(G,["navigate"]),xe=i()(ee,ne,re,{[`${ee}-${C}`]:"default"!==C&&C,[`${ee}-${W}`]:W,[`${ee}-dangerous`]:j,[`${ee}-color-${X}`]:X,[`${ee}-variant-${Z}`]:Z,[`${ee}-${Oe}`]:Oe,[`${ee}-icon-only`]:!M&&0!==M&&!!we,[`${ee}-background-ghost`]:B&&!(0,h.isUnBorderedButtonVariant)(Z),[`${ee}-loading`]:le,[`${ee}-two-chinese-chars`]:ue&&J&&!le,[`${ee}-block`]:$,[`${ee}-rtl`]:"rtl"===Y,[`${ee}-icon-end`]:"end"===N},ye,L,R,null==K?void 0:K.className),Ee=Object.assign(Object.assign({},null==K?void 0:K.style),Q),_e=i()(null==z?void 0:z.icon,null===(w=null==K?void 0:K.classNames)||void 0===w?void 0:w.icon),Pe=Object.assign(Object.assign({},(null==A?void 0:A.icon)||{}),(null===(S=null==K?void 0:K.styles)||void 0===S?void 0:S.icon)||{}),Te=I&&!le?r.createElement(m.default,{prefixCls:ee,className:_e,style:Pe},I):r.createElement(g.default,{existIcon:!!I,prefixCls:ee,loading:le}),je=M||0===M?(0,h.spaceChildren)(M,he&&J):null;if(void 0!==Se.href)return te(r.createElement("a",Object.assign({},Se,{className:i()(xe,{[`${ee}-disabled`]:ie}),href:ie?void 0:Se.href,style:Ee,onClick:me,ref:pe,tabIndex:ie?-1:0}),Te,je));let Ce=r.createElement("button",Object.assign({},G,{type:F,className:xe,style:Ee,onClick:me,disabled:ie,ref:pe}),Te,je,ye&&r.createElement(v.default,{prefixCls:ee}));return(0,h.isUnBorderedButtonVariant)(Z)||(Ce=r.createElement(l.default,{component:"Button",disabled:le},Ce)),te(Ce)}));w.Group=p.default,w.__ANT_BUTTON=!0;const S=w},33671:(e,t,n)=>{"use strict";n.r(t),n.d(t,{_ButtonColorTypes:()=>d,_ButtonVariantTypes:()=>f,convertLegacyProps:()=>s,isString:()=>l,isTwoCNChar:()=>a,isUnBorderedButtonVariant:()=>c,spaceChildren:()=>u});var r=n(36198),o=n(96159);const i=/^[\u4E00-\u9FA5]{2}$/,a=i.test.bind(i);function s(e){return"danger"===e?{danger:!0}:{type:e}}function l(e){return"string"==typeof e}function c(e){return"text"===e||"link"===e}function u(e,t){let n=!1;const i=[];return r.Children.forEach(e,(e=>{const t=typeof e,r="string"===t||"number"===t;if(n&&r){const t=i.length-1,n=i[t];i[t]=`${n}${e}`}else i.push(e);n=r})),r.Children.map(i,(e=>function(e,t){if(null==e)return;const n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&l(e.type)&&a(e.props.children)?(0,o.cloneElement)(e,{children:e.props.children.split("").join(n)}):l(e)?a(e)?r.createElement("span",null,e.split("").join(n)):r.createElement("span",null,e):(0,o.isFragment)(e)?r.createElement("span",null,e):e}(e,t)))}const f=["outlined","dashed","solid","filled","text","link"],d=["default","primary","danger"]},71577:(e,t,n)=>{"use strict";n.r(t),n.d(t,{_ButtonColorTypes:()=>o._ButtonColorTypes,_ButtonVariantTypes:()=>o._ButtonVariantTypes,convertLegacyProps:()=>o.convertLegacyProps,default:()=>i,isString:()=>o.isString,isTwoCNChar:()=>o.isTwoCNChar,isUnBorderedButtonVariant:()=>o.isUnBorderedButtonVariant,spaceChildren:()=>o.spaceChildren});var r=n(97447),o=n(33671);const i=r.default},36171:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(80110),o=n(54228),i=n(12641),a=n(54287);const s=e=>{const{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))},l=(0,i.genSubStyleComponent)(["Button","compact"],(e=>{const t=(0,a.prepareToken)(e);return[(0,r.genCompactItemStyle)(t),(0,o.genCompactItemVerticalStyle)(t),s(t)]}),a.prepareComponentToken)},74145:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const r=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),o=e=>{const{componentCls:t,fontSize:n,lineWidth:o,groupBorderColor:i,colorErrorHover:a}=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(o).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}},r(`${t}-primary`,i),r(`${t}-danger`,a)]}}},57663:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>D});var r=n(78419),o=n(14747),i=n(12641),a=n(74145),s=n(54287);const l=e=>{const{componentCls:t,iconCls:n,fontWeight:i}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:i,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${(0,r.unit)(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`> span, ${t}-icon`]:{display:"inline-flex"},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,o.genFocusStyle)(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}},c=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),u=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),f=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),d=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),p=(e,t,n,r,o,i,a,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},c(e,Object.assign({background:t},a),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),h=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},d(e))}),m=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),g=(e,t,n,r)=>{const o=r&&["link","text"].includes(r)?m:h;return Object.assign(Object.assign({},o(e)),c(e.componentCls,t,n))},y=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:n},g(e,r,o))}),v=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:n},g(e,r,o))}),b=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),O=(e,t,n,r)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},g(e,n,r))}),w=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-${n}`]:Object.assign({color:t,boxShadow:"none"},g(e,r,o,n))}),S=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},y(e,e.solidTextColor,e.colorBgSolid,{background:e.colorBgSolidHover},{background:e.colorBgSolidActive})),b(e)),O(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill})),w(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),p(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),x=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},v(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),b(e)),O(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder})),w(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),p(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),E=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},y(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),v(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),b(e)),O(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive})),w(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),w(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),p(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),_=e=>{const{componentCls:t}=e;return{[`${t}-color-default`]:S(e),[`${t}-color-primary`]:x(e),[`${t}-color-dangerous`]:E(e)}},P=e=>Object.assign(Object.assign(Object.assign(Object.assign({},v(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),w(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),y(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),w(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),T=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{componentCls:n,controlHeight:o,fontSize:i,lineHeight:a,borderRadius:s,buttonPaddingHorizontal:l,iconCls:c,buttonPaddingVertical:d,motionDurationSlow:p,motionEaseInOut:h,buttonIconOnlyFontSize:m,opacityLoading:g}=e;return[{[t]:{fontSize:i,lineHeight:a,height:o,padding:`${(0,r.unit)(d)} ${(0,r.unit)(l)}`,borderRadius:s,[`&${n}-icon-only`]:{width:o,paddingInline:0,[`&${n}-compact-item`]:{flex:"none"},[`&${n}-round`]:{width:"auto"},[c]:{fontSize:m}},[`&${n}-loading`]:{opacity:g,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${p} ${h}, opacity ${p} ${h}`}}},{[`${n}${n}-circle${t}`]:u(e)},{[`${n}${n}-round${t}`]:f(e)}]},j=e=>{const t=(0,i.mergeToken)(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return T(t,e.componentCls)},C=e=>{const t=(0,i.mergeToken)(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return T(t,`${e.componentCls}-sm`)},k=e=>{const t=(0,i.mergeToken)(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return T(t,`${e.componentCls}-lg`)},A=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},D=(0,i.genStyleHooks)("Button",(e=>{const t=(0,s.prepareToken)(e);return[l(t),j(t),C(t),k(t),A(t),_(t),P(t),(0,a.default)(t)]}),s.prepareComponentToken,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}})},54287:(e,t,n)=>{"use strict";n.r(t),n.d(t,{prepareComponentToken:()=>s,prepareToken:()=>a});var r=n(11616),o=n(71529),i=n(12641);const a=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return(0,i.mergeToken)(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},s=e=>{var t,n,a,s,l,c;const u=null!==(t=e.contentFontSize)&&void 0!==t?t:e.fontSize,f=null!==(n=e.contentFontSizeSM)&&void 0!==n?n:e.fontSize,d=null!==(a=e.contentFontSizeLG)&&void 0!==a?a:e.fontSizeLG,p=null!==(s=e.contentLineHeight)&&void 0!==s?s:(0,i.getLineHeight)(u),h=null!==(l=e.contentLineHeightSM)&&void 0!==l?l:(0,i.getLineHeight)(f),m=null!==(c=e.contentLineHeightLG)&&void 0!==c?c:(0,i.getLineHeight)(d),g=(0,o.isBright)(new r.AggregationColor(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:g,contentFontSize:u,contentFontSizeSM:f,contentFontSizeLG:d,contentLineHeight:p,contentLineHeightSM:h,contentLineHeightLG:m,paddingBlock:Math.max((e.controlHeight-u*p)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-f*h)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-d*m)/2-e.lineWidth,0)}}},74228:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=n(9674).default},46256:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(36198),o=n(93967),i=n.n(o),a=n(49134),s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:n,avatar:o,title:l,description:c}=e,u=s(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:f}=r.useContext(a.ConfigContext),d=f("card",t),p=i()(`${d}-meta`,n),h=o?r.createElement("div",{className:`${d}-meta-avatar`},o):null,m=l?r.createElement("div",{className:`${d}-meta-title`},l):null,g=c?r.createElement("div",{className:`${d}-meta-description`},c):null,y=m||g?r.createElement("div",{className:`${d}-meta-detail`},m,g):null;return r.createElement("div",Object.assign({},u,{className:p}),h,y)}},400:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(36198),o=n(43929),i=n(93967),a=n.n(i),s=n(7790),l=n(50344),c=n(98423),u=n(33603),f=n(96159),d=(n(27288),n(49134)),p=n(98675),h=n(21158),m=n(7359);const g=r.forwardRef(((e,t)=>{const{getPrefixCls:n,direction:i,collapse:h}=r.useContext(d.ConfigContext),{prefixCls:g,className:y,rootClassName:v,style:b,bordered:O=!0,ghost:w,size:S,expandIconPosition:x="start",children:E,expandIcon:_}=e,P=(0,p.default)((e=>{var t;return null!==(t=null!=S?S:e)&&void 0!==t?t:"middle"})),T=n("collapse",g),j=n(),[C,k,A]=(0,m.default)(T);const D=r.useMemo((()=>"left"===x?"start":"right"===x?"end":x),[x]),L=null!=_?_:null==h?void 0:h.expandIcon,R=r.useCallback((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t="function"==typeof L?L(e):r.createElement(o.default,{rotate:e.isActive?90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,f.cloneElement)(t,(()=>{var e;return{className:a()(null===(e=null==t?void 0:t.props)||void 0===e?void 0:e.className,`${T}-arrow`)}}))}),[L,T]),M=a()(`${T}-icon-position-${D}`,{[`${T}-borderless`]:!O,[`${T}-rtl`]:"rtl"===i,[`${T}-ghost`]:!!w,[`${T}-${P}`]:"middle"!==P},null==h?void 0:h.className,y,v,k,A),I=Object.assign(Object.assign({},(0,u.default)(j)),{motionAppear:!1,leavedClassName:`${T}-content-hidden`}),N=r.useMemo((()=>E?(0,l.default)(E).map(((e,t)=>{var n,r;if(null===(n=e.props)||void 0===n?void 0:n.disabled){const n=null!==(r=e.key)&&void 0!==r?r:String(t),{disabled:o,collapsible:i}=e.props,a=Object.assign(Object.assign({},(0,c.default)(e.props,["disabled"])),{key:n,collapsible:null!=i?i:o?"disabled":void 0});return(0,f.cloneElement)(e,a)}return e})):null),[E]);return C(r.createElement(s.default,Object.assign({ref:t,openMotion:I},(0,c.default)(e,["rootClassName"]),{expandIcon:R,prefixCls:T,className:M,style:Object.assign(Object.assign({},null==h?void 0:h.style),b)}),N))}));const y=Object.assign(g,{Panel:h.default})},21158:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(36198),o=n(93967),i=n.n(o),a=n(7790),s=(n(27288),n(49134));const l=r.forwardRef(((e,t)=>{const{getPrefixCls:n}=r.useContext(s.ConfigContext),{prefixCls:o,className:l,showArrow:c=!0}=e,u=n("collapse",o),f=i()({[`${u}-no-arrow`]:!c},l);return r.createElement(a.default.Panel,Object.assign({ref:t},e,{prefixCls:u,className:f}))}))},2335:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=n(400).default},7359:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d,genBaseStyle:()=>s,prepareComponentToken:()=>f});var r=n(78419),o=n(14747),i=n(97229),a=n(12641);const s=e=>{const{componentCls:t,contentBg:n,padding:i,headerBg:a,headerPadding:s,collapseHeaderPaddingSM:l,collapseHeaderPaddingLG:c,collapsePanelBorderRadius:u,lineWidth:f,lineType:d,colorBorder:p,colorText:h,colorTextHeading:m,colorTextDisabled:g,fontSizeLG:y,lineHeight:v,lineHeightLG:b,marginSM:O,paddingSM:w,paddingLG:S,paddingXS:x,motionDurationSlow:E,fontSizeIcon:_,contentPadding:P,fontHeight:T,fontHeightLG:j}=e,C=`${(0,r.unit)(f)} ${d} ${p}`;return{[t]:Object.assign(Object.assign({},(0,o.resetComponent)(e)),{backgroundColor:a,border:C,borderRadius:u,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:C,"&:last-child":{[`\n &,\n & > ${t}-header`]:{borderRadius:`0 0 ${(0,r.unit)(u)} ${(0,r.unit)(u)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:s,color:m,lineHeight:v,cursor:"pointer",transition:`all ${E}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:T,display:"flex",alignItems:"center",paddingInlineEnd:O},[`${t}-arrow`]:Object.assign(Object.assign({},(0,o.resetIcon)()),{fontSize:_,transition:`transform ${E}`,svg:{transition:`transform ${E}`}}),[`${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:h,backgroundColor:n,borderTop:C,[`& > ${t}-content-box`]:{padding:P},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:l,paddingInlineStart:x,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(w).sub(x).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:w}}},"&-large":{[`> ${t}-item`]:{fontSize:y,lineHeight:b,[`> ${t}-header`]:{padding:c,paddingInlineStart:i,[`> ${t}-expand-icon`]:{height:j,marginInlineStart:e.calc(S).sub(i).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:S}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${(0,r.unit)(u)} ${(0,r.unit)(u)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:g,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:O}}}}})}},l=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{[`> ${t}-item > ${t}-header ${t}-arrow`]:{transform:"rotate(180deg)"}}}},c=e=>{const{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:o}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${o}`},[`\n > ${t}-item:last-child,\n > ${t}-item:last-child ${t}-header\n `]:{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}}}},u=e=>{const{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}}}}}},f=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),d=(0,a.genStyleHooks)("Collapse",(e=>{const t=(0,a.mergeToken)(e,{collapseHeaderPaddingSM:`${(0,r.unit)(e.paddingXS)} ${(0,r.unit)(e.paddingSM)}`,collapseHeaderPaddingLG:`${(0,r.unit)(e.padding)} ${(0,r.unit)(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[s(t),c(t),u(t),l(t),(0,i.genCollapseMotion)(t)]}),f)},11616:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AggregationColor:()=>l,getHex:()=>s,toHexFormat:()=>a});var r=n(15671),o=n(43144),i=n(10708);const a=(e,t)=>(null==e?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"",s=(e,t)=>e?a(e,t):"";let l=function(){return(0,o.default)((function e(t){var n;if((0,r.default)(this,e),this.cleared=!1,t instanceof e)return this.metaColor=t.metaColor.clone(),this.colors=null===(n=t.colors)||void 0===n?void 0:n.map((t=>({color:new e(t.color),percent:t.percent}))),void(this.cleared=t.cleared);const 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.Color(this.colors[0].color.metaColor)):this.metaColor=new i.Color(o?"":t),(!t||o&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}),[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return s(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(){const{colors:e}=this;if(e){return`linear-gradient(90deg, ${e.map((e=>`${e.color.toRgbString()} ${e.percent}%`)).join(", ")})`}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)=>{const r=e.colors[n];return t.percent===r.percent&&t.color.equals(r.color)})):this.toHexString()===e.toHexString())}}])}()},71529:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m,isBright:()=>p});var r=n(36198),o=n(10708),i=n(93967),a=n.n(i),s=n(21770),l=n(2335),c=n(94634),u=n(12641),f=n(93766);const d=e=>e.map((e=>(e.colors=e.colors.map(f.generateColor),e))),p=(e,t)=>{const{r:n,g:r,b:i,a}=e.toRgb(),s=new o.Color(e.toRgbString()).onBackground(t).toHsv();return a<=.5?s.v>.5:.299*n+.587*r+.114*i>192},h=e=>{let{label:t}=e;return`panel-${t}`},m=e=>{let{prefixCls:t,presets:n,value:i,onChange:m}=e;const[g]=(0,c.useLocale)("ColorPicker"),[,y]=(0,u.useToken)(),[v]=(0,s.default)(d(n),{value:d(n),postState:d}),b=`${t}-presets`,O=(0,r.useMemo)((()=>v.reduce(((e,t)=>{const{defaultOpen:n=!0}=t;return n&&e.push(h(t)),e}),[])),[v]),w=v.map((e=>{var n;return{key:h(e),label:r.createElement("div",{className:`${b}-label`},null==e?void 0:e.label),children:r.createElement("div",{className:`${b}-items`},Array.isArray(null==e?void 0:e.colors)&&(null===(n=e.colors)||void 0===n?void 0:n.length)>0?e.colors.map(((e,n)=>r.createElement(o.ColorBlock,{key:`preset-${n}-${e.toHexString()}`,color:(0,f.generateColor)(e).toRgbString(),prefixCls:t,className:a()(`${b}-color`,{[`${b}-color-checked`]:e.toHexString()===(null==i?void 0:i.toHexString()),[`${b}-color-bright`]:p(e,y.colorBgElevated)}),onClick:()=>{return t=e,void(null==m||m(t));var t}}))):r.createElement("span",{className:`${b}-empty`},g.presetEmpty))}}));return r.createElement("div",{className:b},r.createElement(l.default,{defaultActiveKey:O,ghost:!0,items:w}))}},93766:(e,t,n)=>{"use strict";n.r(t),n.d(t,{genAlphaColor:()=>c,generateColor:()=>a,getColorAlpha:()=>l,getGradientPercentColor:()=>u,getRoundNumber:()=>s});var r=n(89062),o=n(10708),i=n(11616);const a=e=>e instanceof i.AggregationColor?e:new i.AggregationColor(e),s=e=>Math.round(Number(e||0)),l=e=>s(100*e.toHsb().a),c=(e,t)=>{const n=e.toRgb();if(!n.r&&!n.g&&!n.b){const n=e.toHsb();return n.a=t||1,a(n)}return n.a=t||1,a(n)},u=(e,t)=>{const n=[{percent:0,color:e[0].color}].concat((0,r.default)(e),[{percent:100,color:e[e.length-1].color}]);for(let e=0;e{"use strict";n.r(t),n.d(t,{DisabledContextProvider:()=>i,default:()=>a});var r=n(36198);const o=r.createContext(!1),i=e=>{let{children:t,disabled:n}=e;const i=r.useContext(o);return r.createElement(o.Provider,{value:null!=n?n:i},t)},a=o},69868:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(36198),o=n(93587),i=n(12641);function a(e){const{children:t}=e,[,n]=(0,i.useToken)(),{motion:a}=n,s=r.useRef(!1);return s.current=s.current||!1===a,s.current?r.createElement(o.Provider,{motion:a},t):t}},31435:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});n(36198),n(27288);const r=()=>null},97647:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SizeContextProvider:()=>i,default:()=>a});var r=n(36198);const o=r.createContext(void 0),i=e=>{let{children:t,size:n}=e;const i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},t)},a=o},32925:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getStyle:()=>l,registerTheme:()=>c});var r=n(11305),o=n(41191),i=n(98924),a=n(44958);n(27288);const s=`-ant-${Date.now()}-${Math.random()}`;function l(e,t){const n={},i=(e,t)=>{let n=e.clone();return n=(null==t?void 0:t(n))||n,n.toRgbString()},a=(e,t)=>{const a=new o.TinyColor(e),s=(0,r.generate)(a.toRgbString());n[`${t}-color`]=i(a),n[`${t}-color-disabled`]=s[1],n[`${t}-color-hover`]=s[4],n[`${t}-color-active`]=s[6],n[`${t}-color-outline`]=a.clone().setAlpha(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=s[0],n[`${t}-color-deprecated-border`]=s[2]};if(t.primaryColor){a(t.primaryColor,"primary");const e=new o.TinyColor(t.primaryColor),s=(0,r.generate)(e.toRgbString());s.forEach(((e,t)=>{n[`primary-${t+1}`]=e})),n["primary-color-deprecated-l-35"]=i(e,(e=>e.lighten(35))),n["primary-color-deprecated-l-20"]=i(e,(e=>e.lighten(20))),n["primary-color-deprecated-t-20"]=i(e,(e=>e.tint(20))),n["primary-color-deprecated-t-50"]=i(e,(e=>e.tint(50))),n["primary-color-deprecated-f-12"]=i(e,(e=>e.setAlpha(.12*e.getAlpha())));const l=new o.TinyColor(s[0]);n["primary-color-active-deprecated-f-30"]=i(l,(e=>e.setAlpha(.3*e.getAlpha()))),n["primary-color-active-deprecated-d-02"]=i(l,(e=>e.darken(2)))}t.successColor&&a(t.successColor,"success"),t.warningColor&&a(t.warningColor,"warning"),t.errorColor&&a(t.errorColor,"error"),t.infoColor&&a(t.infoColor,"info");return`\n :root {\n ${Object.keys(n).map((t=>`--${e}-${t}: ${n[t]};`)).join("\n")}\n }\n `.trim()}function c(e,t){const n=l(e,t);(0,i.default)()&&(0,a.updateCSS)(n,`${s}-dynamic-theme`)}},35792:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(12641);const o=e=>{const[,,,,t]=(0,r.useToken)();return t?`${e}-css-var`:""}},95247:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(36198),o=n(98866),i=n(97647);const a=function(){return{componentDisabled:(0,r.useContext)(o.default),componentSize:(0,r.useContext)(i.default)}}},98675:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(36198),o=n(97647);const i=e=>{const t=r.useContext(o.default);return r.useMemo((()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t),[e,t])}},47871:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(56982),o=n(91881),i=n(27288),a=n(12641),s=n(32969);function l(e,t,n){var l;(0,i.devUseWarning)("ConfigProvider");const c=e||{},u=!1!==c.inherit&&t?t:Object.assign(Object.assign({},a.defaultConfig),{hashed:null!==(l=null==t?void 0:t.hashed)&&void 0!==l?l:a.defaultConfig.hashed,cssVar:null==t?void 0:t.cssVar}),f=(0,s.default)();return(0,r.default)((()=>{var r,o;if(!e)return t;const i=Object.assign({},u.components);Object.keys(e.components||{}).forEach((t=>{i[t]=Object.assign(Object.assign({},i[t]),e.components[t])}));const a=`css-var-${f.replace(/:/g,"")}`,s=(null!==(r=c.cssVar)&&void 0!==r?r:u.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==n?void 0:n.prefixCls},"object"==typeof u.cssVar?u.cssVar:{}),"object"==typeof c.cssVar?c.cssVar:{}),{key:"object"==typeof c.cssVar&&(null===(o=c.cssVar)||void 0===o?void 0:o.key)||a});return Object.assign(Object.assign(Object.assign({},u),c),{token:Object.assign(Object.assign({},u.token),c.token),components:i,cssVar:s})}),[c,u],((e,t)=>e.some(((e,n)=>{const r=t[n];return!(0,o.default)(e,r,!0)}))))}},32969:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{default:()=>s});var o=n(36198);const i=Object.assign({},r||(r=n.t(o,2))),{useId:a}=i,s=void 0===a?()=>"":a},49134:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ConfigConsumer:()=>m.ConfigConsumer,ConfigContext:()=>m.ConfigContext,Variants:()=>m.Variants,configConsumerProps:()=>P,default:()=>N,defaultIconPrefixCls:()=>m.defaultIconPrefixCls,defaultPrefixCls:()=>m.defaultPrefixCls,globalConfig:()=>R,warnContext:()=>_});var r=n(36198),o=n(78419),i=n(63017),a=n(56982),s=n(8880),l=n(27288),c=n(37920),u=n(94634),f=n(76745),d=n(40378),p=n(33083),h=n(2790),m=n(25157),g=n(32925),y=n(98866),v=n(95247),b=n(47871),O=n(69868),w=n(31435),S=n(97647),x=n(84305),E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o({getPrefixCls:(e,t)=>t||(e?`${D()}-${e}`:D()),getIconPrefixCls:L,getRootPrefixCls:()=>j||D(),getTheme:()=>k,holderRender:A}),M=e=>{const{children:t,csp:n,autoInsertSpaceInButton:f,alert:g,anchor:v,form:_,locale:P,componentSize:j,direction:C,space:k,splitter:A,virtual:D,dropdownMatchSelectWidth:L,popupMatchSelectWidth:R,popupOverflow:M,legacyLocale:I,parentContext:N,iconPrefixCls:B,theme:$,componentDisabled:F,segmented:z,statistic:Q,spin:V,calendar:U,carousel:G,cascader:W,collapse:H,typography:Z,checkbox:X,descriptions:q,divider:Y,drawer:K,skeleton:J,steps:ee,image:te,layout:ne,list:re,mentions:oe,modal:ie,progress:ae,result:se,slider:le,breadcrumb:ce,menu:ue,pagination:fe,input:de,textArea:pe,empty:he,badge:me,radio:ge,rate:ye,switch:ve,transfer:be,avatar:Oe,message:we,tag:Se,table:xe,card:Ee,tabs:_e,timeline:Pe,timePicker:Te,upload:je,notification:Ce,tree:ke,colorPicker:Ae,datePicker:De,rangePicker:Le,flex:Re,wave:Me,dropdown:Ie,warning:Ne,tour:Be,floatButtonGroup:$e,variant:Fe,inputNumber:ze,treeSelect:Qe}=e,Ve=r.useCallback(((t,n)=>{const{prefixCls:r}=e;if(n)return n;const o=r||N.getPrefixCls("");return t?`${o}-${t}`:o}),[N.getPrefixCls,e.prefixCls]),Ue=B||N.iconPrefixCls||m.defaultIconPrefixCls,Ge=n||N.csp;(0,x.default)(Ue,Ge);const We=(0,b.default)($,N.theme,{prefixCls:Ve("")});const He={csp:Ge,autoInsertSpaceInButton:f,alert:g,anchor:v,locale:P||I,direction:C,space:k,splitter:A,virtual:D,popupMatchSelectWidth:null!=R?R:L,popupOverflow:M,getPrefixCls:Ve,iconPrefixCls:Ue,theme:We,segmented:z,statistic:Q,spin:V,calendar:U,carousel:G,cascader:W,collapse:H,typography:Z,checkbox:X,descriptions:q,divider:Y,drawer:K,skeleton:J,steps:ee,image:te,input:de,textArea:pe,layout:ne,list:re,mentions:oe,modal:ie,progress:ae,result:se,slider:le,breadcrumb:ce,menu:ue,pagination:fe,empty:he,badge:me,radio:ge,rate:ye,switch:ve,transfer:be,avatar:Oe,message:we,tag:Se,table:xe,card:Ee,tabs:_e,timeline:Pe,timePicker:Te,upload:je,notification:Ce,tree:ke,colorPicker:Ae,datePicker:De,rangePicker:Le,flex:Re,wave:Me,dropdown:Ie,warning:Ne,tour:Be,floatButtonGroup:$e,variant:Fe,inputNumber:ze,treeSelect:Qe};const Ze=Object.assign({},N);Object.keys(He).forEach((e=>{void 0!==He[e]&&(Ze[e]=He[e])})),T.forEach((t=>{const n=e[t];n&&(Ze[t]=n)})),void 0!==f&&(Ze.button=Object.assign({autoInsertSpace:f},Ze.button));const Xe=(0,a.default)((()=>Ze),Ze,((e,t)=>{const n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((n=>e[n]!==t[n]))})),qe=r.useMemo((()=>({prefixCls:Ue,csp:Ge})),[Ue,Ge]);let Ye=r.createElement(r.Fragment,null,r.createElement(w.default,{dropdownMatchSelectWidth:L}),t);const Ke=r.useMemo((()=>{var e,t,n,r;return(0,s.merge)((null===(e=d.default.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=Xe.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=Xe.form)||void 0===r?void 0:r.validateMessages)||{},(null==_?void 0:_.validateMessages)||{})}),[Xe,null==_?void 0:_.validateMessages]);Object.keys(Ke).length>0&&(Ye=r.createElement(c.default.Provider,{value:Ke},Ye)),P&&(Ye=r.createElement(u.default,{locale:P,_ANT_MARK__:u.ANT_MARK},Ye)),(Ue||Ge)&&(Ye=r.createElement(i.default.Provider,{value:qe},Ye)),j&&(Ye=r.createElement(S.SizeContextProvider,{size:j},Ye)),Ye=r.createElement(O.default,null,Ye);const Je=r.useMemo((()=>{const e=We||{},{algorithm:t,token:n,components:r,cssVar:i}=e,a=E(e,["algorithm","token","components","cssVar"]),s=t&&(!Array.isArray(t)||t.length>0)?(0,o.createTheme)(t):p.defaultTheme,l={};Object.entries(r||{}).forEach((e=>{let[t,n]=e;const r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=s:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=(0,o.createTheme)(r.algorithm)),delete r.algorithm),l[t]=r}));const c=Object.assign(Object.assign({},h.default),n);return Object.assign(Object.assign({},a),{theme:s,token:c,components:l,override:Object.assign({override:c},l),cssVar:i})}),[We]);return $&&(Ye=r.createElement(p.DesignTokenContext.Provider,{value:Je},Ye)),Xe.warning&&(Ye=r.createElement(l.WarningContext.Provider,{value:Xe.warning},Ye)),void 0!==F&&(Ye=r.createElement(y.DisabledContextProvider,{disabled:F},Ye)),r.createElement(m.ConfigContext.Provider,{value:Xe},Ye)},I=e=>{const t=r.useContext(m.ConfigContext),n=r.useContext(f.default);return r.createElement(M,Object.assign({parentContext:t,legacyLocale:n},e))};I.ConfigContext=m.ConfigContext,I.SizeContext=S.default,I.config=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:o}=e;void 0!==t&&(j=t),void 0!==n&&(C=n),"holderRender"in e&&(A=o),r&&(!function(e){return Object.keys(e).some((e=>e.endsWith("Color")))}(r)?k=r:(0,g.registerTheme)(D(),r))},I.useConfig=v.default,Object.defineProperty(I,"SizeContext",{get:()=>S.default});const N=I},84305:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.useResetIconStyle});var r=n(12641)},9674:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(18758),o=n(42115);const i={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"]},r.default),timePickerLocale:Object.assign({},o.default)}},47974:(e,t,n)=>{"use strict";n.r(t),n.d(t,{List:()=>a.List,default:()=>v,useForm:()=>p.default,useWatch:()=>a.useWatch});var r=n(36198),o=n(93967),i=n.n(o),a=n(6077),s=n(49134),l=n(98866),c=n(35792),u=n(98675),f=n(97647),d=n(65223),p=n(4584),h=(n(85694),n(64390)),m=n(37920),g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const n=r.useContext(l.default),{getPrefixCls:o,direction:y,form:v}=r.useContext(s.ConfigContext),{prefixCls:b,className:O,rootClassName:w,size:S,disabled:x=n,form:E,colon:_,labelAlign:P,labelWrap:T,labelCol:j,wrapperCol:C,hideRequiredMark:k,layout:A="horizontal",scrollToFirstError:D,requiredMark:L,onFinishFailed:R,name:M,style:I,feedbackIcons:N,variant:B}=e,$=g(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),F=(0,u.default)(S),z=r.useContext(m.default);const Q=(0,r.useMemo)((()=>void 0!==L?L:!k&&(!v||void 0===v.requiredMark||v.requiredMark)),[k,L,v]),V=null!=_?_:null==v?void 0:v.colon,U=o("form",b),G=(0,c.default)(U),[W,H,Z]=(0,h.default)(U,G),X=i()(U,`${U}-${A}`,{[`${U}-hide-required-mark`]:!1===Q,[`${U}-rtl`]:"rtl"===y,[`${U}-${F}`]:F},Z,G,H,null==v?void 0:v.className,O,w),[q]=(0,p.default)(E),{__INTERNAL__:Y}=q;Y.name=M;const K=(0,r.useMemo)((()=>({name:M,labelAlign:P,labelCol:j,labelWrap:T,wrapperCol:C,vertical:"vertical"===A,colon:V,requiredMark:Q,itemRef:Y.itemRef,form:q,feedbackIcons:N})),[M,P,j,C,A,V,Q,q,N]),J=r.useRef(null);r.useImperativeHandle(t,(()=>{var e;return Object.assign(Object.assign({},q),{nativeElement:null===(e=J.current)||void 0===e?void 0:e.nativeElement})}));const ee=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=Object.assign(Object.assign({},n),e)),q.scrollToField(t,n),n.focus&&q.focusField(t)}};return W(r.createElement(d.VariantContext.Provider,{value:B},r.createElement(l.DisabledContextProvider,{disabled:x},r.createElement(f.default.Provider,{value:F},r.createElement(d.FormProvider,{validateMessages:z},r.createElement(d.FormContext.Provider,{value:K},r.createElement(a.default,Object.assign({id:M},$,{name:M,onFinishFailed:e=>{if(null==R||R(e),e.errorFields.length){const t=e.errorFields[0].name;if(void 0!==D)return void ee(D,t);v&&void 0!==v.scrollToFirstError&&ee(v.scrollToFirstError,t)}},form:q,ref:J,style:Object.assign(Object.assign({},null==v?void 0:v.style),I),className:X}))))))))};const v=r.forwardRef(y)},65223:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FormContext:()=>a,FormItemInputContext:()=>u,FormItemPrefixContext:()=>c,FormProvider:()=>l,NoFormStyle:()=>f,NoStyleItemContext:()=>s,VariantContext:()=>d});var r=n(36198),o=n(6077),i=n(98423);const a=r.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),s=r.createContext(null),l=e=>{const t=(0,i.default)(e,["prefixCls"]);return r.createElement(o.FormProvider,Object.assign({},t))},c=r.createContext({prefixCls:""}),u=r.createContext({});const f=e=>{let{children:t,status:n,override:o}=e;const i=(0,r.useContext)(u),a=(0,r.useMemo)((()=>{const 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)},d=(0,r.createContext)(void 0)},4584:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(36198),o=n(6077),i=n(34203),a=n(18965),s=n(80993);function l(e){return(0,s.toArray)(e).join("_")}function c(e,t){const n=t.getFieldInstance(e),r=(0,i.getDOM)(n);if(r)return r;const o=(0,s.getFieldId)((0,s.toArray)(e),t.__INTERNAL__.name);return o?document.getElementById(o):void 0}function u(e){const[t]=(0,o.useForm)(),n=r.useRef({}),i=r.useMemo((()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{const r=l(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=c(e,i);n&&(0,a.default)(n,Object.assign({scrollMode:"if-needed",block:"nearest"},t))},focusField:e=>{var t;const n=c(e,i);n&&(null===(t=n.focus)||void 0===t||t.call(n))},getFieldInstance:e=>{const t=l(e);return n.current[t]}})),[e,t]);return[i]}},85694:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(36198),o=n(27288);const i={};function a(e){let{name:t}=e;(0,o.devUseWarning)("Form");(0,r.useEffect)((()=>{if(t)return i[t]=(i[t]||0)+1,()=>{i[t]-=1}}),[t])}},27833:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(36198),o=n(65223),i=n(49134);const a=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;var a,s;const{variant:l,[e]:c}=(0,r.useContext)(i.ConfigContext),u=(0,r.useContext)(o.VariantContext),f=null==c?void 0:c.variant;let d;d=void 0!==t?t:!1===n?"borderless":null!==(s=null!==(a=null!=u?u:f)&&void 0!==a?a:l)&&void 0!==s?s:"outlined";return[d,i.Variants.includes(d)]}},27040:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=e=>{const{componentCls:t}=e,n=`${t}-show-help-item`;return{[`${t}-show-help`]:{transition:`opacity ${e.motionDurationFast} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[n]:{overflow:"hidden",transition:`height ${e.motionDurationFast} ${e.motionEaseInOut},\n opacity ${e.motionDurationFast} ${e.motionEaseInOut},\n transform ${e.motionDurationFast} ${e.motionEaseInOut} !important`,[`&${n}-appear, &${n}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${n}-leave-active`]:{transform:"translateY(-5px)"}}}}}},64390:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>O,prepareComponentToken:()=>v,prepareToken:()=>b});var r=n(78419),o=n(14747),i=n(97229),a=n(12641),s=n(27040);const l=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,r.unit)(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,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,r.unit)(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),c=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},u=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,o.resetComponent)(e)),l(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},c(e,e.controlHeightSM)),"&-large":Object.assign({},c(e,e.controlHeightLG))})}},f=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:a,antCls:s,labelRequiredMarkColor:l,labelColor:c,labelFontSize:u,labelHeight:f,labelColonMarginInlineStart:d,labelColonMarginInlineEnd:p,itemMarginBottom:h}=e;return{[t]:Object.assign(Object.assign({},(0,o.resetComponent)(e)),{marginBottom:h,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,\n &-hidden${s}-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:f,color:c,fontSize:u,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:l,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:d,marginInlineEnd:p},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${a}-col-'"]):not([class*="' ${a}-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:i.zoomIn,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},d=(e,t)=>{const{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"}}}}},p=e=>{const{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 > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},h=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),m=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:h(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},g=e=>{const{componentCls:t,formItemCls:n,antCls:o}=e;return{[`${t}-vertical`]:{[`${n}:not(${n}-horizontal)`]:{[`${n}-row`]:{flexDirection:"column"},[`${n}-label > label`]:{height:"auto"},[`${n}-control`]:{width:"100%"},[`${n}-label,\n ${o}-col-24${n}-label,\n ${o}-col-xl-24${n}-label`]:h(e)}},[`@media (max-width: ${(0,r.unit)(e.screenXSMax)})`]:[m(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${o}-col-xs-24${n}-label`]:h(e)}}}],[`@media (max-width: ${(0,r.unit)(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${o}-col-sm-24${n}-label`]:h(e)}}},[`@media (max-width: ${(0,r.unit)(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${o}-col-md-24${n}-label`]:h(e)}}},[`@media (max-width: ${(0,r.unit)(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${o}-col-lg-24${n}-label`]:h(e)}}}}},y=e=>{const{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 ${n}-col-24${t}-label,\n ${n}-col-xl-24${t}-label`]:h(e),[`@media (max-width: ${(0,r.unit)(e.screenXSMax)})`]:[m(e),{[t]:{[`${n}-col-xs-24${t}-label`]:h(e)}}],[`@media (max-width: ${(0,r.unit)(e.screenSMMax)})`]:{[t]:{[`${n}-col-sm-24${t}-label`]:h(e)}},[`@media (max-width: ${(0,r.unit)(e.screenMDMax)})`]:{[t]:{[`${n}-col-md-24${t}-label`]:h(e)}},[`@media (max-width: ${(0,r.unit)(e.screenLGMax)})`]:{[t]:{[`${n}-col-lg-24${t}-label`]:h(e)}}}},v=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}),b=(e,t)=>(0,a.mergeToken)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),O=(0,a.genStyleHooks)("Form",((e,t)=>{let{rootPrefixCls:n}=t;const r=b(e,n);return[u(r),f(r),(0,s.default)(r),d(r,r.componentCls),d(r,r.formItemCls),p(r),g(r),y(r),(0,i.genCollapseMotion)(r),i.zoomIn]}),v,{order:-1e3})},80993:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getFieldId:()=>a,getStatus:()=>s,toArray:()=>i});const 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;const n=e.join("_");if(t)return`${t}_${n}`;return r.includes(n)?`${o}_${n}`:n}function s(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}},37920:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(36198).createContext)(void 0)},77749:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x,triggerFocus:()=>s.triggerFocus});var r=n(36198),o=n(93967),i=n.n(o),a=n(10584),s=n(87887),l=n(42550),c=n(89942),u=n(78290),f=n(9708),d=(n(27288),n(49134)),p=n(98866),h=n(35792),m=n(98675),g=n(65223),y=n(27833),v=n(4173),b=n(72922),O=n(47673),w=n(57737),S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var n;const{prefixCls:o,bordered:s=!0,status:x,size:E,disabled:_,onBlur:P,onFocus:T,suffix:j,allowClear:C,addonAfter:k,addonBefore:A,className:D,style:L,styles:R,rootClassName:M,onChange:I,classNames:N,variant:B}=e,$=S(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]);const{getPrefixCls:F,direction:z,input:Q}=r.useContext(d.ConfigContext),V=F("input",o),U=(0,r.useRef)(null),G=(0,h.default)(V),[W,H,Z]=(0,O.default)(V,G),{compactSize:X,compactItemClassnames:q}=(0,v.useCompactItemContext)(V,z),Y=(0,m.default)((e=>{var t;return null!==(t=null!=E?E:X)&&void 0!==t?t:e})),K=r.useContext(p.default),J=null!=_?_:K,{status:ee,hasFeedback:te,feedbackIcon:ne}=(0,r.useContext)(g.FormItemInputContext),re=(0,f.getMergedStatus)(ee,x),oe=(0,w.hasPrefixSuffix)(e)||!!te;(0,r.useRef)(oe);const ie=(0,b.default)(U,!0),ae=(te||j)&&r.createElement(r.Fragment,null,j,te&&ne),se=(0,u.default)(null!=C?C:null==Q?void 0:Q.allowClear),[le,ce]=(0,y.default)("input",B,s);return W(r.createElement(a.default,Object.assign({ref:(0,l.composeRef)(t,U),prefixCls:V,autoComplete:null==Q?void 0:Q.autoComplete},$,{disabled:J,onBlur:e=>{ie(),null==P||P(e)},onFocus:e=>{ie(),null==T||T(e)},style:Object.assign(Object.assign({},null==Q?void 0:Q.style),L),styles:Object.assign(Object.assign({},null==Q?void 0:Q.styles),R),suffix:ae,allowClear:se,className:i()(D,M,Z,G,q,null==Q?void 0:Q.className),onChange:e=>{ie(),null==I||I(e)},addonBefore:A&&r.createElement(c.default,{form:!0,space:!0},A),addonAfter:k&&r.createElement(c.default,{form:!0,space:!0},k),classNames:Object.assign(Object.assign(Object.assign({},N),null==Q?void 0:Q.classNames),{input:i()({[`${V}-sm`]:"small"===Y,[`${V}-lg`]:"large"===Y,[`${V}-rtl`]:"rtl"===z},null==N?void 0:N.input,null===(n=null==Q?void 0:Q.classNames)||void 0===n?void 0:n.input,H),variant:i()({[`${V}-${le}`]:ce},(0,f.getStatusClassNames)(V,re)),affixWrapper:i()({[`${V}-affix-wrapper-sm`]:"small"===Y,[`${V}-affix-wrapper-lg`]:"large"===Y,[`${V}-affix-wrapper-rtl`]:"rtl"===z},H),wrapper:i()({[`${V}-group-rtl`]:"rtl"===z},H),groupWrapper:i()({[`${V}-group-wrapper-sm`]:"small"===Y,[`${V}-group-wrapper-lg`]:"large"===Y,[`${V}-group-wrapper-rtl`]:"rtl"===z,[`${V}-group-wrapper-${le}`]:ce},(0,f.getStatusClassNames)(`${V}-group-wrapper`,re,te),H)})})))}))},53988:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(36198),o=n(40110),i=n(93967),a=n.n(i),s=n(42550),l=n(96159),c=n(71577),u=n(49134),f=n(98675),d=n(4173),p=n(77749),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,inputPrefixCls:i,className:m,size:g,suffix:y,enterButton:v=!1,addonAfter:b,loading:O,disabled:w,onSearch:S,onChange:x,onCompositionStart:E,onCompositionEnd:_}=e,P=h(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:T,direction:j}=r.useContext(u.ConfigContext),C=r.useRef(!1),k=T("input-search",n),A=T("input",i),{compactSize:D}=(0,d.useCompactItemContext)(k,j),L=(0,f.default)((e=>{var t;return null!==(t=null!=g?g:D)&&void 0!==t?t:e})),R=r.useRef(null),M=e=>{var t;document.activeElement===(null===(t=R.current)||void 0===t?void 0:t.input)&&e.preventDefault()},I=e=>{var t,n;S&&S(null===(n=null===(t=R.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e,{source:"input"})},N="boolean"==typeof v?r.createElement(o.default,null):null,B=`${k}-button`;let $;const F=v||{},z=F.type&&!0===F.type.__ANT_BUTTON;$=z||"button"===F.type?(0,l.cloneElement)(F,Object.assign({onMouseDown:M,onClick:e=>{var t,n;null===(n=null===(t=null==F?void 0:F.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),I(e)},key:"enterButton"},z?{className:B,size:L}:{})):r.createElement(c.default,{className:B,type:v?"primary":void 0,size:L,disabled:w,key:"enterButton",onMouseDown:M,onClick:I,loading:O,icon:N},v),b&&($=[$,(0,l.cloneElement)(b,{key:"addonAfter"})]);const Q=a()(k,{[`${k}-rtl`]:"rtl"===j,[`${k}-${L}`]:!!L,[`${k}-with-button`]:!!v},m);return r.createElement(p.default,Object.assign({ref:(0,s.composeRef)(R,t),onPressEnter:e=>{C.current||O||I(e)}},P,{size:L,onCompositionStart:e=>{C.current=!0,null==E||E(e)},onCompositionEnd:e=>{C.current=!1,null==_||_(e)},prefixCls:A,addonAfter:$,suffix:y,onChange:e=>{(null==e?void 0:e.target)&&"click"===e.type&&S&&S(e.target.value,e,{source:"clear"}),null==x||x(e)},className:Q,disabled:w}))}))},96330:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(36198),o=n(93967),i=n.n(o),a=n(11682),s=n(78290),l=n(9708),c=(n(27288),n(49134)),u=n(98866),f=n(35792),d=n(98675),p=n(65223),h=n(27833),m=n(77749),g=n(47673),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var n,o;const{prefixCls:v,bordered:b=!0,size:O,disabled:w,status:S,allowClear:x,classNames:E,rootClassName:_,className:P,style:T,styles:j,variant:C}=e,k=y(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]);const{getPrefixCls:A,direction:D,textArea:L}=r.useContext(c.ConfigContext),R=(0,d.default)(O),M=r.useContext(u.default),I=null!=w?w:M,{status:N,hasFeedback:B,feedbackIcon:$}=r.useContext(p.FormItemInputContext),F=(0,l.getMergedStatus)(N,S),z=r.useRef(null);r.useImperativeHandle(t,(()=>{var e;return{resizableTextArea:null===(e=z.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,n;(0,m.triggerFocus)(null===(n=null===(t=z.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:()=>{var e;return null===(e=z.current)||void 0===e?void 0:e.blur()}}}));const Q=A("input",v),V=(0,f.default)(Q),[U,G,W]=(0,g.default)(Q,V),[H,Z]=(0,h.default)("textArea",C,b),X=(0,s.default)(null!=x?x:null==L?void 0:L.allowClear);return U(r.createElement(a.default,Object.assign({autoComplete:null==L?void 0:L.autoComplete},k,{style:Object.assign(Object.assign({},null==L?void 0:L.style),T),styles:Object.assign(Object.assign({},null==L?void 0:L.styles),j),disabled:I,allowClear:X,className:i()(W,V,P,_,null==L?void 0:L.className),classNames:Object.assign(Object.assign(Object.assign({},E),null==L?void 0:L.classNames),{textarea:i()({[`${Q}-sm`]:"small"===R,[`${Q}-lg`]:"large"===R},G,null==E?void 0:E.textarea,null===(n=null==L?void 0:L.classNames)||void 0===n?void 0:n.textarea),variant:i()({[`${Q}-${H}`]:Z},(0,l.getStatusClassNames)(Q,F)),affixWrapper:i()(`${Q}-textarea-affix-wrapper`,{[`${Q}-affix-wrapper-rtl`]:"rtl"===D,[`${Q}-affix-wrapper-sm`]:"small"===R,[`${Q}-affix-wrapper-lg`]:"large"===R,[`${Q}-textarea-show-count`]:e.showCount||(null===(o=e.count)||void 0===o?void 0:o.show)},G)}),prefixCls:Q,suffix:B&&r.createElement("span",{className:`${Q}-textarea-suffix`},$),ref:z})))}))},72922:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(36198);function o(e,t){const n=(0,r.useRef)([]),o=()=>{n.current.push(setTimeout((()=>{var t,n,r,o;(null===(t=e.current)||void 0===t?void 0:t.input)&&"password"===(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(o=e.current)||void 0===o||o.input.removeAttribute("value"))})))};return(0,r.useEffect)((()=>(t&&o(),()=>n.current.forEach((e=>{e&&clearTimeout(e)})))),[]),o}},47673:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S,genActiveStyle:()=>u,genBasicInputStyle:()=>p,genInputGroupStyle:()=>h,genInputSmallStyle:()=>d,genPlaceholderStyle:()=>c,initComponentToken:()=>s.initComponentToken,initInputToken:()=>s.initInputToken});var r=n(78419),o=n(14747),i=n(80110),a=n(12641),s=n(20353),l=n(93900);const c=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),u=e=>({borderColor:e.activeBorderColor,boxShadow:e.activeShadow,outline:0,backgroundColor:e.activeBg}),f=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:o,paddingInlineLG:i}=e;return{padding:`${(0,r.unit)(t)} ${(0,r.unit)(i)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:o}},d=e=>({padding:`${(0,r.unit)(e.paddingBlockSM)} ${(0,r.unit)(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),p=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,r.unit)(e.paddingBlock)} ${(0,r.unit)(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},c(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({},f(e)),"&-sm":Object.assign({},d(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),h=e=>{const{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({},f(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},d(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.unit)(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.unit)(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${(0,r.unit)(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.unit)(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${n}-cascader-picker`]:{margin:`-9px ${(0,r.unit)(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.clearFix)()),{[`${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},[`\n & > ${t}-affix-wrapper,\n & > ${t}-number-affix-wrapper,\n & > ${n}-picker-range\n `]:{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 & > ${n}-select-auto-complete ${t},\n & > ${n}-cascader-picker ${t},\n & > ${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 & > ${n}-select:first-child > ${n}-select-selector,\n & > ${n}-select-auto-complete:first-child ${t},\n & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,\n & > ${n}-select:last-child > ${n}-select-selector,\n & > ${n}-cascader-picker:last-child ${t},\n & > ${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=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:i}=e,a=i(n).sub(i(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,o.resetComponent)(e)),p(e)),(0,l.genOutlinedStyle)(e)),(0,l.genFilledStyle)(e)),(0,l.genBorderlessStyle)(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},g=e=>{const{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.unit)(e.inputAffixPadding)}`}}}},y=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:s}=e,l=`${t}-affix-wrapper-disabled`;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},p(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)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}}),[l]:{[`${s}${t}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},v=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},(0,o.resetComponent)(e)),h(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,l.genOutlinedGroupStyle)(e)),(0,l.genFilledGroupStyle)(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}}})})}},b=e=>{const{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,paddingTop:0,paddingBottom:0,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,\n > ${t},\n ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},O=e=>{const{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"}},[`\n &-allow-clear > ${t},\n &-affix-wrapper${r}-has-feedback ${t}\n `]:{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}}}}}},w=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},S=(0,a.genStyleHooks)("Input",(e=>{const t=(0,a.mergeToken)(e,(0,s.initInputToken)(e));return[m(t),O(t),y(t),v(t),b(t),w(t),(0,i.genCompactItemStyle)(t)]}),s.initComponentToken,{resetFont:!1})},20353:(e,t,n)=>{"use strict";n.r(t),n.d(t,{initComponentToken:()=>i,initInputToken:()=>o});var r=n(12641);function o(e){return(0,r.mergeToken)(e,{inputAffixPadding:e.paddingXXS})}const i=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:o,controlHeightSM:i,controlHeightLG:a,fontSizeLG:s,lineHeightLG:l,paddingSM:c,controlPaddingHorizontalSM:u,controlPaddingHorizontal:f,colorFillAlter:d,colorPrimaryHover:p,colorPrimary:h,controlOutlineWidth:m,controlOutline:g,colorErrorOutline:y,colorWarningOutline:v,colorBgContainer:b}=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-s*l)/2*10)/10-o,paddingInline:c-o,paddingInlineSM:u-o,paddingInlineLG:f-o,addonBg:d,activeBorderColor:h,hoverBorderColor:p,activeShadow:`0 0 0 ${m}px ${g}`,errorActiveShadow:`0 0 0 ${m}px ${y}`,warningActiveShadow:`0 0 0 ${m}px ${v}`,hoverBg:b,activeBg:b,inputFontSize:n,inputFontSizeLG:s,inputFontSizeSM:n}}},93900:(e,t,n)=>{"use strict";n.r(t),n.d(t,{genBaseOutlinedStyle:()=>s,genBorderlessStyle:()=>d,genDisabledStyle:()=>a,genFilledGroupStyle:()=>y,genFilledStyle:()=>m,genHoverStyle:()=>i,genOutlinedGroupStyle:()=>f,genOutlinedStyle:()=>c});var r=n(78419),o=n(12641);const 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.mergeToken)(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),s=(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}}),l=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},s(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({},s(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),l(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),l(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}}}),f=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${(0,r.unit)(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))}})}),d=(e,t)=>{const{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)}},p=(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}}),h=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},p(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({},p(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),h(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),h(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}}}),y=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.unit)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,r.unit)(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.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,r.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,r.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,r.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,r.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,r.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})})},57737:(e,t,n)=>{"use strict";function r(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}n.r(t),n.d(t,{hasPrefixSuffix:()=>r})},76745:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(36198).createContext)(void 0)},40378:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(62906),o=n(74228),i=n(9674),a=n(42115);const s="${label} is not a valid ${type}",l={locale:"en",Pagination:r.default,DatePicker:i.default,TimePicker:a.default,Calendar:o.default,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:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},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"}}},94634:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ANT_MARK:()=>s,default:()=>l,useLocale:()=>a.default});var r=n(36198),o=(n(27288),n(83008)),i=n(76745),a=n(10110);const s="internalMark";const l=e=>{const{locale:t={},children:n,_ANT_MARK__:a}=e;r.useEffect((()=>(0,o.changeConfirmLocale)(null==t?void 0:t.Modal)),[t]);const s=r.useMemo((()=>Object.assign(Object.assign({},t),{exist:!0})),[t]);return r.createElement(i.default.Provider,{value:s},n)}},10110:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(36198),o=n(76745),i=n(40378);const a=(e,t)=>{const n=r.useContext(o.default);return[r.useMemo((()=>{var r;const o=t||i.default[e],a=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),a||{})}),[e,t,n]),r.useMemo((()=>{const e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?i.default.locale:e}),[n])]}},83008:(e,t,n)=>{"use strict";n.r(t),n.d(t,{changeConfirmLocale:()=>s,getConfirmLocale:()=>l});var r=n(40378);let o=Object.assign({},r.default.Modal),i=[];const a=()=>i.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),r.default.Modal);function s(e){if(e){const t=Object.assign({},e);return i.push(t),o=a(),()=>{i=i.filter((e=>e!==t)),o=a()}}o=Object.assign({},r.default.Modal)}function l(){return o}},4173:(e,t,n)=>{"use strict";n.r(t),n.d(t,{NoCompactStyle:()=>p,SpaceCompactItemContext:()=>f,default:()=>m,useCompactItemContext:()=>d});var r=n(36198),o=n(93967),i=n.n(o),a=n(50344),s=n(49134),l=n(98675),c=n(49111),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const n=r.useContext(f),o=r.useMemo((()=>{if(!n)return"";const{compactDirection:r,isFirstItem:o,isLastItem:a}=n,s="vertical"===r?"-vertical-":"-";return i()(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:o,[`${e}-compact${s}last-item`]:a,[`${e}-compact${s}item-rtl`]:"rtl"===t})}),[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:o}},p=e=>{let{children:t}=e;return r.createElement(f.Provider,{value:null},t)},h=e=>{var{children:t}=e,n=u(e,["children"]);return r.createElement(f.Provider,{value:n},t)},m=e=>{const{getPrefixCls:t,direction:n}=r.useContext(s.ConfigContext),{size:o,direction:d,block:p,prefixCls:m,className:g,rootClassName:y,children:v}=e,b=u(e,["size","direction","block","prefixCls","className","rootClassName","children"]),O=(0,l.default)((e=>null!=o?o:e)),w=t("space-compact",m),[S,x]=(0,c.default)(w),E=i()(w,x,{[`${w}-rtl`]:"rtl"===n,[`${w}-block`]:p,[`${w}-vertical`]:"vertical"===d},g,y),_=r.useContext(f),P=(0,a.default)(v),T=r.useMemo((()=>P.map(((e,t)=>{const n=(null==e?void 0:e.key)||`${w}-item-${t}`;return r.createElement(h,{key:n,compactSize:O,compactDirection:d,isFirstItem:0===t&&(!_||(null==_?void 0:_.isFirstItem)),isLastItem:t===P.length-1&&(!_||(null==_?void 0:_.isLastItem))},e)}))),[o,P,_]);return 0===P.length?null:S(r.createElement("div",Object.assign({className:E},b),T))}},66564:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}}},49111:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l,prepareComponentToken:()=>s});var r=n(12641),o=n(66564);const i=e=>{const{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"}}}},a=e=>{const{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=()=>({}),l=(0,r.genStyleHooks)("Space",(e=>{const t=(0,r.mergeToken)(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[i(t),a(t),(0,o.default)(t)]}),(()=>({})),{resetStyle:!1})},54228:(e,t,n)=>{"use strict";function r(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 o(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},r(e,t)),(n=e.componentCls,o=t,{[`&-item:not(${o}-first-item):not(${o}-last-item)`]:{borderRadius:0},[`&-item${o}-first-item:not(${o}-last-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${o}-last-item:not(${o}-first-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))};var n,o}n.r(t),n.d(t,{genCompactItemVerticalStyle:()=>o})},80110:(e,t,n)=>{"use strict";function r(e,t,n){const{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",s=["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({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function o(e,t,n){const{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};const{componentCls:n}=e,i=`${n}-compact`;return{[i]:Object.assign(Object.assign({},r(e,i,t)),o(n,i,t))}}n.r(t),n.d(t,{genCompactItemStyle:()=>i})},14747:(e,t,n)=>{"use strict";n.r(t),n.d(t,{clearFix:()=>s,genCommonStyle:()=>c,genFocusOutline:()=>u,genFocusStyle:()=>f,genLinkStyle:()=>l,operationUnit:()=>d,resetComponent:()=>i,resetIcon:()=>a,textEllipsis:()=>o});var r=n(78419);const 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"}}),s=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),l=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)=>{const o=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return!1!==r&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},s),a),{[o]:a})}},u=e=>({outline:`${(0,r.unit)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),f=e=>({"&:focus-visible":Object.assign({},u(e))}),d=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"},f(e)),{"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}})},33507:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},16932:(e,t,n)=>{"use strict";n.r(t),n.d(t,{fadeIn:()=>i,fadeOut:()=>a,initFadeMotion:()=>s});var r=n(78419),o=n(93590);const i=new r.Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),a=new r.Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),s=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{antCls:n}=e,r=`${n}-fade`,s=t?"&":"";return[(0,o.initMotion)(r,i,a,e.motionDurationMid,t),{[`\n ${s}${r}-enter,\n ${s}${r}-appear\n `]:{opacity:0,animationTimingFunction:"linear"},[`${s}${r}-leave`]:{animationTimingFunction:"linear"}}]}},97229:(e,t,n)=>{"use strict";n.r(t),n.d(t,{fadeIn:()=>o.fadeIn,fadeOut:()=>o.fadeOut,genCollapseMotion:()=>r.default,initFadeMotion:()=>o.initFadeMotion,initMoveMotion:()=>i.initMoveMotion,initSlideMotion:()=>a.initSlideMotion,initZoomMotion:()=>s.initZoomMotion,moveDownIn:()=>i.moveDownIn,moveDownOut:()=>i.moveDownOut,moveLeftIn:()=>i.moveLeftIn,moveLeftOut:()=>i.moveLeftOut,moveRightIn:()=>i.moveRightIn,moveRightOut:()=>i.moveRightOut,moveUpIn:()=>i.moveUpIn,moveUpOut:()=>i.moveUpOut,slideDownIn:()=>a.slideDownIn,slideDownOut:()=>a.slideDownOut,slideLeftIn:()=>a.slideLeftIn,slideLeftOut:()=>a.slideLeftOut,slideRightIn:()=>a.slideRightIn,slideRightOut:()=>a.slideRightOut,slideUpIn:()=>a.slideUpIn,slideUpOut:()=>a.slideUpOut,zoomBigIn:()=>s.zoomBigIn,zoomBigOut:()=>s.zoomBigOut,zoomDownIn:()=>s.zoomDownIn,zoomDownOut:()=>s.zoomDownOut,zoomIn:()=>s.zoomIn,zoomLeftIn:()=>s.zoomLeftIn,zoomLeftOut:()=>s.zoomLeftOut,zoomOut:()=>s.zoomOut,zoomRightIn:()=>s.zoomRightIn,zoomRightOut:()=>s.zoomRightOut,zoomUpIn:()=>s.zoomUpIn,zoomUpOut:()=>s.zoomUpOut});var r=n(33507),o=n(16932),i=n(33297),a=n(67771),s=n(50438)},93590:(e,t,n)=>{"use strict";n.r(t),n.d(t,{initMotion:()=>i});const r=e=>({animationDuration:e,animationFillMode:"both"}),o=e=>({animationDuration:e,animationFillMode:"both"}),i=function(e,t,n,i){const a=arguments.length>4&&void 0!==arguments[4]&&arguments[4]?"&":"";return{[`\n ${a}${e}-enter,\n ${a}${e}-appear\n `]:Object.assign(Object.assign({},r(i)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},o(i)),{animationPlayState:"paused"}),[`\n ${a}${e}-enter${e}-enter-active,\n ${a}${e}-appear${e}-appear-active\n `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}}},33297:(e,t,n)=>{"use strict";n.r(t),n.d(t,{initMoveMotion:()=>h,moveDownIn:()=>i,moveDownOut:()=>a,moveLeftIn:()=>s,moveLeftOut:()=>l,moveRightIn:()=>c,moveRightOut:()=>u,moveUpIn:()=>f,moveUpOut:()=>d});var r=n(78419),o=n(93590);const i=new r.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a=new r.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),s=new r.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new r.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),c=new r.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),u=new r.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),f=new r.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new r.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),p={"move-up":{inKeyframes:f,outKeyframes:d},"move-down":{inKeyframes:i,outKeyframes:a},"move-left":{inKeyframes:s,outKeyframes:l},"move-right":{inKeyframes:c,outKeyframes:u}},h=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=p[t];return[(0,o.initMotion)(r,i,a,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},67771:(e,t,n)=>{"use strict";n.r(t),n.d(t,{initSlideMotion:()=>h,slideDownIn:()=>s,slideDownOut:()=>l,slideLeftIn:()=>c,slideLeftOut:()=>u,slideRightIn:()=>f,slideRightOut:()=>d,slideUpIn:()=>i,slideUpOut:()=>a});var r=n(78419),o=n(93590);const i=new r.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a=new r.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),s=new r.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),l=new r.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),c=new r.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),u=new r.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),f=new r.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),d=new r.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),p={"slide-up":{inKeyframes:i,outKeyframes:a},"slide-down":{inKeyframes:s,outKeyframes:l},"slide-left":{inKeyframes:c,outKeyframes:u},"slide-right":{inKeyframes:f,outKeyframes:d}},h=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=p[t];return[(0,o.initMotion)(r,i,a,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}},50438:(e,t,n)=>{"use strict";n.r(t),n.d(t,{initZoomMotion:()=>v,zoomBigIn:()=>s,zoomBigOut:()=>l,zoomDownIn:()=>m,zoomDownOut:()=>g,zoomIn:()=>i,zoomLeftIn:()=>f,zoomLeftOut:()=>d,zoomOut:()=>a,zoomRightIn:()=>p,zoomRightOut:()=>h,zoomUpIn:()=>c,zoomUpOut:()=>u});var r=n(78419),o=n(93590);const i=new r.Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),a=new r.Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),s=new r.Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),l=new r.Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),c=new r.Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),u=new r.Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),f=new r.Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),d=new r.Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),p=new r.Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),h=new r.Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),m=new r.Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),g=new r.Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),y={zoom:{inKeyframes:i,outKeyframes:a},"zoom-big":{inKeyframes:s,outKeyframes:l},"zoom-big-fast":{inKeyframes:s,outKeyframes:l},"zoom-left":{inKeyframes:f,outKeyframes:d},"zoom-right":{inKeyframes:p,outKeyframes:h},"zoom-up":{inKeyframes:c,outKeyframes:u},"zoom-down":{inKeyframes:m,outKeyframes:g}},v=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=y[t];return[(0,o.initMotion)(r,i,a,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},33083:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DesignTokenContext:()=>c,defaultConfig:()=>l,defaultTheme:()=>s});var r=n(36198),o=n(78419),i=n(5767),a=n(2790);const s=(0,o.createTheme)(i.default),l={token:a.default,override:{override:a.default},hashed:!0},c=r.createContext(l)},33363:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PresetColors:()=>r.PresetColors});var r=n(8796)},8796:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PresetColors:()=>r});const r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},12641:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DesignTokenContext:()=>f.DesignTokenContext,PresetColors:()=>i.PresetColors,calc:()=>o.genCalc,defaultConfig:()=>f.defaultConfig,genComponentStyleHook:()=>l.genComponentStyleHook,genPresetColor:()=>c.default,genStyleHooks:()=>l.genStyleHooks,genSubStyleComponent:()=>l.genSubStyleComponent,getLineHeight:()=>a.getLineHeight,mergeToken:()=>o.mergeToken,statistic:()=>o.statistic,statisticToken:()=>o.statisticToken,useResetIconStyle:()=>u.default,useStyleRegister:()=>r.useStyleRegister,useToken:()=>s.default});var r=n(78419),o=n(90506),i=n(33363),a=n(51734),s=n(29691),l=n(83559),c=n(98719),u=n(53269),f=n(33083)},1162:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getAlphaColor:()=>o,getSolidColor:()=>i});var r=n(41191);const o=(e,t)=>new r.TinyColor(e).setAlpha(t).toRgbString(),i=(e,t)=>new r.TinyColor(e).darken(t).toHexString()},5632:(e,t,n)=>{"use strict";n.r(t),n.d(t,{generateColorPalettes:()=>i,generateNeutralColorPalettes:()=>a});var r=n(11305),o=n(1162);const i=e=>{const t=(0,r.generate)(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]}},a=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:(0,o.getAlphaColor)(r,.88),colorTextSecondary:(0,o.getAlphaColor)(r,.65),colorTextTertiary:(0,o.getAlphaColor)(r,.45),colorTextQuaternary:(0,o.getAlphaColor)(r,.25),colorFill:(0,o.getAlphaColor)(r,.15),colorFillSecondary:(0,o.getAlphaColor)(r,.06),colorFillTertiary:(0,o.getAlphaColor)(r,.04),colorFillQuaternary:(0,o.getAlphaColor)(r,.02),colorBgSolid:(0,o.getAlphaColor)(r,1),colorBgSolidHover:(0,o.getAlphaColor)(r,.75),colorBgSolidActive:(0,o.getAlphaColor)(r,.95),colorBgLayout:(0,o.getSolidColor)(n,4),colorBgContainer:(0,o.getSolidColor)(n,0),colorBgElevated:(0,o.getSolidColor)(n,0),colorBgSpotlight:(0,o.getAlphaColor)(r,.85),colorBgBlur:"transparent",colorBorder:(0,o.getSolidColor)(n,15),colorBorderSecondary:(0,o.getSolidColor)(n,6)}}},5767:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(11305),o=n(2790),i=n(57),a=n(4451),s=n(372),l=n(69594),c=n(61268),u=n(5632);function f(e){r.presetPrimaryColors.pink=r.presetPrimaryColors.magenta,r.presetPalettes.pink=r.presetPalettes.magenta;const t=Object.keys(o.defaultPresetColors).map((t=>{const n=e[t]===r.presetPrimaryColors[t]?r.presetPalettes[t]:(0,r.generate)(e[t]);return new 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.default)(e,{generateColorPalettes:u.generateColorPalettes,generateNeutralColorPalettes:u.generateNeutralColorPalettes})),(0,l.default)(e.fontSize)),(0,c.default)(e)),(0,s.default)(e)),(0,a.default)(e))}},2790:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o,defaultPresetColors:()=>r});const 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,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'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:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(41191);function o(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:o}=t;const{colorSuccess:i,colorWarning:a,colorError:s,colorInfo:l,colorPrimary:c,colorBgBase:u,colorTextBase:f}=e,d=n(c),p=n(i),h=n(a),m=n(s),g=n(l),y=o(u,f),v=n(e.colorLink||e.colorInfo),b=new r.TinyColor(m[1]).mix(new r.TinyColor(m[3]),50).toHexString();return Object.assign(Object.assign({},y),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgFilledHover:b,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:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[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:v[4],colorLink:v[6],colorLinkActive:v[7],colorBgMask:new r.TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}},4451:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(25282);function o(e){const{motionUnit:t,motionBase:n,borderRadius:o,lineWidth:i}=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:i+1},(0,r.default)(o))}},372:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=e=>{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}},69594:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(51734);const o=e=>{const t=(0,r.default)(e),n=t.map((e=>e.size)),o=t.map((e=>e.lineHeight)),i=n[1],a=n[0],s=n[2],l=o[1],c=o[0],u=o[2];return{fontSizeSM:a,fontSize:i,fontSizeLG:s,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:l,lineHeightLG:u,lineHeightSM:c,fontHeight:Math.round(l*i),fontHeightLG:Math.round(u*s),fontHeightSM:Math.round(c*a),lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}}},51734:(e,t,n)=>{"use strict";function r(e){return(e+8)/e}function o(e){const t=new Array(10).fill(null).map(((t,n)=>{const r=n-1,o=e*Math.pow(Math.E,r/5),i=n>1?Math.floor(o):Math.ceil(o);return 2*Math.floor(i/2)}));return t[1]=e,t.map((e=>({size:e,lineHeight:r(e)})))}n.r(t),n.d(t,{default:()=>o,getLineHeight:()=>r})},25282:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=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}}},61268:(e,t,n)=>{"use strict";function r(e){const{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)}}n.r(t),n.d(t,{default:()=>r})},29691:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h,getComputedToken:()=>p,ignore:()=>f,unitless:()=>u});var r=n(36198),o=n(78419),i=n(28293),a=n(33083),s=n(2790),l=n(92372),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const r=n.getDerivativeToken(e),{override:o}=t,i=c(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=(0,l.default)(a),i&&Object.entries(i).forEach((e=>{let[t,n]=e;const{theme:r}=n,o=c(n,["theme"]);let i=o;r&&(i=p(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i})),a};function h(){const{token:e,hashed:t,theme:n,override:c,cssVar:h}=r.useContext(a.DesignTokenContext),m=`${i.default}-${t||""}`,g=n||a.defaultTheme,[y,v,b]=(0,o.useCacheToken)(g,[s.default,e],{salt:m,override:c,getComputedToken:p,formatToken:l.default,cssVar:h&&{prefix:h.prefix,key:h.key,unitless:u,ignore:f,preserve:d}});return[g,b,t?v:"",y,h]}},92372:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(41191),o=n(2790),i=n(42642),a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{delete s[e]}));const l=Object.assign(Object.assign({},n),s),c=1200,u=1600;if(!1===l.motion){const e="0s";l.motionDurationFast=e,l.motionDurationMid=e,l.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},l),{colorFillContent:l.colorFillSecondary,colorFillContentHover:l.colorFill,colorFillAlter:l.colorFillQuaternary,colorBgContainerDisabled:l.colorFillTertiary,colorBorderBg:l.colorBgContainer,colorSplit:(0,i.default)(l.colorBorderSecondary,l.colorBgContainer),colorTextPlaceholder:l.colorTextQuaternary,colorTextDisabled:l.colorTextQuaternary,colorTextHeading:l.colorText,colorTextLabel:l.colorTextSecondary,colorTextDescription:l.colorTextTertiary,colorTextLightSolid:l.colorWhite,colorHighlight:l.colorError,colorBgTextHover:l.colorFillSecondary,colorBgTextActive:l.colorFill,colorIcon:l.colorTextTertiary,colorIconHover:l.colorText,colorErrorOutline:(0,i.default)(l.colorErrorBg,l.colorBgContainer),colorWarningOutline:(0,i.default)(l.colorWarningBg,l.colorBgContainer),fontSizeIcon:l.fontSizeSM,lineWidthFocus:3*l.lineWidth,lineWidth:l.lineWidth,controlOutlineWidth:2*l.lineWidth,controlInteractiveSize:l.controlHeight/2,controlItemBgHover:l.colorFillTertiary,controlItemBgActive:l.colorPrimaryBg,controlItemBgActiveHover:l.colorPrimaryBgHover,controlItemBgActiveDisabled:l.colorFill,controlTmpOutline:l.colorFillQuaternary,controlOutline:(0,i.default)(l.colorPrimaryBg,l.colorBgContainer),lineType:l.lineType,borderRadius:l.borderRadius,borderRadiusXS:l.borderRadiusXS,borderRadiusSM:l.borderRadiusSM,borderRadiusLG:l.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:l.sizeXXS,paddingXS:l.sizeXS,paddingSM:l.sizeSM,padding:l.size,paddingMD:l.sizeMD,paddingLG:l.sizeLG,paddingXL:l.sizeXL,paddingContentHorizontalLG:l.sizeLG,paddingContentVerticalLG:l.sizeMS,paddingContentHorizontal:l.sizeMS,paddingContentVertical:l.sizeSM,paddingContentHorizontalSM:l.size,paddingContentVerticalSM:l.sizeXS,marginXXS:l.sizeXXS,marginXS:l.sizeXS,marginSM:l.sizeSM,margin:l.size,marginMD:l.sizeMD,marginLG:l.sizeLG,marginXL:l.sizeXL,marginXXL:l.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:c,screenXLMin:c,screenXLMax:1599,screenXXL:u,screenXXLMin:u,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new r.TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new r.TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new r.TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",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)"}),s)}},98719:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(33363);function o(e,t){return r.PresetColors.reduce(((n,r)=>{const o=e[`${r}1`],i=e[`${r}3`],a=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:s}))}),{})}},83559:(e,t,n)=>{"use strict";n.r(t),n.d(t,{genComponentStyleHook:()=>u,genStyleHooks:()=>c,genSubStyleComponent:()=>f});var r=n(36198),o=n(90506),i=n(25157),a=n(14747),s=n(29691),l=n(53269);const{genStyleHooks:c,genComponentStyleHook:u,genSubStyleComponent:f}=(0,o.genStyleUtils)({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=(0,r.useContext)(i.ConfigContext);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,o]=(0,s.default)();return{theme:e,realToken:t,hashId:n,token:r,cssVar:o}},useCSP:()=>{const{csp:e,iconPrefixCls:t}=(0,r.useContext)(i.ConfigContext);return(0,l.default)(t,e),null!=e?e:{}},getResetStyles:e=>[{"&":(0,a.genLinkStyle)(e)}],getCommonStyle:a.genCommonStyle,getCompUnitless:()=>s.unitless})},42642:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(41191);function o(e){return e>=0&&e<=255}const i=function(e,t){const{r:n,g:i,b:a,a:s}=new r.TinyColor(e).toRgb();if(s<1)return e;const{r:l,g:c,b:u}=new r.TinyColor(t).toRgb();for(let e=.01;e<=1;e+=.01){const t=Math.round((n-l*(1-e))/e),s=Math.round((i-c*(1-e))/e),f=Math.round((a-u*(1-e))/e);if(o(t)&&o(s)&&o(f))return new r.TinyColor({r:t,g:s,b:f,a:Math.round(100*e)/100}).toRgbString()}return new r.TinyColor({r:n,g:i,b:a,a:1}).toRgbString()}},53269:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(78419),o=n(14747),i=n(29691);const a=(e,t)=>{const[n,a]=(0,i.default)();return(0,r.useStyleRegister)({theme:n,token:a,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce,layer:{name:"antd"}},(()=>[{[`.${e}`]:Object.assign(Object.assign({},(0,o.resetIcon)()),{[`.${e} .${e}-icon`]:{display:"block"}})}]))}},42115:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},28293:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=n(52336).default},52336:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r="5.22.2"},35525:(e,t,n)=>{"use strict";n.r(t),n.d(t,{api:()=>o});var r=n(99202),o=(0,r.createApi)({baseQuery:(0,r.fetchBaseQuery)({baseUrl:"/"}),endpoints:function(){return{}}})},65246:(e,t,n)=>{"use strict";function r(){return"/pimcore-studio/api"}n.r(t),n.d(t,{getPrefix:()=>r})},38693:(e,t,n)=>{"use strict";n.r(t),n.d(t,{invalidatingTags:()=>i,providingTags:()=>o,tagNames:()=>r});var r={ELEMENT:"ELEMENT",ASSET:"ASSET",ASSET_DETAIL:"ASSET_DETAIL",ASSET_TREE:"ASSET_TREE",ASSET_GRID_CONFIGURATION:"ASSET_GRID_CONFIGURATION",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",WORKFLOW:"WORKFLOW",VERSIONS:"VERSION",PROPERTIES:"PROPERTIES",SCHEDULES:"SCHEDULES",DEPENDENCIES:"DEPENDENCIES",NOTES_AND_EVENTS:"NOTES_AND_EVENTS"},o={ELEMENT:function(){return[r.ELEMENT]},ASSET:function(){return[r.ASSET]},ASSET_DETAIL:function(){return[r.ASSET,r.ASSET_DETAIL]},ASSET_DETAIL_ID:function(e){return[r.ASSET,{type:r.ASSET_DETAIL,id:e}]},ASSET_TREE:function(){return[r.ASSET,r.ASSET_TREE]},ASSET_TREE_ID:function(e){return[r.ASSET,r.ASSET_TREE,{type:r.ASSET_TREE,id:e}]},ASSET_VERSIONS:function(e){return[{type:r.ASSET_DETAIL,id:e},r.VERSIONS]},ASSET_GRID_CONFIGURATION:function(){return[r.ASSET_GRID_CONFIGURATION]},ASSET_GRID_CONFIGURATION_LIST:function(e){return[r.ASSET,{type:r.ASSET_DETAIL,id:e},r.ASSET_GRID_CONFIGURATION,{type:r.ASSET_GRID_CONFIGURATION_LIST,id:e}]},ASSET_GRID_CONFIGURATION_DETAIL:function(e,t){return[r.ASSET,{type:r.ASSET_DETAIL,id:e},r.ASSET_GRID_CONFIGURATION,{type:r.ASSET_GRID_CONFIGURATION_DETAIL,id:"".concat(e,"-").concat(t)},{type:r.ASSET_GRID_CONFIGURATION_DETAIL,id:"-".concat(t)}]},DATA_OBJECT_DETAIL:function(){return[r.DATA_OBJECT,r.DATA_OBJECT_DETAIL]},DATA_OBJECT_DETAIL_ID:function(e){return[r.DATA_OBJECT,{type:r.DATA_OBJECT_DETAIL,id:e}]},DATA_OBJECT_TREE:function(){return[r.DATA_OBJECT,r.DATA_OBJECT_TREE]},DATA_OBJECT_TREE_ID:function(e){return[r.DATA_OBJECT,r.DATA_OBJECT_TREE,{type:r.DATA_OBJECT_TREE,id:e}]},ELEMENT_PROPERTIES:function(e,t){return[a(e,t),r.PROPERTIES]},ELEMENT_DEPENDENCIES:function(e,t){return[a(e,t),r.DEPENDENCIES]},ELEMENT_SCHEDULES:function(e,t){return[{type:r.SCHEDULES,id:t,elementType:e},r.SCHEDULES]},ELEMENT_WORKFLOW:function(e,t){return[a(e,t),r.WORKFLOW]},VERSIONS_DETAIL:function(e){return[{type:r.VERSIONS,id:e},r.VERSIONS]},ELEMENT_NOTES_AND_EVENTS:function(e,t){return[a(e,t),r.NOTES_AND_EVENTS]},NOTES_AND_EVENTS_ID:function(e){return[r.NOTES_AND_EVENTS,{type:r.NOTES_AND_EVENTS,id:e}]}},i={ELEMENT:function(){return[r.ELEMENT]},ASSET:function(){return[r.ASSET]},ASSET_DETAIL:function(){return[r.ASSET_DETAIL]},ASSET_DETAIL_ID:function(e){return[{type:r.ASSET_DETAIL,id:e}]},ASSET_TREE:function(){return[r.ASSET_TREE]},ASSET_TREE_ID:function(e){return[{type:r.ASSET_TREE,id:e}]},ASSET_VERSIONS:function(e){return[{type:r.ASSET_DETAIL,id:e}]},ASSET_GRID_CONFIGURATION:function(){return[r.ASSET_GRID_CONFIGURATION]},ASSET_GRID_CONFIGURATION_DETAIL:function(e,t){return[{type:r.ASSET_GRID_CONFIGURATION_DETAIL,id:"".concat(e,"-").concat(t)},{type:r.ASSET_GRID_CONFIGURATION_DETAIL,id:"".concat(e,"-").concat(t)}]},ASSET_GRID_CONFIGURATION_LIST:function(e){return[{type:r.ASSET_GRID_CONFIGURATION_LIST,id:e}]},DATA_OBJECT:function(){return[r.DATA_OBJECT]},DATA_OBJECT_DETAIL:function(){return[r.DATA_OBJECT_DETAIL]},DATA_OBJECT_DETAIL_ID:function(e){return[{type:r.DATA_OBJECT_DETAIL,id:e}]},DATA_OBJECT_TREE:function(){return[r.DATA_OBJECT_TREE]},DATA_OBJECT_TREE_ID:function(e){return[{type:r.DATA_OBJECT_TREE,id:e}]},ELEMENT_PROPERTIES:function(e,t){return[a(e,t)]},ELEMENT_DEPENDENCIES:function(e,t){return[a(e,t)]},ELEMENT_SCHEDULES:function(e,t){return[{type:r.SCHEDULES,id:t,elementType:e}]},ELEMENT_WORKFLOW:function(e,t){return[a(e,t)]},NOTES_AND_EVENTS_ID:function(e){return[{type:r.NOTES_AND_EVENTS,id:e}]},VERSIONS_DETAIL:function(e){return[{type:r.VERSIONS,id:e}]},ELEMENT_NOTES_AND_EVENTS:function(e,t){return[a(e,t),r.NOTES_AND_EVENTS]}},a=function(e,t){switch(e){case"asset":return{type:r.ASSET_DETAIL,id:t};case"data-object":return{type:r.DATA_OBJECT_DETAIL,id:t}}throw new Error("Unknown element type: ".concat(e))}},7056:(e,t,n)=>{"use strict";var r,o,i,a,s,l,c;n.r(t),n.d(t,{appConfig:()=>h,currentDomain:()=>f});var u=document.querySelector("#app"),f=window.location.origin;null===u&&console.warn("App element not found");var d=null!==(r=null==u?void 0:u.getAttribute("data-app-config"))&&void 0!==r?r:null,p=null;null!==d&&(p=JSON.parse(d));var h={baseUrl:null!==(o=null===(i=p)||void 0===i?void 0:i.baseUrl)&&void 0!==o?o:"/pimcore-studio/",mercureUrl:null!==(a=null===(s=p)||void 0===s?void 0:s.mercureUrl)&&void 0!==a?a:"".concat(f,"/.well-known/mercure"),maxPageSize:null!==(l=null===(c=p)||void 0===c?void 0:c.maxPageSize)&&void 0!==l?l:9999999}},67890:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DateTimeConfig:()=>S});var r=n(36198),o=n(27484),i=n.n(o),a=n(10285),s=n.n(a),l=n(28734),c=n.n(l),u=n(6833),f=n.n(u),d=n(96036),p=n.n(d),h=n(55183),m=n.n(h),g=n(172),y=n.n(g),v=n(70178),b=n.n(v),O=n(29387),w=n.n(O),S=function(e){return i().extend(s()),i().extend(c()),i().extend(f()),i().extend(p()),i().extend(m()),i().extend(y()),i().extend(b()),i().extend(w()),r.createElement(r.Fragment,null,e.children)}},52435:(e,t,n)=>{"use strict";n.r(t);var r=n(81690),o=n(47308),i=n(94605),a=n(6042),s=n(85630),l=n(34396),c=n(35624),u=n(63669),f=n(96852),d=n(11031),p=n(65244),h=n(79262),m=n(91638),g=n(7916),y=n(48898),v=n(28710),b=n(37120),O=n(54088),w=n(89726),S=n(73238),x=n(1215),E=n(5180),_=n(19169),P=n(18428),T=n(45977),j=n(2836),C=n(97479),k=n(53024),A=n(98770),D=n(67195),L=n(24065),R=n(24696),M=n(14266),I=n(37299),N=n(93268),B=n(97637),$=n(87588),F=n(49136),z=n(37640),Q=n(79964),V=n(46415),U=n(65022),G=n(92248),W=n(20314),H=n(17781),Z=n(83826),X=n(61350),q=n(26206),Y=n(50711),K=n(25132),J=n(70136),ee=n(19859),te=n(61653),ne=n(9866),re=n(22474),oe=n(85050),ie=n(29649),ae=n(94850),se=n(99839),le=n(15381),ce=n(8428),ue=n(71244),fe=n(45293),de=n(62487),pe=n(24134),he=n(20366),me=n(92702),ge=n(95803),ye=n(40304),ve=n(77304),be=n(73042),Oe=n(10380),we=n(84137),Se=n(41131),xe=n(29038),Ee=n(56915),_e=n(33675),Pe=n(6646),Te=n(66106),je=n(8588),Ce=n(21798),ke=n(66540),Ae=n(2649),De=n(43130),Le=n(26265),Re=n(3121),Me=n(70818),Ie=n(37503),Ne=n(75126),Be=n(58742),$e=n(92556),Fe=n(89160),ze=n(54399),Qe=n(13459),Ve=n(33111),Ue=n(70154),Ge=n(76536),We=n(885),He=n(68874),Ze=n(43551),Xe=n(1593);r.container.bind(O.serviceIds.widgetManager).to(a.WidgetRegistry).inSingletonScope(),r.container.bind(O.serviceIds["Asset/Editor/TypeRegistry"]).to(ne.TypeRegistry).inSingletonScope(),r.container.bind(O.serviceIds["Asset/Editor/DocumentTabManager"]).to(c.DocumentTabManager).inSingletonScope(),r.container.bind(O.serviceIds["Asset/Editor/FolderTabManager"]).to(o.FolderTabManager).inSingletonScope(),r.container.bind(O.serviceIds["Asset/Editor/ImageTabManager"]).to(s.ImageTabManager).inSingletonScope(),r.container.bind(O.serviceIds["Asset/Editor/TextTabManager"]).to(l.TextTabManager).inSingletonScope(),r.container.bind(O.serviceIds["Asset/Editor/VideoTabManager"]).to(u.VideoTabManager).inSingletonScope(),r.container.bind(O.serviceIds["Asset/Editor/AudioTabManager"]).to(f.AudioTabManager).inSingletonScope(),r.container.bind(O.serviceIds["Asset/Editor/ArchiveTabManager"]).to(h.ArchiveTabManager).inSingletonScope(),r.container.bind(O.serviceIds["Asset/Editor/UnknownTabManager"]).to(d.UnknownTabManager).inSingletonScope(),r.container.bind(O.serviceIds["DataObject/Editor/TypeRegistry"]).to(ne.TypeRegistry).inSingletonScope(),r.container.bind(O.serviceIds["DataObject/Editor/ObjectTabManager"]).to(g.ObjectTabManager).inSingletonScope(),r.container.bind(O.serviceIds["DataObject/Editor/FolderTabManager"]).to(o.FolderTabManager).inSingletonScope(),r.container.bind(O.serviceIds.iconLibrary).to(i.IconLibrary).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/FieldFilterRegistry"]).to(y.DynamicTypeFieldFilterRegistry).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/FieldFilter/Text"]).to(w.DynamicTypeFieldFilterText).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/FieldFilter/Number"]).to(S.DynamicTypeFieldFilterNumber).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/FieldFilter/Select"]).to(x.DynamicTypeFieldFilterSelect).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/FieldFilter/Datetime"]).to(E.DynamicTypeFieldFilterDatetime).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/BatchEditRegistry"]).to(Ve.DynamicTypeBatchEditRegistry).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/BatchEdit/Text"]).to(Ue.DynamicTypeBatchEditText).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/BatchEdit/TextArea"]).to(Ge.DynamicTypeBatchEditTextArea).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCellRegistry"]).to(P.DynamicTypeGridCellRegistry).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/Text"]).to(_.DynamicTypeGridCellText).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/Textarea"]).to(T.DynamicTypeGridCellTextarea).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/Select"]).to(j.DynamicTypeGridCellSelect).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/Checkbox"]).to(C.DynamicTypeGridCellCheckbox).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/Date"]).to(k.DynamicTypeGridCellDate).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/Time"]).to(A.DynamicTypeGridCellTime).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/DateTime"]).to(D.DynamicTypeGridCellDateTime).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/AssetLink"]).to(L.DynamicTypeGridCellAssetLink).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/ObjectLink"]).to(R.DynamicTypeGridCellObjectLink).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/DocumentLink"]).to(M.DynamicTypeGridCellDocumentLink).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/OpenElement"]).to(I.DynamicTypeGridCellOpenElement).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/AssetPreview"]).to(N.DynamicTypeGridCellAssetPreview).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/AssetActions"]).to(B.DynamicTypeGridCellAssetActions).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/DependencyTypeIcon"]).to($.DynamicTypeGridCellDependencyTypeIcon).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/AssetCustomMetadataIcon"]).to(F.DynamicTypeGridCellAssetCustomMetadataIcon).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/AssetCustomMetadataValue"]).to(z.DynamicTypeGridCellAssetCustomMetadataValue).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/PropertyIcon"]).to(Q.DynamicTypeGridCellPropertyIcon).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/PropertyValue"]).to(V.DynamicTypeGridCellPropertyValue).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/ScheduleActionsSelect"]).to(U.DynamicTypeGridCellScheduleActionsSelect).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/VersionsIdSelect"]).to(G.DynamicTypeGridCellVersionIdSelect).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/AssetVersionPreviewFieldLabel"]).to(W.DynamicTypeGridCellAssetVersionPreviewFieldLabel).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/Asset"]).to(We.DynamicTypeGridCellAsset).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/Object"]).to(He.DynamicTypeGridCellObject).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/Document"]).to(Ze.DynamicTypeGridCellDocument).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/GridCell/LanguageSelect"]).to(Xe.DynamicTypeGridCellLanguageSelect).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ListingRegistry"]).to(v.DynamicTypeListingRegistry).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/Listing/AssetLink"]).to(b.DynamicTypeListingAssetLink).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/MetadataRegistry"]).to(H.DynamicTypeMetaDataRegistry).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/Metadata/Asset"]).to(Z.DynamicTypeMetaDataAsset).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/Metadata/Checkbox"]).to(X.DynamicTypeMetaDataCheckbox).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/Metadata/Date"]).to(q.DynamicTypeMetaDataDate).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/Metadata/Document"]).to(Y.DynamicTypeMetaDataDocument).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/Metadata/Input"]).to(K.DynamicTypeMetaDataInput).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/Metadata/Object"]).to(J.DynamicTypeMetaDataObject).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/Metadata/Select"]).to(ee.DynamicTypeMetaDataSelect).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/Metadata/Textarea"]).to(te.DynamicTypeMetaDataTextarea).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectLayoutRegistry"]).to(re.DynamicTypeObjectLayoutRegistry).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectLayout/Panel"]).to(oe.DynamicTypeObjectLayoutPanel).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectLayout/Tabpanel"]).to(ae.DynamicTypeObjectLayoutTabpanel).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectLayout/Accordion"]).to(se.DynamicTypeObjectLayoutAccordion).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectLayout/Region"]).to(le.DynamicTypeObjectLayoutRegion).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectLayout/Text"]).to(ce.DynamicTypeObjectLayoutText).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectLayout/Fieldset"]).to(ue.DynamicTypeObjectLayoutFieldset).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectLayout/FieldContainer"]).to(fe.DynamicTypeObjectLayoutFieldContainer).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectDataRegistry"]).to(ie.DynamicTypeObjectDataRegistry).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/Input"]).to(de.DynamicTypeObjectDataInput).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/Textarea"]).to(pe.DynamicTypeObjectDataTextarea).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/Password"]).to(he.DynamicTypeObjectDataPassword).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/Select"]).to(me.DynamicTypeObjectDataSelect).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/MultiSelect"]).to(ge.DynamicTypeObjectDataMultiSelect).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/Language"]).to(ye.DynamicTypeObjectDataLanguage).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/LanguageMultiSelect"]).to(ve.DynamicTypeObjectDataLanguageMultiSelect).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/Country"]).to(be.DynamicTypeObjectDataCountry).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/CountryMultiSelect"]).to(Oe.DynamicTypeObjectDataCountryMultiSelect).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/User"]).to(we.DynamicTypeObjectDataUser).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/BooleanSelect"]).to(Se.DynamicTypeObjectDataBooleanSelect).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/Numeric"]).to(xe.DynamicTypeObjectDataNumeric).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/NumericRange"]).to(Ee.DynamicTypeObjectDataNumericRange).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/Slider"]).to(_e.DynamicTypeObjectDataSlider).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/Consent"]).to(Pe.DynamicTypeObjectDataConsent).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/Firstname"]).to(Te.DynamicTypeObjectDataFirstname).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/Lastname"]).to(je.DynamicTypeObjectDataLastname).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/Email"]).to(Ce.DynamicTypeObjectDataEmail).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/Gender"]).to(ke.DynamicTypeObjectDataGender).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/RgbaColor"]).to(Ae.DynamicTypeObjectDataRgbaColor).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/Date"]).to(De.DynamicTypeObjectDataDate).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/Datetime"]).to(Le.DynamicTypeObjectDataDatetime).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/DateRange"]).to(Re.DynamicTypeObjectDataDateRange).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/Time"]).to(Me.DynamicTypeObjectDataTime).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/ExternalImage"]).to(Ie.DynamicTypeObjectDataExternalImage).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/GeoPoint"]).to(Ne.DynamicTypeObjectDataGeoPoint).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/GeoBounds"]).to(Be.DynamicTypeObjectDataGeoBounds).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/GeoPolygon"]).to($e.DynamicTypeObjectDataGeoPolygon).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/GeoPolyLine"]).to(Fe.DynamicTypeObjectDataGeoPolyLine).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/Block"]).to(ze.DynamicTypeObjectDataBlock).inSingletonScope(),r.container.bind(O.serviceIds["DynamicTypes/ObjectData/LocalizedFields"]).to(Qe.DynamicTypeObjectDataLocalizedFields).inSingletonScope(),r.container.bind(O.serviceIds["ExecutionEngine/JobComponentRegistry"]).to(p.JobComponentRegistry).inSingletonScope(),r.container.bind(O.serviceIds["App/ComponentRegistry/ComponentRegistry"]).to(m.ComponentRegistry).inSingletonScope()},54088:(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},r(e)}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;ts,serviceIds:()=>l});var s={"DynamicTypes/FieldFilterRegistry":"DynamicTypes/FieldFilterRegistry","DynamicTypes/BatchEditRegistry":"DynamicTypes/BatchEditRegistry","DynamicTypes/GridCellRegistry":"DynamicTypes/GridCellRegistry","DynamicTypes/ListingRegistry":"DynamicTypes/ListingRegistry","DynamicTypes/MetadataRegistry":"DynamicTypes/MetadataRegistry","DynamicTypes/ObjectLayoutRegistry":"DynamicTypes/ObjectLayoutRegistry","DynamicTypes/ObjectDataRegistry":"DynamicTypes/ObjectDataRegistry"},l=i(i({widgetManager:"WidgetManagerService","Asset/Editor/TypeRegistry":"Asset/Editor/TypeRegistry","Asset/Editor/TypeComponentRegistry":"Asset/Editor/TypeComponentRegistry","Asset/Editor/DocumentTabManager":"Asset/Editor/DocumentTabManager","Asset/Editor/FolderTabManager":"Asset/Editor/FolderTabManager","Asset/Editor/ImageTabManager":"Asset/Editor/ImageTabManager","Asset/Editor/TextTabManager":"Asset/Editor/TextTabManager","Asset/Editor/VideoTabManager":"Asset/Editor/VideoTabManager","Asset/Editor/AudioTabManager":"Asset/Editor/AudioTabManager","Asset/Editor/ArchiveTabManager":"Asset/Editor/ArchiveTabManager","Asset/Editor/UnknownTabManager":"Asset/Editor/UnknownTabManager","DataObject/Editor/TypeRegistry":"DataObject/Editor/TypeRegistry","DataObject/Editor/ObjectTabManager":"DataObject/Editor/ObjectTabManager","DataObject/Editor/FolderTabManager":"DataObject/Editor/FolderTabManager",iconLibrary:"IconLibrary","Grid/TypeRegistry":"Grid/TypeRegistry"},s),{},{"DynamicTypes/FieldFilter/Text":"DynamicTypes/FieldFilter/Text","DynamicTypes/FieldFilter/Number":"DynamicTypes/FieldFilter/Number","DynamicTypes/FieldFilter/Select":"DynamicTypes/FieldFilter/Select","DynamicTypes/FieldFilter/Datetime":"DynamicTypes/FieldFilter/Datetime","DynamicTypes/BatchEdit/Text":"DynamicTypes/BatchEdit/Text","DynamicTypes/BatchEdit/TextArea":"DynamicTypes/BatchEdit/TextArea","DynamicTypes/GridCell/Text":"DynamicTypes/GridCell/Text","DynamicTypes/GridCell/Textarea":"DynamicTypes/GridCell/Textarea","DynamicTypes/GridCell/Select":"DynamicTypes/GridCell/Select","DynamicTypes/GridCell/Checkbox":"DynamicTypes/GridCell/Checkbox","DynamicTypes/GridCell/Date":"DynamicTypes/GridCell/Date","DynamicTypes/GridCell/Time":"DynamicTypes/GridCell/Time","DynamicTypes/GridCell/DateTime":"DynamicTypes/GridCell/DateTime","DynamicTypes/GridCell/AssetLink":"DynamicTypes/GridCell/AssetLink","DynamicTypes/GridCell/ObjectLink":"DynamicTypes/GridCell/ObjectLink","DynamicTypes/GridCell/DocumentLink":"DynamicTypes/GridCell/DocumentLink","DynamicTypes/GridCell/OpenElement":"DynamicTypes/GridCell/OpenElement","DynamicTypes/GridCell/AssetPreview":"DynamicTypes/GridCell/AssetPreview","DynamicTypes/GridCell/AssetActions":"DynamicTypes/GridCell/AssetActions","DynamicTypes/GridCell/DependencyTypeIcon":"DynamicTypes/GridCell/DependencyTypeIcon","DynamicTypes/GridCell/AssetCustomMetadataIcon":"DynamicTypes/GridCell/AssetCustomMetadataIcon","DynamicTypes/GridCell/AssetCustomMetadataValue":"DynamicTypes/GridCell/AssetCustomMetadataValue","DynamicTypes/GridCell/PropertyIcon":"DynamicTypes/GridCell/PropertyIcon","DynamicTypes/GridCell/PropertyValue":"DynamicTypes/GridCell/PropertyValue","DynamicTypes/GridCell/ScheduleActionsSelect":"DynamicTypes/GridCell/ScheduleActionsSelect","DynamicTypes/GridCell/VersionsIdSelect":"DynamicTypes/GridCell/VersionsIdSelect","DynamicTypes/GridCell/AssetVersionPreviewFieldLabel":"DynamicTypes/GridCell/AssetVersionPreviewFieldLabel","DynamicTypes/GridCell/Asset":"DynamicTypes/GridCell/Asset","DynamicTypes/GridCell/Object":"DynamicTypes/GridCell/Object","DynamicTypes/GridCell/Document":"DynamicTypes/GridCell/Document","DynamicTypes/GridCell/LanguageSelect":"DynamicTypes/GridCell/LanguageSelect","DynamicTypes/Listing/Text":"DynamicTypes/Listing/Text","DynamicTypes/Listing/AssetLink":"DynamicTypes/Listing/AssetLink","DynamicTypes/Listing/Select":"DynamicTypes/Listing/Select","DynamicTypes/Metadata/Asset":"DynamicTypes/Metadata/Asset","DynamicTypes/Metadata/Document":"DynamicTypes/Metadata/Document","DynamicTypes/Metadata/Object":"DynamicTypes/Metadata/Object","DynamicTypes/Metadata/Input":"DynamicTypes/Metadata/Input","DynamicTypes/Metadata/Textarea":"DynamicTypes/Metadata/Textarea","DynamicTypes/Metadata/Checkbox":"DynamicTypes/Metadata/Checkbox","DynamicTypes/Metadata/Select":"DynamicTypes/Metadata/Select","DynamicTypes/Metadata/Date":"DynamicTypes/Metadata/Date","DynamicTypes/ObjectLayout/Panel":"DynamicTypes/ObjectLayout/Panel","DynamicTypes/ObjectLayout/Tabpanel":"DynamicTypes/ObjectLayout/Tabpanel","DynamicTypes/ObjectLayout/Accordion":"DynamicTypes/ObjectLayout/Accordion","DynamicTypes/ObjectLayout/Region":"DynamicTypes/ObjectLayout/Region","DynamicTypes/ObjectLayout/Text":"DynamicTypes/ObjectLayout/Text","DynamicTypes/ObjectLayout/Fieldset":"DynamicTypes/ObjectLayout/Fieldset","DynamicTypes/ObjectLayout/FieldContainer":"DynamicTypes/ObjectLayout/FieldContainer","DynamicTypes/ObjectData/Input":"DynamicTypes/ObjectData/Input","DynamicTypes/ObjectData/Textarea":"DynamicTypes/ObjectData/Textarea","DynamicTypes/ObjectData/Password":"DynamicTypes/ObjectData/Password","DynamicTypes/ObjectData/Select":"DynamicTypes/ObjectData/Select","DynamicTypes/ObjectData/MultiSelect":"DynamicTypes/ObjectData/MultiSelect","DynamicTypes/ObjectData/Language":"DynamicTypes/ObjectData/Language","DynamicTypes/ObjectData/LanguageMultiSelect":"DynamicTypes/ObjectData/LanguageMultiSelect","DynamicTypes/ObjectData/Country":"DynamicTypes/ObjectData/Country","DynamicTypes/ObjectData/CountryMultiSelect":"DynamicTypes/ObjectData/CountryMultiSelect","DynamicTypes/ObjectData/User":"DynamicTypes/ObjectData/User","DynamicTypes/ObjectData/BooleanSelect":"DynamicTypes/ObjectData/BooleanSelect","DynamicTypes/ObjectData/Numeric":"DynamicTypes/ObjectData/Numeric","DynamicTypes/ObjectData/NumericRange":"DynamicTypes/ObjectData/NumericRange","DynamicTypes/ObjectData/Slider":"DynamicTypes/ObjectData/Slider","DynamicTypes/ObjectData/Consent":"DynamicTypes/ObjectData/Consent","DynamicTypes/ObjectData/Firstname":"DynamicTypes/ObjectData/Firstname","DynamicTypes/ObjectData/Lastname":"DynamicTypes/ObjectData/Lastname","DynamicTypes/ObjectData/Email":"DynamicTypes/ObjectData/Email","DynamicTypes/ObjectData/Gender":"DynamicTypes/ObjectData/Gender","DynamicTypes/ObjectData/RgbaColor":"DynamicTypes/ObjectData/RgbaColor","DynamicTypes/ObjectData/Date":"DynamicTypes/ObjectData/Date","DynamicTypes/ObjectData/Datetime":"DynamicTypes/ObjectData/Datetime","DynamicTypes/ObjectData/DateRange":"DynamicTypes/ObjectData/DateRange","DynamicTypes/ObjectData/Time":"DynamicTypes/ObjectData/Time","DynamicTypes/ObjectData/ExternalImage":"DynamicTypes/ObjectData/ExternalImage","DynamicTypes/ObjectData/GeoPoint":"DynamicTypes/ObjectData/GeoPoint","DynamicTypes/ObjectData/GeoBounds":"DynamicTypes/ObjectData/GeoBounds","DynamicTypes/ObjectData/GeoPolygon":"DynamicTypes/ObjectData/GeoPolygon","DynamicTypes/ObjectData/GeoPolyLine":"DynamicTypes/ObjectData/GeoPolyLine","DynamicTypes/ObjectData/Block":"DynamicTypes/ObjectData/Block","DynamicTypes/ObjectData/LocalizedFields":"DynamicTypes/ObjectData/LocalizedFields","ExecutionEngine/JobComponentRegistry":"ExecutionEngine/JobComponentRegistry","App/ComponentRegistry/ComponentRegistry":"App/ComponentRegistry/ComponentRegistry"})},81690:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ContainerContext:()=>i,ContainerProvider:()=>a,container:()=>o,useInjection:()=>s,useMultiInjection:()=>l,useOptionalInjection:()=>c});var r=(0,n(43056).createDiInstance)(),o=r.container,i=r.ContainerContext,a=r.ContainerProvider,s=r.useInjection,l=r.useMultiInjection,c=r.useOptionalInjection},73217:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(36609),o=n(30811);r.default.use(o.initReactI18next).init({fallbackLng:"en",ns:["translation"],resources:{},saveMissing:!0}).catch((function(e){console.error(e)})),r.default.on("missingKey",(function(e,t,n,r){}));const i=r.default},80237:(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},r(e)}function o(e,t){for(var n=0;na,moduleSystem:()=>s});var a=function(){return e=function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r=[],(n=i(n="registry"))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r},(t=[{key:"registerModule",value:function(e){this.registry.push(e)}},{key:"initModules",value:function(){this.registry.forEach((function(e){e.onInit()}))}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}(),s=new a},19387:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PluginSystem:()=>u,pluginSystem:()=>f});var r=n(81690),o=n(80237);function i(e){return i="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},i(e)}function a(){a=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,l,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,l)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,a,s,l){var c=p(e[o],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==i(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var a;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function s(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function l(e,t){for(var n=0;n{"use strict";n.r(t),n.d(t,{router:()=>c,routes:()=>l});var r=n(36198),o=n(79655),i=n(54224),a=n(7367),s=n(7056).appConfig.baseUrl;s.endsWith("/")&&(s=s.slice(0,-1)+"/");var l={root:s,login:"".concat(s,"login/")},c=(0,o.createBrowserRouter)([{path:l.root,element:r.createElement(i.DefaultPage,null)},{path:l.login,element:r.createElement(a.LoginPage,null)}])},7496:(e,t,n)=>{"use strict";n.r(t),n.d(t,{injectSliceWithState:()=>c,rootReducer:()=>s,store:()=>l,useAppDispatch:()=>u,useAppSelector:()=>f});var r=n(8327),o=n(45007),i=n(35525),a=[i.api],s=r.combineSlices.apply(void 0,[{}].concat(a)).withLazyLoadedSlices(),l=(0,r.configureStore)({reducer:s,middleware:function(e){return e({serializableCheck:{ignoredActions:["execution-engine/jobReceived"],ignoredActionPaths:["execution-engine","meta"],ignoredPaths:["execution-engine","meta"]}}).concat(i.api.middleware)}}),c=function(e){return a.push(e),s=r.combineSlices.apply(void 0,[{}].concat(a)).withLazyLoadedSlices(),l.replaceReducer(s),s},u=o.useDispatch,f=o.useSelector},8844:(e,t,n)=>{"use strict";n.r(t);n(63657),n(7056),n(80237),n(52435),n(73217),n(89378),n(44861),n(65713),n(32248),n(6395),n(15656),n(44130),n(68255)},95675:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{card:(0,e.css)(r||(t=["\n & .ant-collapse {\n width: 340px;\n background-color: white;\n }\n\n & span, & div, div.anticon, button {\n vertical-align: middle;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},94046:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AccordionTimeline:()=>s});var r=n(36198),o=n(95675),i=n(87629),a=n(54688),s=function(e){var t=e.items,n=(0,o.useStyle)().styles,s=t.map((function(e){return r.createElement("div",{className:[n.card,e.className].join(" "),key:e.key},!0===e.selected?r.createElement(a.Accordion,{activeKey:e.key,expandIconPosition:"after-title",items:[e]}):r.createElement(a.Accordion,{expandIconPosition:"after-title",items:[e]}))}));return r.createElement(i.VerticalTimeline,{timeStamps:s})}},58893:(e,t,n)=>{"use strict";var r,o,i;function a(e){return a="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},a(e)}function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function l(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 c(e,t,n){var r;return r=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.r(t),n.d(t,{useStyles:()=>u});var u=(0,n(99291).createStyles)((function(e){var t=e.token,n=e.css,a=function(e){for(var t=1;t .ant-collapse-item:last-child {\n > .ant-collapse-header[aria-expanded='false'] {\n border-radius: ","px;\n }\n\n > .ant-collapse-header[aria-expanded='true'] {\n border-top-left-radius: ","px;\n border-top-right-radius: ","px;\n }\n }\n }\n\n .ant-collapse-item.accordion__item--theme-success {\n border: 1px solid ",";\n border-radius: ","px !important;\n background-color: ",";\n\n > .ant-collapse-content {\n border-top: 1px solid ",";\n background-color: transparent;\n }\n }\n\n .ant-collapse-item.accordion__item--theme-primary {\n border: 1px solid ",";\n border-radius: ","px !important;\n background-color: ",";\n\n > .ant-collapse-content {\n border-top: 1px solid ",";\n background-color: transparent;\n }\n }\n\n .accordion__item {\n > .ant-collapse-header {\n display: inline-flex;\n width: 100%;\n align-items: center;\n\n > .ant-collapse-header-text {\n margin-inline-end: 0;\n }\n\n > .ant-collapse-expand-icon {\n display: none;\n }\n }\n\n .accordion__chevron-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0 ","px;\n }\n\n .accordion__chevron {\n rotate: 180deg;\n transition-duration: 0.6s;\n transition-property: transform;\n }\n\n .accordion__chevron--up {\n transform: rotate(-180deg);\n }\n }\n\n .ant-collapse-extra {\n order: 1;\n margin-left: 5px;\n }\n "])),a.borderRadiusLG,a.borderRadiusLG,a.borderRadiusLG,a.highlightBorderColor,a.borderRadiusLG,a.highlightBackgroundColor,a.highlightBorderColor,a.colorBorder,a.borderRadiusLG,a.colorFillAlter,a.colorBorder,t.marginXXS),bordered:n(o||(o=s(["\n &.accordion--bordered {\n .ant-collapse-item {\n background: ",";\n border: 1px solid ",";\n border-radius: ","px;\n }\n \n .ant-collapse-header {\n font-weight: ",";\n }\n\n .accordion-item__header-info {\n font-weight: 400;\n color: ",";\n }\n\n .ant-collapse-content {\n border-color: ",";\n }\n \n &.ant-collapse-small {\n .ant-collapse-item {\n border-radius: ","px;\n }\n \n .ant-collapse-header {\n padding: ","px ","px;\n }\n }\n }\n "])),t.colorBgContainer,t.colorBorderSecondary,t.borderRadius,t.fontWeightStrong,t.colorTextSecondary,t.colorBorderSecondary,t.borderRadiusSM,t.paddingXXS,t.paddingSM),spaced:n(i||(i=s(["\n background: ",";\n\n .accordion__item {\n margin-bottom: 24px;\n border-bottom: none;\n }\n\n .ant-collapse-header[aria-expanded='false'] {\n background-color: ",";\n border: 1px solid ",";\n border-radius: 5px;\n }\n\n .ant-collapse-header[aria-expanded='true'] {\n background-color: ",";\n border: 1px solid ",";\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n }\n\n .ant-collapse-content-box {\n border: 1px solid ",";\n border-top: none;\n border-bottom-left-radius: 5px;\n border-bottom-right-radius: 5px;\n background-color: ",";\n }\n "])),t.colorBgContainer,t.colorBgSelectedTab,t.colorBorder,t.colorBgSelectedTab,t.colorBorder,t.colorBorder,t.colorBgSelectedTab)}}))},54688:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Accordion:()=>b});var r=n(36198),o=n(55328),i=n(58893),a=n(36609),s=n(27027);function l(e){return l="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},l(e)}var c=["items","accordion","spaced","bordered","className","activeKey","expandIconPosition"],u=["disabled"];function f(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 d(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var b=function(e){var t,n=e.items,l=e.accordion,f=void 0!==l&&l,p=e.spaced,g=void 0!==p&&p,y=e.bordered,b=void 0!==y&&y,O=e.className,w=e.activeKey,S=e.expandIconPosition,x=void 0===S?"after-title":S,E=v(e,c),_=(0,i.useStyles)().styles,P=m((0,r.useState)([]),2),T=P[0],j=P[1];(0,r.useEffect)((function(){j([String(w)])}),[w]);var C=null!==(t=null==n?void 0:n.map((function(e){var t,n=["accordion__chevron",null!=e.key&&T.includes(String(e.key))?"accordion__chevron--up":""].join(" "),i=function(){return r.createElement(s.IconButton,{"aria-label":a.default.t("aria.notes-and-events.expand"),className:"accordion__chevron-btn",icon:{value:"chevron-up",className:n},onClick:function(){var t;null!=e.id&&(t=e.id,j(f?function(e){return e.includes(t)?[]:[t]}:function(e){return e.includes(t)?e.filter((function(e){return e!==t})):[].concat(h(e),[t])}))},role:"button",size:"small",type:"text"})},l=(e.disabled,v(e,u)),c=[null==e?void 0:e.className,"accordion__item"].filter(Boolean);return void 0!==e.theme&&c.push("accordion__item--".concat(e.theme)),d(d({},l),{},{className:c.join(" "),label:r.createElement(r.Fragment,null,r.createElement(o.Flex,{align:"center",vertical:!1},"start"===x&&null!==e.children&&!(!0===e.disabled)&&i(),e.title,"after-title"===x&&null!==e.children&&!(!0===e.disabled)&&i(),r.createElement("span",{className:"accordion-item__header-info"},null!==e.info&&e.info)),e.subtitle)},null!==(t=e.disabled)&&void 0!==t&&t?{collapsible:"icon"}:{})})))&&void 0!==t?t:[],k=["accordion",O,_.accordion];return g&&(k.push("accordion--spaced",_.spaced),k.push(_.spaced)),b&&(k.push("accordion--bordered",_.bordered),k.push(_.bordered)),r.createElement(o.Collapse,d({accordion:f,activeKey:T,bordered:!g,className:k.join(" "),items:C,onChange:function(e){j(Array.isArray(e)?e:[e])}},E))}},4861:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.css,i=e.token;return{alert:o(r||(t=["\n &.ant-alert-banner {\n padding: ","px ","px;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),i.paddingContentVerticalSM,i.paddingSM)}}))},94617:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Alert:()=>p});var r=n(36198),o=n(93967),i=n.n(o),a=n(55328),s=n(4861);function l(e){return l="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},l(e)}var c=["className","rootClassName"];function u(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 f(e,t,n){var r;return r=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==l(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var p=function(e){var t=e.className,n=e.rootClassName,o=d(e,c),l=(0,s.useStyles)().styles;return r.createElement(a.Alert,function(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{background:(0,e.css)(r||(t=["\n position: absolute;\n inset: 0;\n background: #FFF;\n overflow: hidden; \n opacity: 0.3;\n\n .background-figure {\n position: absolute;\n\n &--top-left {\n top: -80%;\n left: -30%;\n width: 1324px;\n height: 1324px;\n transform: rotate(65.637deg);\n flex-shrink: 0;\n border-radius: var(--Components-Input-Component-paddingBlockSM, 1324px);\n background: rgba(55, 217, 243, 0.20);\n filter: blur(310px);\n }\n\n\n &--bottom-left {\n width: 651.152px;\n height: 1503.398px;\n transform: rotate(28.303deg);\n flex-shrink: 0;\n border-radius: var(--Components-Input-Component-paddingBlockSM, 1503.398px);\n background: #FDFFFF;\n filter: blur(310px);\n }\n\n &--bottom-right {\n left: 11%;\n width: 1642px;\n height: 686px;\n transform: rotate(65.637deg);\n flex-shrink: 0;\n border-radius: var(--Components-Input-Component-paddingBlockSM, 1642px);\n background: rgba(122, 58, 212, 0.42);\n filter: blur(310px);\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},17180:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Background:()=>i});var r=n(36198),o=n(48349),i=function(){var e=(0,o.useStyle)().styles;return r.createElement("div",{className:e.background},r.createElement("div",{className:"background-figure background-figure--bottom-left"}),r.createElement("div",{className:"background-figure background-figure--bottom-right"}),r.createElement("div",{className:"background-figure background-figure--top-left"}))}},7667:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Badge:()=>u});var r=n(36198),o=n(55328);function i(e){return i="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},i(e)}var a=["color","children"];function s(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 l(e,t,n){var r;return r=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==i(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u=function(e){var t=e.color,n=(e.children,c(e,a));return r.createElement(o.Badge,function(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;return{box:(0,e.css)(r||(t=["\n &.box--inline {\n display: inline-block;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},48388:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Box:()=>f,getSizingClasses:()=>u});var r=n(36198),o=n(9072),i=["children","padding","margin","className","component","inline"];function a(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 s(e,t,n){var r;return r=function(e,t){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==c(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(e){return c="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},c(e)}var u=function(e,t){var n=[];return"string"==typeof t?(n.push("".concat(e,"-").concat(t)),n):"object"===c(t)?("x"in t&&n.push("".concat(e,"-x-").concat(t.x)),"y"in t&&n.push("".concat(e,"-y-").concat(t.y)),"top"in t&&n.push("".concat(e,"-t-").concat(t.top)),"bottom"in t&&n.push("".concat(e,"-b-").concat(t.bottom)),"left"in t&&n.push("".concat(e,"-l-").concat(t.left)),"right"in t&&n.push("".concat(e,"-r-").concat(t.right)),n):n},f=function(e){var t=e.children,n=e.padding,c=e.margin,f=e.className,d=e.component,p=void 0===d?"div":d,h=e.inline,m=l(e,i),g=["box",(0,o.useStyles)().styles.box,!0===h?"box--inline":"",null!=f?f:""],y=u("p",n),v=u("m",c),b=p;return r.createElement(b,function(e){for(var t=1;t{"use strict";var r,o,i,a,s;function l(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyle:()=>c});var c=(0,n(99291).createStyles)((function(e){var t=e.token,n=e.css;return{breadcrumb:n(r||(r=l(['\n .ant-dropdown-trigger {\n cursor: pointer;\n \n > span[role="img"] {\n display: none\n }\n }\n ']))),breadcrumbLink:n(o||(o=l(["\n color: ",";\n "])),t.colorTextTertiary),breadcrumbLinkLast:n(i||(i=l(["\n color: ",";\n "])),t.colorText),pathItem:n(a||(a=l(["\n cursor: pointer;\n \n &:hover {\n color: ",";\n }\n "])),t.colorPrimaryHover),dropdownMenu:n(s||(s=l(["\n max-width: 400px;\n "])))}}))},25063:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Breadcrumb:()=>S});var r=n(36198),o=n(55328),i=n(93967),a=n.n(i),s=n(7496),l=n(92908),c=n(73990),u=n(99401),f=n(2166),d=n(34648),p=n(22953);function h(e){return h="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},h(e)}function m(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 g(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&"L"===h&&(C.push({title:s({content:t[o-2],style:{maxWidth:"100px"}}),className:_.pathItem,onClick:function(){i(t.slice(0,o-1).join("/"))}}),o>3)){for(var f=[],d=function(e){f.push({title:t[e],onClick:function(){i(t.slice(0,e+1).join("/"))}})},b=1;b2&&"L"!==h){for(var O=[],w=function(e){O.push({title:t[e],onClick:function(){i(t.slice(0,e+1).join("/"))}})},S=1;S{"use strict";n.r(t),n.d(t,{useBreadcrumbSize:()=>a});var r=n(36198);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n375&&e<=450&&(a(!0),c(70)),e>450&&e<=550&&(a(!0),c(85)),e>550&&e<=700&&(a(!0),c(100)),e>700&&e<=800&&(a(!0),c(150)),e>800&&e<=900&&(a(!0),c(200)),e>900&&e<=1e3&&(a(!0),c(300)),e>1e3&&e<=1100&&(a(!0),c(400)),e>1100&&e<=1200&&(a(!0),c(500)),e>1200&&e<=1300&&(a(!0),c(600)),e>1300&&(a(!1),c(t)))}),[e,t]),{isHideBreadcrumb:i,currentBreadcrumbWidth:l}}},71651:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.css,i=e.token;return{buttonGroup:o(r||(t=["\n &.button-group--with-separator {\n & > .button-group__item:not(:last-child) {\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n right: -4px;\n top: 3px;\n bottom: 3px;\n width: 1px;\n background-color: ",";\n }\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),i.Divider.colorSplit)}}))},54512:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ButtonGroup:()=>a});var r=n(36198),o=n(55328),i=n(71651),a=function(e){var t=e.items,n=e.noSpacing,a=void 0!==n&&n,s=e.withSeparator,l=void 0!==s&&s,c=[(0,i.useStyles)().styles.buttonGroup,"button-group"];return l&&c.push("button-group--with-separator"),r.createElement(r.Fragment,null,!a&&r.createElement(o.Flex,{align:"center",className:c.join(" "),gap:"small"},t.map((function(e,t){return r.createElement("div",{className:"button-group__item",key:t},e)}))),a&&r.createElement(o.Button.Group,null,t.map((function(e,t){return r.createElement("span",{key:t},e)}))))}},89553:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{button:(0,e.css)(r||(t=["\n position: relative;\n\n .button__loading-spinner,\n .ant-spin-dot {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n margin: auto;\n color: inherit;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},71816:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Button:()=>g});var r=n(36198),o=n(55328),i=n(72828),a=n(93967),s=n.n(a),l=n(94622),c=n(89553);function u(e){return u="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},u(e)}var f=["loading","children","className"];function d(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 p(e,t,n){var r;return r=function(e,t){if("object"!=u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==u(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var m=function(e,t){var n=e.loading,a=e.children,u=e.className,m=h(e,f),g=(0,r.useRef)(null),y=(0,c.useStyles)().styles;(0,r.useImperativeHandle)(t,(function(){return g.current}));var v=s()("button",y.button,{"ant-btn-loading":n},u);return(0,r.useEffect)((function(){return!0===n&&null!==g.current&&(g.current.style.width=g.current.getBoundingClientRect().width+"px",g.current.style.height=g.current.getBoundingClientRect().height+"px"),function(){!0===n&&null!==g.current&&(g.current.style.width="",g.current.style.height="")}}),[n]),r.createElement(o.Button,function(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{card:(0,e.css)(r||(t=["\n .ant-card-head {\n min-height: 38px;\n padding: ","px ","px;\n }\n\n &.ant-card:not(.ant-card-bordered) {\n box-shadow: none;\n }\n\n .ant-card-head-title {\n display: flex;\n align-items: center;\n gap: ","px;\n font-size: ","px;\n }\n\n .ant-card-extra {\n display: flex;\n align-items: center;\n gap: ","px;\n color: ",";\n }\n\n .ant-card-body {\n padding: ","px;\n }\n\n &.card-with-footer {\n .ant-card-body {\n padding: 0;\n }\n\n .card-body-inner {\n padding: ","px\n }\n .card-footer {\n padding: ","px ","px;\n border-top: 1px solid ",";\n }\n }\n \n &.card-fit-content {\n width: fit-content;\n }\n \n .ant-card-actions {\n padding: ","px;\n\n li {\n margin: 0;\n max-width: fit-content;\n }\n\n li:not(:last-child) {\n border: none;\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.paddingXXS,o.paddingSM,o.marginXS,o.fontSize,o.marginXXS,o.colorTextSecondary,o.paddingSM,o.paddingSM,o.paddingXXS,o.paddingXS,o.colorBorderSecondary,o.paddingXXS)}}))},14500:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Card:()=>y});var r=n(36198),o=n(55328),i=n(16554),a=n(27027),s=n(54663),l=n(71590),c=n(30811),u=["loading","children","footer","fitContent","className"];function f(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 d(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var g=function(e,t){e.loading;var n,f=e.children,p=e.footer,g=e.fitContent,y=e.className,v=m(e,u),b=(0,c.useTranslation)().t,O=[(0,i.useStyles)().styles.card,y,void 0!==p?"card-with-footer":"",!0===g?"card-fit-content":""].filter(Boolean);return r.createElement(o.Card,d(d({},v),{},{actions:v.actions,className:O.join(" "),cover:null!==v.image&&void 0!==(null===(n=v.image)||void 0===n?void 0:n.src)?r.createElement(l.PimcoreImage,{alt:v.image.alt,src:v.image.src}):v.cover,extra:void 0!==v.extra&&null!==v.extra?r.createElement(r.Fragment,null,Array.isArray(v.extra)?r.createElement("div",null,v.extra.map((function(e,t){return"object"===h(e)&&void 0!==e.icon?r.createElement(a.IconButton,{icon:{value:e.icon},key:t,onClick:e.onClick,role:"button",title:e.title,type:void 0!==e.type?e.type:"text"}):r.createElement(r.Fragment,{key:t},e)}))):null,void 0!==v.onClose?r.createElement(a.IconButton,{"aria-label":b("aria.card.close"),icon:{value:"close"},onClick:function(){var e;return null===(e=v.onClose)||void 0===e?void 0:e.call(v)},role:"button",size:"small",type:"text"}):null):null,title:void 0!==v.title&&null!==v.title?r.createElement(r.Fragment,null,void 0!==v.icon&&null!==v.icon?r.createElement(s.Icon,{value:v.icon}):null,v.title):null}),void 0!==p&&void 0!==f?r.createElement("div",{className:"card-body-inner"},f):f,void 0!==p&&r.createElement("div",{className:"card-footer"},p))},y=r.forwardRef(g)},35182:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Compact:()=>l});var r=n(55328),o=n(36198);function i(e){return i="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},i(e)}function a(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 s(e,t,n){var r;return r=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==i(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=function(e){return o.createElement(r.Space.Compact,function(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{ContentLayout:(0,e.css)(r||(t=["\n &.content-toolbar-sidebar-layout {\n position: relative;\n display: grid;\n grid-template-columns: 1fr auto;\n grid-template-rows: auto 1fr auto;\n height: 100%;\n width: 100%;\n overflow: hidden;\n }\n\n .content-toolbar-sidebar-layout__top-bar {\n grid-column: 1 / 2;\n grid-row: 1 / 2;\n position: sticky;\n bottom: 0;\n height: max-content; \n overflow: hidden;\n }\n\n .content-toolbar-sidebar-layout__content {\n display: flex;\n grid-column: 1 / 2;\n grid-row: 2 / 3;\n overflow: auto;\n height: 100%;\n width: 100%;\n }\n\n .content-toolbar-sidebar-layout__toolbar {\n grid-column: 1 / 2;\n grid-row: 3 / 4;\n position: sticky;\n bottom: 0;\n height: max-content; \n overflow: hidden;\n }\n\n .content-toolbar-sidebar-layout__sidebar {\n grid-column: 2 / 3;\n grid-row: 1 / 4;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},32215:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ContentLayout:()=>s});var r=n(36198),o=n(21099),i=n(82755),a=function(e){var t=["content-toolbar-sidebar-layout",(0,o.useStyles)().styles.ContentLayout];return void 0!==e.renderToolbar&&t.push("content-toolbar-sidebar-layout--with-toolbar"),r.createElement("div",{className:t.join(" ")},void 0!==e.renderTopBar&&r.createElement("div",{className:"content-toolbar-sidebar-layout__top-bar"},e.renderTopBar),r.createElement(i.Content,{className:"content-toolbar-sidebar-layout__content"},e.children),void 0!==e.renderToolbar&&r.createElement("div",{className:"content-toolbar-sidebar-layout__toolbar"},e.renderToolbar),void 0!==e.renderSidebar&&r.createElement("div",{className:"content-toolbar-sidebar-layout__sidebar"},e.renderSidebar))},s=(0,r.memo)(a)},49596:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{content:(0,e.css)(r||(t=["\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n overflow: auto;\n gap: 12px;\n\n &.content--padded {\n padding: ","px;\n }\n\n &.content--centered {\n justify-content: center;\n align-items: center;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.paddingSM)}}))},82755:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Content:()=>h});var r=n(36198),o=n(49596),i=n(32859),a=n(94622),s=n(48388);function l(e){return l="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},l(e)}var c=["children","padded","padding","className","loading","none","centered","noneOptions"];function u(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 f(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var h=function(e){var t=e.children,n=e.padded,l=void 0!==n&&n,u=e.padding,d=void 0===u?{top:"small",x:"extra-small",bottom:"extra-small"}:u,h=e.className,m=e.loading,g=void 0!==m&&m,y=e.none,v=void 0!==y&&y,b=e.centered,O=void 0!==b&&b,w=e.noneOptions,S=p(e,c),x=[(0,o.useStyles)().styles.content,"content",h],E=!g&&!v;return(O||v||g)&&x.push("content--centered"),r.createElement(s.Box,f({className:x.join(" "),padding:l?d:"none"},S),g&&r.createElement(a.Spin,{asContainer:!0,tip:"Loading"}),v&&!g&&r.createElement(i.NoContent,f({},w)),E&&t)}},82640:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DatePicker:()=>h});var r=n(36198),o=n(55328),i=n(94692),a=n(27048),s=n(94666);function l(e){return l="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},l(e)}function c(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 u(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{DateRangePicker:()=>d});var r=n(36198),o=n(55328),i=n(94692);function a(e){return a="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},a(e)}function s(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 l(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{TimePicker:()=>d});var r=n(36198),o=n(94692),i=n(55328);function a(e){return a="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},a(e)}function s(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 l(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{formatDatePickerDate:()=>s,fromDayJs:()=>a,toDayJs:()=>i});var r=n(27484),o=n.n(r),i=function(e){return o().isDayjs(e)?e:"number"==typeof e?o().unix(e):"string"==typeof e?o()(e):null},a=function(e,t,n){return null===e?null:"timestamp"===t?e.unix():"dateString"===t?void 0!==n?e.format(n):e.format():e},s=function(e){return null==e?"":o().isDayjs(e)?"[dayjs object]: "+e.toString():e.toString()}},40932:(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},r(e)}function o(e,t){for(var n=0;na});var a=function(){return e=function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r={},(n=i(n="callbacks"))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r},(t=[{key:"register",value:function(e,t){this.callbacks[e]=t}},{key:"unregister",value:function(e){delete this.callbacks[e]}},{key:"get",value:function(e){return this.callbacks[e]}},{key:"getCallbacks",value:function(){return this.callbacks}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}()},79371:(e,t,n)=>{"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);na,transformBoundingRectToCoordinates:()=>i});var i=function(e){return{x1:e.left,x2:e.right,y1:e.top,y2:e.bottom}},a=function(e){var t=e.droppableContainers,n=document.querySelector(".dnd-overlay"),o=[],a=null==n?void 0:n.getBoundingClientRect();if(void 0===a)return[];var s,l=i(a),c=r(t);try{for(c.s();!(s=c.n()).done;){var u=s.value;if(null!==u.node.current){var f=u.node.current.getBoundingClientRect();if(0!==f.width){var d=i(f),p=Math.max(l.x1,d.x1),h=Math.min(l.x2,d.x2),m=Math.max(l.y1,d.y1),g=Math.min(l.y2,d.y2);p{"use strict";n.r(t),n.d(t,{DragAndDropContextProvider:()=>g,DragAndDropInfoContext:()=>m});var r=n(36198),o=n(94697),i=n(40932),a=n(41995),s=n(79371);function l(e){return l="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},l(e)}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;return{dragOverlay:(0,e.css)(r||(t=["\n display: inline-flex;\n gap: 5px;\n align-items: center;\n padding: 5px;\n width: max-content;\n background: white;\n box-shadow: 0px 6px 16px 0px rgba(0, 0, 0, 0.08), 0px 3px 6px -4px rgba(0, 0, 0, 0.12), 0px 9px 28px 8px rgba(0, 0, 0, 0.05);\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},41995:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DragOverlay:()=>a});var r=n(36198),o=n(54663),i=n(2033),a=function(e){var t=(0,i.useStyle)().styles,n=r.useRef(null);return r.createElement("div",{className:["dnd__overlay",t.dragOverlay].join(" "),ref:n},r.createElement(o.Icon,{value:e.info.icon})," ",e.info.title)}},68834:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalStyle:()=>r});var r=(0,n(99291).createGlobalStyle)((function(e){var t=e.theme;return{".dnd--dragging":{cursor:"move"},".dnd--invalid":{".dnd__overlay":{background:t.colorErrorBg,color:t.colorErrorActive}}}}))},61394:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Draggable:()=>h});var r=n(36198),o=n(94697),i=n(86536),a=n(68834);function s(e){return s="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},s(e)}function l(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 c(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{DroppableContextProvider:()=>o,droppableContext:()=>r});var r=(0,n(36198).createContext)({isOver:!1,isValid:!1,isDragActive:!1}),o=r.Provider},52507:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{droppable:(0,e.css)(r||(t=["\n & .dnd--drag-active {\n background: ",";\n border: 1px dashed ",";\n border-radius: ","px;\n }\n\n & .dnd--drag-valid {\n background: ",";\n border: 1px dashed ",";\n border-radius: ","px;\n }\n\n & .dnd--drag-error {\n background: ",";\n border: 1px dashed ",";\n border-radius: ","px;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.colorBgContainerDisabled,o.colorBorder,o.borderRadius,o.colorBgTextActive,o.colorInfoBorder,o.borderRadius,o.colorErrorBg,o.colorErrorActive,o.borderRadius)}}))},79301:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Droppable:()=>m});var r=n(36198),o=n(26486),i=n(94697),a=n(52507),s=n(74984),l=n(86536);function c(e){return c="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},c(e)}function u(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 f(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{useDroppable:()=>i});var r=n(36198),o=n(74984),i=function(){var e=(0,r.useContext)(o.droppableContext),t=e.isDragActive,n=e.isOver,i=e.isValid;return{isDragActive:t,isOver:n,isValid:i,getStateClasses:function(){var e=[];return t&&e.push("dnd--drag-active"),n&&i&&e.push("dnd--drag-valid"),n&&!i&&e.push("dnd--drag-error"),e}}}},37394:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useSortableContext:()=>a});var r=n(94697),o=n(45587),i=n(36198),a=function(e){var t=e.onDragEnd,n=e.items,a=e.sortingStrategy,s=void 0===a?o.verticalListSortingStrategy:a,l=(0,r.useSensors)((0,r.useSensor)(r.PointerSensor),(0,r.useSensor)(r.KeyboardSensor,{coordinateGetter:o.sortableKeyboardCoordinates}));return{ContextHolder:function(e){var a=e.children;return i.createElement(r.DndContext,{collisionDetection:r.closestCenter,onDragEnd:t,sensors:l},i.createElement(o.SortableContext,{items:n,strategy:s},a))}}}},48665:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DropdownButton:()=>f});var r=n(36198),o=n(62833);function i(e){return i="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},i(e)}var a=["icon"];function s(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 l(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var f=function(e){var t=e.icon,n=u(e,a);return r.createElement(o.IconTextButton,l({icon:l({value:"icon-tools"},t),iconPlacement:"right",type:"link"},n))}},30189:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DropdownInner:()=>d});var r=n(36198),o=n(55328),i=n(16920);function a(e){return a="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},a(e)}var s=["selectedKeys","onSelect","menu","menuRef"];function l(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 c(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var d=function(e){e.selectedKeys,e.onSelect;var t=e.menu,n=e.menuRef,a=f(e,s),l=t.items;return r.createElement(o.Dropdown,c(c({},a),{},{dropdownRender:function(){return r.createElement(r.Fragment,null,r.createElement(o.Menu,{ref:n},null==l?void 0:l.map((function(e){return(0,i.renderDropdownItem)({item:e})}))))}}),a.children)}},40826:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{dropdown:(0,e.css)(r||(t=["\n .ant-dropdown-menu {\n display: flex;\n flex-direction: column;\n }\n \n .ant-dropdown-menu-item-group-list {\n display: flex;\n flex-direction: column;\n }\n \n .ant-dropdown-menu-submenu {\n .ant-dropdown-menu-submenu-title {\n display: flex;\n align-items: center;\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},41642:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Dropdown:()=>p});var r=n(36198),o=n(30189),i=n(40870),a=n(40826);function s(e){return s="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},s(e)}var l=["selectedKeys","onSelect","menu"];function c(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 u(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var p=function(e){var t=e.selectedKeys,n=e.onSelect,s=e.menu,c=d(e,l),f=(0,a.useStyle)().styles,p=s.selectable,h=s.multiple,m=s.items,g=i.SelectionType.Disabled;!0===p&&(g=!0===h?i.SelectionType.Multiple:i.SelectionType.Single);var y=null==m?void 0:m.filter((function e(t){return!0!==(null==t?void 0:t.hidden)&&(void 0===(null==t?void 0:t.children)||(t.children=t.children.filter(e)).length)}));return r.createElement(i.SelectionProvider,{selectedKeys:t,selectionType:g},r.createElement(o.DropdownInner,u(u({},c),{},{menu:u(u({},s),{},{items:y}),onSelect:n,overlayClassName:f.dropdown})))}},17944:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CustomItem:()=>o});var r=n(36198),o=function(e){var t=e.component;return r.createElement(r.Fragment,null,t)}},89048:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{dropdownItem:(0,e.css)(r||(t=["\n &.ant-dropdown-menu-item-active {\n background-color: "," !important;\n\n &:hover {\n background-color: rgba(0, 0, 0, 0.04) !important;\n }\n }\n\n &.default-item--with-icon-right {\n padding-right: 4px !important;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.colorBgContainer)}}))},21724:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DefaultItem:()=>m,WithExtendedApi:()=>h});var r=n(36198),o=n(55328),i=n(89048),a=n(34657),s=n(77829);function l(e){return l="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},l(e)}var c=["label","key","selectable","id"];function u(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 f(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var h=function(e){return function(t){var n=t.label,l=t.key,u=t.selectable,d=t.id,h=p(t,c),m=(0,i.useStyles)().styles,g=(0,s.useSelection)().selectionType,y=[m.dropdownItem];return y.push("is-custom-item"),!0===u&&"disabled"!==g&&y.push("default-item--with-icon-right"),r.createElement(e,f(f({id:l},h),{},{className:y.join(" ")}),r.createElement(o.Flex,{align:"center",gap:8,justify:"space-between"},r.createElement("span",null,n),!0===u&&"disabled"!==g&&r.createElement(a.SelectionButton,{id:d,key:d})))}},m=h(o.Menu.Item)},32949:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DividerItem:()=>l});var r=n(55328),o=n(36198);function i(e){return i="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},i(e)}function a(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 s(e,t,n){var r;return r=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==i(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=function(e){return o.createElement(r.Menu.Divider,function(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{groupItem:(0,e.css)(r||(t=["\n .ant-dropdown-menu-item-group-list {\n margin: 0 !important;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},40289:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GroupItem:()=>h,WithExtendedApi:()=>p});var r=n(55328),o=n(16920),i=n(36198),a=n(46945);function s(e){return s="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},s(e)}var l=["children","label"];function c(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 u(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var p=function(e){return function(t){var n=t.children,r=t.label,s=d(t,l),c=(0,a.useStyles)().styles;return i.createElement(e,u(u({title:r},s),{},{className:c.groupItem}),null==n?void 0:n.map((function(e){return(0,o.renderDropdownItem)({item:e})})))}},h=p(r.Menu.ItemGroup)},31864:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SubMenuItem:()=>d,WithExtendedApi:()=>f});var r=n(55328),o=n(16920),i=n(36198);function a(e){return a="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},a(e)}var s=["children","popupOffset","label"];function l(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 c(e,t,n){var r;return r=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var f=function(e){return function(t){var n=t.children,r=(t.popupOffset,t.label),a=u(t,s);return i.createElement(e,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{renderDropdownItem:()=>p});var r=n(36198),o=n(17944),i=n(32949),a=n(40289),s=n(31864),l=n(21724);function c(e){return c="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},c(e)}function u(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 f(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{useSelection:()=>d});var r=n(36198),o=n(40870);function i(e){return i="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},i(e)}var a=["selectedKeys","setSelectedKeys","selectionType"];function s(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 l(e,t,n){var r;return r=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==i(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var d=function(){var e=(0,r.useContext)(o.SelectionContext),t=e.selectedKeys,n=e.setSelectedKeys,i=e.selectionType,u=f(e,a);function d(e){return t.includes(e)}function p(e){i!==o.SelectionType.Disabled&&(i!==o.SelectionType.Single?i===o.SelectionType.Multiple&&n([].concat(c(t),[e])):n([e]))}function h(e){i!==o.SelectionType.Disabled&&n(t.filter((function(t){return t!==e})))}return function(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.css,i=e.token;return{selectionButton:o(r||(t=["\n color: transparent;\n transition: color 0.3s;\n\n &.selection-button--active {\n color: ",";\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),i.colorPrimary)}}))},34657:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SelectionButton:()=>s});var r=n(27027),o=n(36198),i=n(77829),a=n(85473),s=function(e){var t=e.id,n=(0,a.useStyles)().styles,s=(0,i.useSelection)(),l=s.toggle,c=s.isSelected,u=[n.selectionButton];return c(t)&&u.push("selection-button--active"),o.createElement(r.IconButton,{className:u.join(" "),icon:{value:"pin-02"},onClick:function(e){e.stopPropagation(),l(t)},variant:"minimal"})}},40870:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SelectionContext:()=>c,SelectionProvider:()=>u,SelectionType:()=>r});var r,o=n(36198),i=["children","onSelected"];function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}!function(e){e.Disabled="disabled",e.Single="single",e.Multiple="multiple"}(r||(r={}));var c=(0,o.createContext)({selectionType:r.Disabled,selectedKeys:[],setSelectedKeys:function(){},onSelected:function(){}}),u=function(e){var t,n=e.children,r=e.onSelected,s=l(e,i),u=a((0,o.useState)(null!==(t=s.selectedKeys)&&void 0!==t?t:[]),2),f=u[0],d=u[1];return(0,o.useEffect)((function(){var e;d(null!==(e=s.selectedKeys)&&void 0!==e?e:[])}),[s.selectedKeys]),(0,o.useMemo)((function(){return o.createElement(c.Provider,{value:{selectedKeys:f,setSelectedKeys:p,selectionType:s.selectionType,onSelected:r}},n)}),[f,s.selectionType,n]);function p(e){d((function(){return void 0!==r&&r(e),e}))}}},52540:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{toolbar:(0,e.css)(r||(t=["\n display: flex;\n align-items: center;\n gap: 8px;\n\n .element-toolbar__info-dropdown {\n .ant-dropdown-trigger {\n display: flex;\n align-items: center;\n gap: 4px;\n border: 1px solid ",";\n background: ",";\n color: ",";\n\n .ant-btn-icon.ant-btn-icon-end {\n margin-left: 0;\n }\n }\n }\n \n .pimcore-icon {\n color: ",";\n &:hover {\n color: ",";\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.colorBorder,o.colorFillTertiary,o.colorText,o.colorPrimary,o.colorPrimaryHover)}}))},73264:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ElementToolbar:()=>d});var r=n(36198),o=n(52540),i=n(55328),a=n(41642),s=n(54663),l=n(25063),c=n(87633);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{tree:(0,e.css)(r||(t=["\n padding: ","px 0 ","px 0;\n max-width: 100%;\n color: ","\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.paddingXXS,o.paddingXS,o.colorTextTreeElement)}}),{hashPriority:"low"})},31322:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ElementTree:()=>S,TreeContext:()=>w,defaultProps:()=>O});var r=n(36198),o=n(36699),i=n(92006),a=n(77806),s=n(26272),l=n(58523),c=n(48388),u=["maxItemsPerNode","nodeApiHook","renderNode","renderNodeContent","contextMenu"];function f(e){return f="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},f(e)}function d(){d=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==f(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function p(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function y(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 v(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{TreeExpander:()=>d});var r=n(36198),o=n(31322),i=n(54663),a=n(30811);function s(e){return s="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},s(e)}function l(){l=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,l){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==s(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,l)}))}l(c.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function c(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyles:()=>a});var a=(0,n(99291).createStyles)((function(e){var t=e.token,n=e.css;return{"tree-list__pager":n(r||(r=i([" \n padding: ","px 0;\n\n &:empty {\n padding: 0;\n }\n "])),t.paddingSM),"tree-list__search":n(o||(o=i(["\n padding: ","px ","px ","px 0;\n\n &:empty {\n padding: 0;\n }\n\n .ant-btn-default {\n border-color: ","\n }\n "])),t.paddingXXS,t.paddingSM,t.paddingXS,t.colorBorder)}}),{hashPriority:"low"})},60238:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TreeList:()=>h});var r=n(36198),o=n(31322),i=n(55328),a=n(56719),s=n(80810),l=n(26272),c=n(58523);function u(e){return u="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},u(e)}function f(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 d(e,t,n){var r;return r=function(e,t){if("object"!=u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==u(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=i.theme.useToken,h=function(e){var t=e.node,n=p().token,i=(0,a.useStyles)().styles,u=(0,r.useContext)(o.TreeContext),h=u.renderFilter,m=u.renderPager,g=u.renderNode,y=(0,u.nodeApiHook)(t),v=y.apiHookResult,b=y.dataTransformer,O=y.mergeAdditionalQueryParams,w=v.isLoading,S=v.isFetching,x=v.isError,E=v.data,_=(0,r.useContext)(l.UploadContext),P=_.uploadFileList,T=_.uploadingNode;if(!0===w||!0===S)return r.createElement(c.Skeleton,{style:{paddingLeft:n.paddingSM+24*(t.level+1.5)}});if(!0===x)return r.createElement(r.Fragment,null,"Error");var j=b(E),C=j.nodes,k=j.total;return r.createElement(r.Fragment,null,void 0!==h&&r.createElement("div",{className:["tree-list__search",i["tree-list__search"]].join(" "),style:{paddingLeft:n.paddingSM+24*(t.level+1)}},r.createElement(h,{mergeAdditionalQueryParams:O,node:t,total:k})),r.createElement("div",{className:"tree-list"},P.length>0&&t.id===T&&r.createElement("div",{className:["tree-list__upload",i["tree-list__search"]].join(" "),style:{paddingLeft:n.paddingSM+24*(t.level+1)}},r.createElement(s.UploadList,{items:P,locale:{uploading:"uploading"},showRemoveIcon:!1})),0===P.length&&(null==C?void 0:C.map((function(e,n){return r.createElement(g,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{TreeNodeContent:()=>u});var r=n(36198),o=n(55328),i=n(54663);function a(e){return a="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},a(e)}function s(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 l(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{treeNode:(0,e.css)(r||(t=["\n user-select: none;\n\n .tree-node__content {\n cursor: pointer;\n width: 100%;\n padding: 2px ","px 2px 0;\n white-space: nowrap;\n align-items: center;\n \n .ant-upload-wrapper {\n width: 100%;\n \n .ant-upload {\n width: 100%;\n display: flex;\n align-items: center;\n gap: 8px\n }\n }\n\n @media (hover: hover) {\n &:hover {\n background-color: ",";\n }\n }\n\n &:focus {\n outline: none;\n background-color: ",";\n }\n }\n\n &.tree-node--selected > .tree-node__content {\n background-color: ",";\n }\n\n .tree-node__content-wrapper {\n //max-width: max(100%, calc(100px - 16px));\n width: 100%;\n }\n\n .tree-node-content__label {\n display: inline-block;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.paddingSM,o.controlItemBgActiveHover,o.controlItemBgActiveHover,o.controlItemBgActive)}}),{hashPriority:"low"})},36699:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TreeNode:()=>O});var r=n(55328),o=n(36198),i=n(48406),a=n(31322),s=n(60238),l=n(21828),c=n(63975);function u(e){return u="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},u(e)}var f=["id","internalKey","icon","label","level"];function d(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 p(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var v={id:Math.random().toString(16).slice(2),internalKey:"",icon:{type:"name",value:"folder"},label:"Node",children:[],permissions:{list:!1,view:!1,publish:!1,delete:!1,rename:!1,create:!1,settings:!1,versions:!1,properties:!1},level:0,isLocked:!1},b=r.theme.useToken,O=function(e){var t=e.id,n=void 0===t?v.id:t,u=e.internalKey,d=void 0===u?v.internalKey:u,h=e.icon,g=void 0===h?v.icon:h,O=e.label,w=void 0===O?v.label:O,S=e.level,x=void 0===S?v.level:S,E=y(e,f),_=b().token,P=E.children,T=E.metaData,j=(0,i.useStyles)().styles,C=(0,o.useContext)(a.TreeContext),k=C.renderNodeContent,A=C.onSelect,D=C.onRightClick,L=C.selectedIdsState,R=C.nodesRefs,M=C.nodeOrder,I=m(o.useState(0!==P.length),2),N=I[0],B=I[1],$=m(L,2),F=$[0],z=$[1],Q=p({id:n,icon:g,label:w,internalKey:d,level:x},E),V=(0,c.UseFileUploader)({parentId:n}).uploadFile;function U(){z([n]),void 0!==A&&A(Q)}(0,o.useEffect)((function(){return function(){void 0!==R&&delete R.current[d]}}),[]);var G,W={action:"/pimcore-studio/api/assets/add/".concat(n),name:"file",multiple:!0,openFileDialogOnClick:!1,showUploadList:!1,onChange:V};return o.createElement("div",{className:(G=["tree-node",j.treeNode],F.includes(n)&&G.push("tree-node--selected"),G.join(" ")),onDragOver:function(e){var t=null==T?void 0:T.asset;void 0!==t&&"folder"===t.type&&z([n])}},o.createElement(r.Flex,{className:"tree-node__content",gap:"small",onClick:function(e){U()},onContextMenu:function(e){void 0!==D&&D(e,Q)},onKeyDown:function(e){"Enter"===e.key&&U(),"ArrowRight"===e.key&&B(!0),"ArrowLeft"===e.key&&B(!1),"ArrowDown"===e.key&&function(e){e.preventDefault();var t=M().indexOf(d);t0&&R.current[M()[t-1]].el.focus()}(e)},ref:function(e){!function(e){var t={el:e,node:Q};R.current[d]=t}(e)},role:"button",style:{paddingLeft:_.paddingSM+20*x,minWidth:"".concat(20*x+200,"px")},tabIndex:-1},o.createElement(l.TreeExpander,{node:Q,state:[N,B]}),o.createElement(r.Upload,p({},W),o.createElement("div",{className:"tree-node__content-wrapper"},o.createElement(k,{node:Q})))),N&&o.createElement(s.TreeList,{node:Q}))}},58523:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Skeleton:()=>f});var r=n(36198),o=n(55328),i=n(72828),a=n(48388),s=n(40069);function l(e){return l="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},l(e)}function c(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 u(e,t,n){var r;return r=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==l(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){return r.createElement(i.motion.div,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{Filename:()=>d});var r=n(36198),o=n(99401),i=n(47259);function a(e){return a="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},a(e)}var s=["value","ellipsis"];function l(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 c(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var d=function(e){var t=e.value,n=e.ellipsis,a=f(e,s),l=t;if(l.includes(".")&&!0===n){var u=l.split("."),d=u.pop(),p=u.join(".");return r.createElement(i.Flex,c({},a),r.createElement(o.Text,{ellipsis:!!n&&{tooltip:{title:l,overlayStyle:{maxWidth:"min(100%, 500px)"},mouseEnterDelay:.3}},style:{color:"inherit"}},p),".",r.createElement(o.Text,{style:{whiteSpace:"nowrap",color:"inherit"}},d))}return r.createElement(o.Text,c({ellipsis:n},a),l)}},80586:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e,t){var n,o;return{rowColGap:(0,e.css)(r||(n=["\n column-gap: ","px;\n row-gap: ","px;\n "],o||(o=n.slice(0)),r=Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(o)}}))),t.x,t.y)}}))},47259:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Flex:()=>g});var r=n(36198),o=n(55328),i=n(93967),a=n.n(i),s=n(96486),l=n(23396),c=n(80586);function u(e){return u="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},u(e)}var f=["gap","className","rootClassName","children"];function d(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 p(e,t,n){var r;return r=function(e,t){if("object"!=u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==u(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var m=o.theme.useToken,g=function(e){var t=e.gap,n=void 0===t?0:t,i=e.className,u=e.rootClassName,g=e.children,y=h(e,f),v=m().token,b=function(e){var t=function(e){return(0,s.isNumber)(e)?e:(0,l.mapGapToTokenValue)({token:v,gap:e})};if((0,s.isString)(e))return{x:t(e),y:t(e)};if((0,s.isNumber)(e))return{x:e,y:e};if((0,s.isObject)(e))return{x:t(e.x),y:t(e.y)};return{x:0,y:0}}(n),O=b.x,w=b.y,S=(0,c.useStyles)({x:O,y:w}).styles,x=a()(S.rowColGap,i,u);return r.createElement(o.Flex,function(e){for(var t=1;t{"use strict";function r(e){var t=e.token;switch(e.gap){case"mini":return t.sizeXXS;case"extra-small":return t.sizeXS;case"small":return t.sizeSM;case"normal":return t.size;case"medium":return t.sizeMD;case"large":return t.sizeLG;case"extra-large":return t.sizeXL;case"maxi":return t.sizeXXL;default:return 0}}n.r(t),n.d(t,{mapGapToTokenValue:()=>r})},73277:(e,t,n)=>{"use strict";var r,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyle:()=>a});var a=(0,n(99291).createStyles)((function(e){var t=e.token,n=e.css;return{draggableContainer:n(r||(r=i(["\n display: flex;\n position: relative;\n "]))),draggableItem:n(o||(o=i(["\n color: ",";\n width: ","px !important;\n height: ","px !important;\n background: ",";\n box-shadow: none;\n border: 2px dashed;\n display: flex;\n justify-content: center;\n align-items: center;\n\n &:hover {\n color: ",";\n background: "," !important;\n }\n "])),t.colorPrimary,t.Button.controlHeightSM,t.Button.controlHeightSM,t.Colors.Neutral.Fill.colorFill,t.colorPrimary,t.Colors.Neutral.Fill.colorFill)}}))},26008:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DraggableItem:()=>p});var r=n(36198),o=n(94697),i=n(24285),a=n(73277),s=n(43676),l=n(27027);function c(e){return c="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},c(e)}function u(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 f(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{FocalPointContext:()=>r});var r=n(36198).createContext(void 0)},63863:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FocalPoint:()=>p});var r=n(36198),o=n(94697),i=n(26008),a=n(32339),s=n(61008),l=n(43741),c=n(43676);function u(e){return u="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},u(e)}function f(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 d(e,t,n){var r;return r=function(e,t){if("object"!=u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==u(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(e){var t=e.activationConstraint,n=e.children,u=r.Children.only(n),p=(0,r.useContext)(l.AssetContext).id,h=(0,r.useContext)(c.FocalPointContext),m=(0,s.useAssetDraft)(p),g=m.imageSettings,y=m.isLoading,v=(0,o.useSensor)(o.MouseSensor,{activationConstraint:t}),b=(0,o.useSensor)(o.TouchSensor,{activationConstraint:t}),O=(0,o.useSensor)(o.KeyboardSensor,{}),w=(0,o.useSensors)(v,b,O),S=(0,s.useAssetDraft)(p),x=S.addImageSettings,E=S.removeImageSetting;if(void 0===h)throw new Error("FocalPoint must be used within the FocalPointProvider");var _=h.coordinates,P=h.setCoordinates,T=h.isActive,j=h.setIsActive,C=h.disabled,k=h.containerRef;if(!(0,r.isValidElement)(u))throw new Error("Children must be a valid react component");var A=u.type;return(0,r.useEffect)((function(){T||y||null===k.current||(P({x:0,y:0}),E("focalPoint"))}),[T]),r.createElement(o.DndContext,{modifiers:[a.restrictToParentElement],onDragEnd:function(e){var t=e.delta,n=_.x+t.x,r=_.y+t.y;P({x:n,y:r}),null!==k.current&&x({focalPoint:{x:Number(Number(100*n/(null==k?void 0:k.current.clientWidth)).toPrecision(8)),y:Number(Number(100*r/(null==k?void 0:k.current.clientHeight)).toPrecision(8))}})},sensors:w},r.createElement(i.DraggableItem,{active:T,disabled:C,left:_.x,top:_.y},r.createElement(A,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{FocalPointProvider:()=>s});var r=n(36198),o=n(43676);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{Form:()=>u});var r=n(36198),o=n(55328),i=n(40069);function a(e){return a="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},a(e)}function s(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 l(e,t,n){var r;return r=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{FormattedDateTime:()=>i});var r=n(36198),o=n(63664),i=function(e){return r.createElement(r.Fragment,null,(0,o.formatDateTime)({timestamp:e.timestamp,dateStyle:"short",timeStyle:"short"}))}},50388:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FormattedDate:()=>i});var r=n(36198),o=n(63664),i=function(e){return r.createElement(r.Fragment,null,(0,o.formatDate)(e.timestamp))}},67494:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FormattedTime:()=>i});var r=n(36198),o=n(63664),i=function(e){return r.createElement(r.Fragment,null,(0,o.formatTime)(e.timestamp))}},47267:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GeoBoundsDrawerFooter:()=>s});var r=n(36198),o=n(62779);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{GeoBoundsDrawer:()=>c});var r=n(36198),o=n(47267),i=n(93308);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{AddressSearchField:()=>f});var r=n(36198),o=n(53988),i=n(30811),a=n(51690),s=n(46140);function l(e){return l="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},l(e)}function c(){c=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==l(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function u(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}var f=function(e){var t=(0,i.useTranslation)().t,n=(0,s.useAlertModal)(),l=function(){var o,i=(o=c().mark((function o(i){return c().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(""!==i){o.next=3;break}return e.onSearch(void 0),o.abrupt("return");case 3:return o.next=5,(0,a.geoCode)(i).then(e.onSearch).catch((function(e){if(e.message===a.ERROR_ADDRESS_NOT_FOUND){var o=r.createElement("span",null,r.createElement("p",null,t("geocode.address-not-found")),r.createElement("strong",null,t("geocode.possible-causes"),":"),r.createElement("p",null,t("geocode.postal-code-format-error")));n.error({content:o})}else n.error({content:e.message})}));case 5:case"end":return o.stop()}}),o)})),function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){u(i,n,r,a,s,"next",e)}function s(e){u(i,n,r,a,s,"throw",e)}a(void 0)}))});return function(e){return i.apply(this,arguments)}}();return r.createElement(o.default,{className:"address-search-field",disabled:e.disabled,onSearch:l,placeholder:t("search-address")})}},26162:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{footer:(0,e.css)(r||(t=["\n .address-search-field {\n max-width: 300px;\n }\n .remove-button-wrapper {\n margin-left: auto;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},62779:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GeoMapCardFooter:()=>f});var r=n(36198),o=n(26162),i=n(48388),a=n(47259),s=n(9386),l=n(55328),c=n(27027),u=n(30811),f=function(e){var t=(0,o.useStyles)().styles,n=(0,u.useTranslation)().t;return r.createElement(i.Box,{className:t.footer,padding:{y:"mini"}},r.createElement(a.Flex,{className:"w-full",gap:"mini"},r.createElement(s.AddressSearchField,{disabled:e.searchDisabled,onSearch:e.onSearch}),e.dropdown,r.createElement("div",{className:"remove-button-wrapper"},r.createElement(l.Tooltip,{title:n("set-to-null")},r.createElement(c.IconButton,{disabled:e.removeButtonDisabled,icon:{value:"delete-outlined"},onClick:e.emptyValue})))))}},85112:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{container:(0,e.css)(r||(t=["\n .ant-card-cover {\n .leaflet-container {\n border-radius: ","px ","px 0 0;\n min-height: 120px;\n }\n }\n max-width: 100%;\n min-width: 270px;\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.borderRadiusLG,o.borderRadiusLG)}}),{hashPriority:"low"})},93308:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GeoMapCard:()=>c});var r=n(36198),o=n(93967),i=n.n(o),a=n(3385),s=n(14500),l=n(85112),c=(0,r.forwardRef)((function(e,t){var n=(0,l.useStyles)().styles;return r.createElement(s.Card,{className:i()(n.container),cover:r.createElement(a.GeoMap,{disabled:e.disabled,height:e.height,lat:e.lat,lng:e.lng,mode:e.mapMode,onChange:e.onChangeMap,ref:t,value:e.mapValue,width:e.width,zoom:e.zoom}),fitContent:!0,footer:e.footer,style:{width:e.width}})}));c.displayName="GeoMapCard"},46909:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{mapContainer:(0,e.css)(r||(t=["\n max-width: 100%;\n \n .leaflet-tooltip{\n width: 100px;\n white-space: normal;\n }\n .leaflet-draw-actions-bottom li:nth-child(2) {\n display: none;\n }\n .leaflet-edit-marker-selected {\n border: 0;\n outline: 2px dashed rgba(51, 136, 255, .5);\n margin-left: -12px !important;\n margin-top: -41px !important;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},3385:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GeoMap:()=>g});var r=n(36198),o=n(45243),i=n.n(o),a=(n(29052),n(21787),n(43114),n(99099)),s=n(93967),l=n.n(s),c=n(46909),u=n(16437),f=n(30027),d=n(88256),p=n(13098);function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nOpenStreetMap contributors'}).addTo(t);var c=i().featureGroup().addTo(t);return"geoPoint"===e.mode?(0,a.addGeoPointToolbar)(t,c,E,e.onChange,e.disabled):"geoPolyLine"===e.mode?(0,f.addGeoPolyLineToolbar)(t,c,E,e.onChange,e.disabled):"geoPolygon"===e.mode?(0,d.addGeoPolygonToolbar)(t,c,E,e.onChange,e.disabled):"geoBounds"===e.mode&&(0,p.addGeoBoundsToolbar)(t,c,E,e.onChange,e.disabled),t}return null}();return function(){null!==t&&t.remove()}}}),[T,k,m,v,w,E,e.mode,e.disabled]),r.createElement("div",{ref:D},r.createElement("div",{className:l()(n.mapContainer),ref:o,style:{height:(0,u.toCssDimension)(e.height,250),width:(0,u.toCssDimension)(e.width,500)}}))}));g.displayName="GeoMap"},13098:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addGeoBoundsToolbar:()=>i});var r=n(45243),o=n.n(r),i=function(e,t,n,r,i){e.addLayer(t);var a,s=void 0!==n?o().latLngBounds(o().latLng(n.NElatitude,n.NElongitude),o().latLng(n.SWlatitude,n.SWlongitude)):void 0;if(void 0!==s&&(a=o().rectangle(s,{stroke:!0,color:"#3388ff",opacity:.5,fillOpacity:.2,weight:4}),t.addLayer(a),e.fitBounds(s)),!0!==i){var l=new(o().Control.Draw)({position:"topright",draw:{polyline:!1,polygon:!1,circle:!1,marker:!1,circlemarker:!1,rectangle:{showArea:!1}},edit:{featureGroup:t,remove:!1}});e.addControl(l),e.on(o().Draw.Event.CREATED,(function(e){t.clearLayers(),void 0!==a&&a.remove();var n=e.layer;if(t.addLayer(n),1===t.getLayers().length&&void 0!==r){var o=n.getBounds().getNorthEast(),i=n.getBounds().getSouthWest();r({NElatitude:o.lat,NElongitude:o.lng,SWlatitude:i.lat,SWlongitude:i.lng})}})),e.on(o().Draw.Event.DELETED,(function(e){void 0!==r&&r(void 0)})),e.on(o().Draw.Event.EDITRESIZE+" "+o().Draw.Event.EDITMOVE,(function(e){if(void 0!==r){var t=e.layer.getBounds().getNorthEast(),n=e.layer.getBounds().getSouthWest();r({NElatitude:t.lat,NElongitude:t.lng,SWlatitude:n.lat,SWlongitude:n.lng})}}))}}},99099:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addGeoPointToolbar:()=>f});var r=n(45243),o=n.n(r),i=n(51690),a=n(96651);function s(e){return s="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},s(e)}function l(){l=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,l){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==s(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,l)}))}l(c.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function c(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){c(i,r,o,a,s,"next",e)}function s(e){c(i,r,o,a,s,"throw",e)}a(void 0)}))}}var f=function(e,t,n,r,s){e.addLayer(t);var c=void 0!==n?o().marker([n.latitude,n.longitude]):void 0;if(void 0!==c&&t.addLayer(c),!0!==s){var f=new(o().Control.Draw)({position:"topright",draw:{polyline:!1,polygon:!1,circle:!1,rectangle:!1,circlemarker:!1},edit:{featureGroup:t,remove:!1}});e.addControl(f),e.on(o().Draw.Event.CREATED,function(){var e=u(l().mark((function e(n){var o;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.clearLayers(),void 0!==c&&c.remove(),o=n.layer,t.addLayer(o),1!==t.getLayers().length){e.next=8;break}return e.next=7,(0,i.reverseGeocode)(o).catch((function(e){console.error(e)}));case 7:null==r||r((0,a.convertLatLngToGeoPoint)(o.getLatLng()));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.on("draw:editmove",function(){var e=u(l().mark((function e(t){var n;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.layer,e.next=3,(0,i.reverseGeocode)(n).catch((function(e){console.error(e)}));case 3:null==r||r((0,a.convertLatLngToGeoPoint)(n.getLatLng()));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}}},30027:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addGeoPolyLineToolbar:()=>a});var r=n(45243),o=n.n(r),i=n(96651),a=function(e,t,n,r,a){e.addLayer(t);var s=void 0!==n?o().polyline((0,i.convertPolyLineToLatLngs)(n),{stroke:!0,color:"#3388ff",opacity:.5,fillOpacity:.2,weight:4}):void 0;if(void 0!==s&&t.addLayer(s),!0!==a){var l=new(o().Control.Draw)({position:"topright",draw:{rectangle:!1,polygon:!1,circle:!1,marker:!1,circlemarker:!1},edit:{featureGroup:t,remove:!1}});e.addControl(l),e.on(o().Draw.Event.CREATED,(function(e){t.clearLayers(),void 0!==s&&s.remove();var n=e.layer;t.addLayer(n),1===t.getLayers().length&&void 0!==r&&r((0,i.convertLatLngsToGeoPoints)(n.getLatLngs()))})),e.on(o().Draw.Event.DELETED,(function(e){void 0!==r&&r(void 0)})),e.on(o().Draw.Event.EDITSTOP,(function(e){for(var t in this.dirty=!0,this.data=[],e.target._layers)if(!0===Object.prototype.hasOwnProperty.call(e.target._layers,t)){var n=e.target._layers[t];!0===Object.prototype.hasOwnProperty.call(n,"edited")&&void 0!==r&&r((0,i.convertLatLngsToGeoPoints)(n.editing.latlngs[0]))}}))}}},88256:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addGeoPolygonToolbar:()=>a});var r=n(45243),o=n.n(r),i=n(96651),a=function(e,t,n,r,a){e.addLayer(t);var s=void 0!==n?o().polygon((0,i.convertPolyLineToLatLngs)(n),{stroke:!0,color:"#3388ff",opacity:.5,fillOpacity:.2,weight:4}):void 0;if(void 0!==s&&t.addLayer(s),!0!==a){var l=new(o().Control.Draw)({position:"topright",draw:{circle:!1,marker:!1,circlemarker:!1,rectangle:!1,polyline:!1},edit:{featureGroup:t,remove:!1}});e.addControl(l),e.on(o().Draw.Event.CREATED,(function(e){t.clearLayers(),void 0!==s&&s.remove();var n=e.layer;t.addLayer(n),1===t.getLayers().length&&void 0!==r&&r((0,i.convertLatLngsToGeoPoints)(n.getLatLngs()[0]))})),e.on(o().Draw.Event.DELETED,(function(e){void 0!==r&&r(void 0)})),e.on(o().Draw.Event.EDITSTOP,(function(e){for(var t in this.dirty=!0,this.data=[],e.target._layers)if(!0===Object.prototype.hasOwnProperty.call(e.target._layers,t)){var n=e.target._layers[t];!0===Object.prototype.hasOwnProperty.call(n,"edited")&&void 0!==r&&r((0,i.convertLatLngsToGeoPoints)(n.editing.latlngs[0][0]))}}))}}},51690:(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},r(e)}function o(){o=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),s=new D(r||[]);return a(i,"_invoke",{value:j(e,n,s)}),i}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,l,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&i.call(E,l)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,a,s,l){var c=p(e[o],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==r(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var o;a(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function i(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function s(e){i(a,r,o,s,l,"next",e)}function l(e){i(a,r,o,s,l,"throw",e)}s(void 0)}))}}n.r(t),n.d(t,{ERROR_ADDRESS_NOT_FOUND:()=>s,geoCode:()=>l,reverseGeocode:()=>c});var s="address_not_found",l=function(){var e=a(o().mark((function e(t){var n,r,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="https://nominatim.openstreetmap.org/search?q={q}&addressdetails=1&format=json&limit=1".replace("{q}",encodeURIComponent(t)),e.next=3,fetch(n);case 3:if((r=e.sent).ok){e.next=6;break}throw new Error("Failed to fetch reverse geocoding data: ".concat(r.statusText));case 6:return e.next=8,r.json();case 8:if(i=e.sent,Array.isArray(i)&&0!==i.length){e.next=11;break}throw new Error(s);case 11:return e.abrupt("return",{latitude:parseFloat(i[0].lat),longitude:parseFloat(i[0].lon)});case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),c=function(){var e=a(o().mark((function e(t){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="https://nominatim.openstreetmap.org/reverse?format=json&lat={lat}&lon={lng}".replace("{lat}",t.getLatLng().lat.toString()).replace("{lng}",t.getLatLng().lng.toString()),e.next=3,fetch(n).then(function(){var e=a(o().mark((function e(n){var r,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=n){e.next=2;break}throw new Error("Failed to fetch reverse geocoding data.");case 2:if(n.ok){e.next=4;break}throw new Error("Failed to fetch reverse geocoding data: ".concat(n.statusText));case 4:return e.next=6,n.json();case 6:"string"==typeof(r=e.sent).display_name&&(i=r.display_name,t.bindTooltip(i),t.openTooltip());case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},96651:(e,t,n)=>{"use strict";n.r(t),n.d(t,{convertGeoPointToLatLng:()=>a,convertLatLngToGeoPoint:()=>i,convertLatLngsToGeoPoints:()=>l,convertPolyLineToLatLngs:()=>s});var r=n(45243),o=n.n(r),i=function(e){return{latitude:e.lat,longitude:e.lng}},a=function(e){return new(o().LatLng)(e.latitude,e.longitude)},s=function(e){return e.map(a)},l=function(e){return e.map(i)}},97856:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GeoPointPickerFooter:()=>h});var r=n(36198),o=n(55328),i=n(30811),a=n(79195),s=n(54663),l=n(41642),c=n(48388),u=n(87043),f=n(62779);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{geoForm:(0,e.css)(r||(t=["\n .ant-input-number {\n width: 138px !important;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},95421:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GeoPointPicker:()=>c});var r=n(36198),o=n(97856),i=n(93308);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{GeoPolyDrawerFooter:()=>s});var r=n(36198),o=n(62779);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{GeoPolyDrawer:()=>c});var r=n(36198),o=n(74525),i=n(93308);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{"default-cell":(0,e.css)(r||(t=["\n display: flex;\n width: 100%;\n height: 100%;\n \n &:focus {\n outline: 1px solid ",";\n outline-offset: -1px;\n }\n\n .default-cell__content {\n display: flex;\n width: 100%;\n height: 100%;\n margin: 0 ","px; \n overflow: hidden;\n text-overflow: ellipsis;\n align-items: center;\n }\n\n &.default-cell--modified, .default-cell--modified {\n &::after {\n content: '*';\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n pointer-events: none;\n color: ",";\n padding: 3px 4px;\n font-size: 12px;\n line-height: 12px;\n border-left: 3px solid ",";\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.colorPrimaryActive,o.paddingXXS,o.colorAccentSecondary,o.colorAccentSecondary)}}))},72166:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DefaultCell:()=>h});var r=n(36198),o=n(30968),i=n(7264),a=n(6424),s=n(27526),l=n(1447);function c(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||f(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.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)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(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},r(e)}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;ts});var s=function(e,t){return i(i({},e),{},{column:i(i({},e.column),{},{columnDef:i(i({},e.column.columnDef),{},{meta:i(i({},e.column.columnDef.meta),{},{config:t})})})})}},69095:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{"icon-view":(0,e.css)(r||(t=["\n display: flex;\n justify-content: center;\n width: 100%;\n height: 100%;\n padding: 7px;\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},1704:(e,t,n)=>{"use strict";n.r(t),n.d(t,{IconView:()=>c});var r=n(36198),o=n(69095),i=n(54663);function a(e){return a="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},a(e)}function s(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 l(e,t,n){var r;return r=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e){var t=(0,o.useStyles)().styles;return r.createElement("div",{className:[t["icon-view"],"default-cell__content"].join(" ")},r.createElement(i.Icon,function(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{image:(0,e.css)(r||(t=["\n display: flex;\n justify-content: center;\n align-items: center;\n aspect-ratio: 1;\n width: 100%;\n height: 100%;\n\n &.image-cell.default-cell__content {\n margin: ","px;\n }\n\n .ant-image {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n img {\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.paddingXXS)}}),{hashPriority:"low"})},93364:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ImageView:()=>c});var r=n(36198),o=n(77395),i=n(71590);function a(e){return a="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},a(e)}function s(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 l(e,t,n){var r;return r=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e){var t=(0,o.useStyles)().styles;return r.createElement("div",{className:[t.image,"image-cell","default-cell__content"].join(" ")},r.createElement(i.PimcoreImage,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{EditableCellContext:()=>o,EditableCellContextProvider:()=>i});var r=n(36198),o=(0,r.createContext)({isInEditMode:!1,setIsInEditMode:function(e){}}),i=function(e){var t=e.children,n=e.value;return(0,r.useMemo)((function(){return r.createElement(o.Provider,{value:n},t)}),[t,n])}},42420:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useEditMode:()=>i});var r=n(36198),o=n(30968),i=function(e){var t=(0,r.useContext)(o.EditableCellContext),n=t.isInEditMode,i=t.setIsInEditMode;return{isInEditMode:n,disableEditMode:function(){i(!1)},fireOnUpdateCellDataEvent:function(t){var n;null===(n=e.table.options.meta)||void 0===n||n.onUpdateCellData({rowIndex:e.row.index,columnId:e.column.id,value:t,rowData:e.row.original})}}}},85576:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GridCell:()=>u});var r=n(74094),o=n(36198),i=n(86368);function a(e){return a="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},a(e)}function s(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 l(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{GridRow:()=>l});var r=n(36198),o=n(85576),i=["row","isSelected","modifiedCells"];function a(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=function(e){var t=e.row,n=e.isSelected,s=e.modifiedCells,l=a(e,i),c=(0,r.useMemo)((function(){return JSON.parse(s)}),[s]);return(0,r.useMemo)((function(){return r.createElement("tr",{className:["ant-table-row",t.getIsSelected()?"ant-table-row-selected":""].join(" "),key:t.id},t.getVisibleCells().map((function(e){var t,n;return r.createElement("td",{className:"ant-table-cell",key:e.id,style:!0===(null===(t=e.column.columnDef.meta)||void 0===t?void 0:t.autoWidth)?{width:"auto",minWidth:e.column.getSize()}:{width:e.column.getSize(),maxWidth:e.column.getSize()}},r.createElement(o.GridCell,{cell:e,isModified:(n=e.column.id,void 0!==c.find((function(e){return e.columnId===n}))),key:e.id,tableElement:l.tableElement}))})))}),[JSON.stringify(t),c,n,l.columns])},l=r.memo(s)},86368:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GridContext:()=>o,GridContextProvider:()=>i});var r=n(36198),o=(0,r.createContext)({table:null}),i=function(e){var t=e.table,n=e.children;return(0,r.useMemo)((function(){return r.createElement(o.Provider,{value:{table:t}},n)}),[t,n])}},24274:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{grid:(0,e.css)(r||(t=["\n display: flex; \n width: 100%;\n max-width: 100%;\n\n table {\n table-layout: fixed;\n width: auto;\n height: 0;\n }\n\n th {\n user-select: none;\n }\n\n th, td {\n line-height: 1.83;\n padding: ","px ","px;\n }\n\n &.ant-table-wrapper .ant-table.ant-table-small .ant-table-tbody>tr>td {\n padding: 0;\n }\n\n .ant-table-cell {\n position: relative;\n border-left: 1px solid ",";\n white-space: nowrap;\n text-overflow: ellipsis;\n\n &.ant-table-cell__no-data {\n padding: ","px 0px ","px ","px !important;\n }\n\n &:last-of-type {\n border-right: 1px solid #F0F0F0;\n }\n }\n\n .ant-table-thead {\n position: sticky;\n top: 0;\n z-index: 1;\n\n .grid__cell-content {\n display: flex;\n width: 100%;\n justify-content: space-between;\n align-items: center;\n }\n\n .grid__sorter {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n width: 26px;\n }\n }\n\n .ant-table-row {\n height: 41px;\n }\n\n .ant-table-content {\n table {\n border: 1px solid #F0F0F0;\n border-radius: 8px;\n }\n \n .ant-table-tbody {\n .ant-table-row:last-of-type {\n .ant-table-cell:first-of-type {\n border-bottom-left-radius: 8px;\n }\n .ant-table-cell:last-of-type {\n border-bottom-right-radius: 8px;\n }\n }\n }\n }\n\n .grid__cell-content {\n display: flex;\n width: 100%;\n height: 100%;\n \n .ant-skeleton {\n width: 100%;\n margin: 4px;\n \n .ant-skeleton-input {\n min-width: unset;\n width: 100%;\n }\n }\n }\n\n .grid__cell-content > * {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n .ant-table-row-selected td {\n background-color: ",";\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.Table.cellPaddingBlockSM,o.Table.cellPaddingInlineSM,o.Table.colorBorderSecondary,o.paddingXS,o.paddingXS,o.paddingXS,o.controlItemBgActive)}}),{hashPriority:"low"})},44587:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Grid:()=>x});var r=n(79383),o=n(74094),i=n(36198),a=n(24274),s=n(66926),l=n(72166),c=n(30811),u=n(55328),f=n(13871),d=n(96149),p=n(47636);function h(e){return h="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},h(e)}var m=["enableMultipleRowSelection","modifiedCells","sorting","manualSorting","enableSorting","enableRowSelection","selectedRows"];function g(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 y(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var x=function(e){var t,n=e.enableMultipleRowSelection,h=void 0!==n&&n,g=e.modifiedCells,v=void 0===g?[]:g,w=e.sorting,x=e.manualSorting,E=void 0!==x&&x,_=e.enableSorting,P=void 0!==_&&_,T=e.enableRowSelection,j=void 0!==T&&T,C=e.selectedRows,k=void 0===C?{}:C,A=S(e,m),D=(0,c.useTranslation)().t,L=(0,r.useCssComponentHash)("table"),R=(0,a.useStyles)().styles,M=b((0,i.useState)("onEnd"),1)[0],I=b((0,i.useState)(null!==(t=A.autoWidth)&&void 0!==t&&t),2),N=I[0],B=I[1],$=(0,i.useRef)(null),F=(0,i.useMemo)((function(){return h||j}),[h,j]),z=b((0,i.useState)(null!=w?w:[]),2),Q=z[0],V=z[1],U=(0,i.useMemo)((function(){return null!=v?v:[]}),[JSON.stringify(v)]),G=(0,i.useRef)(null);(0,i.useEffect)((function(){void 0!==w&&V(w)}),[w]);var W=(0,i.useMemo)((function(){return!0===A.isLoading?Array(5).fill({}):A.data}),[A.isLoading,A.data]),H=(0,i.useMemo)((function(){return k}),[k]),Z=(0,i.useMemo)((function(){return!0===A.isLoading?A.columns.map((function(e){return y(y({},e),{},{cell:i.createElement(u.Skeleton.Input,{active:!0,size:"small"})})})):A.columns}),[A.isLoading,A.columns]);(0,i.useMemo)((function(){F?function(){if(!te()){var e={id:"selection",header:h?function(e){var t=e.table;return i.createElement("div",{style:{display:"Flex",alignItems:"center",justifyContent:"center",width:"100%"}},i.createElement(u.Checkbox,{checked:t.getIsAllRowsSelected(),indeterminate:t.getIsSomeRowsSelected(),onChange:t.getToggleAllRowsSelectedHandler()}))}:"",cell:function(e){var t=e.row;return i.createElement("div",{style:{display:"Flex",alignItems:"center",justifyContent:"center"}},i.createElement(u.Checkbox,{checked:t.getIsSelected(),onChange:t.getToggleSelectedHandler()}))},enableResizing:!1,size:50};Z.unshift(e)}}():function(){if(te()){var e=Z.findIndex((function(e){return"selection"===e.id}));-1!==e&&Z.splice(e,1)}}()}),[Z,F,k]);var X=(0,i.useMemo)((function(){return{data:W,state:{rowSelection:H,sorting:Q},columns:Z,initialState:A.initialState,defaultColumn:{cell:l.DefaultCell},getCoreRowModel:(0,o.getCoreRowModel)(),getSortedRowModel:(0,o.getSortedRowModel)(),enableRowSelection:F,enableMultiRowSelection:h,onRowSelectionChange:ee,onSortingChange:ne,enableSorting:P,manualSorting:E,getRowId:A.setRowId,enableMultiSorting:!1,meta:{onUpdateCellData:A.onUpdateCellData}}}),[W,Z,H,A.initialState]);!0===A.resizable&&(X.columnResizeMode=M);var q=b((0,i.useState)(),2),Y=q[0],K=q[1];X.onColumnSizingInfoChange=function(e){var t=(0,o.functionalUpdate)(e,Y);if(N&&void 0!==t&&"string"==typeof(null==t?void 0:t.isResizingColumn)){var n,r,i=J.getColumn(t.isResizingColumn),a=null===(n=G.current)||void 0===n?void 0:n.clientWidth;if(!0===(null==i||null===(r=i.columnDef.meta)||void 0===r?void 0:r.autoWidth)&&void 0!==a){var s,l;if(i.columnDef.size=a,i.columnDef.meta.autoWidth=!1,void 0!==(null===(s=G.current)||void 0===s?void 0:s.clientWidth))t.startSize=null===(l=G.current)||void 0===l?void 0:l.clientWidth,t.columnSizingStart.forEach((function(e){e[1]=a}));return K(t),void B(!1)}}K(e)},(0,i.useMemo)((function(){if(N){var e,t=!1,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=O(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 new 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,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(Z);try{for(n.s();!(e=n.n()).done;){var r;if(!0===(null===(r=e.value.meta)||void 0===r?void 0:r.autoWidth)){if(t)throw new Error("Only one column can have autoWidth set to true");t=!0}}}catch(e){n.e(e)}finally{n.f()}}}),[Z,N]);var J=(0,o.useReactTable)(X);return(0,i.useMemo)((function(){return i.createElement(p.DynamicTypeRegistryProvider,{serviceIds:["DynamicTypes/GridCellRegistry"]},i.createElement("div",{className:["ant-table-wrapper",L,R.grid].join(" ")},i.createElement("div",{className:"ant-table ant-table-small"},i.createElement("div",{className:"ant-table-container"},i.createElement("div",{className:"ant-table-content"},i.createElement("table",{ref:$,style:{width:N?"100%":J.getCenterTotalSize(),minWidth:J.getCenterTotalSize()}},i.createElement("thead",{className:"ant-table-thead"},J.getHeaderGroups().map((function(e){return i.createElement("tr",{key:e.id},e.headers.map((function(e,t){var n,r;return i.createElement("th",{className:"ant-table-cell",key:e.id,ref:!0===(null===(n=e.column.columnDef.meta)||void 0===n?void 0:n.autoWidth)?G:null,style:!0!==(null===(r=e.column.columnDef.meta)||void 0===r?void 0:r.autoWidth)||e.column.getIsResizing()?{width:e.column.getSize(),maxWidth:e.column.getSize()}:{width:"auto",minWidth:e.column.getSize()}},i.createElement("div",{className:"grid__cell-content"},i.createElement("span",null,(0,o.flexRender)(e.column.columnDef.header,e.getContext())),e.column.getCanSort()&&i.createElement("div",{className:"grid__sorter"},i.createElement(d.SortButton,{allowUnsorted:void 0===w,onSortingChange:function(t){!function(e,t){if(void 0===t)return void J.setSorting([]);J.setSorting([{id:e.id,desc:t===d.SortDirections.DESC}])}(e.column,t)},value:re(e.column)}))),!0===A.resizable&&e.column.getCanResize()&&i.createElement(s.Resizer,{header:e,isResizing:e.column.getIsResizing(),table:J}))})))}))),i.createElement("tbody",{className:"ant-table-tbody"},0===J.getRowModel().rows.length&&i.createElement("tr",{className:"ant-table-row"},i.createElement("td",{className:"ant-table-cell ant-table-cell__no-data",colSpan:J.getAllColumns().length},D("no-data-available-yet"))),J.getRowModel().rows.map((function(e){return i.createElement(f.GridRow,{columns:Z,isSelected:e.getIsSelected(),key:e.id,modifiedCells:JSON.stringify((t=e.id,null!==(n=U.filter((function(e){var n=e.rowIndex;return String(n)===String(t)})))&&void 0!==n?n:[])),row:e,tableElement:$});var t,n})))))))))}),[J,v,W,Z,H,Q]);function ee(e){var t;null===(t=A.onSelectedRowsChange)||void 0===t||t.call(A,e)}function te(){return Z.some((function(e){return"selection"===e.id}))}function ne(e){void 0===A.onSortingChange?V(e):A.onSortingChange(e)}function re(e){var t,n=null===(t=Q.find((function(t){return t.id===e.id})))||void 0===t?void 0:t.desc;if(void 0!==n)return n?d.SortDirections.DESC:d.SortDirections.ASC}}},6424:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useKeyboardNavigation:()=>o});var r=n(91034),o=function(e){var t=(0,r.useGrid)().tableElement;return{handleArrowNavigation:function(n){var r=e.row.index,o=e.column.getIndex();if(["ArrowDown","ArrowUp","ArrowLeft","ArrowRight"].includes(n.key)){if(n.preventDefault(),"ArrowDown"===n.key)r++;else if("ArrowUp"===n.key)r--;else if("ArrowLeft"===n.key){var i=function(e){if(0===e)return;return e-1}(o);void 0!==i&&(o=i)}else if("ArrowRight"===n.key){var a=function(t){var n=e.table.getAllColumns();if(t===n.length-1)return;return t+1}(o);void 0!==a&&(o=a)}if(null!==(null==t?void 0:t.current)){var s=t.current.querySelector('[data-grid-row="'.concat(r,'"][data-grid-column="').concat(o,'"]'));if(null===s)return;s.focus();var l=document.createRange(),c=window.getSelection();l.setStart(s,0),null==c||c.removeAllRanges(),null==c||c.addRange(l)}}}}}},65106:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{resizer:(0,e.css)(r||(t=["\n &.grid__resizer {\n position: absolute;\n right: -4px;\n top: 0;\n bottom: 0;\n width: 8px;\n z-index: 1;\n background-color: transparent;\n\n &--resizing {\n background-color: ",";\n width: 2px;\n right: -1px;\n }\n\n &--hoverable {\n cursor: col-resize;\n }\n }\n\n &:focus {\n outline: none;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.colorPrimary)}}),{hashPriority:"low"})},66926:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Resizer:()=>f});var r=n(36198),o=n(65106),i=n(30811);function a(e){return a="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},a(e)}function s(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 l(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{useGrid:()=>i});var r=n(36198),o=n(86368),i=function(){var e=(0,r.useContext)(o.GridContext).table;return(0,r.useMemo)((function(){return{tableElement:e}}),[e])}},26388:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{header:(0,e.css)(r||(t=["\n display: flex;\n width: 100%;\n height: 32px;\n min-height: 32px;\n align-items: center;\n gap: 8px;\n\n .header__title {\n font-weight: 600;\n color: ",";\n white-space: nowrap;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.colorPrimary)}}),{hashPriority:"low"})},41161:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Header:()=>a});var r=n(36198),o=n(48324),i=n(26388),a=function(e){var t=(0,i.useStyles)().styles,n=e.icon,a=e.title,s=e.children;return r.createElement("div",{className:t.header},r.createElement("span",{className:"header__text"},r.createElement(o.Title,{icon:n},a)),r.createElement("div",{className:"header__content"},s))}},48035:(e,t,n)=>{"use strict";var r,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyles:()=>a});var a=(0,n(99291).createStyles)((function(e,t){var n=e.css,a=t.scrollWidth,s=t.hideElement;return{scrollContainer:n(r||(r=i(["\n visibility: ",";\n display: flex;\n overflow-x: auto;\n "])),!0===s?"hidden":"visible"),scroll:n(o||(o=i(["\n overflow-x: auto;\n white-space: nowrap;\n ","\n\n &::-webkit-scrollbar {\n display: none;\n }\n "])),null!=a?"width: ".concat(a,"px;"):"")}}))},67892:(e,t,n)=>{"use strict";n.r(t),n.d(t,{HorizontalScroll:()=>c});var r=n(36198),o=n(48035),i=n(27027),a=n(55328);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=n),O(l.current.scrollWidth>l.current.clientWidth),x(l.current.clientWidth<50)}};(0,r.useEffect)((function(){if(null!==l.current){_(),l.current.addEventListener("scroll",_);var e=new ResizeObserver((function(){_()})),t=new MutationObserver((function(){_()}));return e.observe(l.current),t.observe(l.current,{childList:!0,subtree:!0}),function(){var n;null===(n=l.current)||void 0===n||n.removeEventListener("scroll",_),e.disconnect(),t.disconnect(),f(null)}}}),[]);var P=function(e){if(null===u){var t=setInterval((function(){if(null!==l.current){var t="left"===e?-50:50;l.current.scrollBy({left:t,behavior:"smooth"})}}),30);f(t)}},T=function(){P("left")},j=function(){P("right")},C=function(){null!==u&&(clearInterval(u),f(null))},k=function(e){"Enter"!==e.key&&" "!==e.key||C()},A=function(e,t){"Enter"!==e.key&&" "!==e.key||("left"===t?T():"right"===t&&j())};return r.createElement(a.Flex,{align:"center",className:["horizontal-scroll",E.scrollContainer].join(" ")},b&&r.createElement(i.IconButton,{disabled:p,icon:{value:"chevron-left",options:{height:18,width:18}},onKeyDown:function(e){A(e,"left")},onKeyUp:k,onMouseDown:T,onMouseLeave:C,onMouseUp:C,theme:"secondary"}),r.createElement(a.Flex,{align:"center",className:[E.scroll,"w-full"].join(" "),ref:l},t),b&&r.createElement(i.IconButton,{disabled:g,icon:{value:"chevron-right",options:{height:18,width:18}},onKeyDown:function(e){A(e,"right")},onKeyUp:k,onMouseDown:j,onMouseLeave:C,onMouseUp:C,theme:"secondary"}))}},37279:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{button:(0,e.css)(r||(t=["\n padding: 6px;\n height: 32px;\n width: 32px;\n line-height: 0;\n\n &.icon-button--theme-secondary {\n color: ",";\n }\n \n &.icon-button--hide-shadow {\n box-shadow: none;\n }\n\n &.icon-button--variant-minimal {\n padding: 0;\n width: auto;\n height: auto;\n }\n\n &.icon-button--variant-static {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 1px solid ",";\n background-color: ",";\n border-radius: ",";\n\n &:hover, &:disabled, &:active {\n border-color: "," !important;\n }\n\n &:focus-visible {\n outline: none !important;\n outline-offset: 0 !important;\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.colorText,o.colorBorderContainer,o.IconButton.colorBgContainer,o.IconButton.borderRadiusSM,o.colorBorderContainer)}}))},27027:(e,t,n)=>{"use strict";n.r(t),n.d(t,{IconButton:()=>g});var r=n(36198),o=n(93967),i=n.n(o),a=n(71816),s=n(54663),l=n(37279);function c(e){return c="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},c(e)}var u=["children","icon","type","theme","hideShadow","variant","className"];function f(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 d(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var m=function(e,t){e.children;var n=e.icon,o=e.type,c=void 0===o?"link":o,f=e.theme,p=void 0===f?"primary":f,m=e.hideShadow,g=void 0!==m&&m,y=e.variant,v=e.className,b=h(e,u),O=(0,l.useStyles)().styles,w=i()(O.button,"icon-button--theme-".concat(p),"icon-button--variant-".concat(y),{"icon-button--hide-shadow":g},v);return r.createElement(a.Button,d(d({type:c},b),{},{className:w,ref:t}),r.createElement(s.Icon,d({},n)))},g=(0,r.forwardRef)(m)},62833:(e,t,n)=>{"use strict";n.r(t),n.d(t,{IconTextButton:()=>p});var r=n(71816),o=n(36198),i=n(54663),a=n(55328);function s(e){return s="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},s(e)}var l=["icon","children","iconOptions","iconPlacement"];function c(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 u(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var p=function(e){var t=e.icon,n=e.children,s=(e.iconOptions,e.iconPlacement),c=void 0===s?"left":s,f=d(e,l);return o.createElement(r.Button,u({},f),o.createElement(a.Flex,{align:"center",gap:6,justify:"center"},"left"===c&&o.createElement(i.Icon,u({},t)),o.createElement("span",null,n),"right"===c&&o.createElement(i.Icon,u({},t))))}},54663:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Icon:()=>d});var r=n(81690),o=n(36198),i=n(54088);function a(e){return a="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},a(e)}var s=["value","type","options","className"];function l(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 c(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var d=function(e){var t,n,a=e.value,l=e.type,u=void 0===l?"name":l,d=e.options,p=e.className,h=f(e,s),m=(0,r.useInjection)(i.serviceIds.iconLibrary),g=null!==(t=null==d?void 0:d.width)&&void 0!==t?t:16,y=null!==(n=null==d?void 0:d.height)&&void 0!==n?n:16;return o.createElement("div",c({className:"pimcore-icon pimcore-icon-".concat(a," anticon ").concat(p),style:{width:g,height:y}},h),function(){if("path"===u)return o.createElement("img",{alt:"foo",src:a,style:{width:g,height:y}});var e=m.get(a);return void 0===e?o.createElement("div",{style:{width:g,height:y}}):o.createElement(e,c({height:y,width:g},d))}())}},17812:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{imageTargetContainer:(0,e.css)(r||(t=["\n border-radius: ","px;\n border: 1px dashed ",";\n background: ",";\n padding: ","px;\n \n .image-target-title {\n text-align: center;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.borderRadiusLG,o.colorBorder,o.controlItemBgHover,o.paddingSM)}}))},36529:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ImageTarget:()=>c});var r=n(36198),o=n(47259),i=n(17812),a=n(93967),s=n.n(a),l=n(16437),c=function(e){var t=e.title,n=e.width,a=e.height,c=e.className,u=(0,i.useStyle)().styles;return r.createElement(o.Flex,{align:"center",className:s()(c,u.imageTargetContainer),justify:"center",style:{maxWidth:(0,l.toCssDimension)(n),height:(0,l.toCssDimension)(a)}},r.createElement("div",{className:"image-target-title"},t))}},6029:(e,t,n)=>{"use strict";var r,o,i,a;function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyle:()=>l});var l=(0,n(99291).createStyles)((function(e){var t=e.token,n=e.css;return{imageZoomContainer:n(r||(r=s(["\n display: flex;\n gap: 5px\n "]))),imageZoom:n(o||(o=s(["\n .ant-select {\n min-width: 70px;\n text-align: center;\n\n .ant-select-selector {\n border: 1px solid ",";\n\n .ant-select-selection-item {\n padding-inline-end: unset;\n }\n }\n\n .ant-select-arrow {\n display: none;\n }\n }\n "])),t.Button.defaultBorderColor),imageZoomBtn:n(i||(i=s(["\n border: 1px solid ",";\n box-shadow: none !important;\n width: ","px;\n height: ","px;\n padding: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n\n .pimcore-icon {\n display: flex;\n }\n\n &:disabled {\n background: ",";\n }\n "])),t.Button.defaultBorderColor,t.controlHeight,t.controlHeight,t.colorBgContainer),imageZoomResetBtn:n(a||(a=s(["\n border: 1px solid ",";\n box-shadow: none !important;\n width: auto;\n height: ","px;\n "])),t.Button.defaultBorderColor,t.controlHeight)}}))},99915:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ImageZoom:()=>d});var r=n(36198),o=n(30811),i=n(55328),a=n(54663),s=n(6029),l=n(38576),c=n(58664);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=500&&m(!0),h&&t<500&&m(!1),t<=25&&v(!0),y&&t>25&&v(!1)}),[t]),r.createElement("div",{className:b.imageZoomContainer},100!==t&&r.createElement(i.Button,{"aria-label":O("aria.asset.image.editor.zoom.reset"),className:b.imageZoomResetBtn,onClick:function(){n(100)},onKeyDown:l.onKeyEnterExecuteClick},O("asset.image.editor.zoom.reset")),r.createElement(i.Space.Compact,{className:b.imageZoom},r.createElement(i.Button,{"aria-disabled":y,"aria-label":O("aria.asset.image.editor.zoom.zoom-out"),className:b.imageZoomBtn,disabled:y,onClick:function(){n(t-d)},onKeyDown:l.onKeyEnterExecuteClick},r.createElement(a.Icon,{value:"MinusOutlined"})),r.createElement(c.Select,{"aria-label":O("aria.asset.image.editor.zoom.preconfigured-zoom-levels"),defaultActiveFirstOption:!0,defaultValue:"100",onChange:function(e){n(parseInt(e))},options:[{value:"100",label:"100%"},{value:"125",label:"125%"},{value:"150",label:"150%"},{value:"175",label:"175%"},{value:"200",label:"200%"},{value:"225",label:"225%"},{value:"250",label:"250%"}],value:"".concat(t,"%")}),r.createElement(i.Button,{"aria-disabled":h,"aria-label":O("aria.asset.image.editor.zoom.zoom-in"),className:b.imageZoomBtn,disabled:h,onClick:function(){n(t+d)},onKeyDown:l.onKeyEnterExecuteClick},r.createElement(a.Icon,{value:"PlusOutlined"}))))}},79701:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{languageSelect:(0,e.css)(r||(t=["\n display: flex;\n gap: 2px;\n align-items: center;\n justify-content: center;\n height: 32px;\n\n button {\n width: 20px;\n height: 20px;\n color: ",";\n padding: 2px;\n }\n\n .language-select__current-value {\n display: flex;\n align-items: center;\n justify-content: center;\n text-transform: uppercase;\n gap: 2px;\n width: 45px;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.colorText)}}))},68034:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LanguageSelection:()=>u,transformLanguage:()=>c});var r=n(71816),o=n(36198),i=n(54663),a=n(79701);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{form:(0,e.css)(r||(t=["\n form {\n display: flex;\n flex-direction: column;\n gap: 8px;\n font-family: Lato, sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 22px;\n\n .flex-space {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .ant-btn-link {\n color: ",";\n\n &:hover {\n color: ",";\n }\n }\n }\n \n .login__additional-logins {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 8px;\n \n .ant-btn {\n width: 100%;\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.colorPrimary,o.colorPrimaryHover)}}))},65437:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LoginForm:()=>w});var r=n(55328),o=n(71816),i=n(36198),a=n(47170),s=n(45007),l=n(78078),c=n(30811),u=n(4362),f=n(54663),d=n(37150);function p(e){return p="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},p(e)}function h(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 m(e){for(var t=1;t=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function v(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStlyes:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{logo:(0,e.css)(r||(t=["\n padding: 13px 16px 0 16px;\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},82595:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Logo:()=>a});var r=n(36198),o=n(69922),i=n(96574),a=function(){var e=(0,i.useStlyes)().styles;return r.createElement("div",{className:["logo",e.logo].join(" ")},r.createElement(o.default,{color:"#333",fill:"#ff0000",height:24,width:24}))}},70095:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{message:(0,e.css)(r||(t=["\n .ant-message-custom-content {\n font-family: Lato,serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 22px;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},78078:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useMessage:()=>f});var r=n(55328),o=n(54663),i=n(36198),a=n(70095);function s(e){return s="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},s(e)}function l(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 c(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{useAlertModal:()=>s});var r=n(55328),o=n(54663),i=n(36198),a=n(30811),s=function(){var e=r.App.useApp().modal,t=(0,a.useTranslation)().t;return(0,i.useMemo)((function(){return{info:function(n){var r=n.content;return e.info({title:t("info"),content:r})},error:function(n){var r=n.content;return e.error({title:t("error"),content:r})},warn:function(n){var r=n.content;return e.warning({icon:i.createElement(o.Icon,{value:"exclamation-circle-filled"}),title:t("warning"),content:r})}}}),[])}},69703:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{footer:(0,e.css)(r||(t=["\n &.--divider {\n padding-top: 10px;\n border-top: 1px solid ","\n }\n \n .ant-btn-link {\n color: ",";\n margin: 0;\n padding: 0;\n\n &:hover {\n color: ",";\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.Divider.colorSplit,o.colorPrimary,o.colorPrimaryHover)}}),{hashPriority:"low"})},16826:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ModalFooter:()=>d});var r=n(36198),o=n(69703),i=n(47259);function a(e){return a="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},a(e)}var s=["justify","divider"],l=["children"];function c(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 u(e,t,n){var r;return r=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var d=function(e){var t=e.justify,n=void 0===t?"flex-end":t,a=e.divider,d=void 0!==a&&a,p=f(e,s),h=(0,o.useStyle)().styles,m=p.children,g=f(p,l),y=["ant-modal-footer-container ".concat(h.footer)].filter(Boolean);return d&&y.push("--divider"),r.createElement(i.Flex,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{useFormModal:()=>b,withConfirm:()=>w,withInput:()=>O});var r=n(36198),o=n(55328),i=n(86536),a=n(36609),s=n(79195);function l(e){return l="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},l(e)}var c=["label","rule","initialValue"];function u(){u=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==l(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function f(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function d(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 p(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{ModalTitle:()=>l});var r=n(55328),o=n(36198),i=n(54663),a=["iconName"];function s(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=function(e){var t=e.iconName,n=s(e,a);return o.createElement(r.Flex,{gap:"small"},void 0!==t&&o.createElement(i.Icon,{options:{width:20,height:20},value:t}),o.createElement("span",null,n.children))}},92810:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{modal:(0,e.css)(r||(t=["\n &.ant-modal .ant-modal-footer > .ant-btn + .ant-btn {\n margin-inline-start: 0;\n }\n\n .ant-modal-content {\n width: 100%;\n display: inline-flex;\n flex-direction: column;\n align-items: start;\n gap: ","px;\n\n .ant-modal-header {\n margin-bottom: 0;\n\n .ant-modal-title {\n font-size: 16px;\n font-weight: 900;\n line-height: 24px;\n display: flex;\n gap: 4px;\n }\n }\n\n .ant-modal-footer {\n width: 100%;\n }\n\n .ant-modal-body {\n width: 100%;\n line-height: 22px;\n\n & > p {\n margin: 0;\n }\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.marginSM)}}),{hashPriority:"low"})},55381:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Modal:()=>d});var r=n(55328),o=n(36198),i=n(92810),a=n(31090);function s(e){return s="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},s(e)}var l=["iconName","size","className","title","children"];function c(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 u(e,t,n){var r;return r=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var d=function(e){var t=e.iconName,n=e.size,s=void 0===n?"M":n,d=e.className,p=e.title,h=e.children,m=f(e,l),g=[(0,i.useStyle)().styles.modal,d].filter(Boolean),y={L:700,M:530}[s];return o.createElement(r.Modal,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{useModal:()=>y,withError:()=>v,withInfo:()=>O,withSuccess:()=>b,withWarn:()=>w});var r=n(36198),o=n(55381);function i(e){return i="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},i(e)}var a=["children"],s=["children"],l=["children"],c=["children"],u=["children"];function f(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 d(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{type:"default"},t=m((0,r.useState)(!1),2),n=t[0],i=t[1],s=function(){i(!1)},l=function(){s()},c=function(){s()};return{renderModal:function(t){var i=t.children,s=h(t,a),u=function(e){var t=o.Modal;switch(e){case"error":t=v(o.Modal);break;case"success":t=b(o.Modal);break;case"info":t=O(o.Modal);break;case"warn":t=w(o.Modal)}return t}(e.type);return r.createElement(u,d({onCancel:c,onOk:l,open:n},s),i)},showModal:function(){i(!0)},handleOk:l,handleCancel:c,closeModal:s}},v=function(e){return function(t){var n=t.children,o=h(t,s);return r.createElement(e,d({iconName:"close-circle-filled",title:"Error"},o),n)}},b=function(e){return function(t){var n=t.children,o=h(t,l);return r.createElement(e,d({iconName:"check-circle-filled",title:"Success"},o),n)}},O=function(e){return function(t){var n=t.children,o=h(t,c);return r.createElement(e,d({iconName:"info-circle-filled",title:"Info"},o),n)}},w=function(e){return function(t){var n=t.children,o=h(t,u);return r.createElement(e,d({iconName:"exclamation-circle-filled",title:"Warn"},o),n)}}},50868:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{content:(0,e.css)(r||(t=["\n .ant-empty-image {\n margin-bottom: ","px;\n height: auto;\n }\n \n .ant-empty-description {\n padding: 5px ","px;\n font-size: 14px;\n color: ",";\n line-height: 20px;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.marginXS,o.controlPaddingHorizontal,o.Empty.colorTextDisabled)}}))},32859:(e,t,n)=>{"use strict";n.r(t),n.d(t,{NoContent:()=>s});var r=n(55328),o=n(50868),i=n(36198),a=n(54663),s=function(e){var t=e.text,n=(0,o.useStyle)().styles;return i.createElement("div",{className:n.content},i.createElement(r.Empty,{description:t,image:i.createElement(a.Icon,{options:{width:184,height:123},value:"no-content"})}))}},70881:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{notification:(0,e.css)(r||(t=["\n .ant-notification-notice-content { \n .ant-notification-notice-message {\n color: ",";\n font-size: 16px !important;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n margin-bottom: ","\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.colorText,o.marginXS)}}),{hashPriority:"low"})},2545:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useNotification:()=>c});var r=n(55328),o=n(70881);function i(e){return i="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},i(e)}function a(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 s(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{NumericRange:()=>v,validateOneFieldEmpty:()=>g,validateSecondValueGreater:()=>y});var r=n(36198),o=n(55328),i=n(47259),a=n(36609);function s(e){return s="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},s(e)}function l(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 c(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function h(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function m(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){h(i,r,o,a,s,"next",e)}function s(e){h(i,r,o,a,s,"throw",e)}a(void 0)}))}}var g=function(){var e=m(p().mark((function e(t,n){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==n){e.next=4;break}return e.next=3,Promise.resolve();case 3:return e.abrupt("return");case 4:if(null!==n[0]){e.next=7;break}return e.next=7,Promise.reject(Error((0,a.t)("form.validation.numeric-range.first-value-missing")));case 7:if(null!==n[1]){e.next=10;break}return e.next=10,Promise.reject(Error((0,a.t)("form.validation.numeric-range.second-value-missing")));case 10:return e.next=12,Promise.resolve();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),y=function(){var e=m(p().mark((function e(t,n){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g(t,n);case 2:if(null!==n){e.next=4;break}return e.abrupt("return");case 4:if(!(n[0]>n[1])){e.next=7;break}return e.next=7,Promise.reject(Error((0,a.t)("form.validation.numeric-range.second-value-greater")));case 7:return e.next=9,Promise.resolve();case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),v=function(e){var t,n=f((0,r.useState)(null!==(t=e.value)&&void 0!==t?t:null),2),a=n[0],s=n[1];(0,r.useEffect)((function(){void 0!==e.onChange&&e.onChange(a)}),[a]);var l=function(e,t){s((function(n){null===n&&(n=[null,null]);var r=0===e?[t,n[1]]:[n[0],t];return null===r[0]&&null===r[1]?null:r}))};return r.createElement(i.Flex,{align:"center",className:e.className,gap:"mini"},r.createElement(o.InputNumber,c(c({},e),{},{onChange:function(e){l(0,e)},value:null!==a?a[0]:null})),r.createElement("div",null,"–"),r.createElement(o.InputNumber,c(c({},e),{},{onChange:function(e){l(1,e)},value:null!==a?a[1]:null})))}},63097:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{"editable-container":(0,e.css)(r||(t=["\n position: relative;\n height: 30px;\n\n .input-field {\n font-family: Lato, sans-serif;\n font-size: 12px;\n text-align: center;\n line-height: ","px;\n\n border-radius: ","px;\n border-color: ",';\n background-color: white;\n\n /* Firefox */\n -moz-appearance: textfield;\n }\n\n .input-field:focus-visible {\n outline: none;\n }\n\n /* Chrome, Safari, Edge, Opera */\n\n .input-field::-webkit-outer-spin-button,\n .input-field::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n & button[type="button"], .input-field {\n display: block;\n position: absolute;\n top: 0;\n inset-inline-end: 0;\n bottom: 0;\n inset-inline-start: 0;\n padding: unset;\n margin: auto;\n\n width: ',"px;\n height: ","px;\n }\n\n .input-field.remove-decoration {\n border: none;\n background: none;\n }\n\n & button.inline-label.display-none, & button.inline-label-dots.display-none, & input.input-field.display-none {\n display: none;\n }\n\n button.inline-label-dots {\n border: none;\n }\n\n button.inline-label-dots, button.inline-label {\n font-family: Lato, sans-serif;\n line-height: 30px;\n text-align: center;\n vertical-align: text-bottom;\n box-shadow: none;\n background-color: transparent;\n cursor: text;\n }\n\n button.inline-label {\n color: ",";\n border: 1px solid ",";\n border-radius: ","px;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.controlHeight,o.borderRadius,o.colorBorder,o.controlHeight,o.controlHeight,o.colorPrimary,o.colorPrimary,o.borderRadius)}}),{hashPriority:"low"})},9537:(e,t,n)=>{"use strict";n.r(t),n.d(t,{InlineTextfield:()=>f});var r,o=n(36198),i=n(63097),a=n(38576),s=n(71816),l=n(54663);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{pagination:(0,e.css)(r||(t=["\n .ant-pagination .ant-pagination-item {\n padding: unset;\n margin-top: unset;\n margin-bottom: unset;\n vertical-align: middle;\n }\n\n button.page-number-node {\n color: black;\n text-align: center;\n vertical-align: text-bottom;\n box-shadow: none;\n padding: 0 2px 2px 0;\n border: none;\n }\n\n button.page-number-node, .ant-pagination .ant-pagination-item {\n width: ","px;\n height: ","px;\n background-color: transparent;\n }\n \n & .ant-pagination-item-active span {\n color: ",";\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.controlHeight,o.controlHeight,o.colorPrimary)}}),{hashPriority:"low"})},38549:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Pagination:()=>g});var r=n(36198),o=n(79383),i=n(23236),a=n(54663),s=n(71816),l=n(73217),c=n(38576),u=n(55893),f=n(9537);function d(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||h(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.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)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=N){var F=d(Array(N).keys()).map((function(e){return e+1}));B.push.apply(B,d($(F)))}else{var z=function(e){if(e<=0)return[];var t=Math.floor(e/2);return d(Array(t).keys()).map((function(e){return e+1}))}(E),Q=function(e,t){if(e<=0)return[];var n=Math.floor(e/2);e%2==0&&n--;var r=t-n+1;return d(Array(n).keys()).map((function(e){return e+r}))}(E,N);if(B.push.apply(B,d($(z))),N>3){B.push(r.createElement("li",{className:"ant-pagination-item",key:"page-jumper"},r.createElement(f.InlineTextfield,{onKeyDown:function(e){if("Enter"===e.key){var t=Number(e.target.value);t>0&&t<=N?L(t):t<1?L(1):t>N&&L(N),e.target.value="",e.target.blur()}},showDotsValues:[].concat(d(z.map(String)),d(Q.map(String))),value:null==D?void 0:D.toString()})))}B.push.apply(B,d($(Q)))}return r.createElement("div",{className:C.pagination},r.createElement("ul",{className:"ant-pagination "+k},(0,c.isSet)(T)&&r.createElement(b,{showTotal:T,total:t}),r.createElement(y,{currentPage:D,onClickPrev:function(){L(D-1)}}),B,r.createElement(v,{currentPage:D,onClickNext:function(){L(D+1)},pages:N}),S&&r.createElement("li",{className:"ant-pagination-options",key:"page-jumper"},r.createElement(u.SizeChanger,{defaultSize:m,handleChange:function(e){I(e),L(1)},label:l.default.t("pagination.page"),sizeOptions:O}))))};function y(e){var t=e.currentPage,n=e.onClickPrev;return r.createElement("li",{className:"ant-pagination-prev ".concat(1===t?"ant-pagination-disabled":"")},r.createElement(s.Button,{className:"ant-pagination-item-link",disabled:1===t,icon:r.createElement(a.Icon,{options:{width:10,height:10},value:"left-outlined"}),onClick:n,size:"small",type:"text"}))}function v(e){var t=e.currentPage,n=e.pages,o=e.onClickNext;return r.createElement("li",{className:"ant-pagination-next ".concat(t===n?"ant-pagination-disabled":"")},r.createElement(s.Button,{className:"ant-pagination-item-link",disabled:t===n,icon:r.createElement(a.Icon,{options:{width:10,height:10},value:"right-outlined"}),onClick:o,size:"small",type:"text"}))}function b(e){var t=e.total,n=e.showTotal;return r.createElement("li",{className:"ant-pagination-total-text"},n(t))}},55893:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SizeChanger:()=>s});var r=n(36198),o=n(58664);function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(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 new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{Paragraph:()=>l});var r=n(36198);function o(e){return o="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},o(e)}function i(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 a(e,t,n){var r;return r=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==o(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=n(55328).Typography.Paragraph,l=function(e){return r.createElement(s,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{PimcoreAudio:()=>i});var r=n(36198),o=n(30811),i=function(e){var t=e.sources,n=e.tracks,i=e.className,a=(0,o.useTranslation)().t;return r.createElement("audio",{className:i,controls:!0},t.map((function(e,t){return r.createElement("source",{key:t,src:e.src,type:e.type})})),null==n?void 0:n.map((function(e,t){return r.createElement("track",{key:t,kind:e.kind,label:e.label,src:e.src,srcLang:e.srcLang})})),a("asset.preview.no-audio-support"))}},93398:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{"document-container":(0,e.css)(r||(t=["\n width: 100%;\n height: 100%;\n .loading-div {\n position: absolute;\n top: calc(50% - 11px);\n left: calc(50% - 8px);\n }\n \n .display-none {\n display: none;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},82626:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PimcoreDocument:()=>i});var r=n(36198),o=n(93398),i=function(e){var t=e.src,n=e.className,i=(0,o.useStyle)().styles;return r.createElement("div",{className:[i["document-container"],n].join(" ")},r.createElement("iframe",{src:t,title:t}))}},87398:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{image:(0,e.css)(r||(t=["\n transition: transform ","s;\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.motionDurationFast)}}),{hashPriority:"low"})},71590:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PimcoreImage:()=>u});var r=n(55328),o=n(36198),i=n(87398),a=n(77474);function s(e){return s="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},s(e)}function l(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 c(e,t,n){var r;return r=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(e){var t=(0,i.useStyle)().styles,n=(0,o.useContext)(a.ZoomContext).zoom;return o.createElement(r.Image,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{PimcoreVideo:()=>a});var r=n(36198),o=n(30811),i=n(74529),a=function(e){var t=e.sources,n=e.tracks,a=e.width,s=e.height,l=e.className,c=e.poster,u=(0,o.useTranslation)().t,f=(0,r.useContext)(i.VideoContext).setPlayerPosition;return r.createElement("video",{className:l,controls:!0,height:s,key:t[0].src,onTimeUpdate:function(e){var t=e.target;f(t.currentTime)},poster:c,width:a},t.map((function(e,t){return r.createElement("source",{key:t,src:e.src,type:e.type})})),null==n?void 0:n.map((function(e,t){return r.createElement("track",{key:t,kind:e.kind,label:e.label,src:e.src,srcLang:e.srcLang})})),u("asset.preview.no-video-support"))}},8663:(e,t,n)=>{"use strict";var r,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyles:()=>a});var a=(0,n(99291).createStyles)((function(e){var t=e.css,n=e.token;return{infoIcon:t(r||(r=i(["\n color: rgba(0, 0, 0, 0.45);\n cursor: pointer;\n "]))),link:t(o||(o=i(["\n color: ",";\n }\n "])),n.colorTextLightSolid)}}))},13862:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PQLQueryInput:()=>m});var r=n(36198),o=n(55328),i=n(96486),a=n(96330),s=n(47259),l=n(99401),c=n(94617),u=n(8663),f=n(54663);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{card:(0,e.css)(r||(t=["\n &.ant-card {\n height: 103px;\n cursor: pointer;\n }\n\n &.card-medium {\n height: 150px;\n }\n \n &.ant-card .ant-card-body {\n padding: ","px ","px;\n margin-top: 7px;\n margin-bottom: 7px;\n width: 166px;\n }\n \n &.ant-card .ant-card-meta-title {\n font-weight: normal;\n }\n\n .checkbox, .checkbox-medium {\n position: absolute;\n top: ","px;\n left: ","px;\n }\n\n .checkbox-medium {\n left: ","px;\n }\n\n .dots-button, .dots-button-medium {\n position: absolute;\n top: ","px;\n right: ","px;\n }\n\n .dots-button-medium {\n right: ","px;\n }\n \n .dropdown-menu__icon {\n vertical-align: text-bottom;\n }\n\n .dots-button-open-dropdown:not(:disabled):not(.ant-btn-disabled):hover {\n background-color: ",";\n color: white;\n }\n\n .ant-card-cover .img-container, .ant-card-cover .img-container-medium {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n \n .ant-card-cover .img-container {\n height: 64px;\n width: 170px;\n }\n\n .ant-image .ant-image-img.img, .ant-image .ant-image-img.img-medium {\n border-radius: unset;\n margin-top: 3px;\n }\n \n .ant-image .ant-image-img.img {\n max-height: 61px;\n max-width: 168px;\n }\n\n .ant-card-cover .img-container-medium {\n height: 109px;\n width: 236px;\n }\n\n .ant-image .ant-image-img.img-medium {\n max-height: 106px;\n max-width: 234px;\n }\n\n .menu-icon {\n margin-right: ","px;\n }\n\n .flexbox-start-end {\n display: flex;\n justify-content: space-between;\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.paddingXXS,o.paddingXS,o.paddingXXS,o.paddingXXS,o.paddingXS,o.paddingXXS,o.paddingXXS,o.paddingXS,o.Button.defaultColor,o.marginXS)}}),{hashPriority:"low"})},94414:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PreviewCard:()=>p,SizeTypes:()=>r});var r,o=n(55328),i=n(36198),a=n(95955),s=n(46256),l=n(54663),c=n(41642),u=n(71590);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{progressbar:(0,e.css)(r||(t=["\n padding-bottom: ","px; \n \n .progressbar-description {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-end;\n \n p {\n color: ",";\n margin: 0;\n font-size: 12px;\n font-weight: 400;\n line-height: 22px;\n }\n\n .progressbar-description__action {\n .ant-btn {\n color: ",";\n height: ","px;\n display: flex;\n justify-content: center;\n padding: 0 ","px;\n align-items: flex-end;\n\n &:hover {\n color: ","\n }\n }\n }\n }\n \n .ant-progress {\n margin-bottom: 0;\n \n .ant-progress-bg {\n background: ","; \n }\n }\n\n .progressbar-status {\n p {\n color: ",";\n font-size: 12px;\n font-weight: 400;\n line-height: 22px;\n margin: 0;\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.marginXXS,o.colorTextTertiary,o.colorPrimary,o.controlHeight,o.paddingXXS,o.colorPrimaryHover,o.colorTextDescription,o.colorTextSecondary)}}),{hashPriority:"low"})},10959:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Progressbar:()=>d});var r=n(55328),o=n(36198),i=n(25370);function a(e){return a="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},a(e)}var s=["progressStatus","description","descriptionAction"];function l(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 c(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var d=function(e){var t=e.progressStatus,n=e.description,a=e.descriptionAction,l=f(e,s),u=(0,i.useStyle)().styles;return o.createElement("div",{className:u.progressbar},o.createElement("div",{className:"progressbar-description"},o.createElement("p",{id:"progressbarLabel"},n),o.createElement("div",{className:"progressbar-description__action"},a)),o.createElement(r.Progress,c(c({},l),{},{"aria-labelledby":"progressbarLabel",showInfo:!1,status:"normal"})),o.createElement("div",{className:"progressbar-status"},o.createElement("p",null,t)))}},43039:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e,t){e.token;var n,o,i=e.css,a=t.region;return{regionItem:i(r||(n=["\n grid-area: ",";\n "],o||(o=n.slice(0)),r=Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(o)}}))),a)}}))},13355:(e,t,n)=>{"use strict";n.r(t),n.d(t,{RegionItem:()=>d});var r=n(43039),o=n(36198),i=n(93967),a=n.n(i);function s(e){return s="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},s(e)}var l=["region","component"];function c(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 u(e,t,n){var r;return r=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var d=function(e){e.region;var t=e.component,n=f(e,l),i=(0,r.useStyles)(e).styles,s=a()(i.regionItem);return o.createElement("div",function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{useStyles:()=>a});var r,o=n(99291),i=n(17368);var a=(0,o.createStyles)((function(e,t){e.token;var n=e.css,o=t.layoutDefinition,a=t.items,s=o.map((function(e){return'"'.concat(e,'"')})).join(" "),l=a.map((function(e){return{region:e.region,maxWidth:e.maxWidth}})),c=[];o.forEach((function(e){e.split(" ").forEach((function(e,t){var n,r=null===(n=l.find((function(t){return t.region===e})))||void 0===n?void 0:n.maxWidth;Array.isArray(c[t])||(c[t]=[]);var o=Number(null!=r?r:"0"),i=!isNaN(o);void 0!==r&&(""!==r&&"0"!==r&&!i||i&&o>0)&&(i?c[t].push("".concat(o,"px")):c[t].push(r))}))}));var u,f,d=c.map((function(e){return 0===e.length?"1fr":"max(".concat(e.join(","),")")})).join(" ");return{region:n(r||(u=["\n display: flex;\n flex-direction: column;\n // @todo make this configurable\n gap: 12px;\n\n // @todo we should introduce a predefined set of breakpoints\n @container "," (min-width: 768px) {\n display: grid;\n grid-template-areas: ",";\n grid-template-columns: ",";\n }\n "],f||(f=u.slice(0)),r=Object.freeze(Object.defineProperties(u,{raw:{value:Object.freeze(f)}}))),i.cssContainerWidget.name,s,d)}}))},65286:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Region:()=>l});var r=n(36198),o=n(10499),i=n(93967),a=n.n(i),s=n(13355),l=function(e){var t=e.items,n=(0,o.useStyles)(e).styles,i=a()(n.region);return r.createElement("div",{className:i},t.map((function(e){return r.createElement(s.RegionItem,{component:e.component,key:e.region,maxWidth:e.maxWidth,region:e.region})})))}},69850:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SanitizeHtml:()=>i});var r=n(36198),o=n(22424),i=function(e){var t,n=e.html,i=e.options;return t=void 0!==i?o.default.sanitize(n,i):o.default.sanitize(n),r.createElement("div",{dangerouslySetInnerHTML:{__html:t}})}},37652:(e,t,n)=>{"use strict";var r,o,i,a;function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyles:()=>l});var l=(0,n(99291).createStyles)((function(e){var t=e.css,n=e.token;return{search:t(r||(r=s(["\n .ant-input-prefix {\n margin-inline-end: ","px;\n }\n \n .ant-input-clear-icon {\n display: flex;\n }\n "])),n.marginXS),searchWithoutAddon:t(o||(o=s(["\n .ant-input-group-addon {\n display: none;\n }\n \n .ant-input-affix-wrapper,\n .ant-input {\n border-radius: ","px !important;\n }\n "])),n.borderRadius),searchIcon:t(i||(i=s(["\n color: ",";\n "])),n.colorTextPlaceholder),closeIcon:t(a||(a=s(["\n color: ",";\n "])),n.colorIcon)}}))},14278:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SearchInput:()=>h});var r=n(36198),o=n(53988),i=n(93967),a=n.n(i),s=n(54663),l=n(37652);function c(e){return c="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},c(e)}var u=["className","withoutAddon","withPrefix","withClear"];function f(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 d(e,t,n){var r;return r=function(e,t){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==c(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var h=function(e){var t=e.className,n=e.withoutAddon,i=void 0===n||n,c=e.withPrefix,h=void 0===c||c,m=e.withClear,g=void 0===m||m,y=p(e,u),v=(0,l.useStyles)().styles,b=a()(v.search,d({},v.searchWithoutAddon,i),t);return r.createElement(o.default,function(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{segmented:(0,e.css)(r||(t=["\n .ant-segmented-group {\n padding: 2px;\n border-radius: ","px;\n border: 1px solid ",";\n background: ",";\n box-shadow: ",";\n\n .ant-segmented-item {\n color: ",";\n\n &.ant-segmented-item-selected {\n background: ",";\n border-color: ",";\n color: ",";\n }\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.borderRadius,o.colorBorderSecondary,o.colorBgLayout,o.boxShadow,o.itemColor,o.controlItemBgActive,o.controlItemBgActive,o.itemSelectedColor)}}))},57567:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Segmented:()=>f});var r=n(36198),o=n(49610),i=n(55328);function a(e){return a="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},a(e)}var s=["options"];function l(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 c(e,t,n){var r;return r=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var f=r.forwardRef((function(e,t){var n=e.options,a=u(e,s),f=(0,o.useStyles)().styles;return r.createElement("div",{className:f.segmented,ref:t},r.createElement(i.Segmented,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{useStyles:()=>g});var r,o,i,a,s,l,c,u,f,d,p=n(99291),h=n(79342);function m(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var g=(0,p.createStyles)((function(e,t){var n=e.css,p=e.token;return{selectContainer:n(r||(r=m(["\n position: relative;\n \n &:hover {\n .custom-select-icon {\n color: ",";\n }\n }\n "])),p.colorPrimary),selectContainerWarning:n(o||(o=m(["\n &:hover {\n .custom-select-icon {\n color: "," !important;\n }\n }\n \n .ant-select-status-warning {\n &.ant-select-open, &.ant-select-focused {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n\n &:hover {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n }\n "])),p.colorWarningHover,p.colorText,p.colorWarningHover,p.colorText,p.colorWarningHover),selectContainerError:n(i||(i=m(["\n &:hover {\n .custom-select-icon {\n color: "," !important;\n }\n }\n \n .ant-select-status-error {\n &.ant-select-open, &.ant-select-focused {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n\n &:hover {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n }\n "])),p.colorErrorHover,p.colorText,p.colorErrorHover,p.colorText,p.colorErrorHover),select:n(a||(a=m(["\n width: ",";\n \n .ant-select-selector {\n padding: 0 ","px !important;\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n\n // DEFAULT select\n &.ant-select-open, &.ant-select-focused {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n\n &:hover {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n\n // MULTIPLE select\n &.ant-select-multiple {\n &.ant-select {\n .ant-select-selector {\n padding: 2px ","px 2px ","px !important;\n }\n }\n \n &:hover {\n .ant-select-selection-item {\n .ant-select-selection-item-content {\n color: "," !important;\n }\n }\n }\n }\n\n // DISABLED state\n &.ant-select.ant-select-disabled {\n .ant-select-selector {\n border-color: "," !important;\n }\n \n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n "])),(0,h.isEmptyValue)(t.width)?"initial":"".concat(t.width,"px"),p.controlPaddingHorizontal,p.colorIcon,p.colorPrimary,p.colorPrimary,p.colorPrimary,p.colorPrimary,p.controlPaddingHorizontal,p.paddingXXS,p.colorText,p.colorBorder,p.colorTextDisabled,p.colorTextDisabled),arrowIcon:n(s||(s=m(["\n pointer-events: none !important\n "]))),selectWithCustomIcon:n(l||(l=m(["\n &.ant-select {\n .ant-select-selector {\n padding: 0 ","px 0 ","px !important;\n }\n }\n "])),p.controlPaddingHorizontal,p.controlPaddingHorizontal+16+p.marginXXS),customIcon:n(c||(c=m(["\n position: absolute;\n left: 10px;\n top: 50%;\n transform: translateY(-50%);\n z-index: 1;\n color: ",";\n "])),p.colorIcon),customIconActive:n(u||(u=m(["\n color: "," !important;\n "])),p.colorPrimary),customIconWarning:n(f||(f=m(["\n color: ",";\n "])),p.colorWarningHover),customIconError:n(d||(d=m(["\n color: ",";\n "])),p.colorErrorHover)}}))},58664:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Select:()=>y});var r=n(36198),o=n(55328),i=n(93967),a=n.n(i),s=n(96486),l=n(54663),c=n(51062);function u(e){return u="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},u(e)}var f=["customIcon","customArrowIcon","mode","status","className","width"];function d(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 p(e,t,n){var r;return r=function(e,t){if("object"!=u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==u(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var y=(0,r.forwardRef)((function(e,t){var n=e.customIcon,i=e.customArrowIcon,u=e.mode,m=e.status,y=e.className,v=e.width,b=g(e,f),O=(0,r.useRef)(null),w=h((0,r.useState)(!1),2),S=w[0],x=w[1],E=h((0,r.useState)(!1),2),_=E[0],P=E[1];(0,r.useImperativeHandle)(t,(function(){return O.current}));var T,j=(0,c.useStyles)({width:v}).styles,C=!(0,s.isEmpty)(n),k="warning"===m,A="error"===m,D=a()(j.selectContainer,p(p({},j.selectContainerWarning,k),j.selectContainerError,A)),L=a()(y,j.select,p({},j.selectWithCustomIcon,C)),R=a()(j.customIcon,"custom-select-icon",p(p(p({},j.customIconActive,S||_),j.customIconWarning,(S||_)&&k),j.customIconError,(S||_)&&A));return r.createElement("div",{className:D},C&&r.createElement(l.Icon,{className:R,value:n}),r.createElement(o.Select,function(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{sidebar:(0,e.css)(r||(t=["\n display: flex;\n height: 100%;\n \n .sidebar__navigation {\n display: flex;\n width: 45px;\n padding: 4px 8px ","px 8px;\n flex-direction: column;\n align-items: center;\n flex-shrink: 0;\n align-self: stretch;\n border-right: 1px solid rgba(0, 0, 0, 0.08);\n border-left: 1px solid rgba(0, 0, 0, 0.08);\n justify-content: space-between;\n color: ",";\n background: ",";\n\n .sidebar__navigation__tabs,\n .sidebar__navigation__buttons {\n .pimcore-icon {\n flex-shrink: 0;\n color: ",";\n\n &:hover {\n color: ",";\n cursor: pointer;\n }\n }\n }\n\n .sidebar__navigation__tabs {\n .entry {\n display: flex;\n width: 45px;\n padding: ","px ","px;\n justify-content: center;\n align-items: center;\n\n &:not(.active).entry--highlighted {\n .pimcore-icon {\n background: ",";\n border-radius: 2px;\n outline: 8px solid ",";\n }\n }\n\n .pimcore-icon {\n flex-shrink: 0;\n color: ",";\n\n &:hover {\n color: ",";\n cursor: pointer;\n }\n }\n\n &.active {\n background: ",";\n border-right: 2px solid ",";\n\n .pimcore-icon {\n color: ","\n }\n }\n }\n },\n \n .sidebar__navigation__buttons\n .button {\n &.button--highlighted {\n .pimcore-icon {\n background: ",";\n border-radius: 2px;\n outline: 8px solid ",";\n color: ",";\n }\n }\n }\n }\n \n .sidebar__content {\n position: relative;\n overflow: auto;\n width: 250px;\n\n .tab {\n display: none;\n \n &.active {\n display: flex;\n width: 100%;\n height: 100%;\n }\n }\n \n &:not(.expanded) {\n display: none;\n }\n\n &--sizing-large {\n width: 432px;\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.paddingSM,o.colorIconSidebar,o.colorBgToolbar,o.colorIconSidebar,o.colorIconHover,o.paddingXS,o.paddingXXS,o.colorFillQuaternary,o.colorFillQuaternary,o.colorIconSidebar,o.colorIconHover,o.colorFillQuaternary,o.colorPrimaryActive,o.colorPrimaryActive,o.colorFillQuaternary,o.colorFillQuaternary,o.colorPrimary)}}),{hashPriority:"low"})},70607:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Sidebar:()=>p});var r=n(11373),o=n(36198),i=["component","key"];function a(e){return a="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},a(e)}function s(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{Slider:()=>g});var r=n(36198),o=n(55328),i=n(66395),a=n(48388),s=n(47259),l=n(27027),c=n(36609);function u(e){return u="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},u(e)}function f(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 d(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.css,i=e.token;return{button:o(r||(t=["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n width: 16px;\n height: 16px;\n\n &:hover {\n cursor: pointer; \n }\n\n .sort-button__arrow {\n color: ",";\n }\n\n .sort-button__asc {\n margin-bottom: -4px;\n }\n\n &.sort-button--sorting-asc {\n .sort-button__asc {\n color: ",";\n }\n }\n\n &.sort-button--sorting-desc {\n .sort-button__desc {\n color: ",";\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),i.colorTextDisabled,i.colorPrimary,i.colorPrimary)}}),{hashPriority:"low"})},96149:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SortButton:()=>f,SortDirections:()=>r});var r,o=n(36198),i=n(14439),a=n(54663),s=["onSortingChange"];function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}!function(e){e.ASC="asc",e.DESC="desc"}(r||(r={}));var f=function(e){var t=e.onSortingChange,n=u(e,s),c=(0,i.useStyles)().styles,f=l((0,o.useState)(n.value),2),d=f[0],p=f[1];return(0,o.useEffect)((function(){p(n.value)}),[n.value]),o.createElement("div",{className:[c.button,"sort-button","sort-button--sorting-".concat(d)].join(" "),onClick:h,onKeyUp:h,role:"button",tabIndex:0},o.createElement(a.Icon,{className:"sort-button__arrow sort-button__asc",value:"caret-up-outlined"}),o.createElement(a.Icon,{className:"sort-button__arrow sort-button__desc",value:"caret-down-outlined"}));function h(){d===r.ASC?m(r.DESC):d===r.DESC&&!0===n.allowUnsorted?m(void 0):m(r.ASC)}function m(e){void 0!==t?t(e):p(e)}}},84051:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.css,i=e.token;return{space:o(r||(t=["\n &.space--sizing-none {\n gap: 0;\n }\n\n &.space--sizing-mini {\n gap: ","px;\n }\n\n &.space--sizing-extra-small {\n gap: ","px;\n }\n\n &.space--sizing-small {\n gap: ","px;\n }\n\n &.space--sizing-normal {\n gap: ","px;\n }\n\n &.space--sizing-medium {\n gap: ","px;\n }\n\n &.space--sizing-large {\n gap: ","px;\n }\n\n &.space--sizing-extra-large {\n gap: ","px;\n }\n\n &.space--sizing-maxi {\n gap: ","px;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),i.sizeXXS,i.sizeXS,i.sizeSM,i.size,i.sizeMD,i.sizeLG,i.sizeXL,i.sizeXXL)}}))},40069:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Space:()=>f});var r=n(55328),o=n(36198),i=n(84051);function a(e){return a="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},a(e)}var s=["size","className"];function l(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 c(e,t,n){var r;return r=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var f=function(e){var t=e.size,n=void 0===t?"small":t,a=e.className,f=u(e,s),d=[(0,i.useStyles)().styles.space,a];return d.push("space--sizing-".concat(n)),o.createElement(r.Space,function(e){for(var t=1;t{"use strict";var r,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyles:()=>a});var a=(0,n(99291).createStyles)((function(e){var t=e.token,n=e.css;return{spin:n(r||(r=i(["\n @keyframes spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n }\n\n @keyframes spin-dot {\n 0% {\n opacity: 0.3;\n } \n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0.3;\n }\n }\n\n animation-name: spin;\n animation-duration: 2s;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n\n circle {\n animation: spin-dot 2s infinite;\n\n &:nth-child(1) {\n animation-delay: 0.5s;\n }\n\n &:nth-child(2) {\n animation-delay: 1.5s;\n }\n\n &:nth-child(3) {\n animation-delay: 1s;\n }\n\n \n &:nth-child(4) {\n animation-delay: 2s;\n }\n }\n "]))),spinContainer:n(o||(o=i(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n justify-content: center;\n align-items: center;\n height: 100px;\n width: 100px;\n color: ",";\n "])),t.colorPrimary)}}))},94622:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Spin:()=>p});var r=n(36198),o=n(55328),i=n(54663),a=n(876);function s(e){return s="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},s(e)}var l=["asContainer","tip"];function c(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 u(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var p=function(e){var t=e.asContainer,n=void 0!==t&&t,s=e.tip,c=d(e,l),f=(0,a.useStyles)().styles;return r.createElement(r.Fragment,null,!n&&r.createElement(o.Spin,u({indicator:r.createElement(i.Icon,{className:f.spin,value:"spinner"})},c)),n&&r.createElement("div",{className:f.spinContainer},r.createElement(o.Spin,u({indicator:r.createElement(i.Icon,{className:f.spin,options:{width:20,height:20},value:"spinner"})},c)),void 0!==s&&r.createElement("div",null,s)))}},70931:(e,t,n)=>{"use strict";var r,o,i,a;function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyles:()=>l});var l=(0,n(99291).createStyles)((function(e){var t=e.css,n=e.token;return{dividerContainer:t(r||(r=s(["\n position: relative;\n min-width: 24px;\n outline: none;\n "]))),resizable:t(o||(o=s(["\n cursor: col-resize;\n "]))),divider:t(i||(i=s(["\n position: absolute;\n left: 50%;\n width: 1px;\n height: 100%;\n overflow: hidden;\n background-color: ",";\n "])),n.Divider.colorSplit),iconContainer:t(a||(a=s(["\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n cursor: col-resize;\n "])))}}))},91620:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Divider:()=>d});var r=n(36198),o=n(93967),i=n.n(o),a=n(27027),s=n(70931);function l(e){return l="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},l(e)}function c(e,t,n){var r;return r=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==l(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;return{splitLayoutItem:(0,e.css)(r||(t=["\n position: relative;\n height: 100%;\n width: 100%;\n overflow: hidden;\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},80778:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SplitLayoutItem:()=>a});var r=n(36198),o=n(36590),i=function(e,t){var n=e.children,i=e.size,a=e.minSize,s=e.maxSize,l=(0,o.useStyles)().styles;return r.createElement("div",{className:l.splitLayoutItem,ref:t,style:{width:"".concat(i,"%"),minWidth:void 0!==a?"".concat(a,"px"):"auto",maxWidth:void 0!==s?"".concat(s,"px"):"auto"}},n)},a=(0,r.forwardRef)(i)},33304:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;return{splitLayout:(0,e.css)(r||(t=["\n display: flex;\n height: 100%;\n width: 100%;\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},67793:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SplitLayout:()=>b});var r=n(36198),o=n(55328),i=n(93967),a=n.n(i),s=n(80778),l=n(91620),c=n(33304);function u(e){return u="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},u(e)}var f=["children"],d=["children"];function p(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 h(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var b=function(e){var t=e.leftItem,n=e.rightItem,i=e.withDivider,u=void 0!==i&&i,p=e.resizeAble,m=void 0!==p&&p,y=(0,r.useRef)(null),b=(0,r.useRef)(null),O=(0,r.useRef)(null),w=(0,c.useStyles)().styles,S=t.children,x=v(t,f),E=n.children,_=v(n,d),P=g((0,r.useState)(x),2),T=P[0],j=P[1],C=g((0,r.useState)(_),2),k=C[0],A=C[1];return r.createElement(o.Flex,{className:a()("split-layout",w.splitLayout),ref:O},r.createElement(s.SplitLayoutItem,h({ref:y},T),S),u&&r.createElement(l.Divider,{onKeyboardResize:m?function(e){var t=y.current.getBoundingClientRect(),n=b.current.getBoundingClientRect();"ArrowLeft"===e.key&&(j(h(h({},T),{},{size:t.width-5})),A(h(h({},k),{},{size:n.width+5}))),"ArrowRight"===e.key&&(j(h(h({},T),{},{size:t.width+5})),A(h(h({},k),{},{size:n.width-5})))}:void 0,onMouseResize:m?function(e){var t=y.current.getBoundingClientRect(),n=b.current.getBoundingClientRect(),r=O.current.getBoundingClientRect();j(h(h({},T),{},{size:(t.width+e.movementX)/r.width*100})),A(h(h({},k),{},{size:(n.width-e.movementX)/r.width*100}))}:void 0}),r.createElement(s.SplitLayoutItem,h({ref:b},k),E))}},99807:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.css,i=e.token;return{split:o(r||(t=["\n .ant-divider {\n margin-inline: 0;\n }\n\n &.split--theme-secondary {\n .ant-divider {\n border-color: ",";\n }\n }\n\n &.split--divider-size-large {\n .ant-divider {\n height: 24px;\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),i.colorTextSecondary)}}))},25419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Split:()=>d});var r=n(36198),o=n(40069),i=n(55328),a=n(99807);function s(e){return s="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},s(e)}var l=["theme","dividerSize"];function c(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 u(e,t,n){var r;return r=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var d=function(e){var t=e.theme,n=void 0===t?"primary":t,s=e.dividerSize,d=void 0===s?"large":s,p=f(e,l),h=[(0,a.useStyles)().styles.split,"split--theme-"+n,"split--divider-size-"+d].join(" ");return r.createElement(o.Space,function(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{stackListItem:(0,e.css)(r||(t=["\n border-radius: 4px;\n border: 1px solid ",";\n background-color: #fff;\n\n .stack-list-item__title {\n display: flex;\n align-items: center;\n gap: 2px;\n padding: 4px;\n }\n\n .stack-list-item__body {\n padding: 0 4px 4px 4px;\n }\n\n .stack-list-item__content {\n flex: 1;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.colorBorder)}}))},73087:(e,t,n)=>{"use strict";n.r(t),n.d(t,{StackListItem:()=>f});var r=n(36198),o=n(67839),i=n(45587),a=n(24285),s=n(27027);function l(e){return l="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},l(e)}function c(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 u(e,t,n){var r;return r=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==l(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){var t=e.id,n=e.children,l=e.body,f=e.sortable,d=void 0!==f&&f,p=e.renderLeftToolbar,h=e.renderRightToolbar,m=(0,o.useStyles)().styles,g=(0,i.useSortable)({id:t}),y=g.listeners,v=g.setNodeRef,b=g.setActivatorNodeRef,O=g.transform,w=g.transition,S={transform:a.CSS.Transform.toString(O),transition:null!=w?w:void 0};return r.createElement("div",{className:["stack-list-item",m.stackListItem].join(" "),ref:v,style:S},r.createElement("div",{className:"stack-list-item__title"},d&&r.createElement(s.IconButton,function(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{stackList:(0,e.css)(r||(t=["\n display: flex;\n flex-direction: column;\n gap: 8px;\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},97370:(e,t,n)=>{"use strict";n.r(t),n.d(t,{StackList:()=>m});var r=n(36198),o=n(93967),i=n.n(o),a=n(73087),s=n(71938),l=n(37394),c=n(45587);function u(e){return u="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},u(e)}function f(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 d(e,t,n){var r;return r=function(e,t){if("object"!=u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==u(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{Switch:()=>f});var r=n(36198),o=n(55328),i=n(47259);function a(e){return a="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},a(e)}var s=["labelLeft","labelRight"];function l(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 c(e,t,n){var r;return r=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var f=function(e){var t=e.labelLeft,n=e.labelRight,a=u(e,s);return r.createElement(i.Flex,{align:"center",gap:"extra-small"},t,r.createElement(o.Switch,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{TagList:()=>f});var r=n(36198),o=n(93967),i=n.n(o),a=n(52645),s=n(47259);function l(e){return l="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},l(e)}function c(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 u(e,t,n){var r;return r=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==l(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){var t=e.list,n=e.itemGap,o=e.tagListClassNames,l=e.tagListItemClassNames,f=e.wrap,d=void 0===f||f;return r.createElement(s.Flex,{gap:"small",rootClassName:i()(o),vertical:!0},t.map((function(e,t){return r.createElement(s.Flex,{gap:n,key:t,rootClassName:i()(l),wrap:d},e.map((function(e,n){return r.createElement(a.Tag,function(e){for(var t=1;t{"use strict";var r,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyles:()=>a});var a=(0,n(99291).createStyles)((function(e){var t=e.css,n=e.token;return{tag:t(r||(r=i(["\n &.ant-tag {\n margin-inline-end: 0;\n \n &.ant-tag-default {\n background-color: ",";\n color: ",";\n border-color: ",";\n }\n \n &.theme-transparent {\n background-color: ",";\n border-color: ",";\n }\n\n .anticon + span {\n margin-inline-start: 4px;\n }\n }\n "])),n.colorFillTertiary,n.colorTextLabel,n.Tag.colorBorder,n.colorFillTertiary,n.colorBorder),tooltip:t(o||(o=i(["\n .ant-tooltip-inner {\n color: ",";\n background-color: ",";\n border-radius: ","px;\n }\n \n .ant-tooltip-arrow {\n &::before {\n background-color: ",";\n }\n }\n "])),n.colorTextLightSolid,n.colorBgSpotlight,n.borderRadius,n.colorBgSpotlight)}}))},52645:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Tag:()=>h});var r=n(36198),o=n(55328),i=n(93967),a=n.n(i),s=n(54663),l=n(14034);function c(e){return c="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},c(e)}var u=["children","icon","iconName","theme","className"];function f(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 d(e,t,n){var r;return r=function(e,t){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==c(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var h=function(e){var t,n=e.children,i=e.icon,c=e.iconName,h=e.theme,m=e.className,g=p(e,u),y=(0,l.useStyles)().styles,v=a()(y.tag,m,d({},"theme-".concat(h),h));return r.createElement(o.Tag,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{detectLanguageFromFilename:()=>d,getLanguageExtensions:()=>f});var r=n(36391),o=n(39356),i=n(13249),a=n(42312),s=n(68663),l=n(21390),c=n(57801),u={html:{codeMirrorExtension:(0,r.html)(),fileExtensions:["html","htm","shtm","shtml","xhtml","cfm","cfml","cfc","dhtml","xht","tpl","twig","kit","jsp","aspx","ascx","asp","master","cshtml","vbhtml"]},css:{codeMirrorExtension:(0,o.css)(),fileExtensions:["css","less","scss","sass"]},javascript:{codeMirrorExtension:(0,i.javascript)({jsx:!0}),fileExtensions:["js","js.erb","jsm","_js","jsx"]},json:{codeMirrorExtension:(0,a.json)(),fileExtensions:["json","map"]},xml:{codeMirrorExtension:(0,s.xml)(),fileExtensions:["xml","wxs","wxl","wsdl","rss","atom","rdf","xslt","xsl","xul","xsd","xbl","mathml","config","plist","xaml"]},sql:{codeMirrorExtension:(0,l.sql)(),fileExtensions:["sql"]},markdown:{codeMirrorExtension:(0,c.markdown)(),fileExtensions:["md","markdown","mdown","mkdn"]}},f=function(e){return null==e?[]:[u[e].codeMirrorExtension]},d=function(e){var t=e.split(".").pop();if(void 0===t)return null;for(var n in u)if(u[n].fileExtensions.includes(t))return n;return null}},27761:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{editor:(0,e.css)(r||(t=["\n height: 100%;\n width: 100%;\n \n & .CodeMirror {\n height: 100%;\n width: 100%;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},37093:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TextEditor:()=>c});var r=n(36198),o=n(27761),i=n(5770),a=n(5018);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{Text:()=>l});var r=n(36198);function o(e){return o="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},o(e)}function i(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 a(e,t,n){var r;return r=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==o(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=n(55328).Typography.Text,l=function(e){return r.createElement(s,function(e){for(var t=1;t{"use strict";var r,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyle:()=>a});var a=(0,n(99291).createStyles)((function(e){var t=e.token,n=e.css;return{flex:n(r||(r=i(["\n .pimcore-icon {\n color: ",";\n margin-right: 4px;\n }\n "])),t.colorPrimary),title:n(o||(o=i(["\n &.pimcore-title.ant-typography {\n font-size: 12px;\n font-weight: 600;\n color: ",";\n }\n .pimcore-icon {\n color: ",";\n margin-right: 4px;\n }\n "])),t.colorPrimary,t.colorPrimary)}}),{hashPriority:"low"})},48324:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Title:()=>d});var r=n(55328),o=n(36198),i=n(77717);function a(e){return a="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},a(e)}var s=["children","icon"];function l(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 c(e,t,n){var r;return r=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var f=r.Typography.Title,d=function(e){var t=e.children,n=e.icon,a=u(e,s),d=(0,i.useStyle)().styles;return o.createElement(r.Flex,{align:"center",className:d.flex},n,o.createElement(f,function(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{toolbar:(0,e.css)(r||(t=["\n width: 100%;\n height: 48px;\n padding: ","px;\n\n &.toolbar--theme-primary {\n // @todo: use token\n background-color: #F5F3FA;\n }\n\n &.toolbar--theme-secondary {\n background-color: ",";\n }\n\n &.toolbar--position-top {\n border-bottom: 1px solid ",";\n }\n\n &.toolbar--position-bottom {\n border-top: 1px solid ",";\n }\n\n &.toolbar--size-small {\n height: 40px;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.paddingXS,o.colorBgBase,o.colorBorderTertiary,o.colorBorderTertiary)}}))},72475:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Toolbar:()=>d});var r=n(75882),o=n(55328),i=n(36198),a=n(67892);function s(e){return s="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},s(e)}var l=["children","size","justify","theme","position"];function c(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 u(e,t,n){var r;return r=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var d=function(e){var t=e.children,n=e.size,s=void 0===n?"default":n,d=e.justify,p=void 0===d?"space-between":d,h=e.theme,m=void 0===h?"primary":h,g=e.position,y=void 0===g?"bottom":g,v=f(e,l),b=[(0,r.useStyles)().styles.toolbar,"toolbar","toolbar--theme-".concat(m),"toolbar--position-".concat(y),"toolbar--size-".concat(s)].join(" ");return i.createElement("div",{className:b},i.createElement(a.HorizontalScroll,null,i.createElement(o.Flex,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{TreeElementItem:()=>s});var r=n(36198),o=n(55328),i=n(30811),a=n(54663),s=function(e){var t=e.title,n=e.actions,s=e.onSelected,l=e.onActionsClick,c=(0,i.useTranslation)().t,u=[];null==n||n.forEach((function(e){null==u||u.push({key:e.key,label:c("tree.actions.".concat(e.key)),icon:r.createElement(a.Icon,{value:e.icon}),onClick:function(){null==l||l(e.key)}})}));var f=function(){return r.createElement("span",{onClick:s,onKeyDown:function(e){"Enter"!==e.key&&"Escape"!==e.key||null!=s&&s()},role:"button",tabIndex:0},t)};return(null==u?void 0:u.length)>0?r.createElement(o.Dropdown,{menu:{items:u},trigger:["contextMenu"]},f()):f()}},97118:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e,t){var n,o,i=e.token;return{treeContainer:(0,e.css)(r||(n=["\n .ant-tree-list-holder-inner {\n .ant-tree-treenode-leaf-last {\n &:first-child {\n .ant-tree-checkbox {\n display: ",";\n }\n }\n }\n\n .ant-tree-treenode {\n padding: 0;\n \n @media (hover: hover) {\n &:hover {\n background-color: ",";\n }\n }\n\n &:focus {\n outline: none;\n background-color: ",";\n }\n\n .ant-tree-node-content-wrapper {\n padding: 0;\n background: none;\n\n &:hover {\n background: none;\n }\n }\n }\n\n .ant-tree-treenode-selected {\n background-color: ",";\n }\n }\n \n .ant-tree-switcher {\n display: flex;\n align-items: center;\n justify-content: center;\n \n &:hover {\n background-color: transparent !important;\n }\n }\n\n .ant-tree-switcher-noop {\n pointer-events: none;\n }\n \n .ant-tree-switcher_close {\n .ant-tree-switcher-icon {\n svg {\n transform: rotate(0deg);\n }\n }\n }\n\n .ant-tree-switcher_open {\n .ant-tree-switcher-icon {\n svg {\n transform: rotate(-180deg);\n }\n }\n }\n\n .ant-tree-draggable-icon {\n display: none;\n }\n "],o||(o=n.slice(0)),r=Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(o)}}))),!0===t.isHideRootChecker?"none":"block",i.controlItemBgHover,i.controlItemBgActiveHover,i.controlItemBgActive)}}),{hashPriority:"high"})},72726:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TreeElement:()=>d});var r=n(36198),o=n(55328),i=n(93967),a=n.n(i),s=n(54663),l=n(54137),c=n(97118);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{uploadList:(0,e.css)(r||(t=["\n margin-top: ","px;\n margin-bottom: ","px;\n display: flex;\n flex-direction: column;\n align-items: center;\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.paddingSM,o.paddingSM)}}))},80810:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UploadList:()=>u});var r=n(36198),o=n(55328),i=n(30134);function a(e){return a="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},a(e)}function s(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 l(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{upload:(0,e.css)(r||(t=["\n display: none\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},595:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Upload:()=>d});var r=n(36198),o=n(55328),i=n(50713);function a(e){return a="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},a(e)}function s(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 l(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{timeline:(0,e.css)(r||(t=["\n padding-left: ","px;\n \n & > div {\n position: relative;\n margin: 0;\n \n padding: 3px 0 7px 21px;\n \n border-left: 2px solid rgba(0,0,0,6%);\n }\n\n & > div:before {\n content: '';\n \n position: absolute;\n margin-top: 16px;\n margin-right: -4px;\n right: 100%;\n text-align: center;\n\n height: 6px;\n width: 6px;\n border-radius: 50%;\n background-color: white;\n border: 2px solid ",";\n }\n\n & > .is-active:before {\n height: 10px;\n width: 10px;\n margin-right: -6px;\n border-color: ",";\n }\n\n & > .is-published:before {\n border-color: ",";\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.paddingXS,o.colorTextDisabled,o.colorPrimary,o.colorSuccess)}}),{hashPriority:"low"})},87629:(e,t,n)=>{"use strict";n.r(t),n.d(t,{VerticalTimeline:()=>i});var r=n(36198),o=n(92941),i=function(e){var t=e.timeStamps,n=(0,o.useStyle)().styles;return r.createElement("div",{className:n.timeline},t)}},96212:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{workflowCard:(0,e.css)(r||(t=["\n .ant-card-head-title {\n display: flex !important;\n gap: 8px;\n font-size: 12px;\n align-items: center;\n \n p {\n margin: 0;\n }\n\n .ant-tag {\n background: ",";\n border: 1px solid ",";\n cursor: pointer;\n height: 22px;\n display: flex;\n align-items: center;\n gap: 8px;\n \n &.color-inverted {\n border: transparent;\n }\n \n .ant-badge { \n .ant-badge-status-dot {\n width: 6px;\n height: 6px;\n top: unset;\n }\n }\n }\n }\n\n .ant-card-body {\n overflow: auto;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.colorFillSecondary,o.colorBorder)}}),{hashPriority:"low"})},59264:(e,t,n)=>{"use strict";n.r(t),n.d(t,{WorkflowCard:()=>p});var r=n(36198),o=n(55328),i=n(96212),a=n(30811),s=n(41642),l=n(31825),c=n(2824),u=n(71816);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&n.workflowStatus.map((function(e,t){return r.createElement(o.Tag,{className:e.colorInverted?"color-inverted":"",icon:r.createElement(o.Badge,{color:e.color,styles:e.colorInverted?{indicator:{outline:"1px solid ".concat(e.color,"4D")}}:{}}),key:t,style:e.colorInverted?{backgroundColor:"".concat(e.color,"33")}:{},title:e.title},e.label)})))},void 0!==n.graph&&r.createElement("img",{alt:"workflow",src:"data:image/svg+xml;utf8,".concat(encodeURIComponent(n.graph))}))}},43056:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createDiInstance:()=>i});var r=n(36198),o=n(66595);function i(){var e=new o.Container,t=(0,r.createContext)(e);return{container:e,ContainerContext:t,ContainerProvider:function(n){var o=n.children;return r.createElement(t.Provider,{value:e},o)},useInjection:function(e){return window.Pimcore.container.get(e)},useOptionalInjection:function(e){var t=window.Pimcore.container;return t.isBound(e)?t.get(e):null},useMultiInjection:function(e){return window.Pimcore.container.getAll(e)}}}},10365:(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},r(e)}function o(e,t){for(var n=0;na});var a=new(function(){return e=function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r=[],(n=i(n="subscribers"))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r},(t=[{key:"subscribe",value:function(e,t){var n={identifier:e,callback:t};return this.subscribers.push(n),n}},{key:"unsubscribe",value:function(e){this.subscribers=this.subscribers.filter((function(t){return t!==e}))}},{key:"publish",value:function(e){this.subscribers.forEach((function(t){t.identifier.type===e.identifier.type&&t.identifier.id===e.identifier.id&&t.callback(e)}))}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())},30191:(e,t,n)=>{"use strict";n.a(e,(async(r,o)=>{try{n.r(t);n(8844);var i=n(44784),a=n(19387),s=n(80237);void 0!==(e=n.hmd(e)).hot&&e.hot.accept(),window.Pimcore=(await n.e(105).then(n.bind(n,78105))).Pimcore,await a.pluginSystem.loadPlugins(),a.pluginSystem.initPlugins(),a.pluginSystem.startupPlugins(),s.moduleSystem.initModules(),(0,i.runApp)(),o()}catch(e){o(e)}}),1)},79383:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useCssComponentHash:()=>s});var r=n(71147),o=n(50650),i=n(25157),a=n(36198),s=function(e){var t,n=(0,a.useContext)(i.ConfigContext).getPrefixCls(e,"");switch(e){case"table":t=(0,r.default)(n)[1];break;case"pagination":t=(0,o.default)(n)[1]}return t}},3539:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AppLoader:()=>O});var r=n(36198),o=n(9468),i=n(30851),a=n(7496),s=n(37352),l=n(30811),c=n(4362),u=n(94492),f=n(19991),d=n(82755),p=n(96277);function h(e){return h="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},h(e)}function m(){m=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==h(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=d;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=f(t,n,r);if("normal"===c.type){if(o=r.done?y:p,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function g(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){g(i,r,o,a,s,"next",e)}function s(e){g(i,r,o,a,s,"throw",e)}a(void 0)}))}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{AppView:()=>u});var r=n(36198),o=n(64406),i=n(55328),a=n(79655),s=n(24835),l=n(3539),c=n(67890),u=function(){return r.createElement(r.Fragment,null,r.createElement(r.StrictMode,null,r.createElement(o.GlobalProvider,null,r.createElement(i.App,null,r.createElement(c.DateTimeConfig,null,r.createElement(l.AppLoader,null,r.createElement(a.RouterProvider,{router:s.router})))))))}},96216:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStlyes:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{baseLayout:(0,e.css)(r||(t=["\n position: absolute;\n overflow: hidden;\n inset: 0;\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},42902:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BaseLayoutView:()=>c});var r=n(36198),o=n(92180),i=n(95165),a=n(38065),s=n(96216),l=n(93844),c=function(){var e=(0,s.useStlyes)().styles;return r.createElement("div",{className:["base-layout",e.baseLayout].join(" ")},r.createElement(o.LeftSidebarView,null),r.createElement(i.WidgetManagerContainer,null),r.createElement(l.Notification,null),r.createElement(a.RightSidebarView,null))}},42235:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStlyes:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{leftSidebar:(0,e.css)(r||(t=["\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n z-index: 2;\n pointer-events: none;\n\n .left-sidebar__avatar {\n margin: 8px 15px 0 15px;\n pointer-events: all;\n }\n\n .ant-avatar {\n background-color: rgba(114, 46, 209, 0.66);\n\n .anticon {\n vertical-align: 0;\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},92180:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LeftSidebarView:()=>s});var r=n(55328),o=n(36198),i=n(42235),a=n(54663),s=function(){var e=(0,i.useStlyes)().styles;return o.createElement("div",{className:e.leftSidebar},o.createElement(r.Avatar,{className:"left-sidebar__avatar",icon:o.createElement(a.Icon,{value:"user-01"}),size:26}))}},39966:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStlyes:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{rightSidebar:(0,e.css)(r||(t=["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n z-index: 2;\n pointer-events: none;\n\n .logo \n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},38065:(e,t,n)=>{"use strict";n.r(t),n.d(t,{RightSidebarView:()=>a});var r=n(82595),o=n(36198),i=n(39966),a=function(){var e=(0,i.useStlyes)().styles;return o.createElement("div",{className:e.rightSidebar},o.createElement(r.Logo,null))}},91638:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ComponentRegistry:()=>l});var r=n(66595);function o(e,t){for(var n=0;n=0;l--)(o=e[l])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(){return e=function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r={},(n=i(n="registry"))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r},(t=[{key:"register",value:function(e){if(this.has(e.name))throw new Error('Component with the name "'.concat(e.name,'" already exists. Use the override method to override it'));this.registry[e.name]=e}},{key:"getAll",value:function(){return this.registry}},{key:"get",value:function(e){if(!this.has(e))throw new Error('No component with the name "'.concat(e,'" found'));return this.registry[e].component}},{key:"has",value:function(e){return e in this.registry}},{key:"override",value:function(e,t){if(!this.has(e))throw new Error('No component named "'.concat(e,'" found to override'));this.registry[e]=t}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();l=s([(0,r.injectable)()],l)},54224:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DefaultPage:()=>s});var r=n(36198),o=n(17180),i=n(42902),a=n(32347),s=function(){(0,a.useMiddleware)();var e=function(e){e.preventDefault()};return r.createElement("div",{onDragOver:e,onDrop:e},r.createElement(o.Background,null),r.createElement(i.BaseLayoutView,null))}},33811:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addGlobalContext:()=>a,removeGlobalContext:()=>s,selectContextByType:()=>l});var r=n(7496),o=(0,n(8327).createSlice)({name:"global-context",initialState:[],reducers:{addGlobalContext:function(e,t){e.push(t.payload)},removeGlobalContext:function(e,t){return e.filter((function(e){return e.type!==t.payload}))}},selectors:{selectContextByType:function(e,t){return e.find((function(e){return e.type===t}))}}});(0,r.injectSliceWithState)(o);var i=o.actions,a=i.addGlobalContext,s=i.removeGlobalContext,l=o.getSelectors((function(e){return e["global-context"]})).selectContextByType},64406:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalProvider:()=>c});var r=n(81690),o=n(7496),i=n(26486),a=n(43669),s=n(36198),l=n(45007),c=function(e){var t=e.children;return s.createElement(r.ContainerProvider,null,s.createElement(a.ThemeProvider,null,s.createElement(l.Provider,{store:o.store},s.createElement(i.DragAndDropContextProvider,null,t))))}},95987:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useSettings:()=>a});var r=n(45007),o=n(94492),i=n(36198),a=function(){var e=(0,r.useSelector)(o.getSettings);return(0,i.useMemo)((function(){return e}),[e])}},30851:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addTagTypes:()=>o,api:()=>i,useAssetCustomSettingsGetByIdQuery:()=>a,useSystemSettingsGetQuery:()=>s});var r=n(35525),o=["Assets","Settings"],i=r.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{assetCustomSettingsGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/custom-settings")}},providesTags:["Assets"]}),systemSettingsGet:e.query({query:function(){return{url:"/pimcore-studio/api/settings"}},providesTags:["Settings"]})}},overrideExisting:!1}),a=i.useAssetCustomSettingsGetByIdQuery,s=i.useSystemSettingsGetQuery},94492:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getSettings:()=>l,setSettings:()=>s});var r=n(8327),o=n(7496);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{ThemeProvider:()=>a});var r=n(99291),o=n(36198),i=n(60048),a=function(e){var t=e.children;return o.createElement(r.ThemeProvider,{theme:i.PimcoreDefaultTheme},t)}},60048:(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},r(e)}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;tl});var s={Form:{itemMarginBottom:12,verticalLabelPadding:4}},l={token:i(i({},{fontFamily:"Lato, sans-serif"}),{},{colorLink:"#722ed1",colorLinkActive:"#531dab",colorLinkHover:"#9254de",controlOutline:"rgba(114, 46, 209, 0.1)",controlItemBgActive:"#f8eeff",itemSelectedColor:"rgba(0, 0, 0, 0.88)",boxShadow:"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)",colorTextTertiary:"rgba(0, 0, 0, 0.6)",colorFill:"rgba(215, 199, 236, 0.6)",colorFillQuaternary:"rgba(215, 199, 236, 0.4)",colorBgLayout:"#fcfcfc",colorPrimary:"#722ed1",fontSize:12,fontSizeHeading1:35,colorIconSecondary:"#4d4169",colorFillNav:"rgba(77, 65, 105, 0.08)",colorIconSidebar:"#22075e",colorBorderActive:"#00bab3",colorLogo:"#5520a6",colorBorderTertiary:"#eae8ed",colorTextTreeElement:"#404655",colorIconTree:"#404655",colorIconTreeUnpublished:"rgba(64, 70, 85, 0.4)",paddingTabs:8,colorTextSidebarTitle:"#531dab",colorBgToolbar:"#f5f3fa",colorFillActive:"#d7c7ec",colorFillAdditional:"#f5f3fa",colorBgSidebarOptions:"#f5f3fa",colorBgSelectedTab:"#ffffff",cardGutter:2,cardHeight:40,horizontalItemGutter:32,itemActiveColor:"#531dab",itemColor:"rgba(0, 0, 0, 0.65)",itemHoverColor:"rgba(215, 199, 236, 0.6)",itemUnselectedIconColor:"#4d4169",colorBorderContainer:"#eae8ed",colorBorderActiveTab:"#00bab3",colorFillAlter:"rgba(215, 199, 236, 0.4)",colorTextDescription:"rgba(0, 0, 0, 0.6)",colorBgUnselectedTab:"rgba(215, 199, 236, 0.4)",colorBgHoverUnselectedTab:"rgba(215, 199, 236, 0.6)",colorAccentSecondary:"#08979c"}),components:i(i({},s),{},{Pagination:{colorPrimary:"#531dab"},Tree:{colorBorderTree:"#eae8ed",colorTextTree:"#404655",colorPrimaryHeading:"#531dab",colorTextTreeUnpublished:"rgba(0, 0, 0, 0.25)"},Progress:{colorText:"rgba(0, 0, 0, 0.65)",circleTextColor:"rgba(0, 0, 0, 0.25)"},Divider:{colorSplit:"#d3adf7"},IconButton:{colorBgContainer:"#ffffff",borderRadiusSM:"4px"},Button:{defaultBorderColor:"#d3adf7",defaultColor:"#722ed1",defaultGhostBorderColor:"#d9d9d9",defaultGhostColor:"#722ed1",textGhostColor:"rgba(0, 0, 0, 0.88)",controlHeightSM:24},Breadcrumb:{lastItemColor:"#531dab"},Menu:{darkItemColor:"rgba(255, 255, 255, 0.65)",darkItemDisabledColor:"rgba(255, 255, 255, 0.25)",darkGroupTitleColor:"rgba(255, 255, 255, 0.65)"},Collapse:{headerBg:"rgba(0, 0, 0, 0.04)"},Image:{previewOperationColor:"rgba(255, 255, 255, 0.65)",previewOperationColorDisabled:"rgba(255, 255, 255, 0.25)",previewOperationHoverColor:"rgba(255, 255, 255, 0.85)"},Table:{cellPaddingBlockSM:4,cellPaddingInlineSM:4,colorBorderSecondary:"#D9D9D9AA",controlItemBgActive:"#f8eeff",footerBg:"#fafafa",headerBg:"#fafafa"},Tabs:{colorBgSelectedTab:"#ffffff",itemColor:"rgba(0, 0, 0, 0.65)",itemHoverColor:"rgba(215, 199, 236, 0.6)",itemUnselectedIconColor:"#4d4169",colorBorderActiveTab:"#00bab3",colorBgUnselectedTab:"rgba(215, 199, 236, 0.4)",colorBgHoverUnselectedTab:"rgba(215, 199, 236, 0.6)",colorBorderContainer:"#eae8ed"},Avatar:{colorUserIndicator:"#722ed1"},Modal:{colorTextSecondary:"rgba(0, 0, 0, 0.6)"},Alert:{colorInfo:"#722ed1",colorInfoBg:"#f9f0ff",colorInfoBorder:"#d3adf7"},Empty:{colorTextDisabled:"rgba(0, 0, 0, 0.25)"},Colors:{Neutral:{Fill:{colorFill:"rgba(215, 199, 236, 0.60)"}}},Tag:{colorBorder:"#d9d9d9",colorErrorBg:"#fff2f0",colorErrorBorder:"#ffccc7",colorFillQuaternary:"rgba(215, 199, 236, 0.4)",colorFillSecondary:"rgba(0, 0, 0, 0.06)",colorFillTertiary:"rgba(0, 0, 0, 0.04)",colorInfoBg:"#f9f0ff",colorInfoBorder:"#d3adf7",colorPrimary:"#722ed1",colorPrimaryActive:"#531dab",colorPrimaryHover:"#9254de",colorSuccessBg:"#f6ffed",colorSuccessBorder:"#b7eb8f",colorText:"rgba(0, 0, 0, 0.88)",colorTextDescription:"rgba(0, 0, 0, 0.6)",colorTextHeading:"rgba(0, 0, 0, 0.88)",colorTextLightSolid:"#ffffff",colorWarningBg:"#fffbe6",colorWarningBorder:"#ffe58f",borderRadiusSM:4,lineWidth:1,marginXS:8,paddingXXS:4,fontSize:12,fontSizeIcon:12,fontSizeSM:12,defaultBg:"#fafafa",defaultColor:"rgba(0, 0, 0, 0.88)"}})}},37352:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addTagTypes:()=>o,api:()=>i,useTranslationGetCollectionMutation:()=>a});var r=n(35525),o=["Translation"],i=r.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{translationGetCollection:e.mutation({query:function(e){return{url:"/pimcore-studio/api/translations",method:"POST",body:e.translation}},invalidatesTags:["Translation"]})}},overrideExisting:!1}),a=i.useTranslationGetCollectionMutation},44784:(e,t,n)=>{"use strict";n.r(t),n.d(t,{runApp:()=>a});var r=n(36198),o=n(20745),i=n(56722);function a(){var e=document.getElementById("app");if(null===e)throw new Error("Root element not found");(0,o.createRoot)(e).render(r.createElement(i.AppView,null))}},42029:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useZipDownload:()=>v});var r=n(51074),o=n(93477),i=n(20807),a=n(30811),s=n(21970),l=n(54663),c=n(36198),u=n(76265);function f(e){return f="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},f(e)}function d(){d=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==f(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function p(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function h(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.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)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{api:()=>a,useAssetCloneMutation:()=>u,useAssetCustomMetadataGetByIdQuery:()=>d,useAssetCustomSettingsGetByIdQuery:()=>p,useAssetDeleteGridConfigurationByConfigurationIdMutation:()=>_,useAssetExportCsvAssetMutation:()=>b,useAssetExportCsvFolderMutation:()=>O,useAssetExportZipAssetMutation:()=>y,useAssetExportZipFolderMutation:()=>v,useAssetGetByIdQuery:()=>s,useAssetGetGridConfigurationByFolderIdQuery:()=>P,useAssetGetGridMutation:()=>m,useAssetGetSavedGridConfigurationsQuery:()=>w,useAssetGetTextDataByIdQuery:()=>h,useAssetGetTreeQuery:()=>l,useAssetPatchByIdMutation:()=>g,useAssetReplaceMutation:()=>f,useAssetSaveGridConfigurationMutation:()=>S,useAssetSetGridConfigurationAsFavoriteMutation:()=>x,useAssetUpdateByIdMutation:()=>c,useAssetUpdateGridConfigurationMutation:()=>E});var r=n(38693);function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{addTagTypes:()=>o,api:()=>i,useAssetAddMutation:()=>N,useAssetCloneMutation:()=>a,useAssetCustomMetadataGetByIdQuery:()=>s,useAssetCustomSettingsGetByIdQuery:()=>l,useAssetDeleteCsvMutation:()=>d,useAssetDeleteGridConfigurationByConfigurationIdMutation:()=>S,useAssetDeleteZipMutation:()=>h,useAssetDocumentStreamPreviewQuery:()=>u,useAssetDownloadByIdQuery:()=>m,useAssetDownloadCsvQuery:()=>f,useAssetDownloadZipQuery:()=>p,useAssetExportCsvAssetMutation:()=>g,useAssetExportCsvFolderMutation:()=>y,useAssetExportZipAssetMutation:()=>v,useAssetExportZipFolderMutation:()=>b,useAssetGetAvailableGridColumnsQuery:()=>x,useAssetGetByIdQuery:()=>O,useAssetGetGridConfigurationByFolderIdQuery:()=>E,useAssetGetGridMutation:()=>C,useAssetGetSavedGridConfigurationsQuery:()=>_,useAssetGetTextDataByIdQuery:()=>c,useAssetGetTreeQuery:()=>I,useAssetImageDownloadByFormatQuery:()=>A,useAssetImageDownloadByThumbnailQuery:()=>L,useAssetImageDownloadCustomQuery:()=>k,useAssetImageStreamPreviewQuery:()=>D,useAssetPatchByIdMutation:()=>R,useAssetPatchFolderByIdMutation:()=>M,useAssetReplaceMutation:()=>$,useAssetSaveGridConfigurationMutation:()=>P,useAssetSetGridConfigurationAsFavoriteMutation:()=>T,useAssetUpdateByIdMutation:()=>w,useAssetUpdateGridConfigurationMutation:()=>j,useAssetUploadInfoQuery:()=>B,useAssetUploadZipMutation:()=>F,useAssetVideoDownloadByThumbnailQuery:()=>Q,useAssetVideoImageThumbnailStreamQuery:()=>z,useAssetVideoStreamByThumbnailQuery:()=>V,useVersionAssetDownloadByIdQuery:()=>U});var r=n(35525),o=["Assets","Asset Grid","Versions"],i=r.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{assetClone:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/clone/").concat(e.parentId),method:"POST"}},invalidatesTags:["Assets"]}),assetCustomMetadataGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/custom-metadata")}},providesTags:["Assets"]}),assetCustomSettingsGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/custom-settings")}},providesTags:["Assets"]}),assetGetTextDataById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/text")}},providesTags:["Assets"]}),assetDocumentStreamPreview:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/document/stream/pdf-preview")}},providesTags:["Assets"]}),assetDownloadCsv:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/download/csv/".concat(e.jobRunId)}},providesTags:["Assets"]}),assetDeleteCsv:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/download/csv/".concat(e.jobRunId),method:"DELETE"}},invalidatesTags:["Assets"]}),assetDownloadZip:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/download/zip/".concat(e.jobRunId)}},providesTags:["Assets"]}),assetDeleteZip:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/download/zip/".concat(e.jobRunId),method:"DELETE"}},invalidatesTags:["Assets"]}),assetDownloadById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/download")}},providesTags:["Assets"]}),assetExportCsvAsset:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/export/csv/asset",method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetExportCsvFolder:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/export/csv/folder",method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetExportZipAsset:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/export/zip/asset",method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetExportZipFolder:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/export/zip/folder",method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id)}},providesTags:["Assets"]}),assetUpdateById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id),method:"PUT",body:e.body}},invalidatesTags:["Assets"]}),assetDeleteGridConfigurationByConfigurationId:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configuration/".concat(e.folderId,"/").concat(e.configurationId),method:"DELETE"}},invalidatesTags:["Asset Grid"]}),assetGetAvailableGridColumns:e.query({query:function(){return{url:"/pimcore-studio/api/assets/grid/available-columns"}},providesTags:["Asset Grid"]}),assetGetGridConfigurationByFolderId:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configuration/".concat(e.folderId),params:{configurationId:e.configurationId}}},providesTags:["Asset Grid"]}),assetGetSavedGridConfigurations:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configurations/".concat(e.folderId)}},providesTags:["Asset Grid"]}),assetSaveGridConfiguration:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configuration/save",method:"POST",body:e.body}},invalidatesTags:["Asset Grid"]}),assetSetGridConfigurationAsFavorite:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configuration/set-as-favorite/".concat(e.configurationId,"/").concat(e.folderId),method:"POST"}},invalidatesTags:["Asset Grid"]}),assetUpdateGridConfiguration:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configuration/update/".concat(e.configurationId),method:"PUT",body:e.body}},invalidatesTags:["Asset Grid"]}),assetGetGrid:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/grid",method:"POST",body:e.body}},invalidatesTags:["Asset Grid"]}),assetImageDownloadCustom:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(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"]}),assetImageDownloadByFormat:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/image/download/format/").concat(e.format)}},providesTags:["Assets"]}),assetImageStreamPreview:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/image/stream/preview")}},providesTags:["Assets"]}),assetImageDownloadByThumbnail:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/image/download/thumbnail/").concat(e.thumbnailName)}},providesTags:["Assets"]}),assetPatchById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets",method:"PATCH",body:e.body}},invalidatesTags:["Assets"]}),assetPatchFolderById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/folder",method:"PATCH",body:e.body}},invalidatesTags:["Assets"]}),assetGetTree:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/tree",params:{page:e.page,pageSize:e.pageSize,parentId:e.parentId,idSearchTerm:e.idSearchTerm,excludeFolders:e.excludeFolders,path:e.path,pathIncludeParent:e.pathIncludeParent,pathIncludeDescendants:e.pathIncludeDescendants}}},providesTags:["Assets"]}),assetAdd:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/add/".concat(e.parentId),method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetUploadInfo:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/exists/".concat(e.parentId),params:{fileName:e.fileName}}},providesTags:["Assets"]}),assetReplace:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/replace"),method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetUploadZip:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/add-zip/".concat(e.parentId),method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetVideoImageThumbnailStream:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(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:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/video/download/").concat(e.thumbnailName)}},providesTags:["Assets"]}),assetVideoStreamByThumbnail:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/video/stream/").concat(e.thumbnailName)}},providesTags:["Assets"]}),versionAssetDownloadById:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id,"/asset/download")}},providesTags:["Versions"]})}},overrideExisting:!1}),a=i.useAssetCloneMutation,s=i.useAssetCustomMetadataGetByIdQuery,l=i.useAssetCustomSettingsGetByIdQuery,c=i.useAssetGetTextDataByIdQuery,u=i.useAssetDocumentStreamPreviewQuery,f=i.useAssetDownloadCsvQuery,d=i.useAssetDeleteCsvMutation,p=i.useAssetDownloadZipQuery,h=i.useAssetDeleteZipMutation,m=i.useAssetDownloadByIdQuery,g=i.useAssetExportCsvAssetMutation,y=i.useAssetExportCsvFolderMutation,v=i.useAssetExportZipAssetMutation,b=i.useAssetExportZipFolderMutation,O=i.useAssetGetByIdQuery,w=i.useAssetUpdateByIdMutation,S=i.useAssetDeleteGridConfigurationByConfigurationIdMutation,x=i.useAssetGetAvailableGridColumnsQuery,E=i.useAssetGetGridConfigurationByFolderIdQuery,_=i.useAssetGetSavedGridConfigurationsQuery,P=i.useAssetSaveGridConfigurationMutation,T=i.useAssetSetGridConfigurationAsFavoriteMutation,j=i.useAssetUpdateGridConfigurationMutation,C=i.useAssetGetGridMutation,k=i.useAssetImageDownloadCustomQuery,A=i.useAssetImageDownloadByFormatQuery,D=i.useAssetImageStreamPreviewQuery,L=i.useAssetImageDownloadByThumbnailQuery,R=i.useAssetPatchByIdMutation,M=i.useAssetPatchFolderByIdMutation,I=i.useAssetGetTreeQuery,N=i.useAssetAddMutation,B=i.useAssetUploadInfoQuery,$=i.useAssetReplaceMutation,F=i.useAssetUploadZipMutation,z=i.useAssetVideoImageThumbnailStreamQuery,Q=i.useAssetVideoDownloadByThumbnailQuery,V=i.useAssetVideoStreamByThumbnailQuery,U=i.useVersionAssetDownloadByIdQuery},25525:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addCustomMetadataToAsset:()=>I,addImageSettingsToAsset:()=>x,addPropertyToAsset:()=>P,addScheduleToAsset:()=>k,assetReceived:()=>v,assetsAdapter:()=>m,removeAsset:()=>b,removeCustomMetadataFromAsset:()=>N,removeImageSettingFromAsset:()=>E,removePropertyFromAsset:()=>T,removeScheduleFromAsset:()=>A,resetAsset:()=>O,resetChanges:()=>w,resetSchedulesChangesForAsset:()=>R,selectAssetById:()=>z,setActiveTabForAsset:()=>F,setCustomMetadataForAsset:()=>$,setModifiedCells:()=>S,setPropertiesForAsset:()=>j,setSchedulesForAsset:()=>D,slice:()=>g,updateAllCustomMetadataForAsset:()=>M,updateCustomMetadataForAsset:()=>B,updateImageSettingForAsset:()=>_,updatePropertyForAsset:()=>C,updateScheduleForAsset:()=>L});var r=n(8327),o=n(7496),i=n(86618),a=n(78576),s=n(94941),l=n(36403),c=n(2228),u=n(95973);function f(e){return f="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},f(e)}function d(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 p(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{AssetContext:()=>o,AssetProvider:()=>i});var r=n(36198),o=(0,r.createContext)({id:0}),i=function(e){var t=e.id,n=e.children;return(0,r.useMemo)((function(){return r.createElement(o.Provider,{value:{id:t}},n)}),[t])}},78576:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useCustomMetadataDraft:()=>f,useCustomMetadataReducers:()=>u});var r=n(7496);function o(e){return o="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},o(e)}function i(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 a(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{useImageSettingsDraft:()=>c,useImageSettingsReducers:()=>l});var r=n(7496);function o(e){return o="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},o(e)}function i(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 a(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{EditorContainer:()=>d});var r=n(36198),o=n(61008),i=n(2263),a=n(5482),s=n(43741),l=n(82755),c=n(98740),u=n(7046),f=n(6150),d=function(e){var t=e.id,n=(0,o.useAssetDraft)(t),d=n.isLoading,p=n.isError,h=n.asset,m=n.removeAssetFromState,g=n.editorType,y=(0,i.useIsAcitveMainWidget)(),v=(0,a.useGlobalAssetContext)(),b=v.setContext,O=v.removeContext;return(0,r.useEffect)((function(){return function(){O(),m()}}),[]),(0,r.useEffect)((function(){return y&&b({id:t}),function(){y||O()}}),[y]),p?r.createElement("div",null,"Error"):d?r.createElement(l.Content,{loading:!0}):void 0===h||void 0===g?r.createElement(r.Fragment,null):r.createElement(s.AssetProvider,{id:t},r.createElement(f.TabsToolbarView,{renderTabbar:r.createElement(c.TabsContainer,{elementEditorType:g}),renderToolbar:r.createElement(u.Toolbar,null)}))}},62288:(e,t,n)=>{"use strict";n.r(t);var r=n(81690),o=(n(957),n(50941),n(42371),n(14230),n(55347),n(45136),n(8156),n(87160),n(54088)),i=n(80237),a=n(33859),s=n(16728);i.moduleSystem.registerModule({onInit:function(){var e=r.container.get(o.serviceIds["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"}),r.container.get(o.serviceIds.widgetManager).registerWidget(s.AssetEditorWidget),r.container.get(o.serviceIds["App/ComponentRegistry/ComponentRegistry"]).register({name:"editorToolbarContextMenuAsset",component:a.EditorToolbarContextMenu})}})},98051:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TAB_CUSTOM_METADATA:()=>f,TAB_EMBEDDED_METADATA:()=>u,TAB_VERSIONS:()=>d});var r=n(54663),o=n(36198),i=n(4366),a=n(93365),s=n(9287),l=n(64620),c=n(67092),u={key:"embedded-metadata",label:"asset.asset-editor-tabs.embedded-metadata",children:o.createElement(i.EmbeddedMetadataTabContainer,null),icon:o.createElement(r.Icon,{value:"data-sheet"}),isDetachable:!0},f={key:"custom-metadata",label:"asset.asset-editor-tabs.custom-metadata",children:o.createElement(a.CustomMetadataTabContainer,null),icon:o.createElement(r.Icon,{value:"data-management-2"}),isDetachable:!0},d={key:"versions",label:"version.label",workspacePermission:"versions",children:o.createElement(s.VersionsTabContainer,{ComparisonViewComponent:l.ComparisonView,SingleViewComponent:c.SingleView}),icon:o.createElement(r.Icon,{value:"history-outlined"}),isDetachable:!0}},47042:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CustomMetadataTable:()=>O});var r=n(36198),o=n(30811),i=n(74094),a=n(93477),s=n(44587),l=n(43741),c=n(61008),u=n(27027),f=n(30928),d=n(48388),p=n(47259);function h(e){return h="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},h(e)}function m(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0===(null==w?void 0:w.changes.customMetadata)&&P(k,[])}),[w]);var L=(0,i.createColumnHelper)(),R=[L.accessor("type",{header:g("asset.asset-editor-tabs.custom-metadata.columns.type"),meta:{type:"asset-custom-metadata-icon"},size:40}),L.accessor("name",{header:g("asset.asset-editor-tabs.custom-metadata.columns.name"),meta:{editable:!0},size:200}),L.accessor("language",{header:g("asset.asset-editor-tabs.custom-metadata.columns.language"),meta:{type:"language-select",editable:!0},size:100}),L.accessor("data",{header:g("asset.asset-editor-tabs.custom-metadata.columns.value"),meta:{type:"asset-custom-metadata-value",editable:!0,autoWidth:!0},size:400}),L.accessor("actions",{header:g("asset.asset-editor-tabs.custom-metadata.columns.actions"),cell:function(e){return r.createElement(d.Box,{padding:"mini"},r.createElement(p.Flex,{align:"center",className:"w-full h-full",justify:"center"},r.createElement(u.IconButton,{icon:{value:"trash"},onClick:function(){E(e.row.original)},type:"link"})))},size:60})];return r.createElement(s.Grid,{autoWidth:!0,columns:R,data:null!=D?D:[],isLoading:C,modifiedCells:A,onUpdateCellData:function(e){e.rowIndex;var t=e.columnId,r=e.value,o=e.rowData,i=m(null!=S?S:[]),a=i.findIndex((function(e){return e.name===o.name&&e.language===o.language})),s=v(v({},i.at(a)),{},b({},t,r));i[a]=s;var l=i.filter((function(e){return e.name===s.name&&e.language===s.language})).length>1;if((0,f.verifyUpdate)(r,t,"name",l,h,n)){var c=i.map((function(e){var t;return v(v({},e),{},{type:null!==(t=e.type.split(".")[1])&&void 0!==t?t:e.type})}));_(c),P(k,[].concat(m(A),[{rowIndex:o.rowId,columnId:t}]))}},setRowId:function(e){return e.rowId}})}},93365:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CustomMetadataTabContainer:()=>_});var r=n(36198),o=n(30811),i=n(71816),a=n(77749),s=n(47042),l=n(95987),c=n(61008),u=n(43741),f=n(15747),d=n(16826),p=n(81690),h=n(54088),m=n(62833),g=n(54512),y=n(41161),v=n(82755),b=n(40069),O=n(58664);function w(e){return function(e){if(Array.isArray(e))return E(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||x(e)||function(){throw new 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,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||x(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){if(e){if("string"==typeof e)return E(e,t);var n=Object.prototype.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)?E(e,t):void 0}}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0,t=void 0!==$.current;if(e&&t)if(void 0===(null==j?void 0:j.find((function(e){return e.name===N.current&&e.language===F.current})))){var n={additionalAttributes:[],name:N.current,type:$.current,language:F.current,data:null,rowId:crypto.randomUUID()};T(n)}else k();else R()}()}},e("asset.asset-editor-tabs.custom-metadata.add-custom-metadata.add"))),r.createElement(D,{footer:r.createElement(d.ModalFooter,null,r.createElement(i.Button,{onClick:A,type:"primary"},e("button.ok"))),title:e("asset.asset-editor-tabs.custom-metadata.custom-metadata-already-exist.title")},e("asset.asset-editor-tabs.custom-metadata.custom-metadata-already-exist.error")),r.createElement(I,{footer:r.createElement(d.ModalFooter,null,r.createElement(i.Button,{onClick:M,type:"primary"},e("button.ok"))),title:e("asset.asset-editor-tabs.custom-metadata.add-entry-mandatory-fields-missing.title")},e("asset.asset-editor-tabs.custom-metadata.add-entry-mandatory-fields-missing.error"))),!n&&r.createElement(g.ButtonGroup,{items:[r.createElement(i.Button,{key:e("asset.asset-editor-tabs.custom-metadata.add-predefined-definition"),onClick:function(){console.log("clicked")}},e("asset.asset-editor-tabs.custom-metadata.add-predefined-definition")),r.createElement(m.IconTextButton,{icon:{value:"PlusCircleOutlined"},key:e("asset.asset-editor-tabs.custom-metadata.add-custom-definition.add"),onClick:function(){x(!0)}},e("asset.asset-editor-tabs.custom-metadata.add-custom-definition.add"))]})))),r.createElement(s.CustomMetadataTable,{showDuplicateEntryModal:k,showMandatoryModal:R}))}},4366:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EmbeddedMetadataTabContainer:()=>p});var r=n(36198),o=n(93477),i=n(74094),a=n(44587),s=n(30811),l=n(82755),c=n(41161),u=n(14465);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;function o(e){return o="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},o(e)}function i(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 a(e,t,n){var r;return r=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==o(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.r(t),n.d(t,{useStyles:()=>s});var s=(0,n(99291).createStyles)((function(e){var t,n,o=e.token,s=e.css,l=function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{ComparisonViewUi:()=>m});var r=n(36198),o=n(73217),i=n(15663),a=n(44587),s=n(74094),l=n(72166),c=n(71590),u=n(55328);function f(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 d(e){for(var t=1;t1?1200:600}},r.createElement(u.Flex,{align:"center",gap:"small",justify:"center",style:{minHeight:100}},t.map((function(e,t){return r.createElement("div",{key:t},null!==e.previewImageUrl?r.createElement(c.PimcoreImage,{src:e.previewImageUrl,style:{maxHeight:500,maxWidth:500}}):"No preview available")}))),r.createElement(u.Flex,{align:"center",className:"w-full"},r.createElement(a.Grid,{autoWidth:!0,columns:g,data:n}))))}},64620:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ComparisonView:()=>h});var r=n(36198),o=n(83227),i=n(69002),a=n(76415),s=n(7496),l=n(82755);function c(e){return c="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},c(e)}function u(){u=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==c(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function f(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{hydrateVersionData:()=>m,loadPreviewImage:()=>v,versionsDataToTableData:()=>b});var r=n(63664),o=n(6745),i=n(81690),a=n(54088),s=n(36609);function l(e){return l="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},l(e)}function c(e,t,n){var r;return r=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==l(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(){u=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==l(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function f(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){f(i,r,o,a,s,"next",e)}function s(e){f(i,r,o,a,s,"throw",e)}a(void 0)}))}}function p(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(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 new 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,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);no?1:0})),[].concat(n,r)}},52188:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SingleViewUi:()=>u});var r=n(36198),o=n(73217),i=n(44587),a=n(74094),s=n(71590),l=n(55328),c=n(27027),u=function(e){var t=e.versionId,n=e.data,u=e.imgSrc,f=e.firstVersion,d=e.lastVersion,p=e.onClickPrevious,h=e.onClickNext,m=(0,a.createColumnHelper)(),g=[m.accessor(o.default.t("field"),{size:162,meta:{type:"asset-version-preview-field-label"}}),m.accessor(o.default.t("version.version")+" "+t.count,{size:180})];return r.createElement(l.Space,{align:"center",direction:"vertical",size:"large",style:{maxWidth:600}},r.createElement(l.Flex,{align:"center",gap:"small",justify:"center",style:{minHeight:100}},r.createElement(c.IconButton,{disabled:f,icon:{value:"left-outlined"},onClick:p,type:"text"}),null!==u?r.createElement(s.PimcoreImage,{className:"image-slider__image",src:u,style:{maxHeight:500,maxWidth:500}}):null,r.createElement(c.IconButton,{disabled:d,icon:{value:"right-outlined"},onClick:h,type:"text"})),r.createElement(l.Flex,{className:"w-full",justify:"center"},r.createElement(i.Grid,{autoWidth:!0,columns:g,data:n})))}},67092:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SingleView:()=>f});var r=n(36198),o=n(83227),i=n(7496),a=n(76415),s=n(52188),l=n(82755);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0&&n+e{"use strict";n.r(t),n.d(t,{TitleContainer:()=>a});var r=n(36198),o=n(1464),i=n(61008),a=function(e){var t,n=e.node,a=(0,i.useAssetDraft)(n.getConfig().id).asset;return r.createElement(o.TabTitleContainer,{modified:null!==(t=null==a?void 0:a.modified)&&void 0!==t&&t,node:n})}},33859:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EditorToolbarContextMenu:()=>m});var r=n(55328),o=n(27027),i=n(95658),a=n(36198),s=n(93477),l=n(38693),c=n(7496),u=n(30811),f=n(43741),d=n(61008);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?b(!0):O()},open:v,title:e("toolbar.reload.confirmation")},a.createElement(o.IconButton,{icon:{value:"refresh"}},e("toolbar.reload"))));function O(){g(),t(s.api.util.invalidateTags(l.invalidatingTags.ASSET_DETAIL_ID(n)))}}},7046:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Toolbar:()=>T});var r=n(36198),o=n(72475),i=n(30811),a=n(71816),s=n(61008),l=n(93477),c=n(78078),u=n(63033),f=n(54088),d=n(81690),p=n(46928),h=n(49555),m=n(47259),g=n(20160),y=n(81873),v=["rowId"],b=["rowId"];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 w(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{useSubmitWorkflow:()=>d});var r=n(24431),o=n(78078),i=n(36609),a=n(96486),s=n.n(a),l=n(2824),c=n(46928);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{useWorkflow:()=>l});var r=n(36198),o=n(20160),i=n(24431),a=n(46928),s=n(87633),l=function(){var e,t=(0,r.useContext)(o.WorkflowContext),n=t.openModal,l=t.closeModal,c=t.isModalOpen,u=t.contextWorkflowDetails,f=t.setContextWorkflowDetails,d=(0,a.useElementContext)(),p=d.id,h=d.elementType,m=(0,s.useElementDraft)(p,h).element,g=null!==(e=null==m?void 0:m.hasWorkflowAvailable)&&void 0!==e&&e,y=(0,i.useWorkflowGetDetailsQuery)({elementType:h,elementId:p},{skip:!g});return{openModal:n,closeModal:l,isModalOpen:c,contextWorkflowDetails:u,setContextWorkflowDetails:f,workflowDetailsData:y.data,isFetchingWorkflowDetails:y.isFetching}}},81873:(e,t,n)=>{"use strict";n.r(t),n.d(t,{WorkflowLogModal:()=>g});var r=n(36198),o=n(16826),i=n(71816),a=n(55381),s=n(47259),l=n(31090),c=n(2824),u=n(79195),f=n(55328),d=n(36609),p=n(31825);function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{WorkFlowProvider:()=>s,WorkflowContext:()=>a});var r=n(36198);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{EditorToolbarWorkflowMenu:()=>m});var r=n(36198),o=n(59407),i=n(7667),a=n(41642),s=n(30811),l=n(71632),c=n(47259),u=n(54663),f=n(48665),d=n(2824);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0){var t=g.items.flatMap((function(t){var n,o,i=[];return i.push({key:((null!==(n=null==g||null===(o=g.items)||void 0===o?void 0:o.length)&&void 0!==n?n:0)+1).toString(),type:"custom",component:r.createElement(l.WorkflowTransitionGroup,{workflow:t})}),{key:e("".concat(t.workflowName)),type:"group",label:e("".concat(t.workflowName)).toUpperCase(),children:i}}));h(t)}}),[g]);return r.createElement(c.Flex,{align:"center",justify:"flex-end"},r.createElement(o.TagList,{itemGap:"extra-small",list:void 0!==(null==g?void 0:g.items)&&g.items.length>0?[g.items.reduce((function(t,n){return n.workflowStatus.forEach((function(n){if(void 0!==n.visibleInDetail&&n.visibleInDetail){var o=n.colorInverted?{backgroundColor:"".concat(n.color,"33")}:{},a={children:e("".concat(n.label)),icon:r.createElement(i.Badge,{color:n.color}),style:o};t.push(a)}})),t}),[])]:[[]],wrap:!1}),void 0!==g&&r.createElement(a.Dropdown,{disabled:y,menu:{items:n}},r.createElement(f.DropdownButton,null,r.createElement(u.Icon,{options:{height:16,width:16},value:"workflow"}))))}},92163:(e,t,n)=>{"use strict";var r,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyles:()=>a});var a=(0,n(99291).createStyles)((function(e){var t=e.token,n=e.css;return{button:n(r||(r=i(["\n min-width: 100%;\n justify-items: flex-start;\n "]))),"not-first":n(o||(o=i(["\n margin-top: ","px;\n "])),t.marginXXS)}}),{hashPriority:"low"})},71632:(e,t,n)=>{"use strict";n.r(t),n.d(t,{WorkflowTransitionGroup:()=>c});var r=n(36198),o=n(30811),i=n(2824),a=n(71816),s=n(31825),l=n(92163),c=(n(93967),function(e){var t,n,c=e.workflow,u=(0,i.useWorkflow)().openModal,f=(0,s.useSubmitWorkflow)(c.workflowName),d=f.submitWorkflowAction,p=f.submissionLoading,h=(0,l.useStyles)().styles,m=(0,o.useTranslation)().t,g=function(e,t){return r.createElement(a.Button,{className:"".concat(h.button),onClick:function(){!function(e,t,n){"global"===t?u({action:e,transition:t,workflowName:n}):"transition"===t&&d(e,t,n,{})}(e,t,c.workflowName)},type:"text"},m("".concat(e)))};return p?r.createElement(a.Button,{loading:p,type:"link"}):r.createElement("div",null,null===(t=c.allowedTransitions)||void 0===t?void 0:t.map((function(e){return g(e.label,"transition")})),null===(n=c.globalActions)||void 0===n?void 0:n.map((function(e){return g(e.label,"global")})))})},8156:(e,t,n)=>{"use strict";n.r(t);var r=n(81690),o=n(54088),i=n(80237),a=n(98051),s=n(99954);i.moduleSystem.registerModule({onInit:function(){var e=r.container.get(o.serviceIds["Asset/Editor/ArchiveTabManager"]);e.register(a.TAB_CUSTOM_METADATA),e.register(s.TAB_PROPERTIES),e.register(a.TAB_VERSIONS),e.register(s.TAB_SCHEDULE),e.register(s.TAB_DEPENDENCIES),e.register(s.TAB_NOTES_AND_EVENTS),e.register(s.TAB_TAGS),e.register(s.TAB_WORKFLOW)}})},79262:(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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=a(this,t)).type="archive",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&c(e,t)}(t,e),n=t,r&&o(n.prototype,r),i&&o(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(n(62167).TabManager)},81800:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addTagTypes:()=>o,api:()=>i,useThumbnailImageGetCollectionQuery:()=>a,useThumbnailVideoGetCollectionQuery:()=>s});var r=n(35525),o=["Asset Thumbnails"],i=r.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{thumbnailImageGetCollection:e.query({query:function(){return{url:"/pimcore-studio/api/thumbnails/image"}},providesTags:["Asset Thumbnails"]}),thumbnailVideoGetCollection:e.query({query:function(){return{url:"/pimcore-studio/api/thumbnails/video"}},providesTags:["Asset Thumbnails"]})}},overrideExisting:!1}),a=i.useThumbnailImageGetCollectionQuery,s=i.useThumbnailVideoGetCollectionQuery},45136:(e,t,n)=>{"use strict";n.r(t);var r=n(36198),o=n(65611),i=n(81690),a=n(54088),s=n(80237),l=n(98051),c=n(99954),u=n(54663);s.moduleSystem.registerModule({onInit:function(){var e=i.container.get(a.serviceIds["Asset/Editor/AudioTabManager"]);e.register({key:"view",label:"asset.asset-editor-tabs.view",children:r.createElement(o.PreviewContainer,null),icon:r.createElement(u.Icon,{value:"image-05"})}),e.register(l.TAB_CUSTOM_METADATA),e.register(c.TAB_PROPERTIES),e.register(l.TAB_VERSIONS),e.register(c.TAB_SCHEDULE),e.register(c.TAB_DEPENDENCIES),e.register(c.TAB_NOTES_AND_EVENTS),e.register(c.TAB_TAGS),e.register(c.TAB_WORKFLOW)}})},96852:(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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=a(this,t)).type="audio",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&c(e,t)}(t,e),n=t,r&&o(n.prototype,r),i&&o(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(n(62167).TabManager)},65611:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PreviewContainer:()=>l});var r=n(36198),o=n(14771),i=n(93477),a=n(43741),s=n(32215),l=function(){var e=(0,r.useContext)(a.AssetContext),t=(0,i.useAssetGetByIdQuery)({id:e.id}).data;return r.createElement(s.ContentLayout,null,r.createElement(o.PreviewView,{src:t.fullPath}))}},30877:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{preview:(0,e.css)(r||(t=["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n object-fit: contain;\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},14771:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PreviewView:()=>a});var r=n(36198),o=n(30877),i=n(38345),a=function(e){var t=(0,o.useStyle)().styles,n=e.src;return r.createElement("div",{className:t.preview},r.createElement(i.PimcoreAudio,{sources:[{src:n}]}))}},957:(e,t,n)=>{"use strict";n.r(t);var r=n(36198),o=n(54663),i=n(52639),a=n(81690),s=n(54088),l=n(80237),c=n(98051),u=n(99954);l.moduleSystem.registerModule({onInit:function(){var e=a.container.get(s.serviceIds["Asset/Editor/DocumentTabManager"]);e.register({key:"view",label:"asset.asset-editor-tabs.view",children:r.createElement(i.PreviewContainer,null),icon:r.createElement(o.Icon,{value:"image-05"})}),e.register(c.TAB_CUSTOM_METADATA),e.register(u.TAB_PROPERTIES),e.register(c.TAB_VERSIONS),e.register(u.TAB_SCHEDULE),e.register(u.TAB_DEPENDENCIES),e.register(u.TAB_NOTES_AND_EVENTS),e.register(u.TAB_TAGS),e.register(u.TAB_WORKFLOW)}})},35624:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DocumentTabManager:()=>h});var r=n(62167),o=n(66595);function i(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},p=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":f(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,t)).type="document",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&u(e,t)}(t,e),n=t,r&&i(n.prototype,r),o&&i(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(r.TabManager);h=d([(0,o.injectable)(),p("design:paramtypes",[])],h)},52639:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PreviewContainer:()=>p});var r=n(36198),o=n(7841),i=n(32215),a=n(82755),s=n(14465),l=n(61008),c=n(65246),u=n(56239);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{preview:(0,e.css)(r||(t=["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n object-fit: contain;\n\n iframe {\n display: flex;\n height: 100%;\n width: 100%;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},7841:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PreviewView:()=>a});var r=n(36198),o=n(13339),i=n(82626),a=function(e){var t=(0,o.useStyle)().styles,n=e.src;return r.createElement("div",{className:t.preview},r.createElement(i.PimcoreDocument,{src:n}))}},50941:(e,t,n)=>{"use strict";n.r(t);var r=n(36198),o=n(54663),i=n(65895),a=n(10809),s=n(81690),l=n(54088),c=n(80237),u=n(99954);c.moduleSystem.registerModule({onInit:function(){var e=s.container.get(l.serviceIds["Asset/Editor/FolderTabManager"]);e.register({children:r.createElement(a.PreviewContainer,null),icon:r.createElement(o.Icon,{value:"image-05"}),key:"preview",label:"folder.folder-editor-tabs.preview"}),e.register({children:r.createElement(i.ListContainer,null),icon:r.createElement(o.Icon,{value:"unordered-list-outlined"}),key:"list",label:"folder.folder-editor-tabs.view"}),e.register(u.TAB_PROPERTIES),e.register(u.TAB_DEPENDENCIES),e.register(u.TAB_NOTES_AND_EVENTS),e.register(u.TAB_TAGS),e.register(u.TAB_WORKFLOW)}})},47308:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FolderTabManager:()=>h});var r=n(62167),o=n(66595);function i(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},p=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":f(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,t)).type="folder",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&u(e,t)}(t,e),n=t,r&&i(n.prototype,r),o&&i(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(r.TabManager);h=d([(0,o.injectable)(),p("design:paramtypes",[])],h)},51512:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DEFAULT_IS_INCLUDE_DESCENDANTS_VALUE:()=>r,defaultFilterOptions:()=>o,defaultTagFilterOptions:()=>i});var r=!0,o={columnFilters:[],includeDescendants:r},i={columnFilters:[]}},57987:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{FILTER_TYPE:()=>r}),function(e){e.TAG_TYPE="system.tag",e.PQL_QUERY_TYPE="system.pql",e.FULL_TEXT_TYPE="system.fulltext"}(r||(r={}))},53480:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GridContainer:()=>m,createColumnIdentifier:()=>d,decodeColumnIdentifier:()=>p,encodeColumnIdentifier:()=>h});var r=n(36198),o=n(44587),i=n(74094),a=n(30811),s=n(42938),l=n(86536),c=n(1447);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{generateQueryArgsForGrid:()=>u});var r=n(53480);function o(e){return o="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},o(e)}function i(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 a(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0){var h=o[0],m=(0,r.encodeColumnIdentifier)(h.id);p={key:m.key,locale:m.locale,direction:h.desc?"DESC":"ASC"}}return{body:{folderId:u,columns:f.map((function(e){return{config:[],key:e.key,type:e.type,locale:e.locale}})),filters:a(a({page:i,pageSize:parseInt(s.toString())},c),{},{sortFilter:p})}}}},42938:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getFormattedDropDownMenu:()=>u,useListColumns:()=>f,useListData:()=>b,useListFilterOptions:()=>d,useListGridAvailableColumns:()=>p,useListGridConfig:()=>h,useListPage:()=>m,useListPageSize:()=>g,useListSelectedConfigId:()=>O,useListSelectedRows:()=>y,useListSorting:()=>v});var r=n(36198),o=n(30089),i=n(36609),a=n(20079),s=n(29741);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{ListContainerInner:()=>T});var r=n(93477),o=n(36198),i=n(53480),a=n(46424),s=n(43741),l=n(49676),c=n(42938),u=n(7496),f=n(30089),d=n(32215),p=n(82755),h=n(10365),m=n(93882),g=n(92727);function y(e){return y="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},y(e)}function v(e){return function(e){if(Array.isArray(e))return P(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||_(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(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 O(e){for(var t=1;t=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function x(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||_(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){if(e){if("string"==typeof e)return P(e,t);var n=Object.prototype.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)?P(e,t):void 0}}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:void 0;W((function(t){return B((function(n){var r,o=null!=e?e:n,i=null==o?void 0:o.items.map((function(e){var n,r=null===(n=e.columns.find((function(e){return"id"===e.key})))||void 0===n?void 0:n.value;if(!t.some((function(e){return e.rowIndex===r})))return e;var o=e.columns.map((function(e){var n=t.find((function(t){return t.rowIndex===r&&t.columnId===e.key&&t.locale===e.locale}));return void 0===n?e:O(O({},e),{},{value:n.value})}));return O(O({},e),{},{columns:o})}));return{items:null!=i?i:[],totalItems:null!==(r=null==o?void 0:o.totalItems)&&void 0!==r?r:0}})),t}))},K=function(){if(0!==j.length){var e=(0,m.generateQueryArgsForGrid)({columns:j,availableColumns:D,assetId:M,page:y,pageSize:b,sorting:H,filterOptions:P});return F(O({},e)).then((function(e){var t=e.data;Y(t)})).catch((function(e){console.error(e)}))}},J=function(e){var t=e.value,n=e.columnId,r=e.rowData,o=(0,i.encodeColumnIdentifier)(n),a=j.find((function(e){return e.key===o.key&&e.locale===o.locale}));if(void 0!==a){if(W((function(e){return[].concat(v(e),[{columnId:o.key,locale:o.locale,rowIndex:r.id,value:t}])})),G((function(e){return[].concat(v(null!=e?e:[]),[{columnId:n,rowIndex:r.id}])})),Y(),"metadata"!==a.type.split(".")[0])throw new Error("Only metadata columns are supported for now");var s={body:{data:[{id:r.id,metadata:[{name:o.key,language:o.locale,data:t}]}]}};Q(s).catch((function(e){console.error(e)})).then((function(){var e;null===(e=K())||void 0===e||e.finally((function(){G((function(e){return null==e?void 0:e.filter((function(e){return!(e.columnId===n&&e.rowIndex===r.id)}))})),W((function(e){return e.filter((function(e){return!(e.columnId===o.key&&a.locale===o.locale&&e.rowIndex===r.id)}))}))})).catch((function(e){console.error(e)}))})).catch((function(e){console.error(e)}))}};return(0,o.useMemo)((function(){var e;return o.createElement(f.ListDataProvider,{data:N},o.createElement(p.Content,{loading:X},o.createElement(d.ContentLayout,{renderSidebar:o.createElement(l.SidebarContainer,{errorData:z.error}),renderToolbar:o.createElement(a.GridToolbarContainer,{pager:{current:y,total:null!==(e=null==N?void 0:N.totalItems)&&void 0!==e?e:0,pageSize:b,onChange:w}})},o.createElement(i.GridContainer,{assets:N,modifiedCells:U,onUpdateCellData:J}))))}),[N,y,b,U,X])}},65895:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ListContainer:()=>s});var r=n(36198),o=n(2314),i=n(30089),a=n(47636),s=function(){return r.createElement(i.ListProvider,null,r.createElement(a.DynamicTypeRegistryProvider,{serviceIds:["DynamicTypes/MetadataRegistry","DynamicTypes/ListingRegistry","DynamicTypes/BatchEditRegistry"]},r.createElement(o.ListContainerInner,null)))}},30089:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ListColumnsContext:()=>v,ListColumnsProvider:()=>b,ListDataContext:()=>A,ListDataProvider:()=>D,ListFilterOptionsContext:()=>w,ListFilterOptionsProvider:()=>S,ListGridAvailableColumnsContext:()=>g,ListGridAvailableColumnsProvider:()=>y,ListGridConfigContext:()=>h,ListGridConfigProvider:()=>m,ListPageContext:()=>x,ListPageProvider:()=>E,ListPageSizeContext:()=>_,ListPageSizeProvider:()=>P,ListProvider:()=>M,ListSelectedGridConfigIdContext:()=>L,ListSelectedGridConfigIdProvider:()=>R,ListSelectedRowsContext:()=>T,ListSelectedRowsProvider:()=>j,ListSortingContext:()=>C,ListSortingProvider:()=>k});var r=n(36198),o=n(51512),i=n(79342);function a(e){return a="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},a(e)}function s(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(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 c(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{FieldFiltersContainer:()=>y});var r=n(36198),o=n(96486),i=n(42938),a=n(1447),s=n(55328),l=n(30811),c=n(62833),u=n(99405),f=n(50906),d=n(41642);function p(e){return p="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},p(e)}function h(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 m(e,t,n){var r;return r=function(e,t){if("object"!=p(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==p(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=["size"],y=function(){var e,t=(0,l.useTranslation)().t,n=(0,i.useListGridAvailableColumns)().dropDownMenu,p=(0,f.useFilters)(),y=p.columns,v=p.addColumn,b=(0,a.useDynamicTypeResolver)().hasType,O=(e=function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{FieldFiltersListContainer:()=>u});var r=n(36198),o=n(97370),i=n(55328),a=n(54512),s=n(27027),l=n(58089),c=n(50906),u=function(e){var t=e.columns,n=(0,c.useFilters)(),u=n.removeFieldFilter,f=n.removeColumn,d=t.map((function(e){return{id:e.key,children:r.createElement(i.Tag,null,e.key),renderRightToolbar:r.createElement(a.ButtonGroup,{items:[r.createElement(s.IconButton,{icon:{value:"close"},key:"remove",onClick:function(){!function(e){f(e),u(e)}(e)}})]}),body:r.createElement(l.DefaultFilter,{column:e})}}));return r.createElement(r.Fragment,null,0===d.length&&r.createElement(i.Empty,{image:i.Empty.PRESENTED_IMAGE_SIMPLE}),d.length>0&&r.createElement(o.StackList,{items:d}))}},58089:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DefaultFilter:()=>i});var r=n(36198),o=n(1447),i=function(e){var t=e.column,n=t.frontendType,i=t.type,a=(0,(0,o.useDynamicTypeResolver)().getComponentRenderer)({target:"FIELD_FILTER",dynamicTypeIds:[i,n]}).ComponentRenderer;return null===a?r.createElement(r.Fragment,null,"Dynamic Field Filter not supported"):r.createElement(r.Fragment,null,a({column:t}))}},35989:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FilterContainerInner:()=>P});var r=n(62833),o=n(48324),i=n(55328),a=n(71816),s=n(47259),l=n(99401),c=n(86434),u=n(14278),f=n(13862),d=n(36198),p=n(79147),h=n(50906),m=n(64981),g=n(73316),y=n(14112),v=n(42938),b=n(32215),O=n(72475),w=n(82755),S=n(51512),x=n(96486);function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{FilterContainer:()=>l});var r=n(36198),o=n(35989),i=n(92429),a=n(29741),s=n(47636),l=function(e){var t=e.errorData;return r.createElement(i.FilterProvider,{errorData:t},r.createElement(s.DynamicTypeRegistryProvider,{serviceIds:["DynamicTypes/ListingRegistry"]},r.createElement(s.DynamicTypeRegistryProvider,{serviceIds:["DynamicTypes/FieldFilterRegistry"]},r.createElement(a.GridConfigProvider,null,r.createElement(o.FilterContainerInner,null)))))}},92429:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FilterContext:()=>s,FilterProvider:()=>l});var r=n(36198),o=n(51512);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{useFilters:()=>g});var r=n(36198),o=n(92429),i=n(51512),a=n(63295),s=n(79342);function l(e){return l="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},l(e)}var c=["resetColumns"];function u(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var g=function(){var e=(0,a.useGridConfig)(),t=e.resetColumns,n=m(e,c),l=(0,r.useContext)(o.FilterContext),f=l.filterOptions,d=l.setFilterOptions,h=l.filterError;return p({filterOptions:f,setFilterOptions:d,filterError:h,addOrUpdateFieldFilter:function(e,t){var n=f.columnFilters,r=[];if(void 0===n)return r=[{key:e.key,type:e.type,filterValue:t}],void d((function(e){return JSON.stringify(e.columnFilters)===JSON.stringify(r)?e:p(p({},e),{},{columnFilters:r})}));var o=n,i=o.findIndex((function(t){return t.key===e.key}));-1===i?r=[].concat(u(o),[{key:e.key,type:e.type,filterValue:t}]):(o[i]={key:e.key,type:e.type,filterValue:t},r=o),d((function(e){return JSON.stringify(e.columnFilters)===JSON.stringify(r)?e:p(p({},e),{},{columnFilters:r})}))},removeFieldFilter:function(e){var t=f.columnFilters;if(void 0!==t){var n=t,r=n.findIndex((function(t){return t.key===e.key}));-1!==r&&(n.splice(r,1),d((function(e){return p(p({},e),{},{columnFilters:n})})))}},getFieldFilter:function(e){var t=f.columnFilters;if(void 0!==t)return t.find((function(t){return t.key===e.key}))},resetFilters:function(){t(),d(i.defaultFilterOptions)},resetColumns:t,updateIsIncludeDescendants:function(e){d((function(t){return p(p({},t),{},{includeDescendants:e})}))},addOrUpdateFilterValue:function(e){var t=e.type,n=e.value;d((function(e){var r=e.columnFilters,o=function(){return r.filter((function(e){return e.type!==t}))},i=(0,s.isEmptyValue)(n)?o():[].concat(u(o()),[{type:t,filterValue:n}]);return p(p({},e),{},{columnFilters:i})}))}},n)}},14112:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useIncludeDescendantsFilter:()=>s});var r=n(36198),o=n(50906);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{usePQLQueryFilter:()=>l});var r=n(36198),o=n(50906),i=n(57987);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{useSearchFilter:()=>l});var r=n(36198),o=n(50906),i=n(57987);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{SaveForm:()=>m,defaultValues:()=>h});var r=n(40069),o=n(55328),i=n(79195),a=n(86434),s=n(36198),l=n(99401);function c(e){return c="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},c(e)}function u(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 f(e,t,n){var r;return r=function(e,t){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==c(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{GridConfigInner:()=>b});var r=n(36198),o=n(42938),i=n(63295),a=n(93477),s=n(14465),l=n(96673),c=n(33161),u=n(47974),f=n(76553),d=n(82755);function p(e){return p="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},p(e)}function h(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 m(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{GridConfigList:()=>b});var r=n(36198),o=n(97370),i=n(55328),a=n(27027),s=n(68034),l=n(63295),c=n(30811),u=n(40069),f=n(95987),d=n(86536);function p(e){return p="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},p(e)}function h(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 m(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&r.createElement(o.StackList,{items:g,onItemsChange:function(e){var t=e.map((function(e){return e.meta}));n(t)}}));function v(e,t){var o;if(!t.localizable)return r.createElement(r.Fragment,null);var i=["-"].concat(y(p.requiredLanguages));return r.createElement(s.LanguageSelection,{languages:i,onSelectLanguage:function(t){!function(e,t,r){var o=g.map((function(t){return t.id===e?m(m({},t),{},{meta:m(m({},t.meta),{},{locale:(0,s.transformLanguage)(r)})}):t})),i=o.map((function(e){return e.meta}));n(i)}(e,0,t)},selectedLanguage:null!==(o=t.locale)&&void 0!==o?o:"-"})}}},29741:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GridConfigContext:()=>a,GridConfigProvider:()=>s});var r=n(36198);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{GridConfig:()=>a});var r=n(36198),o=n(29741),i=n(18741),a=function(){return r.createElement(o.GridConfigProvider,null,r.createElement(i.GridConfigInner,null))}},63295:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useGridConfig:()=>s});var r=n(36198),o=n(29741);function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{EditView:()=>b});var r=n(71816),o=n(32215),i=n(82755),a=n(41161),s=n(40069),l=n(72475),c=n(41642),u=n(36198),f=n(30811),d=n(55328),p=n(96486),h=n(62833),m=n(82864),g=n(35182),y=n(27027),v=n(54663),b=function(e){var t=e.onCancelClick,n=e.gridConfig,b=e.onApplyClick,O=e.onEditConfigurationClick,w=e.onUpdateConfigurationClick,S=e.isUpdating,x=e.onSaveConfigurationClick,E=e.savedGridConfigurations,_=e.addColumnMenu,P=e.isLoading,T=e.columns,j=(0,f.useTranslation)().t,C="Predefined"!==(null==n?void 0:n.name)&&void 0!==n;return u.createElement(o.ContentLayout,{renderToolbar:u.createElement(l.Toolbar,{theme:"secondary"},u.createElement(r.Button,{onClick:t,type:"default"},j("button.cancel")),u.createElement(s.Space,{size:"extra-small"},u.createElement(u.Fragment,null,!C&&u.createElement(r.Button,{onClick:x,type:"default"},"Save as template"),C&&u.createElement(u.Fragment,null,u.createElement(g.Compact,null,u.createElement(r.Button,{loading:S,onClick:w,type:"default"},"Update the template"),u.createElement(c.Dropdown,{menu:{items:[{key:0,icon:u.createElement(v.Icon,{value:"edit-03"}),label:"Edit template details",onClick:function(){O()}},{key:1,icon:u.createElement(v.Icon,{value:"save-01"}),label:"Save as new template",onClick:function(){x()}}]}},u.createElement(y.IconButton,{icon:{value:"dots-horizontal"},type:"default"}))),!1)),u.createElement(r.Button,{onClick:b,type:"primary"},j("button.apply"))))},u.createElement(i.Content,{padded:!0},u.createElement(a.Header,{title:j("listing.grid-config.title")},u.createElement(c.Dropdown,{disabled:0===(null==E?void 0:E.length)&&!P,menu:{items:E}},u.createElement(d.Tooltip,{title:0!==(null==E?void 0:E.length)||P?"":"No saved templates available"},u.createElement(h.IconTextButton,{disabled:0===(null==E?void 0:E.length)&&!P,icon:{value:"magic-wand-01"},loading:P},C?u.createElement(u.Fragment,null,n.name):u.createElement(u.Fragment,null,"Template"))))),u.createElement(s.Space,{direction:"vertical",style:{width:"100%"}},u.createElement(m.GridConfigList,{columns:T}),!(0,p.isEmpty)(_)&&u.createElement(c.Dropdown,{menu:{items:_}},u.createElement(h.IconTextButton,{icon:{value:"PlusCircleOutlined"},type:"link"},j("listing.add-column"))))))}},33161:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SaveView:()=>y});var r=n(36198),o=n(76553),i=n(32215),a=n(82755),s=n(72475),l=n(40069),c=n(71816),u=n(62833),f=n(41161),d=n(55328),p=n(99401);function h(e){return h="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},h(e)}function m(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 g(e,t,n){var r;return r=function(e,t){if("object"!=h(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==h(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){var t=e.formProps,n=e.onCancelClick,h=e.isLoading,y=e.onDeleteClick,v=e.isDeleting,b=e.saveAsNewConfiguration,O=t.form;return r.createElement(i.ContentLayout,{renderToolbar:r.createElement(s.Toolbar,{theme:"secondary"},void 0!==y&&!0!==b?r.createElement(d.Popconfirm,{cancelText:"cancel",description:"Are you sure that you want to delete this template?",okText:"Delete",onConfirm:y,title:"Delete this template"},r.createElement(u.IconTextButton,{disabled:h,icon:{value:"trash"},loading:v},"Delete Template")):r.createElement("div",null),r.createElement(l.Space,{size:"mini"},r.createElement(u.IconTextButton,{icon:{value:"close"},onClick:n,type:"default"},"Cancel"),r.createElement(c.Button,{disabled:v,loading:h,onClick:function(){return null==O?void 0:O.submit()},type:"primary"},"Save & Apply")))},r.createElement(a.Content,{padded:!0},r.createElement(d.Flex,{gap:"small",vertical:!0},r.createElement(f.Header,{title:"Save configuration as template"}),!0!==b&&r.createElement(d.Row,null,r.createElement(d.Col,{span:6},r.createElement(p.Text,null,"Owner:")," ",r.createElement(p.Text,{type:"secondary"},"Admin")),r.createElement(d.Col,{span:12},r.createElement(p.Text,null,"Modification date:")," ",r.createElement(p.Text,{type:"secondary"},"22.10.2024 10:11"))),r.createElement(o.SaveForm,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{SidebarContainer:()=>c});var r=n(36198),o=n(70607),i=n(54663),a=n(61016),s=n(85197),l=n(63446),c=function(e){var t=e.errorData,n=(0,r.useMemo)((function(){return[{key:"filter",component:r.createElement(l.FilterContainer,{errorData:t}),icon:r.createElement(i.Icon,{value:"filter-outlined"})},{key:"tags",component:r.createElement(s.TagFiltersContainer,null),icon:r.createElement(i.Icon,{value:"tag-two-tone"})},{key:"grid-config",component:r.createElement(a.GridConfig,null),icon:r.createElement(i.Icon,{value:"settings-outlined"})}]}),[t]);return(0,r.useMemo)((function(){return r.createElement(o.Sidebar,{entries:n,sizing:"large"})}),[n,t])}},12645:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useTagFilters:()=>f});var r=n(36198),o=n(87053),i=n(51512),a=n(57987);function s(e){return s="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},s(e)}function l(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 c(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{TagFiltersContainerInner:()=>m});var r=n(36198),o=n(48324),i=n(62833),a=n(71816),s=n(32215),l=n(72475),c=n(82755),u=n(81929),f=n(12645),d=n(42938);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{TagFiltersContainer:()=>a});var r=n(36198),o=n(35513),i=n(87053),a=function(){return r.createElement(i.TagFiltersProvider,null,r.createElement(o.TagFiltersContainerInner,null))}},87053:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TagFiltersContext:()=>s,TagFiltersProvider:()=>l});var r=n(36198),o=n(51512);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{TagsTreeFiltersContainer:()=>c});var r=n(1402),o=n(36198),i=n(82755),a=n(47259),s=n(72726),l=n(16067),c=function(e){var t=e.addOrUpdateFieldFilter,n=e.checkedKeys,c=e.setCheckedKeys,u=(0,r.useTagGetCollectionQuery)({page:1,pageSize:9999}),f=u.data,d=u.isLoading,p=(0,l.useCreateTreeStructure)().createTreeStructure;if(d)return o.createElement(i.Content,{loading:!0});if(void 0===(null==f?void 0:f.items))return o.createElement("div",null,"Failed to load tags");var h=p({tags:f.items});return o.createElement(o.Fragment,null,o.createElement(a.Flex,{gap:"small",vertical:!0},o.createElement(s.TreeElement,{checkStrictly:!0,checkedKeys:{checked:n,halfChecked:[]},defaultExpandedKeys:["root"],onCheck:function(e){var n=e.checked,r=null==n?void 0:n.map(Number);c(n),t(r)},treeData:h,withCustomSwitcherIcon:!0})))}},46424:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GridToolbarContainer:()=>l});var r=n(36198),o=n(46610),i=n(38549),a=n(30811),s=n(55260),l=function(e){var t=e.pager,n=(0,a.useTranslation)().t;return r.createElement(o.GridToolbarView,{renderPagination:void 0!==t&&t.total>0?r.createElement(i.Pagination,{current:t.current,defaultPageSize:t.pageSize,onChange:t.onChange,pageSizeOptions:["10","20","50","100"],showSizeChanger:!0,showTotal:function(e){return n("pagination.show-total",{total:e})},total:t.total}):void 0,renderTools:r.createElement(s.GridTools,null)})}},46610:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GridToolbarView:()=>i});var r=n(36198),o=n(72475),i=function(e){return r.createElement(o.Toolbar,{theme:"secondary"},void 0!==e.renderTools&&r.createElement(r.Fragment,null,e.renderTools),void 0===e.renderTools&&r.createElement("div",null),void 0!==e.renderPagination&&r.createElement(r.Fragment,null,e.renderPagination))}},92216:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchEditListContainer:()=>g});var r=n(36198),o=n(42592),i=n(55328),a=n(97370),s=n(54512),l=n(27027),c=n(28688),u=n(32859),f=n(36609),d=n(68034),p=n(95987);function h(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&r.createElement(a.StackList,{items:v}))}},11970:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchEditModal:()=>j});var r=n(36198),o=n(16826),i=n(41642),a=n(42938),s=n(62833),l=n(71816),c=n(36609),u=n(42592),f=n(92216),d=n(14369),p=n(55381),h=n(51074),m=n(59160),g=n(21970),y=n(47259),v=n(31090),b=n(10365),O=n(43741);function w(e){return w="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},w(e)}function S(){S=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",h="executing",m="completed",g={};function y(){}function v(){}function b(){}var O={};c(O,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(O=E);var _=b.prototype=y.prototype=Object.create(O);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==w(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=d;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=f(t,n,r);if("normal"===c.type){if(o=r.done?m:p,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=m,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function x(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function E(e){return function(e){if(Array.isArray(e))return T(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||P(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||P(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){if(e){if("string"==typeof e)return T(e,t);var n=Object.prototype.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)?T(e,t):void 0}}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&r.createElement(y.Flex,{align:"center",gap:"extra-small"},r.createElement(s.IconTextButton,{icon:{value:"close"},onClick:function(){A()},type:"link"},(0,c.t)("batch-edit.modal-footer.discard-all-changes")),r.createElement(l.Button,{onClick:function(){1===Object.keys(R).length?B():$()},type:"primary"},(0,c.t)("batch-edit.modal-footer.apply-changes")))),onCancel:function(){n(!1)},open:t,size:"M",title:r.createElement(v.ModalTitle,null,(0,c.t)("batch-edit.modal-title"))},r.createElement(f.BatchEditListContainer,null))}},20079:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchEditContext:()=>a,BatchEditProvider:()=>s});var r=n(36198);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{DefaultBatchEdit:()=>i});var r=n(36198),o=n(1447),i=function(e){var t=e.batchEdit,n=t.frontendType,i=t.type,a=(0,(0,o.useDynamicTypeResolver)().getComponentRenderer)({dynamicTypeIds:[i,n],target:"BATCH_EDIT"}).ComponentRenderer;return null===a?r.createElement(r.Fragment,null,"Dynamic Field Filter not supported"):r.createElement(r.Fragment,null,a({batchEdit:t}))}},42592:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useBatchEdit:()=>d});var r=n(36198),o=n(20079),i=n(42938);function a(e){return a="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},a(e)}function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{CreateCSVForm:()=>d});var r=n(36198),o=n(30811),i=n(55328),a=n(79195),s=n(58664);function l(e){return l="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},l(e)}function c(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 u(e,t,n){var r;return r=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==l(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{CsvModal:()=>T});var r=n(55328),o=n(36198),i=n(7470),a=n(47974),s=n(51074),l=n(20807),c=n(14465),u=n(93477),f=n(21970),d=n(42938),p=n(31090),h=n(30811),m=n(7056);function g(e){return g="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},g(e)}function y(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 v(e){for(var t=1;t=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function w(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function S(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){w(i,r,o,a,s,"next",e)}function s(e){w(i,r,o,a,s,"throw",e)}a(void 0)}))}}function x(e){return function(e){if(Array.isArray(e))return P(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||_(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||_(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){if(e){if("string"==typeof e)return P(e,t);var n=Object.prototype.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)?P(e,t):void 0}}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{GridActions:()=>y});var r=n(48665),o=n(36198),i=n(54663),a=n(42938),s=n(93477),l=n(14465),c=n(87492),u=n(30811),f=n(41642),d=n(20079),p=n(11970),h=n(42029);function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0,g=(0,h.useZipDownload)({type:"folder"}).createZipDownload,y=(0,h.useZipDownload)({type:"asset-list"}).createZipDownload,v=(0,l.useAsset)().id,b=(0,s.useAssetGetByIdQuery)({id:v}).data,O=m((0,o.useState)("Asset"),2),w=O[0],S=O[1],x=m((0,o.useState)(!1),2),E=x[0],_=x[1],P=m((0,o.useState)(!1),2),T=P[0],j=P[1],C=(0,u.useTranslation)().t;(0,o.useEffect)((function(){void 0!==b&&S("".concat(b.filename))}),[b]);var k={items:[{key:"1",label:C("listing.actions.batch-edit"),icon:o.createElement(i.Icon,{value:"grid"}),onClick:function(){j(!0)}},{key:"2",label:C("listing.actions.export"),icon:o.createElement(i.Icon,{value:"export"}),children:[{key:"2.1",label:C("listing.actions.csv-export"),icon:o.createElement(i.Icon,{value:"export"}),onClick:function(){_(!0)}}]},{key:"3",label:C("listing.actions.zip-download"),icon:o.createElement(i.Icon,{value:"download-02"}),onClick:function(){n?y({jobTitle:w,requestData:{body:{assets:t}}}):g({jobTitle:w,requestData:{body:{folders:[v]}}})}}]};return o.createElement(o.Fragment,null,o.createElement(f.Dropdown,{menu:k},o.createElement(r.DropdownButton,{key:"dropdown-button"},C(n?"listing.actions":"listing.non-selected.actions"))),o.createElement(c.CsvModal,{open:E,setOpen:_}),o.createElement(d.BatchEditProvider,null,o.createElement(p.BatchEditModal,{batchEditModalOpen:T,setBatchEditModalOpen:j})))}},12188:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GridSelections:()=>a});var r=n(36198),o=n(42938),i=n(55328),a=function(){var e=(0,o.useListSelectedRows)(),t=e.selectedRows,n=e.setSelectedRows,a=Object.keys(t).length,s=(0,o.useListData)().data,l=a>0,c=!1;return void 0!==s&&(c=a===s.items.length&&s.items.length>0),r.createElement(i.Checkbox,{checked:c,indeterminate:l&&!c,onClick:function(e){if(e.stopPropagation(),void 0===s)return;if(c)return void n({});var t={};s.items.forEach((function(e){var n,r=null===(n=e.columns)||void 0===n?void 0:n.find((function(e){return"id"===e.key}));t[null==r?void 0:r.value]=!0})),n(t)}},a," selected")}},55260:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GridTools:()=>l});var r=n(54512),o=n(36198),i=n(12188),a=n(30326),s=n(42938),l=function(){var e=(0,s.useListData)().data;return o.createElement(o.Fragment,null,void 0!==e&&o.createElement(r.ButtonGroup,{items:[o.createElement(i.GridSelections,{key:"grid-selections"}),o.createElement(a.GridActions,{key:"grid-actions"})],withSeparator:!0}),void 0===e&&o.createElement("div",null))}},19991:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addTagTypes:()=>o,api:()=>i,useMercureCreateCookieMutation:()=>a});var r=n(35525),o=["Mercure"],i=r.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{mercureCreateCookie:e.mutation({query:function(){return{url:"/pimcore-studio/api/mercure/auth",method:"POST"}},invalidatesTags:["Mercure"]})}},overrideExisting:!1}),a=i.useMercureCreateCookieMutation},43599:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FlexContainerView:()=>i});var r=n(47259),o=n(36198),i=function(e){return o.createElement(r.Flex,{gap:"extra-small",wrap:!0},e.renderElements)}},89980:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FlexContainer:()=>c});var r=n(36198),o=n(30811),i=n(43599),a=n(94414),s=n(6786),l=n(54663),c=function(e){var t=e.assets,n=(0,o.useTranslation)().t,c=(0,s.useAssetHelper)().openAsset,u=[{key:"locate-in-tree",icon:r.createElement(l.Icon,{value:"target"}),label:n("preview-card.locate-in-tree")},{key:"info",icon:r.createElement(l.Icon,{value:"info-circle-outlined"}),label:n("info")},{key:"rename",icon:r.createElement(l.Icon,{value:"rich-edit"}),label:n("preview-card.rename")},{key:"download-zip",icon:r.createElement(l.Icon,{value:"download-02"}),label:n("preview-card.download-zip")},{key:"delete",icon:r.createElement(l.Icon,{value:"trash"}),label:n("preview-card.delete")}],f=[];return t.items.forEach((function(e){"imageThumbnailPath"in e&&void 0!==e.imageThumbnailPath&&null!==e.imageThumbnailPath&&f.push(r.createElement(a.PreviewCard,{dropdownItems:u,imgSrc:e.imageThumbnailPath,key:e.id,name:e.filename,onClick:function(t){c({config:{id:e.id}})}}))})),r.createElement(i.FlexContainerView,{renderElements:f})}},10809:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PreviewContainer:()=>p});var r=n(93477),o=n(36198),i=n(46424),a=n(89980),s=n(61008),l=n(43741),c=n(32215),u=n(82755);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?{current:d,total:S,pageSize:m,onChange:x}:void 0})},o.createElement(u.Content,{loading:w,padded:!0},void 0!==(null==O?void 0:O.items)&&O.items.length>0&&o.createElement(a.FlexContainer,{assets:O})))}),[d,m,O,w])}},42371:(e,t,n)=>{"use strict";n.r(t);var r=n(36198),o=n(54663),i=n(68610),a=n(77474),s=n(80237),l=n(81690),c=n(54088),u=n(98051),f=n(99954);s.moduleSystem.registerModule({onInit:function(){var e=l.container.get(c.serviceIds["Asset/Editor/ImageTabManager"]);e.register({key:"view",label:"asset.asset-editor-tabs.view",children:r.createElement(a.PreviewContainer,null),icon:r.createElement(o.Icon,{value:"image-05"})}),e.register({key:"edit",label:"asset.asset-editor-tabs.edit",children:r.createElement(i.EditTabContainer,null),icon:r.createElement(o.Icon,{value:"edit"})}),e.register(u.TAB_EMBEDDED_METADATA),e.register(u.TAB_CUSTOM_METADATA),e.register(f.TAB_PROPERTIES),e.register(u.TAB_VERSIONS),e.register(f.TAB_SCHEDULE),e.register(f.TAB_DEPENDENCIES),e.register(f.TAB_NOTES_AND_EVENTS),e.register(f.TAB_TAGS),e.register(f.TAB_WORKFLOW)}})},85630:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ImageTabManager:()=>h});var r=n(62167),o=n(66595);function i(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},p=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":f(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,t)).type="image",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&u(e,t)}(t,e),n=t,r&&i(n.prototype,r),o&&i(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(r.TabManager);h=d([(0,o.injectable)(),p("design:paramtypes",[])],h)},68610:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EditTabContainer:()=>a});var r=n(82755),o=n(41161),i=n(36198),a=function(){return i.createElement(r.Content,{padded:!0},i.createElement(o.Header,{title:"Edit"}))}},77474:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PreviewContainer:()=>g,ZoomContext:()=>m});var r=n(36198),o=n(29056),i=n(70607),a=n(3585),s=n(43741),l=n(85424),c=n(32215),u=n(82755),f=n(61008),d=n(65246);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r,o,i,a;function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyle:()=>l});var l=(0,n(99291).createStyles)((function(e){e.token;var t=e.css;return{preview:t(r||(r=s(["\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n max-height: 100%;\n object-fit: contain;\n\n .ant-image {\n display: flex;\n max-height: 100%;\n max-width: 100%;\n }\n\n .ant-image-img {\n object-fit: contain;\n }\n "]))),floatingContainer:t(o||(o=s(["\n position: absolute;\n bottom: 20px;\n width: 100%;\n z-index: 9999;\n "]))),flexContainer:t(i||(i=s(["\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n padding-left: 15px;\n padding-right: 15px;\n "]))),imageContainer:t(a||(a=s(["\n max-height: 100%;\n "])))}}),{hashPriority:"low"})},29056:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PreviewView:()=>u});var r=n(71590),o=n(36198),i=n(95607),a=n(99915),s=n(77474),l=n(47259),c=n(63863),u=function(e){var t=(0,i.useStyle)().styles,n=e.src,u=o.useContext(s.ZoomContext),f=u.zoom,d=u.setZoom;return o.createElement("div",{className:t.preview},o.createElement(l.Flex,{className:t.imageContainer},o.createElement(c.FocalPoint,null,o.createElement(r.PimcoreImage,{src:n}))),o.createElement("div",{className:t.floatingContainer},o.createElement("div",{className:t.flexContainer},o.createElement(a.ImageZoom,{setZoom:d,zoom:f}))))}},87222:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FocalPointSidebarButton:()=>i});var r=n(36198),o=n(43676),i=function(e){var t=(0,r.useContext)(o.FocalPointContext),n=function(){if(void 0!==t){var e=t.isActive,n=t.setIsActive,r=t.setCoordinates,o=t.containerRef;if(null!==o.current)r({x:.5*o.current.clientWidth,y:.5*o.current.clientHeight}),n(!e)}};return r.createElement("div",{"aria-label":e.key,className:["button",!0===(null==t?void 0:t.isActive)?"button--highlighted":""].join(" "),key:e.key,onClick:n,onKeyDown:n,role:"button",tabIndex:e.index},e.icon)}},3585:(e,t,n)=>{"use strict";n.r(t),n.d(t,{sidebarManager:()=>l});var r=n(61502),o=n(54663),i=n(36198),a=n(54938),s=n(87222),l=new r.AssetEditorSidebarManager;l.registerEntry({key:"details",icon:i.createElement(o.Icon,{options:{width:"16px",height:"16px"},value:"view-details"}),component:i.createElement(a.DetailContainer,null)}),l.registerButton({key:"focal-point",icon:i.createElement(o.Icon,{options:{width:"16px",height:"16px"},value:"focal-point"}),component:i.createElement(s.FocalPointSidebarButton,{icon:i.createElement(o.Icon,{options:{width:"16px",height:"16px"},value:"focal-point"}),key:"focal-point"})})},61502:(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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&c(e,t)}(t,e),n=t,r&&o(n.prototype,r),i&&o(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(n(21044).SidebarManager)},54938:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DetailContainer:()=>h});var r=n(36198),o=n(93477),i=n(43741),a=n(23409),s=n(3701),l=n(72657),c=n(65246);function u(e){return u="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},u(e)}function f(){f=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==u(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function d(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){d(i,r,o,a,s,"next",e)}function s(e){d(i,r,o,a,s,"throw",e)}a(void 0)}))}}var h=function(){var e,t,n,u,d=(0,r.useContext)(i.AssetContext),h=(0,o.useAssetGetByIdQuery)({id:d.id}).data;return r.createElement(a.AssetEditorSidebarDetailsView,{height:null!==(e=h.height)&&void 0!==e?e:0,onClickCustomDownload:(u=p(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:m(d.id,t);case 1:case"end":return e.stop()}}),e)}))),function(e){return u.apply(this,arguments)}),onClickDownloadByFormat:(n=p(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g(d.id,t);case 1:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)}),width:null!==(t=h.width)&&void 0!==t?t:0});function m(e,t){var n=t.width,r=t.height,o=t.quality,i=t.dpi,a=t.mode,u=t.format,d=[{key:"mimeType",value:u},{key:"resizeMode",value:a},{key:"dpi",value:i.toString()},{key:"quality",value:o.toString()},{key:"height",value:r.toString()},{key:"width",value:n.toString()}],m=(0,l.buildQueryString)(d,["","-1"]);fetch("".concat((0,c.getPrefix)(),"/assets/").concat(e,"/image/download/custom?").concat(m)).then(function(){var e=p(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.blob();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).then((function(e){var t=URL.createObjectURL(e);!function(e,t,n){var r=(0,s.replaceFileEnding)(e,n.toLowerCase());(0,s.saveFileLocal)(r,t)}(h.filename,t,u)})).catch((function(e){console.error(e)}))}function g(e,t){y("original"!==t?"".concat((0,c.getPrefix)(),"/assets/").concat(e,"/image/download/format/").concat(t):"".concat((0,c.getPrefix)(),"/assets/").concat(e,"/download"),t)}function y(e,t){fetch(e).then(function(){var e=p(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.blob();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).then((function(e){var n=URL.createObjectURL(e);!function(e,t,n){var r=e;"original"!==n&&(r=(0,s.replaceFileEnding)(e,"jpg"));(0,s.saveFileLocal)(r,t)}(h.filename,n,t)})).catch((function(e){console.error(e)}))}}},23409:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AssetEditorSidebarDetailsView:()=>g});var r=n(36198),o=n(30811),i=n(55328),a=n(58664),s=n(71816),l=n(27027),c=n(82755),u=n(41161),f=n(54688),d=n(32017),p=n(42297);function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r,o,i;function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyle:()=>s});var s=(0,n(99291).createStyles)((function(e){var t=e.token,n=e.css;return{sidebarContentEntry:n(r||(r=a(["\n .sidebar__content-label {\n color: ",";\n line-height: 20px;\n font-weight: 600;\n margin: 0;\n padding-bottom: ","px;\n \n &:not(:first-of-type) {\n padding-top: ","px;\n }\n }\n "])),t.colorPrimaryActive,t.paddingXS,t.paddingXS),sidebarContentDimensions:n(o||(o=a(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n align-self: stretch;\n \n .entry-content__dimensions-label {\n display: flex;\n padding-bottom: ",";\n gap: ","px;\n align-items: center;\n gap: ",";\n align-self: stretch;\n\n p {\n margin: 0\n }\n }\n\n .entry-content__dimensions-content {\n color: ",";\n display: flex;\n padding-bottom: ",";\n gap: ","px;\n align-items: center;\n gap: ",";\n align-self: stretch;\n\n p {\n margin: 0;\n line-height: 22px;\n }\n }\n "])),t.paddingXXS,t.marginMD,t.marginXXS,t.colorTextDescription,t.paddingXXS,t.marginMD,t.marginXXS),sidebarContentDownload:n(i||(i=a(["\n .entry-content__download-content-thumbnail {\n display: flex;\n align-items: center;\n gap: ","px;\n padding-bottom: ","px;\n \n .ant-select {\n flex: 1\n }\n }\n \n .entry-content__download-content-custom {\n .ant-form-item {\n margin-bottom: 0;\n }\n \n .entry-content__download-content-custom__dimensions {\n display: flex;\n gap: ","px;\n padding-bottom: ","px;\n }\n \n .entry-content__download-content-custom__others {\n display: flex;\n gap: ","px;\n flex-direction: column;\n padding-bottom: ","px;\n \n > div {\n display: flex;\n gap: ","px;\n \n >.ant-form-item {\n flex: 1\n }\n }\n }\n \n .entry-content__download-content-custom__button {\n padding: ","px 0;\n }\n \n .entry-content__download-content-custom__default {\n color: ",";\n }\n }\n "])),t.paddingXXS,t.paddingSM,t.marginSM,t.paddingSM,t.paddingXS,t.paddingSM,t.marginSM,t.paddingXS,t.colorTextDescription)}}),{hashPriority:"low"})},32017:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useDetailsViewData:()=>i});var r=n(30811),o=n(36198),i=function(){var e=(0,r.useTranslation)().t;return{getModes:function(){return[{value:"resize",label:e("resize")},{value:"scaleByWidth",label:o.createElement(o.Fragment,null,e("scaleByWidth")+" ",o.createElement("span",{className:"entry-content__download-content-custom__default"},"(",e("default"),")"))},{value:"scaleByHeight",label:e("scaleByHeight")}]},getFormats:function(){return[{value:"JPEG",label:o.createElement(o.Fragment,null,"JPEG ",o.createElement("span",{className:"entry-content__download-content-custom__default"},"(",e("default"),")"))},{value:"PNG",label:"PNG"}]},getDownloadFormats:function(){return[{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")}]}}}},14230:(e,t,n)=>{"use strict";n.r(t);var r=n(36198),o=n(54663),i=n(80237),a=n(81690),s=n(54088),l=n(98051),c=n(94154),u=n(99954);i.moduleSystem.registerModule({onInit:function(){var e=a.container.get(s.serviceIds["Asset/Editor/TextTabManager"]);e.register({key:"edit",label:"asset.asset-editor-tabs.edit",children:r.createElement(c.EditContainer,null),icon:r.createElement(o.Icon,{value:"edit"})}),e.register(l.TAB_CUSTOM_METADATA),e.register(u.TAB_PROPERTIES),e.register(l.TAB_VERSIONS),e.register(u.TAB_SCHEDULE),e.register(u.TAB_DEPENDENCIES),e.register(u.TAB_NOTES_AND_EVENTS),e.register(u.TAB_TAGS),e.register(u.TAB_WORKFLOW)}})},61068:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{relativeContainer:(0,e.css)(r||(t=["\n position: relative;\n width: 100%;\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},94154:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EditContainer:()=>f});var r=n(36198),o=n(3959),i=n(93477),a=n(43741),s=n(61068),l=n(38576),c=n(5018),u=n(61008),f=function(){var e=(0,r.useContext)(a.AssetContext),t=(0,u.useAssetDraft)(e.id).asset,n=(0,i.useAssetGetTextDataByIdQuery)({id:e.id}).data,f=(0,s.useStyle)().styles,d=null;return"string"==typeof(null==t?void 0:t.filename)&&(d=(0,c.detectLanguageFromFilename)(t.filename)),r.createElement("div",{className:f.relativeContainer},(0,l.isSet)(n)&&r.createElement(o.EditView,{language:d,src:n.data}))}},13895:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{preview:(0,e.css)(r||(t=["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n object-fit: contain;\n\n iframe {\n display: flex;\n height: 100%;\n width: 100%;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},3959:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EditView:()=>a});var r=n(36198),o=n(13895),i=n(37093),a=function(e){var t=(0,o.useStyle)().styles,n=e.src,a=e.language;return r.createElement("div",{className:t.preview},r.createElement(i.TextEditor,{defaultText:n,language:a}))}},34396:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TextTabManager:()=>h});var r=n(62167),o=n(66595);function i(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},p=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":f(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,t)).type="text",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&u(e,t)}(t,e),n=t,r&&i(n.prototype,r),o&&i(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(r.TabManager);h=d([(0,o.injectable)(),p("design:paramtypes",[])],h)},87160:(e,t,n)=>{"use strict";n.r(t);var r=n(81690),o=n(54088),i=n(80237),a=n(98051),s=n(99954);i.moduleSystem.registerModule({onInit:function(){var e=r.container.get(o.serviceIds["Asset/Editor/UnknownTabManager"]);e.register(a.TAB_CUSTOM_METADATA),e.register(s.TAB_PROPERTIES),e.register(a.TAB_VERSIONS),e.register(s.TAB_SCHEDULE),e.register(s.TAB_DEPENDENCIES),e.register(s.TAB_NOTES_AND_EVENTS),e.register(s.TAB_TAGS),e.register(s.TAB_WORKFLOW)}})},11031:(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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=a(this,t)).type="unknown",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&c(e,t)}(t,e),n=t,r&&o(n.prototype,r),i&&o(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(n(62167).TabManager)},55347:(e,t,n)=>{"use strict";n.r(t);var r=n(36198),o=n(54663),i=n(74529),a=n(81690),s=n(54088),l=n(80237),c=n(98051),u=n(99954);l.moduleSystem.registerModule({onInit:function(){var e=a.container.get(s.serviceIds["Asset/Editor/VideoTabManager"]);e.register({key:"view",label:"asset.asset-editor-tabs.view",children:r.createElement(i.PreviewContainer,null),icon:r.createElement(o.Icon,{value:"image-05"})}),e.register(c.TAB_EMBEDDED_METADATA),e.register(c.TAB_CUSTOM_METADATA),e.register(u.TAB_PROPERTIES),e.register(c.TAB_VERSIONS),e.register(u.TAB_SCHEDULE),e.register(u.TAB_DEPENDENCIES),e.register(u.TAB_NOTES_AND_EVENTS),e.register(u.TAB_TAGS),e.register(u.TAB_WORKFLOW)}})},74529:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PreviewContainer:()=>g,VideoContext:()=>m});var r=n(36198),o=n(82141),i=n(43741),a=n(32215),s=n(19759),l=n(70607),c=n(82755),u=n(65246),f=n(61008),d=n(56239);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{preview:(0,e.css)(r||(t=["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n object-fit: contain;\n\n video {\n display: flex;\n max-height: 70%;\n max-width: 70%;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},82141:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PreviewView:()=>a});var r=n(36198),o=n(29791),i=n(96243),a=function(e){var t=(0,o.useStyle)().styles,n=e.src,a=e.poster;return r.createElement("div",{className:t.preview},r.createElement(i.PimcoreVideo,{poster:a,sources:[{src:n}]}))}},19759:(e,t,n)=>{"use strict";n.r(t),n.d(t,{sidebarManager:()=>l});var r=n(21155),o=n(54663),i=n(36198),a=n(44357),s=n(87222),l=new r.VideoEditorSidebarManager;l.registerEntry({key:"details",icon:i.createElement(o.Icon,{options:{width:"16px",height:"16px"},value:"view-details"}),component:i.createElement(a.DetailContainer,null)}),l.registerButton({key:"focal-point",icon:i.createElement(o.Icon,{options:{width:"16px",height:"16px"},value:"focal-point"}),component:i.createElement(s.FocalPointSidebarButton,null)})},21155:(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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&c(e,t)}(t,e),n=t,r&&o(n.prototype,r),i&&o(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(n(21044).SidebarManager)},44357:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DetailContainer:()=>v});var r=n(36198),o=n(93477),i=n(43741),a=n(48156),s=n(81800),l=n(65246),c=n(3701),u=n(74529),f=n(82755),d=n(56239);function p(e){return p="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},p(e)}function h(){h=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==p(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=d;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=f(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function m(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:j;k("image_thumbnail_time",b,e)},onChangeThumbnail:O,onClickDownloadByFormat:function(e){y(!0);var t="".concat((0,l.getPrefix)(),"/assets/").concat(w.id,"/video/download/").concat(e);(0,d.fetchBlobWithPolling)({url:t,onSuccess:function(e){var t=URL.createObjectURL(e);(0,c.saveFileLocal)(_.filename,t)}}).catch(console.error).finally((function(){y(!1)}))},onDropImage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:j;k("image_thumbnail_asset",e,t)},thumbnails:T,width:null!==(t=_.width)&&void 0!==t?t:0});function C(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:j,r="".concat((0,l.getPrefix)(),"/assets/").concat(w.id,"/video/stream/image-thumbnail?width=").concat(e,"&height=").concat(t,"&aspectRatio=true");fetch(r).then(function(){var e,t=(e=h().mark((function e(t){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.blob();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){m(i,r,o,a,s,"next",e)}function s(e){m(i,r,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}()).then((function(e){var t=URL.createObjectURL(e);E(t)})).catch((function(e){console.error(e)})).finally(n)}function k(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:j,r="".concat((0,l.getPrefix)(),"/assets/").concat(w.id);fetch(r,{method:"PUT",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({data:{customSettings:[{key:e,value:t}]}})}).then((function(){C(200,119,n)})).catch((function(e){console.error(e),n()}))}}},48156:(e,t,n)=>{"use strict";n.r(t),n.d(t,{VideoEditorSidebarDetailsTab:()=>b});var r=n(36198),o=n(32432),i=n(55328),a=n(54663),s=n(30811),l=n(95658),c=n(46256),u=n(79301),f=n(35464),d=n(72475),p=n(71590),h=n(82755),m=n(41161),g=n(58664);function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r,o,i,a;function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyle:()=>l});var l=(0,n(99291).createStyles)((function(e){var t=e.token,n=e.css;return{sidebarContentEntry:n(r||(r=s(["\n .sidebar__content-label {\n color: ",";\n line-height: 20px;\n font-weight: 600;\n margin: 0;\n padding-bottom: ","px;\n \n &:not(:first-of-type) {\n padding-top: ","px;\n }\n }\n .sidebar__content-hr {\n position: absolute;\n left: 0;\n right: 0;\n border-color: ",";\n margin: 0;\n }\n "])),t.colorPrimaryActive,t.paddingXS,t.paddingXS,t.colorSplit),sidebarContentDimensions:n(o||(o=s(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n align-self: stretch;\n \n .entry-content__dimensions-label {\n display: flex;\n padding-bottom: ",";\n gap: ","px;\n align-items: center;\n gap: ",";\n align-self: stretch;\n\n p {\n margin: 0\n }\n }\n\n .entry-content__dimensions-content {\n color: ",";\n display: flex;\n padding-bottom: ",";\n gap: ","px;\n align-items: center;\n gap: ",";\n align-self: stretch;\n\n p {\n margin: 0;\n line-height: 22px;\n }\n }\n "])),t.paddingXXS,t.marginMD,t.marginXXS,t.colorTextDescription,t.paddingXXS,t.marginMD,t.marginXXS),sidebarContentDownload:n(i||(i=s(["\n .entry-content__download-content-thumbnail {\n display: flex;\n align-items: center;\n gap: ","px;\n padding-bottom: ","px;\n \n .ant-select {\n flex: 1\n }\n }\n \n .entry-content__download-content-custom {\n .ant-form-item {\n margin-bottom: 0;\n }\n \n .entry-content__download-content-custom__dimensions {\n display: flex;\n gap: ","px;\n padding-bottom: ","px;\n }\n \n .entry-content__download-content-custom__others {\n display: flex;\n gap: ","px;\n flex-direction: column;\n padding-bottom: ","px;\n \n > div {\n display: flex;\n gap: ","px;\n \n >.ant-form-item {\n flex: 1\n }\n }\n }\n \n .entry-content__download-content-custom__button {\n padding: ","px 0;\n }\n }\n "])),t.paddingXXS,t.paddingSM,t.marginSM,t.paddingSM,t.paddingXS,t.paddingSM,t.marginSM,t.paddingXS),sidebarContentImagePreview:n(a||(a=s(["\n & > .sidebar__content-label {\n margin-top: ","px;\n }\n \n .ant-btn-group {\n button {\n padding: 0 4px;\n height: 24px;\n border-radius: unset;\n }\n button:nth-child(1) {\n border-top-left-radius: 6px;\n border-bottom-left-radius: 6px;\n }\n button:nth-child(2) {\n border-top-right-radius: 6px;\n border-bottom-right-radius: 6px;\n }\n }\n\n .ant-card {\n height: 208px;\n }\n \n .ant-card, .ant-card-meta-title {\n margin-top: ","px;\n }\n \n .image-preview-container {\n height: 129px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n \n div {\n display: flex;\n gap: ","px;\n }\n \n span {\n margin-top: ","px;\n }\n }\n\n .image-preview__toolbar {\n position: absolute;\n left: 0;\n right: 0;\n background: none;\n margin-top: ","px\n }\n "])),t.marginXS,t.marginSM,t.marginXXS,t.marginSM,t.marginXS)}}),{hashPriority:"low"})},35464:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DroppableContent:()=>u});var r=n(36198),o=n(31083),i=n(54663),a=n(30811),s=n(71590);function l(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=a(this,t)).type="video",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&c(e,t)}(t,e),n=t,r&&o(n.prototype,r),i&&o(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(n(62167).TabManager)},16728:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AssetEditorWidget:()=>c});var r=n(13405),o=n(76644),i=n(25525),a=n(7496),s=n(36198),l=n(43741),c={name:"asset-editor",component:r.EditorContainer,titleComponent:o.TitleContainer,isModified:function(e){var t,n=e.getConfig(),r=(0,i.selectAssetById)(a.store.getState(),n.id);return null!==(t=null==r?void 0:r.modified)&&void 0!==t&&t},getContextProvider:function(e,t){var n=e.config;return s.createElement(l.AssetProvider,{id:n.id},t)}}},61008:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useAssetDraft:()=>_});var r=n(7496),o=n(93477),i=n(25525),a=n(36198),s=n(30851),l=n(86618),c=n(78576),u=n(94941),f=n(36403),d=n(2228),p=n(81690),h=n(54088),m=n(95973);function g(e){return g="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},g(e)}function y(){y=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",h="executing",m="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==g(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=d;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=f(t,n,r);if("normal"===c.type){if(o=r.done?m:p,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=m,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function v(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 b(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{useAssetHelper:()=>m});var r=n(66777),o=n(93477),i=n(7496),a=n(38693),s=n(76265),l=n(72743);function c(e){return c="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},c(e)}function u(){u=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==c(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function f(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 d(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{useAsset:()=>i});var r=n(36198),o=n(43741),i=function(){return{id:(0,r.useContext)(o.AssetContext).id}}},5482:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useGlobalAssetContext:()=>i});var r=n(7496),o=n(33811),i=function(){var e=(0,r.useAppDispatch)();return{context:(0,r.useAppSelector)((function(e){return(0,o.selectContextByType)(e,"asset")})),setContext:function(t){e((0,o.addGlobalContext)({type:"asset",config:t}))},removeContext:function(){e((0,o.removeGlobalContext)("asset"))}}}},44861:(e,t,n)=>{"use strict";n.r(t);n(62288);var r=n(67215),o=n(81690),i=n(54088),a=n(80237);n(15094);a.moduleSystem.registerModule({onInit:function(){o.container.get(i.serviceIds.widgetManager).registerWidget({name:"asset-tree",component:r.TreeContainer})}})},69296:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AssetTreeContextMenu:()=>x});var r=n(55328),o=n(36198),i=n(54663),a=n(30811),s=n(63975),l=n(595),c=n(41642),u=n(26272),f=n(2536),d=n(46946),p=n(13250),h=n(30312),m=n(83206),g=n(23219),y=n(42029),v=n(76265);function b(e){return b="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},b(e)}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 w(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{useNodeApiHook:()=>p});var r=n(31322),o=n(93477),i=n(36198),a=n(72743);function s(e){return s="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},s(e)}function l(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 c(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t);var r=n(80237),o=n(81690),i=n(54088),a=n(69296);r.moduleSystem.registerModule({onInit:function(){o.container.get(i.serviceIds["App/ComponentRegistry/ComponentRegistry"]).register({name:"assetTreeContextMenu",component:a.AssetTreeContextMenu})}})},37125:(e,t,n)=>{"use strict";n.r(t),n.d(t,{withDraggable:()=>c});var r=n(36198),o=n(61394);function i(e){return i="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},i(e)}function a(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 s(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{SearchContainer:()=>a});var r=n(36198),o=n(52631),i=n(30811),a=function(e){var t=(0,i.useTranslation)().t;return r.createElement(o.SearchContainer,{label:t("asset.asset-tree.search",{folderName:e.node.label}),node:e.node,total:e.total})}},67215:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TreeContainer:()=>y});var r=n(31322),o=n(36198),i=n(85469),a=n(36699),s=n(1020),l=n(6786),c=n(23662),u=n(37125),f=n(69296);function d(e){return d="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},d(e)}var p=["id"];function h(){h=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==d(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=p;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=f(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function m(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function g(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var y=function(e){var t=e.id,n=void 0===t?1:t,d=(g(e,p),(0,l.useAssetHelper)().openAsset);function y(){var e;return e=h().mark((function e(t){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:d({config:{id:parseInt(t.id)}});case 1:case"end":return e.stop()}}),e)})),y=function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){m(i,r,o,a,s,"next",e)}function s(e){m(i,r,o,a,s,"throw",e)}a(void 0)}))},y.apply(this,arguments)}return o.createElement(r.ElementTree,{contextMenu:f.AssetTreeContextMenu,maxItemsPerNode:20,nodeApiHook:i.useNodeApiHook,nodeId:n,onSelect:function(e){return y.apply(this,arguments)},renderFilter:c.SearchContainer,renderNode:(0,u.withDraggable)(a.TreeNode),renderNodeContent:r.defaultProps.renderNodeContent,renderPager:s.PagerContainer})}},37150:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addTagTypes:()=>o,api:()=>i,useLoginMutation:()=>a,useLogoutMutation:()=>s});var r=n(35525),o=["Authorization"],i=r.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{login:e.mutation({query:function(e){return{url:"/pimcore-studio/api/login",method:"POST",body:e.credentials}},invalidatesTags:["Authorization"]}),logout:e.mutation({query:function(){return{url:"/pimcore-studio/api/logout",method:"POST"}},invalidatesTags:["Authorization"]})}},overrideExisting:!1}),a=i.useLoginMutation,s=i.useLogoutMutation},82392:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useIsAuthenticated:()=>i});var r=n(36198),o=n(52910),i=function(){var e=(0,o.useUser)();return(0,r.useMemo)((function(){return""!==e.username}),[e])}},32347:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useMiddleware:()=>s});var r=n(79655),o=n(36198),i=n(82392),a=n(24835),s=function(){var e=(0,i.useIsAuthenticated)(),t=(0,r.useNavigate)();(0,o.useEffect)((function(){e&&t(a.routes.root),e||t(a.routes.login)}),[e])}},52910:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useUser:()=>a});var r=n(36198),o=n(45007),i=n(4362),a=function(){var e=(0,o.useSelector)(i.selectCurrentUser);return(0,r.useMemo)((function(){return e}),[e])}},7786:(e,t,n)=>{"use strict";var r,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyle:()=>a});var a=(0,n(99291).createStyles)((function(e){e.token;var t=e.css;return{loginPage:t(r||(r=i(["\n display: flex;\n align-items: center;\n background: url(/bundles/pimcorestudioui/img/login-bg.png) lightgray 50% / cover no-repeat;\n position: absolute;\n inset: 0;\n overflow: hidden;\n "]))),loginWidget:t(o||(o=i(["\n display: flex;\n flex-direction: column;\n width: 503px;\n height: 608px;\n flex-shrink: 0;\n border-radius: 8px;\n background: linear-gradient(335deg, rgba(255, 255, 255, 0.86) 1.72%, rgba(57, 14, 97, 0.86) 158.36%);\n padding: 83px 100px 0 100px;\n margin-left: 80px;\n \n /* Component/Button/primaryShadow */\n box-shadow: 0px 2px 0px 0px rgba(114, 46, 209, 0.10);\n \n img {\n margin-bottom: 50px\n }\n "])))}}))},7367:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LoginPage:()=>s});var r=n(36198),o=n(65437),i=n(7786),a=n(32347),s=function(){var e=(0,i.useStyle)().styles;return(0,a.useMiddleware)(),r.createElement("div",{className:e.loginPage},r.createElement("div",{className:e.loginWidget},r.createElement("img",{alt:"Pimcore Logo",src:"/bundles/pimcorestudioui/img/logo.png"}),r.createElement(o.LoginForm,null)))}},93244:(e,t,n)=>{"use strict";n.r(t),n.d(t,{isAllowed:()=>i});var r=n(7496),o=n(4362),i=function(e){var t=r.store.getState(),n=(0,o.selectCurrentUser)(t);return!!n.isAdmin||void 0!==e&&n.permissions.includes(e)}},9468:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addTagTypes:()=>o,api:()=>i,usePimcoreStudioApiUserSearchQuery:()=>v,useUserCloneByIdMutation:()=>a,useUserCreateMutation:()=>s,useUserDefaultKeyBindingsQuery:()=>h,useUserDeleteByIdMutation:()=>d,useUserFolderCreateMutation:()=>l,useUserFolderDeleteByIdMutation:()=>p,useUserGetAvailablePermissionsQuery:()=>m,useUserGetByIdQuery:()=>u,useUserGetCollectionQuery:()=>g,useUserGetCurrentInformationQuery:()=>c,useUserGetImageQuery:()=>w,useUserGetTreeQuery:()=>S,useUserResetPasswordMutation:()=>y,useUserUpdateByIdMutation:()=>f,useUserUpdatePasswordByIdMutation:()=>b,useUserUploadImageMutation:()=>O});var r=n(35525),o=["User Management"],i=r.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{userCloneById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/clone/".concat(e.id),method:"POST",body:e.body}},invalidatesTags:["User Management"]}),userCreate:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/",method:"POST",body:e.body}},invalidatesTags:["User Management"]}),userFolderCreate:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/folder",method:"POST",body:e.body}},invalidatesTags:["User Management"]}),userGetCurrentInformation:e.query({query:function(){return{url:"/pimcore-studio/api/user/current-user-information"}},providesTags:["User Management"]}),userGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/user/".concat(e.id)}},providesTags:["User Management"]}),userUpdateById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/".concat(e.id),method:"PUT",body:e.updateUser}},invalidatesTags:["User Management"]}),userDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/".concat(e.id),method:"DELETE"}},invalidatesTags:["User Management"]}),userFolderDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/folder/".concat(e.id),method:"DELETE"}},invalidatesTags:["User Management"]}),userDefaultKeyBindings:e.query({query:function(){return{url:"/pimcore-studio/api/users/default-key-bindings"}},providesTags:["User Management"]}),userGetAvailablePermissions:e.query({query:function(){return{url:"/pimcore-studio/api/user/available-permissions"}},providesTags:["User Management"]}),userGetCollection:e.query({query:function(){return{url:"/pimcore-studio/api/users"}},providesTags:["User Management"]}),userResetPassword:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/reset-password",method:"POST",body:e.resetPassword}},invalidatesTags:["User Management"]}),pimcoreStudioApiUserSearch:e.query({query:function(e){return{url:"/pimcore-studio/api/user/search",params:{searchQuery:e.searchQuery}}},providesTags:["User Management"]}),userUpdatePasswordById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/".concat(e.id,"/password"),method:"PUT",body:e.body}},invalidatesTags:["User Management"]}),userUploadImage:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/upload-image/".concat(e.id),method:"POST",body:e.body}},invalidatesTags:["User Management"]}),userGetImage:e.query({query:function(e){return{url:"/pimcore-studio/api/user/image/".concat(e.id)}},providesTags:["User Management"]}),userGetTree:e.query({query:function(e){return{url:"/pimcore-studio/api/users/tree",params:{parentId:e.parentId}}},providesTags:["User Management"]})}},overrideExisting:!1}),a=i.useUserCloneByIdMutation,s=i.useUserCreateMutation,l=i.useUserFolderCreateMutation,c=i.useUserGetCurrentInformationQuery,u=i.useUserGetByIdQuery,f=i.useUserUpdateByIdMutation,d=i.useUserDeleteByIdMutation,p=i.useUserFolderDeleteByIdMutation,h=i.useUserDefaultKeyBindingsQuery,m=i.useUserGetAvailablePermissionsQuery,g=i.useUserGetCollectionQuery,y=i.useUserResetPasswordMutation,v=i.usePimcoreStudioApiUserSearchQuery,b=i.useUserUpdatePasswordByIdMutation,O=i.useUserUploadImageMutation,w=i.useUserGetImageQuery,S=i.useUserGetTreeQuery},4362:(e,t,n)=>{"use strict";n.r(t),n.d(t,{selectCurrentUser:()=>d,setUser:()=>f,userSliceName:()=>u});var r=n(8327),o=n(7496);function i(e){return i="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},i(e)}function a(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 s(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{api:()=>o,useDataObjectAddMutation:()=>i,useDataObjectCloneMutation:()=>a,useDataObjectGetByIdQuery:()=>s,useDataObjectGetLayoutByIdQuery:()=>f,useDataObjectGetTreeQuery:()=>u,useDataObjectPatchByIdMutation:()=>c,useDataObjectUpdateByIdMutation:()=>l});var r=n(38693),o=n(60952).api.enhanceEndpoints({addTagTypes:[r.tagNames.DATA_OBJECT,r.tagNames.DATA_OBJECT_TREE,r.tagNames.DATA_OBJECT_DETAIL],endpoints:{dataObjectClone:{invalidatesTags:function(e,t,n){return r.invalidatingTags.DATA_OBJECT_TREE_ID(n.parentId)}},dataObjectGetById:{providesTags:function(e,t,n){return r.providingTags.DATA_OBJECT_DETAIL_ID(n.id)}},dataObjectGetTree:{providesTags:function(e,t,n){return void 0!==n.parentId?r.providingTags.DATA_OBJECT_TREE_ID(n.parentId):r.providingTags.DATA_OBJECT_TREE()}},dataObjectUpdateById:{invalidatesTags:function(e,t,n){return r.invalidatingTags.DATA_OBJECT_DETAIL_ID(n.id)}},dataObjectAdd:{invalidatesTags:function(e,t,n){return r.invalidatingTags.DATA_OBJECT_TREE_ID(n.parentId)}},dataObjectGetLayoutById:{providesTags:function(e,t,n){return r.providingTags.DATA_OBJECT_DETAIL_ID(n.id)}}}}),i=o.useDataObjectAddMutation,a=o.useDataObjectCloneMutation,s=o.useDataObjectGetByIdQuery,l=o.useDataObjectUpdateByIdMutation,c=o.useDataObjectPatchByIdMutation,u=o.useDataObjectGetTreeQuery,f=o.useDataObjectGetLayoutByIdQuery},60952:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addTagTypes:()=>o,api:()=>i,useDataObjectAddMutation:()=>a,useDataObjectCloneMutation:()=>s,useDataObjectGetAvailableGridColumnsQuery:()=>u,useDataObjectGetByIdQuery:()=>l,useDataObjectGetGridMutation:()=>f,useDataObjectGetLayoutByIdQuery:()=>d,useDataObjectGetTreeQuery:()=>m,useDataObjectPatchByIdMutation:()=>p,useDataObjectReplaceContentMutation:()=>h,useDataObjectUpdateByIdMutation:()=>c});var r=n(35525),o=["Data Objects","Data Object Grid"],i=r.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{dataObjectAdd:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects/add/".concat(e.parentId),method:"POST",body:e.dataObjectAddParameters}},invalidatesTags:["Data Objects"]}),dataObjectClone:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects/".concat(e.id,"/clone/").concat(e.parentId),method:"POST",body:e.cloneParameters}},invalidatesTags:["Data Objects"]}),dataObjectGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/data-objects/".concat(e.id)}},providesTags:["Data Objects"]}),dataObjectUpdateById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects/".concat(e.id),method:"PUT",body:e.body}},invalidatesTags:["Data Objects"]}),dataObjectGetAvailableGridColumns:e.query({query:function(e){return{url:"/pimcore-studio/api/data-object/grid/available-columns/".concat(e.classId,"/folderId")}},providesTags:["Data Object Grid"]}),dataObjectGetGrid:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects/grid",method:"POST",body:e.body}},invalidatesTags:["Data Object Grid"]}),dataObjectGetLayoutById:e.query({query:function(e){return{url:"/pimcore-studio/api/data-objects/".concat(e.id,"/layout")}},providesTags:["Data Objects"]}),dataObjectPatchById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects",method:"PATCH",body:e.body}},invalidatesTags:["Data Objects"]}),dataObjectReplaceContent:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects/".concat(e.sourceId,"/replace/").concat(e.targetId),method:"POST"}},invalidatesTags:["Data Objects"]}),dataObjectGetTree:e.query({query:function(e){return{url:"/pimcore-studio/api/data-objects/tree",params:{page:e.page,pageSize:e.pageSize,parentId:e.parentId,idSearchTerm:e.idSearchTerm,excludeFolders:e.excludeFolders,path:e.path,pathIncludeParent:e.pathIncludeParent,pathIncludeDescendants:e.pathIncludeDescendants,className:e.className}}},providesTags:["Data Objects"]})}},overrideExisting:!1}),a=i.useDataObjectAddMutation,s=i.useDataObjectCloneMutation,l=i.useDataObjectGetByIdQuery,c=i.useDataObjectUpdateByIdMutation,u=i.useDataObjectGetAvailableGridColumnsQuery,f=i.useDataObjectGetGridMutation,d=i.useDataObjectGetLayoutByIdQuery,p=i.useDataObjectPatchByIdMutation,h=i.useDataObjectReplaceContentMutation,m=i.useDataObjectGetTreeQuery},83402:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addPropertyToDataObject:()=>w,addScheduleToDataObject:()=>_,dataObjectReceived:()=>g,dataObjectsAdapter:()=>p,removeDataObject:()=>y,removePropertyFromDataObject:()=>S,removeScheduleFromDataObject:()=>P,resetChanges:()=>b,resetDataObject:()=>v,resetSchedulesChangesForDataObject:()=>C,selectDataObjectById:()=>A,setActiveTabForDataObject:()=>k,setModifiedCells:()=>O,setPropertiesForDataObject:()=>x,setSchedulesForDataObject:()=>T,slice:()=>h,updatePropertyForDataObject:()=>E,updateScheduleForDataObject:()=>j});var r=n(8327),o=n(7496),i=n(86618),a=n(94941),s=n(95973),l=n(2228);function c(e){return c="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},c(e)}function u(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 f(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{DataObjectContext:()=>o,DataObjectProvider:()=>i});var r=n(36198),o=(0,r.createContext)({id:0}),i=function(e){var t=e.id,n=e.children;return(0,r.useMemo)((function(){return r.createElement(o.Provider,{value:{id:t}},n)}),[t])}},90455:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EditorContainer:()=>p});var r=n(36198),o=n(2263),i=n(45048),a=n(82755),s=n(70047),l=n(44994),c=n(98740),u=n(65832),f=n(6150),d=n(94759),p=function(e){var t=e.id,n=(0,s.useDataObjectDraft)(t),p=n.isLoading,h=n.isError,m=n.dataObject,g=n.removeDataObjectFromState,y=n.editorType,v=(0,o.useIsAcitveMainWidget)(),b=(0,l.useGlobalDataObjectContext)(),O=b.setContext,w=b.removeContext;return(0,r.useEffect)((function(){return function(){w(),g()}}),[]),(0,r.useEffect)((function(){return v&&O({id:t}),function(){v||w()}}),[v]),h?r.createElement("div",null,"Error"):p?r.createElement(a.Content,{loading:!0}):void 0===m||void 0===y?r.createElement(r.Fragment,null):r.createElement(i.DataObjectProvider,{id:t},r.createElement(d.LanguageSelectionProvider,null,r.createElement(f.TabsToolbarView,{renderTabbar:r.createElement(c.TabsContainer,{elementEditorType:y}),renderToolbar:r.createElement(u.Toolbar,null)})))}},52098:(e,t,n)=>{"use strict";n.r(t);var r=n(81690),o=(n(78676),n(51134),n(54088)),i=n(80237),a=n(10539),s=n(23092);i.moduleSystem.registerModule({onInit:function(){var e=r.container.get(o.serviceIds["DataObject/Editor/TypeRegistry"]);e.register({name:"object",tabManagerServiceId:"DataObject/Editor/ObjectTabManager"}),e.register({name:"folder",tabManagerServiceId:"DataObject/Editor/FolderTabManager"}),r.container.get(o.serviceIds.widgetManager).registerWidget(s.DataObjectEditorWidget),r.container.get(o.serviceIds["App/ComponentRegistry/ComponentRegistry"]).register({name:"editorToolbarContextMenuDataObject",component:a.EditorToolbarContextMenu})}})},71201:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TAB_VERSIONS:()=>l});var r=n(9287),o=n(54663),i=n(36198),a=n(70691),s=n(9791),l={key:"versions",label:"version.label",children:i.createElement(r.VersionsTabContainer,{ComparisonViewComponent:a.ComparisonView,SingleViewComponent:s.SingleView}),icon:i.createElement(o.Icon,{value:"history-outlined"}),isDetachable:!0}},70691:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ComparisonView:()=>o});var r=n(36198),o=function(e){var t=e.versionIds;return r.createElement("div",null,r.createElement("p",null,r.createElement("strong",null,"TODO: implement data object comparison view for versionIds:")),t.map((function(e){return e.id})).join(", "))}},9791:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SingleView:()=>o});var r=n(36198),o=function(e){var t=e.versions,n=e.versionId,o=e.setDetailedVersions;return r.createElement("div",null,r.createElement("p",null,r.createElement("strong",null,"TODO: implement data object single version view for:")),"ID: ",n.id,r.createElement("hr",null),"Jump to other versions:",t.map((function(e){return r.createElement("div",{key:e.id},r.createElement("p",null,r.createElement("button",{onClick:function(){o([{id:e.id,count:e.versionCount}])}}," Version: ",e.versionCount)))})))}},51823:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TitleContainer:()=>a});var r=n(36198),o=n(1464),i=n(70047),a=function(e){var t,n=e.node,a=(0,i.useDataObjectDraft)(n.getConfig().id).dataObject;return r.createElement(o.TabTitleContainer,{modified:null!==(t=null==a?void 0:a.modified)&&void 0!==t&&t,node:n})}},10539:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EditorToolbarContextMenu:()=>m});var r=n(55328),o=n(27027),i=n(95658),a=n(36198),s=n(15008),l=n(38693),c=n(7496),u=n(30811),f=n(70047),d=n(45048);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?b(!0):O()},open:v,title:e("toolbar.reload.confirmation")},a.createElement(o.IconButton,{icon:{value:"refresh"}},e("toolbar.reload"))));function O(){g(),t(s.api.util.invalidateTags(l.invalidatingTags.DATA_OBJECT_DETAIL_ID(n)))}}},79424:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LanguageSelection:()=>c});var r=n(68034),o=n(95987),i=n(36198),a=n(11581);function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{LanguageSelectionContext:()=>a,LanguageSelectionProvider:()=>s});var r=n(36198);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{useLanguageSelection:()=>l});var r=n(36198),o=n(94759);function i(e){return i="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},i(e)}function a(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 s(e,t,n){var r;return r=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==i(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=function(){return function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{Toolbar:()=>j});var r=n(36198),o=n(72475),i=n(30811),a=n(71816),s=n(70047),l=n(45048),c=n(78078),u=n(63033),f=n(54088),d=n(81690),p=n(15008),h=n(47259),m=n(16658),g=n(79424),y=n(81873),v=n(49555),b=n(20160),O=["rowId"];function w(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 S(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return T(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t);var r=n(80237),o=n(81690),i=n(54088),a=n(99954);r.moduleSystem.registerModule({onInit:function(){var e=o.container.get(i.serviceIds["DataObject/Editor/FolderTabManager"]);e.register(a.TAB_PROPERTIES),e.register(a.TAB_DEPENDENCIES),e.register(a.TAB_NOTES_AND_EVENTS),e.register(a.TAB_TAGS),e.register(a.TAB_WORKFLOW)}})},78676:(e,t,n)=>{"use strict";n.r(t);var r=n(80237),o=n(81690),i=n(54088),a=n(99954),s=n(71201),l=n(16658);r.moduleSystem.registerModule({onInit:function(){var e=o.container.get(i.serviceIds["DataObject/Editor/ObjectTabManager"]);e.register(l.TAB_EDIT),e.register(a.TAB_PROPERTIES),e.register(s.TAB_VERSIONS),e.register(a.TAB_SCHEDULE),e.register(a.TAB_DEPENDENCIES),e.register(a.TAB_NOTES_AND_EVENTS),e.register(a.TAB_TAGS),e.register(a.TAB_WORKFLOW)}})},7916:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ObjectTabManager:()=>h});var r=n(62167),o=n(66595);function i(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},p=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":f(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,t)).type="object",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&u(e,t)}(t,e),n=t,r&&i(n.prototype,r),o&&i(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(r.TabManager);h=d([(0,o.injectable)(),p("design:paramtypes",[])],h)},83158:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DataComponent:()=>g});var r=n(36198),o=n(79195),i=n(81690),a=n(54088),s=n(55328),l=n(59487),c=n(49566),u=n(11581),f=n(99401);function d(e){return d="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},d(e)}function p(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 h(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{LayoutComponent:()=>a});var r=n(36198),o=n(81690),i=n(54088),a=function(e){var t,n=(0,o.useInjection)(i.serviceIds["DynamicTypes/ObjectLayoutRegistry"]),a=e.fieldType,s=e.fieldtype,l=null!==(t=null!=a?a:s)&&void 0!==t?t:"unknown";return n.hasDynamicType(l)?n.getDynamicType(l).getObjectLayoutComponent(e):r.createElement("div",null,"Unknown layout type: ",l)}},25795:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ObjectComponent:()=>u});var r=n(36198),o=n(63581),i=n(83158);function a(e){return a="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},a(e)}function s(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 l(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{RootComponent:()=>u});var r=n(36198),o=n(25795),i=n(79195),a=n(55328);function s(e){return s="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},s(e)}function l(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 c(e,t,n){var r;return r=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(e){var t=e.layout,n=e.data;return r.createElement(a.ConfigProvider,{theme:{components:{Form:{itemMarginBottom:0}}}},r.createElement(i.Form,{initialValues:n,layout:"vertical",onFinish:function(e){console.log(e)},preserve:!0},r.createElement(o.ObjectComponent,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{EditContainer:()=>c,TAB_EDIT:()=>u});var r=n(36198),o=n(54663),i=n(40700),a=n(15008),s=n(46928),l=n(82755),c=function(){var e=(0,s.useElementContext)().id,t=(0,a.useDataObjectGetLayoutByIdQuery)({id:e}),n=t.data,o=t.isLoading,c=(0,a.useDataObjectGetByIdQuery)({id:e}),u=c.data,f=c.isLoading;return void 0===n||o||f?r.createElement(l.Content,{loading:!0}):r.createElement(i.RootComponent,{data:null==u?void 0:u.objectData,layout:n})},u={key:"edit",label:"Edit",children:r.createElement(c,null),icon:r.createElement(o.Icon,{value:"edit"}),isDetachable:!0}},56903:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FormListContext:()=>o,FormListProvider:()=>i});var r=n(36198),o=r.createContext(void 0),i=function(e){var t=e.field,n=e.operation,i=e.children;return(0,r.useMemo)((function(){return r.createElement(o.Provider,{value:{field:t,operation:n}},i)}),[t,n,i])}},59487:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useFormList:()=>i});var r=n(36198),o=n(56903),i=function(){return(0,r.useContext)(o.FormListContext)}},23092:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DataObjectEditorWidget:()=>c});var r=n(90455),o=n(51823),i=n(7496),a=n(36198),s=n(45048),l=n(83402),c={name:"data-object-editor",component:r.EditorContainer,titleComponent:o.TitleContainer,isModified:function(e){var t,n=e.getConfig(),r=(0,l.selectDataObjectById)(i.store.getState(),n.id);return null!==(t=null==r?void 0:r.modified)&&void 0!==t&&t},getContextProvider:function(e,t){var n=e.config;return a.createElement(s.DataObjectProvider,{id:n.id},t)}}},70047:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useDataObjectDraft:()=>w});var r=n(7496),o=n(15008),i=n(83402),a=n(36198),s=n(86618),l=n(94941),c=n(2228),u=n(81690),f=n(54088),d=n(95973);function p(e){return p="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},p(e)}function h(){h=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==p(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=d;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=f(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function m(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 g(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{useDataObjectHelper:()=>m});var r=n(66777),o=n(7496),i=n(15008),a=n(38693),s=n(72743),l=n(76265);function c(e){return c="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},c(e)}function u(){u=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==c(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function f(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 d(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{useGlobalDataObjectContext:()=>i});var r=n(7496),o=n(33811),i=function(){var e=(0,r.useAppDispatch)();return{context:(0,r.useAppSelector)((function(e){return(0,o.selectContextByType)(e,"data-object")})),setContext:function(t){e((0,o.addGlobalContext)({type:"data-object",config:t}))},removeContext:function(){e((0,o.removeGlobalContext)("data-object"))}}}},65713:(e,t,n)=>{"use strict";n.r(t);n(52098),n(92776);var r=n(81690),o=n(54088),i=n(80237),a=n(14318);i.moduleSystem.registerModule({onInit:function(){r.container.get(o.serviceIds.widgetManager).registerWidget({name:"data-object-tree",component:a.TreeContainer})}})},8292:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DataObjectTreeContextMenu:()=>h});var r=n(36198),o=n(30811),i=n(41642),a=n(54663),s=n(42029),l=n(2536),c=n(46946),u=n(13250),f=n(30312),d=n(83206),p=n(23219),h=function(e){var t=(0,o.useTranslation)().t,n=(0,s.useZipDownload)({type:"folder"}).createZipDownloadContextMeuItem,h=(0,l.useAddFolder)("data-object").addFolderContextMenuItem,m=(0,c.useRename)("data-object").renameContextMenuItem,g=(0,u.useDelete)("data-object").deleteContextMenuItem,y=(0,f.useRefreshTree)("data-object").refreshTreeContextMenuItem,v=(0,d.useCopyPaste)("data-object"),b=v.copyContextMenuItem,O=v.cutContextMenuItem,w=v.pasteContextMenuItem,S=v.pasteCutContextMenuItem,x=(0,p.useLock)("data-object"),E=x.lockContextMenuItem,_=x.lockAndPropagateContextMenuItem,P=x.unlockContextMenuItem,T=x.unlockAndPropagateContextMenuItem,j=[h(e.node),m(e.node),b(e.node),w(e.node),O(e.node),S(parseInt(e.node.id)),g(e.node),n(e.node),{label:t("element.tree.context-menu.advanced"),key:"advanced",icon:r.createElement(a.Icon,{value:"more"}),children:[{label:t("element.lock"),key:"advanced-lock",icon:r.createElement(a.Icon,{value:"lock-01"}),children:[E(e.node),_(e.node),P(e.node),T(e.node)]}]},y(e.node)];return r.createElement(r.Fragment,null,r.createElement(i.Dropdown,{menu:{items:j},trigger:["contextMenu"]},e.children))}},87584:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useNodeApiHook:()=>p});var r=n(31322),o=n(15008),i=n(36198),a=n(72743);function s(e){return s="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},s(e)}function l(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 c(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t);var r=n(80237),o=n(81690),i=n(54088),a=n(8292);r.moduleSystem.registerModule({onInit:function(){o.container.get(i.serviceIds["App/ComponentRegistry/ComponentRegistry"]).register({name:"dataObjectTreeContextMenu",component:a.DataObjectTreeContextMenu})}})},97342:(e,t,n)=>{"use strict";n.r(t),n.d(t,{withDraggable:()=>c});var r=n(36198),o=n(61394);function i(e){return i="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},i(e)}function a(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 s(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{SearchContainer:()=>a});var r=n(36198),o=n(52631),i=n(30811),a=function(e){var t=(0,i.useTranslation)().t;return r.createElement(o.SearchContainer,{label:t("data-object.data-object-tree.search",{folderName:e.node.label}),node:e.node,total:e.total})}},14318:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TreeContainer:()=>y});var r=n(31322),o=n(36198),i=n(87584),a=n(36699),s=n(55262),l=n(97342),c=n(14274),u=n(8292),f=n(1020);function d(e){return d="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},d(e)}var p=["id"];function h(){h=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==d(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=p;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=f(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function m(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function g(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var y=function(e){var t=e.id,n=void 0===t?1:t,d=(g(e,p),(0,c.useDataObjectHelper)().openDataObject);function y(){var e;return e=h().mark((function e(t){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:d({config:{id:parseInt(t.id)}});case 1:case"end":return e.stop()}}),e)})),y=function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){m(i,r,o,a,s,"next",e)}function s(e){m(i,r,o,a,s,"throw",e)}a(void 0)}))},y.apply(this,arguments)}return o.createElement(r.ElementTree,{contextMenu:u.DataObjectTreeContextMenu,maxItemsPerNode:20,nodeApiHook:i.useNodeApiHook,nodeId:n,onSelect:function(e){return y.apply(this,arguments)},renderFilter:s.SearchContainer,renderNode:(0,l.withDraggable)(a.TreeNode),renderNodeContent:r.defaultProps.renderNodeContent,renderPager:f.PagerContainer})}},2536:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useAddFolder:()=>g});var r=n(30811),o=n(77783),i=n(92908),a=n(54663),s=n(36198),l=n(30312),c=n(76265);function u(e){return u="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},u(e)}function f(){f=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==u(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function d(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){d(i,r,o,a,s,"next",e)}function s(e){d(i,r,o,a,s,"throw",e)}a(void 0)}))}}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{useCopyPaste:()=>w});var r=n(93477),o=n(54663),i=n(36198),a=n(30811),s=n(30312),l=n(44845),c=n(51074),u=n(4194),f=n(21970),d=n(76265);function p(e){return p="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},p(e)}function h(){h=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==p(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=d;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=f(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function m(e){return function(e){if(Array.isArray(e))return O(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){g(i,r,o,a,s,"next",e)}function s(e){g(i,r,o,a,s,"throw",e)}a(void 0)}))}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||b(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){if(e){if("string"==typeof e)return O(e,t);var n=Object.prototype.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)?O(e,t):void 0}}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{useDelete:()=>w});var r=n(30811),o=n(77783),i=n(54663),a=n(36198),s=n(30312),l=n(5927),c=n(21970),u=n(51074),f=n(92908),d=n(76265);function p(e){return p="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},p(e)}function h(e){return function(e){if(Array.isArray(e))return O(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(){m=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",h="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==p(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=d;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=f(t,n,r);if("normal"===c.type){if(o=r.done?y:h,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function g(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){g(i,r,o,a,s,"next",e)}function s(e){g(i,r,o,a,s,"throw",e)}a(void 0)}))}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||b(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){if(e){if("string"==typeof e)return O(e,t);var n=Object.prototype.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)?O(e,t):void 0}}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{useLock:()=>f});var r=n(54663),o=n(36198),i=n(30811),a=n(44845);function s(e){return s="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},s(e)}function l(){l=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,l){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==s(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,l)}))}l(c.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function c(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){c(i,r,o,a,s,"next",e)}function s(e){c(i,r,o,a,s,"throw",e)}a(void 0)}))}}var f=function(e){var t=(0,i.useTranslation)().t,n=(0,a.useElementApi)(e).elementPatch,s=function(){var e=u(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(t,"self");case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),c=function(){var e=u(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(t,"propagate");case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),f=function(){var e=u(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(t,"");case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),d=function(){var e=u(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(t,"unlockPropagate");case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),p=function(){var e=u(l().mark((function e(t,r){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n({body:{data:[{id:t,locked:r}]}});case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.error("Error updating element lock",e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(t,n){return e.apply(this,arguments)}}();return{lock:s,lockAndPropagate:c,unlock:f,unlockAndPropagate:d,lockContextMenuItem:function(e){return{label:t("element.lock"),key:"lock",icon:o.createElement(r.Icon,{value:"lock-01"}),hidden:e.isLocked,onClick:(n=u(l().mark((function t(){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s(parseInt(e.id));case 2:case"end":return t.stop()}}),t)}))),function(){return n.apply(this,arguments)})};var n},lockAndPropagateContextMenuItem:function(e){return{label:t("element.lock-and-propagate-to-children"),key:"lock-and-propagate-to-children",icon:o.createElement(r.Icon,{value:"file-lock-02"}),hidden:e.isLocked,onClick:(n=u(l().mark((function t(){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c(parseInt(e.id));case 2:case"end":return t.stop()}}),t)}))),function(){return n.apply(this,arguments)})};var n},unlockContextMenuItem:function(e){return{label:t("element.unlock"),key:"unlock",icon:o.createElement(r.Icon,{value:"lock-unlock-01"}),hidden:!e.isLocked,onClick:(n=u(l().mark((function t(){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f(parseInt(e.id));case 2:case"end":return t.stop()}}),t)}))),function(){return n.apply(this,arguments)})};var n},unlockAndPropagateContextMenuItem:function(e){return{label:t("element.unlock-and-propagate-to-children"),key:"unlock-and-propagate-to-children",icon:o.createElement(r.Icon,{value:"lock-unlock-01"}),hidden:!e.isLocked,onClick:(n=u(l().mark((function t(){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d(parseInt(e.id));case 2:case"end":return t.stop()}}),t)}))),function(){return n.apply(this,arguments)})};var n}}}},30312:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useRefreshTree:()=>u});var r=n(7496),o=n(93477),i=n(15008),a=n(38693),s=n(54663),l=n(36198),c=n(30811),u=function(e){var t=(0,r.useAppDispatch)(),n=(0,c.useTranslation)().t,u=function(n){"asset"===e?t(o.api.util.invalidateTags(a.invalidatingTags.ASSET_TREE_ID(n))):"data-object"===e&&t(i.api.util.invalidateTags(a.invalidatingTags.DATA_OBJECT_TREE_ID(n)))};return{refreshTree:u,refreshTreeContextMenuItem:function(e){return{label:n("element.tree.refresh"),key:"refresh",icon:l.createElement(s.Icon,{value:"refresh-ccw-03"}),onClick:function(){u(parseInt(e.id))}}}}}},46946:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useRename:()=>h});var r=n(30811),o=n(77783),i=n(54663),a=n(36198),s=n(30312),l=n(44845),c=n(76265);function u(e){return u="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},u(e)}function f(){f=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==u(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function d(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){d(i,r,o,a,s,"next",e)}function s(e){d(i,r,o,a,s,"throw",e)}a(void 0)}))}}var h=function(e){var t=(0,r.useTranslation)().t,n=(0,o.useFormModal)(),u=(0,s.useRefreshTree)(e).refreshTree,d=(0,l.useElementApi)(e).elementPatch,h=function(e,r,o){var i;n.input({title:t("element.rename"),label:t("element.rename.label"),initialValue:r,rule:{required:!0,message:t("element.rename.validation")},onOk:(i=p(f().mark((function t(n){return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m(e,n,o);case 2:case"end":return t.stop()}}),t)}))),function(e){return i.apply(this,arguments)})})},m=function(){var t=p(f().mark((function t(n,r,o){var i;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=d({body:{data:[{id:n,key:r}]}}),t.prev=1,t.next=4,i;case 4:void 0!==o&&u(o),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(1),console.error("Error renaming "+e,t.t0);case 10:case"end":return t.stop()}}),t,null,[[1,7]])})));return function(e,n,r){return t.apply(this,arguments)}}();return{rename:h,renameContextMenuItem:function(e){return{label:t("element.rename"),key:"rename",icon:a.createElement(i.Icon,{value:"type-square"}),hidden:!(0,c.checkElementPermission)(e.permissions,"rename")||e.isLocked,onClick:function(){var t=parseInt(e.id),n=void 0!==e.parentId?parseInt(e.parentId):void 0;h(t,e.label,n)}}},renameMutation:m}}},86618:(e,t,n)=>{"use strict";n.r(t),n.d(t,{usePropertiesDraft:()=>f,usePropertiesReducers:()=>u});var r=n(7496);function o(e){return o="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},o(e)}function i(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 a(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{useSchedulesDraft:()=>p,useSchedulesReducers:()=>d});var r=n(7496);function o(e){return o="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},o(e)}var i=["schedules"];function a(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 s(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function u(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0,e}))}}},p=function(e,t,n,o,i,a,s){var l=(0,r.useAppDispatch)();return{schedules:null==t?void 0:t.schedules,updateSchedule:function(t){l(n({id:e,schedule:t}))},addSchedule:function(t){l(o({id:e,schedule:t}))},removeSchedule:function(t){l(i({id:e,schedule:t}))},setSchedules:function(t){l(a({id:e,schedules:t}))},resetSchedulesChanges:function(){l(s(e))}}}},95973:(e,t,n)=>{"use strict";n.r(t),n.d(t,{initialTabsStateValue:()=>l,useTabsDraft:()=>u,useTabsReducers:()=>c});var r=n(7496);function o(e){return o="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},o(e)}function i(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 a(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{useTrackableChangesDraft:()=>c,useTrackableChangesReducers:()=>l});var r=n(7496);function o(e){return o="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},o(e)}function i(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 a(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{DynamicTypeBatchEditRegistry:()=>d});var r=n(66595);function o(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&c(e,t)}(t,e),n=t,(r=[{key:"getComponent",value:function(e,t){return this.getDynamicType(e).getBatchEditComponent(t)}}])&&o(n.prototype,r),i&&o(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(n(68110).DynamicTypeRegistryAbstract);d=f([(0,r.injectable)()],d)},49592:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeBatchEditTextAreaComponent:()=>l});var r=n(36198),o=n(42592),i=n(96330);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{DynamicTypeBatchEditTextComponent:()=>l});var r=n(36198),o=n(55328),i=n(42592);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{DynamicTypeBatchEditTextArea:()=>d});var r=n(36198),o=n(66595),i=n(49592);function a(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 s(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"id","textarea")},t=[{key:"getBatchEditComponent",value:function(e){return r.createElement(i.DynamicTypeBatchEditTextAreaComponent,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{DynamicTypeBatchEditText:()=>d});var r=n(36198),o=n(66595),i=n(40033);function a(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 s(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"id","input")},t=[{key:"getBatchEditComponent",value:function(e){return r.createElement(i.DynamicTypeBatchEditTextComponent,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{DynamicTypeFieldFilterDatetimeComponent:()=>h});var r,o=n(36198),i=n(58664),a=n(47259),s=n(82640),l=n(27048),c=n(50906);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{DynamicTypeFieldFilterNumberComponent:()=>l});var r=n(36198),o=n(55328),i=n(50906);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{DynamicTypeFieldFilterSelectComponent:()=>c});var r=n(36198),o=n(58664),i=n(50906);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.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)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new 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}}}}(m.options);try{for(y.s();!(g=y.n()).done;){var v=g.value;h.push({label:v,value:v})}}catch(e){y.e(e)}finally{y.f()}}return(0,r.useEffect)((function(){p(u)}),[u]),r.createElement(o.Select,{onBlur:function(){l(t,d)},onChange:function(e){p(e)},options:h,style:{width:"100%"},value:d})}},77821:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeFieldFilterTextComponent:()=>l});var r=n(36198),o=n(55328),i=n(50906);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(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},r(e)}function o(e,t){for(var n=0;ns});var s=i((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}))},48898:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeFieldFilterRegistry:()=>d});var r=n(66595);function o(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&c(e,t)}(t,e),n=t,(r=[{key:"getComponent",value:function(e,t){return this.getDynamicType(e).getFieldFilterComponent(t)}}])&&o(n.prototype,r),i&&o(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(n(68110).DynamicTypeRegistryAbstract);d=f([(0,r.injectable)()],d)},5180:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeFieldFilterDatetime:()=>d});var r=n(36198),o=n(57595),i=n(66595);function a(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 s(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"id","datetime")},t=[{key:"getFieldFilterComponent",value:function(e){return r.createElement(o.DynamicTypeFieldFilterDatetimeComponent,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{DynamicTypeFieldFilterNumber:()=>d});var r=n(36198),o=n(59080),i=n(66595);function a(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 s(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"id","id")},t=[{key:"getFieldFilterComponent",value:function(e){return r.createElement(o.DynamicTypeFieldFilterNumberComponent,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{DynamicTypeFieldFilterSelect:()=>d});var r=n(36198),o=n(85044),i=n(66595);function a(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 s(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"id","select")},t=[{key:"getFieldFilterComponent",value:function(e){return r.createElement(o.DynamicTypeFieldFilterSelectComponent,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{DynamicTypeFieldFilterText:()=>d});var r=n(36198),o=n(77821),i=n(66595);function a(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 s(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"id","input")},t=[{key:"getFieldFilterComponent",value:function(e){return r.createElement(o.DynamicTypeFieldFilterTextComponent,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{TypeIconCell:()=>i});var r=n(36198),o=n(1704),i=function(e){var t=e.row.original.type;return r.createElement(r.Fragment,null,function(){switch(t){case"document":return r.createElement(o.IconView,{value:"mainDocument"});case"asset":return r.createElement(o.IconView,{value:"mainAsset"});case"dataObject":return r.createElement(o.IconView,{value:"mainObject"});default:return r.createElement("span",null,t)}}())}},76505:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TypeIconCell:()=>i});var r=n(36198),o=n(1704),i=function(e){var t=e.row.original.type;return r.createElement(r.Fragment,null,function(){switch(t){case"metadata.input":return r.createElement(o.IconView,{value:"text-input"});case"metadata.textarea":return r.createElement(o.IconView,{value:"note"});case"metadata.document":return r.createElement(o.IconView,{value:"mainDocument"});case"metadata.asset":return r.createElement(o.IconView,{value:"mainAsset"});case"metadata.object":case"metadata.dataObject":return r.createElement(o.IconView,{value:"mainObject"});case"metadata.date":return r.createElement(o.IconView,{value:"calendar-date"});case"metadata.checkbox":return r.createElement(o.IconView,{value:"check-done-02"});default:return r.createElement("span",null)}}())}},2329:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ValueCell:()=>s});var r=n(36198),o=n(81690),i=n(54088),a=n(55328),s=function(e){var t,n=e.row.original.type,s=(0,o.useInjection)(i.serviceIds["DynamicTypes/MetadataRegistry"]);try{t=s.getDynamicType(n)}catch(e){console.warn(e)}return r.createElement(r.Fragment,null,void 0===t?r.createElement(a.Alert,{message:"cell type not supported",type:"warning"}):t.getGridCellComponent(e))}},466:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TypeIconCell:()=>i});var r=n(36198),o=n(1704),i=function(e){var t=e.row.original.type;return r.createElement(r.Fragment,null,function(){switch(t){case"text":return r.createElement(o.IconView,{value:"note"});case"document":return r.createElement(o.IconView,{value:"mainDocument"});case"asset":return r.createElement(o.IconView,{value:"mainAsset"});case"object":case"dataObject":return r.createElement(o.IconView,{value:"mainObject"});case"bool":return r.createElement(o.IconView,{value:"check-done-02"});case"select":return r.createElement(o.IconView,{value:"chevron-selector-vertical"});default:return r.createElement("span",null)}}())}},83146:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ValueCell:()=>s});var r=n(36198),o=n(55328),i=n(81690),a={text:"input",bool:"checkbox"},s=function(e){var t,n=e.row.original.type,s=(0,i.useInjection)("DynamicTypes/GridCellRegistry"),l=null!==(t=a[n])&&void 0!==t?t:n;return r.createElement(r.Fragment,null,s.hasDynamicType(l)?s.getDynamicType(l).getGridCellComponent(e):r.createElement(o.Alert,{message:"cell type not supported",style:{display:"flex"},type:"warning"}))}},84185:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ActionsCell:()=>u});var r=n(36198),o=n(82113),i=n(30811),a=n(43061);function s(e){return s="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},s(e)}function l(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 c(e,t,n){var r;return r=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(e){var t=(0,i.useTranslation)().t,n={options:[{value:"delete",label:t("schedule.version.delete")},{value:"publish",label:t("schedule.version.publish")}]};return r.createElement(o.SelectCell,function(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.css;e.token;return{select:o(r||(t=["\n .ant-select-selection-item {\n .version-id__select__label {\n .version-id__selection-item-hidden {\n display: none;\n }\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},68901:(e,t,n)=>{"use strict";n.r(t),n.d(t,{VersionIdCell:()=>p});var r=n(36198),o=n(83227),i=n(36609),a=n(82113),s=n(56417),l=n(43061),c=n(46928);function u(e){return u="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},u(e)}function f(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 d(e,t,n){var r;return r=function(e,t){if("object"!=u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==u(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(e){var t=(0,c.useElementContext)(),n=t.id,u=t.elementType,p=(0,o.useVersionGetCollectionForElementByTypeAndIdQuery)({elementType:u,id:n,page:1,pageSize:9999}),h=p.data,m=[];p.isLoading||void 0===h||(m=h.items);var g=m.map((function(e){var t,n;return{value:e.id,displayValue:e.versionCount,label:r.createElement("div",{className:"version-id__select__label"},r.createElement("div",null,r.createElement("b",null,e.versionCount),r.createElement("span",{className:"version-id__selection-item-hidden"}," | ",null!==(t=e.user.name)&&void 0!==t?t:"not found")),r.createElement("div",{className:"version-id__selection-item-hidden"},(n=e.date,i.default.format(new Date(1e3*n),"datetime",i.default.language,{dateStyle:"short",timeStyle:"short"}))))}}));var y=(0,s.useStyles)().styles,v={options:g};return r.createElement("div",{className:y.select},r.createElement(a.SelectCell,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{PreviewFieldLabelCell:()=>i});var r=n(36198),o=n(55328).Typography.Text,i=function(e){var t=e.getValue();return void 0===t?r.createElement("div",null):r.createElement("div",{className:"default-cell__content"},t.field,"string"==typeof t.metadataType?" (".concat(t.metadataType,")"):"","string"==typeof t.language?r.createElement(o,{type:"secondary"}," ",t.language):"")}},61539:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AssetActionsCell:()=>s});var r=n(36198),o=n(27027),i=n(6786),a=n(55328),s=function(e){var t=e.row.original,n=(0,i.useAssetHelper)().openAsset;return(0,r.useMemo)((function(){return r.createElement("div",{className:"default-cell__content"},r.createElement(a.Flex,{className:"w-full",justify:"center"},r.createElement(o.IconButton,{icon:{value:"group"},onClick:function(){n({config:{id:t.id}})},type:"link"})))}),[t.id])}},93377:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AssetPreviewCell:()=>a});var r=n(93364),o=n(6786),i=n(36198),a=function(e){var t=(0,o.useAssetHelper)().openAsset;return i.createElement(i.Fragment,null,void 0!==(null==e?void 0:e.getValue())&&i.createElement(r.ImageView,{onClick:function(){if(void 0!==e){var n=e.row.original;t({config:{id:n.id}})}},src:e.getValue(),style:{cursor:"pointer"}}))}},44179:(e,t,n)=>{"use strict";var r,o,i;function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyle:()=>s});var s=(0,n(99291).createStyles)((function(e){e.token;var t=e.css;return{"checkbox-cell":t(r||(r=a(["\n padding: 4px;\n "]))),"align-center":t(o||(o=a(["\n justify-content: center;\n display: flex;\n "]))),"align-right":t(i||(i=a(["\n justify-content: flex-end;\n display: flex;\n "])))}}))},67476:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CheckboxCell:()=>s});var r=n(36198),o=n(55328),i=n(42420),a=n(44179),s=function(e){var t,n,s=(0,a.useStyle)().styles,l=(0,i.useEditMode)(e).fireOnUpdateCellDataEvent,c=(0,r.useRef)(null);function u(){var e,t;l(null!==(e=null===(t=c.current.input)||void 0===t?void 0:t.checked)&&void 0!==e&&e)}var f,d=null===(t=e.column.columnDef.meta)||void 0===t?void 0:t.config;return void 0===d&&(d={align:"left"}),r.createElement("div",{className:[s["checkbox-cell"],null!==(n=s["align-"+d.align])&&void 0!==n?n:"","default-cell__content"].join(" ")},r.createElement(o.Checkbox,{checked:e.getValue(),disabled:!1===(null===(f=e.column.columnDef.meta)||void 0===f?void 0:f.editable),onChange:u,ref:c}))}},60680:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{"date-cell":(0,e.css)(r||(t=["\n padding: 4px;\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},27155:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DateCell:()=>p});var r=n(36198),o=n(50388),i=n(42420),a=n(55328),s=n(27484),l=n.n(s),c=n(60680),u=n(38532);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{ElementCellContent:()=>f});var r=n(36198),o=n(52645),i=n(54663),a=n(43843),s=n(31083),l=n(73990);function c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r,o,i;function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyle:()=>s});var s=(0,n(99291).createStyles)((function(e){var t=e.css;e.token;return{"element-cell":t(r||(r=a(["\n padding: 3px;\n "]))),link:t(o||(o=a(["\n display: flex;\n gap: 8px;\n width: 100%;\n \n .ant-tag {\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 100%;\n cursor: pointer;\n }\n "]))),dropTargetIcon:t(i||(i=a(["\n margin-left: auto;\n margin-top: 4px\n "])))}}))},81373:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ElementCell:()=>u});var r=n(36198),o=n(79301),i=n(45817),a=n(43843);function s(e){return s="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},s(e)}function l(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 c(e,t,n){var r;return r=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(e){var t,n,s,u,f=(0,a.useStyle)().styles,d=e.column,p=null===(t=null===(n=e.column.columnDef.meta)||void 0===n?void 0:n.editable)||void 0===t||t,h=null!==(s=null===(u=d.columnDef.meta)||void 0===u?void 0:u.config)&&void 0!==s?s:{allowedTypes:["asset","data-object","document"]},m="function"==typeof h.allowedTypes?h.allowedTypes(e):h.allowedTypes;return r.createElement(o.Droppable,{className:[f["element-cell"],"default-cell__content"].join(" "),isValidContext:function(e){return m.includes(e.type)&&p},onDrop:function(t){var n,r,o,i=t.data;void 0!==(null===(n=e.column.columnDef.meta)||void 0===n?void 0:n.editable)&&void 0!==(null===(r=e.table.options.meta)||void 0===r?void 0:r.onUpdateCellData)&&(null===(o=e.table.options.meta)||void 0===o||o.onUpdateCellData({rowIndex:e.row.index,columnId:e.column.id,value:i,rowData:e.row.original}))}},r.createElement(i.ElementCellContent,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{LanguageCell:()=>u});var r=n(36198),o=n(82113),i=n(95987),a=n(43061);function s(e){return s="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},s(e)}function l(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 c(e,t,n){var r;return r=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(e){var t={options:(0,i.useSettings)().requiredLanguages};return r.createElement(o.SelectCell,function(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{cell:(0,e.css)(r||(t=["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n \n .pimcore-icon {\n color: ",";\n cursor: pointer;\n \n &:hover {\n color: ",";\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.colorPrimary,o.colorPrimaryHover)}}))},29307:(e,t,n)=>{"use strict";n.r(t),n.d(t,{OpenElementCell:()=>d});var r=n(36198),o=n(40521),i=n(54663),a=n(38576),s=n(71816),l=n(73990);function c(e){return c="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},c(e)}function u(){u=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==c(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function f(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}var d=function(e){var t,n=(0,o.useStyle)().styles,c=(0,l.useElementHelper)(),d=c.openElement,p=(0,c.mapToElementType)(e.row.original.type),h=e.row.original.id;return r.createElement("div",{className:n.cell},(t=function(){var e,t=(e=u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d({id:h,type:p});case 2:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){f(i,r,o,a,s,"next",e)}function s(e){f(i,r,o,a,s,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}(),r.createElement(s.Button,{icon:r.createElement(i.Icon,{value:"group"}),onClick:t,onKeyDown:a.onKeyEnterExecuteClick,type:"link"})))}},98197:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;return{"select-cell":(0,e.css)(r||(t=["\n padding: 4px;\n\n .ant-select {\n width: 100%;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},82113:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SelectCell:()=>d});var r=n(36198),o=n(93967),i=n.n(o),a=n(42420),s=n(58664),l=n(98197);function c(e){return c="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},c(e)}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{"text-cell":(0,e.css)(r||(t=["\n padding: 4px;\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},28838:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TextCell:()=>s});var r=n(36198),o=n(55328),i=n(73209),a=n(42420),s=function(e){var t=(0,a.useEditMode)(e),n=t.isInEditMode,s=t.disableEditMode,l=t.fireOnUpdateCellDataEvent,c=(0,i.useStyle)().styles,u=(0,r.useRef)(null);function f(){var e,t;l(null!==(e=null===(t=u.current.input)||void 0===t?void 0:t.value)&&void 0!==e?e:""),s()}function d(e){"Enter"===e.key&&f()}function p(){f()}return(0,r.useEffect)((function(){var e;n&&(null===(e=u.current)||void 0===e||e.focus())}),[n]),r.createElement("div",{className:[c["text-cell"],"default-cell__content"].join(" ")},n?r.createElement(o.Input,{defaultValue:e.getValue(),onBlur:p,onKeyDown:d,ref:u,type:"text"}):r.createElement(r.Fragment,null,e.getValue()))}},5025:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{"textarea-cell":(0,e.css)(r||(t=["\n padding: 4px;\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},24441:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TextareaCell:()=>u});var r=n(36198),o=n(42420),i=n(5025),a=n(96330),s=n(38576);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{"time-cell":(0,e.css)(r||(t=["\n padding: 4px;\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},94554:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TimeCell:()=>p});var r=n(36198),o=n(42420),i=n(55328),a=n(27484),s=n.n(a),l=n(67494),c=n(27118),u=n(78968);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellAbstract:()=>p});var r=n(68110),o=n(66595);function i(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&u(e,t)}(t,e),n=t,r&&i(n.prototype,r),o&&i(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(r.DynamicTypeAbstract);p=d([(0,o.injectable)()],p)},18428:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellRegistry:()=>d});var r=n(66595);function o(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&c(e,t)}(t,e),n=t,(r=[{key:"getGridCellComponent",value:function(e,t){return this.getDynamicType(e).getGridCellComponent(t)}}])&&o(n.prototype,r),i&&o(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(n(68110).DynamicTypeRegistryAbstract);d=f([(0,r.injectable)()],d)},87588:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellDependencyTypeIcon:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(3098);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellAssetCustomMetadataIcon:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(76505);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellAssetCustomMetadataValue:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(2329);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellPropertyIcon:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(466);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellPropertyValue:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(83146);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellScheduleActionsSelect:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(84185);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellVersionIdSelect:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(68901);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellAssetVersionPreviewFieldLabel:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(80257);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellAssetActions:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(61539);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellAssetLink:()=>v});var r=n(36198),o=n(64374),i=n(66595),a=n(81373),s=n(43061);function l(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 c(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellAssetPreview:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(93377);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellAsset:()=>v});var r=n(36198),o=n(64374),i=n(66595),a=n(81373),s=n(43061);function l(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 c(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellCheckbox:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(67476);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellDateTime:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(27155);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellDate:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(27155);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellDocumentLink:()=>v});var r=n(36198),o=n(64374),i=n(66595),a=n(81373),s=n(43061);function l(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 c(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellDocument:()=>v});var r=n(36198),o=n(64374),i=n(66595),a=n(81373),s=n(43061);function l(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 c(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellLanguageSelect:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(49153);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellObjectLink:()=>v});var r=n(36198),o=n(64374),i=n(66595),a=n(81373),s=n(43061);function l(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 c(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellObject:()=>v});var r=n(36198),o=n(64374),i=n(66595),a=n(81373),s=n(43061);function l(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 c(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellOpenElement:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(29307);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellSelect:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(82113);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellText:()=>y});var r=n(36198),o=n(64374),i=n(28838),a=n(66595);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellTextarea:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(24441);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeGridCellTime:()=>y});var r=n(36198),o=n(64374),i=n(66595),a=n(94554);function s(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 l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeListingAbstract:()=>u});var r=n(81690),o=n(54088),i=n(66595);function a(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},u=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"getGridCellComponent",value:function(e){return r.container.get(o.serviceIds["DynamicTypes/GridCellRegistry"]).getGridCellComponent(this.dynamicTypeGridCellType.id,e)}},{key:"getFieldFilterComponent",value:function(e){return r.container.get(o.serviceIds["DynamicTypes/FieldFilterRegistry"]).getComponent(this.dynamicTypeFieldFilterType.id,e)}}])&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();u=c([(0,i.injectable)()],u)},28710:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeListingRegistry:()=>d});var r=n(66595);function o(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&c(e,t)}(t,e),n=t,r&&o(n.prototype,r),i&&o(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(n(68110).DynamicTypeRegistryAbstract);d=f([(0,r.injectable)()],d)},37120:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeListingAssetLink:()=>v});var r=n(66595),o=n(543),i=n(64374),a=n(54088),s=n(87196);function l(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":m(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeMetadataAbstract:()=>u});var r=n(81690),o=n(54088),i=n(66595);function a(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},u=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"getGridCellComponent",value:function(e){return r.container.get(o.serviceIds["DynamicTypes/GridCellRegistry"]).getGridCellComponent(this.dynamicTypeGridCellType.id,e)}},{key:"getFieldFilterComponent",value:function(e){return r.container.get(o.serviceIds["DynamicTypes/FieldFilterRegistry"]).getComponent(this.dynamicTypeFieldFilterType.id,e)}}])&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();u=c([(0,i.injectable)()],u)},17781:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeMetaDataRegistry:()=>d});var r=n(66595);function o(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&c(e,t)}(t,e),n=t,(r=[{key:"getTypeSelectionTypes",value:function(){var e=new Map;return this.dynamicTypes.forEach((function(t,n){t.visibleInTypeSelection&&e.set(n,t)})),e}}])&&o(n.prototype,r),i&&o(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(n(68110).DynamicTypeRegistryAbstract);d=f([(0,r.injectable)()],d)},83826:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeMetaDataAsset:()=>b});var r=n(36198),o=n(66595),i=n(80168),a=n(64374),s=n(54088),l=n(87196);function c(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":g(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeMetaDataCheckbox:()=>b});var r=n(36198),o=n(66595),i=n(80168),a=n(64374),s=n(54088),l=n(87196);function c(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":g(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeMetaDataDate:()=>b});var r=n(36198),o=n(66595),i=n(80168),a=n(64374),s=n(54088),l=n(87196);function c(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":g(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeMetaDataDocument:()=>b});var r=n(36198),o=n(66595),i=n(80168),a=n(64374),s=n(54088),l=n(87196);function c(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":g(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeMetaDataInput:()=>b});var r=n(36198),o=n(66595),i=n(80168),a=n(64374),s=n(54088),l=n(87196);function c(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":g(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeMetaDataObject:()=>b});var r=n(36198),o=n(66595),i=n(80168),a=n(64374),s=n(54088),l=n(87196);function c(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":g(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeMetaDataSelect:()=>b});var r=n(36198),o=n(66595),i=n(80168),a=n(64374),s=n(54088),l=n(87196);function c(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":g(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeMetaDataTextarea:()=>b});var r=n(66595),o=n(80168),i=n(64374),a=n(54088),s=n(87196),l=n(38576);function c(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":g(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{BlockContent:()=>d});var r=n(36198),o=n(54688),i=n(56903),a=n(25795),s=n(71816),l=n(48388);function c(e){return c="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},c(e)}function u(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 f(e,t,n){var r;return r=function(e,t){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==c(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(e){var t=e.title,n=e.fields,c=e.operation,d=e.children,p=n.map((function(e){return{title:r.createElement(r.Fragment,null,t," ",e.name),forceRender:!0,children:r.createElement(i.FormListProvider,{field:e,operation:c},Array.isArray(d)?d.map((function(e,t){return r.createElement(a.ObjectComponent,function(e){for(var t=1;t0&&r.createElement(o.Accordion,{items:p}))}]})}},13692:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Block:()=>u});var r=n(36198),o=n(79195),i=n(81020);function a(e){return a="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},a(e)}function s(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 l(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{Consent:()=>l});var r=n(36198),o=n(47259),i=n(55328);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&r.createElement("span",null,"(",u,")"))}},1234:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ExternalImage:()=>d});var r=n(36198),o=n(14500),i=n(10553),a=n(55328),s=n(36529),l=n(16437),c=n(30811);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{ExternalImageFooter:()=>d});var r=n(36198),o=n(47259),i=n(55328),a=n(27027),s=n(54512),l=n(30811),c=n(16437);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{LocalizedFields:()=>f});var r=n(36198),o=n(16868),i=n(25795),a=n(40069),s=n(11581);function l(e){return l="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},l(e)}function c(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 u(e,t,n){var r;return r=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==l(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){var t=e.children,n=(0,s.useLanguageSelection)().currentLanguage;return r.createElement(o.LocalizedFieldsProvider,{locales:[n]},r.createElement(a.Space,{className:"w-full",direction:"vertical",size:"small"},null==t?void 0:t.map((function(e,t){return r.createElement(i.ObjectComponent,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{LocalizedFieldsContext:()=>o,LocalizedFieldsProvider:()=>i});var r=n(36198),o=(0,r.createContext)(void 0),i=function(e){var t=e.locales,n=e.children;return(0,r.useMemo)((function(){return r.createElement(o.Provider,{value:{locales:t}},n)}),[t,n])}},49566:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useLocalizedFields:()=>i});var r=n(36198),o=n(16868),i=function(){return(0,r.useContext)(o.LocalizedFieldsContext)}},73554:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataAbstract:()=>c});var r=n(66595),o=n(38576);function i(e,t){for(var n=0;n=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},c=function(){return e=function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r=!1,(n=a(n="isCollectionType"))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r},(t=[{key:"getObjectDataFormItemProps",value:function(e){return{className:"w-full",label:e.title,required:!0===e.mandatory,hidden:!0===e.invisible,tooltip:"string"==typeof e.tooltip&&e.tooltip.length>0?(0,o.respectLineBreak)(e.tooltip,!1):void 0}}}])&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();c=l([(0,r.injectable)()],c)},29649:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataRegistry:()=>d});var r=n(66595);function o(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&c(e,t)}(t,e),n=t,r&&o(n.prototype,r),i&&o(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(n(68110).DynamicTypeRegistryAbstract);d=f([(0,r.injectable)()],d)},28969:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataAbstractDate:()=>O});var r=n(36198),o=n(73554),i=n(27484),a=n.n(i),s=n(82640);function l(e){return l="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},l(e)}function c(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 u(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataAbstractInput:()=>p});var r=n(36198),o=n(73554),i=n(55328);function a(e){return a="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},a(e)}function s(e,t){for(var n=0;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},r(e)}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;th});var h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&p(e,t)}(t,e),n=t,(r=[{key:"getObjectDataComponent",value:function(e){return f(d(t.prototype),"getObjectDataComponent",this).call(this,i(i({},e),{},{multiSelect:!0}))}}])&&s(n.prototype,r),o&&s(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(n(55495).DynamicTypeObjectDataAbstractSelect)},18110:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataAbstractNumeric:()=>v});var r=n(36198),o=n(73554),i=n(55328);function a(e){return a="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},a(e)}function s(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 l(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataAbstractSelect:()=>v});var r=n(36198),o=n(73554),i=n(58664),a=n(36609);function s(e){return s="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},s(e)}function l(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 c(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataBlock:()=>m});var r=n(36198),o=n(73554),i=n(13692);function a(e){return a="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},a(e)}function s(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 l(e,t){for(var n=0;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},r(e)}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;th});var h=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataConsent:()=>p});var r=n(36198),o=n(73554),i=n(51523);function a(e){return a="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},a(e)}function s(e,t){for(var n=0;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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){var e,n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){var e,n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataDateRange:()=>p});var r=n(36198),o=n(73554),i=n(82640);function a(e){return a="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},a(e)}function s(e,t){for(var n=0;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},r(e)}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;th});var h=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"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},r(e)}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;th});var h=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o{"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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){var e,n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataExternalImage:()=>p});var r=n(36198),o=n(73554),i=n(1234);function a(e){return a="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},a(e)}function s(e,t){for(var n=0;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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){var e,n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){var e,n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataGeoBounds:()=>h});var r=n(36198),o=n(73554),i=n(20918),a=n(15445);function s(e){return s="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},s(e)}function l(e,t){for(var n=0;n{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataGeoPoint:()=>h});var r=n(36198),o=n(73554),i=n(95421),a=n(20918);function s(e){return s="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},s(e)}function l(e,t){for(var n=0;n{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataGeoPolygon:()=>h});var r=n(36198),o=n(73554),i=n(20918),a=n(87201);function s(e){return s="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},s(e)}function l(e,t){for(var n=0;n{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataGeoPolyLine:()=>h});var r=n(36198),o=n(73554),i=n(20918),a=n(87201);function s(e){return s="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},s(e)}function l(e,t){for(var n=0;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},r(e)}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;th});var h=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o0?new RegExp(e.regex,null===(n=e.regexFlags)||void 0===n?void 0:n.join("")):void 0}]})}}])&&a(n.prototype,r),o&&a(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(n(56294).DynamicTypeObjectDataAbstractInput)},77304:(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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){var e,n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){var e,n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){var e,n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataLocalizedFields:()=>m});var r=n(36198),o=n(73554),i=n(44397);function a(e){return a="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},a(e)}function s(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 l(e,t){for(var n=0;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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){var e,n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataNumericRange:()=>g});var r=n(36198),o=n(11822);function i(e){return i="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},i(e)}function a(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 s(e){for(var t=1;t{"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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){var e,n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataPassword:()=>p});var r=n(36198),o=n(73554),i=n(55328);function a(e){return a="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},a(e)}function s(e,t){for(var n=0;n{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataRgbaColor:()=>O});var r=n(36198),o=n(73554),i=n(55328),a=n(36609);function s(e){return s="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},s(e)}function l(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 c(e){for(var t=1;t{"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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){var e,n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataSlider:()=>y});var r=n(36198),o=n(18110),i=n(74959),a=n(16437);function s(e){return s="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},s(e)}function l(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 c(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataTextarea:()=>p});var r=n(36198),o=n(73554),i=n(96330);function a(e){return a="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},a(e)}function s(e,t){for(var n=0;n{"use strict";n.r(t),n.d(t,{DynamicTypeObjectDataTime:()=>p});var r=n(36198),o=n(73554),i=n(82640);function a(e){return a="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},a(e)}function s(e,t){for(var n=0;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},r(e)}function o(e,t){for(var n=0;nu});var u=function(e){function t(){var e,n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";n.r(t),n.d(t,{getGeoComponentHeight:()=>a,getGeoComponentWidth:()=>i});var r=n(96486),o=n.n(r),i=function(e){return o().isEmpty(e)?"500px":e},a=function(e){return o().isEmpty(e)?"250px":e}},29123:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Accordion:()=>f});var r=n(36198),o=n(54688),i=n(25795),a=n(67475);function s(e){return s="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},s(e)}function l(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 c(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{FieldContainer:()=>c});var r=n(36198),o=n(47259),i=n(25795);function a(e){return a="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},a(e)}function s(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 l(e,t,n){var r;return r=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e){var t=e.children;e.collapsible,e.collapsed;return r.createElement(o.Flex,{className:"w-full",gap:{x:"extra-small",y:0}},t.map((function(e){return r.createElement(o.Flex,{flex:1,key:e.name},r.createElement(i.ObjectComponent,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{Panel:()=>d});var r=n(36198),o=n(25795),i=n(67475),a=n(40069),s=n(48388);function l(e){return l="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},l(e)}function c(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 u(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{Region:()=>f,availableRegions:()=>u});var r=n(65286),o=n(36198),i=n(25795);function a(e){return a="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},a(e)}function s(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 l(e){for(var t=1;t0;if(h||(p=1),d[u.north]>0)for(var m=0;m0)for(var y=0;y0)for(var v=0;v0)for(var b=0;b0)for(var O=0;O{"use strict";n.r(t),n.d(t,{Tabpanel:()=>d});var r=n(36198),o=n(25795),i=n(55328),a=n(48388),s=n(67475);function l(e){return l="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},l(e)}function c(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 u(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{Text:()=>a});var r=n(36198),o=n(69850),i=n(67475),a=function(e){return r.createElement(i.BaseView,{border:e.border,collapsed:e.collapsed,collapsible:e.collapsible,title:e.title},r.createElement(o.SanitizeHtml,{html:e.html}))}},33436:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeObjectLayoutAbstract:()=>c});var r=n(66595);function o(e,t){for(var n=0;n=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},c=i((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));c=l([(0,r.injectable)()],c)},22474:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeObjectLayoutRegistry:()=>d});var r=n(66595);function o(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&c(e,t)}(t,e),n=t,r&&o(n.prototype,r),i&&o(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(n(68110).DynamicTypeRegistryAbstract);d=f([(0,r.injectable)()],d)},99839:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeObjectLayoutAccordion:()=>m});var r=n(36198),o=n(33436),i=n(29123);function a(e){return a="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},a(e)}function s(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 l(e,t){for(var n=0;n{"use strict";n.r(t),n.d(t,{DynamicTypeObjectLayoutFieldContainer:()=>m});var r=n(36198),o=n(33436),i=n(48054);function a(e){return a="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},a(e)}function s(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 l(e,t){for(var n=0;n{"use strict";n.r(t),n.d(t,{DynamicTypeObjectLayoutFieldset:()=>g});var r=n(36198),o=n(33436),i=n(21089);function a(e){return a="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},a(e)}function s(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 l(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{DynamicTypeObjectLayoutPanel:()=>m});var r=n(36198),o=n(33436),i=n(21089);function a(e){return a="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},a(e)}function s(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 l(e,t){for(var n=0;n{"use strict";n.r(t),n.d(t,{DynamicTypeObjectLayoutRegion:()=>m});var r=n(36198),o=n(33436),i=n(45701);function a(e){return a="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},a(e)}function s(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 l(e,t){for(var n=0;n{"use strict";n.r(t),n.d(t,{DynamicTypeObjectLayoutTabpanel:()=>m});var r=n(36198),o=n(33436),i=n(38222);function a(e){return a="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},a(e)}function s(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 l(e,t){for(var n=0;n{"use strict";n.r(t),n.d(t,{DynamicTypeObjectLayoutText:()=>m});var r=n(36198),o=n(33436),i=n(12735);function a(e){return a="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},a(e)}function s(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 l(e,t){for(var n=0;n{"use strict";n.r(t),n.d(t,{AccordionView:()=>s});var r=n(54688),o=n(36198),i=["collapsed","bordered"];function a(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=function(e){var t=e.collapsed,n=e.bordered,s=a(e,i),l={key:"0",title:o.createElement(o.Fragment,null,s.title),children:s.children,forceRender:!0};return o.createElement(r.Accordion,{bordered:n,defaultActiveKey:null!=t&&t?"0":void 0,ghost:!0,items:[l]},s.children)}},67475:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BaseView:()=>s});var r=n(36198),o=n(96486),i=n(75612),a=n(93274),s=function(e){return!0===e.border||!0===e.collapsible||!(0,o.isEmpty)(e.title)?!0===e.collapsible?r.createElement(i.AccordionView,{bordered:e.border,collapsed:e.collapsed,title:e.title},e.children):r.createElement(a.CardView,{bordered:e.border,title:e.title},e.children):r.createElement(r.Fragment,null,e.children)}},93274:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CardView:()=>a});var r=n(36198),o=n(96486),i=n(14500),a=function(e){return console.log(e.bordered,!0===e.bordered),r.createElement(i.Card,{bordered:!0===e.bordered,title:(0,o.isEmpty)(e.title)?void 0:e.title},e.children)}},15656:(e,t,n)=>{"use strict";n.r(t);var r=n(81690),o=n(80237),i=n(54088);o.moduleSystem.registerModule({onInit:function(){var e=r.container.get(i.serviceIds["DynamicTypes/FieldFilterRegistry"]);e.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/FieldFilter/Text"])),e.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/FieldFilter/Number"])),e.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/FieldFilter/Select"])),e.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/FieldFilter/Datetime"]));var t=r.container.get(i.serviceIds["DynamicTypes/BatchEditRegistry"]);t.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/BatchEdit/Text"])),t.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/BatchEdit/TextArea"])),r.container.get(i.serviceIds["DynamicTypes/ListingRegistry"]).registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/Listing/AssetLink"]));var n=r.container.get(i.serviceIds["DynamicTypes/GridCellRegistry"]);n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/Text"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/Textarea"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/Select"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/Checkbox"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/Date"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/Time"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/DateTime"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/AssetLink"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/ObjectLink"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/DocumentLink"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/OpenElement"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/AssetPreview"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/AssetActions"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/DependencyTypeIcon"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/AssetCustomMetadataIcon"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/AssetCustomMetadataValue"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/PropertyIcon"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/PropertyValue"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/ScheduleActionsSelect"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/VersionsIdSelect"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/AssetVersionPreviewFieldLabel"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/Asset"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/Object"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/Document"])),n.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/GridCell/LanguageSelect"]));var o=r.container.get(i.serviceIds["DynamicTypes/MetadataRegistry"]);o.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/Metadata/Asset"])),o.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/Metadata/Checkbox"])),o.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/Metadata/Date"])),o.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/Metadata/Document"])),o.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/Metadata/Input"])),o.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/Metadata/Object"])),o.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/Metadata/Select"])),o.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/Metadata/Textarea"]));var a=r.container.get(i.serviceIds["DynamicTypes/ObjectLayoutRegistry"]);a.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Panel"])),a.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Tabpanel"])),a.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Accordion"])),a.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Region"])),a.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Text"])),a.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Fieldset"])),a.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectLayout/FieldContainer"]));var s=r.container.get(i.serviceIds["DynamicTypes/ObjectDataRegistry"]);s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/Input"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/Textarea"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/Password"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/Select"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/MultiSelect"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/Language"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/LanguageMultiSelect"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/Country"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/CountryMultiSelect"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/User"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/BooleanSelect"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/Numeric"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/NumericRange"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/Slider"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/Consent"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/Firstname"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/Lastname"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/Email"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/Gender"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/RgbaColor"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/Date"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/Datetime"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/DateRange"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/Time"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/ExternalImage"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/GeoPoint"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/GeoBounds"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/GeoPolygon"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/GeoPolyLine"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/Block"])),s.registerDynamicType(r.container.get(i.serviceIds["DynamicTypes/ObjectData/LocalizedFields"]))}})},68110:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeAbstract:()=>u,DynamicTypeRegistryAbstract:()=>f});var r=n(66595);function o(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},u=i((function e(){s(this,e)}));u=c([(0,r.injectable)()],u);var f=function(){return i((function e(){var t,n,r;s(this,e),t=this,n="dynamicTypes",r=new Map,(n=a(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}),[{key:"registerDynamicType",value:function(e){if(this.dynamicTypes.has(e.id))throw new Error('Dynamic type with id "'.concat(e.id,'" already exists'));this.dynamicTypes.set(e.id,e)}},{key:"getDynamicType",value:function(e){var t=this.dynamicTypes.get(e);if(void 0===t)throw new Error('Dynamic type with id "'.concat(e,'" not found'));return t}},{key:"getDynamicTypes",value:function(){return Array.from(this.dynamicTypes.values())}},{key:"overrideDynamicType",value:function(e){if(!this.dynamicTypes.has(e.id))throw new Error('Dynamic type with id "'.concat(e.id,'" not found'));this.dynamicTypes.set(e.id,e)}},{key:"hasDynamicType",value:function(e){return this.dynamicTypes.has(e)}}])}();f=c([(0,r.injectable)()],f)},47636:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DynamicTypeRegistryContext:()=>a,DynamicTypeRegistryProvider:()=>s});var r=n(36198);function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(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},r(e)}function o(e,t){for(var n=0;nc,DynamicTypesResolverTargets:()=>s,targetCallbackNameMap:()=>l});var s={GRID_CELL:"GRID_CELL",FIELD_FILTER:"FIELD_FILTER",BATCH_EDIT:"BATCH_EDIT"},l=i(i(i({},s.GRID_CELL,"getGridCellComponent"),s.FIELD_FILTER,"getFieldFilterComponent"),s.BATCH_EDIT,"getBatchEditComponent"),c=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"resolve",value:function(e){var t=e.target,n=e.dynamicType;if(!this.hasCallable(t,n))throw new Error("DynamicTypeResolver: ".concat(n.id," does not have a callable ").concat(l[t]));return function(e){return n[l[t]].bind(n)(e)}}},{key:"hasCallable",value:function(e,t){return void 0!==t[l[e]]&&"function"==typeof t[l[e]]}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}()},1447:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useDynamicTypeResolver:()=>c});var r=n(36198),o=n(49427),i=n(47636),a=n(81690);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(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 new 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,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(36198),o=n(82755),i=n(81690),a=n(54088),s=n(87633),l=n(6400),c=n(66777),u=n(32215),f=n(72475),d=n(73264);function p(e){var t,n=e.context,p=e.tabKey,h=(0,c.useWidgetManager)().getOpenedMainWidget,m=(0,s.useElementDraft)(n.config.id,n.type),g=m.editorType;if(m.isLoading)return r.createElement(o.Content,{loading:!0});if(void 0===g)return r.createElement(l.default,null);var y=h(),v=i.container.get(g.tabManagerServiceId).getTab(p),b=i.container.get(a.serviceIds.widgetManager);if(void 0===v||void 0===y)return r.createElement(l.default,null);var O=b.getWidget(null!==(t=null==y?void 0:y.getComponent())&&void 0!==t?t:"");if(void 0===(null==O?void 0:O.getContextProvider))return r.createElement(l.default,null);var w=O.getContextProvider(n,v.children);return void 0===w?r.createElement(l.default,null):r.createElement(u.ContentLayout,{renderTopBar:r.createElement(f.Toolbar,{position:"top",size:"small",theme:"secondary"},r.createElement(d.ElementToolbar,{elementType:n.type,id:n.config.id}))},w)}},38491:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DetachedTab:()=>s});var r=n(36198),o=n(6400),i=n(32151),a=n(67876),s=function(e){var t=e.tabKey,n=(0,a.useGlobalElementContext)().context;return void 0===n?r.createElement(o.default,null):r.createElement(i.default,{context:n,tabKey:t})}},6400:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(36198);function o(){return r.createElement("div",null,"Missing context!")}},74366:(e,t,n)=>{"use strict";n.r(t);var r=n(81690),o=n(54088),i=n(80237),a=n(38491);i.moduleSystem.registerModule({onInit:function(){r.container.get(o.serviceIds.widgetManager).registerWidget({name:"detachable-tab",component:a.DetachedTab})}})},3561:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{tabbarToolbar:(0,e.css)(r||(t=["\n &.tabs-toolbar-layout {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n overflow: hidden;\n }\n\n .tabs-toolbar-layout__tabbar {\n display: flex;\n overflow: hidden;\n height: calc(100% - ","px);\n width: 100%;\n }\n\n .tabs-toolbar-layout__toolbar {\n display: flex;\n overflow: hidden;\n height: ","px;\n width: 100%;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.sizeXXL,o.sizeXXL)}}),{hashPriority:"low"})},6150:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TabsToolbarView:()=>i});var r=n(36198),o=n(3561),i=function(e){var t=(0,o.useStyles)().styles;return r.createElement("div",{className:["tabs-toolbar-layout",t.tabbarToolbar].join(" ")},r.createElement("div",{className:"tabs-toolbar-layout__tabbar"},e.renderTabbar),r.createElement("div",{className:"tabs-toolbar-layout__toolbar"},e.renderToolbar))}},9866:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TypeRegistry:()=>l});var r=n(66595);function o(e,t){for(var n=0;n=0;l--)(o=e[l])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(){return e=function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r={},(n=i(n="registry"))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r},(t=[{key:"register",value:function(e){if(this.has(e.name))throw new Error('Type with the name "'.concat(e.name,'" already exists.'));this.registry[e.name]=e}},{key:"get",value:function(e){if(!this.has(e))throw new Error('No type with the name "'.concat(e,'" found'));return this.registry[e]}},{key:"has",value:function(e){return e in this.registry}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();l=s([(0,r.injectable)()],l)},99954:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TAB_DEPENDENCIES:()=>p,TAB_NOTES_AND_EVENTS:()=>m,TAB_PROPERTIES:()=>f,TAB_SCHEDULE:()=>d,TAB_TAGS:()=>g,TAB_WORKFLOW:()=>h});var r=n(54663),o=n(36198),i=n(67534),a=n(75818),s=n(5232),l=n(10593),c=n(56396),u=n(57527),f={key:"properties",label:"properties.label",workspacePermission:"properties",children:o.createElement(i.PropertiesContainer,null),icon:o.createElement(r.Icon,{value:"settings2"}),isDetachable:!0},d={key:"schedule",label:"schedule.label",workspacePermission:"settings",children:o.createElement(a.ScheduleTabContainer,null),icon:o.createElement(r.Icon,{value:"schedule-outlined"}),isDetachable:!0},p={key:"dependencies",label:"dependencies.label",children:o.createElement(s.DependenciesTabContainer,null),icon:o.createElement(r.Icon,{value:"hierarchy"}),isDetachable:!0},h={key:"workflow",label:"workflow.label",userPermission:"workflow_details",children:o.createElement(l.WorkflowTabContainer,null),icon:o.createElement(r.Icon,{value:"workflow"}),isDetachable:!0},m={key:"notes-events",label:"notes-and-events.label",userPermission:"notes_events",children:o.createElement(c.NotesAndEventsTabContainer,null),icon:o.createElement(r.Icon,{value:"view-details"}),isDetachable:!0},g={key:"tags",label:"tags.label",userPermission:"tags_assignment",children:o.createElement(u.TagsTabContainer,null),icon:o.createElement(r.Icon,{value:"tag-two-tone"}),isDetachable:!0}},98740:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TabsContainer:()=>p});var r=n(36198),o=n(95719),i=n(30811),a=n(81690),s=n(46928),l=n(87633);function c(e){return c="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},c(e)}function u(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 f(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{Pagination:()=>s});var r=n(36198),o=n(36609),i=n(38549),a=n(65773),s=function(e){var t;return e.isLoading?r.createElement(a.PaginationSkeleton,null):e.isLoading||0!==e.totalItems?r.createElement(i.Pagination,{current:e.page,defaultPageSize:20,onChange:e.onChange,pageSizeOptions:["10","20","50","100"],showSizeChanger:!0,showTotal:function(e){return(0,o.t)("pagination.show-total",{total:e})},total:null!==(t=e.totalItems)&&void 0!==t?t:0}):r.createElement(r.Fragment,null)}},44025:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyle:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{skeleton:(0,e.css)(r||(t=["\n width: 100%;\n display: flex;\n gap: 4px;\n align-items: center;\n justify-content: flex-end;\n \n .square {\n .ant-skeleton-button {\n width: 24px;\n height: 24px;\n min-width: unset; \n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},65773:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PaginationSkeleton:()=>a});var r=n(36198),o=n(55328),i=n(44025),a=function(){var e=(0,i.useStyle)().styles;return r.createElement("div",{className:e.skeleton},r.createElement(o.Skeleton.Input,{active:!0,size:"small"}),r.createElement(o.Skeleton.Button,{active:!0,className:"square",size:"small"}),r.createElement(o.Skeleton.Button,{active:!0,className:"square",size:"small"}),r.createElement(o.Skeleton.Button,{active:!0,className:"square",size:"small"}),r.createElement(o.Skeleton.Button,{active:!0,size:"small"}))}},7330:(e,t,n)=>{"use strict";n.r(t),n.d(t,{RequiredByPanel:()=>O});var r=n(54663),o=n(36198),i=n(30811),a=n(22114),s=n(25160),l=n(57379),c=n(82755),u=n(41161),f=n(32215),d=n(72475),p=n(46928);function h(e){return h="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},h(e)}function m(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 g(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{RequiresPanel:()=>O});var r=n(36198),o=n(54663),i=n(30811),a=n(22114),s=n(25160),l=n(57379),c=n(82755),u=n(41161),f=n(32215),d=n(72475),p=n(46928);function h(e){return h="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},h(e)}function m(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 g(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{Table:()=>s});var r=n(74094),o=n(36198),i=n(30811),a=n(44587),s=function(e){var t=e.items,n=e.isLoading,s=(0,i.useTranslation)().t,l=(0,r.createColumnHelper)(),c=[l.accessor("subType",{header:s("dependencies.columns.subtype"),meta:{type:"dependency-type-icon"},size:60}),l.accessor("path",{header:s("dependencies.columns.path"),meta:{autoWidth:!0},size:300}),l.accessor("actions",{header:s("dependencies.columns.open"),meta:{type:"open-element"},size:50})];return o.createElement(a.Grid,{autoWidth:!0,columns:c,data:t,isLoading:n,resizable:!0})}},22114:(e,t,n)=>{"use strict";n.r(t),n.d(t,{api:()=>o,useDependencyGetCollectionByElementTypeQuery:()=>i});var r=n(38693),o=n(87429).api.enhanceEndpoints({addTagTypes:[r.tagNames.ASSET_DETAIL,r.tagNames.DATA_OBJECT_DETAIL,r.tagNames.DEPENDENCIES],endpoints:{dependencyGetCollectionByElementType:{providesTags:function(e,t,n){return r.providingTags.ELEMENT_DEPENDENCIES(n.elementType,n.id)}}}}),i=o.useDependencyGetCollectionByElementTypeQuery},87429:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addTagTypes:()=>o,api:()=>i,useDependencyGetCollectionByElementTypeQuery:()=>a});var r=n(35525),o=["Dependencies"],i=r.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{dependencyGetCollectionByElementType:e.query({query:function(e){return{url:"/pimcore-studio/api/dependencies/".concat(e.elementType,"/").concat(e.id),params:{page:e.page,pageSize:e.pageSize,dependencyMode:e.dependencyMode}}},providesTags:["Dependencies"]})}},overrideExisting:!1}),a=i.useDependencyGetCollectionByElementTypeQuery},5232:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DependenciesTabContainer:()=>s});var r=n(36198),o=n(64428),i=n(7330),a=n(67793),s=function(){return r.createElement(a.SplitLayout,{leftItem:{minSize:450,size:50,children:r.createElement(o.RequiresPanel,null)},resizeAble:!0,rightItem:{minSize:450,size:50,children:r.createElement(i.RequiredByPanel,null)},withDivider:!0})}},20393:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AddNoteForm:()=>m});var r=n(36198),o=n(30811),i=n(55328),a=n(96330),s=n(29848),l=n(82755),c=n(58664);function u(e){return u="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},u(e)}var f=["elementType"];function d(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 p(e,t,n){var r;return r=function(e,t){if("object"!=u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==u(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var m=function(e){var t,n=e.elementType,u=h(e,f),m=(0,o.useTranslation)().t,g=(0,s.useNoteElementGetTypeCollectionQuery)({elementType:n}),y=g.isLoading,v=g.data;if(y)return r.createElement(l.Content,{loading:!0});var b=null==v||null===(t=v.items)||void 0===t?void 0:t.map((function(e){return{value:e.id,label:m("notes-and-events."+e.id)}}));return r.createElement(i.Form,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{AddNoteModal:()=>y});var r=n(36198),o=n(55328),i=n(30811),a=n(31090),s=n(20393),l=n(47974),c=n(29848);function u(e){return u="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},u(e)}function f(){f=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==u(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function d(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){d(i,r,o,a,s,"next",e)}function s(e){d(i,r,o,a,s,"throw",e)}a(void 0)}))}}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==i[0]?i[0]:"",r=i.length>1?i[1]:void 0,o=i.length>2&&void 0!==i[2]?i[2]:"",e.next=5,d({elementType:t.elementType,id:t.elementId,createNote:{type:n,title:r,description:o}});case 5:case"end":return e.stop()}}),e)}))),O.apply(this,arguments)}function w(){return(w=p(f().mark((function e(n){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return v(!0),e.next=3,b(n.type,n.title,n.description);case 3:t.setOpen(!1),u.resetFields(),v(!1);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return r.createElement(o.Modal,{okButtonProps:{loading:y},okText:n("save"),onCancel:function(){t.setOpen(!1),u.resetFields()},onOk:function(){u.submit()},open:t.open,title:r.createElement(a.ModalTitle,{iconName:"PlusCircleOutlined"},n("notes-and-events.new-note"))},r.createElement(s.AddNoteForm,{elementType:t.elementType,form:u,onFinish:function(e){return w.apply(this,arguments)}}))}},29848:(e,t,n)=>{"use strict";n.r(t),n.d(t,{api:()=>a,useNoteDeleteByIdMutation:()=>s,useNoteElementCreateMutation:()=>l,useNoteElementGetCollectionQuery:()=>c,useNoteElementGetTypeCollectionQuery:()=>u,useNoteGetCollectionQuery:()=>f});var r=n(38693);function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{addTagTypes:()=>o,api:()=>i,useNoteDeleteByIdMutation:()=>s,useNoteElementCreateMutation:()=>c,useNoteElementGetCollectionQuery:()=>l,useNoteElementGetTypeCollectionQuery:()=>u,useNoteGetCollectionQuery:()=>a});var r=n(35525),o=["Notes"],i=r.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{noteGetCollection:e.query({query:function(e){return{url:"/pimcore-studio/api/notes",params:{page:e.page,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,filter:e.filter,fieldFilters:e.fieldFilters}}},providesTags:["Notes"]}),noteDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/notes/".concat(e.id),method:"DELETE"}},invalidatesTags:["Notes"]}),noteElementGetCollection:e.query({query:function(e){return{url:"/pimcore-studio/api/notes/".concat(e.elementType,"/").concat(e.id),params:{page:e.page,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,filter:e.filter,fieldFilters:e.fieldFilters}}},providesTags:["Notes"]}),noteElementCreate:e.mutation({query:function(e){return{url:"/pimcore-studio/api/notes/".concat(e.elementType,"/").concat(e.id),method:"POST",body:e.createNote}},invalidatesTags:["Notes"]}),noteElementGetTypeCollection:e.query({query:function(e){return{url:"/pimcore-studio/api/notes/type/".concat(e.elementType)}},providesTags:["Notes"]})}},overrideExisting:!1}),a=i.useNoteGetCollectionQuery,s=i.useNoteDeleteByIdMutation,l=i.useNoteElementGetCollectionQuery,c=i.useNoteElementCreateMutation,u=i.useNoteElementGetTypeCollectionQuery},56396:(e,t,n)=>{"use strict";n.r(t),n.d(t,{NotesAndEventsTabContainer:()=>y});var r=n(36198),o=n(59017),i=n(29848),a=n(38549),s=n(30811),l=n(82755),c=n(46928),u=n(7496),f=n(38693);function d(e){return d="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},d(e)}function p(){p=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==d(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=f(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function h(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{NotesAndEventsTabView:()=>j});var r=n(36198),o=n(30811),i=n(38576),a=n(20361),s=n(62833),l=n(41161),c=n(82755),u=n(32215),f=n(72475),d=n(55328),p=n(40069),h=n(36609),m=n(44587),g=n(74094),y=n(54688),v=n(63664),b=n(27027),O=n(99401),w=n(25419),S=n(31110);function x(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 E(e,t,n){var r;return r=function(e,t){if("object"!=_(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==_(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(e){return _="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)}function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return T(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(t=!0,e.data.forEach((function(e){var t=structuredClone(e);"object"===_(t.data)?t[k("notes-and-events.value")]=t.data.path:t[k("notes-and-events.value")]=(0,i.respectLineBreak)(t.data),delete t.data,n.push(t)})));var o=(0,g.createColumnHelper)(),a=[o.accessor(h.default.t("notes-and-events.name"),{}),o.accessor(h.default.t("notes-and-events.type"),{size:120}),o.accessor(h.default.t("notes-and-events.value"),{size:310,meta:{autoWidth:!0}})];return function(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{table:(0,e.css)(r||(t=["\n .ant-table {\n .ant-table-tbody {\n \n .properties-table--actions-column {\n align-items: center;\n \n .ant-btn-icon {\n color: ",";\n \n &:hover {\n color: ",";\n }\n }\n }\n }\n }\n \n .headline {\n padding: ","px;\n margin: 0;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.colorPrimary,o.colorPrimaryHover,o.paddingXS)}}))},16366:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Table:()=>P});var r=n(36198),o=n(44587),i=n(74094),a=n(30811),s=n(12853),l=n(87633),c=n(4795),u=n(27027),f=n(30928),d=n(73990),p=n(46928),h=n(99401),m=n(48388);function g(e){return g="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},g(e)}function y(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||E(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(){v=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",h="executing",m="completed",y={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==g(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=d;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===y)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=f(t,n,r);if("normal"===c.type){if(o=r.done?m:p,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=m,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function b(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}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 w(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0,F=(0,c.usePropertyGetCollectionForElementByTypeAndIdQuery)({elementType:A,id:k}),z=F.data,Q=F.isLoading,V=x((0,r.useState)([]),2),U=V[0],G=V[1],W=x((0,r.useState)([]),2),H=W[0],Z=W[1],X="properties",q=null!==(t=null==L?void 0:L.modifiedCells[X])&&void 0!==t?t:[];(0,r.useEffect)((function(){void 0!==z&&void 0===(null==L?void 0:L.changes.properties)&&Array.isArray(z.items)&&M(function(e){return e.map((function(e){return w(w({},e),{},{rowId:crypto.randomUUID()})}))}(null==z?void 0:z.items))}),[z]),(0,r.useEffect)((function(){$&&(G(R.filter((function(e){return!e.inherited}))),Z(R.filter((function(e){return e.inherited}))))}),[R]),(0,r.useEffect)((function(){q.length>0&&void 0===(null==L?void 0:L.changes.properties)&&B(X,[])}),[L,q]);var Y=(0,i.createColumnHelper)(),K=function(e){return[Y.accessor("type",{header:E("properties.columns.type"),meta:{type:"property-icon"},size:40}),Y.accessor("key",{header:E("properties.columns.key"),meta:{editable:!0},size:200}),Y.accessor("predefinedName",{header:E("properties.columns.name"),size:200}),Y.accessor("description",{header:E("properties.columns.description"),size:200}),Y.accessor("data",{header:E("properties.columns.data"),meta:{type:"property-value",editable:"own"===e,autoWidth:!0},size:300}),Y.accessor("inheritable",{header:E("properties.columns.inheritable"),size:70,meta:{type:"checkbox",editable:"own"===e,config:{align:"center"}}}),Y.accessor("actions",{header:E("properties.columns.actions"),size:70,cell:function(t){return r.createElement("div",{className:"properties-table--actions-column"},["document","asset","object"].includes(t.row.original.type)&&null!==t.row.original.data&&r.createElement(u.IconButton,{icon:{value:"group"},onClick:(n=v().mark((function e(){return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,P({type:T(t.row.original.type),id:t.row.original.data.id});case 2:case"end":return e.stop()}}),e)})),o=function(){var e=this,t=arguments;return new Promise((function(r,o){var i=n.apply(e,t);function a(e){b(i,r,o,a,s,"next",e)}function s(e){b(i,r,o,a,s,"throw",e)}a(void 0)}))},function(){return o.apply(this,arguments)}),type:"link"}),"own"===e&&r.createElement(u.IconButton,{icon:{value:"trash"},onClick:function(){N(t.row.original)},type:"link"}));var n,o}})]},J=y(K("own")),ee=y(K("inherited"));return r.createElement("div",{className:j.table},r.createElement(r.Fragment,null,r.createElement(o.Grid,{autoWidth:!0,columns:J,data:U,isLoading:Q,modifiedCells:q,onUpdateCellData:function(e){e.rowIndex;var t=e.columnId,n=e.value,r=e.rowData,o=y(null!=R?R:[]),i=o.findIndex((function(e){return e.key===r.key&&!e.inherited})),a=w(w({},o.at(i)),{},S({},t,n));o[i]=a;var s=o.filter((function(e){return e.key===a.key&&!e.inherited})).length>1;(0,f.verifyUpdate)(n,t,"key",s,O,g)&&(I(r.key,a),B(X,[].concat(y(q),[{rowIndex:r.rowId,columnId:t}])))},resizable:!0,setRowId:function(e){return e.rowId}}),"all"===n&&r.createElement(r.Fragment,null,r.createElement(m.Box,{padding:{y:"small"}},r.createElement(h.Text,{strong:!0},E("properties.inherited.properties"))),r.createElement(o.Grid,{autoWidth:!0,columns:ee,data:H,resizable:!0}))))}},4795:(e,t,n)=>{"use strict";n.r(t),n.d(t,{api:()=>o,usePropertyGetCollectionForElementByTypeAndIdQuery:()=>a,usePropertyGetCollectionQuery:()=>i});var r=n(38693),o=n(65972).api.enhanceEndpoints({addTagTypes:[r.tagNames.ASSET_DETAIL,r.tagNames.DATA_OBJECT_DETAIL],endpoints:{propertyGetCollectionForElementByTypeAndId:{providesTags:function(e,t,n){return r.providingTags.ELEMENT_PROPERTIES(n.elementType,n.id)}}}}),i=o.usePropertyGetCollectionQuery,a=o.usePropertyGetCollectionForElementByTypeAndIdQuery},65972:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addTagTypes:()=>o,api:()=>i,usePropertyDeleteMutation:()=>l,usePropertyGetCollectionForElementByTypeAndIdQuery:()=>c,usePropertyGetCollectionQuery:()=>a,usePropertyUpdateMutation:()=>s});var r=n(35525),o=["Properties"],i=r.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{propertyGetCollection:e.query({query:function(e){return{url:"/pimcore-studio/api/properties",params:{elementType:e.elementType,filter:e.filter}}},providesTags:["Properties"]}),propertyUpdate:e.mutation({query:function(e){return{url:"/pimcore-studio/api/properties/".concat(e.id),method:"PUT",body:e.updatePredefinedProperty}},invalidatesTags:["Properties"]}),propertyDelete:e.mutation({query:function(e){return{url:"/pimcore-studio/api/properties/".concat(e.id),method:"DELETE"}},invalidatesTags:["Properties"]}),propertyGetCollectionForElementByTypeAndId:e.query({query:function(e){return{url:"/pimcore-studio/api/properties/".concat(e.elementType,"/").concat(e.id)}},providesTags:["Properties"]})}},overrideExisting:!1}),a=i.usePropertyGetCollectionQuery,s=i.usePropertyUpdateMutation,l=i.usePropertyDeleteMutation,c=i.usePropertyGetCollectionForElementByTypeAndIdQuery},67534:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PropertiesContainer:()=>S});var r=n(36198),o=n(30811),i=n(71816),a=n(4795),s=n(77749),l=n(16366),c=n(15747),u=n(16826),f=n(62833),d=n(41161),p=n(82755),h=n(87633),m=n(46928),g=n(57567),y=n(40069),v=n(25419),b=n(58664);function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0,t=void 0!==Q.current&&Q.current.length>0;if(!e||!t)return void N();if(W(F.current))return void L();var n={key:F.current,type:Q.current,predefinedName:"Custom",data:null,inherited:!1,inheritable:!1,rowId:crypto.randomUUID()};k(n)}()}},t("properties.add-custom-property.add"))),!E&&r.createElement(v.Split,{size:"mini"},r.createElement(b.Select,{className:"min-w-100",filterOption:function(e,t){var n;return(null!==(n=null==t?void 0:t.label)&&void 0!==n?n:"").toLowerCase().includes(e.toLowerCase())},key:"properties-select",loading:G,onSelect:function(e){var t,n=null==U||null===(t=U.items)||void 0===t?void 0:t.find((function(t){return t.id===e}));if(void 0===n)return;if(W(n.name))return void L();var r={key:n.name,type:n.type,data:n.data,inherited:!1,inheritable:n.inheritable,additionalAttributes:n.additionalAttributes,config:n.config,description:n.description,predefinedName:n.name,rowId:crypto.randomUUID()};k(r)},options:null==U||null===(e=U.items)||void 0===e?void 0:e.map((function(e){return{label:e.name,value:e.id}})),placeholder:t("properties.predefined-properties"),showSearch:!0}),r.createElement(f.IconTextButton,{icon:{value:"PlusCircleOutlined"},key:t("properties.add-custom-property"),onClick:function(){_(!0)}},t("properties.add-custom-property")))))),r.createElement(l.Table,{propertiesTableTab:w,showDuplicatePropertyModal:L,showMandatoryModal:N}));function W(e){return void 0!==(null==A?void 0:A.find((function(t){return t.key===e&&!t.inherited})))}}},26088:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.css,i=e.token;return{table:o(r||(t=["\n .ant-table-content {\n \n .schedule-table--actions-column {\n display: flex;\n align-items: center;\n \n .ant-btn-icon {\n color: ",";\n \n &:hover {\n color: ",";\n }\n }\n }\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),i.colorPrimary,i.colorPrimaryHover)}}))},65477:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Table:()=>v});var r=n(30811),o=n(36198),i=n(74094),a=n(44587),s=n(26088),l=n(27027),c=n(46928),u=n(87633),f=n(47259);function d(e){return d="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},d(e)}function p(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 h(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0===(null==w?void 0:w.changes.schedules)&&E(_,[])}),[w]),o.createElement("div",{className:d.table},o.createElement(a.Grid,{columns:j,data:n,modifiedCells:P,onUpdateCellData:function(e){e.rowIndex;var t=e.columnId,r=e.value,o=e.rowData,i=g(null!=n?n:[]).find((function(e){return e.id===o.id}));if(void 0!==i){var a=h(h({},i),{},m({},t,r));S(a),E(_,[].concat(g(P),[{rowIndex:C(o),columnId:t}]))}},setRowId:C}))}},63033:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useSaveSchedules:()=>p});var r=n(36198),o=n(52328),i=n(78078),a=n(30811),s=n(87633);function l(e){return l="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},l(e)}function c(){c=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==l(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function u(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2])||arguments[2],l=f((0,o.useScheduleUpdateForElementByTypeAndIdMutation)(),2),d=l[0],p=l[1],h=p.isLoading,m=p.isSuccess,g=p.isError,y=f((0,r.useState)(!1),2),v=y[0],b=y[1],O=(0,s.useElementDraft)(t,e),w=O.element,S=O.schedules,x=O.resetSchedulesChanges,E=(0,i.useMessage)(),_=(0,a.useTranslation)().t;(0,r.useEffect)((function(){v&&(n&&E.success(_("save-success")),x())}),[v]),(0,r.useEffect)((function(){b(m)}),[m]),(0,r.useEffect)((function(){g&&n&&E.error(_("save-failed"))}),[g]);var P=function(){var n,r=(n=c().mark((function n(){return c().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(void 0!==(null==w?void 0:w.changes.schedules)){n.next=3;break}return b(!0),n.abrupt("return");case 3:return n.next=5,d({elementType:e,id:t,body:{items:null==S?void 0:S.map((function(e){return{id:e.id>0?e.id:null,date:e.date,action:e.action,version:e.version,active:e.active}}))}});case 5:case"end":return n.stop()}}),n)})),function(){var e=this,t=arguments;return new Promise((function(r,o){var i=n.apply(e,t);function a(e){u(i,r,o,a,s,"next",e)}function s(e){u(i,r,o,a,s,"throw",e)}a(void 0)}))});return function(){return r.apply(this,arguments)}}();return{isLoading:h,isSuccess:v,isError:g,saveSchedules:P}}},52328:(e,t,n)=>{"use strict";n.r(t),n.d(t,{api:()=>o,useScheduleCreateForElementByTypeAndIdMutation:()=>l,useScheduleDeleteByIdMutation:()=>i,useScheduleGetCollectionForElementByTypeAndIdQuery:()=>a,useScheduleUpdateForElementByTypeAndIdMutation:()=>s});var r=n(38693),o=n(67061).api.enhanceEndpoints({addTagTypes:[r.tagNames.ASSET_DETAIL,r.tagNames.DATA_OBJECT_DETAIL],endpoints:{scheduleGetCollectionForElementByTypeAndId:{providesTags:function(e,t,n){return r.providingTags.ELEMENT_SCHEDULES(n.elementType,n.id)}},scheduleUpdateForElementByTypeAndId:{invalidatesTags:function(e,t,n){return r.invalidatingTags.ELEMENT_SCHEDULES(n.elementType,n.id)}}}}),i=o.useScheduleDeleteByIdMutation,a=o.useScheduleGetCollectionForElementByTypeAndIdQuery,s=o.useScheduleUpdateForElementByTypeAndIdMutation,l=o.useScheduleCreateForElementByTypeAndIdMutation},67061:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addTagTypes:()=>o,api:()=>i,useScheduleCreateForElementByTypeAndIdMutation:()=>c,useScheduleDeleteByIdMutation:()=>a,useScheduleGetCollectionForElementByTypeAndIdQuery:()=>s,useScheduleUpdateForElementByTypeAndIdMutation:()=>l});var r=n(35525),o=["Schedule"],i=r.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{scheduleDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/schedules/".concat(e.id),method:"DELETE"}},invalidatesTags:["Schedule"]}),scheduleGetCollectionForElementByTypeAndId:e.query({query:function(e){return{url:"/pimcore-studio/api/schedules/".concat(e.elementType,"/").concat(e.id)}},providesTags:["Schedule"]}),scheduleUpdateForElementByTypeAndId:e.mutation({query:function(e){return{url:"/pimcore-studio/api/schedules/".concat(e.elementType,"/").concat(e.id),method:"PUT",body:e.body}},invalidatesTags:["Schedule"]}),scheduleCreateForElementByTypeAndId:e.mutation({query:function(e){return{url:"/pimcore-studio/api/schedules/".concat(e.elementType,"/").concat(e.id),method:"POST"}},invalidatesTags:["Schedule"]})}},overrideExisting:!1}),a=i.useScheduleDeleteByIdMutation,s=i.useScheduleGetCollectionForElementByTypeAndIdQuery,l=i.useScheduleUpdateForElementByTypeAndIdMutation,c=i.useScheduleCreateForElementByTypeAndIdMutation},75818:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ScheduleTabContainer:()=>T});var r=n(36198),o=n(30811),i=n(86434),a=n(71816),s=n(52328),l=n(65477),c=n(62833),u=n(41161),f=n(82755),d=n(54512),p=n(57567),h=n(46928),m=n(87633),g=n(63033),y=n(47259),v=n(99401),b=n(40069),O=n(48388);function w(e){return w="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},w(e)}function S(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 x(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{AssignedTagsTable:()=>S});var r=n(36198),o=n(1402),i=n(74094),a=n(30811),s=n(44587),l=n(16795),c=n(8108),u=n(27027),f=n(46928),d=n(55328);function p(e){return p="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},p(e)}function h(){h=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==p(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=d;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=f(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function m(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 g(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{useCreateTreeStructure:()=>o});var r=n(54663),o=function(){return{createTreeStructure:function(e){var t=e.tags;return[{key:"root",title:"All Tags",icon:(0,r.Icon)({value:"folder"}),children:t.length>0?function e(t){return t.map((function(t){return{key:t.id.toString(),title:t.text,icon:(0,r.Icon)({value:"tag-02"}),children:!0===t.hasChildren?e(t.children):[]}}))}(t):[]}]}}}},33976:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TagsTreeContainer:()=>u});var r=n(1402),o=n(15170),i=n(36198),a=n(82755),s=n(46928);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{TagsTree:()=>y});var r=n(36198),o=n(1402),i=n(16067),a=n(16795),s=n(8108),l=n(47259),c=n(72726),u=n(14278);function f(e){return f="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},f(e)}function d(){d=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==f(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function p(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){p(i,r,o,a,s,"next",e)}function s(e){p(i,r,o,a,s,"throw",e)}a(void 0)}))}}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{useOptimisticUpdate:()=>s});var r=n(1402),o=n(7496);function i(e){return i="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},i(e)}function a(e,t,n){var r;return r=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==i(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=function(){var e=(0,o.useAppDispatch)();return{updateTagsForElementByTypeAndId:function(t){return e(r.api.util.updateQueryData("tagGetCollectionForElementByTypeAndId",{elementType:t.elementType,id:t.id},(function(e){var n=t.flatTags.filter((function(e){return t.checkedTags.includes(e.id)})).reduce((function(e,t){return Object.assign(e,a({},t.id,t))}),{});return{totalItems:t.checkedTags.length,items:n}})))}}}},34934:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useShortcutActions:()=>g});var r=n(1402),o=n(46928),i=n(51074),a=n(23878),s=n(21970);function l(e){return l="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},l(e)}function c(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(){u=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==l(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function f(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){f(i,r,o,a,s,"next",e)}function s(e){f(i,r,o,a,s,"throw",e)}a(void 0)}))}}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||h(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.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)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{addTagTypes:()=>o,api:()=>i,useTagAssignToElementMutation:()=>u,useTagBatchOperationToElementsByTypeAndIdMutation:()=>f,useTagDeleteByIdMutation:()=>c,useTagGetByIdQuery:()=>s,useTagGetCollectionForElementByTypeAndIdQuery:()=>d,useTagGetCollectionQuery:()=>a,useTagUnassignFromElementMutation:()=>p,useTagUpdateByIdMutation:()=>l});var r=n(35525),o=["Tags","Tags for Element"],i=r.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{tagGetCollection:e.query({query:function(e){return{url:"/pimcore-studio/api/tags",params:{page:e.page,pageSize:e.pageSize,elementType:e.elementType,filter:e.filter,parentId:e.parentId}}},providesTags:["Tags"]}),tagGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/tags/".concat(e.id)}},providesTags:["Tags"]}),tagUpdateById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/tags/".concat(e.id),method:"PUT",body:e.updateTagParameters}},invalidatesTags:["Tags"]}),tagDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/tags/".concat(e.id),method:"DELETE"}},invalidatesTags:["Tags"]}),tagAssignToElement:e.mutation({query:function(e){return{url:"/pimcore-studio/api/tags/assign/".concat(e.elementType,"/").concat(e.id,"/").concat(e.tagId),method:"POST"}},invalidatesTags:["Tags for Element"]}),tagBatchOperationToElementsByTypeAndId:e.mutation({query:function(e){return{url:"/pimcore-studio/api/tags/batch/".concat(e.operation,"/").concat(e.elementType,"/").concat(e.id),method:"POST"}},invalidatesTags:["Tags for Element"]}),tagGetCollectionForElementByTypeAndId:e.query({query:function(e){return{url:"/pimcore-studio/api/tags/".concat(e.elementType,"/").concat(e.id)}},providesTags:["Tags for Element"]}),tagUnassignFromElement:e.mutation({query:function(e){return{url:"/pimcore-studio/api/tags/".concat(e.elementType,"/").concat(e.id,"/").concat(e.tagId),method:"DELETE"}},invalidatesTags:["Tags for Element"]})}},overrideExisting:!1}),a=i.useTagGetCollectionQuery,s=i.useTagGetByIdQuery,l=i.useTagUpdateByIdMutation,c=i.useTagDeleteByIdMutation,u=i.useTagAssignToElementMutation,f=i.useTagBatchOperationToElementsByTypeAndIdMutation,d=i.useTagGetCollectionForElementByTypeAndIdQuery,p=i.useTagUnassignFromElementMutation},57527:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TagsTabContainer:()=>m});var r=n(36198),o=n(55328),i=n(30811),a=n(52758),s=n(33976),l=n(1402),c=n(34934),u=n(67793),f=n(82755),d=n(41161),p=n(46928),h=n(87633),m=function(){var e,t,n=(0,i.useTranslation)().t,m=(0,p.useElementContext)(),g=m.id,y=m.elementType,v=(0,h.useElementDraft)(g,y).element,b=(0,c.useShortcutActions)(),O=b.applyTagsToChildren,w=b.removeAndApplyTagsToChildren,S=(0,l.useTagGetCollectionForElementByTypeAndIdQuery)({elementType:y,id:g}),x=S.data,E=S.isLoading;return r.createElement(u.SplitLayout,{leftItem:{minSize:315,size:25,children:r.createElement(f.Content,{loading:E,padded:!0},r.createElement(s.TagsTreeContainer,{isLoading:E,tags:null!==(e=null==x?void 0:x.items)&&void 0!==e?e:[]}))},resizeAble:!0,rightItem:{minSize:300,size:75,children:r.createElement(f.Content,{padded:!0},r.createElement(d.Header,{title:n("tags.assigned-tags-text")},r.createElement(o.Dropdown.Button,{disabled:0===(null==x?void 0:x.totalItems)||!0!==(null==v?void 0:v.hasChildren),menu:{items:[{label:n("tags.remove-and-apply-tags-to-children"),key:"1",onClick:w}]},onClick:O},n("tags.apply-tags-to-children"))),r.createElement("div",{className:"pimcore-tags-content"},r.createElement(a.AssignedTagsTable,{isLoading:E,tags:Object.values(null!==(t=null==x?void 0:x.items)&&void 0!==t?t:{})})))},withDivider:!0})}},8108:(e,t,n)=>{"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ni});var i=function(e){var t=[];return function e(n){var o,i=r(n);try{for(i.s();!(o=i.n()).done;){var a=o.value;t.push(a),void 0!==a.children&&e(a.children)}}catch(e){i.e(e)}finally{i.f()}}(e),t}},30928:(e,t,n)=>{"use strict";n.r(t),n.d(t,{verifyUpdate:()=>r});var r=function(e,t,n,r,o,i){return t===n&&""===e?(o(),!1):!r||(i(),!1)}},90551:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createVersionAccordionItem:()=>b});var r=n(36198),o=n(63664),i=n(38576),a=n(55328),s=n(54663),l=n(30811),c=n(27027),u=n(62833),f=n(47259),d=n(40069),p=n(52645);function h(e){return h="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},h(e)}function m(){m=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==h(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=d;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=f(t,n,r);if("normal"===c.type){if(o=r.done?y:p,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function g(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{api:()=>a,useVersionAssetDownloadByIdQuery:()=>s,useVersionCleanupForElementByTypeAndIdMutation:()=>l,useVersionDeleteByIdMutation:()=>c,useVersionGetByIdQuery:()=>u,useVersionGetCollectionForElementByTypeAndIdQuery:()=>f,useVersionPublishByIdMutation:()=>d,useVersionUpdateByIdMutation:()=>p});var r=n(38693);function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{addTagTypes:()=>o,api:()=>i,useVersionAssetDownloadByIdQuery:()=>a,useVersionCleanupForElementByTypeAndIdMutation:()=>h,useVersionDeleteByIdMutation:()=>d,useVersionGetByIdQuery:()=>c,useVersionGetCollectionForElementByTypeAndIdQuery:()=>p,useVersionImageStreamByIdQuery:()=>s,useVersionPdfStreamByIdQuery:()=>l,useVersionPublishByIdMutation:()=>f,useVersionUpdateByIdMutation:()=>u});var r=n(35525),o=["Versions"],i=r.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{versionAssetDownloadById:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id,"/asset/download")}},providesTags:["Versions"]}),versionImageStreamById:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id,"/image/stream")}},providesTags:["Versions"]}),versionPdfStreamById:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id,"/pdf/stream")}},providesTags:["Versions"]}),versionGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id)}},providesTags:["Versions"]}),versionUpdateById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id),method:"PUT",body:e.updateVersion}},invalidatesTags:["Versions"]}),versionPublishById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id),method:"POST"}},invalidatesTags:["Versions"]}),versionDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id),method:"DELETE"}},invalidatesTags:["Versions"]}),versionGetCollectionForElementByTypeAndId:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.elementType,"/").concat(e.id),params:{page:e.page,pageSize:e.pageSize}}},providesTags:["Versions"]}),versionCleanupForElementByTypeAndId:e.mutation({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.elementType,"/").concat(e.id),method:"DELETE"}},invalidatesTags:["Versions"]})}},overrideExisting:!1}),a=i.useVersionAssetDownloadByIdQuery,s=i.useVersionImageStreamByIdQuery,l=i.useVersionPdfStreamByIdQuery,c=i.useVersionGetByIdQuery,u=i.useVersionUpdateByIdMutation,f=i.useVersionPublishByIdMutation,d=i.useVersionDeleteByIdMutation,p=i.useVersionGetCollectionForElementByTypeAndIdQuery,h=i.useVersionCleanupForElementByTypeAndIdMutation},9287:(e,t,n)=>{"use strict";n.r(t),n.d(t,{VersionsTabContainer:()=>h});var r=n(36198),o=n(83227),i=n(4106),a=n(82755),s=n(46928);function l(e){return l="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},l(e)}function c(){c=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==l(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function u(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,s,"next",e)}function s(e){u(i,r,o,a,s,"throw",e)}a(void 0)}))}}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;function o(e){return o="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},o(e)}function i(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 a(e,t,n){var r;return r=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==o(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.r(t),n.d(t,{useStyles:()=>s});var s=(0,n(99291).createStyles)((function(e){var t,n,o=e.token,s=e.css,l=function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{VersionsView:()=>x});var r=n(36198),o=n(50767),i=n(71816),a=n(30811),s=n(15747),l=n(16826),c=n(62833),u=n(41161),f=n(82755),d=n(67793),p=n(90551),h=n(94046),m=n(47259);function g(e){return g="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},g(e)}function y(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||w(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(){v=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",h="executing",m="completed",y={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==g(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=d;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===y)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=f(t,n,r);if("normal"===c.type){if(o=r.done?m:p,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=m,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function b(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||w(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){if(e){if("string"==typeof e)return S(e,t);var n=Object.prototype.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)?S(e,t):void 0}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&r.createElement(r.Fragment,null,r.createElement(m.Flex,{className:"w-full",gap:"small",justify:"space-between"},r.createElement(i.Button,{className:j?"compare-button":"",key:_("version.compare-versions"),onClick:function(){M([]),C(!j)}},_("version.compare-versions")),r.createElement(c.IconTextButton,{icon:{value:"trash"},key:_("version.clear-unpublished"),loading:A,onClick:B},_("version.clear-unpublished"))),z)),t.length>0&&r.createElement(h.AccordionTimeline,{items:Q}))},rightItem:{size:75,children:r.createElement(f.Content,{padded:!0},r.createElement(m.Flex,{justify:"center"},R.length>0&&j&&r.createElement(E,{versionIds:R}),R.length>0&&!j&&r.createElement(x,{setDetailedVersions:M,versionId:R[0],versions:t})))}}));function V(e){var t=y(R),n=t.some((function(t){return t.id===e.id}));2!==t.length||n||(t=[]),n?t.splice(t.indexOf(e),1):t.push(e),M(t)}}},24431:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useWorkflowActionSubmitMutation:()=>i,useWorkflowGetDetailsQuery:()=>a});var r=n(38693),o=n(76383).api.enhanceEndpoints({addTagTypes:[r.tagNames.ASSET_DETAIL,r.tagNames.DATA_OBJECT_DETAIL,r.tagNames.WORKFLOW],endpoints:{workflowGetDetails:{providesTags:function(e,t,n){return r.providingTags.ELEMENT_WORKFLOW(n.elementType,n.elementId)}},workflowActionSubmit:{invalidatesTags:function(e,t,n){return r.providingTags.ELEMENT_WORKFLOW(n.submitAction.elementType,n.submitAction.elementId)}}}}),i=o.useWorkflowActionSubmitMutation,a=o.useWorkflowGetDetailsQuery},76383:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addTagTypes:()=>o,api:()=>i,useWorkflowActionSubmitMutation:()=>s,useWorkflowGetDetailsQuery:()=>a});var r=n(35525),o=["Workflows"],i=r.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{workflowGetDetails:e.query({query:function(e){return{url:"/pimcore-studio/api/workflows/details",params:{elementId:e.elementId,elementType:e.elementType}}},providesTags:["Workflows"]}),workflowActionSubmit:e.mutation({query:function(e){return{url:"/pimcore-studio/api/workflows/action",method:"POST",body:e.submitAction}},invalidatesTags:["Workflows"]})}},overrideExisting:!1}),a=i.useWorkflowGetDetailsQuery,s=i.useWorkflowActionSubmitMutation},10593:(e,t,n)=>{"use strict";n.r(t),n.d(t,{WorkflowTabContainer:()=>d});var r=n(36198),o=n(30811),i=n(59264),a=n(41161),s=n(82755),l=n(55328),c=n(20160),u=n(81873),f=n(2824),d=function(){var e=(0,o.useTranslation)().t,t=(0,f.useWorkflow)(),n=t.workflowDetailsData,d=t.isFetchingWorkflowDetails;return r.createElement(s.Content,{loading:d,none:void 0===(null==n?void 0:n.items)||0===(null==n?void 0:n.items.length),noneOptions:{text:e("workflow.no-workflows-found")},padded:!0},r.createElement(a.Header,{title:e("workflow.headline")}),r.createElement(l.Space,{direction:"vertical"},r.createElement(c.WorkFlowProvider,null,void 0!==(null==n?void 0:n.items)&&(null==n?void 0:n.items.length)>0&&n.items.map((function(e,t){return r.createElement(i.WorkflowCard,{key:t,workflow:e})})),r.createElement(u.WorkflowLogModal,null))))}},62167:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TabManager:()=>c});var r=n(66595);function o(e,t){for(var n=0;n=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},c=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,"type",""),i(this,"tabs",[])},(t=[{key:"getTabs",value:function(){return this.tabs}},{key:"getTab",value:function(e){return this.tabs.find((function(t){return t.key===e}))}},{key:"register",value:function(e){void 0===this.getTab(e.key)?this.tabs.push(e):this.tabs.splice(this.tabs.findIndex((function(t){return t.key===e.key})),1,e)}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();c=l([(0,r.injectable)()],c)},28496:(e,t,n)=>{"use strict";n.r(t),n.d(t,{IconWrapper:()=>s});var r=n(36198),o=n(55328);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r,o,i;function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(t),n.d(t,{useStyle:()=>s});var s=(0,n(99291).createStyles)((function(e){var t=e.token,n=e.css;return{editorTabsContainer:n(r||(r=a(["\n width: 100%;\n "]))),editorTabs:n(o||(o=a(["\n height: 100%;\n width: 100%;\n overflow: hidden;\n\n .ant-tabs-content {\n display: flex;\n height: 100%;\n }\n\n &.ant-tabs .ant-tabs-tab {\n margin: 0 ","px !important;\n transition: color .2s;\n\n display: flex;\n height: 32px;\n }\n\n .ant-tabs-tabpane {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n }\n\n .ant-tabs-content-holder {\n overflow: auto;\n }\n &.ant-tabs .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n color: ","\n }\n &.ant-tabs-top >.ant-tabs-nav {\n margin-bottom: 0;\n \n .ant-tabs-nav-wrap {\n display: flex;\n justify-content: flex-end;\n \n .ant-tabs-nav-list {\n display: flex;\n align-items: center;\n }\n }\n }\n\n &.ant-tabs .ant-tabs-tab-btn .ant-tabs-tab-icon:not(:last-child) {\n margin-inline-end: 0;\n }\n \n .ant-tabs-tab {\n padding: 0;\n \n &:first-of-type {\n margin-left: ","px;\n margin-right: ","px;\n }\n \n .ant-tabs-tab-btn {\n display: flex;\n padding-top: ","px;\n padding-bottom: ","px;\n justify-content: center;\n align-items: center;\n gap: ","px;\n \n .ant-tabs-tab-icon {\n height: 16px;\n display: flex;\n justify-content: center;\n align-content: center;\n margin-inline-end: 0;\n color: ",";\n \n svg {\n height: 16px;\n width: 16px\n }\n }\n }\n \n .detachable-button {\n display: none;\n color: ",";\n height: ","px;\n width: ","px;\n }\n\n &:not(.ant-tabs-tab-active) {\n .ant-tabs-tab-icon {\n &:hover {\n color: ",";\n }\n }\n }\n \n &.ant-tabs-tab-active {\n .ant-tabs-tab-icon {\n color: ","\n }\n\n .detachable-button {\n display: flex;\n color: ",";\n }\n }\n }\n "])),t.paddingXS,t.colorPrimaryActive,t.paddingSM,t.paddingSM,t.paddingXS,t.paddingXS,t.paddingTabs,t.Tabs.itemUnselectedIconColor,t.Tabs.itemUnselectedIconColor,t.controlHeightSM,t.controlHeightSM,t.colorIconHover,t.colorPrimaryActive,t.colorPrimary),onlyActiveLabel:n(i||(i=a(["\n .ant-tabs-tab:not(.ant-tabs-tab-active) {\n span:nth-child(2) {\n display: none;\n }\n\n .ant-tabs-tab-icon {\n margin-inline-end: 0;\n }\n }\n\n @keyframes fadeIn {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n }\n\n .ant-tabs-tab.ant-tabs-tab-active {\n //border-bottom: 3px solid ",";\n }\n "])),t.colorPrimaryActive)}}),{hashPriority:"low"})},95719:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EditorTabs:()=>E});var r=n(36198),o=n(16803),i=n(55328),a=n(93967),s=n.n(a),l=n(510),c=n(73264),u=n(28496),f=n(46928),d=n(2776),p=n(87633),h=n(76265),m=n(93244),g=n(27027),y=n(48388);function v(e){return v="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},v(e)}function b(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 O(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&k(b[0].key)}),[b]);var F=null===(t=b)||void 0===t?void 0:t.map((function(e){return e.key})),z=function(e){var t=e.target.id;return F.find((function(e){return t.includes(e)}))};return b=null===(n=b=b.filter((function(e){return(void 0===e.hidden||!e.hidden())&&(!(void 0!==e.workspacePermission&&void 0!==(null==N?void 0:N.permissions)&&!(0,h.checkElementPermission)(N.permissions,e.workspacePermission))&&!(void 0!==e.userPermission&&!(0,m.isAllowed)(e.userPermission)))})))||void 0===n?void 0:n.map((function(e){var t=O(O({},e),{},{originalLabel:e.label,icon:r.createElement(u.IconWrapper,{activeTabKey:C,tabKey:e.key,tabKeyInFocus:D,tabKeyOutOfFocus:M,title:e.label},e.icon)});return!0===t.isDetachable&&(t.label=r.createElement(r.Fragment,null,r.createElement("span",null,t.label),r.createElement(g.IconButton,{className:"detachable-button",icon:{value:"share-03"},onClick:function(){!function(e){E(e)}({tabKey:e.key})},type:"link"}))),t})),r.createElement("div",{className:x.editorTabsContainer,ref:B},r.createElement(i.Tabs,{className:s()(x.editorTabs,w({},x.onlyActiveLabel,v)),defaultActiveKey:a,items:b,onBlur:function(e){I(z(e))},onFocus:function(e){L(z(e))},onTabClick:function(e){k(e)},tabBarExtraContent:{left:r.createElement(y.Box,{padding:{left:"extra-small",top:"extra-small",bottom:"extra-small"}},r.createElement(c.ElementToolbar,{editorTabsWidth:$,elementType:T,id:P}))}}))}},510:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useDetachTab:()=>u});var r=n(66777),o=n(81690),i=n(36609);function a(e){return a="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},a(e)}function s(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 l(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{addTagTypes:()=>o,api:()=>i,useElementDeleteMutation:()=>a,useElementFolderCreateMutation:()=>l,useElementGetDeleteInfoQuery:()=>s,useElementGetIdByPathQuery:()=>c});var r=n(35525),o=["Elements"],i=r.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{elementDelete:e.mutation({query:function(e){return{url:"/pimcore-studio/api/elements/".concat(e.elementType,"/delete/").concat(e.id),method:"DELETE"}},invalidatesTags:["Elements"]}),elementGetDeleteInfo:e.query({query:function(e){return{url:"/pimcore-studio/api/elements/".concat(e.elementType,"/delete-info/").concat(e.id)}},providesTags:["Elements"]}),elementFolderCreate:e.mutation({query:function(e){return{url:"/pimcore-studio/api/elements/".concat(e.elementType,"/folder/").concat(e.parentId),method:"POST",body:e.folderData}},invalidatesTags:["Elements"]}),elementGetIdByPath:e.query({query:function(e){return{url:"/pimcore-studio/api/elements/".concat(e.elementType,"/path"),params:{elementPath:e.elementPath}}},providesTags:["Elements"]})}},overrideExisting:!1}),a=i.useElementDeleteMutation,s=i.useElementGetDeleteInfoQuery,l=i.useElementFolderCreateMutation,c=i.useElementGetIdByPathQuery},72743:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getElementIcon:()=>r});var r=function(e,t){var n,r;return void 0!==(null===(n=e.customAttributes)||void 0===n?void 0:n.icon)&&null!==(null===(r=e.customAttributes)||void 0===r?void 0:r.icon)?e.customAttributes.icon:void 0!==e.icon&&null!==e.icon?e.icon:t}},44845:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useElementApi:()=>u});var r=n(93477),o=n(15008);function i(e){return i="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},i(e)}function a(){a=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,l,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,l)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,a,s,l){var c=p(e[o],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==i(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var a;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function s(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{useElementContext:()=>a});var r=n(36198),o=n(43741),i=n(45048),a=function(){var e=(0,r.useContext)(o.AssetContext).id,t=(0,r.useContext)(i.DataObjectContext).id;if(0!==e)return{id:e,elementType:"asset"};if(0!==t)return{id:t,elementType:"data-object"};throw new Error("No element context found")}},87633:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useElementDraft:()=>c});var r=n(61008),o=n(70047);function i(e){return i="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},i(e)}function a(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 s(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{useElementHelper:()=>l});var r=n(6786),o=n(14274);function i(e){return i="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},i(e)}function a(){a=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(r||[]);return o(a,"_invoke",{value:j(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,l,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&r.call(E,l)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,a,s,l){var c=p(e[o],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==i(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var a;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function s(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}var l=function(){var e=(0,r.useAssetHelper)().openAsset,t=(0,o.useDataObjectHelper)().openDataObject;function n(){var r;return r=a().mark((function n(r){return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:"asset"===r.type?e({config:{id:r.id}}):"data-object"===r.type?t({config:{id:r.id}}):console.log("Opening "+r.type+" is not supported yet.");case 1:case"end":return n.stop()}}),n)})),n=function(){var e=this,t=arguments;return new Promise((function(n,o){var i=r.apply(e,t);function a(e){s(i,n,o,a,l,"next",e)}function l(e){s(i,n,o,a,l,"throw",e)}a(void 0)}))},n.apply(this,arguments)}return{openElement:function(e){return n.apply(this,arguments)},mapToElementType:function(e){switch(e){case"asset":return"asset";case"document":return"document";case"data-object":case"object":case"dataObject":return"data-object";default:throw new Error("Unknown element type: "+e)}}}}},67876:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useGlobalElementContext:()=>a});var r=n(5482),o=n(44994),i=n(66777),a=function(){var e,t=(0,i.useWidgetManager)().getOpenedMainWidget,n=(0,r.useGlobalAssetContext)().context,a=(0,o.useGlobalDataObjectContext)().context,s=null===(e=t())||void 0===e?void 0:e.getComponent();return"asset-editor"===s?{context:n}:"data-object-editor"===s?{context:a}:{context:void 0}}},32248:(e,t,n)=>{"use strict";n.r(t);n(74366)},76265:(e,t,n)=>{"use strict";n.r(t),n.d(t,{checkElementPermission:()=>r});var r=function(e,t){return!0===e[t]}},21044:(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},r(e)}function o(e,t){for(var n=0;ns});var s=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,"entries",[]),i(this,"buttons",[])},(t=[{key:"getEntries",value:function(){return this.entries}},{key:"getEntry",value:function(e){return this.entries.find((function(t){return t.key===e}))}},{key:"registerEntry",value:function(e){void 0===this.getEntry(e.key)?this.entries.push(e):this.entries.splice(this.entries.findIndex((function(t){return t.key===e.key})),1,e)}},{key:"getButtons",value:function(){return this.buttons}},{key:"getButton",value:function(e){return this.buttons.find((function(t){return t.key===e}))}},{key:"registerButton",value:function(e){void 0===this.getButton(e.key)?this.buttons.push(e):this.buttons.splice(this.buttons.findIndex((function(t){return t.key===e.key})),1,e)}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}()},1020:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PagerContainer:()=>l});var r=n(31322),o=n(38549),i=n(36198);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{SearchContainer:()=>l});var r=n(36198),o=n(31322);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nu&&c(!0)}),[n]),l?r.createElement(s,{"aria-label":e.label,onSearch:function(e){t({idSearchTerm:e,page:1})},placeholder:e.label,size:"small"}):r.createElement(r.Fragment,null)}},63975:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UseFileUploader:()=>v});var r=n(93477),o=n(38693),i=n(7496),a=n(36198),s=n(26272),l=n(51074),c=n(36510),u=n(21970);function f(e){return f="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},f(e)}function d(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function m(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){m(i,r,o,a,s,"next",e)}function s(e){m(i,r,o,a,s,"throw",e)}a(void 0)}))}}var y=[],v=function(e){var t=e.parentId,n=(0,l.useJobs)().addJob,f=(0,i.useAppDispatch)(),p=(0,a.useContext)(s.UploadContext),m=function(){var e=g(h().mark((function e(n){var i,a,s;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=n.fileList,n.file,void 0!==t){e.next=3;break}throw new Error("Parent ID is required");case 3:a=i.map((function(e){return e.status})),s=a.every((function(e){return"done"===e})),p.setUploadFileList(i),p.setUploadingNode(t),s&&(f(r.api.util.invalidateTags(o.invalidatingTags.ASSET_TREE_ID(parseInt(t)))),p.setUploadFileList([]),p.setUploadingNode(null));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=function(){var e=g(h().mark((function e(t){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y.includes(t.file.uid)||(y=[].concat(d(y),[t.file.uid]),n((0,c.createJob)({title:"Upload Zip",topics:[u.topics["zip-upload-finished"],u.topics["asset-upload-finished"]].concat(d(u.defaultTopics)),action:function(){var e=g(h().mark((function e(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.promise;case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),parentFolder:p.uploadingNode}))),e.next=3,m(t);case 3:void 0!==t.file.response&&t.promiseResolve(t.file.response.jobRunId);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return{uploadFile:m,uploadZip:v}}},26272:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UploadContext:()=>a,UploadProvider:()=>s});var r=n(36198);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{jobAdapter:()=>i,jobDeleted:()=>u,jobReceived:()=>l,jobUpdated:()=>c,selectAll:()=>d,selectById:()=>p,slice:()=>a});var r=n(7496),o=n(8327),i=(0,o.createEntityAdapter)({}),a=(0,o.createSlice)({name:"execution-engine",initialState:i.getInitialState(),reducers:{jobReceived:i.addOne,jobUpdated:i.updateOne,jobDeleted:i.removeOne}});(0,r.injectSliceWithState)(a);var s=a.actions,l=s.jobReceived,c=s.jobUpdated,u=s.jobDeleted,f=i.getSelectors((function(e){return e["execution-engine"]})),d=f.selectAll,p=f.selectById},51074:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useJobs:()=>c});var r=n(7496),o=n(84229);function i(e){return i="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},i(e)}function a(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 s(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{executionEngineModule:()=>p});var r=n(81690),o=n(80237),i=n(54088),a=n(78489),s=n(57303),l=n(55975),c=n(54012),u=n(79155),f=n(52835),d=n(25305),p={onInit:function(){var e=r.container.get(i.serviceIds["ExecutionEngine/JobComponentRegistry"]);e.registerComponent("default",a.NotificationJobContainer),e.registerComponent("download",s.NotificationJobContainer),e.registerComponent("batch-edit",c.NotificationJobContainer),e.registerComponent("zip-upload",l.NotificationJobContainer),e.registerComponent("delete",u.NotificationJobContainer),e.registerComponent("clone",f.NotificationJobContainer),e.registerComponent("tag-assign",d.NotificationJobContainer)}};o.moduleSystem.registerModule(p)},2852:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{JobStatus:()=>r}),function(e){e.QUEUED="queued",e.RUNNING="running",e.SUCCESS="success",e.FINISHED_WITH_ERRORS="finished_with_errors",e.FAILED="failed"}(r||(r={}))},59160:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createJob:()=>i});var r=n(2852),o=n(37658),i=function(e){return{id:(0,o.getUniqueId)(),action:e.action,type:"batch-edit",title:e.title,status:r.JobStatus.QUEUED,topics:e.topics,config:{assetContextId:e.assetContextId}}}},54012:(e,t,n)=>{"use strict";n.r(t),n.d(t,{NotificationJobContainer:()=>g});var r=n(36198),o=n(2852),i=n(38968),a=n(51074),s=n(37292),l=n(30811),c=n(10365);function u(e){return u="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},u(e)}function f(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 d(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{createJob:()=>i});var r=n(2852),o=n(37658),i=function(e){return{id:(0,o.getUniqueId)(),action:e.action,type:"clone",title:e.title,status:r.JobStatus.QUEUED,topics:e.topics,config:{parentFolder:e.parentFolder}}}},52835:(e,t,n)=>{"use strict";n.r(t),n.d(t,{NotificationJobContainer:()=>v});var r=n(36198),o=n(2852),i=n(38968),a=n(51074),s=n(37292),l=n(30811),c=n(7496),u=n(93477),f=n(38693);function d(e){return d="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},d(e)}function p(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 h(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{NotificationJobContainer:()=>m});var r=n(36198),o=n(2852),i=n(38968),a=n(51074),s=n(37292),l=n(30811);function c(e){return c="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},c(e)}function u(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 f(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{createJob:()=>i});var r=n(2852),o=n(37658),i=function(e){return{id:(0,o.getUniqueId)(),action:e.action,type:"delete",title:e.title,status:r.JobStatus.QUEUED,topics:e.topics,config:{parentFolder:e.parentFolder}}}},79155:(e,t,n)=>{"use strict";n.r(t),n.d(t,{NotificationJobContainer:()=>v});var r=n(36198),o=n(2852),i=n(38968),a=n(51074),s=n(37292),l=n(30811),c=n(7496),u=n(93477),f=n(38693);function d(e){return d="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},d(e)}function p(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 h(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{createJob:()=>i});var r=n(2852),o=n(37658),i=function(e){return{id:(0,o.getUniqueId)(),action:e.action,type:"download",title:e.title,status:r.JobStatus.QUEUED,topics:e.topics,config:{downloadUrl:e.downloadUrl}}}},57303:(e,t,n)=>{"use strict";n.r(t),n.d(t,{NotificationJobContainer:()=>m});var r=n(36198),o=n(2852),i=n(38968),a=n(51074),s=n(37292),l=n(30811);function c(e){return c="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},c(e)}function u(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 f(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{getUniqueId:()=>o});var r=0;function o(){return r++}},23878:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createJob:()=>i});var r=n(2852),o=n(37658),i=function(e){return{id:(0,o.getUniqueId)(),action:e.action,type:"tag-assign",title:e.title,status:r.JobStatus.QUEUED,topics:e.topics,config:void 0}}},25305:(e,t,n)=>{"use strict";n.r(t),n.d(t,{NotificationJobContainer:()=>m});var r=n(36198),o=n(2852),i=n(38968),a=n(51074),s=n(37292),l=n(30811);function c(e){return c="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},c(e)}function u(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 f(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{createJob:()=>i});var r=n(2852),o=n(37658),i=function(e){return{id:(0,o.getUniqueId)(),action:e.action,type:"zip-upload",title:e.title,status:r.JobStatus.QUEUED,topics:e.topics,config:{parentFolder:e.parentFolder}}}},55975:(e,t,n)=>{"use strict";n.r(t),n.d(t,{NotificationJobContainer:()=>v});var r=n(36198),o=n(2852),i=n(38968),a=n(51074),s=n(37292),l=n(30811),c=n(7496),u=n(93477),f=n(38693);function d(e){return d="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},d(e)}function p(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 h(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.css,i=e.token;return{jobList:o(r||(t=["\n &.ant-collapse>.ant-collapse-item >.ant-collapse-header {\n padding: ","px 0;\n }\n\n &.ant-collapse-ghost >.ant-collapse-item >.ant-collapse-content >.ant-collapse-content-box {\n padding: ","px 0;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),i.paddingXXS,i.paddingXXS)}}))},33741:(e,t,n)=>{"use strict";n.r(t),n.d(t,{JobList:()=>h});var r=n(36198),o=n(37789),i=n(72828),a=n(37213),s=n(30811),l=n(54688),c=n(51074);function u(e){return u="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},u(e)}function f(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 d(e){for(var t=1;t{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;return{buttonStyle:(0,e.css)(r||(t=["\n padding-left: 2px;\n padding-right: 2px;\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}))},37292:(e,t,n)=>{"use strict";n.r(t),n.d(t,{JobView:()=>f});var r=n(10959),o=n(2852),i=n(36198),a=n(55328),s=n(54663),l=n(72828),c=n(1052),u=n(30811),f=function(e){var t,n,f,d=(0,c.useStyles)().styles,p=(0,u.useTranslation)().t;return i.createElement("div",null,i.createElement(l.AnimatePresence,null,i.createElement(l.motion.div,{animate:{opacity:1,height:"auto"},exit:{opacity:0,height:1},initial:{opacity:0,height:1},key:e.status},e.status===o.JobStatus.RUNNING&&i.createElement(r.Progressbar,{description:p("jobs.job.in-progress",{title:e.title}),percent:e.progress,progressStatus:p("jobs.job.progress",{progress:e.progress})}),e.status===o.JobStatus.SUCCESS&&i.createElement(a.Flex,{align:"center",justify:"space-between"},i.createElement(a.Flex,{align:"center",gap:"small"},i.createElement(s.Icon,{value:"check-circle-filled"}),i.createElement("span",null,p("jobs.job.finished",{title:e.title}))),i.createElement(a.Flex,{gap:"small"},null===(t=e.successButtonActions)||void 0===t?void 0:t.map((function(e,t){return i.createElement(a.Button,{className:d.buttonStyle,key:t,onClick:e.handler,type:"link"},e.label)})))),e.status===o.JobStatus.FINISHED_WITH_ERRORS&&i.createElement(a.Flex,{align:"center",justify:"space-between"},i.createElement(a.Flex,{align:"center",gap:"small"},i.createElement(s.Icon,{value:"exclamation-circle-filled"}),i.createElement("span",null,p("jobs.job.finished-with-errors",{title:e.title}))),i.createElement(a.Flex,{gap:"small"},null===(n=e.finishedWithErrorsButtonActions)||void 0===n?void 0:n.map((function(e,t){return i.createElement(a.Button,{className:d.buttonStyle,key:t,onClick:e.handler,type:"link"},e.label)})))),e.status===o.JobStatus.FAILED&&i.createElement(a.Flex,{align:"center",justify:"space-between"},i.createElement(a.Flex,{align:"center",gap:"small"},i.createElement(s.Icon,{value:"close-circle-filled"}),i.createElement("span",null,p("jobs.job.failed",{title:e.title}))),i.createElement(a.Flex,{gap:"small"},null===(f=e.failureButtonActions)||void 0===f?void 0:f.map((function(e,t){return i.createElement(a.Button,{className:d.buttonStyle,key:t,onClick:e.handler,type:"link"},e.label)})))))))}},37789:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Job:()=>u});var r=n(36198),o=n(81690),i=n(54088),a=n(78489);function s(e){return s="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},s(e)}function l(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 c(e,t,n){var r;return r=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(e){var t,n=null!==(t=(0,o.useInjection)(i.serviceIds["ExecutionEngine/JobComponentRegistry"]).getComponentByType(e.type))&&void 0!==t?t:a.NotificationJobContainer;return r.createElement(n,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{Notification:()=>u});var r=n(36198),o=n(51074),i=n(2545),a=n(33741),s=n(30811);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0,t=l((0,i.useNotification)(),1)[0],n=(0,s.useTranslation)().t;return(0,r.useEffect)((function(){e&&t.open({message:n("jobs.notification.title"),description:r.createElement(a.JobList,null),duration:0,closable:!1,placement:"bottomRight"}),e||t.destroy()}),[e]),r.createElement(r.Fragment,null)}},65244:(e,t,n)=>{"use strict";n.r(t),n.d(t,{JobComponentRegistry:()=>l});var r=n(66595);function o(e,t){for(var n=0;n=0;l--)(o=e[l])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(){return e=function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n="components",r=new Map,(n=i(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r},(t=[{key:"registerComponent",value:function(e,t){this.components.set(e,t)}},{key:"getComponentByType",value:function(e){return this.components.get(e)}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();l=s([(0,r.injectable)()],l)},21970:(e,t,n)=>{"use strict";n.r(t),n.d(t,{defaultTopics:()=>o,topics:()=>r});var r={"patch-finished":"patch-finished","zip-download-ready":"zip-download-ready","csv-download-ready":"csv-download-ready","handler-progress":"handler-progress","job-finished-with-errors":"job-finished-with-errors","job-failed":"job-failed","asset-upload-finished":"asset-upload-finished","zip-upload-finished":"zip-upload-finished","deletion-finished":"deletion-finished","cloning-finished":"cloning-finished","tag-assignment-finished":"tag-assignment-finished","tag-replacement-finished":"tag-replacement-finished"},o=[r["handler-progress"],r["job-finished-with-errors"],r["job-failed"]]},89378:(e,t,n)=>{"use strict";n.r(t);var r=n(81690),o=n(80237),i=n(54088),a=n(88408),s=n(81562),l=n(76207),c=n(19229),u=n(34757),f=n(31280),d=n(45646),p=n(72466),h=n(40353),m=n(14119),g=n(56602),y=n(1493),v=n(39839),b=n(4120),O=n(18343),w=n(3513),S=n(39201),x=n(20035),E=n(41297),_=n(44262),P=n(7550),T=n(89760),j=n(11663),C=n(33384),k=n(47197),A=n(4953),D=n(56013),L=n(28),R=n(1740),M=n(98038),I=n(72327),N=n(76072),B=n(35163),$=n(68453),F=n(21923),z=n(95367),Q=n(64173),V=n(55167),U=n(46908),G=n(36562),W=n(10547),H=n(79815),Z=n(43065),X=n(21091),q=n(46699),Y=n(33320),K=n(94172),J=n(19716),ee=n(71068),te=n(14398),ne=n(38628),re=n(65768),oe=n(30512),ie=n(79608),ae=n(96233),se=n(69449),le=n(63743),ce=n(26521),ue=n(60943),fe=n(35593),de=n(32289),pe=n(41120),he=n(78638),me=n(42301),ge=n(28667),ye=n(19421),ve=n(77998),be=n(69716),Oe=n(74463),we=n(79329),Se=n(43473),xe=n(47473),Ee=n(4785),_e=n(65302),Pe=n(1e3),Te=n(86610),je=n(85923),Ce=n(48407),ke=n(21244),Ae=n(37453),De=n(28728),Le=n(9316),Re=n(84270),Me=n(44533),Ie=n(77453),Ne=n(97619),Be=n(65752),$e=n(1337),Fe=n(73034),ze=n(44434),Qe=n(22298),Ve=n(94621),Ue=n(97363),Ge=n(47674),We=n(83771),He=n(83855),Ze=n(31750),Xe=n(89313),qe=n(7933),Ye=n(33620),Ke=n(17587),Je=n(12550),et=n(6678),tt=n(53268),nt=n(11142),rt=n(11942),ot=n(15765),it=n(7437),at=n(16184),st=n(17092),lt=n(19078);o.moduleSystem.registerModule({onInit:function(){var e=r.container.get(i.serviceIds.iconLibrary);e.register({name:"camera",component:a.default}),e.register({name:"folder",component:l.default}),e.register({name:"widget-default",component:c.default}),e.register({name:"caret-up-outlined",component:u.default}),e.register({name:"caret-down-outlined",component:f.default}),e.register({name:"chevron-up",component:d.default}),e.register({name:"chevron-up-small",component:p.default}),e.register({name:"chevron-down-small",component:y.default}),e.register({name:"chevron-up-wide",component:h.default}),e.register({name:"chevron-down-wide",component:g.default}),e.register({name:"chevron-down",component:m.default}),e.register({name:"home",component:v.default}),e.register({name:"refresh",component:b.default}),e.register({name:"icon-tools",component:O.default}),e.register({name:"image-05",component:w.default}),e.register({name:"edit",component:S.default}),e.register({name:"data-sheet",component:x.default}),e.register({name:"data-management-2",component:E.default}),e.register({name:"history-outlined",component:_.default}),e.register({name:"schedule-outlined",component:P.default}),e.register({name:"hierarchy",component:T.default}),e.register({name:"view-details",component:j.default}),e.register({name:"tag-two-tone",component:C.default}),e.register({name:"workflow",component:k.default}),e.register({name:"unordered-list-outlined",component:A.default}),e.register({name:"close-circle-filled",component:D.default}),e.register({name:"check-circle-filled",component:L.default}),e.register({name:"info-circle-filled",component:R.default}),e.register({name:"exclamation-circle-filled",component:M.default}),e.register({name:"dots-horizontal",component:I.default}),e.register({name:"target",component:N.default}),e.register({name:"info-circle-outlined",component:B.default}),e.register({name:"left-outlined",component:$.default}),e.register({name:"right-outlined",component:F.default}),e.register({name:"rich-edit",component:z.default}),e.register({name:"download-02",component:Q.default}),e.register({name:"pin-02",component:V.default}),e.register({name:"expand-alt-outlined",component:U.default}),e.register({name:"eye-outlined",component:G.default}),e.register({name:"share-alt-outlined",component:W.default}),e.register({name:"translation",component:H.default}),e.register({name:"volume-max",component:Z.default}),e.register({name:"file-code-01",component:X.default}),e.register({name:"file-question-02",component:q.default}),e.register({name:"file-02",component:Y.default}),e.register({name:"file-check-02",component:K.default}),e.register({name:"file-x-03",component:J.default}),e.register({name:"presentation-chart-01",component:ee.default}),e.register({name:"video-recorder",component:te.default}),e.register({name:"image-01",component:ne.default}),e.register({name:"ellipsis-outlined",component:re.default}),e.register({name:"focal-point",component:oe.default}),e.register({name:"MinusOutlined",component:ie.default}),e.register({name:"PlusOutlined",component:ae.default}),e.register({name:"settings2",component:se.default}),e.register({name:"PlusCircleOutlined",component:le.default}),e.register({name:"lightning-01",component:Ee.default}),e.register({name:"calender",component:_e.default}),e.register({name:"world",component:Pe.default}),e.register({name:"user-01",component:Te.default}),e.register({name:"shield-02",component:je.default}),e.register({name:"share-03",component:ce.default}),e.register({name:"copy-03",component:ue.default}),e.register({name:"copy-07",component:fe.default}),e.register({name:"group",component:de.default}),e.register({name:"note",component:pe.default}),e.register({name:"mainDocument",component:he.default}),e.register({name:"mainAsset",component:me.default}),e.register({name:"mainObject",component:ge.default}),e.register({name:"mainObjectVariant",component:ye.default}),e.register({name:"check-done-02",component:ve.default}),e.register({name:"chevron-selector-vertical",component:be.default}),e.register({name:"chevron-selector-horizontal",component:Oe.default}),e.register({name:"trash",component:xe.default}),e.register({name:"icon",component:Ae.default}),e.register({name:"close",component:s.default}),e.register({name:"tag-02",component:De.default}),e.register({name:"no-content",component:Le.default}),e.register({name:"intersect-circle",component:Ce.default}),e.register({name:"corner-left-up",component:ke.default}),e.register({name:"flag-outlined",component:Re.default}),e.register({name:"chevron-right",component:we.default}),e.register({name:"chevron-left",component:Se.default}),e.register({name:"draggable",component:Me.default}),e.register({name:"settings-outlined",component:Ie.default}),e.register({name:"filter-outlined",component:Ne.default}),e.register({name:"text-input",component:Be.default}),e.register({name:"calendar-date",component:$e.default}),e.register({name:"upload-cloud",component:Fe.default}),e.register({name:"export",component:ze.default}),e.register({name:"grid",component:Qe.default}),e.register({name:"spinner",component:Ve.default}),e.register({name:"upload-zip",component:Ue.default}),e.register({name:"type-square",component:Ge.default}),e.register({name:"clipboard",component:We.default}),e.register({name:"scissors-cut",component:He.default}),e.register({name:"delete-outlined",component:Ze.default}),e.register({name:"file-download-zip-01",component:Xe.default}),e.register({name:"more",component:qe.default}),e.register({name:"folder-search",component:Ye.default}),e.register({name:"lock-01",component:Ke.default}),e.register({name:"file-lock-02",component:Je.default}),e.register({name:"expand-01",component:et.default}),e.register({name:"refresh-ccw-03",component:tt.default}),e.register({name:"clipboard-check",component:nt.default}),e.register({name:"magic-wand-01",component:rt.default}),e.register({name:"lock-unlock-01",component:ot.default}),e.register({name:"question-circle-outlined",component:it.default}),e.register({name:"search-sm",component:at.default}),e.register({name:"edit-03",component:st.default}),e.register({name:"save-01",component:lt.default})}})},94605:(e,t,n)=>{"use strict";n.r(t),n.d(t,{IconLibrary:()=>l});var r=n(66595);function o(e,t){for(var n=0;n=0;l--)(o=e[l])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(){return e=function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n="icons",r=new Map,(n=i(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r},(t=[{key:"register",value:function(e){var t=e.name,n=e.component;this.icons.set(t,n)}},{key:"get",value:function(e){return this.icons.get(e)}},{key:"getIcons",value:function(){return this.icons}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();l=s([(0,r.injectable)()],l)},64814:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createContextMenuItems:()=>a});var r=n(81690),o=n(54088),i=n(36609),a=function(e){var t=e.contextMenuState,n=e.closeContextMenu,a=e.model,s=e.closeWidget;return[{key:"close-tab",label:(0,i.t)("close-tab"),onClick:function(){null!==t&&(s(t.tabNode.getId()),n())}},{key:"close-others",label:(0,i.t)("close-others"),onClick:function(){var e;null!==t&&(null===(e=a.getActiveTabset())||void 0===e||e.getChildren().forEach((function(e){e.getId()!==t.tabNode.getId()&&s(e.getId())})),n())}},{key:"close-unmodified",label:(0,i.t)("close-unmodified"),onClick:function(){if(null!==t){var e,i=r.container.get(o.serviceIds.widgetManager);null===(e=a.getActiveTabset())||void 0===e||e.getChildren().forEach((function(e){var t,n=i.getWidget(null!==(t=e.getComponent())&&void 0!==t?t:""),r=null==n?void 0:n.isModified;void 0!==r&&r(e)||s(e.getId())})),n()}}},{key:"close-all",label:(0,i.t)("close-all"),onClick:function(){var e;null!==t&&(null===(e=a.getActiveTabset())||void 0===e||e.getChildren().forEach((function(e){s(e.getId())})),n())}}]}},23170:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useContextMenu:()=>u});var r=n(41642),o=n(36198),i=n(86352),a=n(66777),s=n(27118);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{useIsAcitveMainWidget:()=>s});var r=n(7496),o=n(77209),i=n(36198),a=n(5319),s=function(){var e=(0,r.useAppSelector)(o.selectMainWidgetContext),t=(0,i.useContext)(a.WidgetContext);return null!==e&&e.nodeId===t.nodeId}},66777:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useWidgetManager:()=>a});var r=n(7496),o=n(77209),i=n(86352),a=function(){var e=(0,r.useAppDispatch)();function t(){var e=r.store.getState(),t=(0,o.selectInnerModel)(e);return i.Model.fromJson(t)}return{openMainWidget:function(t){e((0,o.openMainWidget)(t))},openBottomWidget:function(t){e((0,o.openBottomWidget)(t))},openLeftWidget:function(t){e((0,o.openLeftWidget)(t))},openRightWidget:function(t){e((0,o.openRightWidget)(t))},switchToWidget:function(t){e((0,o.setActiveWidgetById)(t))},closeWidget:function(t){e((0,o.closeWidget)(t))},isMainWidgetOpen:function(e){return void 0!==t().getNodeById(e)},getOpenedMainWidget:function(){var e;return null===(e=t().getActiveTabset())||void 0===e?void 0:e.getSelectedNode()}}}},6042:(e,t,n)=>{"use strict";n.r(t),n.d(t,{WidgetRegistry:()=>d});var r=n(66595),o=n(36198);function i(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 a(e){for(var t=1;t=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"widgets",[])},(t=[{key:"registerWidget",value:function(e){var t=a(a({},e),{},{component:(0,o.memo)(e.component)});this.widgets.push(t)}},{key:"getWidget",value:function(e){return this.widgets.find((function(t){return t.name===e}))}}])&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();d=f([(0,r.injectable)()],d)},45835:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BorderTitleView:()=>u});var r=n(54663),o=n(36198),i=n(55328),a=n(30811);function s(e){return s="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},s(e)}function l(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 c(e,t,n){var r;return r=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(e){var t=e.icon,n=e.title,s=(0,a.useTranslation)().t;return o.createElement(i.Tooltip,{placement:"right",title:s(n)},o.createElement("div",null,o.createElement(r.Icon,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{TabTitleContainer:()=>u});var r=n(86352),o=n(36198),i=n(45835),a=n(14955),s=n(66777);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{TabTitleOuterContainer:()=>s});var r=n(36198),o=n(81690),i=n(1464),a=n(54088),s=function(e){var t=e.node,n=t.getComponent(),s=(0,o.useInjection)(a.serviceIds.widgetManager).getWidget(n),l=r.createElement(i.TabTitleContainer,{modified:!1,node:t});return void 0!==(null==s?void 0:s.titleComponent)&&(l=r.createElement(s.titleComponent,{node:t})),r.createElement(r.Fragment,null," ",l," ")}},1935:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n;e.token;return{title:(0,e.css)(r||(t=["\n .ant-space-item {\n display: flex;\n align-items: center;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))))}}),{hashPriority:"low"})},14955:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TabTitleView:()=>h});var r=n(54663),o=n(55328),i=n(71816),a=n(36198),s=n(1935),l=n(30811),c=n(40069),u=n(22953);function f(e){return f="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},f(e)}function d(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 p(e,t,n){var r;return r=function(e,t){if("object"!=f(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==f(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e){var t=e.icon,n=e.title,f=e.onClose,h=e.onConfirm,m=(0,s.useStyles)().styles,g=(0,l.useTranslation)().t,y=function(){null==f||f()};return a.createElement(c.Space,{className:["widget-manager-tab-title",m.title].join(" "),size:"mini"},a.createElement(r.Icon,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{widgetManagerFactory:()=>l});var r=n(36198),o=n(5319),i=n(75876),a=n(81690),s=n(54088),l=function(e){if("inner-widget-manager"===e.getComponent())return r.createElement(i.WidgetManagerInnerContainer,null);var t=a.container.get(s.serviceIds.widgetManager),n=e.getComponent();if(void 0!==n){var l=t.getWidget(n);if(void 0===l)throw new Error("Widget ".concat(n," not found"));var c=l.component;return r.createElement(o.WidgetContainer,{component:c,node:e})}}},15419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getInitialModelJson:()=>r});var r=function(){return{global:{tabEnableRename:!1,tabSetEnableMaximize:!1},layout:{id:"main",type:"row",children:[{type:"tabset",id:"main_tabset",enableDeleteWhenEmpty:!1,weight:50,selected:0,children:[]}]}}}},51802:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getInitialModelJson:()=>r});var r=function(){return{global:{tabEnableRename:!1,tabSetEnableMaximize:!1,rootOrientationVertical:!0},layout:{id:"main",type:"row",children:[{type:"tabset",id:"main_tabset",enableDeleteWhenEmpty:!1,weight:50,selected:0,children:[{type:"tab",component:"inner-widget-manager",contentClassName:"widget-manager-inner-container",enableClose:!1}],enableDrag:!1,enableDrop:!1,enableTabStrip:!1},{type:"tabset",id:"bottom_tabset",enableDeleteWhenEmpty:!1,weight:50,height:0,selected:0,children:[]}]},borders:[{type:"border",location:"left",size:315,selected:0,children:[{type:"tab",name:"asset.asset-tree.title",component:"asset-tree",enableClose:!1,config:{icon:{value:"camera"}}},{type:"tab",name:"data-object.data-object-tree.title",component:"data-object-tree",enableClose:!1,config:{icon:{value:"mainObject"}}}]},{type:"border",location:"right",size:315,selected:0,children:[{type:"tab",name:"asset.asset-tree.title",component:"asset-tree",enableClose:!1,config:{id:288,icon:{value:"camera"}}}]}]}}},95165:(e,t,n)=>{"use strict";n.r(t),n.d(t,{WidgetManagerContainer:()=>u});var r=n(36198),o=n(85914),i=n(7250),a=n(86352),s=n(7496),l=n(77209),c=n(1464),u=function(){var e=(0,s.useAppSelector)(l.selectOuterModel),t=(0,s.useAppDispatch)(),n=a.Model.fromJson(e),u=n.getNodeById("bottom_tabset");return(0,r.useEffect)((function(){n.doAction(a.Actions.updateModelAttributes({tabSetTabStripHeight:34,tabSetTabHeaderHeight:34,borderBarSize:50}))}),[]),0===u.getChildren().length?n.doAction(a.Actions.updateNodeAttributes(u.getId(),{height:-8})):-8===u.getHeight()&&n.doAction(a.Actions.updateNodeAttributes(u.getId(),{height:34})),r.createElement(o.WidgetManagerView,{factory:i.widgetManagerFactory,model:n,onModelChange:function(e){t((0,l.updateOuterModel)(e.toJson()))},onRenderTab:function(e,t){t.content=r.createElement(c.TabTitleContainer,{node:e}),t.leading=r.createElement(r.Fragment,null)}})}},75876:(e,t,n)=>{"use strict";n.r(t),n.d(t,{WidgetManagerInnerContainer:()=>d});var r=n(36198),o=n(85914),i=n(7250),a=n(86352),s=n(7496),l=n(77209),c=n(43674),u=n(64814),f=function(){var e=(0,s.useAppSelector)(l.selectInnerModel),t=(0,s.useAppDispatch)(),n=a.Model.fromJson(e);return(0,r.useEffect)((function(){n.doAction(a.Actions.updateModelAttributes({tabSetTabStripHeight:34,tabSetTabHeaderHeight:34,borderBarSize:50}))}),[]),(0,r.useEffect)((function(){var e,r=null===(e=n.getActiveTabset())||void 0===e?void 0:e.getSelectedNode();t(void 0!==r?(0,l.updateMainWidgetContext)({nodeId:r.getId()}):(0,l.updateMainWidgetContext)(null))}),[n]),r.createElement(o.WidgetManagerView,{className:"widget-manager--inner",createContextMenuItems:u.createContextMenuItems,factory:i.widgetManagerFactory,model:n,onModelChange:function(e){t((0,l.updateInnerModel)(e.toJson()))},onRenderTab:function(e,t){t.content=r.createElement(c.TabTitleOuterContainer,{node:e}),t.leading=r.createElement(r.Fragment,null)}})},d=(0,r.memo)(f)},77209:(e,t,n)=>{"use strict";n.r(t),n.d(t,{closeWidget:()=>E,initialState:()=>d,openBottomWidget:()=>O,openLeftWidget:()=>w,openMainWidget:()=>b,openRightWidget:()=>S,selectInnerModel:()=>P,selectMainWidgetContext:()=>j,selectOuterModel:()=>T,setActiveWidgetById:()=>x,slice:()=>p,updateInnerModel:()=>v,updateMainWidgetContext:()=>y,updateOuterModel:()=>g,widgetManagerSliceName:()=>h});var r=n(7496),o=n(8327),i=n(86352),a=n(51802),s=n(15419);function l(e){return l="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},l(e)}function c(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 u(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{getTabTokens:()=>c,useStyles:()=>u});var r,o=n(99291);function i(e){return i="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},i(e)}function a(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 s(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{WidgetManagerView:()=>p});var r=n(36198),o=n(86352),i=n(83941),a=n(23170);function s(e){return s="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},s(e)}var l=["className","createContextMenuItems"];function c(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 u(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var p=function(e){var t=e.className,n=e.createContextMenuItems,s=d(e,l),c=(0,i.useStyles)().styles,f=(0,a.useContextMenu)(s.model,n),p=f.showContextMenu,h=f.dropdown;return r.createElement("div",{className:["widget-manager",t,c.widgetManager].join(" ")},r.createElement(o.Layout,u(u({},s),{},{onContextMenu:p})),h)}},89334:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{WidgetTitle:(0,e.css)(r||(t=["\n display: flex;\n padding: ","px ","px;\n gap: 8px;\n align-items: center;\n color: ",";\n font-weight: 600;\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.paddingXS,o.paddingSM,o.Tree.colorPrimaryHeading)}}),{hashPriority:"low"})},42603:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TitleView:()=>c});var r=n(54663),o=n(36198),i=n(89334);function a(e){return a="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},a(e)}function s(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 l(e,t,n){var r;return r=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e){var t=(0,i.useStyles)().styles,n=e.title,a=e.icon,c=e.className;return console.log(a),o.createElement("div",{className:[t.WidgetTitle,c,"foobar"].join(" ")},o.createElement(r.Icon,function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{WidgetContainer:()=>d,WidgetContext:()=>f});var r=n(36198),o=n(86352),i=n(17368);function a(e){return a="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},a(e)}function s(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 l(e,t,n){var r;return r=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useStyles:()=>o});var o=(0,n(99291).createStyles)((function(e){var t,n,o=e.token;return{Widget:(0,e.css)(r||(t=["\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n .widget__content {\n flex: 1;\n overflow: auto;\n contain: layout size;\n }\n\n .widget__title {\n padding-top: ","px;\n }\n "],n||(n=t.slice(0)),r=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))),o.paddingSM)}}),{hashPriority:"low"})},17368:(e,t,n)=>{"use strict";n.r(t),n.d(t,{WidgetView:()=>u,cssContainerWidget:()=>l});var r=n(36198),o=n(42603),i=n(22687),a=n(30811),s=n(77128),l={name:"widget"},c=function(e){var t=(0,s.useCssContainer)(l).styleDefinition,n=(0,i.useStyles)().styles,c=e.title,u=e.showTitle,f=e.icon,d=e.children,p=(0,a.useTranslation)().t;return r.createElement("div",{className:["widget",n.Widget,t.styles.container].join(" ")},!0===u&&r.createElement(o.TitleView,{className:"widget__title",icon:f,title:p(c)}),r.createElement("div",{className:"widget__content"},d))},u=r.memo(c)},96277:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{GlobalStyles:()=>a});var o,i,a=(0,n(99291).createGlobalStyle)(r||(o=["\n @font-face {\n font-family: Lato;\n src: url(../fonts/Lato-Regular.ttf);\n }\n\n @font-face {\n font-family: Lato;\n src: url(../fonts/Lato-Light.ttf);\n font-weight: 300;\n }\n\n @font-face {\n font-family: Lato;\n src: url(../fonts/Lato-Bold.ttf);\n font-weight: 700;\n }\n\n * {\n box-sizing: border-box;\n }\n\n /** MESSAGE **/\n .ant-message {\n position: absolute;\n bottom: 20px !important;\n top: unset !important;\n }\n\n @keyframes moveUp {\n 0% {\n transform: translateY(+30%);\n opacity: 0;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n }\n\n .ant-message .ant-message-move-up-appear,\n .ant-message .ant-message-move-up-enter {\n animation-name: moveUp;\n }\n\n .ant-message .ant-message-move-up-leave {\n animation-name: moveUp;\n animation-direction: reverse;\n }\n\n .p-none {\n padding: 0;\n }\n\n .p-mini {\n padding: ","px;\n }\n\n .p-extra-small {\n padding: ","px;\n }\n\n .p-small {\n padding: ","px;\n }\n\n .p-normal {\n padding: ","px;\n }\n\n .p-medium {\n padding: ","px;\n }\n\n .p-large {\n padding: ","px;\n }\n\n .p-extra-large {\n padding: ","px;\n }\n\n .p-maxi {\n // @todo check missing padding token\n padding: ","px;\n }\n\n .p-y-none {\n padding-top: 0;\n padding-bottom: 0;\n }\n\n .p-y-mini {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-extra-small {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-small {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-normal {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-medium {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-large {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-extra-large {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-maxi {\n // @todo check missing padding token\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-x-none {\n padding-left: 0;\n padding-right: 0;\n }\n\n .p-x-mini {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-extra-small {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-small {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-normal {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-medium {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-large {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-extra-large {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-maxi {\n // @todo check missing padding token\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-t-none {\n padding-top: 0;\n }\n\n .p-t-mini {\n padding-top: ","px;\n }\n\n .p-t-extra-small {\n padding-top: ","px;\n }\n\n .p-t-small {\n padding-top: ","px;\n }\n\n .p-t-normal {\n padding-top: ","px;\n }\n\n .p-t-medium {\n padding-top: ","px;\n }\n\n .p-t-large {\n padding-top: ","px;\n }\n\n .p-t-extra-large {\n padding-top: ","px;\n }\n\n .p-t-maxi {\n // @todo check missing padding token\n padding-top: ","px;\n }\n\n .p-b-none {\n padding-bottom: 0;\n }\n\n .p-b-mini {\n padding-bottom: ","px;\n }\n\n .p-b-extra-small {\n padding-bottom: ","px;\n }\n\n .p-b-small {\n padding-bottom: ","px;\n }\n\n .p-b-normal {\n padding-bottom: ","px;\n }\n\n .p-b-medium {\n padding-bottom: ","px;\n }\n\n .p-b-large {\n padding-bottom: ","px;\n }\n\n .p-b-extra-large {\n padding-bottom: ","px;\n }\n\n .p-b-maxi {\n // @todo check missing padding token\n padding-bottom: ","px;\n }\n\n .p-l-none {\n padding-left: 0;\n }\n\n .p-l-mini {\n padding-left: ","px;\n }\n\n .p-l-extra-small {\n padding-left: ","px;\n }\n\n .p-l-small {\n padding-left: ","px;\n }\n\n .p-l-normal {\n padding-left: ","px;\n }\n\n .p-l-medium {\n padding-left: ","px;\n }\n\n .p-l-large {\n padding-left: ","px;\n }\n\n .p-l-extra-large {\n padding-left: ","px;\n }\n\n .p-l-maxi {\n // @todo check missing padding token\n padding-left: ","px;\n }\n\n .p-r-none {\n padding-right: 0;\n }\n\n .p-r-mini {\n padding-right: ","px;\n }\n\n .p-r-extra-small {\n padding-right: ","px;\n }\n\n .p-r-small {\n padding-right: ","px;\n }\n\n .p-r-normal {\n padding-right: ","px;\n }\n\n .p-r-medium {\n padding-right: ","px;\n }\n\n .p-r-large {\n padding-right: ","px;\n }\n\n .p-r-extra-large {\n padding-right: ","px;\n }\n\n .p-r-maxi {\n // @todo check missing padding token\n padding-right: ","px;\n }\n\n .m-none {\n margin: 0;\n }\n\n .m-mini {\n margin: ","px;\n }\n\n .m-extra-small {\n margin: ","px;\n }\n\n .m-small {\n margin: ","px;\n }\n\n .m-normal {\n margin: ","px;\n }\n\n .m-medium {\n margin: ","px;\n }\n\n .m-large {\n margin: ","px;\n }\n\n .m-extra-large {\n margin: ","px;\n }\n\n .m-maxi {\n // @todo check missing margin token\n margin: ","px;\n }\n\n .m-y-none {\n margin-top: 0;\n margin-bottom: 0;\n }\n\n .m-y-mini {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-extra-small {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-small {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-normal {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-medium {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-large {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-extra-large {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-maxi {\n // @todo check missing margin token\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-x-none {\n margin-left: 0;\n margin-right: 0;\n }\n\n .m-x-mini {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-extra-small {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-small {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-normal {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-medium {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-large {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-extra-large {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-maxi {\n // @todo check missing margin token\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-t-none {\n margin-top: 0;\n }\n\n .m-t-mini {\n margin-top: ","px;\n }\n\n .m-t-extra-small {\n margin-top: ","px;\n }\n\n .m-t-small {\n margin-top: ","px;\n }\n\n .m-t-normal {\n margin-top: ","px;\n }\n\n .m-t-medium {\n margin-top: ","px;\n }\n\n .m-t-large {\n margin-top: ","px;\n }\n\n .m-t-extra-large {\n margin-top: ","px;\n }\n\n .m-t-maxi {\n // @todo check missing margin token\n margin-top: ","px;\n }\n\n .m-b-none {\n margin-bottom: 0;\n }\n\n .m-b-mini {\n margin-bottom: ","px;\n }\n\n .m-b-extra-small {\n margin-bottom: ","px;\n }\n\n .m-b-small {\n margin-bottom: ","px;\n }\n\n .m-b-normal {\n margin-bottom: ","px;\n }\n\n .m-b-medium {\n margin-bottom: ","px;\n }\n\n .m-b-large {\n margin-bottom: ","px;\n }\n\n .m-b-extra-large {\n margin-bottom: ","px;\n }\n\n .m-b-maxi {\n // @todo check missing margin token\n margin-bottom: ","px;\n }\n\n .m-l-none {\n margin-left: 0;\n }\n\n .m-l-mini {\n margin-left: ","px;\n }\n\n .m-l-extra-small {\n margin-left: ","px;\n }\n\n .m-l-small {\n margin-left: ","px;\n }\n\n .m-l-normal {\n margin-left: ","px;\n }\n\n .m-l-medium {\n margin-left: ","px;\n }\n\n .m-l-large {\n margin-left: ","px;\n }\n\n .m-l-extra-large {\n margin-left: ","px;\n }\n\n .m-l-maxi {\n // @todo check missing margin token\n margin-left: ","px;\n }\n\n .m-r-none {\n margin-right: 0;\n }\n\n .m-r-mini {\n margin-right: ","px;\n }\n\n .m-r-extra-small {\n margin-right: ","px;\n }\n\n .m-r-small {\n margin-right: ","px;\n }\n\n .m-r-normal {\n margin-right: ","px;\n }\n\n .m-r-medium {\n margin-right: ","px;\n }\n\n .m-r-large {\n margin-right: ","px;\n }\n\n .m-r-extra-large {\n margin-right: ","px;\n }\n\n .m-r-maxi {\n // @todo check missing margin token\n margin-right: ","px;\n }\n\n .relative {\n position: relative;\n }\n\n .absolute {\n position: absolute;\n }\n\n .w-full {\n width: 100%;\n }\n\n .min-w-100 {\n min-width: 100px;\n }\n\n .h-full {\n height: 100%;\n }\n\n .overflow-x-auto {\n overflow-x: auto;\n }\n"],i||(i=o.slice(0)),r=Object.freeze(Object.defineProperties(o,{raw:{value:Object.freeze(i)}}))),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}))},16437:(e,t,n)=>{"use strict";n.r(t),n.d(t,{toCssDimension:()=>r});var r=function(e,t){if(null==e||""===e){if(void 0===t)return;e=t}return"number"==typeof e?"".concat(e,"px"):e}},6745:(e,t,n)=>{"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(0===e)return"0 B";var n=["B","KB","MB","GB","TB"],r=Math.floor(Math.log(e)/Math.log(1e3));return r=Math.min(r,n.length-1),e/=Math.pow(1e3,r),"".concat(e.toFixed(t)," ").concat(n[r])}n.r(t),n.d(t,{formatDataUnit:()=>r})},63664:(e,t,n)=>{"use strict";n.r(t),n.d(t,{formatDate:()=>l,formatDateTime:()=>s,formatTime:()=>c});var r=n(36609);function o(e){return o="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},o(e)}function i(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 a(e,t,n){var r;return r=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==o(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){var t=e.timestamp,n=e.lng,o=e.timeStyle,s=e.dateStyle,l=e.options;if(void 0===n&&(n=r.default.language),null===t)return"";try{var c=new Date(1e3*t);return r.default.format(c,"datetime",n,function(e){for(var t=1;t{"use strict";function r(e,t){var n=e.split(".");return n[n.length-1]=t,n.join(".")}function o(e,t){var n=document.createElement("a");document.body.append(n),n.href=t,n.download=e,n.click(),n.remove()}n.r(t),n.d(t,{replaceFileEnding:()=>r,saveFileLocal:()=>o})},38576:(e,t,n)=>{"use strict";n.r(t),n.d(t,{isSet:()=>i,onKeyEnterExecuteClick:()=>o,respectLineBreak:()=>a});var r=n(36198);function o(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),e.currentTarget.click())}function i(e){return null!=e}function a(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.replace(/\n+$/,"").split("\n");return t?r.createElement("div",null,n.map((function(e,t){return r.createElement("p",{key:t},e)}))):r.createElement("div",null,n.map((function(e,t,n){return r.createElement(r.Fragment,{key:t},e,t{"use strict";n.r(t),n.d(t,{useClickOutside:()=>a});var r=n(36198);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(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 new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r;n.r(t),n.d(t,{useCssContainerStyles:()=>o});var o=(0,n(99291).createStyles)((function(e,t){var n,o;e.token;return{container:(0,e.css)(r||(n=["\n container: "," / ",";\n "],o||(o=n.slice(0)),r=Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(o)}}))),t.name,t.type)}}))},77128:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useCssContainer:()=>i});var r=n(36198),o=n(24519),i=function(e){var t=e.name,n=e.type,i=void 0===n?"size":n,a=(0,o.useCssContainerStyles)({name:t,type:i});return(0,r.useMemo)((function(){return{styleDefinition:a}}),[])}},2776:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(36198);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(42938);const o=function(){var e=(0,r.useListPage)(),t=e.page,n=e.setPage,o=(0,r.useListPageSize)(),i=o.pageSize,a=o.setPageSize;return{page:t,pageSize:i,handlePageChange:function(e,t){n(e),a(t)}}}},27526:(e,t,n)=>{"use strict";n.r(t),n.d(t,{usePrevious:()=>o});var r=n(36198),o=function(e){var t=(0,r.useRef)();return(0,r.useEffect)((function(){t.current=e}),[e]),t.current}},38968:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useServerSideEvent:()=>i});var r=n(36198),o=n(7056).appConfig.mercureUrl,i=function(e){var t,n=e.topics,i=e.messageHandler,a=e.openHandler;if(0===n.length)throw new Error("No topics provided");function s(){void 0!==t&&t.close()}return(0,r.useEffect)((function(){return function(){s()}}),[]),{open:function(){var e=new URL(o);n.forEach((function(t){e.searchParams.append("topic",t)})),t=new EventSource(e.toString()),void 0!==i&&(t.onmessage=i),void 0!==a&&(t.onopen=a)},close:s}}},66395:(e,t,n)=>{"use strict";n.r(t),n.d(t,{formatNumber:()=>o});var r=n(36609);function o(e){var t=e.value,n=e.lng,o=e.options;return void 0===n&&(n=r.default.language),r.default.format(t,"number",n,o)}},56239:(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},r(e)}function o(){o=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),s=new D(r||[]);return a(i,"_invoke",{value:j(e,n,s)}),i}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,l,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==n&&i.call(E,l)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,a,s,l){var c=p(e[o],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==r(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var o;a(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function j(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function i(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function s(e){i(a,r,o,s,l,"next",e)}function l(e){i(a,r,o,s,l,"throw",e)}s(void 0)}))}}function s(e){return l.apply(this,arguments)}function l(){return l=a(o().mark((function e(t){var n,r,i,s,l;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.url,r=t.onSuccess,i=t.interval,s=void 0===i?3e3:i,l=function(){var e=a(o().mark((function e(){var t,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(n);case 2:if(200!==(t=e.sent).status){e.next=10;break}return e.next=6,t.blob();case 6:i=e.sent,r(i),e.next=15;break;case 10:if(202!==t.status){e.next=14;break}setTimeout(l,s),e.next=15;break;case 14:throw new Error("Unexpected response status: ".concat(t.status));case 15:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.next=4,l();case 4:case"end":return e.stop()}}),e)}))),l.apply(this,arguments)}n.r(t),n.d(t,{fetchBlobWithPolling:()=>s})},72657:(e,t,n)=>{"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:[""],o=[],i=r(e);try{for(i.s();!(t=i.n()).done;){var a=t.value;n.includes(a.value)||o.push("".concat(a.key,"=").concat(a.value))}}catch(e){i.e(e)}finally{i.f()}return o.join("&")}n.r(t),n.d(t,{buildQueryString:()=>i})},79342:(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},r(e)}n.r(t),n.d(t,{isEmptyValue:()=>o});var o=function(e){return null==e||("object"!==r(e)||Array.isArray(e)?"object"===r(e)&&Array.isArray(e)?0===e.length:"string"==typeof e&&0===e.trim().length:0===Object.keys(e).length)}},86536:(e,t,n)=>{"use strict";n.r(t),n.d(t,{uuid:()=>o});var r=n(48422);function o(){return(0,r.v4)()}},27484:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",i="minute",a="hour",s="day",l="week",c="month",u="quarter",f="year",d="date",p="Invalid Date",h=/^(\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])+"]"}},y=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},v={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+y(r,2,"0")+":"+y(o,2,"0")},m:function e(t,n){if(t.date()1)return e(a[0])}else{var s=t.name;O[s]=t,o=s}return!r&&o&&(b=o),o||!r&&b},E=function(e,t){if(S(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new P(n)},_=v;_.l=x,_.i=S,_.w=function(e,t){return E(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var P=function(){function g(e){this.$L=x(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var y=g.prototype;return y.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(h);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()},y.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()},y.$utils=function(){return _},y.isValid=function(){return!(this.$d.toString()===p)},y.isSame=function(e,t){var n=E(e);return this.startOf(t)<=n&&n<=this.endOf(t)},y.isAfter=function(e,t){return E(e)68?1900:2e3)},l=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)return 0;if("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))},f=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},d={A:[i,function(e){this.afternoon=f(e,!1)}],a:[i,function(e){this.afternoon=f(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,l("seconds")],ss:[o,l("seconds")],m:[o,l("minutes")],mm:[o,l("minutes")],H:[o,l("hours")],h:[o,l("hours")],HH:[o,l("hours")],hh:[o,l("hours")],D:[o,l("day")],DD:[r,l("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,l("week")],ww:[r,l("week")],M:[o,l("month")],MM:[r,l("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 new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=u("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,l("year")],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,l("year")],Z:c,ZZ:c};function p(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),s=i.length,l=0;l-1)return new Date(("X"===t?1e3:1)*e);var o=p(t)(e),i=o.year,a=o.month,s=o.day,l=o.hours,c=o.minutes,u=o.seconds,f=o.milliseconds,d=o.zone,h=o.week,m=new Date,g=s||(i||a?1:m.getDate()),y=i||m.getFullYear(),v=0;i&&!a||(v=a>0?a-1:m.getMonth());var b,O=l||0,w=c||0,S=u||0,x=f||0;return d?new Date(Date.UTC(y,v,g,O,w,S,x+60*d.offset*1e3)):n?new Date(Date.UTC(y,v,g,O,w,S,x)):(b=new Date(y,v,g,O,w,S,x),h&&(b=r(b).week(h).toDate()),b)}catch(e){return new Date("")}}(t,s,r,n),this.init(),f&&!0!==f&&(this.$L=this.locale(f).$L),u&&t!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var d=s.length,h=1;h<=d;h+=1){i[1]=s[h-1];var m=n.apply(this,i);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}h===d&&(this.$d=new Date(""))}else o.call(this,e)}}}()},96036:function(e){e.exports=function(){"use strict";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(),s=o(a[t]),l=o(a[n]),c=s||l.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()]},s=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()])},l=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 s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return l.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 s(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)}}}()},29387:function(e){e.exports=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,o){var i,a=function(e,n,r){void 0===r&&(r={});var o=new Date(e),i=function(e,n){void 0===n&&(n={});var r=n.timeZoneName||"short",o=e+"|"+r,i=t[o];return i||(i=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:r}),t[o]=i),i}(n,r);return i.formatToParts(o)},s=function(t,n){for(var r=a(t,n),i=[],s=0;s=0&&(i[f]=parseInt(u,10))}var d=i[3],p=24===d?0:d,h=i[0]+"-"+i[1]+"-"+i[2]+" "+p+":"+i[4]+":"+i[5]+":000",m=+t;return(o.utc(h).valueOf()-(m-=m%1e3))/6e4},l=r.prototype;l.tz=function(e,t){void 0===e&&(e=i);var n,r=this.utcOffset(),a=this.toDate(),s=a.toLocaleString("en-US",{timeZone:e}),l=Math.round((a-new Date(s))/1e3/60),c=15*-Math.round(a.getTimezoneOffset()/15)-l;if(Number(c)){if(n=o(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(c,!0),t){var u=n.utcOffset();n=n.add(r-u,"minute")}}else n=this.utcOffset(0,t);return n.$x.$timezone=e,n},l.offsetName=function(e){var t=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return n&&n.value};var c=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return c.call(n,e,t).tz(this.$x.$timezone,!0)},o.tz=function(e,t,n){var r=n&&t,a=n||t||i,l=s(+o(),a);if("string"!=typeof e)return o(e).tz(a);var c=function(e,t,n){var r=e-60*t*1e3,o=s(r,n);if(t===o)return[r,t];var i=s(r-=60*(o-t)*1e3,n);return o===i?[r,o]:[e-60*Math.min(o,i)*1e3,Math.max(o,i)]}(o.utc(e,r).valueOf(),l,a),u=c[0],f=c[1],d=o(u).utcOffset(f);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(e){i=e}}}()},70178:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,o,i){var a=o.prototype;i.utc=function(e){return new o({date:e,utc:!0,args:arguments})},a.utc=function(t){var n=i(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var c=a.utcOffset;a.utcOffset=function(r,o){var i=this.$utils().u;if(i(r))return this.$u?0:i(this.$offset)?c.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(n)||["-",0,0],i=o[0],a=60*+o[1]+ +o[2];return 0===a?0:"+"===i?a:-a}(r),null===r))return this;var a=Math.abs(r)<=16?60*r:r,s=this;if(o)return s.$offset=a,s.$u=0===r,s;if(0!==r){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+l,e)).$offset=a,s.$x.$localOffset=l}else s=this.utc();return s};var u=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var f=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var d=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return d.call(this,e,t,n);var r=this.local(),o=i(e).local();return d.call(r,o,t,n)}}}()},55183:function(e){e.exports=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 s=o(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),l=this.diff(s,e,!0);return l<0?o(this).startOf("week").week():Math.ceil(l)},i.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}()},172:function(e){e.exports=function(){"use strict";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){e.exports=function(){"use strict";return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Attribute=void 0;class n{constructor(e,t,n,r){this.name=e,this.modelName=t,this.defaultValue=n,this.alwaysWriteJson=r,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=n,n.NUMBER="number",n.STRING="string",n.BOOLEAN="boolean"},58267:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeDefinitions=void 0;const r=n(17029);t.AttributeDefinitions=class{constructor(){this.attributes=[],this.nameToAttribute={}}addWithAll(e,t,n,o){const i=new r.Attribute(e,t,n,o);return this.attributes.push(i),this.nameToAttribute[e]=i,i}addInherited(e,t){return this.addWithAll(e,t,void 0,!1)}add(e,t,n){return this.addWithAll(e,void 0,t,n)}getAttributes(){return this.attributes}getModelName(e){const t=this.nameToAttribute[e];if(void 0!==t)return t.modelName}toJson(e,t){for(const n of this.attributes){const r=t[n.name];(n.alwaysWriteJson||r!==n.defaultValue)&&(e[n.name]=r)}}fromJson(e,t){for(const n of this.attributes){const r=e[n.name];t[n.name]=void 0===r?n.defaultValue:r}}update(e,t){for(const n of this.attributes)if(e.hasOwnProperty(n.name)){const r=e[n.name];void 0===r?delete t[n.name]:t[n.name]=r}}setDefaults(e){for(const t of this.attributes)e[t.name]=t.defaultValue}toTypescriptInterface(e,t){const n=[],r=this.attributes.sort(((e,t)=>e.name.localeCompare(t.name)));n.push("export interface I"+e+"Attributes {");for(let e=0;e0?" // "+e:""))}}return n.push("}"),n.join("\n")}}},40232:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DockLocation=void 0;const r=n(13380),o=n(10807);class i{static getByName(e){return i.values[e]}static getLocation(e,t,n){if(t=(t-e.x)/e.width,n=(n-e.y)/e.height,t>=.25&&t<.75&&n>=.25&&n<.75)return i.CENTER;const r=n>=1-t;return n>=t?r?i.BOTTOM:i.LEFT:r?i.RIGHT:i.TOP}constructor(e,t,n){this._name=e,this._orientation=t,this._indexPlus=n,i.values[this._name]=this}getName(){return this._name}getOrientation(){return this._orientation}getDockRect(e){return this===i.TOP?new o.Rect(e.x,e.y,e.width,e.height/2):this===i.BOTTOM?new o.Rect(e.x,e.getBottom()-e.height/2,e.width,e.height/2):this===i.LEFT?new o.Rect(e.x,e.y,e.width/2,e.height):this===i.RIGHT?new o.Rect(e.getRight()-e.width/2,e.y,e.width/2,e.height):e.clone()}split(e,t){if(this===i.TOP){return{start:new o.Rect(e.x,e.y,e.width,t),end:new o.Rect(e.x,e.y+t,e.width,e.height-t)}}if(this===i.LEFT){return{start:new o.Rect(e.x,e.y,t,e.height),end:new o.Rect(e.x+t,e.y,e.width-t,e.height)}}if(this===i.RIGHT){return{start:new o.Rect(e.getRight()-t,e.y,t,e.height),end:new o.Rect(e.x,e.y,e.width-t,e.height)}}return{start:new o.Rect(e.x,e.getBottom()-t,e.width,t),end:new o.Rect(e.x,e.y,e.width,e.height-t)}}reflect(){return this===i.TOP?i.BOTTOM:this===i.LEFT?i.RIGHT:this===i.RIGHT?i.LEFT:i.TOP}toString(){return"(DockLocation: name="+this._name+", orientation="+this._orientation+")"}}t.DockLocation=i,i.values={},i.TOP=new i("top",r.Orientation.VERT,0),i.BOTTOM=new i("bottom",r.Orientation.VERT,1),i.LEFT=new i("left",r.Orientation.HORZ,0),i.RIGHT=new i("right",r.Orientation.HORZ,1),i.CENTER=new i("center",r.Orientation.VERT,0)},30268:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DragDrop=void 0;const r=n(10807),o=!("undefined"==typeof window||!window.document||!window.document.createElement);class i{constructor(){this._manualGlassManagement=!1,this._startX=0,this._startY=0,this._dragDepth=0,this._glassShowing=!1,this._dragging=!1,this._active=!1,o&&(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)||void 0===t||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(){r.Rect.fromElement(this._rootElement).positionElement(this._glass,"fixed")}hideGlass(){var e;this._glassShowing&&(this._document.body.removeChild(this._glass),null===(e=this._document.defaultView)||void 0===e||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)&&void 0!==e?e:this._defaultGlassCursor}_setDefaultGlassCursor(e){this._defaultGlassCursor=e,this._updateGlassCursor()}setGlassCursorOverride(e){this._glassCursorOverride=e,this._updateGlassCursor()}startDrag(e,t,n,r,o,i,a,s,l){if(e&&this._lastEvent&&this._lastEvent.type.startsWith("touch")&&e.type.startsWith("mouse")&&e.timeStamp-this._lastEvent.timeStamp<500)return;if(this._dragging)return;this._lastEvent=e,this._document=s||window.document,this._rootElement=l||this._document.body;const c=this._getLocationEvent(e);this.addGlass(o),e?(this._startX=c.clientX,this._startY=c.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=n,this._fDragEnd=r,this._fDragCancel=o,this._fClick=i,this._fDblClick=a,this._active=!0,"dragenter"===(null==e?void 0:e.type)?(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;const 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;const 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),Math.abs(this._startX-t.clientX)<=5&&Math.abs(this._startY-t.clientY)<=5){let n=!1;const r=(new Date).getTime();Math.abs(this._clickX-t.clientX)<=5&&Math.abs(this._clickY-t.clientY)<=5&&r-this._lastClick<500&&this._fDblClick&&(this._fDblClick(e),n=!0),!n&&this._fClick&&this._fClick(e),this._lastClick=r,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=i,i.instance=new i},5748:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DropInfo=void 0;t.DropInfo=class{constructor(e,t,n,r,o){this.node=e,this.rect=t,this.location=n,this.index=r,this.className=o}}},25551:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.I18nLabel=void 0,function(e){e.Close_Tab="Close",e.Close_Tabset="Close tabset",e.Move_Tab="Move: ",e.Move_Tabset="Move tabset",e.Maximize="Maximize tabset",e.Restore="Restore tabset",e.Float_Tab="Show selected tab in floating window",e.Overflow_Menu_Tooltip="Hidden tabs",e.Floating_Window_Message="This panel is shown in a floating window",e.Floating_Window_Show_Window="Show window",e.Floating_Window_Dock_Window="Dock window",e.Error_rendering_component="Error rendering component"}(t.I18nLabel||(t.I18nLabel={}))},13380:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Orientation=void 0;class n{static flip(e){return e===n.HORZ?n.VERT:n.HORZ}constructor(e){this._name=e}getName(){return this._name}toString(){return this._name}}t.Orientation=n,n.HORZ=new n("horz"),n.VERT=new n("vert")},40031:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showPopup=void 0;const r=n(36198),o=n(30268),i=n(24115),a=n(15797);t.showPopup=function(e,t,n,a,l,c){var u;const f=a.getRootDiv(),d=a.getClassName,p=e.ownerDocument,h=e.getBoundingClientRect(),m=null!==(u=null==f?void 0:f.getBoundingClientRect())&&void 0!==u?u:new DOMRect(0,0,100,100),g=p.createElement("div");g.className=d(i.CLASSES.FLEXLAYOUT__POPUP_MENU_CONTAINER),h.lefty())),o.DragDrop.instance.setGlassCursorOverride("default"),f&&f.appendChild(g);const y=()=>{a.hidePortal(),o.DragDrop.instance.hideGlass(),f&&f.removeChild(g),g.removeEventListener("mousedown",v),p.removeEventListener("mousedown",b)},v=e=>{e.stopPropagation()},b=e=>{y()};g.addEventListener("mousedown",v),p.addEventListener("mousedown",b),a.showPortal(r.createElement(s,{currentDocument:p,onSelect:n,onHide:y,items:t,classNameMapper:d,layout:a,iconFactory:l,titleFactory:c}),g)};const s=e=>{const{items:t,onHide:n,onSelect:o,classNameMapper:s,layout:l,iconFactory:c,titleFactory:u}=e,f=t.map(((e,t)=>r.createElement("div",{key:e.index,className:s(i.CLASSES.FLEXLAYOUT__POPUP_MENU_ITEM),"data-layout-path":"/popup-menu/tb"+t,onClick:t=>((e,t)=>{o(e),n(),t.stopPropagation()})(e,t),title:e.node.getHelpText()},e.node.getModel().isLegacyOverflowMenu()?e.node._getNameForOverflowMenu():r.createElement(a.TabButtonStamp,{node:e.node,layout:l,iconFactory:c,titleFactory:u}))));return r.createElement("div",{className:s(i.CLASSES.FLEXLAYOUT__POPUP_MENU),"data-layout-path":"/popup-menu"},f)}},10807:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rect=void 0;const r=n(13380);class o{static empty(){return new o(0,0,0,0)}constructor(e,t,n,r){this.x=e,this.y=t,this.width=n,this.height=r}static fromElement(e){let{x:t,y:n,width:r,height:i}=e.getBoundingClientRect();return new o(t,n,r,i)}clone(){return new o(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 o(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===r.Orientation.VERT&&(t=this.height),t}toString(){return"(Rect: x="+this.x+", y="+this.y+", width="+this.width+", height="+this.height+")"}}t.Rect=o},24115:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CLASSES=void 0,function(e){e.FLEXLAYOUT__BORDER="flexlayout__border",e.FLEXLAYOUT__BORDER_="flexlayout__border_",e.FLEXLAYOUT__BORDER_BUTTON="flexlayout__border_button",e.FLEXLAYOUT__BORDER_BUTTON_="flexlayout__border_button_",e.FLEXLAYOUT__BORDER_BUTTON_CONTENT="flexlayout__border_button_content",e.FLEXLAYOUT__BORDER_BUTTON_LEADING="flexlayout__border_button_leading",e.FLEXLAYOUT__BORDER_BUTTON_TRAILING="flexlayout__border_button_trailing",e.FLEXLAYOUT__BORDER_BUTTON__SELECTED="flexlayout__border_button--selected",e.FLEXLAYOUT__BORDER_BUTTON__UNSELECTED="flexlayout__border_button--unselected",e.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW="flexlayout__border_toolbar_button_overflow",e.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW_="flexlayout__border_toolbar_button_overflow_",e.FLEXLAYOUT__BORDER_INNER="flexlayout__border_inner",e.FLEXLAYOUT__BORDER_INNER_="flexlayout__border_inner_",e.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER="flexlayout__border_inner_tab_container",e.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER_="flexlayout__border_inner_tab_container_",e.FLEXLAYOUT__BORDER_TAB_DIVIDER="flexlayout__border_tab_divider",e.FLEXLAYOUT__BORDER_SIZER="flexlayout__border_sizer",e.FLEXLAYOUT__BORDER_TOOLBAR="flexlayout__border_toolbar",e.FLEXLAYOUT__BORDER_TOOLBAR_="flexlayout__border_toolbar_",e.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON="flexlayout__border_toolbar_button",e.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_FLOAT="flexlayout__border_toolbar_button-float",e.FLEXLAYOUT__DRAG_RECT="flexlayout__drag_rect",e.FLEXLAYOUT__EDGE_RECT="flexlayout__edge_rect",e.FLEXLAYOUT__EDGE_RECT_TOP="flexlayout__edge_rect_top",e.FLEXLAYOUT__EDGE_RECT_LEFT="flexlayout__edge_rect_left",e.FLEXLAYOUT__EDGE_RECT_BOTTOM="flexlayout__edge_rect_bottom",e.FLEXLAYOUT__EDGE_RECT_RIGHT="flexlayout__edge_rect_right",e.FLEXLAYOUT__ERROR_BOUNDARY_CONTAINER="flexlayout__error_boundary_container",e.FLEXLAYOUT__ERROR_BOUNDARY_CONTENT="flexlayout__error_boundary_content",e.FLEXLAYOUT__FLOATING_WINDOW_CONTENT="flexlayout__floating_window_content",e.FLEXLAYOUT__FLOATING_WINDOW_TAB="flexlayout__floating_window_tab",e.FLEXLAYOUT__LAYOUT="flexlayout__layout",e.FLEXLAYOUT__OUTLINE_RECT="flexlayout__outline_rect",e.FLEXLAYOUT__OUTLINE_RECT_EDGE="flexlayout__outline_rect_edge",e.FLEXLAYOUT__SPLITTER="flexlayout__splitter",e.FLEXLAYOUT__SPLITTER_EXTRA="flexlayout__splitter_extra",e.FLEXLAYOUT__SPLITTER_="flexlayout__splitter_",e.FLEXLAYOUT__SPLITTER_BORDER="flexlayout__splitter_border",e.FLEXLAYOUT__SPLITTER_DRAG="flexlayout__splitter_drag",e.FLEXLAYOUT__TAB="flexlayout__tab",e.FLEXLAYOUT__TABSET="flexlayout__tabset",e.FLEXLAYOUT__TABSET_HEADER="flexlayout__tabset_header",e.FLEXLAYOUT__TABSET_HEADER_SIZER="flexlayout__tabset_header_sizer",e.FLEXLAYOUT__TABSET_HEADER_CONTENT="flexlayout__tabset_header_content",e.FLEXLAYOUT__TABSET_MAXIMIZED="flexlayout__tabset-maximized",e.FLEXLAYOUT__TABSET_SELECTED="flexlayout__tabset-selected",e.FLEXLAYOUT__TABSET_SIZER="flexlayout__tabset_sizer",e.FLEXLAYOUT__TABSET_TAB_DIVIDER="flexlayout__tabset_tab_divider",e.FLEXLAYOUT__TABSET_CONTENT="flexlayout__tabset_content",e.FLEXLAYOUT__TABSET_TABBAR_INNER="flexlayout__tabset_tabbar_inner",e.FLEXLAYOUT__TABSET_TABBAR_INNER_="flexlayout__tabset_tabbar_inner_",e.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER="flexlayout__tabset_tabbar_inner_tab_container",e.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER_="flexlayout__tabset_tabbar_inner_tab_container_",e.FLEXLAYOUT__TABSET_TABBAR_OUTER="flexlayout__tabset_tabbar_outer",e.FLEXLAYOUT__TABSET_TABBAR_OUTER_="flexlayout__tabset_tabbar_outer_",e.FLEXLAYOUT__TAB_BORDER="flexlayout__tab_border",e.FLEXLAYOUT__TAB_BORDER_="flexlayout__tab_border_",e.FLEXLAYOUT__TAB_BUTTON="flexlayout__tab_button",e.FLEXLAYOUT__TAB_BUTTON_STRETCH="flexlayout__tab_button_stretch",e.FLEXLAYOUT__TAB_BUTTON_CONTENT="flexlayout__tab_button_content",e.FLEXLAYOUT__TAB_BUTTON_LEADING="flexlayout__tab_button_leading",e.FLEXLAYOUT__TAB_BUTTON_OVERFLOW="flexlayout__tab_button_overflow",e.FLEXLAYOUT__TAB_BUTTON_OVERFLOW_COUNT="flexlayout__tab_button_overflow_count",e.FLEXLAYOUT__TAB_BUTTON_TEXTBOX="flexlayout__tab_button_textbox",e.FLEXLAYOUT__TAB_BUTTON_TRAILING="flexlayout__tab_button_trailing",e.FLEXLAYOUT__TAB_BUTTON_STAMP="flexlayout__tab_button_stamp",e.FLEXLAYOUT__TAB_FLOATING="flexlayout__tab_floating",e.FLEXLAYOUT__TAB_FLOATING_INNER="flexlayout__tab_floating_inner",e.FLEXLAYOUT__TAB_TOOLBAR="flexlayout__tab_toolbar",e.FLEXLAYOUT__TAB_TOOLBAR_BUTTON="flexlayout__tab_toolbar_button",e.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_="flexlayout__tab_toolbar_button-",e.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_FLOAT="flexlayout__tab_toolbar_button-float",e.FLEXLAYOUT__TAB_TOOLBAR_STICKY_BUTTONS_CONTAINER="flexlayout__tab_toolbar_sticky_buttons_container",e.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_CLOSE="flexlayout__tab_toolbar_button-close",e.FLEXLAYOUT__POPUP_MENU_CONTAINER="flexlayout__popup_menu_container",e.FLEXLAYOUT__POPUP_MENU_ITEM="flexlayout__popup_menu_item",e.FLEXLAYOUT__POPUP_MENU="flexlayout__popup_menu"}(t.CLASSES||(t.CLASSES={}))},86352:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(55295),t),o(n(89349),t),o(n(33076),t),o(n(74268),t),o(n(1073),t),o(n(47562),t),o(n(47548),t),o(n(47984),t),o(n(50161),t),o(n(46466),t),o(n(70089),t),o(n(50996),t),o(n(90191),t),o(n(46677),t),o(n(52733),t),o(n(40232),t),o(n(30268),t),o(n(5748),t),o(n(25551),t),o(n(13380),t),o(n(10807),t),o(n(24115),t)},89349:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Action=void 0;t.Action=class{constructor(e,t){this.type=e,this.data=t}}},33076:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Actions=void 0;const r=n(89349);class o{static addNode(e,t,n,i,a){return new r.Action(o.ADD_NODE,{json:e,toNode:t,location:n.getName(),index:i,select:a})}static moveNode(e,t,n,i,a){return new r.Action(o.MOVE_NODE,{fromNode:e,toNode:t,location:n.getName(),index:i,select:a})}static deleteTab(e){return new r.Action(o.DELETE_TAB,{node:e})}static deleteTabset(e){return new r.Action(o.DELETE_TABSET,{node:e})}static renameTab(e,t){return new r.Action(o.RENAME_TAB,{node:e,text:t})}static selectTab(e){return new r.Action(o.SELECT_TAB,{tabNode:e})}static setActiveTabset(e){return new r.Action(o.SET_ACTIVE_TABSET,{tabsetNode:e})}static adjustSplit(e){const t=e.node1Id,n=e.node2Id;return new r.Action(o.ADJUST_SPLIT,{node1:t,weight1:e.weight1,pixelWidth1:e.pixelWidth1,node2:n,weight2:e.weight2,pixelWidth2:e.pixelWidth2})}static adjustBorderSplit(e,t){return new r.Action(o.ADJUST_BORDER_SPLIT,{node:e,pos:t})}static maximizeToggle(e){return new r.Action(o.MAXIMIZE_TOGGLE,{node:e})}static updateModelAttributes(e){return new r.Action(o.UPDATE_MODEL_ATTRIBUTES,{json:e})}static updateNodeAttributes(e,t){return new r.Action(o.UPDATE_NODE_ATTRIBUTES,{node:e,json:t})}static floatTab(e){return new r.Action(o.FLOAT_TAB,{node:e})}static unFloatTab(e){return new r.Action(o.UNFLOAT_TAB,{node:e})}}t.Actions=o,o.ADD_NODE="FlexLayout_AddNode",o.MOVE_NODE="FlexLayout_MoveNode",o.DELETE_TAB="FlexLayout_DeleteTab",o.DELETE_TABSET="FlexLayout_DeleteTabset",o.RENAME_TAB="FlexLayout_RenameTab",o.SELECT_TAB="FlexLayout_SelectTab",o.SET_ACTIVE_TABSET="FlexLayout_SetActiveTabset",o.ADJUST_SPLIT="FlexLayout_AdjustSplit",o.ADJUST_BORDER_SPLIT="FlexLayout_AdjustBorderSplit",o.MAXIMIZE_TOGGLE="FlexLayout_MaximizeToggle",o.UPDATE_MODEL_ATTRIBUTES="FlexLayout_UpdateModelAttributes",o.UPDATE_NODE_ATTRIBUTES="FlexLayout_UpdateNodeAttributes",o.FLOAT_TAB="FlexLayout_FloatTab",o.UNFLOAT_TAB="FlexLayout_UnFloatTab"},74268:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BorderNode=void 0;const r=n(17029),o=n(58267),i=n(40232),a=n(5748),s=n(13380),l=n(10807),c=n(24115),u=n(70089),f=n(90191),d=n(46677),p=n(52968);class h extends u.Node{static _fromJson(e,t){const n=i.DockLocation.getByName(e.location),r=new h(n,e,t);return e.children&&(r._children=e.children.map((e=>{const n=d.TabNode._fromJson(e,t);return n._setParent(r),n}))),r}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("type",h.TYPE,!0).setType(r.Attribute.STRING).setFixed(),e.add("selected",-1).setType(r.Attribute.NUMBER),e.add("show",!0).setType(r.Attribute.BOOLEAN),e.add("config",void 0).setType("any"),e.addInherited("barSize","borderBarSize").setType(r.Attribute.NUMBER),e.addInherited("enableDrop","borderEnableDrop").setType(r.Attribute.BOOLEAN),e.addInherited("className","borderClassName").setType(r.Attribute.STRING),e.addInherited("autoSelectTabWhenOpen","borderAutoSelectTabWhenOpen").setType(r.Attribute.BOOLEAN),e.addInherited("autoSelectTabWhenClosed","borderAutoSelectTabWhenClosed").setType(r.Attribute.BOOLEAN),e.addInherited("size","borderSize").setType(r.Attribute.NUMBER),e.addInherited("minSize","borderMinSize").setType(r.Attribute.NUMBER),e.addInherited("enableAutoHide","borderEnableAutoHide").setType(r.Attribute.BOOLEAN),e}constructor(e,t,n){super(n),this._adjustedSize=0,this._calculatedBorderBarSize=0,this._location=e,this._drawChildren=[],this._attributes.id=`border_${e.getName()}`,h._attributeDefinitions.fromJson(t,this._attributes),n._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){const t=this._getAttr("barSize");this._calculatedBorderBarSize=0!==t?t:e.borderBarSize}getBorderBarSize(){return this._calculatedBorderBarSize}getSize(){const e=this._getAttr("size"),t=this.getSelected();if(-1===t)return e;{const n=this._children[t],r=this._location._orientation===s.Orientation.HORZ?n._getAttr("borderWidth"):n._getAttr("borderHeight");return-1===r?e:r}}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){const t=this.getSelected();if(-1===t)this._attributes.size=e;else{const n=this._children[t];-1===(this._location._orientation===s.Orientation.HORZ?n._getAttr("borderWidth"):n._getAttr("borderHeight"))?this._attributes.size=e:this._location._orientation===s.Orientation.HORZ?n._setBorderWidth(e):n._setBorderHeight(e)}}_updateAttrs(e){h._attributeDefinitions.update(e,this._attributes)}_getDrawChildren(){return this._drawChildren}_setAdjustedSize(e){this._adjustedSize=e}_getAdjustedSize(){return this._adjustedSize}_layoutBorderOuter(e,t){this.calcBorderBarSize(t);const n=this._location.split(e,this.getBorderBarSize());return this._tabHeaderRect=n.start,n.end}_layoutBorderInner(e,t){this._drawChildren=[];const n=this._location,r=n.split(e,this._adjustedSize+this._model.getSplitterSize()),o=n.reflect().split(r.start,this._model.getSplitterSize());this._contentRect=o.end;for(let e=0;e0){let e=this._children[0],n=e.getTabRect();const i=n.y,s=n.height;let u=this._tabHeaderRect.x,f=0;for(let d=0;d=u&&t0){let e=this._children[0],t=e.getTabRect();const i=t.x,s=t.width;let u=this._tabHeaderRect.y,f=0;for(let d=0;d=u&&n0&&n--;let a=n;-1===a&&(a=this._children.length),e.getType()===d.TabNode.TYPE&&this._addChild(e,a),(r||!1!==r&&this.isAutoSelectTab())&&this._setSelected(a),this._model._tidy()}toJson(){const e={};return h._attributeDefinitions.toJson(e,this._attributes),e.location=this._location.getName(),e.children=this._children.map((e=>e.toJson())),e}_getSplitterBounds(e,t=!1){const n=[0,0],r=t?this.getMinSize():0,o=this._model._getOuterInnerRects().outer,a=this._model._getOuterInnerRects().inner,s=this._model.getRoot();return this._location===i.DockLocation.TOP?(n[0]=o.y+r,n[1]=Math.max(n[0],a.getBottom()-e.getHeight()-s.getMinHeight())):this._location===i.DockLocation.LEFT?(n[0]=o.x+r,n[1]=Math.max(n[0],a.getRight()-e.getWidth()-s.getMinWidth())):this._location===i.DockLocation.BOTTOM?(n[1]=o.getBottom()-e.getHeight()-r,n[0]=Math.min(n[1],a.y+s.getMinHeight())):this._location===i.DockLocation.RIGHT&&(n[1]=o.getRight()-e.getWidth()-r,n[0]=Math.min(n[1],a.x+s.getMinWidth())),n}_calculateSplit(e,t){const n=this._getSplitterBounds(e);return this._location===i.DockLocation.BOTTOM||this._location===i.DockLocation.RIGHT?Math.max(0,n[1]-t):Math.max(0,t-n[0])}_getAttributeDefinitions(){return h._attributeDefinitions}static getAttributeDefinitions(){return h._attributeDefinitions}}t.BorderNode=h,h.TYPE="border",h._attributeDefinitions=h._createAttributeDefinitions()},1073:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BorderSet=void 0;const r=n(13380),o=n(74268);class i{static _fromJson(e,t){const n=new i(t);return n._borders=e.map((e=>o.BorderNode._fromJson(e,t))),n}constructor(e){this._model=e,this._borders=[]}getBorders(){return this._borders}_forEachNode(e){for(const t of this._borders){e(t,0);for(const n of t.getChildren())n._forEachNode(e,1)}}_toJson(){return this._borders.map((e=>e.toJson()))}_layoutBorder(e,t){const n=e.outer,o=this._model.getRoot();let i=Math.max(0,n.height-o.getMinHeight()),a=Math.max(0,n.width-o.getMinWidth()),s=0,l=0,c=0,u=0;const f=this._borders.filter((e=>e.isShowing()));for(const e of f){e._setAdjustedSize(e.getSize());const t=-1!==e.getSelected();e.getLocation().getOrientation()===r.Orientation.HORZ?(l+=e.getBorderBarSize(),t&&(a-=this._model.getSplitterSize(),l+=e.getSize(),u+=e.getSize())):(s+=e.getBorderBarSize(),t&&(i-=this._model.getSplitterSize(),s+=e.getSize(),c+=e.getSize()))}let d=0,p=!1;for(;l>a&&u>0||s>i&&c>0;){const e=f[d];if(-1!==e.getSelected()){const t=e._getAdjustedSize();l>a&&u>0&&e.getLocation().getOrientation()===r.Orientation.HORZ&&t>0&&t>e.getMinSize()?(e._setAdjustedSize(t-1),l--,u--,p=!0):s>i&&c>0&&e.getLocation().getOrientation()===r.Orientation.VERT&&t>0&&t>e.getMinSize()&&(e._setAdjustedSize(t-1),s--,c--,p=!0)}if(d=(d+1)%f.length,0===d){if(!p)break;p=!1}}for(const n of f)e.outer=n._layoutBorderOuter(e.outer,t);e.inner=e.outer;for(const n of f)e.inner=n._layoutBorderInner(e.inner,t);return e}_findDropTargetNode(e,t,n){for(const r of this._borders)if(r.isShowing()){const o=r.canDrop(e,t,n);if(void 0!==o)return o}}}t.BorderSet=i},47562:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ICloseType=void 0,function(e){e[e.Visible=1]="Visible",e[e.Always=2]="Always",e[e.Selected=3]="Selected"}(t.ICloseType||(t.ICloseType={}))},47548:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},47984:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},50161:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},46466:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Model=void 0;const r=n(17029),o=n(58267),i=n(40232),a=n(13380),s=n(10807),l=n(33076),c=n(74268),u=n(1073),f=n(50996),d=n(46677),p=n(52733),h=n(52968);class m{static fromJson(e){const t=new m;return m._attributeDefinitions.fromJson(e.global,t._attributes),e.borders&&(t._borders=u.BorderSet._fromJson(e.borders,t)),t._root=f.RowNode._fromJson(e.layout,t),t._tidy(),t}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("legacyOverflowMenu",!1).setType(r.Attribute.BOOLEAN),e.add("enableEdgeDock",!0).setType(r.Attribute.BOOLEAN),e.add("rootOrientationVertical",!1).setType(r.Attribute.BOOLEAN),e.add("marginInsets",{top:0,right:0,bottom:0,left:0}).setType("IInsets"),e.add("enableUseVisibility",!1).setType(r.Attribute.BOOLEAN),e.add("enableRotateBorderIcons",!0).setType(r.Attribute.BOOLEAN),e.add("splitterSize",-1).setType(r.Attribute.NUMBER),e.add("splitterExtra",0).setType(r.Attribute.NUMBER),e.add("tabEnableClose",!0).setType(r.Attribute.BOOLEAN),e.add("tabCloseType",1).setType("ICloseType"),e.add("tabEnableFloat",!1).setType(r.Attribute.BOOLEAN),e.add("tabEnableDrag",!0).setType(r.Attribute.BOOLEAN),e.add("tabEnableRename",!0).setType(r.Attribute.BOOLEAN),e.add("tabContentClassName",void 0).setType(r.Attribute.STRING),e.add("tabClassName",void 0).setType(r.Attribute.STRING),e.add("tabIcon",void 0).setType(r.Attribute.STRING),e.add("tabEnableRenderOnDemand",!0).setType(r.Attribute.BOOLEAN),e.add("tabDragSpeed",.3).setType(r.Attribute.NUMBER),e.add("tabBorderWidth",-1).setType(r.Attribute.NUMBER),e.add("tabBorderHeight",-1).setType(r.Attribute.NUMBER),e.add("tabSetEnableDeleteWhenEmpty",!0).setType(r.Attribute.BOOLEAN),e.add("tabSetEnableDrop",!0).setType(r.Attribute.BOOLEAN),e.add("tabSetEnableDrag",!0).setType(r.Attribute.BOOLEAN),e.add("tabSetEnableDivide",!0).setType(r.Attribute.BOOLEAN),e.add("tabSetEnableMaximize",!0).setType(r.Attribute.BOOLEAN),e.add("tabSetEnableClose",!1).setType(r.Attribute.BOOLEAN),e.add("tabSetEnableSingleTabStretch",!1).setType(r.Attribute.BOOLEAN),e.add("tabSetAutoSelectTab",!0).setType(r.Attribute.BOOLEAN),e.add("tabSetClassNameTabStrip",void 0).setType(r.Attribute.STRING),e.add("tabSetClassNameHeader",void 0).setType(r.Attribute.STRING),e.add("tabSetEnableTabStrip",!0).setType(r.Attribute.BOOLEAN),e.add("tabSetHeaderHeight",0).setType(r.Attribute.NUMBER),e.add("tabSetTabStripHeight",0).setType(r.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(r.Attribute.NUMBER),e.add("tabSetMinHeight",0).setType(r.Attribute.NUMBER),e.add("borderSize",200).setType(r.Attribute.NUMBER),e.add("borderMinSize",0).setType(r.Attribute.NUMBER),e.add("borderBarSize",0).setType(r.Attribute.NUMBER),e.add("borderEnableDrop",!0).setType(r.Attribute.BOOLEAN),e.add("borderAutoSelectTabWhenOpen",!0).setType(r.Attribute.BOOLEAN),e.add("borderAutoSelectTabWhenClosed",!1).setType(r.Attribute.BOOLEAN),e.add("borderClassName",void 0).setType(r.Attribute.STRING),e.add("borderEnableAutoHide",!1).setType(r.Attribute.BOOLEAN),e}constructor(){this._borderRects={inner:s.Rect.empty(),outer:s.Rect.empty()},this._attributes={},this._idMap={},this._borders=new u.BorderSet(this),this._pointerFine=!0,this._showHiddenBorder=i.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){const t=e.getChildren()[0];return t instanceof p.TabSetNode?t:this.getFirstTabSet(t)}doAction(e){let t;switch(e.type){case l.Actions.ADD_NODE:{const n=new d.TabNode(this,e.data.json,!0),r=this._idMap[e.data.toNode];(r instanceof p.TabSetNode||r instanceof c.BorderNode||r instanceof f.RowNode)&&(r.drop(n,i.DockLocation.getByName(e.data.location),e.data.index,e.data.select),t=n);break}case l.Actions.MOVE_NODE:{const t=this._idMap[e.data.fromNode];if(t instanceof d.TabNode||t instanceof p.TabSetNode){const n=this._idMap[e.data.toNode];(n instanceof p.TabSetNode||n instanceof c.BorderNode||n instanceof f.RowNode)&&n.drop(t,i.DockLocation.getByName(e.data.location),e.data.index,e.data.select)}break}case l.Actions.DELETE_TAB:{const t=this._idMap[e.data.node];t instanceof d.TabNode&&t._delete();break}case l.Actions.DELETE_TABSET:{const t=this._idMap[e.data.node];if(t instanceof p.TabSetNode){const e=[...t.getChildren()];for(let t=0;tthis._idMap[e.getId()]=e))}_adjustSplitSide(e,t,n){e._setWeight(t),null!=e.getWidth()&&e.getOrientation()===a.Orientation.VERT?e._updateAttrs({width:n}):null!=e.getHeight()&&e.getOrientation()===a.Orientation.HORZ&&e._updateAttrs({height:n})}toJson(){const e={};return m._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){const t=e.getId();if(void 0!==this._idMap[t])throw new Error(`Error: each node must have a unique id, duplicate id:${e.getId()}`);"splitter"!==e.getType()&&(this._idMap[t]=e)}_layout(e,t){var n;return this._borderRects=this._borders._layoutBorder({outer:e,inner:e},t),e=this._borderRects.inner.removeInsets(this._getAttribute("marginInsets")),null===(n=this._root)||void 0===n||n.calcMinSize(),this._root._layout(e,t),e}_findDropTargetNode(e,t,n){let r=this._root._findDropTargetNode(e,t,n);return void 0===r&&(r=this._borders._findDropTargetNode(e,t,n)),r}_tidy(){this._root._tidy()}_updateAttrs(e){m._attributeDefinitions.update(e,this._attributes)}_nextUniqueId(){return"#"+(0,h.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(m._attributeDefinitions.toTypescriptInterface("Global",void 0)),console.log(f.RowNode.getAttributeDefinitions().toTypescriptInterface("Row",m._attributeDefinitions)),console.log(p.TabSetNode.getAttributeDefinitions().toTypescriptInterface("TabSet",m._attributeDefinitions)),console.log(d.TabNode.getAttributeDefinitions().toTypescriptInterface("Tab",m._attributeDefinitions)),console.log(c.BorderNode.getAttributeDefinitions().toTypescriptInterface("Border",m._attributeDefinitions))}toString(){return JSON.stringify(this.toJson())}}t.Model=m,m._attributeDefinitions=m._createAttributeDefinitions()},70089:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Node=void 0;const r=n(40232),o=n(13380),i=n(10807);t.Node=class{constructor(e){this._dirty=!1,this._tempSize=0,this._model=e,this._attributes={},this._children=[],this._fixed=!1,this._rect=i.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()?o.Orientation.VERT:o.Orientation.HORZ:o.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){const n=this._getAttributeDefinitions().getModelName(e);void 0!==n&&(t=this._model._getAttribute(n))}return t}_forEachNode(e,t){e(this,t),t++;for(const n of this._children)n._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,n){let r;if(this._rect.contains(t,n))if(void 0!==this._model.getMaximizedTabset())r=this._model.getMaximizedTabset().canDrop(e,t,n);else if(r=this.canDrop(e,t,n),void 0===r&&0!==this._children.length)for(const o of this._children)if(r=o._findDropTargetNode(e,t,n),void 0!==r)break;return r}canDrop(e,t,n){}_canDockInto(e,t){if(null!=t){if(t.location===r.DockLocation.CENTER&&!1===t.node.isEnableDrop())return!1;if(t.location===r.DockLocation.CENTER&&"tabset"===e.getType()&&void 0!==e.getName())return!1;if(t.location!==r.DockLocation.CENTER&&!1===t.node.isEnableDivide())return!1;if(this._model._getOnAllowDrop())return this._model._getOnAllowDrop()(e,t)}return!0}_removeChild(e){const 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,"\t")}}},50996:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RowNode=void 0;const r=n(17029),o=n(58267),i=n(40232),a=n(5748),s=n(13380),l=n(10807),c=n(24115),u=n(74268),f=n(70089),d=n(90191),p=n(52733);class h extends f.Node{static _fromJson(e,t){const n=new h(t,e);if(null!=e.children)for(const r of e.children)if(r.type===p.TabSetNode.TYPE){const e=p.TabSetNode._fromJson(r,t);n._addChild(e)}else{const e=h._fromJson(r,t);n._addChild(e)}return n}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("type",h.TYPE,!0).setType(r.Attribute.STRING).setFixed(),e.add("id",void 0).setType(r.Attribute.STRING),e.add("weight",100).setType(r.Attribute.NUMBER),e.add("width",void 0).setType(r.Attribute.NUMBER),e.add("height",void 0).setType(r.Attribute.NUMBER),e}constructor(e,t){super(e),this._dirty=!0,this._drawChildren=[],this._minHeight=0,this._minWidth=0,h._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);const n=this._rect._getSize(this.getOrientation());let r=0,o=0,i=0,a=0;const c=this._getDrawChildren();for(const e of c){const t=e._getPrefSize(this.getOrientation());e._isFixed()?void 0!==t&&(o+=t):void 0===t?r+=e.getWeight():(i+=t,a+=e.getWeight())}let u=!1,f=n-o-i;f<0&&(f=n-o,u=!0,r+=a);let p=0,h=0;for(const e of c){const t=e._getPrefSize(this.getOrientation());if(e._isFixed())void 0!==t&&e._setTempSize(t);else if(null==t||u){if(0===r)e._setTempSize(0);else{const t=e.getMinSize(this.getOrientation()),n=Math.floor(f*(e.getWeight()/r));e._setTempSize(Math.max(t,n))}h+=e._getTempSize()}else e._setTempSize(t);p+=e._getTempSize()}if(h>0){for(;pn;){let e=!1;for(const t of c)if(!(t instanceof d.SplitterNode)){const r=t.getMinSize(this.getOrientation());t._getTempSize()>r&&p>n&&(t._setTempSize(t._getTempSize()-1),p--,e=!0)}if(!e)break}for(;p>n;){let e=!1;for(const t of c)if(!(t instanceof d.SplitterNode)){t._getTempSize()>0&&p>n&&(t._setTempSize(t._getTempSize()-1),p--,e=!0)}if(!e)break}}let m=0;for(const e of c)this.getOrientation()===s.Orientation.HORZ?e._layout(new l.Rect(this._rect.x+m,this._rect.y,e._getTempSize(),this._rect.height),t):e._layout(new l.Rect(this._rect.x,this._rect.y+m,this._rect.width,e._getTempSize()),t),m+=e._getTempSize();return!0}_getSplitterBounds(e,t=!1){const n=[0,0],r=this._getDrawChildren(),o=r.indexOf(e),i=r[o-1],a=r[o+1];if(this.getOrientation()===s.Orientation.HORZ){const r=t?i.getMinWidth():0,o=t?a.getMinWidth():0;n[0]=i.getRect().x+r,n[1]=a.getRect().getRight()-e.getWidth()-o}else{const r=t?i.getMinHeight():0,o=t?a.getMinHeight():0;n[0]=i.getRect().y+r,n[1]=a.getRect().getBottom()-e.getHeight()-o}return n}_calculateSplit(e,t){let n;const r=this._getDrawChildren(),o=r.indexOf(e),i=this._getSplitterBounds(e),a=r[o-1].getWeight()+r[o+1].getWeight(),s=Math.max(0,t-i[0]),l=Math.max(0,i[1]-t);if(s+l>0){const e=s*a/(s+l),t=l*a/(s+l);n={node1Id:r[o-1].getId(),weight1:e,pixelWidth1:s,node2Id:r[o+1].getId(),weight2:t,pixelWidth2:l}}return n}_getDrawChildren(){if(this._dirty){this._drawChildren=[];for(let e=0;el/2-u&&rthis._rect.getRight()-10&&r>l/2-u&&rs/2-u&&othis._rect.getBottom()-10&&o>s/2-u&&oe+t.getWeight()),0);0===s&&(s=100),a._setWeight(s/3);const l=!this._model.isRootOrientationVertical();if(l&&r===i.DockLocation.LEFT||!l&&r===i.DockLocation.TOP)this._addChild(a,0);else if(l&&r===i.DockLocation.RIGHT||!l&&r===i.DockLocation.BOTTOM)this._addChild(a);else if(l&&r===i.DockLocation.TOP||!l&&r===i.DockLocation.LEFT){const e=new h(this._model,{}),t=new h(this._model,{});t._setWeight(75),a._setWeight(25);for(const e of this._children)t._addChild(e);this._removeAll(),e._addChild(a),e._addChild(t),this._addChild(e)}else if(l&&r===i.DockLocation.BOTTOM||!l&&r===i.DockLocation.RIGHT){const e=new h(this._model,{}),t=new h(this._model,{});t._setWeight(75),a._setWeight(25);for(const e of this._children)t._addChild(e);this._removeAll(),e._addChild(t),e._addChild(a),this._addChild(e)}this._model._setActiveTabset(a),this._model._tidy()}toJson(){const e={};h._attributeDefinitions.toJson(e,this._attributes),e.children=[];for(const t of this._children)e.children.push(t.toJson());return e}isEnableDrop(){return!0}_getPrefSize(e){let t=this.getWidth();return e===s.Orientation.VERT&&(t=this.getHeight()),t}_getAttributeDefinitions(){return h._attributeDefinitions}_updateAttrs(e){h._attributeDefinitions.update(e,this._attributes)}static getAttributeDefinitions(){return h._attributeDefinitions}}t.RowNode=h,h.TYPE="row",h._attributeDefinitions=h._createAttributeDefinitions()},90191:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SplitterNode=void 0;const r=n(58267),o=n(13380),i=n(70089);class a extends i.Node{constructor(e){super(e),this._fixed=!0,this._attributes.type=a.TYPE,e._addNode(this)}getWidth(){return this._model.getSplitterSize()}getMinWidth(){return this.getOrientation()===o.Orientation.VERT?this._model.getSplitterSize():0}getHeight(){return this._model.getSplitterSize()}getMinHeight(){return this.getOrientation()===o.Orientation.HORZ?this._model.getSplitterSize():0}getMinSize(e){return e===o.Orientation.HORZ?this.getMinWidth():this.getMinHeight()}getWeight(){return 0}_setWeight(e){}_getPrefSize(e){return this._model.getSplitterSize()}_updateAttrs(e){}_getAttributeDefinitions(){return new r.AttributeDefinitions}toJson(){}}t.SplitterNode=a,a.TYPE="splitter"},46677:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabNode=void 0;const r=n(17029),o=n(58267),i=n(70089);class a extends i.Node{static _fromJson(e,t,n=!0){return new a(t,e,n)}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("type",a.TYPE,!0).setType(r.Attribute.STRING),e.add("id",void 0).setType(r.Attribute.STRING),e.add("name","[Unnamed Tab]").setType(r.Attribute.STRING),e.add("altName",void 0).setType(r.Attribute.STRING),e.add("helpText",void 0).setType(r.Attribute.STRING),e.add("component",void 0).setType(r.Attribute.STRING),e.add("config",void 0).setType("any"),e.add("floating",!1).setType(r.Attribute.BOOLEAN),e.add("tabsetClassName",void 0).setType(r.Attribute.STRING),e.addInherited("enableClose","tabEnableClose").setType(r.Attribute.BOOLEAN),e.addInherited("closeType","tabCloseType").setType("ICloseType"),e.addInherited("enableDrag","tabEnableDrag").setType(r.Attribute.BOOLEAN),e.addInherited("enableRename","tabEnableRename").setType(r.Attribute.BOOLEAN),e.addInherited("className","tabClassName").setType(r.Attribute.STRING),e.addInherited("contentClassName","tabContentClassName").setType(r.Attribute.STRING),e.addInherited("icon","tabIcon").setType(r.Attribute.STRING),e.addInherited("enableRenderOnDemand","tabEnableRenderOnDemand").setType(r.Attribute.BOOLEAN),e.addInherited("enableFloat","tabEnableFloat").setType(r.Attribute.BOOLEAN),e.addInherited("borderWidth","tabBorderWidth").setType(r.Attribute.NUMBER),e.addInherited("borderHeight","tabBorderHeight").setType(r.Attribute.NUMBER),e}constructor(e,t,n=!0){super(e),this._extra={},a._attributeDefinitions.fromJson(t,this._attributes),!0===n&&e._addNode(this)}getWindow(){return this._window}getTabRect(){return this._tabRect}_setTabRect(e){this._tabRect=e}_setRenderedName(e){this._renderedName=e}_getNameForOverflowMenu(){const 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(){const e={};return a._attributeDefinitions.toJson(e,this._attributes),e}_updateAttrs(e){a._attributeDefinitions.update(e,this._attributes)}_getAttributeDefinitions(){return a._attributeDefinitions}_setWindow(e){this._window=e}_setBorderWidth(e){this._attributes.borderWidth=e}_setBorderHeight(e){this._attributes.borderHeight=e}static getAttributeDefinitions(){return a._attributeDefinitions}}t.TabNode=a,a.TYPE="tab",a._attributeDefinitions=a._createAttributeDefinitions()},52733:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabSetNode=void 0;const r=n(17029),o=n(58267),i=n(40232),a=n(5748),s=n(13380),l=n(10807),c=n(24115),u=n(74268),f=n(70089),d=n(50996),p=n(46677),h=n(52968);class m extends f.Node{static _fromJson(e,t){const n=new m(t,e);if(null!=e.children)for(const r of e.children){const e=p.TabNode._fromJson(r,t);n._addChild(e)}return 0===n._children.length&&n._setSelected(-1),e.maximized&&!0===e.maximized&&t._setMaximizedTabset(n),e.active&&!0===e.active&&t._setActiveTabset(n),n}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("type",m.TYPE,!0).setType(r.Attribute.STRING).setFixed(),e.add("id",void 0).setType(r.Attribute.STRING),e.add("weight",100).setType(r.Attribute.NUMBER),e.add("width",void 0).setType(r.Attribute.NUMBER),e.add("height",void 0).setType(r.Attribute.NUMBER),e.add("selected",0).setType(r.Attribute.NUMBER),e.add("name",void 0).setType(r.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(r.Attribute.BOOLEAN),e}constructor(e,t){super(e),m._attributeDefinitions.fromJson(t,this._attributes),e._addNode(this),this._calculatedTabBarHeight=0,this._calculatedHeaderBarHeight=0}getName(){return this._getAttr("name")}getSelected(){const e=this._attributes.selected;return void 0!==e?e:-1}getSelectedNode(){const 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===s.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){const t=this._getAttr("headerHeight");this._calculatedHeaderBarHeight=0!==t?t:e.headerBarSize}calculateTabBarHeight(e){const t=this._getAttr("tabStripHeight");this._calculatedTabBarHeight=0!==t?t: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,n){let r;if(e===this){const e=i.DockLocation.CENTER,t=this._tabHeaderRect;r=new a.DropInfo(this,t,e,-1,c.CLASSES.FLEXLAYOUT__OUTLINE_RECT)}else if(this._contentRect.contains(t,n)){let e=i.DockLocation.CENTER;void 0===this._model.getMaximizedTabset()&&(e=i.DockLocation.getLocation(this._contentRect,t,n));const o=e.getDockRect(this._rect);r=new a.DropInfo(this,o,e,-1,c.CLASSES.FLEXLAYOUT__OUTLINE_RECT)}else if(null!=this._tabHeaderRect&&this._tabHeaderRect.contains(t,n)){let e,n,o;if(0===this._children.length)e=this._tabHeaderRect.clone(),n=e.y+3,o=e.height-4,e.width=2;else{let s=this._children[0];e=s.getTabRect(),n=e.y,o=e.height;let u=this._tabHeaderRect.x,f=0;for(let d=0;d=u&&t0&&n--,o===i.DockLocation.CENTER){let t=n;if(-1===t&&(t=this._children.length),e.getType()===p.TabNode.TYPE)this._addChild(e,t),(r||!1!==r&&this.isAutoSelectTab())&&this._setSelected(t);else{for(let n=0;n0&&this._setSelected(0)}this._model._setActiveTabset(this)}else{let t;if(e instanceof p.TabNode){const n=this._model._getOnCreateTabSet();t=new m(this._model,n?n(e):{}),t._addChild(e),a=t}else t=e;const n=this._parent,r=n.getChildren().indexOf(this);if(n.getOrientation()===o._orientation)t._setWeight(this.getWeight()/2),this._setWeight(this.getWeight()/2),n._addChild(t,r+o._indexPlus);else{const e=new d.RowNode(this._model,{});e._setWeight(this.getWeight()),e._addChild(this),this._setWeight(50),t._setWeight(50),e._addChild(t,o._indexPlus),n._removeChild(this),n._addChild(e,r)}this._model._setActiveTabset(t)}this._model._tidy()}toJson(){const e={};return m._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){m._attributeDefinitions.update(e,this._attributes)}_getAttributeDefinitions(){return m._attributeDefinitions}_getPrefSize(e){let t=this.getWidth();return e===s.Orientation.VERT&&(t=this.getHeight()),t}static getAttributeDefinitions(){return m._attributeDefinitions}}t.TabSetNode=m,m.TYPE="tabset",m._attributeDefinitions=m._createAttributeDefinitions()},52968:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.randomUUID=t.adjustSelectedIndex=t.adjustSelectedIndexAfterDock=t.adjustSelectedIndexAfterFloat=void 0;const r=n(52733),o=n(74268);t.adjustSelectedIndexAfterFloat=function(e){const t=e.getParent();if(null!==t)if(t instanceof r.TabSetNode){let n=!1,r=0;const o=t.getChildren();for(let t=0;t0?t>=e.getChildren().length&&e._setSelected(e.getChildren().length-1):tn||e._setSelected(-1))}},t.randomUUID=function(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}},55821:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BorderButton=void 0;const r=n(36198),o=n(25551),i=n(33076),a=n(10807),s=n(47562),l=n(24115),c=n(14592);t.BorderButton=e=>{const{layout:t,node:n,selected:u,border:f,iconFactory:d,titleFactory:p,icons:h,path:m}=e,g=r.useRef(null),y=r.useRef(null),v=e=>{(0,c.isAuxMouseEvent)(e)||t.getEditingTab()||t.dragStart(e,void 0,n,n.isEnableDrag(),O,w)},b=e=>{(0,c.isAuxMouseEvent)(e)&&t.auxMouseClick(n,e)},O=()=>{t.doAction(i.Actions.selectTab(n.getId()))},w=e=>{},S=e=>{(()=>{const e=n.getCloseType();return!!(u||e===s.ICloseType.Always||e===s.ICloseType.Visible&&window.matchMedia&&window.matchMedia("(hover: hover) and (pointer: fine)").matches)})()?t.doAction(i.Actions.deleteTab(n.getId())):O()},x=e=>{e.stopPropagation()};r.useLayoutEffect((()=>{E(),t.getEditingTab()===n&&y.current.select()}));const E=()=>{var e;const r=t.getDomRect(),o=null===(e=g.current)||void 0===e?void 0:e.getBoundingClientRect();o&&r&&n._setTabRect(new a.Rect(o.left-r.left,o.top-r.top,o.width,o.height))},_=e=>{e.stopPropagation()},P=e=>{"Escape"===e.code?t.setEditingTab(void 0):"Enter"===e.code&&(t.setEditingTab(void 0),t.doAction(i.Actions.renameTab(n.getId(),e.target.value)))},T=t.getClassName;let j=T(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON)+" "+T(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON_+f);j+=u?" "+T(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON__SELECTED):" "+T(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON__UNSELECTED),void 0!==n.getClassName()&&(j+=" "+n.getClassName());let C=0;!1===n.getModel().isEnableRotateBorderIcons()&&("left"===f?C=90:"right"===f&&(C=-90));const k=(0,c.getRenderStateEx)(t,n,d,p,C);let A=k.content?r.createElement("div",{className:T(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON_CONTENT)},k.content):null;const D=k.leading?r.createElement("div",{className:T(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON_LEADING)},k.leading):null;if(t.getEditingTab()===n&&(A=r.createElement("input",{ref:y,className:T(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_TEXTBOX),"data-layout-path":m+"/textbox",type:"text",autoFocus:!0,defaultValue:n.getName(),onKeyDown:P,onMouseDown:_,onTouchStart:_})),n.isEnableClose()){const e=t.i18nName(o.I18nLabel.Close_Tab);k.buttons.push(r.createElement("div",{key:"close","data-layout-path":m+"/button/close",title:e,className:T(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON_TRAILING),onMouseDown:x,onClick:S,onTouchStart:x},"function"==typeof h.close?h.close(n):h.close))}return r.createElement("div",{ref:g,"data-layout-path":m,className:j,onMouseDown:v,onClick:b,onAuxClick:b,onContextMenu:e=>{t.showContextMenu(n,e)},onTouchStart:v,title:n.getHelpText()},D,A,k.buttons)}},9715:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BorderTabSet=void 0;const r=n(36198),o=n(40232),i=n(55821),a=n(40031),s=n(33076),l=n(25551),c=n(1680),u=n(13380),f=n(24115),d=n(14592);t.BorderTabSet=e=>{const{border:t,layout:n,iconFactory:p,titleFactory:h,icons:m,path:g}=e,y=r.useRef(null),v=r.useRef(null),b=r.useRef(null),{selfRef:O,position:w,userControlledLeft:S,hiddenTabs:x,onMouseWheel:E,tabsTruncated:_}=(0,c.useTabOverflow)(t,u.Orientation.flip(t.getOrientation()),y,b),P=e=>{(0,d.isAuxMouseEvent)(e)&&n.auxMouseClick(t,e)},T=e=>{e.stopPropagation()},j=e=>{const r=n.getShowOverflowMenu();if(void 0!==r)r(t,e,x,C);else{const e=v.current;(0,a.showPopup)(e,x,C,n,p,h)}e.stopPropagation()},C=e=>{n.doAction(s.Actions.selectTab(e.node.getId())),S.current=!1},k=e=>{const r=t.getChildren()[t.getSelected()];void 0!==r&&n.doAction(s.Actions.floatTab(r.getId())),e.stopPropagation()},A=n.getClassName;let D=t.getTabHeaderRect().styleWithPosition({});const L=[],R=e=>{let o=t.getSelected()===e,a=t.getChildren()[e];L.push(r.createElement(i.BorderButton,{layout:n,border:t.getLocation().getName(),node:a,path:g+"/tb"+e,key:a.getId(),selected:o,iconFactory:p,titleFactory:h,icons:m})),e0&&(_?I=[...N,...I]:L.push(r.createElement("div",{ref:b,key:"sticky_buttons_container",onMouseDown:T,onTouchStart:T,onDragStart:e=>{e.preventDefault()},className:A(f.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_STICKY_BUTTONS_CONTAINER)},N))),x.length>0){const e=n.i18nName(l.I18nLabel.Overflow_Menu_Tooltip);let o;o="function"==typeof m.more?m.more(t,x):r.createElement(r.Fragment,null,m.more,r.createElement("div",{className:A(f.CLASSES.FLEXLAYOUT__TAB_BUTTON_OVERFLOW_COUNT)},x.length)),I.splice(Math.min(B.overflowPosition,I.length),0,r.createElement("button",{key:"overflowbutton",ref:v,className:A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW_+t.getLocation().getName()),title:e,onClick:j,onMouseDown:T,onTouchStart:T},o))}const $=t.getSelected();if(-1!==$){const e=t.getChildren()[$];if(void 0!==e&&n.isSupportsPopout()&&e.isEnableFloat()&&!e.isFloating()){const t=n.i18nName(l.I18nLabel.Float_Tab);I.push(r.createElement("button",{key:"float",title:t,className:A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_FLOAT),onClick:k,onMouseDown:T,onTouchStart:T},"function"==typeof m.popout?m.popout(e):m.popout))}}const F=r.createElement("div",{key:"toolbar",ref:y,className:A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_+t.getLocation().getName())},I);D=n.styleFont(D);let z={};const Q=t.getBorderBarSize()-1;return z=t.getLocation()===o.DockLocation.LEFT?{right:Q,height:Q,top:w}:t.getLocation()===o.DockLocation.RIGHT?{left:Q,height:Q,top:w}:{height:Q,left:w},r.createElement("div",{ref:O,dir:"ltr",style:D,className:M,"data-layout-path":g,onClick:P,onAuxClick:P,onContextMenu:e=>{n.showContextMenu(t,e)},onWheel:E},r.createElement("div",{style:{height:Q},className:A(f.CLASSES.FLEXLAYOUT__BORDER_INNER)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_INNER_+t.getLocation().getName())},r.createElement("div",{style:z,className:A(f.CLASSES.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER_+t.getLocation().getName())},L)),F)}},86180:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorBoundary=void 0;const r=n(36198),o=n(24115);class i extends r.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?r.createElement("div",{className:o.CLASSES.FLEXLAYOUT__ERROR_BOUNDARY_CONTAINER},r.createElement("div",{className:o.CLASSES.FLEXLAYOUT__ERROR_BOUNDARY_CONTENT},this.props.message)):this.props.children}}t.ErrorBoundary=i},67868:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingWindow=void 0;const r=n(36198),o=n(18348),i=n(10807),a=n(24115);t.FloatingWindow=e=>{const{title:t,id:n,url:s,rect:l,onCloseWindow:c,onSetWindow:u,children:f}=e,d=r.useRef(null),p=r.useRef(null),[h,m]=r.useState(void 0);return r.useLayoutEffect((()=>{p.current&&clearTimeout(p.current);let e=!0;const r=l||new i.Rect(0,0,100,100),o=Array.from(window.document.styleSheets).reduce(((e,t)=>{let n;try{n=t.cssRules}catch(e){}try{return[...e,{href:t.href,type:t.type,rules:n?Array.from(n).map((e=>e.cssText)):null}]}catch(t){return e}}),[]);return d.current=window.open(s,n,`left=${r.x},top=${r.y},width=${r.width},height=${r.height}`),null!==d.current?(u(n,d.current),window.addEventListener("beforeunload",(()=>{d.current&&(d.current.close(),d.current=null)})),d.current.addEventListener("load",(()=>{if(e){const e=d.current.document;e.title=t;const r=e.createElement("div");r.className=a.CLASSES.FLEXLAYOUT__FLOATING_WINDOW_CONTENT,e.body.appendChild(r),function(e,t){const n=e.head,r=[];for(const o of t)if(o.href){const t=e.createElement("link");t.type=o.type,t.rel="stylesheet",t.href=o.href,n.appendChild(t),r.push(new Promise((e=>{t.onload=()=>e(!0)})))}else if(o.rules){const t=e.createElement("style");for(const n of o.rules)t.appendChild(e.createTextNode(n));n.appendChild(t)}return Promise.all(r)}(e,o).then((()=>{m(r)})),d.current.addEventListener("beforeunload",(()=>{c(n)}))}}))):(console.warn(`Unable to open window ${s}`),c(n)),()=>{e=!1,p.current=setTimeout((()=>{d.current&&(d.current.close(),d.current=null)}),0)}}),[]),void 0!==h?(0,o.createPortal)(f,h):null}},46538:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingWindowTab=void 0;const r=n(36198),o=n(86180),i=n(25551),a=n(36198),s=n(24115);t.FloatingWindowTab=e=>{const{layout:t,node:n,factory:l}=e,c=t.getClassName,u=l(n);return r.createElement("div",{className:c(s.CLASSES.FLEXLAYOUT__FLOATING_WINDOW_TAB)},r.createElement(o.ErrorBoundary,{message:e.layout.i18nName(i.I18nLabel.Error_rendering_component)},r.createElement(a.Fragment,null,u)))}},93281:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RestoreIcon=t.PopoutIcon=t.EdgeIcon=t.OverflowIcon=t.MaximizeIcon=t.CloseIcon=void 0;const r=n(36198),o={width:"1em",height:"1em",display:"flex",alignItems:"center"};t.CloseIcon=()=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 24 24"},r.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),r.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=()=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 24 24",fill:"var(--color-icon)"},r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),r.createElement("path",{stroke:"var(--color-icon)",d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"}));t.OverflowIcon=()=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 24 24",fill:"var(--color-icon)"},r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),r.createElement("path",{stroke:"var(--color-icon)",d:"M7 10l5 5 5-5z"}));t.EdgeIcon=()=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"block",width:10,height:10},preserveAspectRatio:"none",viewBox:"0 0 100 100"},r.createElement("path",{fill:"var(--color-edge-icon)",stroke:"var(--color-edge-icon)",d:"M10 30 L90 30 l-40 40 Z"}));t.PopoutIcon=()=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 20 20",fill:"var(--color-icon)"},r.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"}),r.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=()=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 24 24",fill:"var(--color-icon)"},r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),r.createElement("path",{stroke:"var(--color-icon)",d:"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"}))},55295:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Layout=void 0;const r=n(36198),o=n(18348),i=n(40232),a=n(30268),s=n(33076),l=n(74268),c=n(90191),u=n(46677),f=n(52733),d=n(10807),p=n(24115),h=n(9715),m=n(31996),g=n(60178),y=n(70470),v=n(67868),b=n(46538),O=n(62022),w=n(13380),S=n(93281),x=n(15797),E={close:r.createElement(S.CloseIcon,null),closeTabset:r.createElement(S.CloseIcon,null),popout:r.createElement(S.PopoutIcon,null),maximize:r.createElement(S.MaximizeIcon,null),restore:r.createElement(S.RestoreIcon,null),more:r.createElement(S.OverflowIcon,null),edgeArrow:r.createElement(S.EdgeIcon,null)},_="undefined"!=typeof window&&(window.document.documentMode||/Edge\//.test(window.navigator.userAgent)),P="undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(hover: hover) and (pointer: fine)").matches&&!_;class T extends r.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;const t=new d.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){const e=this.findHeaderBarSizeRef.current.getBoundingClientRect().height;e!==this.state.calculatedHeaderBarSize&&this.setState({calculatedHeaderBarSize:e})}if(this.findTabBarSizeRef.current){const e=this.findTabBarSizeRef.current.getBoundingClientRect().height;e!==this.state.calculatedTabBarSize&&this.setState({calculatedTabBarSize:e})}if(this.findBorderBarSizeRef.current){const 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(s.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;const n=this.selfRef.current;n&&this.dragDiv&&n.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?void 0:e.invalidated)||void 0===t||t.call(e)}catch(e){console.error(e)}a.DragDrop.instance.hideGlass(),this.newTabJson=void 0,this.customDrop=void 0},this.onCancelDrag=e=>{var t,n;if(e){const e=this.selfRef.current,r=this.outlineDiv;if(e&&r)try{e.removeChild(r)}catch(e){}const o=this.dragDiv;if(e&&o)try{e.removeChild(o)}catch(e){}this.dragDiv=void 0,this.hidePortal(),this.setState({showEdges:!1}),null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(),this.fnNewNodeDropped=void 0);try{null===(n=null===(t=this.customDrop)||void 0===t?void 0:t.invalidated)||void 0===n||n.call(t)}catch(e){console.error(e)}a.DragDrop.instance.hideGlass(),this.newTabJson=void 0,this.customDrop=void 0}this.setState({showHiddenBorder:i.DockLocation.CENTER})},this.onDragDivMouseDown=e=>{e.preventDefault(),this.dragStart(e,this.dragDivText,u.TabNode._fromJson(this.newTabJson,this.props.model,!1),!0,void 0,void 0)},this.dragStart=(e,t,n,r,o,i)=>{var s,l;r?(this.dragNode=n,this.dragDivText=t,a.DragDrop.instance.startDrag(e,this.onDragStart,this.onDragMove,this.onDragEnd,this.onCancelDrag,o,i,this.currentDocument,null!==(l=this.selfRef.current)&&void 0!==l?l:void 0)):a.DragDrop.instance.startDrag(e,void 0,void 0,void 0,void 0,o,i,this.currentDocument,null!==(s=this.selfRef.current)&&void 0!==s?s:void 0)},this.dragRectRender=(e,t,n,o)=>{let i;if(void 0!==e?i=r.createElement("div",{style:{whiteSpace:"pre"}},e.replace("
","\n")):t&&t instanceof u.TabNode&&(i=r.createElement(x.TabButtonStamp,{node:t,layout:this,iconFactory:this.props.iconFactory,titleFactory:this.props.titleFactory})),void 0!==this.props.onRenderDragRect){const e=this.props.onRenderDragRect(i,t,n);void 0!==e&&(i=e)}this.dragRectRendered=!1;const a=this.dragDiv;a&&(a.style.visibility="hidden",this.showPortal(r.createElement(j,{onRendered:()=>{this.dragRectRendered=!0,null==o||o()}},i),a))},this.showPortal=(e,t)=>{const n=(0,o.createPortal)(e,t);this.setState({portal:n})},this.hidePortal=()=>{this.setState({portal:void 0})},this.onDragStart=()=>{var e;this.dropInfo=void 0,this.customDrop=void 0;const t=this.selfRef.current;return this.outlineDiv=this.currentDocument.createElement("div"),this.outlineDiv.className=this.getClassName(p.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(p.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 u.TabNode&&void 0!==this.dragNode.getTabRect()&&(null===(e=this.dragNode.getTabRect())||void 0===e||e.positionElement(this.outlineDiv)),this.firstMove=!0,!0},this.onDragMove=e=>{var t,n,r,o,i,a,s;if(!1===this.firstMove){const 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;const l=null===(t=this.selfRef.current)||void 0===t?void 0:t.getBoundingClientRect(),c={x:e.clientX-(null!==(n=null==l?void 0:l.left)&&void 0!==n?n:0),y:e.clientY-(null!==(r=null==l?void 0:l.top)&&void 0!==r?r:0)};this.checkForBorderToShow(c.x,c.y);const u=null!==(i=null===(o=this.dragDiv)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==i?i:new DOMRect(0,0,100,100);let f=c.x-u.width/2;f+u.width>(null!==(a=null==l?void 0:l.width)&&void 0!==a?a:0)&&(f=(null!==(s=null==l?void 0:l.width)&&void 0!==s?s:0)-u.width),f=Math.max(0,f),this.dragDiv&&(this.dragDiv.style.left=f+"px",this.dragDiv.style.top=c.y+5+"px",this.dragRectRendered&&"hidden"===this.dragDiv.style.visibility&&(this.dragDiv.style.visibility="visible"));let d=this.props.model._findDropTargetNode(this.dragNode,c.x,c.y);d&&(this.props.onTabDrag?this.handleCustomTabDrag(d,c,e):(this.dropInfo=d,this.outlineDiv&&(this.outlineDiv.className=this.getClassName(d.className),d.rect.positionElement(this.outlineDiv),this.outlineDiv.style.visibility="visible")))},this.onDragEnd=e=>{const 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}),a.DragDrop.instance.hideGlass(),this.dropInfo)if(this.customDrop){this.newTabJson=void 0;try{const{callback:e,dragging:t,over:n,x:r,y:o,location:i}=this.customDrop;e(t,n,r,o,i),null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(),this.fnNewNodeDropped=void 0)}catch(e){console.error(e)}}else if(void 0!==this.newTabJson){const t=this.doAction(s.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(s.Actions.moveNode(this.dragNode.getId(),this.dropInfo.node.getId(),this.dropInfo.location,this.dropInfo.index));this.setState({showHiddenBorder:i.DockLocation.CENTER})},this.props.model._setChangeListener(this.onModelChange),this.tabIds=[],this.selfRef=r.createRef(),this.findHeaderBarSizeRef=r.createRef(),this.findTabBarSizeRef=r.createRef(),this.findBorderBarSizeRef=r.createRef(),this.supportsPopout=void 0!==e.supportsPopout?e.supportsPopout:P,this.popoutURL=e.popoutURL?e.popoutURL:"popout.html",this.icons=Object.assign(Object.assign({},E),e.icons),this.state={rect:new d.Rect(0,0,0,0),calculatedHeaderBarSize:25,calculatedTabBarSize:26,calculatedBorderBarSize:30,editingTab:void 0,showHiddenBorder:i.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){const t=this.props.onAction(e);return void 0!==t?this.props.model.doAction(t):void 0}return this.props.model.doAction(e)}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)}));const 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?void 0:e.getBoundingClientRect()}getRootDiv(){return this.selfRef.current}isSupportsPopout(){return this.supportsPopout}isRealtimeResize(){var e;return null!==(e=this.props.realtimeResize)&&void 0!==e&&e}onTabDrag(...e){var t,n;return null===(n=(t=this.props).onTabDrag)||void 0===n?void 0:n.call(t,...e)}getPopoutURL(){return this.popoutURL}componentWillUnmount(){var e;const t=this.selfRef.current;t&&(null===(e=this.resizeObserver)||void 0===e||e.unobserve(t))}setEditingTab(e){this.setState({editingTab:e})}getEditingTab(){return this.state.editingTab}render(){if(!this.selfRef.current)return r.createElement("div",{ref:this.selfRef,className:this.getClassName(p.CLASSES.FLEXLAYOUT__LAYOUT)},this.metricsElements());this.props.model._setPointerFine(window&&window.matchMedia&&window.matchMedia("(pointer: fine)").matches);const e=[],t=[],n=[],o={},i=[],a={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,a),this.renderBorder(this.props.model.getBorderSet(),e,o,n,i),this.renderChildren("",this.props.model.getRoot(),t,o,n,i);const s=[],l={};for(const e of this.tabIds)o[e]&&(s.push(e),l[e]=e);this.tabIds=s;for(const e of Object.keys(o))l[e]||this.tabIds.push(e);const c=[],u=this.icons.edgeArrow;if(this.state.showEdges){const e=this.centerRect,t=this.edgeRectLength,n=this.edgeRectWidth,o=this.edgeRectLength/2,i=this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT),a=50;c.push(r.createElement("div",{key:"North",style:{top:e.y,left:e.x+e.width/2-o,width:t,height:n,borderBottomLeftRadius:a,borderBottomRightRadius:a},className:i+" "+this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT_TOP)},r.createElement("div",{style:{transform:"rotate(180deg)"}},u))),c.push(r.createElement("div",{key:"West",style:{top:e.y+e.height/2-o,left:e.x,width:n,height:t,borderTopRightRadius:a,borderBottomRightRadius:a},className:i+" "+this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT_LEFT)},r.createElement("div",{style:{transform:"rotate(90deg)"}},u))),c.push(r.createElement("div",{key:"South",style:{top:e.y+e.height-n,left:e.x+e.width/2-o,width:t,height:n,borderTopLeftRadius:a,borderTopRightRadius:a},className:i+" "+this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT_BOTTOM)},r.createElement("div",null,u))),c.push(r.createElement("div",{key:"East",style:{top:e.y+e.height/2-o,left:e.x+e.width-n,width:n,height:t,borderTopLeftRadius:a,borderBottomLeftRadius:a},className:i+" "+this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT_RIGHT)},r.createElement("div",{style:{transform:"rotate(-90deg)"}},u)))}return r.createElement("div",{ref:this.selfRef,className:this.getClassName(p.CLASSES.FLEXLAYOUT__LAYOUT),onDragEnter:this.props.onExternalDrag?this.onDragEnter:void 0},t,this.tabIds.map((e=>o[e])),e,i,c,n,this.metricsElements(),this.state.portal)}metricsElements(){const e=this.styleFont({visibility:"hidden"});return r.createElement(r.Fragment,null,r.createElement("div",{key:"findHeaderBarSize",ref:this.findHeaderBarSizeRef,style:e,className:this.getClassName(p.CLASSES.FLEXLAYOUT__TABSET_HEADER_SIZER)},"FindHeaderBarSize"),r.createElement("div",{key:"findTabBarSize",ref:this.findTabBarSizeRef,style:e,className:this.getClassName(p.CLASSES.FLEXLAYOUT__TABSET_SIZER)},"FindTabBarSize"),r.createElement("div",{key:"findBorderBarSize",ref:this.findBorderBarSizeRef,style:e,className:this.getClassName(p.CLASSES.FLEXLAYOUT__BORDER_SIZER)},"FindBorderBarSize"))}renderBorder(e,t,n,o,i){for(const a of e.getBorders()){const e=`/border/${a.getLocation().getName()}`;if(a.isShowing()){t.push(r.createElement(h.BorderTabSet,{key:`border_${a.getLocation().getName()}`,path:e,border:a,layout:this,iconFactory:this.props.iconFactory,titleFactory:this.props.titleFactory,icons:this.icons}));const s=a._getDrawChildren();let l=0,f=0;for(const t of s){if(t instanceof c.SplitterNode){let n=e+"/s";i.push(r.createElement(m.Splitter,{key:t.getId(),layout:this,node:t,path:n}))}else if(t instanceof u.TabNode){let i=e+"/t"+f++;if(this.supportsPopout&&t.isFloating()){const e=this._getScreenRect(t),s=t._getAttr("borderWidth"),c=t._getAttr("borderHeight");e&&(-1!==s&&a.getLocation().getOrientation()===w.Orientation.HORZ?e.width=s:-1!==c&&a.getLocation().getOrientation()===w.Orientation.VERT&&(e.height=c)),o.push(r.createElement(v.FloatingWindow,{key:t.getId(),url:this.popoutURL,rect:e,title:t.getName(),id:t.getId(),onSetWindow:this.onSetWindow,onCloseWindow:this.onCloseWindow},r.createElement(b.FloatingWindowTab,{layout:this,node:t,factory:this.props.factory}))),n[t.getId()]=r.createElement(O.TabFloating,{key:t.getId(),layout:this,path:i,node:t,selected:l===a.getSelected()})}else n[t.getId()]=r.createElement(g.Tab,{key:t.getId(),layout:this,path:i,node:t,selected:l===a.getSelected(),factory:this.props.factory})}l++}}}}renderChildren(e,t,n,o,i,a){const s=t._getDrawChildren();let l=0,d=0,p=0;for(const t of s)if(t instanceof c.SplitterNode){const n=e+"/s"+l++;a.push(r.createElement(m.Splitter,{key:t.getId(),layout:this,path:n,node:t}))}else if(t instanceof f.TabSetNode){const s=e+"/ts"+p++;n.push(r.createElement(y.TabSet,{key:t.getId(),layout:this,path:s,node:t,iconFactory:this.props.iconFactory,titleFactory:this.props.titleFactory,icons:this.icons})),this.renderChildren(s,t,n,o,i,a)}else if(t instanceof u.TabNode){const n=e+"/t"+d++,a=t.getParent().getChildren()[t.getParent().getSelected()];if(void 0===a&&console.warn("undefined selectedTab should not happen"),this.supportsPopout&&t.isFloating()){const e=this._getScreenRect(t);i.push(r.createElement(v.FloatingWindow,{key:t.getId(),url:this.popoutURL,rect:e,title:t.getName(),id:t.getId(),onSetWindow:this.onSetWindow,onCloseWindow:this.onCloseWindow},r.createElement(b.FloatingWindowTab,{layout:this,node:t,factory:this.props.factory}))),o[t.getId()]=r.createElement(O.TabFloating,{key:t.getId(),layout:this,path:n,node:t,selected:t===a})}else o[t.getId()]=r.createElement(g.Tab,{key:t.getId(),layout:this,path:n,node:t,selected:t===a,factory:this.props.factory})}else{const r=e+(t.getOrientation()===w.Orientation.HORZ?"/r":"/c")+p++;this.renderChildren(r,t,n,o,i,a)}}_getScreenRect(e){var t;const n=e.getRect().clone(),r=null===(t=this.selfRef.current)||void 0===t?void 0:t.getBoundingClientRect();if(!r)return null;const o=Math.min(80,this.currentWindow.outerHeight-this.currentWindow.innerHeight),i=Math.min(80,this.currentWindow.outerWidth-this.currentWindow.innerWidth);return n.x=n.x+r.x+this.currentWindow.screenX+i,n.y=n.y+r.y+this.currentWindow.screenY+o,n}addTabToTabSet(e,t){if(void 0!==this.props.model.getNodeById(e)){return this.doAction(s.Actions.addNode(t,e,i.DockLocation.CENTER,-1))}}addTabToActiveTabSet(e){const t=this.props.model.getActiveTabset();if(void 0!==t){return this.doAction(s.Actions.addNode(e,t.getId(),i.DockLocation.CENTER,-1))}}addTabWithDragAndDrop(e,t,n){this.fnNewNodeDropped=n,this.newTabJson=t,this.dragStart(void 0,e,u.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,n){this.fnNewNodeDropped=n,this.newTabJson=t,a.DragDrop.instance.addGlass(this.onCancelAdd),this.dragDivText=e,this.dragDiv=this.currentDocument.createElement("div"),this.dragDiv.className=this.getClassName(p.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";const e=this.dragDiv.getBoundingClientRect(),t=new d.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,n){var r,o,i;let s=null===(r=this.customDrop)||void 0===r?void 0:r.invalidated;const c=null===(o=this.customDrop)||void 0===o?void 0:o.callback;this.customDrop=void 0;const h=this.newTabJson||(this.dragNode instanceof u.TabNode?this.dragNode:void 0);if(h&&(e.node instanceof f.TabSetNode||e.node instanceof l.BorderNode)&&-1===e.index){const r=e.node.getSelectedNode(),o=null==r?void 0:r.getRect();if(r&&(null==o?void 0:o.contains(t.x,t.y))){let i;try{const a=this.onTabDrag(h,r,t.x-o.x,t.y-o.y,e.location,(()=>this.onDragMove(n)));a&&(i={rect:new d.Rect(a.x+o.x,a.y+o.y,a.width,a.height),callback:a.callback,invalidated:a.invalidated,dragging:h,over:r,x:t.x-o.x,y:t.y-o.y,location:e.location,cursor:a.cursor})}catch(e){console.error(e)}(null==i?void 0:i.callback)===c&&(s=void 0),this.customDrop=i}}this.dropInfo=e,this.outlineDiv&&(this.outlineDiv.className=this.getClassName(this.customDrop?p.CLASSES.FLEXLAYOUT__OUTLINE_RECT:e.className),this.customDrop?this.customDrop.rect.positionElement(this.outlineDiv):e.rect.positionElement(this.outlineDiv)),a.DragDrop.instance.setGlassCursorOverride(null===(i=this.customDrop)||void 0===i?void 0:i.cursor),this.outlineDiv&&(this.outlineDiv.style.visibility="visible");try{null==s||s()}catch(e){console.error(e)}}onDragEnter(e){if(a.DragDrop.instance.isDragging())return;const t=this.props.onExternalDrag(e);t&&(this.fnNewNodeDropped=t.onDrop,this.newTabJson=t.json,this.dragStart(e,t.dragText,u.TabNode._fromJson(t.json,this.props.model,!1),!0,void 0,void 0))}checkForBorderToShow(e,t){const n=this.props.model._getOuterInnerRects().outer,r=n.getCenter(),o=this.edgeRectWidth,a=this.edgeRectLength/2;let s=!1;this.props.model.isEnableEdgeDock()&&this.state.showHiddenBorder===i.DockLocation.CENTER&&(t>r.y-a&&tr.x-a&&e=n.getRight()-o?l=i.DockLocation.RIGHT:t<=n.y+o?l=i.DockLocation.TOP:t>=n.getBottom()-o&&(l=i.DockLocation.BOTTOM)),l!==this.state.showHiddenBorder&&this.setState({showHiddenBorder:l})}maximize(e){this.doAction(s.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 n;return this.props.i18nMapper&&(n=this.props.i18nMapper(e,t)),void 0===n&&(n=e+(void 0===t?"":t)),n}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=T;const j=e=>(r.useEffect((()=>{var t;null===(t=e.onRendered)||void 0===t||t.call(e)}),[e]),r.createElement(r.Fragment,null,e.children))},31996:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Splitter=void 0;const r=n(36198),o=n(30268),i=n(33076),a=n(74268),s=n(13380),l=n(24115);t.Splitter=e=>{const{layout:t,node:n,path:c}=e,u=r.useRef([]),f=r.useRef(void 0),d=n.getParent(),p=e=>{var r;o.DragDrop.instance.setGlassCursorOverride(n.getOrientation()===s.Orientation.HORZ?"ns-resize":"ew-resize"),o.DragDrop.instance.startDrag(e,m,g,v,h,void 0,void 0,t.getCurrentDocument(),null!==(r=t.getRootDiv())&&void 0!==r?r:void 0),u.current=d._getSplitterBounds(n,!0);const i=t.getRootDiv();f.current=t.getCurrentDocument().createElement("div"),f.current.style.position="absolute",f.current.className=t.getClassName(l.CLASSES.FLEXLAYOUT__SPLITTER_DRAG),f.current.style.cursor=n.getOrientation()===s.Orientation.HORZ?"ns-resize":"ew-resize";const a=n.getRect();n.getOrientation()===s.Orientation.VERT&&a.width<2?a.width=2:n.getOrientation()===s.Orientation.HORZ&&a.height<2&&(a.height=2),a.positionElement(f.current),i&&i.appendChild(f.current)},h=e=>{const n=t.getRootDiv();n&&n.removeChild(f.current)},m=()=>!0,g=e=>{const r=t.getDomRect();if(!r)return;const o=e.clientX-r.left,i=e.clientY-r.top;f&&(n.getOrientation()===s.Orientation.HORZ?f.current.style.top=b(i-4)+"px":f.current.style.left=b(o-4)+"px"),t.isRealtimeResize()&&y()},y=()=>{let e=0;if(f&&(e=n.getOrientation()===s.Orientation.HORZ?f.current.offsetTop:f.current.offsetLeft),d instanceof a.BorderNode){const r=d._calculateSplit(n,e);t.doAction(i.Actions.adjustBorderSplit(n.getParent().getId(),r))}else{const r=d._calculateSplit(n,e);void 0!==r&&t.doAction(i.Actions.adjustSplit(r))}},v=()=>{y();const e=t.getRootDiv();e&&e.removeChild(f.current)},b=e=>{const t=u.current;let n=e;return et[1]&&(n=t[1]),n},O=t.getClassName;let w=n.getRect();const S=w.styleWithPosition({cursor:n.getOrientation()===s.Orientation.HORZ?"ns-resize":"ew-resize"});let x=O(l.CLASSES.FLEXLAYOUT__SPLITTER)+" "+O(l.CLASSES.FLEXLAYOUT__SPLITTER_+n.getOrientation().getName());d instanceof a.BorderNode?x+=" "+O(l.CLASSES.FLEXLAYOUT__SPLITTER_BORDER):void 0!==n.getModel().getMaximizedTabset()&&(S.display="none");const E=n.getModel().getSplitterExtra();if(0===E)return r.createElement("div",{style:S,"data-layout-path":c,className:x,onTouchStart:p,onMouseDown:p});{let e=w.clone();e.x=0,e.y=0,n.getOrientation()===s.Orientation.VERT?e.width+=E:e.height+=E;const t=e.styleWithPosition({cursor:n.getOrientation()===s.Orientation.HORZ?"ns-resize":"ew-resize"}),o=O(l.CLASSES.FLEXLAYOUT__SPLITTER_EXTRA);return r.createElement("div",{style:S,"data-layout-path":c,className:x},r.createElement("div",{style:t,className:o,onTouchStart:p,onMouseDown:p}))}}},60178:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tab=void 0;const r=n(36198),o=n(36198),i=n(33076),a=n(52733),s=n(24115),l=n(86180),c=n(25551),u=n(74268),f=n(14592);t.Tab=e=>{const{layout:t,selected:n,node:d,factory:p,path:h}=e,[m,g]=r.useState(!e.node.isEnableRenderOnDemand()||e.selected);r.useLayoutEffect((()=>{!m&&n&&g(!0)}));const y=()=>{const e=d.getParent();e.getType()===a.TabSetNode.TYPE&&(e.isActive()||t.doAction(i.Actions.setActiveTabset(e.getId())))},v=t.getClassName,b=d.getModel().isUseVisibility(),O=d.getParent(),w=d._styleWithPosition();let S;n||(0,f.hideElement)(w,b),O instanceof a.TabSetNode&&(void 0===d.getModel().getMaximizedTabset()||O.isMaximized()||(0,f.hideElement)(w,b)),m&&(S=p(d));let x=v(s.CLASSES.FLEXLAYOUT__TAB);return O instanceof u.BorderNode&&(x+=" "+v(s.CLASSES.FLEXLAYOUT__TAB_BORDER),x+=" "+v(s.CLASSES.FLEXLAYOUT__TAB_BORDER_+O.getLocation().getName())),void 0!==d.getContentClassName()&&(x+=" "+d.getContentClassName()),r.createElement("div",{className:x,"data-layout-path":h,onMouseDown:y,onTouchStart:y,style:w},r.createElement(l.ErrorBoundary,{message:e.layout.i18nName(c.I18nLabel.Error_rendering_component)},r.createElement(o.Fragment,null,S)))}},22112:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabButton=void 0;const r=n(36198),o=n(25551),i=n(33076),a=n(10807),s=n(47562),l=n(24115),c=n(14592);t.TabButton=e=>{const{layout:t,node:n,selected:u,iconFactory:f,titleFactory:d,icons:p,path:h}=e,m=r.useRef(null),g=r.useRef(null),y=e=>{(0,c.isAuxMouseEvent)(e)||t.getEditingTab()||t.dragStart(e,void 0,n,n.isEnableDrag(),b,O)},v=e=>{(0,c.isAuxMouseEvent)(e)&&t.auxMouseClick(n,e)},b=()=>{t.doAction(i.Actions.selectTab(n.getId()))},O=e=>{n.isEnableRename()&&w()},w=()=>{t.setEditingTab(n),t.getCurrentDocument().body.addEventListener("mousedown",S),t.getCurrentDocument().body.addEventListener("touchstart",S)},S=e=>{e.target!==g.current&&(t.getCurrentDocument().body.removeEventListener("mousedown",S),t.getCurrentDocument().body.removeEventListener("touchstart",S),t.setEditingTab(void 0))},x=e=>{(()=>{const e=n.getCloseType();return!!(u||e===s.ICloseType.Always||e===s.ICloseType.Visible&&window.matchMedia&&window.matchMedia("(hover: hover) and (pointer: fine)").matches)})()?t.doAction(i.Actions.deleteTab(n.getId())):b()},E=e=>{e.stopPropagation()};r.useLayoutEffect((()=>{_(),t.getEditingTab()===n&&g.current.select()}));const _=()=>{var e;const r=t.getDomRect(),o=null===(e=m.current)||void 0===e?void 0:e.getBoundingClientRect();o&&r&&n._setTabRect(new a.Rect(o.left-r.left,o.top-r.top,o.width,o.height))},P=e=>{e.stopPropagation()},T=e=>{"Escape"===e.code?t.setEditingTab(void 0):"Enter"===e.code&&(t.setEditingTab(void 0),t.doAction(i.Actions.renameTab(n.getId(),e.target.value)))},j=t.getClassName,C=n.getParent(),k=C.isEnableSingleTabStretch()&&1===C.getChildren().length;let A=k?l.CLASSES.FLEXLAYOUT__TAB_BUTTON_STRETCH:l.CLASSES.FLEXLAYOUT__TAB_BUTTON,D=j(A);D+=" "+j(A+"_"+C.getTabLocation()),k||(D+=u?" "+j(A+"--selected"):" "+j(A+"--unselected")),void 0!==n.getClassName()&&(D+=" "+n.getClassName());const L=(0,c.getRenderStateEx)(t,n,f,d);let R=L.content?r.createElement("div",{className:j(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_CONTENT)},L.content):null;const M=L.leading?r.createElement("div",{className:j(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_LEADING)},L.leading):null;if(t.getEditingTab()===n&&(R=r.createElement("input",{ref:g,className:j(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_TEXTBOX),"data-layout-path":h+"/textbox",type:"text",autoFocus:!0,defaultValue:n.getName(),onKeyDown:T,onMouseDown:P,onTouchStart:P})),n.isEnableClose()&&!k){const e=t.i18nName(o.I18nLabel.Close_Tab);L.buttons.push(r.createElement("div",{key:"close","data-layout-path":h+"/button/close",title:e,className:j(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_TRAILING),onMouseDown:E,onClick:x,onTouchStart:E},"function"==typeof p.close?p.close(n):p.close))}return r.createElement("div",{ref:m,"data-layout-path":h,className:D,onMouseDown:y,onClick:v,onAuxClick:v,onContextMenu:e=>{t.showContextMenu(n,e)},onTouchStart:y,title:n.getHelpText()},M,R,L.buttons)}},15797:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabButtonStamp=void 0;const r=n(36198),o=n(24115),i=n(14592);t.TabButtonStamp=e=>{const{layout:t,node:n,iconFactory:a,titleFactory:s}=e,l=r.useRef(null),c=t.getClassName;let u=c(o.CLASSES.FLEXLAYOUT__TAB_BUTTON_STAMP);const f=(0,i.getRenderStateEx)(t,n,a,s);let d=f.content?r.createElement("div",{className:c(o.CLASSES.FLEXLAYOUT__TAB_BUTTON_CONTENT)},f.content):n._getNameForOverflowMenu();const p=f.leading?r.createElement("div",{className:c(o.CLASSES.FLEXLAYOUT__TAB_BUTTON_LEADING)},f.leading):null;return r.createElement("div",{ref:l,className:u,title:n.getHelpText()},p,d)}},62022:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabFloating=void 0;const r=n(36198),o=n(33076),i=n(52733),a=n(24115),s=n(25551),l=n(14592);t.TabFloating=e=>{const{layout:t,selected:n,node:c,path:u}=e,f=()=>{c.getWindow()&&c.getWindow().focus()},d=()=>{t.doAction(o.Actions.unFloatTab(c.getId()))},p=()=>{const e=c.getParent();e.getType()===i.TabSetNode.TYPE&&(e.isActive()||t.doAction(o.Actions.setActiveTabset(e.getId())))},h=e=>{e.preventDefault(),f()},m=e=>{e.preventDefault(),d()},g=t.getClassName,y=c.getParent(),v=c._styleWithPosition();n||(0,l.hideElement)(v,c.getModel().isUseVisibility()),y instanceof i.TabSetNode&&(void 0===c.getModel().getMaximizedTabset()||y.isMaximized()||(0,l.hideElement)(v,c.getModel().isUseVisibility()));const b=t.i18nName(s.I18nLabel.Floating_Window_Message),O=t.i18nName(s.I18nLabel.Floating_Window_Show_Window),w=t.i18nName(s.I18nLabel.Floating_Window_Dock_Window),S=t.getOnRenderFloatingTabPlaceholder();return S?r.createElement("div",{className:g(a.CLASSES.FLEXLAYOUT__TAB_FLOATING),onMouseDown:p,onTouchStart:p,style:v},S(d,f)):r.createElement("div",{className:g(a.CLASSES.FLEXLAYOUT__TAB_FLOATING),"data-layout-path":u,onMouseDown:p,onTouchStart:p,style:v},r.createElement("div",{className:g(a.CLASSES.FLEXLAYOUT__TAB_FLOATING_INNER)},r.createElement("div",null,b),r.createElement("div",null,r.createElement("a",{href:"#",onClick:h},O)),r.createElement("div",null,r.createElement("a",{href:"#",onClick:m},w))))}},1680:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTabOverflow=void 0;const r=n(36198),o=n(10807),i=n(52733),a=n(13380);t.useTabOverflow=(e,t,n,s)=>{const l=r.useRef(!0),c=r.useRef(!1),u=r.useRef(new o.Rect(0,0,0,0)),f=r.useRef(null),[d,p]=r.useState(0),h=r.useRef(!1),[m,g]=r.useState([]),y=r.useRef(0);r.useLayoutEffect((()=>{h.current=!1}),[e.getSelectedNode(),e.getRect().width,e.getRect().height]),r.useLayoutEffect((()=>{x()}));const v=f.current;r.useEffect((()=>{if(v)return v.addEventListener("wheel",b,{passive:!1}),()=>{v.removeEventListener("wheel",b)}}),[v]);const b=e=>{e.preventDefault()},O=e=>t===a.Orientation.HORZ?e.x:e.y,w=e=>t===a.Orientation.HORZ?e.getRight():e.getBottom(),S=e=>t===a.Orientation.HORZ?e.width:e.height,x=()=>{!0===l.current&&(c.current=!1);const t=e instanceof i.TabSetNode?e.getRect():e.getTabHeaderRect();let r=e.getChildren()[e.getChildren().length-1];const o=null===s.current?0:S(s.current.getBoundingClientRect());if(!0===l.current||0===y.current&&0!==m.length||t.width!==u.current.width||t.height!==u.current.height){y.current=m.length,u.current=t;const a=!(e instanceof i.TabSetNode)||!0===e.isEnableTabStrip();let s=w(t)-o;if(null!==n.current&&(s-=S(n.current.getBoundingClientRect())),a&&e.getChildren().length>0){if(0===m.length&&0===d&&w(r.getTabRect())+2=s-O(t)?n=O(t)-r:(i>s||rs&&(n=s-i))}const i=Math.max(0,s-(w(r.getTabRect())+2+n)),a=Math.min(0,d+n+i),u=a-d,f=[];for(let n=0;ns)&&f.push({node:r,index:n})}f.length>0&&(c.current=!0),l.current=!1,g(f),p(a)}}else l.current=!0};return{selfRef:f,position:d,userControlledLeft:h,hiddenTabs:m,onMouseWheel:e=>{let t=0;t=Math.abs(e.deltaX)>Math.abs(e.deltaY)?-e.deltaX:-e.deltaY,1===e.deltaMode&&(t*=40),p(d+t),h.current=!0,e.stopPropagation()},tabsTruncated:c.current}}},70470:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabSet=void 0;const r=n(36198),o=n(25551),i=n(33076),a=n(40031),s=n(22112),l=n(1680),c=n(13380),u=n(24115),f=n(14592);t.TabSet=e=>{const{node:t,layout:n,iconFactory:d,titleFactory:p,icons:h,path:m}=e,g=r.useRef(null),y=r.useRef(null),v=r.useRef(null),b=r.useRef(null),{selfRef:O,position:w,userControlledLeft:S,hiddenTabs:x,onMouseWheel:E,tabsTruncated:_}=(0,l.useTabOverflow)(t,c.Orientation.HORZ,g,b),P=e=>{const r=n.getShowOverflowMenu();if(void 0!==r)r(t,e,x,T);else{const e=y.current;(0,a.showPopup)(e,x,T,n,d,p)}e.stopPropagation()},T=e=>{n.doAction(i.Actions.selectTab(e.node.getId())),S.current=!1},j=e=>{if(!(0,f.isAuxMouseEvent)(e)){let r=t.getName();if(r=void 0===r?"":": "+r,n.doAction(i.Actions.setActiveTabset(t.getId())),!n.getEditingTab()){const i=n.i18nName(o.I18nLabel.Move_Tabset,r);void 0!==t.getModel().getMaximizedTabset()?n.dragStart(e,i,t,!1,(e=>{}),I):n.dragStart(e,i,t,t.isEnableDrag(),(e=>{}),I)}}},C=e=>{(0,f.isAuxMouseEvent)(e)&&n.auxMouseClick(t,e)},k=e=>{n.showContextMenu(t,e)},A=e=>{e.stopPropagation()},D=e=>{t.canMaximize()&&n.maximize(t),e.stopPropagation()},L=e=>{n.doAction(i.Actions.deleteTabset(t.getId())),e.stopPropagation()},R=e=>{n.doAction(i.Actions.deleteTab(t.getChildren()[0].getId())),e.stopPropagation()},M=e=>{void 0!==B&&n.doAction(i.Actions.floatTab(B.getId())),e.stopPropagation()},I=e=>{t.canMaximize()&&n.maximize(t)},N=n.getClassName;null!==v.current&&0!==v.current.scrollLeft&&(v.current.scrollLeft=0);const B=t.getSelectedNode();let $=t._styleWithPosition();void 0===t.getModel().getMaximizedTabset()||t.isMaximized()||(0,f.hideElement)($,t.getModel().isUseVisibility());const F=[];if(t.isEnableTabStrip())for(let e=0;e0&&(_||H?V=[...Q,...V]:F.push(r.createElement("div",{ref:b,key:"sticky_buttons_container",onMouseDown:A,onTouchStart:A,onDragStart:e=>{e.preventDefault()},className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_STICKY_BUTTONS_CONTAINER)},Q))),x.length>0){const e=n.i18nName(o.I18nLabel.Overflow_Menu_Tooltip);let i;i="function"==typeof h.more?h.more(t,x):r.createElement(r.Fragment,null,h.more,r.createElement("div",{className:N(u.CLASSES.FLEXLAYOUT__TAB_BUTTON_OVERFLOW_COUNT)},x.length)),V.splice(Math.min(G.overflowPosition,V.length),0,r.createElement("button",{key:"overflowbutton","data-layout-path":m+"/button/overflow",ref:y,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+N(u.CLASSES.FLEXLAYOUT__TAB_BUTTON_OVERFLOW),title:e,onClick:P,onMouseDown:A,onTouchStart:A},i))}if(void 0!==B&&n.isSupportsPopout()&&B.isEnableFloat()&&!B.isFloating()){const e=n.i18nName(o.I18nLabel.Float_Tab);V.push(r.createElement("button",{key:"float","data-layout-path":m+"/button/float",title:e,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_FLOAT),onClick:M,onMouseDown:A,onTouchStart:A},"function"==typeof h.popout?h.popout(B):h.popout))}if(t.canMaximize()){const e=n.i18nName(o.I18nLabel.Restore),i=n.i18nName(o.I18nLabel.Maximize);(z?U:V).push(r.createElement("button",{key:"max","data-layout-path":m+"/button/max",title:t.isMaximized()?e:i,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_+(t.isMaximized()?"max":"min")),onClick:D,onMouseDown:A,onTouchStart:A},t.isMaximized()?"function"==typeof h.restore?h.restore(t):h.restore:"function"==typeof h.maximize?h.maximize(t):h.maximize))}if(!t.isMaximized()&&Z){const e=H?n.i18nName(o.I18nLabel.Close_Tab):n.i18nName(o.I18nLabel.Close_Tabset);(z?U:V).push(r.createElement("button",{key:"close","data-layout-path":m+"/button/close",title:e,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_CLOSE),onClick:H?R:L,onMouseDown:A,onTouchStart:A},"function"==typeof h.closeTabset?h.closeTabset(t):h.closeTabset))}const X=r.createElement("div",{key:"toolbar",ref:g,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR),onMouseDown:A,onTouchStart:A,onDragStart:e=>{e.preventDefault()}},V);let q,Y,K=N(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_OUTER);if(void 0!==t.getClassNameTabStrip()&&(K+=" "+t.getClassNameTabStrip()),K+=" "+u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_OUTER_+t.getTabLocation(),t.isActive()&&!z&&(K+=" "+N(u.CLASSES.FLEXLAYOUT__TABSET_SELECTED)),t.isMaximized()&&!z&&(K+=" "+N(u.CLASSES.FLEXLAYOUT__TABSET_MAXIMIZED)),H){const e=t.getChildren()[0];void 0!==e.getTabSetClassName()&&(K+=" "+e.getTabSetClassName())}if(z){const e=r.createElement("div",{key:"toolbar",ref:g,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR),onMouseDown:A,onTouchStart:A,onDragStart:e=>{e.preventDefault()}},U);let n=N(u.CLASSES.FLEXLAYOUT__TABSET_HEADER);t.isActive()&&(n+=" "+N(u.CLASSES.FLEXLAYOUT__TABSET_SELECTED)),t.isMaximized()&&(n+=" "+N(u.CLASSES.FLEXLAYOUT__TABSET_MAXIMIZED)),void 0!==t.getClassNameHeader()&&(n+=" "+t.getClassNameHeader()),q=r.createElement("div",{className:n,style:{height:t.getHeaderHeight()+"px"},"data-layout-path":m+"/header",onMouseDown:j,onContextMenu:k,onClick:C,onAuxClick:C,onTouchStart:j},r.createElement("div",{className:N(u.CLASSES.FLEXLAYOUT__TABSET_HEADER_CONTENT)},W),e)}const J={height:t.getTabStripHeight()+"px"};Y=r.createElement("div",{className:K,style:J,"data-layout-path":m+"/tabstrip",onMouseDown:j,onContextMenu:k,onClick:C,onAuxClick:C,onTouchStart:j},r.createElement("div",{ref:v,className:N(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER)+" "+N(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER_+t.getTabLocation())},r.createElement("div",{style:{left:w,width:H?"100%":"10000px"},className:N(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER)+" "+N(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER_+t.getTabLocation())},F)),X),$=n.styleFont($);var ee=void 0;if(0===t.getChildren().length){const e=n.getTabSetPlaceHolderCallback();e&&(ee=e(t))}const te=r.createElement("div",{className:N(u.CLASSES.FLEXLAYOUT__TABSET_CONTENT)},ee);var ne;return ne="top"===t.getTabLocation()?r.createElement(r.Fragment,null,q,Y,te):r.createElement(r.Fragment,null,q,te,Y),r.createElement("div",{ref:O,dir:"ltr","data-layout-path":m,style:$,className:N(u.CLASSES.FLEXLAYOUT__TABSET),onWheel:E},ne)}},14592:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAuxMouseEvent=t.hideElement=t.getRenderStateEx=void 0;const r=n(36198);t.getRenderStateEx=function(e,t,n,o,i){let a=n?n(t):void 0,s=t.getName(),l=t.getName();if(void 0===i&&(i=0),void 0!==o){const e=o(t);void 0!==e&&("string"==typeof e?(s=e,l=e):void 0!==e.titleContent?(s=e.titleContent,l=e.name):s=e)}void 0===a&&void 0!==t.getIcon()&&(a=0!==i?r.createElement("img",{style:{width:"1em",height:"1em",transform:"rotate("+i+"deg)"},src:t.getIcon(),alt:"leadingContent"}):r.createElement("img",{style:{width:"1em",height:"1em"},src:t.getIcon(),alt:"leadingContent"}));const c={leading:a,content:s,name:l,buttons:[]};return e.customizeTab(t,c),t._setRenderedName(c.name),c},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}},81613:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(71739),o=n.n(r),i=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function a(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(o()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var a=new RegExp(i),s=null;null!==(s=a.exec(e));)if(s[0].trim())if(s[1]){var l=s[1].trim(),c=[l,""];l.indexOf("=")>-1&&(c=l.split("=")),t.attrs[c[0]]=c[1],a.lastIndex--}else s[2]&&(t.attrs[s[2]]=s[3].trim().substring(1,s[3].length-1));return t}var s=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,l=/^\s*$/,c=Object.create(null);function u(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(u,"")+"";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var f={parse:function(e,t){t||(t={}),t.components||(t.components=c);var n,r=[],o=[],i=-1,u=!1;if(0!==e.indexOf("<")){var f=e.indexOf("<");r.push({type:"text",content:-1===f?e:e.substring(0,f)})}return e.replace(s,(function(s,c){if(u){if(s!=="")return;u=!1}var f,d="/"!==s.charAt(1),p=s.startsWith("\x3c!--"),h=c+s.length,m=e.charAt(h);if(p){var g=a(s);return i<0?(r.push(g),r):((f=o[i]).children.push(g),r)}if(d&&(i++,"tag"===(n=a(s)).type&&t.components[n.name]&&(n.type="component",u=!0),n.voidElement||u||!m||"<"===m||n.children.push({type:"text",content:e.slice(h,e.indexOf("<",h))}),0===i&&r.push(n),(f=o[i-1])&&f.children.push(n),o[i]=n),(!d||n.voidElement)&&(i>-1&&(n.voidElement||n.name===s.slice(2,-1))&&(i--,n=-1===i?r:o[i]),!u&&"<"!==m&&m)){f=-1===i?r:o[i].children;var y=e.indexOf("<",h),v=e.slice(h,-1===y?void 0:y);l.test(v)&&(v=" "),(y>-1&&i+f.length>=0||" "!==v)&&f.push({type:"text",content:v})}})),r},stringify:function(e){return e.reduce((function(e,t){return e+u("",t)}),"")}};const d=f},21787:()=>{var e,t;e=window,t=document,L.drawVersion="1.0.4",L.Draw={},L.drawLocal={draw:{toolbar:{actions:{title:"Cancel drawing",text:"Cancel"},finish:{title:"Finish drawing",text:"Finish"},undo:{title:"Delete last point drawn",text:"Delete last point"},buttons:{polyline:"Draw a polyline",polygon:"Draw a polygon",rectangle:"Draw a rectangle",circle:"Draw a circle",marker:"Draw a marker",circlemarker:"Draw a circlemarker"}},handlers:{circle:{tooltip:{start:"Click and drag to draw circle."},radius:"Radius"},circlemarker:{tooltip:{start:"Click map to place circle marker."}},marker:{tooltip:{start:"Click map to place marker."}},polygon:{tooltip:{start:"Click to start drawing shape.",cont:"Click to continue drawing shape.",end:"Click first point to close this shape."}},polyline:{error:"Error: shape edges cannot cross!",tooltip:{start:"Click to start drawing line.",cont:"Click to continue drawing line.",end:"Click last point to finish line."}},rectangle:{tooltip:{start:"Click and drag to draw rectangle."}},simpleshape:{tooltip:{end:"Release mouse to finish drawing."}}}},edit:{toolbar:{actions:{save:{title:"Save changes",text:"Save"},cancel:{title:"Cancel editing, discards all changes",text:"Cancel"},clearAll:{title:"Clear all layers",text:"Clear All"}},buttons:{edit:"Edit layers",editDisabled:"No layers to edit",remove:"Delete layers",removeDisabled:"No layers to delete"}},handlers:{edit:{tooltip:{text:"Drag handles or markers to edit features.",subtext:"Click cancel to undo changes."}},remove:{tooltip:{text:"Click on a feature to remove."}}}}},L.Draw.Event={},L.Draw.Event.CREATED="draw:created",L.Draw.Event.EDITED="draw:edited",L.Draw.Event.DELETED="draw:deleted",L.Draw.Event.DRAWSTART="draw:drawstart",L.Draw.Event.DRAWSTOP="draw:drawstop",L.Draw.Event.DRAWVERTEX="draw:drawvertex",L.Draw.Event.EDITSTART="draw:editstart",L.Draw.Event.EDITMOVE="draw:editmove",L.Draw.Event.EDITRESIZE="draw:editresize",L.Draw.Event.EDITVERTEX="draw:editvertex",L.Draw.Event.EDITSTOP="draw:editstop",L.Draw.Event.DELETESTART="draw:deletestart",L.Draw.Event.DELETESTOP="draw:deletestop",L.Draw.Event.TOOLBAROPENED="draw:toolbaropened",L.Draw.Event.TOOLBARCLOSED="draw:toolbarclosed",L.Draw.Event.MARKERCONTEXT="draw:markercontext",L.Draw=L.Draw||{},L.Draw.Feature=L.Handler.extend({initialize:function(e,t){this._map=e,this._container=e._container,this._overlayPane=e._panes.overlayPane,this._popupPane=e._panes.popupPane,t&&t.shapeOptions&&(t.shapeOptions=L.Util.extend({},this.options.shapeOptions,t.shapeOptions)),L.setOptions(this,t);var n=L.version.split(".");1===parseInt(n[0],10)&&parseInt(n[1],10)>=2?L.Draw.Feature.include(L.Evented.prototype):L.Draw.Feature.include(L.Mixin.Events)},enable:function(){this._enabled||(L.Handler.prototype.enable.call(this),this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.DRAWSTART,{layerType:this.type}))},disable:function(){this._enabled&&(L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.DRAWSTOP,{layerType:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var e=this._map;e&&(L.DomUtil.disableTextSelection(),e.getContainer().focus(),this._tooltip=new L.Draw.Tooltip(this._map),L.DomEvent.on(this._container,"keyup",this._cancelDrawing,this))},removeHooks:function(){this._map&&(L.DomUtil.enableTextSelection(),this._tooltip.dispose(),this._tooltip=null,L.DomEvent.off(this._container,"keyup",this._cancelDrawing,this))},setOptions:function(e){L.setOptions(this,e)},_fireCreatedEvent:function(e){this._map.fire(L.Draw.Event.CREATED,{layer:e,layerType:this.type})},_cancelDrawing:function(e){27===e.keyCode&&(this._map.fire("draw:canceled",{layerType:this.type}),this.disable())}}),L.Draw.Polyline=L.Draw.Feature.extend({statics:{TYPE:"polyline"},Poly:L.Polyline,options:{allowIntersection:!0,repeatMode:!1,drawError:{color:"#b00b00",timeout:2500},icon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon"}),touchIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-touch-icon"}),guidelineDistance:20,maxGuideLineLength:4e3,shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!1,clickable:!0},metric:!0,feet:!0,nautic:!1,showLength:!0,zIndexOffset:2e3,factor:1,maxPoints:0},initialize:function(e,t){L.Browser.touch&&(this.options.icon=this.options.touchIcon),this.options.drawError.message=L.drawLocal.draw.handlers.polyline.error,t&&t.drawError&&(t.drawError=L.Util.extend({},this.options.drawError,t.drawError)),this.type=L.Draw.Polyline.TYPE,L.Draw.Feature.prototype.initialize.call(this,e,t)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._markers=[],this._markerGroup=new L.LayerGroup,this._map.addLayer(this._markerGroup),this._poly=new L.Polyline([],this.options.shapeOptions),this._tooltip.updateContent(this._getTooltipText()),this._mouseMarker||(this._mouseMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"leaflet-mouse-marker",iconAnchor:[20,20],iconSize:[40,40]}),opacity:0,zIndexOffset:this.options.zIndexOffset})),this._mouseMarker.on("mouseout",this._onMouseOut,this).on("mousemove",this._onMouseMove,this).on("mousedown",this._onMouseDown,this).on("mouseup",this._onMouseUp,this).addTo(this._map),this._map.on("mouseup",this._onMouseUp,this).on("mousemove",this._onMouseMove,this).on("zoomlevelschange",this._onZoomEnd,this).on("touchstart",this._onTouch,this).on("zoomend",this._onZoomEnd,this))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._clearHideErrorTimeout(),this._cleanUpShape(),this._map.removeLayer(this._markerGroup),delete this._markerGroup,delete this._markers,this._map.removeLayer(this._poly),delete this._poly,this._mouseMarker.off("mousedown",this._onMouseDown,this).off("mouseout",this._onMouseOut,this).off("mouseup",this._onMouseUp,this).off("mousemove",this._onMouseMove,this),this._map.removeLayer(this._mouseMarker),delete this._mouseMarker,this._clearGuides(),this._map.off("mouseup",this._onMouseUp,this).off("mousemove",this._onMouseMove,this).off("zoomlevelschange",this._onZoomEnd,this).off("zoomend",this._onZoomEnd,this).off("touchstart",this._onTouch,this).off("click",this._onTouch,this)},deleteLastVertex:function(){if(!(this._markers.length<=1)){var e=this._markers.pop(),t=this._poly,n=t.getLatLngs(),r=n.splice(-1,1)[0];this._poly.setLatLngs(n),this._markerGroup.removeLayer(e),t.getLatLngs().length<2&&this._map.removeLayer(t),this._vertexChanged(r,!1)}},addVertex:function(e){this._markers.length>=2&&!this.options.allowIntersection&&this._poly.newLatLngIntersects(e)?this._showErrorTooltip():(this._errorShown&&this._hideErrorTooltip(),this._markers.push(this._createMarker(e)),this._poly.addLatLng(e),2===this._poly.getLatLngs().length&&this._map.addLayer(this._poly),this._vertexChanged(e,!0))},completeShape:function(){this._markers.length<=1||!this._shapeIsValid()||(this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable())},_finishShape:function(){var e=this._poly._defaultShape?this._poly._defaultShape():this._poly.getLatLngs(),t=this._poly.newLatLngIntersects(e[e.length-1]);!this.options.allowIntersection&&t||!this._shapeIsValid()?this._showErrorTooltip():(this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable())},_shapeIsValid:function(){return!0},_onZoomEnd:function(){null!==this._markers&&this._updateGuide()},_onMouseMove:function(e){var t=this._map.mouseEventToLayerPoint(e.originalEvent),n=this._map.layerPointToLatLng(t);this._currentLatLng=n,this._updateTooltip(n),this._updateGuide(t),this._mouseMarker.setLatLng(n),L.DomEvent.preventDefault(e.originalEvent)},_vertexChanged:function(e,t){this._map.fire(L.Draw.Event.DRAWVERTEX,{layers:this._markerGroup}),this._updateFinishHandler(),this._updateRunningMeasure(e,t),this._clearGuides(),this._updateTooltip()},_onMouseDown:function(e){if(!this._clickHandled&&!this._touchHandled&&!this._disableMarkers){this._onMouseMove(e),this._clickHandled=!0,this._disableNewMarkers();var t=e.originalEvent,n=t.clientX,r=t.clientY;this._startPoint.call(this,n,r)}},_startPoint:function(e,t){this._mouseDownOrigin=L.point(e,t)},_onMouseUp:function(e){var t=e.originalEvent,n=t.clientX,r=t.clientY;this._endPoint.call(this,n,r,e),this._clickHandled=null},_endPoint:function(t,n,r){if(this._mouseDownOrigin){var o=L.point(t,n).distanceTo(this._mouseDownOrigin),i=this._calculateFinishDistance(r.latlng);this.options.maxPoints>1&&this.options.maxPoints==this._markers.length+1?(this.addVertex(r.latlng),this._finishShape()):i<10&&L.Browser.touch?this._finishShape():Math.abs(o)<9*(e.devicePixelRatio||1)&&this.addVertex(r.latlng),this._enableNewMarkers()}this._mouseDownOrigin=null},_onTouch:function(e){var t,n,r=e.originalEvent;!r.touches||!r.touches[0]||this._clickHandled||this._touchHandled||this._disableMarkers||(t=r.touches[0].clientX,n=r.touches[0].clientY,this._disableNewMarkers(),this._touchHandled=!0,this._startPoint.call(this,t,n),this._endPoint.call(this,t,n,e),this._touchHandled=null),this._clickHandled=null},_onMouseOut:function(){this._tooltip&&this._tooltip._onMouseOut.call(this._tooltip)},_calculateFinishDistance:function(e){var t;if(this._markers.length>0){var n;if(this.type===L.Draw.Polyline.TYPE)n=this._markers[this._markers.length-1];else{if(this.type!==L.Draw.Polygon.TYPE)return 1/0;n=this._markers[0]}var r=this._map.latLngToContainerPoint(n.getLatLng()),o=new L.Marker(e,{icon:this.options.icon,zIndexOffset:2*this.options.zIndexOffset}),i=this._map.latLngToContainerPoint(o.getLatLng());t=r.distanceTo(i)}else t=1/0;return t},_updateFinishHandler:function(){var e=this._markers.length;e>1&&this._markers[e-1].on("click",this._finishShape,this),e>2&&this._markers[e-2].off("click",this._finishShape,this)},_createMarker:function(e){var t=new L.Marker(e,{icon:this.options.icon,zIndexOffset:2*this.options.zIndexOffset});return this._markerGroup.addLayer(t),t},_updateGuide:function(e){var t=this._markers?this._markers.length:0;t>0&&(e=e||this._map.latLngToLayerPoint(this._currentLatLng),this._clearGuides(),this._drawGuide(this._map.latLngToLayerPoint(this._markers[t-1].getLatLng()),e))},_updateTooltip:function(e){var t=this._getTooltipText();e&&this._tooltip.updatePosition(e),this._errorShown||this._tooltip.updateContent(t)},_drawGuide:function(e,t){var n,r,o,i=Math.floor(Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))),a=this.options.guidelineDistance,s=this.options.maxGuideLineLength,l=i>s?i-s:a;for(this._guidesContainer||(this._guidesContainer=L.DomUtil.create("div","leaflet-draw-guides",this._overlayPane));l1&&this._markers[this._markers.length-1].off("click",this._finishShape,this)},_fireCreatedEvent:function(){var e=new this.Poly(this._poly.getLatLngs(),this.options.shapeOptions);L.Draw.Feature.prototype._fireCreatedEvent.call(this,e)}}),L.Draw.Polygon=L.Draw.Polyline.extend({statics:{TYPE:"polygon"},Poly:L.Polygon,options:{showArea:!1,showLength:!1,shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},metric:!0,feet:!0,nautic:!1,precision:{}},initialize:function(e,t){L.Draw.Polyline.prototype.initialize.call(this,e,t),this.type=L.Draw.Polygon.TYPE},_updateFinishHandler:function(){var e=this._markers.length;1===e&&this._markers[0].on("click",this._finishShape,this),e>2&&(this._markers[e-1].on("dblclick",this._finishShape,this),e>3&&this._markers[e-2].off("dblclick",this._finishShape,this))},_getTooltipText:function(){var e,t;return 0===this._markers.length?e=L.drawLocal.draw.handlers.polygon.tooltip.start:this._markers.length<3?(e=L.drawLocal.draw.handlers.polygon.tooltip.cont,t=this._getMeasurementString()):(e=L.drawLocal.draw.handlers.polygon.tooltip.end,t=this._getMeasurementString()),{text:e,subtext:t}},_getMeasurementString:function(){var e=this._area,t="";return e||this.options.showLength?(this.options.showLength&&(t=L.Draw.Polyline.prototype._getMeasurementString.call(this)),e&&(t+="
"+L.GeometryUtil.readableArea(e,this.options.metric,this.options.precision)),t):null},_shapeIsValid:function(){return this._markers.length>=3},_vertexChanged:function(e,t){var n;!this.options.allowIntersection&&this.options.showArea&&(n=this._poly.getLatLngs(),this._area=L.GeometryUtil.geodesicArea(n)),L.Draw.Polyline.prototype._vertexChanged.call(this,e,t)},_cleanUpShape:function(){var e=this._markers.length;e>0&&(this._markers[0].off("click",this._finishShape,this),e>2&&this._markers[e-1].off("dblclick",this._finishShape,this))}}),L.SimpleShape={},L.Draw.SimpleShape=L.Draw.Feature.extend({options:{repeatMode:!1},initialize:function(e,t){this._endLabelText=L.drawLocal.draw.handlers.simpleshape.tooltip.end,L.Draw.Feature.prototype.initialize.call(this,e,t)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._mapDraggable=this._map.dragging.enabled(),this._mapDraggable&&this._map.dragging.disable(),this._container.style.cursor="crosshair",this._tooltip.updateContent({text:this._initialLabelText}),this._map.on("mousedown",this._onMouseDown,this).on("mousemove",this._onMouseMove,this).on("touchstart",this._onMouseDown,this).on("touchmove",this._onMouseMove,this),t.addEventListener("touchstart",L.DomEvent.preventDefault,{passive:!1}))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._map&&(this._mapDraggable&&this._map.dragging.enable(),this._container.style.cursor="",this._map.off("mousedown",this._onMouseDown,this).off("mousemove",this._onMouseMove,this).off("touchstart",this._onMouseDown,this).off("touchmove",this._onMouseMove,this),L.DomEvent.off(t,"mouseup",this._onMouseUp,this),L.DomEvent.off(t,"touchend",this._onMouseUp,this),t.removeEventListener("touchstart",L.DomEvent.preventDefault),this._shape&&(this._map.removeLayer(this._shape),delete this._shape)),this._isDrawing=!1},_getTooltipText:function(){return{text:this._endLabelText}},_onMouseDown:function(e){this._isDrawing=!0,this._startLatLng=e.latlng,L.DomEvent.on(t,"mouseup",this._onMouseUp,this).on(t,"touchend",this._onMouseUp,this).preventDefault(e.originalEvent)},_onMouseMove:function(e){var t=e.latlng;this._tooltip.updatePosition(t),this._isDrawing&&(this._tooltip.updateContent(this._getTooltipText()),this._drawShape(t))},_onMouseUp:function(){this._shape&&this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()}}),L.Draw.Rectangle=L.Draw.SimpleShape.extend({statics:{TYPE:"rectangle"},options:{shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},showArea:!0,metric:!0},initialize:function(e,t){this.type=L.Draw.Rectangle.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.rectangle.tooltip.start,L.Draw.SimpleShape.prototype.initialize.call(this,e,t)},disable:function(){this._enabled&&(this._isCurrentlyTwoClickDrawing=!1,L.Draw.SimpleShape.prototype.disable.call(this))},_onMouseUp:function(e){this._shape||this._isCurrentlyTwoClickDrawing?this._isCurrentlyTwoClickDrawing&&!function(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e}(e.target,"leaflet-pane")||L.Draw.SimpleShape.prototype._onMouseUp.call(this):this._isCurrentlyTwoClickDrawing=!0},_drawShape:function(e){this._shape?this._shape.setBounds(new L.LatLngBounds(this._startLatLng,e)):(this._shape=new L.Rectangle(new L.LatLngBounds(this._startLatLng,e),this.options.shapeOptions),this._map.addLayer(this._shape))},_fireCreatedEvent:function(){var e=new L.Rectangle(this._shape.getBounds(),this.options.shapeOptions);L.Draw.SimpleShape.prototype._fireCreatedEvent.call(this,e)},_getTooltipText:function(){var e,t,n,r=L.Draw.SimpleShape.prototype._getTooltipText.call(this),o=this._shape,i=this.options.showArea;return o&&(e=this._shape._defaultShape?this._shape._defaultShape():this._shape.getLatLngs(),t=L.GeometryUtil.geodesicArea(e),n=i?L.GeometryUtil.readableArea(t,this.options.metric):""),{text:r.text,subtext:n}}}),L.Draw.Marker=L.Draw.Feature.extend({statics:{TYPE:"marker"},options:{icon:new L.Icon.Default,repeatMode:!1,zIndexOffset:2e3},initialize:function(e,t){this.type=L.Draw.Marker.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.marker.tooltip.start,L.Draw.Feature.prototype.initialize.call(this,e,t)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._tooltip.updateContent({text:this._initialLabelText}),this._mouseMarker||(this._mouseMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"leaflet-mouse-marker",iconAnchor:[20,20],iconSize:[40,40]}),opacity:0,zIndexOffset:this.options.zIndexOffset})),this._mouseMarker.on("click",this._onClick,this).addTo(this._map),this._map.on("mousemove",this._onMouseMove,this),this._map.on("click",this._onTouch,this))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._map&&(this._map.off("click",this._onClick,this).off("click",this._onTouch,this),this._marker&&(this._marker.off("click",this._onClick,this),this._map.removeLayer(this._marker),delete this._marker),this._mouseMarker.off("click",this._onClick,this),this._map.removeLayer(this._mouseMarker),delete this._mouseMarker,this._map.off("mousemove",this._onMouseMove,this))},_onMouseMove:function(e){var t=e.latlng;this._tooltip.updatePosition(t),this._mouseMarker.setLatLng(t),this._marker?(t=this._mouseMarker.getLatLng(),this._marker.setLatLng(t)):(this._marker=this._createMarker(t),this._marker.on("click",this._onClick,this),this._map.on("click",this._onClick,this).addLayer(this._marker))},_createMarker:function(e){return new L.Marker(e,{icon:this.options.icon,zIndexOffset:this.options.zIndexOffset})},_onClick:function(){this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()},_onTouch:function(e){this._onMouseMove(e),this._onClick()},_fireCreatedEvent:function(){var e=new L.Marker.Touch(this._marker.getLatLng(),{icon:this.options.icon});L.Draw.Feature.prototype._fireCreatedEvent.call(this,e)}}),L.Draw.CircleMarker=L.Draw.Marker.extend({statics:{TYPE:"circlemarker"},options:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0,zIndexOffset:2e3},initialize:function(e,t){this.type=L.Draw.CircleMarker.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.circlemarker.tooltip.start,L.Draw.Feature.prototype.initialize.call(this,e,t)},_fireCreatedEvent:function(){var e=new L.CircleMarker(this._marker.getLatLng(),this.options);L.Draw.Feature.prototype._fireCreatedEvent.call(this,e)},_createMarker:function(e){return new L.CircleMarker(e,this.options)}}),L.Draw.Circle=L.Draw.SimpleShape.extend({statics:{TYPE:"circle"},options:{shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},showRadius:!0,metric:!0,feet:!0,nautic:!1},initialize:function(e,t){this.type=L.Draw.Circle.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.circle.tooltip.start,L.Draw.SimpleShape.prototype.initialize.call(this,e,t)},_drawShape:function(e){if(L.GeometryUtil.isVersion07x())var t=this._startLatLng.distanceTo(e);else t=this._map.distance(this._startLatLng,e);this._shape?this._shape.setRadius(t):(this._shape=new L.Circle(this._startLatLng,t,this.options.shapeOptions),this._map.addLayer(this._shape))},_fireCreatedEvent:function(){var e=new L.Circle(this._startLatLng,this._shape.getRadius(),this.options.shapeOptions);L.Draw.SimpleShape.prototype._fireCreatedEvent.call(this,e)},_onMouseMove:function(e){var t,n=e.latlng,r=this.options.showRadius,o=this.options.metric;if(this._tooltip.updatePosition(n),this._isDrawing){this._drawShape(n),t=this._shape.getRadius().toFixed(1);var i="";r&&(i=L.drawLocal.draw.handlers.circle.radius+": "+L.GeometryUtil.readableDistance(t,o,this.options.feet,this.options.nautic)),this._tooltip.updateContent({text:this._endLabelText,subtext:i})}}}),L.Edit=L.Edit||{},L.Edit.Marker=L.Handler.extend({initialize:function(e,t){this._marker=e,L.setOptions(this,t)},addHooks:function(){var e=this._marker;e.dragging.enable(),e.on("dragend",this._onDragEnd,e),this._toggleMarkerHighlight()},removeHooks:function(){var e=this._marker;e.dragging.disable(),e.off("dragend",this._onDragEnd,e),this._toggleMarkerHighlight()},_onDragEnd:function(e){var t=e.target;t.edited=!0,this._map.fire(L.Draw.Event.EDITMOVE,{layer:t})},_toggleMarkerHighlight:function(){var e=this._marker._icon;e&&(e.style.display="none",L.DomUtil.hasClass(e,"leaflet-edit-marker-selected")?(L.DomUtil.removeClass(e,"leaflet-edit-marker-selected"),this._offsetMarker(e,-4)):(L.DomUtil.addClass(e,"leaflet-edit-marker-selected"),this._offsetMarker(e,4)),e.style.display="")},_offsetMarker:function(e,t){var n=parseInt(e.style.marginTop,10)-t,r=parseInt(e.style.marginLeft,10)-t;e.style.marginTop=n+"px",e.style.marginLeft=r+"px"}}),L.Marker.addInitHook((function(){L.Edit.Marker&&(this.editing=new L.Edit.Marker(this),this.options.editable&&this.editing.enable())})),L.Edit=L.Edit||{},L.Edit.Poly=L.Handler.extend({initialize:function(e){this.latlngs=[e._latlngs],e._holes&&(this.latlngs=this.latlngs.concat(e._holes)),this._poly=e,this._poly.on("revert-edited",this._updateLatLngs,this)},_defaultShape:function(){return L.Polyline._flat?L.Polyline._flat(this._poly._latlngs)?this._poly._latlngs:this._poly._latlngs[0]:this._poly._latlngs},_eachVertexHandler:function(e){for(var t=0;te&&(n._index+=t)}))},_createMiddleMarker:function(e,t){var n,r,o,i=this._getMiddleLatLng(e,t),a=this._createMarker(i);a.setOpacity(.6),e._middleRight=t._middleLeft=a,r=function(){a.off("touchmove",r,this);var o=t._index;a._index=o,a.off("click",n,this).on("click",this._onMarkerClick,this),i.lat=a.getLatLng().lat,i.lng=a.getLatLng().lng,this._spliceLatLngs(o,0,i),this._markers.splice(o,0,a),a.setOpacity(1),this._updateIndexes(o,1),t._index++,this._updatePrevNext(e,a),this._updatePrevNext(a,t),this._poly.fire("editstart")},o=function(){a.off("dragstart",r,this),a.off("dragend",o,this),a.off("touchmove",r,this),this._createMiddleMarker(e,a),this._createMiddleMarker(a,t)},n=function(){r.call(this),o.call(this),this._fireEdit()},a.on("click",n,this).on("dragstart",r,this).on("dragend",o,this).on("touchmove",r,this),this._markerGroup.addLayer(a)},_updatePrevNext:function(e,t){e&&(e._next=t),t&&(t._prev=e)},_getMiddleLatLng:function(e,t){var n=this._poly._map,r=n.project(e.getLatLng()),o=n.project(t.getLatLng());return n.unproject(r._add(o)._divideBy(2))}}),L.Polyline.addInitHook((function(){this.editing||(L.Edit.Poly&&(this.editing=new L.Edit.Poly(this),this.options.editable&&this.editing.enable()),this.on("add",(function(){this.editing&&this.editing.enabled()&&this.editing.addHooks()})),this.on("remove",(function(){this.editing&&this.editing.enabled()&&this.editing.removeHooks()})))})),L.Edit=L.Edit||{},L.Edit.SimpleShape=L.Handler.extend({options:{moveIcon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-move"}),resizeIcon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-resize"}),touchMoveIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-move leaflet-touch-icon"}),touchResizeIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-resize leaflet-touch-icon"})},initialize:function(e,t){L.Browser.touch&&(this.options.moveIcon=this.options.touchMoveIcon,this.options.resizeIcon=this.options.touchResizeIcon),this._shape=e,L.Util.setOptions(this,t)},addHooks:function(){var e=this._shape;this._shape._map&&(this._map=this._shape._map,e.setStyle(e.options.editing),e._map&&(this._map=e._map,this._markerGroup||this._initMarkers(),this._map.addLayer(this._markerGroup)))},removeHooks:function(){var e=this._shape;if(e.setStyle(e.options.original),e._map){this._unbindMarker(this._moveMarker);for(var t=0,n=this._resizeMarkers.length;t"+L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.draw.handlers.circle.radius+": "+L.GeometryUtil.readableDistance(radius,!0,this.options.feet,this.options.nautic)}),this._shape.setRadius(radius),this._map.fire(L.Draw.Event.EDITRESIZE,{layer:this._shape})}}),L.Circle.addInitHook((function(){L.Edit.Circle&&(this.editing=new L.Edit.Circle(this),this.options.editable&&this.editing.enable())})),L.Map.mergeOptions({touchExtend:!0}),L.Map.TouchExtend=L.Handler.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane},addHooks:function(){L.DomEvent.on(this._container,"touchstart",this._onTouchStart,this),L.DomEvent.on(this._container,"touchend",this._onTouchEnd,this),L.DomEvent.on(this._container,"touchmove",this._onTouchMove,this),this._detectIE()?(L.DomEvent.on(this._container,"MSPointerDown",this._onTouchStart,this),L.DomEvent.on(this._container,"MSPointerUp",this._onTouchEnd,this),L.DomEvent.on(this._container,"MSPointerMove",this._onTouchMove,this),L.DomEvent.on(this._container,"MSPointerCancel",this._onTouchCancel,this)):(L.DomEvent.on(this._container,"touchcancel",this._onTouchCancel,this),L.DomEvent.on(this._container,"touchleave",this._onTouchLeave,this))},removeHooks:function(){L.DomEvent.off(this._container,"touchstart",this._onTouchStart,this),L.DomEvent.off(this._container,"touchend",this._onTouchEnd,this),L.DomEvent.off(this._container,"touchmove",this._onTouchMove,this),this._detectIE()?(L.DomEvent.off(this._container,"MSPointerDown",this._onTouchStart,this),L.DomEvent.off(this._container,"MSPointerUp",this._onTouchEnd,this),L.DomEvent.off(this._container,"MSPointerMove",this._onTouchMove,this),L.DomEvent.off(this._container,"MSPointerCancel",this._onTouchCancel,this)):(L.DomEvent.off(this._container,"touchcancel",this._onTouchCancel,this),L.DomEvent.off(this._container,"touchleave",this._onTouchLeave,this))},_touchEvent:function(e,t){var n={};if(void 0!==e.touches){if(!e.touches.length)return;n=e.touches[0]}else{if("touch"!==e.pointerType)return;if(n=e,!this._filterClick(e))return}var r=this._map.mouseEventToContainerPoint(n),o=this._map.mouseEventToLayerPoint(n),i=this._map.layerPointToLatLng(o);this._map.fire(t,{latlng:i,layerPoint:o,containerPoint:r,pageX:n.pageX,pageY:n.pageY,originalEvent:e})},_filterClick:function(e){var t=e.timeStamp||e.originalEvent.timeStamp,n=L.DomEvent._lastClick&&t-L.DomEvent._lastClick;return n&&n>100&&n<500||e.target._simulatedClick&&!e._simulated?(L.DomEvent.stop(e),!1):(L.DomEvent._lastClick=t,!0)},_onTouchStart:function(e){this._map._loaded&&this._touchEvent(e,"touchstart")},_onTouchEnd:function(e){this._map._loaded&&this._touchEvent(e,"touchend")},_onTouchCancel:function(e){if(this._map._loaded){var t="touchcancel";this._detectIE()&&(t="pointercancel"),this._touchEvent(e,t)}},_onTouchLeave:function(e){this._map._loaded&&this._touchEvent(e,"touchleave")},_onTouchMove:function(e){this._map._loaded&&this._touchEvent(e,"touchmove")},_detectIE:function(){var t=e.navigator.userAgent,n=t.indexOf("MSIE ");if(n>0)return parseInt(t.substring(n+5,t.indexOf(".",n)),10);if(t.indexOf("Trident/")>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var o=t.indexOf("Edge/");return o>0&&parseInt(t.substring(o+5,t.indexOf(".",o)),10)}}),L.Map.addInitHook("addHandler","touchExtend",L.Map.TouchExtend),L.Marker.Touch=L.Marker.extend({_initInteraction:function(){return this.addInteractiveTarget?L.Marker.prototype._initInteraction.apply(this):this._initInteractionLegacy()},_initInteractionLegacy:function(){if(this.options.clickable){var e=this._icon,t=["dblclick","mousedown","mouseover","mouseout","contextmenu","touchstart","touchend","touchmove"];this._detectIE?t.concat(["MSPointerDown","MSPointerUp","MSPointerMove","MSPointerCancel"]):t.concat(["touchcancel"]),L.DomUtil.addClass(e,"leaflet-clickable"),L.DomEvent.on(e,"click",this._onMouseClick,this),L.DomEvent.on(e,"keypress",this._onKeyPress,this);for(var n=0;n0)return parseInt(t.substring(n+5,t.indexOf(".",n)),10);if(t.indexOf("Trident/")>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var o=t.indexOf("Edge/");return o>0&&parseInt(t.substring(o+5,t.indexOf(".",o)),10)}}),L.LatLngUtil={cloneLatLngs:function(e){for(var t=[],n=0,r=e.length;n2){for(var a=0;a1&&(n=n+a+s[1])}return n},readableArea:function(t,n,r){var o,i;return r=L.Util.extend({},e,r),n?(i=["ha","m"],type=typeof n,"string"===type?i=[n]:"boolean"!==type&&(i=n),o=t>=1e6&&-1!==i.indexOf("km")?L.GeometryUtil.formattedNumber(1e-6*t,r.km)+" km²":t>=1e4&&-1!==i.indexOf("ha")?L.GeometryUtil.formattedNumber(1e-4*t,r.ha)+" ha":L.GeometryUtil.formattedNumber(t,r.m)+" m²"):o=(t/=.836127)>=3097600?L.GeometryUtil.formattedNumber(t/3097600,r.mi)+" mi²":t>=4840?L.GeometryUtil.formattedNumber(t/4840,r.ac)+" acres":L.GeometryUtil.formattedNumber(t,r.yd)+" yd²",o},readableDistance:function(t,n,r,o,i){var a;switch(i=L.Util.extend({},e,i),n?"string"==typeof n?n:"metric":r?"feet":o?"nauticalMile":"yards"){case"metric":a=t>1e3?L.GeometryUtil.formattedNumber(t/1e3,i.km)+" km":L.GeometryUtil.formattedNumber(t,i.m)+" m";break;case"feet":t*=3.28083,a=L.GeometryUtil.formattedNumber(t,i.ft)+" ft";break;case"nauticalMile":t*=.53996,a=L.GeometryUtil.formattedNumber(t/1e3,i.nm)+" nm";break;default:a=(t*=1.09361)>1760?L.GeometryUtil.formattedNumber(t/1760,i.mi)+" miles":L.GeometryUtil.formattedNumber(t,i.yd)+" yd"}return a},isVersion07x:function(){var e=L.version.split(".");return 0===parseInt(e[0],10)&&7===parseInt(e[1],10)}})}(),L.Util.extend(L.LineUtil,{segmentsIntersect:function(e,t,n,r){return this._checkCounterclockwise(e,n,r)!==this._checkCounterclockwise(t,n,r)&&this._checkCounterclockwise(e,t,n)!==this._checkCounterclockwise(e,t,r)},_checkCounterclockwise:function(e,t,n){return(n.y-e.y)*(t.x-e.x)>(t.y-e.y)*(n.x-e.x)}}),L.Polyline.include({intersects:function(){var e,t,n,r=this._getProjectedPoints(),o=r?r.length:0;if(this._tooFewPointsForIntersection())return!1;for(e=o-1;e>=3;e--)if(t=r[e-1],n=r[e],this._lineSegmentsIntersectsRange(t,n,e-2))return!0;return!1},newLatLngIntersects:function(e,t){return!!this._map&&this.newPointIntersects(this._map.latLngToLayerPoint(e),t)},newPointIntersects:function(e,t){var n=this._getProjectedPoints(),r=n?n.length:0,o=n?n[r-1]:null,i=r-2;return!this._tooFewPointsForIntersection(1)&&this._lineSegmentsIntersectsRange(o,e,i,t?1:0)},_tooFewPointsForIntersection:function(e){var t=this._getProjectedPoints(),n=t?t.length:0;return!t||(n+=e||0)<=3},_lineSegmentsIntersectsRange:function(e,t,n,r){var o,i,a=this._getProjectedPoints();r=r||0;for(var s=n;s>r;s--)if(o=a[s-1],i=a[s],L.LineUtil.segmentsIntersect(e,t,o,i))return!0;return!1},_getProjectedPoints:function(){if(!this._defaultShape)return this._originalPoints;for(var e=[],t=this._defaultShape(),n=0;n=2?L.Toolbar.include(L.Evented.prototype):L.Toolbar.include(L.Mixin.Events)},enabled:function(){return null!==this._activeMode},disable:function(){this.enabled()&&this._activeMode.handler.disable()},addToolbar:function(e){var t,n=L.DomUtil.create("div","leaflet-draw-section"),r=0,o=this._toolbarClass||"",i=this.getModeHandlers(e);for(this._toolbarContainer=L.DomUtil.create("div","leaflet-draw-toolbar leaflet-bar"),this._map=e,t=0;t0&&this._singleLineLabel&&(L.DomUtil.removeClass(this._container,"leaflet-draw-tooltip-single"),this._singleLineLabel=!1):(L.DomUtil.addClass(this._container,"leaflet-draw-tooltip-single"),this._singleLineLabel=!0),this._container.innerHTML=(e.subtext.length>0?''+e.subtext+"
":"")+""+e.text+"",e.text||e.subtext?(this._visible=!0,this._container.style.visibility="inherit"):(this._visible=!1,this._container.style.visibility="hidden"),this):this},updatePosition:function(e){var t=this._map.latLngToLayerPoint(e),n=this._container;return this._container&&(this._visible&&(n.style.visibility="inherit"),L.DomUtil.setPosition(n,t)),this},showAsError:function(){return this._container&&L.DomUtil.addClass(this._container,"leaflet-error-draw-tooltip"),this},removeError:function(){return this._container&&L.DomUtil.removeClass(this._container,"leaflet-error-draw-tooltip"),this},_onMouseOut:function(){this._container&&(this._container.style.visibility="hidden")}}),L.DrawToolbar=L.Toolbar.extend({statics:{TYPE:"draw"},options:{polyline:{},polygon:{},rectangle:{},circle:{},marker:{},circlemarker:{}},initialize:function(e){for(var t in this.options)this.options.hasOwnProperty(t)&&e[t]&&(e[t]=L.extend({},this.options[t],e[t]));this._toolbarClass="leaflet-draw-draw",L.Toolbar.prototype.initialize.call(this,e)},getModeHandlers:function(e){return[{enabled:this.options.polyline,handler:new L.Draw.Polyline(e,this.options.polyline),title:L.drawLocal.draw.toolbar.buttons.polyline},{enabled:this.options.polygon,handler:new L.Draw.Polygon(e,this.options.polygon),title:L.drawLocal.draw.toolbar.buttons.polygon},{enabled:this.options.rectangle,handler:new L.Draw.Rectangle(e,this.options.rectangle),title:L.drawLocal.draw.toolbar.buttons.rectangle},{enabled:this.options.circle,handler:new L.Draw.Circle(e,this.options.circle),title:L.drawLocal.draw.toolbar.buttons.circle},{enabled:this.options.marker,handler:new L.Draw.Marker(e,this.options.marker),title:L.drawLocal.draw.toolbar.buttons.marker},{enabled:this.options.circlemarker,handler:new L.Draw.CircleMarker(e,this.options.circlemarker),title:L.drawLocal.draw.toolbar.buttons.circlemarker}]},getActions:function(e){return[{enabled:e.completeShape,title:L.drawLocal.draw.toolbar.finish.title,text:L.drawLocal.draw.toolbar.finish.text,callback:e.completeShape,context:e},{enabled:e.deleteLastVertex,title:L.drawLocal.draw.toolbar.undo.title,text:L.drawLocal.draw.toolbar.undo.text,callback:e.deleteLastVertex,context:e},{title:L.drawLocal.draw.toolbar.actions.title,text:L.drawLocal.draw.toolbar.actions.text,callback:this.disable,context:this}]},setOptions:function(e){for(var t in L.setOptions(this,e),this._modes)this._modes.hasOwnProperty(t)&&e.hasOwnProperty(t)&&this._modes[t].handler.setOptions(e[t])}}),L.EditToolbar=L.Toolbar.extend({statics:{TYPE:"edit"},options:{edit:{selectedPathOptions:{dashArray:"10, 10",fill:!0,fillColor:"#fe57a1",fillOpacity:.1,maintainColor:!1}},remove:{},poly:null,featureGroup:null},initialize:function(e){e.edit&&(void 0===e.edit.selectedPathOptions&&(e.edit.selectedPathOptions=this.options.edit.selectedPathOptions),e.edit.selectedPathOptions=L.extend({},this.options.edit.selectedPathOptions,e.edit.selectedPathOptions)),e.remove&&(e.remove=L.extend({},this.options.remove,e.remove)),e.poly&&(e.poly=L.extend({},this.options.poly,e.poly)),this._toolbarClass="leaflet-draw-edit",L.Toolbar.prototype.initialize.call(this,e),this._selectedFeatureCount=0},getModeHandlers:function(e){var t=this.options.featureGroup;return[{enabled:this.options.edit,handler:new L.EditToolbar.Edit(e,{featureGroup:t,selectedPathOptions:this.options.edit.selectedPathOptions,poly:this.options.poly}),title:L.drawLocal.edit.toolbar.buttons.edit},{enabled:this.options.remove,handler:new L.EditToolbar.Delete(e,{featureGroup:t}),title:L.drawLocal.edit.toolbar.buttons.remove}]},getActions:function(e){var t=[{title:L.drawLocal.edit.toolbar.actions.save.title,text:L.drawLocal.edit.toolbar.actions.save.text,callback:this._save,context:this},{title:L.drawLocal.edit.toolbar.actions.cancel.title,text:L.drawLocal.edit.toolbar.actions.cancel.text,callback:this.disable,context:this}];return e.removeAllLayers&&t.push({title:L.drawLocal.edit.toolbar.actions.clearAll.title,text:L.drawLocal.edit.toolbar.actions.clearAll.text,callback:this._clearAllLayers,context:this}),t},addToolbar:function(e){var t=L.Toolbar.prototype.addToolbar.call(this,e);return this._checkDisabled(),this.options.featureGroup.on("layeradd layerremove",this._checkDisabled,this),t},removeToolbar:function(){this.options.featureGroup.off("layeradd layerremove",this._checkDisabled,this),L.Toolbar.prototype.removeToolbar.call(this)},disable:function(){this.enabled()&&(this._activeMode.handler.revertLayers(),L.Toolbar.prototype.disable.call(this))},_save:function(){this._activeMode.handler.save(),this._activeMode&&this._activeMode.handler.disable()},_clearAllLayers:function(){this._activeMode.handler.removeAllLayers(),this._activeMode&&this._activeMode.handler.disable()},_checkDisabled:function(){var e,t=0!==this.options.featureGroup.getLayers().length;this.options.edit&&(e=this._modes[L.EditToolbar.Edit.TYPE].button,t?L.DomUtil.removeClass(e,"leaflet-disabled"):L.DomUtil.addClass(e,"leaflet-disabled"),e.setAttribute("title",t?L.drawLocal.edit.toolbar.buttons.edit:L.drawLocal.edit.toolbar.buttons.editDisabled)),this.options.remove&&(e=this._modes[L.EditToolbar.Delete.TYPE].button,t?L.DomUtil.removeClass(e,"leaflet-disabled"):L.DomUtil.addClass(e,"leaflet-disabled"),e.setAttribute("title",t?L.drawLocal.edit.toolbar.buttons.remove:L.drawLocal.edit.toolbar.buttons.removeDisabled))}}),L.EditToolbar.Edit=L.Handler.extend({statics:{TYPE:"edit"},initialize:function(e,t){if(L.Handler.prototype.initialize.call(this,e),L.setOptions(this,t),this._featureGroup=t.featureGroup,!(this._featureGroup instanceof L.FeatureGroup))throw new Error("options.featureGroup must be a L.FeatureGroup");this._uneditedLayerProps={},this.type=L.EditToolbar.Edit.TYPE;var n=L.version.split(".");1===parseInt(n[0],10)&&parseInt(n[1],10)>=2?L.EditToolbar.Edit.include(L.Evented.prototype):L.EditToolbar.Edit.include(L.Mixin.Events)},enable:function(){!this._enabled&&this._hasAvailableLayers()&&(this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.EDITSTART,{handler:this.type}),L.Handler.prototype.enable.call(this),this._featureGroup.on("layeradd",this._enableLayerEdit,this).on("layerremove",this._disableLayerEdit,this))},disable:function(){this._enabled&&(this._featureGroup.off("layeradd",this._enableLayerEdit,this).off("layerremove",this._disableLayerEdit,this),L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.EDITSTOP,{handler:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var e=this._map;e&&(e.getContainer().focus(),this._featureGroup.eachLayer(this._enableLayerEdit,this),this._tooltip=new L.Draw.Tooltip(this._map),this._tooltip.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext}),e._editTooltip=this._tooltip,this._updateTooltip(),this._map.on("mousemove",this._onMouseMove,this).on("touchmove",this._onMouseMove,this).on("MSPointerMove",this._onMouseMove,this).on(L.Draw.Event.EDITVERTEX,this._updateTooltip,this))},removeHooks:function(){this._map&&(this._featureGroup.eachLayer(this._disableLayerEdit,this),this._uneditedLayerProps={},this._tooltip.dispose(),this._tooltip=null,this._map.off("mousemove",this._onMouseMove,this).off("touchmove",this._onMouseMove,this).off("MSPointerMove",this._onMouseMove,this).off(L.Draw.Event.EDITVERTEX,this._updateTooltip,this))},revertLayers:function(){this._featureGroup.eachLayer((function(e){this._revertLayer(e)}),this)},save:function(){var e=new L.LayerGroup;this._featureGroup.eachLayer((function(t){t.edited&&(e.addLayer(t),t.edited=!1)})),this._map.fire(L.Draw.Event.EDITED,{layers:e})},_backupLayer:function(e){var t=L.Util.stamp(e);this._uneditedLayerProps[t]||(e instanceof L.Polyline||e instanceof L.Polygon||e instanceof L.Rectangle?this._uneditedLayerProps[t]={latlngs:L.LatLngUtil.cloneLatLngs(e.getLatLngs())}:e instanceof L.Circle?this._uneditedLayerProps[t]={latlng:L.LatLngUtil.cloneLatLng(e.getLatLng()),radius:e.getRadius()}:(e instanceof L.Marker||e instanceof L.CircleMarker)&&(this._uneditedLayerProps[t]={latlng:L.LatLngUtil.cloneLatLng(e.getLatLng())}))},_getTooltipText:function(){return{text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext}},_updateTooltip:function(){this._tooltip.updateContent(this._getTooltipText())},_revertLayer:function(e){var t=L.Util.stamp(e);e.edited=!1,this._uneditedLayerProps.hasOwnProperty(t)&&(e instanceof L.Polyline||e instanceof L.Polygon||e instanceof L.Rectangle?e.setLatLngs(this._uneditedLayerProps[t].latlngs):e instanceof L.Circle?(e.setLatLng(this._uneditedLayerProps[t].latlng),e.setRadius(this._uneditedLayerProps[t].radius)):(e instanceof L.Marker||e instanceof L.CircleMarker)&&e.setLatLng(this._uneditedLayerProps[t].latlng),e.fire("revert-edited",{layer:e}))},_enableLayerEdit:function(e){var t,n,r=e.layer||e.target||e;this._backupLayer(r),this.options.poly&&(n=L.Util.extend({},this.options.poly),r.options.poly=n),this.options.selectedPathOptions&&((t=L.Util.extend({},this.options.selectedPathOptions)).maintainColor&&(t.color=r.options.color,t.fillColor=r.options.fillColor),r.options.original=L.extend({},r.options),r.options.editing=t),r instanceof L.Marker?(r.editing&&r.editing.enable(),r.dragging.enable(),r.on("dragend",this._onMarkerDragEnd).on("touchmove",this._onTouchMove,this).on("MSPointerMove",this._onTouchMove,this).on("touchend",this._onMarkerDragEnd,this).on("MSPointerUp",this._onMarkerDragEnd,this)):r.editing.enable()},_disableLayerEdit:function(e){var t=e.layer||e.target||e;t.edited=!1,t.editing&&t.editing.disable(),delete t.options.editing,delete t.options.original,this._selectedPathOptions&&(t instanceof L.Marker?this._toggleMarkerHighlight(t):(t.setStyle(t.options.previousOptions),delete t.options.previousOptions)),t instanceof L.Marker?(t.dragging.disable(),t.off("dragend",this._onMarkerDragEnd,this).off("touchmove",this._onTouchMove,this).off("MSPointerMove",this._onTouchMove,this).off("touchend",this._onMarkerDragEnd,this).off("MSPointerUp",this._onMarkerDragEnd,this)):t.editing.disable()},_onMouseMove:function(e){this._tooltip.updatePosition(e.latlng)},_onMarkerDragEnd:function(e){var t=e.target;t.edited=!0,this._map.fire(L.Draw.Event.EDITMOVE,{layer:t})},_onTouchMove:function(e){var t=e.originalEvent.changedTouches[0],n=this._map.mouseEventToLayerPoint(t),r=this._map.layerPointToLatLng(n);e.target.setLatLng(r)},_hasAvailableLayers:function(){return 0!==this._featureGroup.getLayers().length}}),L.EditToolbar.Delete=L.Handler.extend({statics:{TYPE:"remove"},initialize:function(e,t){if(L.Handler.prototype.initialize.call(this,e),L.Util.setOptions(this,t),this._deletableLayers=this.options.featureGroup,!(this._deletableLayers instanceof L.FeatureGroup))throw new Error("options.featureGroup must be a L.FeatureGroup");this.type=L.EditToolbar.Delete.TYPE;var n=L.version.split(".");1===parseInt(n[0],10)&&parseInt(n[1],10)>=2?L.EditToolbar.Delete.include(L.Evented.prototype):L.EditToolbar.Delete.include(L.Mixin.Events)},enable:function(){!this._enabled&&this._hasAvailableLayers()&&(this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.DELETESTART,{handler:this.type}),L.Handler.prototype.enable.call(this),this._deletableLayers.on("layeradd",this._enableLayerDelete,this).on("layerremove",this._disableLayerDelete,this))},disable:function(){this._enabled&&(this._deletableLayers.off("layeradd",this._enableLayerDelete,this).off("layerremove",this._disableLayerDelete,this),L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.DELETESTOP,{handler:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var e=this._map;e&&(e.getContainer().focus(),this._deletableLayers.eachLayer(this._enableLayerDelete,this),this._deletedLayers=new L.LayerGroup,this._tooltip=new L.Draw.Tooltip(this._map),this._tooltip.updateContent({text:L.drawLocal.edit.handlers.remove.tooltip.text}),this._map.on("mousemove",this._onMouseMove,this))},removeHooks:function(){this._map&&(this._deletableLayers.eachLayer(this._disableLayerDelete,this),this._deletedLayers=null,this._tooltip.dispose(),this._tooltip=null,this._map.off("mousemove",this._onMouseMove,this))},revertLayers:function(){this._deletedLayers.eachLayer((function(e){this._deletableLayers.addLayer(e),e.fire("revert-deleted",{layer:e})}),this)},save:function(){this._map.fire(L.Draw.Event.DELETED,{layers:this._deletedLayers})},removeAllLayers:function(){this._deletableLayers.eachLayer((function(e){this._removeLayer({layer:e})}),this),this.save()},_enableLayerDelete:function(e){(e.layer||e.target||e).on("click",this._removeLayer,this)},_disableLayerDelete:function(e){var t=e.layer||e.target||e;t.off("click",this._removeLayer,this),this._deletedLayers.removeLayer(t)},_removeLayer:function(e){var t=e.layer||e.target||e;this._deletableLayers.removeLayer(t),this._deletedLayers.addLayer(t),t.fire("deleted")},_onMouseMove:function(e){this._tooltip.updatePosition(e.latlng)},_hasAvailableLayers:function(){return 0!==this._deletableLayers.getLayers().length}})},45243:function(e,t){!function(e){"use strict";var t="1.9.4";function n(e){var t,n,r,o;for(n=1,r=arguments.length;n0?Math.floor(e):Math.ceil(e)};function M(e,t,n){return e instanceof D?e:y(e)?new D(e[0],e[1]):null==e?e:"object"==typeof e&&"x"in e&&"y"in e?new D(e.x,e.y):new D(e,t,n)}function I(e,t){if(e)for(var n=t?[e,t]:e,r=0,o=n.length;r=this.min.x&&n.x<=this.max.x&&t.y>=this.min.y&&n.y<=this.max.y},intersects:function(e){e=N(e);var t=this.min,n=this.max,r=e.min,o=e.max,i=o.x>=t.x&&r.x<=n.x,a=o.y>=t.y&&r.y<=n.y;return i&&a},overlaps:function(e){e=N(e);var t=this.min,n=this.max,r=e.min,o=e.max,i=o.x>t.x&&r.xt.y&&r.y=r.lat&&n.lat<=o.lat&&t.lng>=r.lng&&n.lng<=o.lng},intersects:function(e){e=$(e);var t=this._southWest,n=this._northEast,r=e.getSouthWest(),o=e.getNorthEast(),i=o.lat>=t.lat&&r.lat<=n.lat,a=o.lng>=t.lng&&r.lng<=n.lng;return i&&a},overlaps:function(e){e=$(e);var t=this._southWest,n=this._northEast,r=e.getSouthWest(),o=e.getNorthEast(),i=o.lat>t.lat&&r.latt.lng&&r.lng1,ke=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",c,t),window.removeEventListener("testPassiveEventSupport",c,t)}catch(e){}return e}(),Ae=!!document.createElement("canvas").getContext,De=!(!document.createElementNS||!Y("svg").createSVGRect),Le=!!De&&((J=document.createElement("div")).innerHTML="","http://www.w3.org/2000/svg"===(J.firstChild&&J.firstChild.namespaceURI)),Re=!De&&function(){try{var e=document.createElement("div");e.innerHTML='';var t=e.firstChild;return t.style.behavior="url(#default#VML)",t&&"object"==typeof t.adj}catch(e){return!1}}(),Me=0===navigator.platform.indexOf("Mac"),Ie=0===navigator.platform.indexOf("Linux");function Ne(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var Be={ie:te,ielt9:ne,edge:re,webkit:oe,android:ie,android23:ae,androidStock:le,opera:ce,chrome:ue,gecko:fe,safari:de,phantom:pe,opera12:he,win:me,ie3d:ge,webkit3d:ye,gecko3d:ve,any3d:be,mobile:Oe,mobileWebkit:we,mobileWebkit3d:Se,msPointer:xe,pointer:Ee,touch:Pe,touchNative:_e,mobileOpera:Te,mobileGecko:je,retina:Ce,passiveEvents:ke,canvas:Ae,svg:De,vml:Re,inlineSvg:Le,mac:Me,linux:Ie},$e=Be.msPointer?"MSPointerDown":"pointerdown",Fe=Be.msPointer?"MSPointerMove":"pointermove",ze=Be.msPointer?"MSPointerUp":"pointerup",Qe=Be.msPointer?"MSPointerCancel":"pointercancel",Ve={touchstart:$e,touchmove:Fe,touchend:ze,touchcancel:Qe},Ue={touchstart:et,touchmove:Je,touchend:Je,touchcancel:Je},Ge={},We=!1;function He(e,t,n){return"touchstart"===t&&Ke(),Ue[t]?(n=Ue[t].bind(this,n),e.addEventListener(Ve[t],n,!1),n):(console.warn("wrong event specified:",t),c)}function Ze(e,t,n){Ve[t]?e.removeEventListener(Ve[t],n,!1):console.warn("wrong event specified:",t)}function Xe(e){Ge[e.pointerId]=e}function qe(e){Ge[e.pointerId]&&(Ge[e.pointerId]=e)}function Ye(e){delete Ge[e.pointerId]}function Ke(){We||(document.addEventListener($e,Xe,!0),document.addEventListener(Fe,qe,!0),document.addEventListener(ze,Ye,!0),document.addEventListener(Qe,Ye,!0),We=!0)}function Je(e,t){if(t.pointerType!==(t.MSPOINTER_TYPE_MOUSE||"mouse")){for(var n in t.touches=[],Ge)t.touches.push(Ge[n]);t.changedTouches=[t],e(t)}}function et(e,t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&Xt(t),Je(e,t)}function tt(e){var t,n,r={};for(n in e)t=e[n],r[n]=t&&t.bind?t.bind(e):t;return e=r,r.type="dblclick",r.detail=2,r.isTrusted=!1,r._simulated=!0,r}var nt=200;function rt(e,t){e.addEventListener("dblclick",t);var n,r=0;function o(e){if(1===e.detail){if("mouse"!==e.pointerType&&(!e.sourceCapabilities||e.sourceCapabilities.firesTouchEvents)){var o=Yt(e);if(!o.some((function(e){return e instanceof HTMLLabelElement&&e.attributes.for}))||o.some((function(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement}))){var i=Date.now();i-r<=nt?2==++n&&t(tt(e)):n=1,r=i}}}else n=e.detail}return e.addEventListener("click",o),{dblclick:t,simDblclick:o}}function ot(e,t){e.removeEventListener("dblclick",t.dblclick),e.removeEventListener("click",t.simDblclick)}var it,at,st,lt,ct,ut=Tt(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ft=Tt(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),dt="webkitTransition"===ft||"OTransition"===ft?ft+"End":"transitionend";function pt(e){return"string"==typeof e?document.getElementById(e):e}function ht(e,t){var n=e.style[t]||e.currentStyle&&e.currentStyle[t];if((!n||"auto"===n)&&document.defaultView){var r=document.defaultView.getComputedStyle(e,null);n=r?r[t]:null}return"auto"===n?null:n}function mt(e,t,n){var r=document.createElement(e);return r.className=t||"",n&&n.appendChild(r),r}function gt(e){var t=e.parentNode;t&&t.removeChild(e)}function yt(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function vt(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function bt(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function Ot(e,t){if(void 0!==e.classList)return e.classList.contains(t);var n=Et(e);return n.length>0&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(n)}function wt(e,t){if(void 0!==e.classList)for(var n=d(t),r=0,o=n.length;r0?2*window.devicePixelRatio:1;function en(e){return Be.edge?e.wheelDeltaY/2:e.deltaY&&0===e.deltaMode?-e.deltaY/Jt:e.deltaY&&1===e.deltaMode?20*-e.deltaY:e.deltaY&&2===e.deltaMode?60*-e.deltaY:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?20*-e.detail:e.detail?e.detail/-32765*60:0}function tn(e,t){var n=t.relatedTarget;if(!n)return!0;try{for(;n&&n!==e;)n=n.parentNode}catch(e){return!1}return n!==e}var nn={__proto__:null,on:$t,off:zt,stopPropagation:Wt,disableScrollPropagation:Ht,disableClickPropagation:Zt,preventDefault:Xt,stop:qt,getPropagationPath:Yt,getMousePosition:Kt,getWheelDelta:en,isExternalTarget:tn,addListener:$t,removeListener:zt},rn=A.extend({run:function(e,t,n,r){this.stop(),this._el=e,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(r||.5,.2),this._startPos=kt(e),this._offset=t.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=_(this._animate,this),this._step()},_step:function(e){var t=+new Date-this._startTime,n=1e3*this._duration;tthis.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var n=this.getCenter(),r=this._limitCenter(n,this._zoom,$(e));return n.equals(r)||this.panTo(r,t),this._enforcingBounds=!1,this},panInside:function(e,t){var n=M((t=t||{}).paddingTopLeft||t.padding||[0,0]),r=M(t.paddingBottomRight||t.padding||[0,0]),o=this.project(this.getCenter()),i=this.project(e),a=this.getPixelBounds(),s=N([a.min.add(n),a.max.subtract(r)]),l=s.getSize();if(!s.contains(i)){this._enforcingBounds=!0;var c=i.subtract(s.getCenter()),u=s.extend(i).getSize().subtract(l);o.x+=c.x<0?-u.x:u.x,o.y+=c.y<0?-u.y:u.y,this.panTo(this.unproject(o),t),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=n({animate:!1,pan:!0},!0===e?{animate:!0}:e);var t=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var r=this.getSize(),i=t.divideBy(2).round(),a=r.divideBy(2).round(),s=i.subtract(a);return s.x||s.y?(e.animate&&e.pan?this.panBy(s):(e.pan&&this._rawPanBy(s),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(o(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:t,newSize:r})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=n({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var t=o(this._handleGeolocationResponse,this),r=o(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(t,r,e):navigator.geolocation.getCurrentPosition(t,r,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var t=e.code,n=e.message||(1===t?"permission denied":2===t?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:t,message:"Geolocation error: "+n+"."})}},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var t=new F(e.coords.latitude,e.coords.longitude),n=t.toBounds(2*e.coords.accuracy),r=this._locateOptions;if(r.setView){var o=this.getBoundsZoom(n);this.setView(t,r.maxZoom?Math.min(o,r.maxZoom):o)}var i={latlng:t,bounds:n,timestamp:e.timestamp};for(var a in e.coords)"number"==typeof e.coords[a]&&(i[a]=e.coords[a]);this.fire("locationfound",i)}},addHandler:function(e,t){if(!t)return this;var n=this[e]=new t(this);return this._handlers.push(n),this.options[e]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var e;for(e in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),gt(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(P(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[e].remove();for(e in this._panes)gt(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){var n=mt("div","leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),t||this._mapPane);return e&&(this._panes[e]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds();return new B(this.unproject(e.getBottomLeft()),this.unproject(e.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(e,t,n){e=$(e),n=M(n||[0,0]);var r=this.getZoom()||0,o=this.getMinZoom(),i=this.getMaxZoom(),a=e.getNorthWest(),s=e.getSouthEast(),l=this.getSize().subtract(n),c=N(this.project(s,r),this.project(a,r)).getSize(),u=Be.any3d?this.options.zoomSnap:1,f=l.x/c.x,d=l.y/c.y,p=t?Math.max(f,d):Math.min(f,d);return r=this.getScaleZoom(p,r),u&&(r=Math.round(r/(u/100))*(u/100),r=t?Math.ceil(r/u)*u:Math.floor(r/u)*u),Math.max(o,Math.min(i,r))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new D(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var n=this._getTopLeftPoint(e,t);return new I(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(void 0===e?this.getZoom():e)},getPane:function(e){return"string"==typeof e?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var n=this.options.crs;return t=void 0===t?this._zoom:t,n.scale(e)/n.scale(t)},getScaleZoom:function(e,t){var n=this.options.crs;t=void 0===t?this._zoom:t;var r=n.zoom(e*n.scale(t));return isNaN(r)?1/0:r},project:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.latLngToPoint(z(e),t)},unproject:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.pointToLatLng(M(e),t)},layerPointToLatLng:function(e){var t=M(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){return this.project(z(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(z(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds($(e))},distance:function(e,t){return this.options.crs.distance(z(e),z(t))},containerPointToLayerPoint:function(e){return M(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return M(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(M(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(z(e)))},mouseEventToContainerPoint:function(e){return Kt(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=pt(e);if(!t)throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");$t(t,"scroll",this._onScroll,this),this._containerId=a(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&Be.any3d,wt(e,"leaflet-container"+(Be.touch?" leaflet-touch":"")+(Be.retina?" leaflet-retina":"")+(Be.ielt9?" leaflet-oldie":"")+(Be.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var t=ht(e,"position");"absolute"!==t&&"relative"!==t&&"fixed"!==t&&"sticky"!==t&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Ct(this._mapPane,new D(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(wt(e.markerPane,"leaflet-zoom-hide"),wt(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,t,n){Ct(this._mapPane,new D(0,0));var r=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset");var o=this._zoom!==t;this._moveStart(o,n)._move(e,t)._moveEnd(o),this.fire("viewreset"),r&&this.fire("load")},_moveStart:function(e,t){return e&&this.fire("zoomstart"),t||this.fire("movestart"),this},_move:function(e,t,n,r){void 0===t&&(t=this._zoom);var o=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),r?n&&n.pinch&&this.fire("zoom",n):((o||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)),this},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return P(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){Ct(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){this._targets={},this._targets[a(this._container)]=this;var t=e?zt:$t;t(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&t(window,"resize",this._onResize,this),Be.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){P(this._resizeRequest),this._resizeRequest=_((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var n,r=[],o="mouseout"===t||"mouseover"===t,i=e.target||e.srcElement,s=!1;i;){if((n=this._targets[a(i)])&&("click"===t||"preclick"===t)&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(t,!0)){if(o&&!tn(i,e))break;if(r.push(n),o)break}if(i===this._container)break;i=i.parentNode}return r.length||s||o||!this.listens(t,!0)||(r=[this]),r},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var t=e.target||e.srcElement;if(!(!this._loaded||t._leaflet_disable_events||"click"===e.type&&this._isClickDisabled(t))){var n=e.type;"mousedown"===n&&Rt(t),this._fireDOMEvent(e,n)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,t,r){if("click"===e.type){var o=n({},e);o.type="preclick",this._fireDOMEvent(o,o.type,r)}var i=this._findEventTargets(e,t);if(r){for(var a=[],s=0;s0?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),n=this.getMaxZoom(),r=Be.any3d?this.options.zoomSnap:1;return r&&(e=Math.round(e/r)*r),Math.max(t,Math.min(n,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){St(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,t){var n=this._getCenterOffset(e)._trunc();return!(!0!==(t&&t.animate)&&!this.getSize().contains(n)||(this.panBy(n,t),0))},_createAnimProxy:function(){var e=this._proxy=mt("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",(function(e){var t=ut,n=this._proxy.style[t];jt(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),n===this._proxy.style[t]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){gt(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),t=this.getZoom();jt(this._proxy,this.project(e,t),this.getZoomScale(t,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,t,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var r=this.getZoomScale(t),o=this._getCenterOffset(e)._divideBy(1-1/r);return!(!0!==n.animate&&!this.getSize().contains(o)||(_((function(){this._moveStart(!0,n.noMoveStart||!1)._animateZoom(e,t,!0)}),this),0))},_animateZoom:function(e,t,n,r){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,wt(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:t,noUpdate:r}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(o(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&St(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))}});function an(e,t){return new on(e,t)}var sn=j.extend({options:{position:"topright"},initialize:function(e){p(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),n=this.getPosition(),r=e._controlCorners[n];return wt(t,"leaflet-control"),-1!==n.indexOf("bottom")?r.insertBefore(t,r.firstChild):r.appendChild(t),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(gt(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),ln=function(e){return new sn(e)};on.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},t="leaflet-",n=this._controlContainer=mt("div",t+"control-container",this._container);function r(r,o){var i=t+r+" "+t+o;e[r+o]=mt("div",i,n)}r("top","left"),r("top","right"),r("bottom","left"),r("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)gt(this._controlCorners[e]);gt(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var cn=sn.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,n,r){return n1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=t&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(a(e.target)),n=t.overlay?"add"===e.type?"overlayadd":"overlayremove":"add"===e.type?"baselayerchange":null;n&&this._map.fire(n,t)},_createRadioElement:function(e,t){var n='",r=document.createElement("div");return r.innerHTML=n,r.firstChild},_addItem:function(e){var t,n=document.createElement("label"),r=this._map.hasLayer(e.layer);e.overlay?((t=document.createElement("input")).type="checkbox",t.className="leaflet-control-layers-selector",t.defaultChecked=r):t=this._createRadioElement("leaflet-base-layers_"+a(this),r),this._layerControlInputs.push(t),t.layerId=a(e.layer),$t(t,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+e.name;var i=document.createElement("span");return n.appendChild(i),i.appendChild(t),i.appendChild(o),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){if(!this._preventClick){var e,t,n=this._layerControlInputs,r=[],o=[];this._handlingClick=!0;for(var i=n.length-1;i>=0;i--)e=n[i],t=this._getLayer(e.layerId).layer,e.checked?r.push(t):e.checked||o.push(t);for(i=0;i=0;o--)e=n[o],t=this._getLayer(e.layerId).layer,e.disabled=void 0!==t.options.minZoom&&rt.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,$t(e,"click",Xt),this.expand();var t=this;setTimeout((function(){zt(e,"click",Xt),t._preventClick=!1}))}}),un=function(e,t,n){return new cn(e,t,n)},fn=sn.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",n=mt("div",t+" leaflet-bar"),r=this.options;return this._zoomInButton=this._createButton(r.zoomInText,r.zoomInTitle,t+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(r.zoomOutText,r.zoomOutTitle,t+"-out",n,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(e){e.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(e){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,n,r,o){var i=mt("a",n,r);return i.innerHTML=e,i.href="#",i.title=t,i.setAttribute("role","button"),i.setAttribute("aria-label",t),Zt(i),$t(i,"click",qt),$t(i,"click",o,this),$t(i,"click",this._refocusOnMap,this),i},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";St(this._zoomInButton,t),St(this._zoomOutButton,t),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||e._zoom===e.getMinZoom())&&(wt(this._zoomOutButton,t),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||e._zoom===e.getMaxZoom())&&(wt(this._zoomInButton,t),this._zoomInButton.setAttribute("aria-disabled","true"))}});on.mergeOptions({zoomControl:!0}),on.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new fn,this.addControl(this.zoomControl))}));var dn=function(e){return new fn(e)},pn=sn.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t="leaflet-control-scale",n=mt("div",t),r=this.options;return this._addScales(r,t+"-line",n),e.on(r.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),n},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,n){e.metric&&(this._mScale=mt("div",t,n)),e.imperial&&(this._iScale=mt("div",t,n))},_update:function(){var e=this._map,t=e.getSize().y/2,n=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(n)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),n=t<1e3?t+" m":t/1e3+" km";this._updateScale(this._mScale,n,t/e)},_updateImperial:function(e){var t,n,r,o=3.2808399*e;o>5280?(t=o/5280,n=this._getRoundNum(t),this._updateScale(this._iScale,n+" mi",n/t)):(r=this._getRoundNum(o),this._updateScale(this._iScale,r+" ft",r/o))},_updateScale:function(e,t,n){e.style.width=Math.round(this.options.maxWidth*n)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1),n=e/t;return t*(n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1)}}),hn=function(e){return new pn(e)},mn='',gn=sn.extend({options:{position:"bottomright",prefix:''+(Be.inlineSvg?mn+" ":"")+"Leaflet"},initialize:function(e){p(this,e),this._attributions={}},onAdd:function(e){for(var t in e.attributionControl=this,this._container=mt("div","leaflet-control-attribution"),Zt(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),e.on("layeradd",this._addAttribution,this),this._container},onRemove:function(e){e.off("layeradd",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once("remove",(function(){this.removeAttribution(e.layer.getAttribution())}),this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var n=[];this.options.prefix&&n.push(this.options.prefix),e.length&&n.push(e.join(", ")),this._container.innerHTML=n.join(' ')}}});on.mergeOptions({attributionControl:!0}),on.addInitHook((function(){this.options.attributionControl&&(new gn).addTo(this)}));var yn=function(e){return new gn(e)};sn.Layers=cn,sn.Zoom=fn,sn.Scale=pn,sn.Attribution=gn,ln.layers=un,ln.zoom=dn,ln.scale=hn,ln.attribution=yn;var vn=j.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});vn.addTo=function(e,t){return e.addHandler(t,this),this};var bn={Events:k},On=Be.touch?"touchstart mousedown":"mousedown",wn=A.extend({options:{clickTolerance:3},initialize:function(e,t,n,r){p(this,r),this._element=e,this._dragStartTarget=t||e,this._preventOutline=n},enable:function(){this._enabled||($t(this._dragStartTarget,On,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(wn._dragging===this&&this.finishDrag(!0),zt(this._dragStartTarget,On,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!Ot(this._element,"leaflet-zoom-anim")))if(e.touches&&1!==e.touches.length)wn._dragging===this&&this.finishDrag();else if(!(wn._dragging||e.shiftKey||1!==e.which&&1!==e.button&&!e.touches||(wn._dragging=this,this._preventOutline&&Rt(this._element),Dt(),it(),this._moving))){this.fire("down");var t=e.touches?e.touches[0]:e,n=It(this._element);this._startPoint=new D(t.clientX,t.clientY),this._startPos=kt(this._element),this._parentScale=Nt(n);var r="mousedown"===e.type;$t(document,r?"mousemove":"touchmove",this._onMove,this),$t(document,r?"mouseup":"touchend touchcancel",this._onUp,this)}},_onMove:function(e){if(this._enabled)if(e.touches&&e.touches.length>1)this._moved=!0;else{var t=e.touches&&1===e.touches.length?e.touches[0]:e,n=new D(t.clientX,t.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)l&&(i=a,l=s);l>n&&(t[i]=1,An(e,t,n,r,i),An(e,t,n,i,o))}function Dn(e,t){for(var n=[e[0]],r=1,o=0,i=e.length;rt&&(n.push(e[r]),o=r);return ot.max.x&&(n|=2),e.yt.max.y&&(n|=8),n}function In(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r}function Nn(e,t,n,r){var o,i=t.x,a=t.y,s=n.x-i,l=n.y-a,c=s*s+l*l;return c>0&&((o=((e.x-i)*s+(e.y-a)*l)/c)>1?(i=n.x,a=n.y):o>0&&(i+=s*o,a+=l*o)),s=e.x-i,l=e.y-a,r?s*s+l*l:new D(i,a)}function Bn(e){return!y(e[0])||"object"!=typeof e[0][0]&&void 0!==e[0][0]}function $n(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Bn(e)}function Fn(e,t){var n,r,o,i,a,s,l,c;if(!e||0===e.length)throw new Error("latlngs not passed");Bn(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var u=z([0,0]),f=$(e);f.getNorthWest().distanceTo(f.getSouthWest())*f.getNorthEast().distanceTo(f.getNorthWest())<1700&&(u=En(e));var d=e.length,p=[];for(n=0;nr){l=(i-r)/o,c=[s.x-l*(s.x-a.x),s.y-l*(s.y-a.y)];break}var m=t.unproject(M(c));return z([m.lat+u.lat,m.lng+u.lng])}var zn={__proto__:null,simplify:Tn,pointToSegmentDistance:jn,closestPointOnSegment:Cn,clipSegment:Ln,_getEdgeIntersection:Rn,_getBitCode:Mn,_sqClosestPointOnSegment:Nn,isFlat:Bn,_flat:$n,polylineCenter:Fn},Qn={project:function(e){return new D(e.lng,e.lat)},unproject:function(e){return new F(e.y,e.x)},bounds:new I([-180,-90],[180,90])},Vn={R:6378137,R_MINOR:6356752.314245179,bounds:new I([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(e){var t=Math.PI/180,n=this.R,r=e.lat*t,o=this.R_MINOR/n,i=Math.sqrt(1-o*o),a=i*Math.sin(r),s=Math.tan(Math.PI/4-r/2)/Math.pow((1-a)/(1+a),i/2);return r=-n*Math.log(Math.max(s,1e-10)),new D(e.lng*t*n,r)},unproject:function(e){for(var t,n=180/Math.PI,r=this.R,o=this.R_MINOR/r,i=Math.sqrt(1-o*o),a=Math.exp(-e.y/r),s=Math.PI/2-2*Math.atan(a),l=0,c=.1;l<15&&Math.abs(c)>1e-7;l++)t=i*Math.sin(s),t=Math.pow((1-t)/(1+t),i/2),s+=c=Math.PI/2-2*Math.atan(a*t)-s;return new F(s*n,e.x*n/r)}},Un={__proto__:null,LonLat:Qn,Mercator:Vn,SphericalMercator:W},Gn=n({},U,{code:"EPSG:3395",projection:Vn,transformation:function(){var e=.5/(Math.PI*Vn.R);return Z(e,.5,-e,.5)}()}),Wn=n({},U,{code:"EPSG:4326",projection:Qn,transformation:Z(1/180,1,-1/180,.5)}),Hn=n({},V,{projection:Qn,transformation:Z(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var n=t.lng-e.lng,r=t.lat-e.lat;return Math.sqrt(n*n+r*r)},infinite:!0});V.Earth=U,V.EPSG3395=Gn,V.EPSG3857=X,V.EPSG900913=q,V.EPSG4326=Wn,V.Simple=Hn;var Zn=A.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[a(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[a(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var n=this.getEvents();t.on(n,this),this.once("remove",(function(){t.off(n,this)}),this)}this.onAdd(t),this.fire("add"),t.fire("layeradd",{layer:this})}}});on.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var t=a(e);return this._layers[t]||(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e)),this},removeLayer:function(e){var t=a(e);return this._layers[t]?(this._loaded&&e.onRemove(this),delete this._layers[t],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return a(e)in this._layers},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},_addLayers:function(e){for(var t=0,n=(e=e?y(e)?e:[e]:[]).length;tthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()=2&&t[0]instanceof F&&t[0].equals(t[n-1])&&t.pop(),t},_setLatLngs:function(e){ur.prototype._setLatLngs.call(this,e),Bn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Bn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,n=new D(t,t);if(e=new I(e.min.subtract(n),e.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e))if(this.options.noClip)this._parts=this._rings;else for(var r,o=0,i=this._rings.length;oe.y!=r.y>e.y&&e.x<(r.x-n.x)*(e.y-n.y)/(r.y-n.y)+n.x&&(c=!c);return c||ur.prototype._containsPoint.call(this,e,!0)}});function pr(e,t){return new dr(e,t)}var hr=Yn.extend({initialize:function(e,t){p(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t,n,r,o=y(e)?e:e.features;if(o){for(t=0,n=o.length;t0&&o.push(o[0].slice()),o}function wr(e,t){return e.feature?n({},e.feature,{geometry:t}):Sr(t)}function Sr(e){return"Feature"===e.type||"FeatureCollection"===e.type?e:{type:"Feature",properties:{},geometry:e}}var xr={toGeoJSON:function(e){return wr(this,{type:"Point",coordinates:br(this.getLatLng(),e)})}};function Er(e,t){return new hr(e,t)}rr.include(xr),lr.include(xr),ar.include(xr),ur.include({toGeoJSON:function(e){var t=!Bn(this._latlngs);return wr(this,{type:(t?"Multi":"")+"LineString",coordinates:Or(this._latlngs,t?1:0,!1,e)})}}),dr.include({toGeoJSON:function(e){var t=!Bn(this._latlngs),n=t&&!Bn(this._latlngs[0]),r=Or(this._latlngs,n?2:t?1:0,!0,e);return t||(r=[r]),wr(this,{type:(n?"Multi":"")+"Polygon",coordinates:r})}}),Xn.include({toMultiPoint:function(e){var t=[];return this.eachLayer((function(n){t.push(n.toGeoJSON(e).geometry.coordinates)})),wr(this,{type:"MultiPoint",coordinates:t})},toGeoJSON:function(e){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===t)return this.toMultiPoint(e);var n="GeometryCollection"===t,r=[];return this.eachLayer((function(t){if(t.toGeoJSON){var o=t.toGeoJSON(e);if(n)r.push(o.geometry);else{var i=Sr(o);"FeatureCollection"===i.type?r.push.apply(r,i.features):r.push(i)}}})),n?wr(this,{geometries:r,type:"GeometryCollection"}):{type:"FeatureCollection",features:r}}});var _r=Er,Pr=Zn.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,t,n){this._url=e,this._bounds=$(t),p(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(wt(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){gt(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&vt(this._image),this},bringToBack:function(){return this._map&&bt(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=$(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e="IMG"===this._url.tagName,t=this._image=e?this._url:mt("img");wt(t,"leaflet-image-layer"),this._zoomAnimated&&wt(t,"leaflet-zoom-animated"),this.options.className&&wt(t,this.options.className),t.onselectstart=c,t.onmousemove=c,t.onload=o(this.fire,this,"load"),t.onerror=o(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(t.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e?this._url=t.src:(t.src=this._url,t.alt=this.options.alt)},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;jt(this._image,n,t)},_reset:function(){var e=this._image,t=new I(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=t.getSize();Ct(e,t.min),e.style.width=n.x+"px",e.style.height=n.y+"px"},_updateOpacity:function(){_t(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 e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),Tr=function(e,t,n){return new Pr(e,t,n)},jr=Pr.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e="VIDEO"===this._url.tagName,t=this._image=e?this._url:mt("video");if(wt(t,"leaflet-image-layer"),this._zoomAnimated&&wt(t,"leaflet-zoom-animated"),this.options.className&&wt(t,this.options.className),t.onselectstart=c,t.onmousemove=c,t.onloadeddata=o(this.fire,this,"load"),e){for(var n=t.getElementsByTagName("source"),r=[],i=0;i0?r:[t.src]}else{y(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(t.style,"objectFit")&&(t.style.objectFit="fill"),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop,t.muted=!!this.options.muted,t.playsInline=!!this.options.playsInline;for(var a=0;ao?(t.height=o+"px",wt(e,i)):St(e,i),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),n=this._getAnchor();Ct(this._container,t.add(n))},_adjustPan:function(){if(this.options.autoPan)if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var e=this._map,t=parseInt(ht(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+t,r=this._containerWidth,o=new D(this._containerLeft,-n-this._containerBottom);o._add(kt(this._container));var i=e.layerPointToContainerPoint(o),a=M(this.options.autoPanPadding),s=M(this.options.autoPanPaddingTopLeft||a),l=M(this.options.autoPanPaddingBottomRight||a),c=e.getSize(),u=0,f=0;i.x+r+l.x>c.x&&(u=i.x+r-c.x+l.x),i.x-u-s.x<0&&(u=i.x-s.x),i.y+n+l.y>c.y&&(f=i.y+n-c.y+l.y),i.y-f-s.y<0&&(f=i.y-s.y),(u||f)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([u,f]))}},_getAnchor:function(){return M(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Rr=function(e,t){return new Lr(e,t)};on.mergeOptions({closePopupOnClick:!0}),on.include({openPopup:function(e,t,n){return this._initOverlay(Lr,e,t,n).openOn(this),this},closePopup:function(e){return(e=arguments.length?e:this._popup)&&e.close(),this}}),Zn.include({bindPopup:function(e,t){return this._popup=this._initOverlay(Lr,this._popup,e,t),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(e){return this._popup&&(this instanceof Yn||(this._popup._source=this),this._popup._prepareOpen(e||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(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(this._popup&&this._map){qt(e);var t=e.layer||e.target;this._popup._source!==t||t instanceof ir?(this._popup._source=t,this.openPopup(e.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){13===e.originalEvent.keyCode&&this._openPopup(e)}});var Mr=Dr.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){Dr.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(e){Dr.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var e=Dr.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=mt("div",e),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+a(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t,n,r=this._map,o=this._container,i=r.latLngToContainerPoint(r.getCenter()),a=r.layerPointToContainerPoint(e),s=this.options.direction,l=o.offsetWidth,c=o.offsetHeight,u=M(this.options.offset),f=this._getAnchor();"top"===s?(t=l/2,n=c):"bottom"===s?(t=l/2,n=0):"center"===s?(t=l/2,n=c/2):"right"===s?(t=0,n=c/2):"left"===s?(t=l,n=c/2):a.xthis.options.maxZoom||nr&&this._retainParent(o,i,a,r))},_retainChildren:function(e,t,n,r){for(var o=2*e;o<2*e+2;o++)for(var i=2*t;i<2*t+2;i++){var a=new D(o,i);a.z=n+1;var s=this._tileCoordsToKey(a),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1this.options.maxZoom||void 0!==this.options.minZoom&&o1)this._setView(e,n);else{for(var f=o.min.y;f<=o.max.y;f++)for(var d=o.min.x;d<=o.max.x;d++){var p=new D(d,f);if(p.z=this._tileZoom,this._isValidTile(p)){var h=this._tiles[this._tileCoordsToKey(p)];h?h.current=!0:a.push(p)}}if(a.sort((function(e,t){return e.distanceTo(i)-t.distanceTo(i)})),0!==a.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;dn.max.x)||!t.wrapLat&&(e.yn.max.y))return!1}if(!this.options.bounds)return!0;var r=this._tileCoordsToBounds(e);return $(this.options.bounds).overlaps(r)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,n=this.getTileSize(),r=e.scaleBy(n),o=r.add(n);return[t.unproject(r,e.z),t.unproject(o,e.z)]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),n=new B(t[0],t[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=e.split(":"),n=new D(+t[0],+t[1]);return n.z=+t[2],n},_removeTile:function(e){var t=this._tiles[e];t&&(gt(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){wt(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=c,e.onmousemove=c,Be.ielt9&&this.options.opacity<1&&_t(e,this.options.opacity)},_addTile:function(e,t){var n=this._getTilePos(e),r=this._tileCoordsToKey(e),i=this.createTile(this._wrapCoords(e),o(this._tileReady,this,e));this._initTile(i),this.createTile.length<2&&_(o(this._tileReady,this,e,null,i)),Ct(i,n),this._tiles[r]={el:i,coords:e,current:!0},t.appendChild(i),this.fire("tileloadstart",{tile:i,coords:e})},_tileReady:function(e,t,n){t&&this.fire("tileerror",{error:t,tile:n,coords:e});var r=this._tileCoordsToKey(e);(n=this._tiles[r])&&(n.loaded=+new Date,this._map._fadeAnimated?(_t(n.el,0),P(this._fadeFrame),this._fadeFrame=_(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),t||(wt(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Be.ielt9||!this._map._fadeAnimated?_(this._pruneTiles,this):setTimeout(o(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new D(this._wrapX?l(e.x,this._wrapX):e.x,this._wrapY?l(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new I(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function Fr(e){return new $r(e)}var zr=$r.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,t){this._url=e,(t=p(this,t)).detectRetina&&Be.retina&&t.maxZoom>0?(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom=Math.min(t.maxZoom,t.minZoom+1)):(t.zoomOffset++,t.maxZoom=Math.max(t.minZoom,t.maxZoom-1)),t.minZoom=Math.max(0,t.minZoom)):t.zoomReverse?t.minZoom=Math.min(t.maxZoom,t.minZoom):t.maxZoom=Math.max(t.minZoom,t.maxZoom),"string"==typeof t.subdomains&&(t.subdomains=t.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(e,t){return this._url===e&&void 0===t&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var n=document.createElement("img");return $t(n,"load",o(this._tileOnLoad,this,t,n)),$t(n,"error",o(this._tileOnError,this,t,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(n.referrerPolicy=this.options.referrerPolicy),n.alt="",n.src=this.getTileUrl(e),n},getTileUrl:function(e){var t={r:Be.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var r=this._globalTileRange.max.y-e.y;this.options.tms&&(t.y=r),t["-y"]=r}return g(this._url,n(t,this.options))},_tileOnLoad:function(e,t){Be.ielt9?setTimeout(o(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,n){var r=this.options.errorTileUrl;r&&t.getAttribute("src")!==r&&(t.src=r),e(n,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom;return this.options.zoomReverse&&(e=t-e),e+this.options.zoomOffset},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&((t=this._tiles[e].el).onload=c,t.onerror=c,!t.complete)){t.src=b;var n=this._tiles[e].coords;gt(t),delete this._tiles[e],this.fire("tileabort",{tile:t,coords:n})}},_removeTile:function(e){var t=this._tiles[e];if(t)return t.el.setAttribute("src",b),$r.prototype._removeTile.call(this,e)},_tileReady:function(e,t,n){if(this._map&&(!n||n.getAttribute("src")!==b))return $r.prototype._tileReady.call(this,e,t,n)}});function Qr(e,t){return new zr(e,t)}var Vr=zr.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,t){this._url=e;var r=n({},this.defaultWmsParams);for(var o in t)o in this.options||(r[o]=t[o]);var i=(t=p(this,t)).detectRetina&&Be.retina?2:1,a=this.getTileSize();r.width=a.x*i,r.height=a.y*i,this.wmsParams=r},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[t]=this._crs.code,zr.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),n=this._crs,r=N(n.project(t[0]),n.project(t[1])),o=r.min,i=r.max,a=(this._wmsVersion>=1.3&&this._crs===Wn?[o.y,o.x,i.y,i.x]:[o.x,o.y,i.x,i.y]).join(","),s=zr.prototype.getTileUrl.call(this,e);return s+h(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+a},setParams:function(e,t){return n(this.wmsParams,e),t||this.redraw(),this}});function Ur(e,t){return new Vr(e,t)}zr.WMS=Vr,Qr.wms=Ur;var Gr=Zn.extend({options:{padding:.1},initialize:function(e){p(this,e),a(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),wt(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 e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var n=this._map.getZoomScale(t,this._zoom),r=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,t),i=r.multiplyBy(-n).add(o).subtract(this._map._getNewPixelOrigin(e,t));Be.any3d?jt(this._container,i,n):Ct(this._container,i)},_reset:function(){for(var e in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),n=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();this._bounds=new I(n,n.add(t.multiplyBy(1+2*e)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Wr=Gr.extend({options:{tolerance:0},getEvents:function(){var e=Gr.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Gr.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");$t(e,"mousemove",this._onMouseMove,this),$t(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),$t(e,"mouseout",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext("2d")},_destroyContainer:function(){P(this._redrawRequest),delete this._ctx,gt(this._container),zt(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var e in this._redrawBounds=null,this._layers)this._layers[e]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){Gr.prototype._update.call(this);var e=this._bounds,t=this._container,n=e.getSize(),r=Be.retina?2:1;Ct(t,e.min),t.width=r*n.x,t.height=r*n.y,t.style.width=n.x+"px",t.style.height=n.y+"px",Be.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){Gr.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[a(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,n=t.next,r=t.prev;n?n.prev=r:this._drawLast=r,r?r.next=n:this._drawFirst=n,delete e._order,delete this._layers[a(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if("string"==typeof e.options.dashArray){var t,n,r=e.options.dashArray.split(/[, ]+/),o=[];for(n=0;n')}}catch(e){}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Xr={_initContainer:function(){this._container=mt("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Gr.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=Zr("shape");wt(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=Zr("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[a(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;gt(t),e.removeInteractiveTarget(t),delete this._layers[a(e)]},_updateStyle:function(e){var t=e._stroke,n=e._fill,r=e.options,o=e._container;o.stroked=!!r.stroke,o.filled=!!r.fill,r.stroke?(t||(t=e._stroke=Zr("stroke")),o.appendChild(t),t.weight=r.weight+"px",t.color=r.color,t.opacity=r.opacity,r.dashArray?t.dashStyle=y(r.dashArray)?r.dashArray.join(" "):r.dashArray.replace(/( *, *)/g," "):t.dashStyle="",t.endcap=r.lineCap.replace("butt","flat"),t.joinstyle=r.lineJoin):t&&(o.removeChild(t),e._stroke=null),r.fill?(n||(n=e._fill=Zr("fill")),o.appendChild(n),n.color=r.fillColor||r.color,n.opacity=r.fillOpacity):n&&(o.removeChild(n),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),n=Math.round(e._radius),r=Math.round(e._radiusY||n);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+n+","+r+" 0,23592600")},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){vt(e._container)},_bringToBack:function(e){bt(e._container)}},qr=Be.vml?Zr:Y,Yr=Gr.extend({_initContainer:function(){this._container=qr("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=qr("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){gt(this._container),zt(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){Gr.prototype._update.call(this);var e=this._bounds,t=e.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(t)||(this._svgSize=t,n.setAttribute("width",t.x),n.setAttribute("height",t.y)),Ct(n,e.min),n.setAttribute("viewBox",[e.min.x,e.min.y,t.x,t.y].join(" ")),this.fire("update")}},_initPath:function(e){var t=e._path=qr("path");e.options.className&&wt(t,e.options.className),e.options.interactive&&wt(t,"leaflet-interactive"),this._updateStyle(e),this._layers[a(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){gt(e._path),e.removeInteractiveTarget(e._path),delete this._layers[a(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,n=e.options;t&&(n.stroke?(t.setAttribute("stroke",n.color),t.setAttribute("stroke-opacity",n.opacity),t.setAttribute("stroke-width",n.weight),t.setAttribute("stroke-linecap",n.lineCap),t.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?t.setAttribute("stroke-dasharray",n.dashArray):t.removeAttribute("stroke-dasharray"),n.dashOffset?t.setAttribute("stroke-dashoffset",n.dashOffset):t.removeAttribute("stroke-dashoffset")):t.setAttribute("stroke","none"),n.fill?(t.setAttribute("fill",n.fillColor||n.color),t.setAttribute("fill-opacity",n.fillOpacity),t.setAttribute("fill-rule",n.fillRule||"evenodd")):t.setAttribute("fill","none"))},_updatePoly:function(e,t){this._setPath(e,K(e._parts,t))},_updateCircle:function(e){var t=e._point,n=Math.max(Math.round(e._radius),1),r="a"+n+","+(Math.max(Math.round(e._radiusY),1)||n)+" 0 1,0 ",o=e._empty()?"M0 0":"M"+(t.x-n)+","+t.y+r+2*n+",0 "+r+2*-n+",0 ";this._setPath(e,o)},_setPath:function(e,t){e._path.setAttribute("d",t)},_bringToFront:function(e){vt(e._path)},_bringToBack:function(e){bt(e._path)}});function Kr(e){return Be.svg||Be.vml?new Yr(e):null}Be.vml&&Yr.include(Xr),on.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||(t=this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if("overlayPane"===e||void 0===e)return!1;var t=this._paneRenderers[e];return void 0===t&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&Hr(e)||Kr(e)}});var Jr=dr.extend({initialize:function(e,t){dr.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return[(e=$(e)).getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function eo(e,t){return new Jr(e,t)}Yr.create=qr,Yr.pointsToPath=K,hr.geometryToLayer=mr,hr.coordsToLatLng=yr,hr.coordsToLatLngs=vr,hr.latLngToCoords=br,hr.latLngsToCoords=Or,hr.getFeature=wr,hr.asFeature=Sr,on.mergeOptions({boxZoom:!0});var to=vn.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){$t(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){zt(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){gt(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(e){if(!e.shiftKey||1!==e.which&&1!==e.button)return!1;this._clearDeferredResetState(),this._resetState(),it(),Dt(),this._startPoint=this._map.mouseEventToContainerPoint(e),$t(document,{contextmenu:qt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=mt("div","leaflet-zoom-box",this._container),wt(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=new I(this._point,this._startPoint),n=t.getSize();Ct(this._box,t.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(gt(this._box),St(this._container,"leaflet-crosshair")),at(),Lt(),zt(document,{contextmenu:qt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((1===e.which||1===e.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(o(this._resetState,this),0);var t=new B(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})}},_onKeyDown:function(e){27===e.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});on.addInitHook("addHandler","boxZoom",to),on.mergeOptions({doubleClickZoom:!0});var no=vn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,n=t.getZoom(),r=t.options.zoomDelta,o=e.originalEvent.shiftKey?n-r:n+r;"center"===t.options.doubleClickZoom?t.setZoom(o):t.setZoomAround(e.containerPoint,o)}});on.addInitHook("addHandler","doubleClickZoom",no),on.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var ro=vn.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new wn(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}wt(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){St(this._map._container,"leaflet-grab"),St(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 e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var t=$(this._map.options.maxBounds);this._offsetLimit=N(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var t=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(t),this._prunePositions(t)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.xt.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),n=this._initialWorldOffset,r=this._draggable._newPos.x,o=(r-t+n)%e+t-n,i=(r+t+n)%e-t-n,a=Math.abs(o+n)0?i:-i))-t;this._delta=0,this._startTime=null,a&&("center"===e.options.scrollWheelZoom?e.setZoom(t+a):e.setZoomAround(this._lastMousePos,t+a))}});on.addInitHook("addHandler","scrollWheelZoom",io);var ao=600;on.mergeOptions({tapHold:Be.touchNative&&Be.safari&&Be.mobile,tapTolerance:15});var so=vn.extend({addHooks:function(){$t(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){zt(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),1===e.touches.length){var t=e.touches[0];this._startPos=this._newPos=new D(t.clientX,t.clientY),this._holdTimeout=setTimeout(o((function(){this._cancel(),this._isTapValid()&&($t(document,"touchend",Xt),$t(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",t))}),this),ao),$t(document,"touchend touchcancel contextmenu",this._cancel,this),$t(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function e(){zt(document,"touchend",Xt),zt(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),zt(document,"touchend touchcancel contextmenu",this._cancel,this),zt(document,"touchmove",this._onMove,this)},_onMove:function(e){var t=e.touches[0];this._newPos=new D(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,t){var n=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY});n._simulated=!0,t.target.dispatchEvent(n)}});on.addInitHook("addHandler","tapHold",so),on.mergeOptions({touchZoom:Be.touch,bounceAtZoomLimits:!0});var lo=vn.extend({addHooks:function(){wt(this._map._container,"leaflet-touch-zoom"),$t(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){St(this._map._container,"leaflet-touch-zoom"),zt(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(e.touches&&2===e.touches.length&&!t._animatingZoom&&!this._zooming){var n=t.mouseEventToContainerPoint(e.touches[0]),r=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),"center"!==t.options.touchZoom&&(this._pinchStartLatLng=t.containerPointToLatLng(n.add(r)._divideBy(2))),this._startDist=n.distanceTo(r),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),$t(document,"touchmove",this._onTouchMove,this),$t(document,"touchend touchcancel",this._onTouchEnd,this),Xt(e)}},_onTouchMove:function(e){if(e.touches&&2===e.touches.length&&this._zooming){var t=this._map,n=t.mouseEventToContainerPoint(e.touches[0]),r=t.mouseEventToContainerPoint(e.touches[1]),i=n.distanceTo(r)/this._startDist;if(this._zoom=t.getScaleZoom(i,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoomt.getMaxZoom()&&i>1)&&(this._zoom=t._limitZoom(this._zoom)),"center"===t.options.touchZoom){if(this._center=this._startLatLng,1===i)return}else{var a=n._add(r)._divideBy(2)._subtract(this._centerPoint);if(1===i&&0===a.x&&0===a.y)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(a),this._zoom)}this._moved||(t._moveStart(!0,!1),this._moved=!0),P(this._animRequest);var s=o(t._move,t,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=_(s,this,!0),Xt(e)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,P(this._animRequest),zt(document,"touchmove",this._onTouchMove,this),zt(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))):this._zooming=!1}});on.addInitHook("addHandler","touchZoom",lo),on.BoxZoom=to,on.DoubleClickZoom=no,on.Drag=ro,on.Keyboard=oo,on.ScrollWheelZoom=io,on.TapHold=so,on.TouchZoom=lo,e.Bounds=I,e.Browser=Be,e.CRS=V,e.Canvas=Wr,e.Circle=lr,e.CircleMarker=ar,e.Class=j,e.Control=sn,e.DivIcon=Nr,e.DivOverlay=Dr,e.DomEvent=nn,e.DomUtil=Bt,e.Draggable=wn,e.Evented=A,e.FeatureGroup=Yn,e.GeoJSON=hr,e.GridLayer=$r,e.Handler=vn,e.Icon=Jn,e.ImageOverlay=Pr,e.LatLng=F,e.LatLngBounds=B,e.Layer=Zn,e.LayerGroup=Xn,e.LineUtil=zn,e.Map=on,e.Marker=rr,e.Mixin=bn,e.Path=ir,e.Point=D,e.PolyUtil=Pn,e.Polygon=dr,e.Polyline=ur,e.Popup=Lr,e.PosAnimation=rn,e.Projection=Un,e.Rectangle=Jr,e.Renderer=Gr,e.SVG=Yr,e.SVGOverlay=kr,e.TileLayer=zr,e.Tooltip=Mr,e.Transformation=H,e.Util=T,e.VideoOverlay=jr,e.bind=o,e.bounds=N,e.canvas=Hr,e.circle=cr,e.circleMarker=sr,e.control=ln,e.divIcon=Br,e.extend=n,e.featureGroup=Kn,e.geoJSON=Er,e.geoJson=_r,e.gridLayer=Fr,e.icon=er,e.imageOverlay=Tr,e.latLng=z,e.latLngBounds=$,e.layerGroup=qn,e.map=an,e.marker=or,e.point=M,e.polygon=pr,e.polyline=fr,e.popup=Rr,e.rectangle=eo,e.setOptions=p,e.stamp=a,e.svg=Kr,e.svgOverlay=Ar,e.tileLayer=Qr,e.tooltip=Ir,e.transformation=Z,e.version=t,e.videoOverlay=Cr;var co=window.L;e.noConflict=function(){return window.L=co,this},window.L=e}(t)},96486:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,c=32,u=64,f=128,d=256,p=1/0,h=9007199254740991,m=NaN,g=4294967295,y=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",u],["rearg",d]],v="[object Arguments]",b="[object Array]",O="[object Boolean]",w="[object Date]",S="[object Error]",x="[object Function]",E="[object GeneratorFunction]",_="[object Map]",P="[object Number]",T="[object Object]",j="[object Promise]",C="[object RegExp]",k="[object Set]",A="[object String]",D="[object Symbol]",L="[object WeakMap]",R="[object ArrayBuffer]",M="[object DataView]",I="[object Float32Array]",N="[object Float64Array]",B="[object Int8Array]",$="[object Int16Array]",F="[object Int32Array]",z="[object Uint8Array]",Q="[object Uint8ClampedArray]",V="[object Uint16Array]",U="[object Uint32Array]",G=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Z=/&(?:amp|lt|gt|quot|#39);/g,X=/[&<>"']/g,q=RegExp(Z.source),Y=RegExp(X.source),K=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,ye=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,Oe=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Se=/($^)/,xe=/['\n\r\u2028\u2029\\]/g,Ee="\\ud800-\\udfff",_e="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Pe="\\u2700-\\u27bf",Te="a-z\\xdf-\\xf6\\xf8-\\xff",je="A-Z\\xc0-\\xd6\\xd8-\\xde",Ce="\\ufe0e\\ufe0f",ke="\\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",Ae="['’]",De="["+Ee+"]",Le="["+ke+"]",Re="["+_e+"]",Me="\\d+",Ie="["+Pe+"]",Ne="["+Te+"]",Be="[^"+Ee+ke+Me+Pe+Te+je+"]",$e="\\ud83c[\\udffb-\\udfff]",Fe="[^"+Ee+"]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Qe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ve="["+je+"]",Ue="\\u200d",Ge="(?:"+Ne+"|"+Be+")",We="(?:"+Ve+"|"+Be+")",He="(?:['’](?:d|ll|m|re|s|t|ve))?",Ze="(?:['’](?:D|LL|M|RE|S|T|VE))?",Xe="(?:"+Re+"|"+$e+")"+"?",qe="["+Ce+"]?",Ye=qe+Xe+("(?:"+Ue+"(?:"+[Fe,ze,Qe].join("|")+")"+qe+Xe+")*"),Ke="(?:"+[Ie,ze,Qe].join("|")+")"+Ye,Je="(?:"+[Fe+Re+"?",Re,ze,Qe,De].join("|")+")",et=RegExp(Ae,"g"),tt=RegExp(Re,"g"),nt=RegExp($e+"(?="+$e+")|"+Je+Ye,"g"),rt=RegExp([Ve+"?"+Ne+"+"+He+"(?="+[Le,Ve,"$"].join("|")+")",We+"+"+Ze+"(?="+[Le,Ve+Ge,"$"].join("|")+")",Ve+"?"+Ge+"+"+He,Ve+"+"+Ze,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Me,Ke].join("|"),"g"),ot=RegExp("["+Ue+Ee+_e+Ce+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["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"],st=-1,lt={};lt[I]=lt[N]=lt[B]=lt[$]=lt[F]=lt[z]=lt[Q]=lt[V]=lt[U]=!0,lt[v]=lt[b]=lt[R]=lt[O]=lt[M]=lt[w]=lt[S]=lt[x]=lt[_]=lt[P]=lt[T]=lt[C]=lt[k]=lt[A]=lt[L]=!1;var ct={};ct[v]=ct[b]=ct[R]=ct[M]=ct[O]=ct[w]=ct[I]=ct[N]=ct[B]=ct[$]=ct[F]=ct[_]=ct[P]=ct[T]=ct[C]=ct[k]=ct[A]=ct[D]=ct[z]=ct[Q]=ct[V]=ct[U]=!0,ct[S]=ct[x]=ct[L]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,dt=parseInt,pt="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ht="object"==typeof self&&self&&self.Object===Object&&self,mt=pt||ht||Function("return this")(),gt=t&&!t.nodeType&&t,yt=gt&&e&&!e.nodeType&&e,vt=yt&&yt.exports===gt,bt=vt&&pt.process,Ot=function(){try{var e=yt&&yt.require&&yt.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(e){}}(),wt=Ot&&Ot.isArrayBuffer,St=Ot&&Ot.isDate,xt=Ot&&Ot.isMap,Et=Ot&&Ot.isRegExp,_t=Ot&&Ot.isSet,Pt=Ot&&Ot.isTypedArray;function Tt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function jt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function Rt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function rn(e,t){for(var n=e.length;n--&&Vt(t,e[n],0)>-1;);return n}var on=Zt({À:"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"}),an=Zt({"&":"&","<":"<",">":">",'"':""","'":"'"});function sn(e){return"\\"+ut[e]}function ln(e){return ot.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function un(e,t){return function(n){return e(t(n))}}function fn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n",""":'"',"'":"'"});var vn=function e(t){var n,r=(t=null==t?mt:vn.defaults(mt.Object(),t,vn.pick(mt,at))).Array,se=t.Date,Ee=t.Error,_e=t.Function,Pe=t.Math,Te=t.Object,je=t.RegExp,Ce=t.String,ke=t.TypeError,Ae=r.prototype,De=_e.prototype,Le=Te.prototype,Re=t["__core-js_shared__"],Me=De.toString,Ie=Le.hasOwnProperty,Ne=0,Be=(n=/[^.]+$/.exec(Re&&Re.keys&&Re.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",$e=Le.toString,Fe=Me.call(Te),ze=mt._,Qe=je("^"+Me.call(Ie).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ve=vt?t.Buffer:o,Ue=t.Symbol,Ge=t.Uint8Array,We=Ve?Ve.allocUnsafe:o,He=un(Te.getPrototypeOf,Te),Ze=Te.create,Xe=Le.propertyIsEnumerable,qe=Ae.splice,Ye=Ue?Ue.isConcatSpreadable:o,Ke=Ue?Ue.iterator:o,Je=Ue?Ue.toStringTag:o,nt=function(){try{var e=pi(Te,"defineProperty");return e({},"",{}),e}catch(e){}}(),ot=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,ut=se&&se.now!==mt.Date.now&&se.now,pt=t.setTimeout!==mt.setTimeout&&t.setTimeout,ht=Pe.ceil,gt=Pe.floor,yt=Te.getOwnPropertySymbols,bt=Ve?Ve.isBuffer:o,Ot=t.isFinite,Ft=Ae.join,Zt=un(Te.keys,Te),bn=Pe.max,On=Pe.min,wn=se.now,Sn=t.parseInt,xn=Pe.random,En=Ae.reverse,_n=pi(t,"DataView"),Pn=pi(t,"Map"),Tn=pi(t,"Promise"),jn=pi(t,"Set"),Cn=pi(t,"WeakMap"),kn=pi(Te,"create"),An=Cn&&new Cn,Dn={},Ln=$i(_n),Rn=$i(Pn),Mn=$i(Tn),In=$i(jn),Nn=$i(Cn),Bn=Ue?Ue.prototype:o,$n=Bn?Bn.valueOf:o,Fn=Bn?Bn.toString:o;function zn(e){if(ns(e)&&!Ga(e)&&!(e instanceof Gn)){if(e instanceof Un)return e;if(Ie.call(e,"__wrapped__"))return Fi(e)}return new Un(e)}var Qn=function(){function e(){}return function(t){if(!ts(t))return{};if(Ze)return Ze(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Vn(){}function Un(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Gn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function cr(e,t,n,r,i,a){var s,l=1&t,c=2&t,u=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!ts(e))return e;var f=Ga(e);if(f){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Ie.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return Ao(e,s)}else{var d=gi(e),p=d==x||d==E;if(Xa(e))return _o(e,l);if(d==T||d==v||p&&!i){if(s=c||p?{}:vi(e),!l)return c?function(e,t){return Do(e,mi(e),t)}(e,function(e,t){return e&&Do(t,Ls(t),e)}(s,e)):function(e,t){return Do(e,hi(e),t)}(e,ir(s,e))}else{if(!ct[d])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case R:return Po(e);case O:case w:return new r(+e);case M:return function(e,t){var n=t?Po(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case I:case N:case B:case $:case F:case z:case Q:case V:case U:return To(e,n);case _:return new r;case P:case A:return new r(e);case C:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case k:return new r;case D:return o=e,$n?Te($n.call(o)):{}}var o}(e,d,l)}}a||(a=new qn);var h=a.get(e);if(h)return h;a.set(e,s),ss(e)?e.forEach((function(r){s.add(cr(r,t,n,r,e,a))})):rs(e)&&e.forEach((function(r,o){s.set(o,cr(r,t,n,o,e,a))}));var m=f?o:(u?c?ai:ii:c?Ls:Ds)(e);return Ct(m||e,(function(r,o){m&&(r=e[o=r]),nr(s,o,cr(r,t,n,o,e,a))})),s}function ur(e,t,n){var r=n.length;if(null==e)return!r;for(e=Te(e);r--;){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function fr(e,t,n){if("function"!=typeof e)throw new ke(i);return Di((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var o=-1,i=Lt,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Mt(t,Jt(n))),r?(i=Rt,a=!1):t.length>=200&&(i=tn,a=!1,t=new Xn(t));e:for(;++o-1},Hn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Zn.prototype.clear=function(){this.size=0,this.__data__={hash:new Wn,map:new(Pn||Hn),string:new Wn}},Zn.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},Zn.prototype.get=function(e){return fi(this,e).get(e)},Zn.prototype.has=function(e){return fi(this,e).has(e)},Zn.prototype.set=function(e,t){var n=fi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Xn.prototype.add=Xn.prototype.push=function(e){return this.__data__.set(e,a),this},Xn.prototype.has=function(e){return this.__data__.has(e)},qn.prototype.clear=function(){this.__data__=new Hn,this.size=0},qn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},qn.prototype.get=function(e){return this.__data__.get(e)},qn.prototype.has=function(e){return this.__data__.has(e)},qn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Hn){var r=n.__data__;if(!Pn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Zn(r)}return n.set(e,t),this.size=n.size,this};var pr=Mo(wr),hr=Mo(Sr,!0);function mr(e,t){var n=!0;return pr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,n){for(var r=-1,i=e.length;++r0&&n(s)?t>1?vr(s,t-1,n,r,o):It(o,s):r||(o[o.length]=s)}return o}var br=Io(),Or=Io(!0);function wr(e,t){return e&&br(e,t,Ds)}function Sr(e,t){return e&&Or(e,t,Ds)}function xr(e,t){return Dt(t,(function(t){return Ka(e[t])}))}function Er(e,t){for(var n=0,r=(t=wo(t,e)).length;null!=e&&nt}function jr(e,t){return null!=e&&Ie.call(e,t)}function Cr(e,t){return null!=e&&t in Te(e)}function kr(e,t,n){for(var i=n?Rt:Lt,a=e[0].length,s=e.length,l=s,c=r(s),u=1/0,f=[];l--;){var d=e[l];l&&t&&(d=Mt(d,Jt(t))),u=On(d.length,u),c[l]=!n&&(t||a>=120&&d.length>=120)?new Xn(l&&d):o}d=e[0];var p=-1,h=c[0];e:for(;++p=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Wr(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)s!==e&&qe.call(s,l,1),qe.call(e,l,1);return e}function Zr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;Oi(o)?qe.call(e,o,1):po(e,o)}}return e}function Xr(e,t){return e+gt(xn()*(t-e+1))}function qr(e,t){var n="";if(!e||t<1||t>h)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Yr(e,t){return Li(ji(e,t,ol),e+"")}function Kr(e){return Kn(zs(e))}function Jr(e,t){var n=zs(e);return Ii(n,lr(t,0,n.length))}function eo(e,t,n,r){if(!ts(e))return e;for(var i=-1,a=(t=wo(t,e)).length,s=a-1,l=e;null!=l&&++ii?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o>>1,a=e[i];null!==a&&!cs(a)&&(n?a<=t:a=200){var c=t?null:Yo(e);if(c)return dn(c);a=!1,o=tn,l=new Xn}else l=t?[]:s;e:for(;++r=r?e:oo(e,t,n)}var Eo=ot||function(e){return mt.clearTimeout(e)};function _o(e,t){if(t)return e.slice();var n=e.length,r=We?We(n):new e.constructor(n);return e.copy(r),r}function Po(e){var t=new e.constructor(e.byteLength);return new Ge(t).set(new Ge(e)),t}function To(e,t){var n=t?Po(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function jo(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,a=cs(e),s=t!==o,l=null===t,c=t==t,u=cs(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!i)return 1;if(!r&&!a&&!u&&e1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&wi(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=Te(t);++r-1?i[a?t[s]:s]:o}}function zo(e){return oi((function(t){var n=t.length,r=n,a=Un.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new ke(i);if(a&&!l&&"wrapper"==li(s))var l=new Un([],!0)}for(r=l?r:n;++r1&&O.reverse(),p&&ul))return!1;var u=a.get(e),f=a.get(t);if(u&&f)return u==t&&f==e;var d=-1,p=!0,h=2&n?new Xn:o;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Ct(y,(function(n){var r="_."+n[0];t&n[1]&&!Lt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(ue):[]}(r),n)))}function Mi(e){var t=0,n=0;return function(){var r=wn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ii(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,aa(e,n)}));function pa(e){var t=zn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var ma=oi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return sr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Gn&&Oi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ha,args:[i],thisArg:o}),new Un(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var ga=Lo((function(e,t,n){Ie.call(e,n)?++e[n]:ar(e,n,1)}));var ya=Fo(Ui),va=Fo(Gi);function ba(e,t){return(Ga(e)?Ct:pr)(e,ui(t,3))}function Oa(e,t){return(Ga(e)?kt:hr)(e,ui(t,3))}var wa=Lo((function(e,t,n){Ie.call(e,n)?e[n].push(t):ar(e,n,[t])}));var Sa=Yr((function(e,t,n){var o=-1,i="function"==typeof t,a=Ha(e)?r(e.length):[];return pr(e,(function(e){a[++o]=i?Tt(t,e,n):Ar(e,t,n)})),a})),xa=Lo((function(e,t,n){ar(e,n,t)}));function Ea(e,t){return(Ga(e)?Mt:Fr)(e,ui(t,3))}var _a=Lo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Pa=Yr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&wi(e,t[0],t[1])?t=[]:n>2&&wi(t[0],t[1],t[2])&&(t=[t[0]]),Gr(e,vr(t,1),[])})),Ta=ut||function(){return mt.Date.now()};function ja(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Jo(e,f,o,o,o,o,t)}function Ca(e,t){var n;if("function"!=typeof t)throw new ke(i);return e=ms(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var ka=Yr((function(e,t,n){var r=1;if(n.length){var o=fn(n,ci(ka));r|=c}return Jo(e,r,t,n,o)})),Aa=Yr((function(e,t,n){var r=3;if(n.length){var o=fn(n,ci(Aa));r|=c}return Jo(t,r,e,n,o)}));function Da(e,t,n){var r,a,s,l,c,u,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new ke(i);function m(t){var n=r,i=a;return r=a=o,f=t,l=e.apply(i,n)}function g(e){var n=e-u;return u===o||n>=t||n<0||p&&e-f>=s}function y(){var e=Ta();if(g(e))return v(e);c=Di(y,function(e){var n=t-(e-u);return p?On(n,s-(e-f)):n}(e))}function v(e){return c=o,h&&r?m(e):(r=a=o,l)}function b(){var e=Ta(),n=g(e);if(r=arguments,a=this,u=e,n){if(c===o)return function(e){return f=e,c=Di(y,t),d?m(e):l}(u);if(p)return Eo(c),c=Di(y,t),m(u)}return c===o&&(c=Di(y,t)),l}return t=ys(t)||0,ts(n)&&(d=!!n.leading,s=(p="maxWait"in n)?bn(ys(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),b.cancel=function(){c!==o&&Eo(c),f=0,r=u=a=c=o},b.flush=function(){return c===o?l:v(Ta())},b}var La=Yr((function(e,t){return fr(e,1,t)})),Ra=Yr((function(e,t,n){return fr(e,ys(t)||0,n)}));function Ma(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ke(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Ma.Cache||Zn),n}function Ia(e){if("function"!=typeof e)throw new ke(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ma.Cache=Zn;var Na=So((function(e,t){var n=(t=1==t.length&&Ga(t[0])?Mt(t[0],Jt(ui())):Mt(vr(t,1),Jt(ui()))).length;return Yr((function(r){for(var o=-1,i=On(r.length,n);++o=t})),Ua=Dr(function(){return arguments}())?Dr:function(e){return ns(e)&&Ie.call(e,"callee")&&!Xe.call(e,"callee")},Ga=r.isArray,Wa=wt?Jt(wt):function(e){return ns(e)&&Pr(e)==R};function Ha(e){return null!=e&&es(e.length)&&!Ka(e)}function Za(e){return ns(e)&&Ha(e)}var Xa=bt||yl,qa=St?Jt(St):function(e){return ns(e)&&Pr(e)==w};function Ya(e){if(!ns(e))return!1;var t=Pr(e);return t==S||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!is(e)}function Ka(e){if(!ts(e))return!1;var t=Pr(e);return t==x||t==E||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ja(e){return"number"==typeof e&&e==ms(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ns(e){return null!=e&&"object"==typeof e}var rs=xt?Jt(xt):function(e){return ns(e)&&gi(e)==_};function os(e){return"number"==typeof e||ns(e)&&Pr(e)==P}function is(e){if(!ns(e)||Pr(e)!=T)return!1;var t=He(e);if(null===t)return!0;var n=Ie.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Me.call(n)==Fe}var as=Et?Jt(Et):function(e){return ns(e)&&Pr(e)==C};var ss=_t?Jt(_t):function(e){return ns(e)&&gi(e)==k};function ls(e){return"string"==typeof e||!Ga(e)&&ns(e)&&Pr(e)==A}function cs(e){return"symbol"==typeof e||ns(e)&&Pr(e)==D}var us=Pt?Jt(Pt):function(e){return ns(e)&&es(e.length)&&!!lt[Pr(e)]};var fs=Zo($r),ds=Zo((function(e,t){return e<=t}));function ps(e){if(!e)return[];if(Ha(e))return ls(e)?mn(e):Ao(e);if(Ke&&e[Ke])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ke]());var t=gi(e);return(t==_?cn:t==k?dn:zs)(e)}function hs(e){return e?(e=ys(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ms(e){var t=hs(e),n=t%1;return t==t?n?t-n:t:0}function gs(e){return e?lr(ms(e),0,g):0}function ys(e){if("number"==typeof e)return e;if(cs(e))return m;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Kt(e);var n=ye.test(e);return n||be.test(e)?dt(e.slice(2),n?2:8):ge.test(e)?m:+e}function vs(e){return Do(e,Ls(e))}function bs(e){return null==e?"":uo(e)}var Os=Ro((function(e,t){if(_i(t)||Ha(t))Do(t,Ds(t),e);else for(var n in t)Ie.call(t,n)&&nr(e,n,t[n])})),ws=Ro((function(e,t){Do(t,Ls(t),e)})),Ss=Ro((function(e,t,n,r){Do(t,Ls(t),e,r)})),xs=Ro((function(e,t,n,r){Do(t,Ds(t),e,r)})),Es=oi(sr);var _s=Yr((function(e,t){e=Te(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&wi(t[0],t[1],i)&&(r=1);++n1),t})),Do(e,ai(e),n),r&&(n=cr(n,7,ni));for(var o=t.length;o--;)po(n,t[o]);return n}));var Ns=oi((function(e,t){return null==e?{}:function(e,t){return Wr(e,t,(function(t,n){return js(e,n)}))}(e,t)}));function Bs(e,t){if(null==e)return{};var n=Mt(ai(e),(function(e){return[e]}));return t=ui(t),Wr(e,n,(function(e,n){return t(e,n[0])}))}var $s=Ko(Ds),Fs=Ko(Ls);function zs(e){return null==e?[]:en(e,Ds(e))}var Qs=Bo((function(e,t,n){return t=t.toLowerCase(),e+(n?Vs(t):t)}));function Vs(e){return Ys(bs(e).toLowerCase())}function Us(e){return(e=bs(e))&&e.replace(we,on).replace(tt,"")}var Gs=Bo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ws=Bo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Hs=No("toLowerCase");var Zs=Bo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Xs=Bo((function(e,t,n){return e+(n?" ":"")+Ys(t)}));var qs=Bo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ys=No("toUpperCase");function Ks(e,t,n){return e=bs(e),(t=n?o:t)===o?function(e){return it.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var Js=Yr((function(e,t){try{return Tt(e,o,t)}catch(e){return Ya(e)?e:new Ee(e)}})),el=oi((function(e,t){return Ct(t,(function(t){t=Bi(t),ar(e,t,ka(e[t],e))})),e}));function tl(e){return function(){return e}}var nl=zo(),rl=zo(!0);function ol(e){return e}function il(e){return Ir("function"==typeof e?e:cr(e,1))}var al=Yr((function(e,t){return function(n){return Ar(n,e,t)}})),sl=Yr((function(e,t){return function(n){return Ar(e,n,t)}}));function ll(e,t,n){var r=Ds(t),o=xr(t,r);null!=n||ts(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=xr(t,Ds(t)));var i=!(ts(n)&&"chain"in n&&!n.chain),a=Ka(e);return Ct(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Ao(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,It([this.value()],arguments))})})),e}function cl(){}var ul=Go(Mt),fl=Go(At),dl=Go($t);function pl(e){return Si(e)?Ht(Bi(e)):function(e){return function(t){return Er(t,e)}}(e)}var hl=Ho(),ml=Ho(!0);function gl(){return[]}function yl(){return!1}var vl=Uo((function(e,t){return e+t}),0),bl=qo("ceil"),Ol=Uo((function(e,t){return e/t}),1),wl=qo("floor");var Sl,xl=Uo((function(e,t){return e*t}),1),El=qo("round"),_l=Uo((function(e,t){return e-t}),0);return zn.after=function(e,t){if("function"!=typeof t)throw new ke(i);return e=ms(e),function(){if(--e<1)return t.apply(this,arguments)}},zn.ary=ja,zn.assign=Os,zn.assignIn=ws,zn.assignInWith=Ss,zn.assignWith=xs,zn.at=Es,zn.before=Ca,zn.bind=ka,zn.bindAll=el,zn.bindKey=Aa,zn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ga(e)?e:[e]},zn.chain=pa,zn.chunk=function(e,t,n){t=(n?wi(e,t,n):t===o)?1:bn(ms(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=r(ht(i/t));ai?0:i+n),(r=r===o||r>i?i:ms(r))<0&&(r+=i),r=n>r?0:gs(r);n>>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!as(t))&&!(t=uo(t))&&ln(e)?xo(mn(e),0,n):e.split(t,n):[]},zn.spread=function(e,t){if("function"!=typeof e)throw new ke(i);return t=null==t?0:bn(ms(t),0),Yr((function(n){var r=n[t],o=xo(n,0,t);return r&&It(o,r),Tt(e,this,o)}))},zn.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},zn.take=function(e,t,n){return e&&e.length?oo(e,0,(t=n||t===o?1:ms(t))<0?0:t):[]},zn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=r-(t=n||t===o?1:ms(t)))<0?0:t,r):[]},zn.takeRightWhile=function(e,t){return e&&e.length?mo(e,ui(t,3),!1,!0):[]},zn.takeWhile=function(e,t){return e&&e.length?mo(e,ui(t,3)):[]},zn.tap=function(e,t){return t(e),e},zn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new ke(i);return ts(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Da(e,t,{leading:r,maxWait:t,trailing:o})},zn.thru=ha,zn.toArray=ps,zn.toPairs=$s,zn.toPairsIn=Fs,zn.toPath=function(e){return Ga(e)?Mt(e,Bi):cs(e)?[e]:Ao(Ni(bs(e)))},zn.toPlainObject=vs,zn.transform=function(e,t,n){var r=Ga(e),o=r||Xa(e)||us(e);if(t=ui(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:ts(e)&&Ka(i)?Qn(He(e)):{}}return(o?Ct:wr)(e,(function(e,r,o){return t(n,e,r,o)})),n},zn.unary=function(e){return ja(e,1)},zn.union=na,zn.unionBy=ra,zn.unionWith=oa,zn.uniq=function(e){return e&&e.length?fo(e):[]},zn.uniqBy=function(e,t){return e&&e.length?fo(e,ui(t,2)):[]},zn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?fo(e,o,t):[]},zn.unset=function(e,t){return null==e||po(e,t)},zn.unzip=ia,zn.unzipWith=aa,zn.update=function(e,t,n){return null==e?e:ho(e,t,Oo(n))},zn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:ho(e,t,Oo(n),r)},zn.values=zs,zn.valuesIn=function(e){return null==e?[]:en(e,Ls(e))},zn.without=sa,zn.words=Ks,zn.wrap=function(e,t){return Ba(Oo(t),e)},zn.xor=la,zn.xorBy=ca,zn.xorWith=ua,zn.zip=fa,zn.zipObject=function(e,t){return vo(e||[],t||[],nr)},zn.zipObjectDeep=function(e,t){return vo(e||[],t||[],eo)},zn.zipWith=da,zn.entries=$s,zn.entriesIn=Fs,zn.extend=ws,zn.extendWith=Ss,ll(zn,zn),zn.add=vl,zn.attempt=Js,zn.camelCase=Qs,zn.capitalize=Vs,zn.ceil=bl,zn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=ys(n))==n?n:0),t!==o&&(t=(t=ys(t))==t?t:0),lr(ys(e),t,n)},zn.clone=function(e){return cr(e,4)},zn.cloneDeep=function(e){return cr(e,5)},zn.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:o)},zn.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:o)},zn.conformsTo=function(e,t){return null==t||ur(e,t,Ds(t))},zn.deburr=Us,zn.defaultTo=function(e,t){return null==e||e!=e?t:e},zn.divide=Ol,zn.endsWith=function(e,t,n){e=bs(e),t=uo(t);var r=e.length,i=n=n===o?r:lr(ms(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},zn.eq=za,zn.escape=function(e){return(e=bs(e))&&Y.test(e)?e.replace(X,an):e},zn.escapeRegExp=function(e){return(e=bs(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},zn.every=function(e,t,n){var r=Ga(e)?At:mr;return n&&wi(e,t,n)&&(t=o),r(e,ui(t,3))},zn.find=ya,zn.findIndex=Ui,zn.findKey=function(e,t){return zt(e,ui(t,3),wr)},zn.findLast=va,zn.findLastIndex=Gi,zn.findLastKey=function(e,t){return zt(e,ui(t,3),Sr)},zn.floor=wl,zn.forEach=ba,zn.forEachRight=Oa,zn.forIn=function(e,t){return null==e?e:br(e,ui(t,3),Ls)},zn.forInRight=function(e,t){return null==e?e:Or(e,ui(t,3),Ls)},zn.forOwn=function(e,t){return e&&wr(e,ui(t,3))},zn.forOwnRight=function(e,t){return e&&Sr(e,ui(t,3))},zn.get=Ts,zn.gt=Qa,zn.gte=Va,zn.has=function(e,t){return null!=e&&yi(e,t,jr)},zn.hasIn=js,zn.head=Hi,zn.identity=ol,zn.includes=function(e,t,n,r){e=Ha(e)?e:zs(e),n=n&&!r?ms(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),ls(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Vt(e,t,n)>-1},zn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ms(n);return o<0&&(o=bn(r+o,0)),Vt(e,t,o)},zn.inRange=function(e,t,n){return t=hs(t),n===o?(n=t,t=0):n=hs(n),function(e,t,n){return e>=On(t,n)&&e=-9007199254740991&&e<=h},zn.isSet=ss,zn.isString=ls,zn.isSymbol=cs,zn.isTypedArray=us,zn.isUndefined=function(e){return e===o},zn.isWeakMap=function(e){return ns(e)&&gi(e)==L},zn.isWeakSet=function(e){return ns(e)&&"[object WeakSet]"==Pr(e)},zn.join=function(e,t){return null==e?"":Ft.call(e,t)},zn.kebabCase=Gs,zn.last=Yi,zn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=ms(n))<0?bn(r+i,0):On(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Qt(e,Gt,i,!0)},zn.lowerCase=Ws,zn.lowerFirst=Hs,zn.lt=fs,zn.lte=ds,zn.max=function(e){return e&&e.length?gr(e,ol,Tr):o},zn.maxBy=function(e,t){return e&&e.length?gr(e,ui(t,2),Tr):o},zn.mean=function(e){return Wt(e,ol)},zn.meanBy=function(e,t){return Wt(e,ui(t,2))},zn.min=function(e){return e&&e.length?gr(e,ol,$r):o},zn.minBy=function(e,t){return e&&e.length?gr(e,ui(t,2),$r):o},zn.stubArray=gl,zn.stubFalse=yl,zn.stubObject=function(){return{}},zn.stubString=function(){return""},zn.stubTrue=function(){return!0},zn.multiply=xl,zn.nth=function(e,t){return e&&e.length?Ur(e,ms(t)):o},zn.noConflict=function(){return mt._===this&&(mt._=ze),this},zn.noop=cl,zn.now=Ta,zn.pad=function(e,t,n){e=bs(e);var r=(t=ms(t))?hn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Wo(gt(o),n)+e+Wo(ht(o),n)},zn.padEnd=function(e,t,n){e=bs(e);var r=(t=ms(t))?hn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=xn();return On(e+i*(t-e+ft("1e-"+((i+"").length-1))),t)}return Xr(e,t)},zn.reduce=function(e,t,n){var r=Ga(e)?Nt:Xt,o=arguments.length<3;return r(e,ui(t,4),n,o,pr)},zn.reduceRight=function(e,t,n){var r=Ga(e)?Bt:Xt,o=arguments.length<3;return r(e,ui(t,4),n,o,hr)},zn.repeat=function(e,t,n){return t=(n?wi(e,t,n):t===o)?1:ms(t),qr(bs(e),t)},zn.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zn.result=function(e,t,n){var r=-1,i=(t=wo(t,e)).length;for(i||(i=1,e=o);++rh)return[];var n=g,r=On(e,g);t=ui(t),e-=g;for(var o=Yt(r,t);++n=a)return e;var l=n-hn(r);if(l<1)return r;var c=s?xo(s,0,l).join(""):e.slice(0,l);if(i===o)return c+r;if(s&&(l+=c.length-l),as(i)){if(e.slice(l).search(i)){var u,f=c;for(i.global||(i=je(i.source,bs(me.exec(i))+"g")),i.lastIndex=0;u=i.exec(f);)var d=u.index;c=c.slice(0,d===o?l:d)}}else if(e.indexOf(uo(i),l)!=l){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+r},zn.unescape=function(e){return(e=bs(e))&&q.test(e)?e.replace(Z,yn):e},zn.uniqueId=function(e){var t=++Ne;return bs(e)+t},zn.upperCase=qs,zn.upperFirst=Ys,zn.each=ba,zn.eachRight=Oa,zn.first=Hi,ll(zn,(Sl={},wr(zn,(function(e,t){Ie.call(zn.prototype,t)||(Sl[t]=e)})),Sl),{chain:!1}),zn.VERSION="4.17.21",Ct(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zn[e].placeholder=zn})),Ct(["drop","take"],(function(e,t){Gn.prototype[e]=function(n){n=n===o?1:bn(ms(n),0);var r=this.__filtered__&&!t?new Gn(this):this.clone();return r.__filtered__?r.__takeCount__=On(n,r.__takeCount__):r.__views__.push({size:On(n,g),type:e+(r.__dir__<0?"Right":"")}),r},Gn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Ct(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Gn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ui(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Ct(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Gn.prototype[e]=function(){return this[n](1).value()[0]}})),Ct(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Gn.prototype[e]=function(){return this.__filtered__?new Gn(this):this[n](1)}})),Gn.prototype.compact=function(){return this.filter(ol)},Gn.prototype.find=function(e){return this.filter(e).head()},Gn.prototype.findLast=function(e){return this.reverse().find(e)},Gn.prototype.invokeMap=Yr((function(e,t){return"function"==typeof e?new Gn(this):this.map((function(n){return Ar(n,e,t)}))})),Gn.prototype.reject=function(e){return this.filter(Ia(ui(e)))},Gn.prototype.slice=function(e,t){e=ms(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Gn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=ms(t))<0?n.dropRight(-t):n.take(t-e)),n)},Gn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Gn.prototype.toArray=function(){return this.take(g)},wr(Gn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=zn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(zn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Gn,c=s[0],u=l||Ga(t),f=function(e){var t=i.apply(zn,It([e],s));return r&&d?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,m=l&&!p;if(!a&&u){t=m?t:new Gn(this);var g=e.apply(t,s);return g.__actions__.push({func:ha,args:[f],thisArg:o}),new Un(g,d)}return h&&m?e.apply(this,s):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})})),Ct(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ae[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);zn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Ga(o)?o:[],e)}return this[n]((function(n){return t.apply(Ga(n)?n:[],e)}))}})),wr(Gn.prototype,(function(e,t){var n=zn[t];if(n){var r=n.name+"";Ie.call(Dn,r)||(Dn[r]=[]),Dn[r].push({name:t,func:n})}})),Dn[Qo(o,2).name]=[{name:"wrapper",func:o}],Gn.prototype.clone=function(){var e=new Gn(this.__wrapped__);return e.__actions__=Ao(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ao(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ao(this.__views__),e},Gn.prototype.reverse=function(){if(this.__filtered__){var e=new Gn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Gn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ga(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},zn.prototype.plant=function(e){for(var t,n=this;n instanceof Vn;){var r=Fi(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},zn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Gn){var t=e;return this.__actions__.length&&(t=new Gn(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ta],thisArg:o}),new Un(t,this.__chain__)}return this.thru(ta)},zn.prototype.toJSON=zn.prototype.valueOf=zn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},zn.prototype.first=zn.prototype.head,Ke&&(zn.prototype[Ke]=function(){return this}),zn}();mt._=vn,(r=function(){return vn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},68255:(e,t,n)=>{"use strict";n.r(t)},44130:(e,t,n)=>{"use strict";n.r(t)},43114:(e,t,n)=>{"use strict";n.r(t)},29052:(e,t,n)=>{"use strict";n.r(t)},604:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(87462),o=n(89062),i=n(93324),a=n(71002),s=n(93967),l=n.n(s),c=n(21770),u=n(80334),f=n(36198),d=n(1422),p=n(22259),h=n(64217);function m(e){var t=e;if(!Array.isArray(t)){var n=(0,a.default)(t);t="number"===n||"string"===n?[t]:[]}return t.map((function(e){return String(e)}))}var g=f.forwardRef((function(e,t){var n=e.prefixCls,a=void 0===n?"rc-collapse":n,s=e.destroyInactivePanel,p=void 0!==s&&s,g=e.style,y=e.accordion,v=e.className,b=e.children,O=e.collapsible,w=e.openMotion,S=e.expandIcon,x=e.activeKey,E=e.defaultActiveKey,_=e.onChange,P=e.items,T=l()(a,v),j=(0,c.default)([],{value:x,onChange:function(e){return null==_?void 0:_(e)},defaultValue:E,postState:m}),C=(0,i.default)(j,2),k=C[0],A=C[1];(0,u.default)(!b,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var D=(0,d.default)(P,b,{prefixCls:a,accordion:y,openMotion:w,expandIcon:S,collapsible:O,destroyInactivePanel:p,onItemClick:function(e){return A((function(){return y?k[0]===e?[]:[e]:k.indexOf(e)>-1?k.filter((function(t){return t!==e})):[].concat((0,o.default)(k),[e])}))},activeKey:k});return f.createElement("div",(0,r.default)({ref:t,className:T,style:g,role:y?"tablist":void 0},(0,h.default)(e,{aria:!0,data:!0})),D)}));const y=Object.assign(g,{Panel:p.default})},22259:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(1413),o=n(87462),i=n(4942),a=n(45987),s=n(93967),l=n.n(s),c=n(93587),u=n(15105),f=n(36198),d=n(90960),p=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"];const h=f.forwardRef((function(e,t){var n=e.showArrow,s=void 0===n||n,h=e.headerClass,m=e.isActive,g=e.onItemClick,y=e.forceRender,v=e.className,b=e.classNames,O=void 0===b?{}:b,w=e.styles,S=void 0===w?{}:w,x=e.prefixCls,E=e.collapsible,_=e.accordion,P=e.panelKey,T=e.extra,j=e.header,C=e.expandIcon,k=e.openMotion,A=e.destroyInactivePanel,D=e.children,L=(0,a.default)(e,p),R="disabled"===E,M=null!=T&&"boolean"!=typeof T,I=(0,i.default)((0,i.default)((0,i.default)({onClick:function(){null==g||g(P)},onKeyDown:function(e){"Enter"!==e.key&&e.keyCode!==u.default.ENTER&&e.which!==u.default.ENTER||null==g||g(P)},role:_?"tab":"button"},"aria-expanded",m),"aria-disabled",R),"tabIndex",R?-1:0),N="function"==typeof C?C(e):f.createElement("i",{className:"arrow"}),B=N&&f.createElement("div",(0,o.default)({className:"".concat(x,"-expand-icon")},["header","icon"].includes(E)?I:{}),N),$=l()("".concat(x,"-item"),(0,i.default)((0,i.default)({},"".concat(x,"-item-active"),m),"".concat(x,"-item-disabled"),R),v),F=l()(h,"".concat(x,"-header"),(0,i.default)({},"".concat(x,"-collapsible-").concat(E),!!E),O.header),z=(0,r.default)({className:F,style:S.header},["header","icon"].includes(E)?{}:I);return f.createElement("div",(0,o.default)({},L,{ref:t,className:$}),f.createElement("div",z,s&&B,f.createElement("span",(0,o.default)({className:"".concat(x,"-header-text")},"header"===E?I:{}),j),M&&f.createElement("div",{className:"".concat(x,"-extra")},T)),f.createElement(c.default,(0,o.default)({visible:m,leavedClassName:"".concat(x,"-content-hidden")},k,{forceRender:y,removeOnLeave:A}),(function(e,t){var n=e.className,r=e.style;return f.createElement(d.default,{ref:t,prefixCls:x,className:n,classNames:O,style:r,styles:S,isActive:m,forceRender:y,role:_?"tabpanel":void 0},D)})))}))},90960:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(4942),o=n(93324),i=n(93967),a=n.n(i),s=n(36198),l=s.forwardRef((function(e,t){var n=e.prefixCls,i=e.forceRender,l=e.className,c=e.style,u=e.children,f=e.isActive,d=e.role,p=e.classNames,h=e.styles,m=s.useState(f||i),g=(0,o.default)(m,2),y=g[0],v=g[1];return s.useEffect((function(){(i||f)&&v(!0)}),[i,f]),y?s.createElement("div",{ref:t,className:a()("".concat(n,"-content"),(0,r.default)((0,r.default)({},"".concat(n,"-content-active"),f),"".concat(n,"-content-inactive"),!f),l),style:c,role:d},s.createElement("div",{className:a()("".concat(n,"-content-box"),null==p?void 0:p.body),style:null==h?void 0:h.body},u)):null}));l.displayName="PanelContent";const c=l},1422:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(87462),o=n(45987),i=n(50344),a=n(36198),s=n(22259),l=["children","label","key","collapsible","onItemClick","destroyInactivePanel"];const c=function(e,t,n){return Array.isArray(e)?function(e,t){var n=t.prefixCls,i=t.accordion,c=t.collapsible,u=t.destroyInactivePanel,f=t.onItemClick,d=t.activeKey,p=t.openMotion,h=t.expandIcon;return e.map((function(e,t){var m=e.children,g=e.label,y=e.key,v=e.collapsible,b=e.onItemClick,O=e.destroyInactivePanel,w=(0,o.default)(e,l),S=String(null!=y?y:t),x=null!=v?v:c,E=null!=O?O:u,_=!1;return _=i?d[0]===S:d.indexOf(S)>-1,a.createElement(s.default,(0,r.default)({},w,{prefixCls:n,key:S,panelKey:S,isActive:_,accordion:i,openMotion:p,expandIcon:h,header:g,collapsible:x,onItemClick:function(e){"disabled"!==x&&(f(e),null==b||b(e))},destroyInactivePanel:E}),m)}))}(e,n):(0,i.default)(t).map((function(e,t){return function(e,t,n){if(!e)return null;var r=n.prefixCls,o=n.accordion,i=n.collapsible,s=n.destroyInactivePanel,l=n.onItemClick,c=n.activeKey,u=n.openMotion,f=n.expandIcon,d=e.key||String(t),p=e.props,h=p.header,m=p.headerClass,g=p.destroyInactivePanel,y=p.collapsible,v=p.onItemClick,b=!1;b=o?c[0]===d:c.indexOf(d)>-1;var O=null!=y?y:i,w={key:d,panelKey:d,header:h,headerClass:m,isActive:b,prefixCls:r,destroyInactivePanel:null!=g?g:s,openMotion:u,accordion:o,children:e.props.children,onItemClick:function(e){"disabled"!==O&&(l(e),null==v||v(e))},expandIcon:f,collapsible:O};return"string"==typeof e.type?e:(Object.keys(w).forEach((function(e){void 0===w[e]&&delete w[e]})),a.cloneElement(e,w))}(e,t,n)}))}},7790:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Panel:()=>i,default:()=>o});var r=n(604);const o=r.default;var i=r.default.Panel},32890:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>j});var r=n(87462),o=n(45987),i=n(74165),a=n(15861),s=n(1413),l=n(89062),c=n(15671),u=n(43144),f=n(97326),d=n(60136),p=n(29388),h=n(4942),m=n(50344),g=n(91881),y=n(80334),v=n(36198),b=n(28665),O=n(82131),w=n(93409),S=n(416),x=n(53236),E=["name"],_=[];function P(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var T=function(e){(0,d.default)(n,e);var t=(0,p.default)(n);function n(e){var r;((0,c.default)(this,n),r=t.call(this,e),(0,h.default)((0,f.default)(r),"state",{resetCount:0}),(0,h.default)((0,f.default)(r),"cancelRegisterFunc",null),(0,h.default)((0,f.default)(r),"mounted",!1),(0,h.default)((0,f.default)(r),"touched",!1),(0,h.default)((0,f.default)(r),"dirty",!1),(0,h.default)((0,f.default)(r),"validatePromise",void 0),(0,h.default)((0,f.default)(r),"prevValidating",void 0),(0,h.default)((0,f.default)(r),"errors",_),(0,h.default)((0,f.default)(r),"warnings",_),(0,h.default)((0,f.default)(r),"cancelRegister",(function(){var e=r.props,t=e.preserve,n=e.isListField,o=e.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(n,t,(0,x.getNamePath)(o)),r.cancelRegisterFunc=null})),(0,h.default)((0,f.default)(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,l.default)(o),(0,l.default)(t)):[]})),(0,h.default)((0,f.default)(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,h.default)((0,f.default)(r),"refresh",(function(){r.mounted&&r.setState((function(e){return{resetCount:e.resetCount+1}}))})),(0,h.default)((0,f.default)(r),"metaCache",null),(0,h.default)((0,f.default)(r),"triggerMetaEvent",(function(e){var t=r.props.onMetaChange;if(t){var n=(0,s.default)((0,s.default)({},r.getMeta()),{},{destroy:e});(0,g.default)(r.metaCache,n)||t(n),r.metaCache=n}else r.metaCache=null})),(0,h.default)((0,f.default)(r),"onStoreChange",(function(e,t,n){var o=r.props,i=o.shouldUpdate,a=o.dependencies,s=void 0===a?[]:a,l=o.onReset,c=n.store,u=r.getNamePath(),f=r.getValue(e),d=r.getValue(c),p=t&&(0,x.containsNamePath)(t,u);switch("valueUpdate"!==n.type||"external"!==n.source||(0,g.default)(f,d)||(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=_,r.warnings=_,r.triggerMetaEvent()),n.type){case"reset":if(!t||p)return r.touched=!1,r.dirty=!1,r.validatePromise=void 0,r.errors=_,r.warnings=_,r.triggerMetaEvent(),null==l||l(),void r.refresh();break;case"remove":if(i&&P(i,e,c,f,d,n))return void r.reRender();break;case"setField":var h=n.data;if(p)return"touched"in h&&(r.touched=h.touched),"validating"in h&&!("originRCField"in h)&&(r.validatePromise=h.validating?Promise.resolve([]):null),"errors"in h&&(r.errors=h.errors||_),"warnings"in h&&(r.warnings=h.warnings||_),r.dirty=!0,r.triggerMetaEvent(),void r.reRender();if("value"in h&&(0,x.containsNamePath)(t,u,!0))return void r.reRender();if(i&&!u.length&&P(i,e,c,f,d,n))return void r.reRender();break;case"dependenciesUpdate":if(s.map(x.getNamePath).some((function(e){return(0,x.containsNamePath)(n.relatedFields,e)})))return void r.reRender();break;default:if(p||(!s.length||u.length||i)&&P(i,e,c,f,d,n))return void r.reRender()}!0===i&&r.reRender()})),(0,h.default)((0,f.default)(r),"validateRules",(function(e){var t=r.getNamePath(),n=r.getValue(),o=e||{},s=o.triggerName,c=o.validateOnly,u=void 0!==c&&c,f=Promise.resolve().then((0,a.default)((0,i.default)().mark((function o(){var a,c,u,d,p,h,m;return(0,i.default)().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(a=r.props,c=a.validateFirst,u=void 0!==c&&c,d=a.messageVariables,p=a.validateDebounce,h=r.getRules(),s&&(h=h.filter((function(e){return e})).filter((function(e){var t=e.validateTrigger;return!t||(0,w.toArray)(t).includes(s)}))),!p||!s){o.next=10;break}return o.next=8,new Promise((function(e){setTimeout(e,p)}));case 8:if(r.validatePromise===f){o.next=10;break}return o.abrupt("return",[]);case 10:return(m=(0,S.validateRules)(t,n,h,e,u,d)).catch((function(e){return e})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_;if(r.validatePromise===f){var t;r.validatePromise=null;var n=[],o=[];null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.rule.warningOnly,r=e.errors,i=void 0===r?_:r;t?o.push.apply(o,(0,l.default)(i)):n.push.apply(n,(0,l.default)(i))})),r.errors=n,r.warnings=o,r.triggerMetaEvent(),r.reRender()}})),o.abrupt("return",m);case 13:case"end":return o.stop()}}),o)}))));return u||(r.validatePromise=f,r.dirty=!0,r.errors=_,r.warnings=_,r.triggerMetaEvent(),r.reRender()),f})),(0,h.default)((0,f.default)(r),"isFieldValidating",(function(){return!!r.validatePromise})),(0,h.default)((0,f.default)(r),"isFieldTouched",(function(){return r.touched})),(0,h.default)((0,f.default)(r),"isFieldDirty",(function(){return!(!r.dirty&&void 0===r.props.initialValue)||void 0!==(0,r.props.fieldContext.getInternalHooks(b.HOOK_MARK).getInitialValue)(r.getNamePath())})),(0,h.default)((0,f.default)(r),"getErrors",(function(){return r.errors})),(0,h.default)((0,f.default)(r),"getWarnings",(function(){return r.warnings})),(0,h.default)((0,f.default)(r),"isListField",(function(){return r.props.isListField})),(0,h.default)((0,f.default)(r),"isList",(function(){return r.props.isList})),(0,h.default)((0,f.default)(r),"isPreserve",(function(){return r.props.preserve})),(0,h.default)((0,f.default)(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,h.default)((0,f.default)(r),"getOnlyChild",(function(e){if("function"==typeof e){var t=r.getMeta();return(0,s.default)((0,s.default)({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})}var n=(0,m.default)(e);return 1===n.length&&v.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}})),(0,h.default)((0,f.default)(r),"getValue",(function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return(0,x.getValue)(e||t(!0),n)})),(0,h.default)((0,f.default)(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,c=t.valuePropName,u=t.getValueProps,f=t.fieldContext,d=void 0!==i?i:f.validateTrigger,p=r.getNamePath(),m=f.getInternalHooks,g=f.getFieldsValue,y=m(b.HOOK_MARK).dispatch,v=r.getValue(),O=u||function(e){return(0,h.default)({},c,e)},S=e[o],E=void 0!==n?O(v):{};var _=(0,s.default)((0,s.default)({},e),E);return _[o]=function(){var e;r.touched=!0,r.dirty=!0,r.triggerMetaEvent();for(var t=arguments.length,n=new Array(t),o=0;o{"use strict";n.r(t),n.d(t,{HOOK_MARK:()=>i,default:()=>s});var r=n(80334),o=n(36198),i="RC_FORM_INTERNAL_HOOKS",a=function(){(0,r.default)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")};const s=o.createContext({getFieldValue:a,getFieldsValue:a,getFieldError:a,getFieldWarning:a,getFieldsError:a,isFieldsTouched:a,isFieldTouched:a,isFieldValidating:a,isFieldsValidating:a,resetFields:a,setFields:a,setFieldValue:a,setFieldsValue:a,validateFields:a,submit:a,getInternalHooks:function(){return a(),{dispatch:a,initEntityValue:a,registerField:a,useSubscribe:a,setInitialValues:a,destroyForm:a,setCallbacks:a,registerWatch:a,getFields:a,setValidateMessages:a,setPreserve:a,getInitialValue:a}}})},5318:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(87462),o=n(1413),i=n(93324),a=n(45987),s=n(36198),l=n(5918),c=n(28665),u=n(81696),f=n(53236),d=n(82131),p=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"];const h=function(e,t){var n=e.name,h=e.initialValues,m=e.fields,g=e.form,y=e.preserve,v=e.children,b=e.component,O=void 0===b?"form":b,w=e.validateMessages,S=e.validateTrigger,x=void 0===S?"onChange":S,E=e.onValuesChange,_=e.onFieldsChange,P=e.onFinish,T=e.onFinishFailed,j=e.clearOnDestroy,C=(0,a.default)(e,p),k=s.useRef(null),A=s.useContext(u.default),D=(0,l.default)(g),L=(0,i.default)(D,1)[0],R=L.getInternalHooks(c.HOOK_MARK),M=R.useSubscribe,I=R.setInitialValues,N=R.setCallbacks,B=R.setValidateMessages,$=R.setPreserve,F=R.destroyForm;s.useImperativeHandle(t,(function(){return(0,o.default)((0,o.default)({},L),{},{nativeElement:k.current})})),s.useEffect((function(){return A.registerForm(n,L),function(){A.unregisterForm(n)}}),[A,L,n]),B((0,o.default)((0,o.default)({},A.validateMessages),w)),N({onValuesChange:E,onFieldsChange:function(e){if(A.triggerFormChange(n,e),_){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o{"use strict";n.r(t),n.d(t,{FormProvider:()=>s,default:()=>l});var r=n(4942),o=n(1413),i=n(36198),a=i.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),s=function(e){var t=e.validateMessages,n=e.onFormChange,s=e.onFormFinish,l=e.children,c=i.useContext(a),u=i.useRef({});return i.createElement(a.Provider,{value:(0,o.default)((0,o.default)({},c),{},{validateMessages:(0,o.default)((0,o.default)({},c.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:u.current}),c.triggerFormChange(e,t)},triggerFormFinish:function(e,t){s&&s(e,{values:t,forms:u.current}),c.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(u.current=(0,o.default)((0,o.default)({},u.current),{},(0,r.default)({},e,t))),c.registerForm(e,t)},unregisterForm:function(e){var t=(0,o.default)({},u.current);delete t[e],u.current=t,c.unregisterForm(e)}})},l)};const l=a},45378:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(1413),o=n(89062),i=n(36198),a=n(80334),s=n(28665),l=n(32890),c=n(53236),u=n(82131);const f=function(e){var t=e.name,n=e.initialValue,f=e.children,d=e.rules,p=e.validateTrigger,h=e.isListField,m=i.useContext(s.default),g=i.useContext(u.default),y=i.useRef({keys:[],id:0}).current,v=i.useMemo((function(){var e=(0,c.getNamePath)(m.prefixName)||[];return[].concat((0,o.default)(e),(0,o.default)((0,c.getNamePath)(t)))}),[m.prefixName,t]),b=i.useMemo((function(){return(0,r.default)((0,r.default)({},m),{},{prefixName:v})}),[m,v]),O=i.useMemo((function(){return{getKey:function(e){var t=v.length,n=e[t];return[y.keys[n],e.slice(t+1)]}}}),[v]);return"function"!=typeof f?((0,a.default)(!1,"Form.List only accepts function as children."),null):i.createElement(u.default.Provider,{value:O},i.createElement(s.default.Provider,{value:b},i.createElement(l.default,{name:[],shouldUpdate:function(e,t,n){return"internal"!==n.source&&e!==t},rules:d,validateTrigger:p,initialValue:n,isList:!0,isListField:null!=h?h:!!g},(function(e,t){var n=e.value,r=void 0===n?[]:n,i=e.onChange,a=m.getFieldValue,s=function(){return a(v||[])||[]},l={add:function(e,t){var n=s();t>=0&&t<=n.length?(y.keys=[].concat((0,o.default)(y.keys.slice(0,t)),[y.id],(0,o.default)(y.keys.slice(t))),i([].concat((0,o.default)(n.slice(0,t)),[e],(0,o.default)(n.slice(t))))):(y.keys=[].concat((0,o.default)(y.keys),[y.id]),i([].concat((0,o.default)(n),[e]))),y.id+=1},remove:function(e){var t=s(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(y.keys=y.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=s();e<0||e>=n.length||t<0||t>=n.length||(y.keys=(0,c.move)(y.keys,e,t),i((0,c.move)(n,e,t)))}}},u=r||[];return Array.isArray(u)||(u=[]),f(u.map((function(e,t){var n=y.keys[t];return void 0===n&&(y.keys[t]=y.id,n=y.keys[t],y.id+=1),{name:t,key:n,isListField:!0}})),l,t)}))))}},82131:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=n(36198).createContext(null)},6077:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Field:()=>o.default,FieldContext:()=>c.default,FormProvider:()=>l.FormProvider,List:()=>i.default,ListContext:()=>u.default,default:()=>p,useForm:()=>a.default,useWatch:()=>f.default});var r=n(36198),o=n(32890),i=n(45378),a=n(5918),s=n(5318),l=n(81696),c=n(28665),u=n(82131),f=n(21806),d=r.forwardRef(s.default);d.FormProvider=l.FormProvider,d.Field=o.default,d.List=i.default,d.useForm=a.default,d.useWatch=f.default;const p=d},5918:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FormStore:()=>O,default:()=>w});var r=n(93324),o=n(1413),i=n(45987),a=n(89062),s=n(71002),l=n(43144),c=n(15671),u=n(4942),f=n(8880),d=n(80334),p=n(36198),h=n(28665),m=n(40496),g=n(42656),y=n(92332),v=n(53236),b=["name"],O=(0,l.default)((function e(t){var n=this;(0,c.default)(this,e),(0,u.default)(this,"formHooked",!1),(0,u.default)(this,"forceRootUpdate",void 0),(0,u.default)(this,"subscribable",!0),(0,u.default)(this,"store",{}),(0,u.default)(this,"fieldEntities",[]),(0,u.default)(this,"initialValues",{}),(0,u.default)(this,"callbacks",{}),(0,u.default)(this,"validateMessages",null),(0,u.default)(this,"preserve",null),(0,u.default)(this,"lastValidatePromise",null),(0,u.default)(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,u.default)(this,"getInternalHooks",(function(e){return e===h.HOOK_MARK?(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,d.default)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)})),(0,u.default)(this,"useSubscribe",(function(e){n.subscribable=e})),(0,u.default)(this,"prevWithoutPreserves",null),(0,u.default)(this,"setInitialValues",(function(e,t){if(n.initialValues=e||{},t){var r,o=(0,f.merge)(e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map((function(t){var n=t.key;o=(0,v.setValue)(o,n,(0,v.getValue)(e,n))})),n.prevWithoutPreserves=null,n.updateStore(o)}})),(0,u.default)(this,"destroyForm",(function(e){if(e)n.updateStore({});else{var t=new y.default;n.getFieldEntities(!0).forEach((function(e){n.isMergedPreserve(e.isPreserve())||t.set(e.getNamePath(),!0)})),n.prevWithoutPreserves=t}})),(0,u.default)(this,"getInitialValue",(function(e){var t=(0,v.getValue)(n.initialValues,e);return e.length?(0,f.merge)(t):t})),(0,u.default)(this,"setCallbacks",(function(e){n.callbacks=e})),(0,u.default)(this,"setValidateMessages",(function(e){n.validateMessages=e})),(0,u.default)(this,"setPreserve",(function(e){n.preserve=e})),(0,u.default)(this,"watchList",[]),(0,u.default)(this,"registerWatch",(function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter((function(t){return t!==e}))}})),(0,u.default)(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,u.default)(this,"timeoutId",null),(0,u.default)(this,"warningUnhooked",(function(){0})),(0,u.default)(this,"updateStore",(function(e){n.store=e})),(0,u.default)(this,"getFieldEntities",(function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities})),(0,u.default)(this,"getFieldsMap",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new y.default;return n.getFieldEntities(e).forEach((function(e){var n=e.getNamePath();t.set(n,e)})),t})),(0,u.default)(this,"getFieldEntitiesForNamePathList",(function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=(0,v.getNamePath)(e);return t.get(n)||{INVALIDATE_NAME_PATH:(0,v.getNamePath)(e)}}))})),(0,u.default)(this,"getFieldsValue",(function(e,t){var r,o,i;if(n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===(0,s.default)(e)&&(i=e.strict,o=e.filter),!0===r&&!o)return n.store;var 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)&&void 0!==a&&a.call(s))return}else if(!r&&null!==(t=(n=e).isListField)&&void 0!==t&&t.call(n))return;if(o){var u="getMeta"in e?e.getMeta():null;o(u)&&l.push(c)}else l.push(c)})),(0,v.cloneByNamePathList)(n.store,l.map(v.getNamePath))})),(0,u.default)(this,"getFieldValue",(function(e){n.warningUnhooked();var t=(0,v.getNamePath)(e);return(0,v.getValue)(n.store,t)})),(0,u.default)(this,"getFieldsError",(function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:(0,v.getNamePath)(e[n]),errors:[],warnings:[]}}))})),(0,u.default)(this,"getFieldError",(function(e){n.warningUnhooked();var t=(0,v.getNamePath)(e);return n.getFieldsError([t])[0].errors})),(0,u.default)(this,"getFieldWarning",(function(e){n.warningUnhooked();var t=(0,v.getNamePath)(e);return n.getFieldsError([t])[0].warnings})),(0,u.default)(this,"isFieldsTouched",(function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=new y.default,r=n.getFieldEntities(!0);r.forEach((function(e){var n=e.props.initialValue,r=e.getNamePath();if(void 0!==n){var o=t.get(r)||new Set;o.add({entity:e,value:n}),t.set(r,o)}}));var o;e.entities?o=e.entities:e.namePathList?(o=[],e.namePathList.forEach((function(e){var n,r=t.get(e);r&&(n=o).push.apply(n,(0,a.default)((0,a.default)(r).map((function(e){return e.entity}))))}))):o=r,o.forEach((function(r){if(void 0!==r.props.initialValue){var o=r.getNamePath();if(void 0!==n.getInitialValue(o))(0,d.default)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=t.get(o);if(i&&i.size>1)(0,d.default)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var s=n.getFieldValue(o);r.isListField()||e.skipExist&&void 0!==s||n.updateStore((0,v.setValue)(n.store,o,(0,a.default)(i)[0].value))}}}}))})),(0,u.default)(this,"resetFields",(function(e){n.warningUnhooked();var t=n.store;if(!e)return n.updateStore((0,f.merge)(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),void n.notifyWatch();var r=e.map(v.getNamePath);r.forEach((function(e){var t=n.getInitialValue(e);n.updateStore((0,v.setValue)(n.store,e,t))})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)})),(0,u.default)(this,"setFields",(function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach((function(e){var o=e.name,a=(0,i.default)(e,b),s=(0,v.getNamePath)(o);r.push(s),"value"in a&&n.updateStore((0,v.setValue)(n.store,s,a.value)),n.notifyObservers(t,[s],{type:"setField",data:e})})),n.notifyWatch(r)})),(0,u.default)(this,"getFields",(function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=e.getMeta(),i=(0,o.default)((0,o.default)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(i,"originRCField",{value:!0}),i}))})),(0,u.default)(this,"initEntityValue",(function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===(0,v.getValue)(n.store,r)&&n.updateStore((0,v.setValue)(n.store,r,t))}})),(0,u.default)(this,"isMergedPreserve",(function(e){var t=void 0!==e?e:n.preserve;return null==t||t})),(0,u.default)(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!(0,v.matchNamePath)(e.getNamePath(),t)}))){var s=n.store;n.updateStore((0,v.setValue)(s,t,a,!0)),n.notifyObservers(s,[t],{type:"remove"}),n.triggerDependenciesUpdate(s,t)}}n.notifyWatch([t])}})),(0,u.default)(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,u.default)(this,"notifyObservers",(function(e,t,r){if(n.subscribable){var i=(0,o.default)((0,o.default)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,i)}))}else n.forceRootUpdate()})),(0,u.default)(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,a.default)(r))}),r})),(0,u.default)(this,"updateValue",(function(e,t){var r=(0,v.getNamePath)(e),o=n.store;n.updateStore((0,v.setValue)(n.store,r,t)),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var i=n.triggerDependenciesUpdate(o,r),s=n.callbacks.onValuesChange;s&&s((0,v.cloneByNamePathList)(n.store,[r]),n.getFieldsValue());n.triggerOnFieldsChange([r].concat((0,a.default)(i)))})),(0,u.default)(this,"setFieldsValue",(function(e){n.warningUnhooked();var t=n.store;if(e){var r=(0,f.merge)(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()})),(0,u.default)(this,"setFieldValue",(function(e,t){n.setFields([{name:e,value:t}])})),(0,u.default)(this,"getDependencyChildrenFields",(function(e){var t=new Set,r=[],o=new y.default;n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=(0,v.getNamePath)(t);o.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));return 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,u.default)(this,"triggerOnFieldsChange",(function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new y.default;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){var n=t.name;return(0,v.containsNamePath)(e,n)}));a.length&&r(a,o)}})),(0,u.default)(this,"validateFields",(function(e,t){var r,i;n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(r=e,i=t):i=e;var s=!!r,l=s?r.map(v.getNamePath):[],c=[],u=String(Date.now()),f=new Set,d=i||{},p=d.recursive,h=d.dirty;n.getFieldEntities(!0).forEach((function(e){if(s||l.push(e.getNamePath()),e.props.rules&&e.props.rules.length&&(!h||e.isFieldDirty())){var t=e.getNamePath();if(f.add(t.join(u)),!s||(0,v.containsNamePath)(l,t,p)){var r=e.validateRules((0,o.default)({validateMessages:(0,o.default)((0,o.default)({},g.defaultValidateMessages),n.validateMessages)},i));c.push(r.then((function(){return{name:t,errors:[],warnings:[]}})).catch((function(e){var n,r=[],o=[];return null===(n=e.forEach)||void 0===n||n.call(e,(function(e){var t=e.rule.warningOnly,n=e.errors;t?o.push.apply(o,(0,a.default)(n)):r.push.apply(r,(0,a.default)(n))})),r.length?Promise.reject({name:t,errors:r,warnings:o}):{name:t,errors:r,warnings:o}})))}}}));var y=(0,m.allPromiseFinish)(c);n.lastValidatePromise=y,y.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 b=y.then((function(){return n.lastValidatePromise===y?Promise.resolve(n.getFieldsValue(l)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(l),errorFields:t,outOfDate:n.lastValidatePromise!==y})}));b.catch((function(e){return e}));var O=l.filter((function(e){return f.has(e.join(u))}));return n.triggerOnFieldsChange(O),b})),(0,u.default)(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}));const w=function(e){var t=p.useRef(),n=p.useState({}),o=(0,r.default)(n,2)[1];if(!t.current)if(e)t.current=e;else{var i=new O((function(){o({})}));t.current=i.getForm()}return[t.current]}},21806:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u,stringify:()=>l});var r=n(93324),o=(n(80334),n(36198)),i=n(28665),a=n(93409),s=n(53236);function l(e){try{return JSON.stringify(e)}catch(e){return Math.random()}}var c=function(){};const u=function(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(93324),o=n(89062),i=n(15671),a=n(43144),s=n(4942),l=n(71002),c="__@field_split__";function u(e){return e.map((function(e){return"".concat((0,l.default)(e),":").concat(e)})).join(c)}const f=function(){function e(){(0,i.default)(this,e),(0,s.default)(this,"kvs",new Map)}return(0,a.default)(e,[{key:"set",value:function(e,t){this.kvs.set(u(e),t)}},{key:"get",value:function(e){return this.kvs.get(u(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(u(e))}},{key:"map",value:function(e){return(0,o.default)(this.kvs.entries()).map((function(t){var n=(0,r.default)(t,2),o=n[0],i=n[1],a=o.split(c);return e({key:a.map((function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,r.default)(t,3),o=n[1],i=n[2];return"number"===o?Number(i):i})),value:i})}))}},{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}()},40496:(e,t,n)=>{"use strict";function r(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([])}n.r(t),n.d(t,{allPromiseFinish:()=>r})},42656:(e,t,n)=>{"use strict";n.r(t),n.d(t,{defaultValidateMessages:()=>o});var r="'${name}' is not a valid ${type}",o={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:r,method:r,array:r,object:r,number:r,date:r,boolean:r,integer:r,float:r,regexp:r,email:r,url:r,hex:r},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}"}}},93409:(e,t,n)=>{"use strict";function r(e){return null==e?[]:Array.isArray(e)?e:[e]}function o(e){return e&&!!e._init}n.r(t),n.d(t,{isFormInstance:()=>o,toArray:()=>r})},416:(e,t,n)=>{"use strict";n.r(t),n.d(t,{validateRules:()=>v});var r=n(89062),o=n(4942),i=n(74165),a=n(1413),s=n(15861),l=n(54572),c=n(36198),u=n(80334),f=n(42656),d=n(8880),p=l.default;function h(e,t){return e.replace(/\\?\$\{\w+\}/g,(function(e){if(e.startsWith("\\"))return e.slice(1);var n=e.slice(2,-1);return t[n]}))}var m="CODE_LOGIC_ERROR";function g(e,t,n,r,o){return y.apply(this,arguments)}function y(){return y=(0,s.default)((0,i.default)().mark((function e(t,n,s,l,u){var y,v,b,O,w,S,x,E,_;return(0,i.default)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete(y=(0,a.default)({},s)).ruleIndex,p.warning=function(){},y.validator&&(v=y.validator,y.validator=function(){try{return v.apply(void 0,arguments)}catch(e){return console.error(e),Promise.reject(m)}}),b=null,y&&"array"===y.type&&y.defaultField&&(b=y.defaultField,delete y.defaultField),O=new p((0,o.default)({},t,[y])),w=(0,d.merge)(f.defaultValidateMessages,l.validateMessages),O.messages(w),S=[],e.prev=10,e.next=13,Promise.resolve(O.validate((0,o.default)({},t,n),(0,a.default)({},l)));case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(10),e.t0.errors&&(S=e.t0.errors.map((function(e,t){var n=e.message,r=n===m?w.default:n;return c.isValidElement(r)?c.cloneElement(r,{key:"error_".concat(t)}):r})));case 18:if(S.length||!b){e.next=23;break}return e.next=21,Promise.all(n.map((function(e,n){return g("".concat(t,".").concat(n),e,b,l,u)})));case 21:return x=e.sent,e.abrupt("return",x.reduce((function(e,t){return[].concat((0,r.default)(e),(0,r.default)(t))}),[]));case 23:return E=(0,a.default)((0,a.default)({},s),{},{name:t,enum:(s.enum||[]).join(", ")},u),_=S.map((function(e){return"string"==typeof e?h(e,E):e})),e.abrupt("return",_);case 26:case"end":return e.stop()}}),e,null,[[10,15]])}))),y.apply(this,arguments)}function v(e,t,n,r,o,l){var c,f=e.join("."),d=n.map((function(e,t){var n=e.validator,r=(0,a.default)((0,a.default)({},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=new Array(e),n=0;n{"use strict";n.r(t),n.d(t,{cloneByNamePathList:()=>c,containsNamePath:()=>u,defaultGetValueFromEvent:()=>p,getNamePath:()=>l,getValue:()=>i.default,isSimilar:()=>d,matchNamePath:()=>f,move:()=>h,setValue:()=>a.default});var r=n(89062),o=n(71002),i=n(88306),a=n(8880),s=n(93409);function l(e){return(0,s.toArray)(e)}function c(e,t){var n={};return t.forEach((function(t){var r=(0,i.default)(e,t);n=(0,a.default)(n,t,r)})),n}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e&&e.some((function(e){return f(t,e,n)}))}function f(e,t){return!(!e||!t)&&(!(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])&&e.length!==t.length)&&t.every((function(t,n){return e[n]===t})))}function d(e,t){if(e===t)return!0;if(!e&&t||e&&!t)return!1;if(!e||!t||"object"!==(0,o.default)(e)||"object"!==(0,o.default)(t))return!1;var n=Object.keys(e),i=Object.keys(t),a=new Set([].concat(n,i));return(0,r.default)(a).every((function(n){var r=e[n],o=t[n];return"function"==typeof r&&"function"==typeof o||r===o}))}function p(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,o.default)(t.target)&&e in t.target?t.target[e]:t}function h(e,t,n){var o=e.length;if(t<0||t>=o||n<0||n>=o)return e;var i=e[t],a=t-n;return a>0?[].concat((0,r.default)(e.slice(0,n)),[i],(0,r.default)(e.slice(n,t)),(0,r.default)(e.slice(t+1,o))):a<0?[].concat((0,r.default)(e.slice(0,t)),(0,r.default)(e.slice(t+1,n+1)),[i],(0,r.default)(e.slice(n+1,o))):e}},48960:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(1413),o=n(87462),i=n(4942),a=n(71002),s=n(93967),l=n.n(s),c=n(36198),u=n(87887);const f=c.forwardRef((function(e,t){var n,s,f=e.inputElement,d=e.children,p=e.prefixCls,h=e.prefix,m=e.suffix,g=e.addonBefore,y=e.addonAfter,v=e.className,b=e.style,O=e.disabled,w=e.readOnly,S=e.focused,x=e.triggerFocus,E=e.allowClear,_=e.value,P=e.handleReset,T=e.hidden,j=e.classes,C=e.classNames,k=e.dataAttrs,A=e.styles,D=e.components,L=e.onClear,R=null!=d?d:f,M=(null==D?void 0:D.affixWrapper)||"span",I=(null==D?void 0:D.groupWrapper)||"span",N=(null==D?void 0:D.wrapper)||"span",B=(null==D?void 0:D.groupAddon)||"span",$=(0,c.useRef)(null),F=(0,u.hasPrefixSuffix)(e),z=(0,c.cloneElement)(R,{value:_,className:l()(R.props.className,!F&&(null==C?void 0:C.variant))||null}),Q=(0,c.useRef)(null);if(c.useImperativeHandle(t,(function(){return{nativeElement:Q.current||$.current}})),F){var V=null;if(E){var U=!O&&!w&&_,G="".concat(p,"-clear-icon"),W="object"===(0,a.default)(E)&&null!=E&&E.clearIcon?E.clearIcon:"✖";V=c.createElement("span",{onClick:function(e){null==P||P(e),null==L||L()},onMouseDown:function(e){return e.preventDefault()},className:l()(G,(0,i.default)((0,i.default)({},"".concat(G,"-hidden"),!U),"".concat(G,"-has-suffix"),!!m)),role:"button",tabIndex:-1},W)}var H="".concat(p,"-affix-wrapper"),Z=l()(H,(0,i.default)((0,i.default)((0,i.default)((0,i.default)((0,i.default)({},"".concat(p,"-disabled"),O),"".concat(H,"-disabled"),O),"".concat(H,"-focused"),S),"".concat(H,"-readonly"),w),"".concat(H,"-input-with-clear-btn"),m&&E&&_),null==j?void 0:j.affixWrapper,null==C?void 0:C.affixWrapper,null==C?void 0:C.variant),X=(m||E)&&c.createElement("span",{className:l()("".concat(p,"-suffix"),null==C?void 0:C.suffix),style:null==A?void 0:A.suffix},V,m);z=c.createElement(M,(0,o.default)({className:Z,style:null==A?void 0:A.affixWrapper,onClick:function(e){var t;null!==(t=$.current)&&void 0!==t&&t.contains(e.target)&&(null==x||x())}},null==k?void 0:k.affixWrapper,{ref:$}),h&&c.createElement("span",{className:l()("".concat(p,"-prefix"),null==C?void 0:C.prefix),style:null==A?void 0:A.prefix},h),z,X)}if((0,u.hasAddon)(e)){var q="".concat(p,"-group"),Y="".concat(q,"-addon"),K="".concat(q,"-wrapper"),J=l()("".concat(p,"-wrapper"),q,null==j?void 0:j.wrapper,null==C?void 0:C.wrapper),ee=l()(K,(0,i.default)({},"".concat(K,"-disabled"),O),null==j?void 0:j.group,null==C?void 0:C.groupWrapper);z=c.createElement(I,{className:ee,ref:Q},c.createElement(N,{className:J},g&&c.createElement(B,{className:Y},g),z,y&&c.createElement(B,{className:Y},y)))}return c.cloneElement(z,{className:l()(null===(n=z.props)||void 0===n?void 0:n.className,v)||null,style:(0,r.default)((0,r.default)({},null===(s=z.props)||void 0===s?void 0:s.style),b),hidden:T})}))},91504:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(1413),o=n(87462),i=n(4942),a=n(89062),s=n(93324),l=n(45987),c=n(93967),u=n.n(c),f=n(21770),d=n(98423),p=n(36198),h=n(48960),m=n(82234),g=n(87887),y=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"];const v=(0,p.forwardRef)((function(e,t){var n=e.autoComplete,c=e.onChange,v=e.onFocus,b=e.onBlur,O=e.onPressEnter,w=e.onKeyDown,S=e.onKeyUp,x=e.prefixCls,E=void 0===x?"rc-input":x,_=e.disabled,P=e.htmlSize,T=e.className,j=e.maxLength,C=e.suffix,k=e.showCount,A=e.count,D=e.type,L=void 0===D?"text":D,R=e.classes,M=e.classNames,I=e.styles,N=e.onCompositionStart,B=e.onCompositionEnd,$=(0,l.default)(e,y),F=(0,p.useState)(!1),z=(0,s.default)(F,2),Q=z[0],V=z[1],U=(0,p.useRef)(!1),G=(0,p.useRef)(!1),W=(0,p.useRef)(null),H=(0,p.useRef)(null),Z=function(e){W.current&&(0,g.triggerFocus)(W.current,e)},X=(0,f.default)(e.defaultValue,{value:e.value}),q=(0,s.default)(X,2),Y=q[0],K=q[1],J=null==Y?"":String(Y),ee=(0,p.useState)(null),te=(0,s.default)(ee,2),ne=te[0],re=te[1],oe=(0,m.default)(A,k),ie=oe.max||j,ae=oe.strategy(J),se=!!ie&&ae>ie;(0,p.useImperativeHandle)(t,(function(){var e;return{focus:Z,blur:function(){var e;null===(e=W.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=W.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=W.current)||void 0===e||e.select()},input:W.current,nativeElement:(null===(e=H.current)||void 0===e?void 0:e.nativeElement)||W.current}})),(0,p.useEffect)((function(){V((function(e){return(!e||!_)&&e}))}),[_]);var le=function(e,t,n){var r,o,i=t;if(!U.current&&oe.exceedFormatter&&oe.max&&oe.strategy(t)>oe.max)t!==(i=oe.exceedFormatter(t,{max:oe.max}))&&re([(null===(r=W.current)||void 0===r?void 0:r.selectionStart)||0,(null===(o=W.current)||void 0===o?void 0:o.selectionEnd)||0]);else if("compositionEnd"===n.source)return;K(i),W.current&&(0,g.resolveOnChange)(W.current,e,c,i)};(0,p.useEffect)((function(){var e;ne&&(null===(e=W.current)||void 0===e||e.setSelectionRange.apply(e,(0,a.default)(ne)))}),[ne]);var ce,ue=function(e){le(e,e.target.value,{source:"change"})},fe=function(e){U.current=!1,le(e,e.currentTarget.value,{source:"compositionEnd"}),null==B||B(e)},de=function(e){O&&"Enter"===e.key&&!G.current&&(G.current=!0,O(e)),null==w||w(e)},pe=function(e){"Enter"===e.key&&(G.current=!1),null==S||S(e)},he=function(e){V(!0),null==v||v(e)},me=function(e){V(!1),null==b||b(e)},ge=se&&"".concat(E,"-out-of-range");return p.createElement(h.default,(0,o.default)({},$,{prefixCls:E,className:u()(T,ge),handleReset:function(e){K(""),Z(),W.current&&(0,g.resolveOnChange)(W.current,e,c)},value:J,focused:Q,triggerFocus:Z,suffix:function(){var e=Number(ie)>0;if(C||oe.show){var t=oe.showFormatter?oe.showFormatter({value:J,count:ae,maxLength:ie}):"".concat(ae).concat(e?" / ".concat(ie):"");return p.createElement(p.Fragment,null,oe.show&&p.createElement("span",{className:u()("".concat(E,"-show-count-suffix"),(0,i.default)({},"".concat(E,"-show-count-has-suffix"),!!C),null==M?void 0:M.count),style:(0,r.default)({},null==I?void 0:I.count)},t),C)}return null}(),disabled:_,classes:R,classNames:M,styles:I}),(ce=(0,d.default)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]),p.createElement("input",(0,o.default)({autoComplete:n},ce,{onChange:ue,onFocus:he,onBlur:me,onKeyDown:de,onKeyUp:pe,className:u()(E,(0,i.default)({},"".concat(E,"-disabled"),_),null==M?void 0:M.input),style:null==I?void 0:I.input,ref:W,size:P,type:L,onCompositionStart:function(e){U.current=!0,null==N||N(e)},onCompositionEnd:fe}))))}))},82234:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c,inCountRange:()=>l});var r=n(45987),o=n(1413),i=n(71002),a=n(36198),s=["show"];function l(e,t){return!t.max||t.strategy(e)<=t.max}function c(e,t){return a.useMemo((function(){var n={};t&&(n.show="object"===(0,i.default)(t)&&t.formatter?t.formatter:!!t);var a=n=(0,o.default)((0,o.default)({},n),e),l=a.show,c=(0,r.default)(a,s);return(0,o.default)((0,o.default)({},c),{},{show:!!l,showFormatter:"function"==typeof l?l:void 0,strategy:c.strategy||function(e){return e.length}})}),[e,t])}},10584:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BaseInput:()=>r.default,default:()=>o});var r=n(48960);const o=n(91504).default},87887:(e,t,n)=>{"use strict";function r(e){return!(!e.addonBefore&&!e.addonAfter)}function o(e){return!!(e.prefix||e.suffix||e.allowClear)}function i(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 a(e,t,n,r){if(n){var o=t;"click"!==t.type?"file"===e.type||void 0===r?n(o):n(o=i(t,e,r)):n(o=i(t,e,""))}}function s(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}n.r(t),n.d(t,{hasAddon:()=>r,hasPrefixSuffix:()=>o,resolveOnChange:()=>a,triggerFocus:()=>s})},15407:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>b,genCSSMotion:()=>v});var r=n(4942),o=n(1413),i=n(93324),a=n(71002),s=n(93967),l=n.n(s),c=n(34203),u=n(42550),f=n(36198),d=n(40507),p=n(44154),h=n(72215),m=n(10179),g=n(21279),y=n(94159);function v(e){var t=e;"object"===(0,a.default)(e)&&(t=e.transitionSupport);var n=f.forwardRef((function(e,n){var a=e.visible,s=void 0===a||a,v=e.removeOnLeave,b=void 0===v||v,O=e.forceRender,w=e.children,S=e.motionName,x=e.leavedClassName,E=e.eventProps,_=function(e,n){return!(!e.motionName||!t||!1===n)}(e,f.useContext(d.Context).motion),P=(0,f.useRef)(),T=(0,f.useRef)();var j=(0,h.default)(_,s,(function(){try{return P.current instanceof HTMLElement?P.current:(0,c.default)(T.current)}catch(e){return null}}),e),C=(0,i.default)(j,4),k=C[0],A=C[1],D=C[2],L=C[3],R=f.useRef(L);L&&(R.current=!0);var M,I=f.useCallback((function(e){P.current=e,(0,u.fillRef)(n,e)}),[n]),N=(0,o.default)((0,o.default)({},E),{},{visible:s});if(w)if(k===g.STATUS_NONE)M=L?w((0,o.default)({},N),I):!b&&R.current&&x?w((0,o.default)((0,o.default)({},N),{},{className:x}),I):O||!b&&!x?w((0,o.default)((0,o.default)({},N),{},{style:{display:"none"}}),I):null;else{var B;A===g.STEP_PREPARE?B="prepare":(0,m.isActive)(A)?B="active":A===g.STEP_START&&(B="start");var $=(0,y.getTransitionName)(S,"".concat(k,"-").concat(B));M=w((0,o.default)((0,o.default)({},N),{},{className:l()((0,y.getTransitionName)(S,k),(0,r.default)((0,r.default)({},$,$&&B),S,"string"==typeof S)),style:D}),I)}else M=null;f.isValidElement(M)&&(0,u.supportRef)(M)&&(M.ref||(M=f.cloneElement(M,{ref:I})));return f.createElement(p.default,{ref:T},M)}));return n.displayName="CSSMotion",n}const b=v(y.supportTransition)},84173:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>O,genCSSMotionList:()=>b});var r=n(87462),o=n(45987),i=n(1413),a=n(15671),s=n(43144),l=n(97326),c=n(60136),u=n(29388),f=n(4942),d=n(36198),p=n(15407),h=n(52378),m=n(94159),g=["component","children","onVisibleChanged","onAllRemoved"],y=["status"],v=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.default,n=function(e){(0,c.default)(p,e);var n=(0,u.default)(p);function p(){var e;(0,a.default)(this,p);for(var t=arguments.length,r=new Array(t),o=0;o{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(15671),o=n(43144),i=n(60136),a=n(29388);const s=function(e){(0,i.default)(n,e);var t=(0,a.default)(n);function n(){return(0,r.default)(this,n),t.apply(this,arguments)}return(0,o.default)(n,[{key:"render",value:function(){return this.props.children}}]),n}(n(36198).Component)},40507:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Context:()=>a,default:()=>s});var r=n(45987),o=n(36198),i=["children"],a=o.createContext({});function s(e){var t=e.children,n=(0,r.default)(e,i);return o.createElement(a.Provider,{value:n},t)}},68377:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(36198),o=n(94159);const i=function(e){var t=(0,r.useRef)();function n(t){t&&(t.removeEventListener(o.transitionEndName,e),t.removeEventListener(o.animationEndName,e))}return r.useEffect((function(){return function(){n(t.current)}}),[]),[function(r){t.current&&t.current!==r&&n(t.current),r&&r!==t.current&&(r.addEventListener(o.transitionEndName,e),r.addEventListener(o.animationEndName,e),t.current=r)},n]}},10586:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(98924),o=n(36198);const i=(0,r.default)()?o.useLayoutEffect:o.useEffect},54194:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(75164),o=n(36198);const i=function(){var e=o.useRef(null);function t(){r.default.cancel(e.current)}return o.useEffect((function(){return function(){t()}}),[]),[function n(o){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var a=(0,r.default)((function(){i<=1?o({isCanceled:function(){return a!==e.current}}):n(o,i-1)}));e.current=a},t]}},72215:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(1413),o=n(4942),i=n(93324),a=n(56790),s=n(30470),l=n(61848),c=n(36198),u=n(21279),f=n(68377),d=n(10586),p=n(10179);function h(e,t,n,h){var m=h.motionEnter,g=void 0===m||m,y=h.motionAppear,v=void 0===y||y,b=h.motionLeave,O=void 0===b||b,w=h.motionDeadline,S=h.motionLeaveImmediately,x=h.onAppearPrepare,E=h.onEnterPrepare,_=h.onLeavePrepare,P=h.onAppearStart,T=h.onEnterStart,j=h.onLeaveStart,C=h.onAppearActive,k=h.onEnterActive,A=h.onLeaveActive,D=h.onAppearEnd,L=h.onEnterEnd,R=h.onLeaveEnd,M=h.onVisibleChanged,I=(0,s.default)(),N=(0,i.default)(I,2),B=N[0],$=N[1],F=(0,l.default)(u.STATUS_NONE),z=(0,i.default)(F,2),Q=z[0],V=z[1],U=(0,s.default)(null),G=(0,i.default)(U,2),W=G[0],H=G[1],Z=Q(),X=(0,c.useRef)(!1),q=(0,c.useRef)(null);function Y(){return n()}var K=(0,c.useRef)(!1);function J(){V(u.STATUS_NONE),H(null,!0)}var ee=(0,a.useEvent)((function(e){var t=Q();if(t!==u.STATUS_NONE){var n=Y();if(!e||e.deadline||e.target===n){var r,o=K.current;t===u.STATUS_APPEAR&&o?r=null==D?void 0:D(n,e):t===u.STATUS_ENTER&&o?r=null==L?void 0:L(n,e):t===u.STATUS_LEAVE&&o&&(r=null==R?void 0:R(n,e)),o&&!1!==r&&J()}}})),te=(0,f.default)(ee),ne=(0,i.default)(te,1)[0],re=function(e){switch(e){case u.STATUS_APPEAR:return(0,o.default)((0,o.default)((0,o.default)({},u.STEP_PREPARE,x),u.STEP_START,P),u.STEP_ACTIVE,C);case u.STATUS_ENTER:return(0,o.default)((0,o.default)((0,o.default)({},u.STEP_PREPARE,E),u.STEP_START,T),u.STEP_ACTIVE,k);case u.STATUS_LEAVE:return(0,o.default)((0,o.default)((0,o.default)({},u.STEP_PREPARE,_),u.STEP_START,j),u.STEP_ACTIVE,A);default:return{}}},oe=c.useMemo((function(){return re(Z)}),[Z]),ie=(0,p.default)(Z,!e,(function(e){if(e===u.STEP_PREPARE){var t=oe[u.STEP_PREPARE];return t?t(Y()):p.SkipStep}var n;le in oe&&H((null===(n=oe[le])||void 0===n?void 0:n.call(oe,Y(),null))||null);return le===u.STEP_ACTIVE&&Z!==u.STATUS_NONE&&(ne(Y()),w>0&&(clearTimeout(q.current),q.current=setTimeout((function(){ee({deadline:!0})}),w))),le===u.STEP_PREPARED&&J(),p.DoStep})),ae=(0,i.default)(ie,2),se=ae[0],le=ae[1],ce=(0,p.isActive)(le);K.current=ce,(0,d.default)((function(){$(t);var n,r=X.current;X.current=!0,!r&&t&&v&&(n=u.STATUS_APPEAR),r&&t&&g&&(n=u.STATUS_ENTER),(r&&!t&&O||!r&&S&&!t&&O)&&(n=u.STATUS_LEAVE);var o=re(n);n&&(e||o[u.STEP_PREPARE])?(V(n),se()):V(u.STATUS_NONE)}),[t]),(0,c.useEffect)((function(){(Z===u.STATUS_APPEAR&&!v||Z===u.STATUS_ENTER&&!g||Z===u.STATUS_LEAVE&&!O)&&V(u.STATUS_NONE)}),[v,g,O]),(0,c.useEffect)((function(){return function(){X.current=!1,clearTimeout(q.current)}}),[]);var ue=c.useRef(!1);(0,c.useEffect)((function(){B&&(ue.current=!0),void 0!==B&&Z===u.STATUS_NONE&&((ue.current||B)&&(null==M||M(B)),ue.current=!0)}),[B,Z]);var fe=W;return oe[u.STEP_PREPARE]&&le===u.STEP_START&&(fe=(0,r.default)({transition:"none"},fe)),[Z,le,fe,null!=B?B:t]}},10179:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DoStep:()=>d,SkipStep:()=>f,default:()=>h,isActive:()=>p});var r=n(93324),o=n(30470),i=n(36198),a=n(21279),s=n(10586),l=n(54194),c=[a.STEP_PREPARE,a.STEP_START,a.STEP_ACTIVE,a.STEP_ACTIVATED],u=[a.STEP_PREPARE,a.STEP_PREPARED],f=!1,d=!0;function p(e){return e===a.STEP_ACTIVE||e===a.STEP_ACTIVATED}const h=function(e,t,n){var d=(0,o.default)(a.STEP_NONE),p=(0,r.default)(d,2),h=p[0],m=p[1],g=(0,l.default)(),y=(0,r.default)(g,2),v=y[0],b=y[1];var O=t?u:c;return(0,s.default)((function(){if(h!==a.STEP_NONE&&h!==a.STEP_ACTIVATED){var e=O.indexOf(h),t=O[e+1],r=n(h);r===f?m(t,!0):t&&v((function(e){function n(){e.isCanceled()||m(t,!0)}!0===r?n():Promise.resolve(r).then(n)}))}}),[e,h]),i.useEffect((function(){return function(){b()}}),[]),[function(){m(a.STEP_PREPARE,!0)},h]}},93587:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CSSMotionList:()=>o.default,Provider:()=>i.default,default:()=>a});var r=n(15407),o=n(84173),i=n(40507);const a=r.default},21279:(e,t,n)=>{"use strict";n.r(t),n.d(t,{STATUS_APPEAR:()=>o,STATUS_ENTER:()=>i,STATUS_LEAVE:()=>a,STATUS_NONE:()=>r,STEP_ACTIVATED:()=>f,STEP_ACTIVE:()=>u,STEP_NONE:()=>s,STEP_PREPARE:()=>l,STEP_PREPARED:()=>d,STEP_START:()=>c});var r="none",o="appear",i="enter",a="leave",s="none",l="prepare",c="start",u="active",f="end",d="prepared"},52378:(e,t,n)=>{"use strict";n.r(t),n.d(t,{STATUS_ADD:()=>i,STATUS_KEEP:()=>a,STATUS_REMOVE:()=>s,STATUS_REMOVED:()=>l,diffKeys:()=>f,parseKeys:()=>u,wrapKeyToObject:()=>c});var r=n(1413),o=n(71002),i="add",a="keep",s="remove",l="removed";function c(e){var t;return t=e&&"object"===(0,o.default)(e)&&"key"in e?e:{key:e},(0,r.default)((0,r.default)({},t),{},{key:String(t.key)})}function u(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(c)}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],o=0,l=t.length,c=u(e),f=u(t);c.forEach((function(e){for(var t=!1,c=o;c1})).forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==s}))).forEach((function(t){t.key===e&&(t.status=a)}))})),n}},94159:(e,t,n)=>{"use strict";n.r(t),n.d(t,{animationEndName:()=>m,getTransitionName:()=>y,getVendorPrefixedEventName:()=>f,getVendorPrefixes:()=>a,supportTransition:()=>h,transitionEndName:()=>g});var r=n(71002),o=n(98924);function i(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}function a(e,t){var n={animationend:i("Animation","AnimationEnd"),transitionend:i("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var s=a((0,o.default)(),"undefined"!=typeof window?window:{}),l={};if((0,o.default)()){var c=document.createElement("div");l=c.style}var u={};function f(e){if(u[e])return u[e];var t=s[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o{"use strict";n.r(t),n.d(t,{default:()=>r});const 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"}},25541:(e,t,n)=>{"use strict";n.r(t),n.d(t,{commonLocale:()=>r});var r={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}},18758:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1413),o=n(25541);const i=(0,r.default)((0,r.default)({},o.commonLocale),{},{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"})},59138:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Collection:()=>i,CollectionContext:()=>o});var r=n(36198),o=r.createContext(null);function i(e){var t=e.children,n=e.onBatchResize,i=r.useRef(0),a=r.useRef([]),s=r.useContext(o),l=r.useCallback((function(e,t,r){i.current+=1;var o=i.current;a.current.push({size:e,element:t,data:r}),Promise.resolve().then((function(){o===i.current&&(null==n||n(a.current),a.current=[])})),null==s||s(e,t,r)}),[n,s]);return r.createElement(o.Provider,{value:l},t)}},86388:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(15671),o=n(43144),i=n(60136),a=n(29388),s=function(e){(0,i.default)(n,e);var t=(0,a.default)(n);function n(){return(0,r.default)(this,n),t.apply(this,arguments)}return(0,o.default)(n,[{key:"render",value:function(){return this.props.children}}]),n}(n(36198).Component)},31162:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(1413),o=n(71002),i=n(34203),a=n(42550),s=n(36198),l=n(59138),c=n(42591),u=n(86388);function f(e,t){var n=e.children,f=e.disabled,d=s.useRef(null),p=s.useRef(null),h=s.useContext(l.CollectionContext),m="function"==typeof n,g=m?n(d):n,y=s.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),v=!m&&s.isValidElement(g)&&(0,a.supportRef)(g),b=v?g.ref:null,O=(0,a.useComposeRef)(b,d),w=function(){var e;return(0,i.default)(d.current)||(d.current&&"object"===(0,o.default)(d.current)?(0,i.default)(null===(e=d.current)||void 0===e?void 0:e.nativeElement):null)||(0,i.default)(p.current)};s.useImperativeHandle(t,(function(){return w()}));var S=s.useRef(e);S.current=e;var x=s.useCallback((function(e){var t=S.current,n=t.onResize,o=t.data,i=e.getBoundingClientRect(),a=i.width,s=i.height,l=e.offsetWidth,c=e.offsetHeight,u=Math.floor(a),f=Math.floor(s);if(y.current.width!==u||y.current.height!==f||y.current.offsetWidth!==l||y.current.offsetHeight!==c){var d={width:u,height:f,offsetWidth:l,offsetHeight:c};y.current=d;var p=l===Math.round(a)?a:l,m=c===Math.round(s)?s:c,g=(0,r.default)((0,r.default)({},d),{},{offsetWidth:p,offsetHeight:m});null==h||h(g,e,o),n&&Promise.resolve().then((function(){n(g,e)}))}}),[]);return s.useEffect((function(){var e=w();return e&&!f&&(0,c.observe)(e,x),function(){return(0,c.unobserve)(e,x)}}),[d.current,f]),s.createElement(u.default,{ref:p},v?s.cloneElement(g,{ref:O}):g)}const d=s.forwardRef(f)},4084:(e,t,n)=>{"use strict";n.r(t),n.d(t,{_rs:()=>l._rs,default:()=>f});var r=n(87462),o=n(36198),i=n(50344),a=(n(80334),n(31162)),s=n(59138),l=n(42591);function c(e,t){var n=e.children;return("function"==typeof n?[n]:(0,i.default)(n)).map((function(n,i){var s=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(i);return o.createElement(a.default,(0,r.default)({},e,{key:s,ref:0===i?t:void 0}),n)}))}var u=o.forwardRef(c);u.Collection=s.Collection;const f=u},42591:(e,t,n)=>{"use strict";n.r(t),n.d(t,{_el:()=>a,_rs:()=>s,observe:()=>l,unobserve:()=>c});var r=n(91033),o=new Map;var i=new r.default((function(e){e.forEach((function(e){var t,n=e.target;null===(t=o.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))})),a=null,s=null;function l(e,t){o.has(e)||(o.set(e,new Set),i.observe(e)),o.get(e).add(t)}function c(e,t){o.has(e)&&(o.get(e).delete(t),o.get(e).size||(i.unobserve(e),o.delete(e)))}},94782:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(87462),o=n(4942),i=n(1413),a=n(71002),s=n(93324),l=n(45987),c=n(93967),u=n.n(c),f=n(4084),d=n(8410),p=n(21770),h=n(75164),m=n(36198),g=n(72801),y=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"];const v=m.forwardRef((function(e,t){var n=e,c=n.prefixCls,v=n.defaultValue,b=n.value,O=n.autoSize,w=n.onResize,S=n.className,x=n.style,E=n.disabled,_=n.onChange,P=(n.onInternalAutoSize,(0,l.default)(n,y)),T=(0,p.default)(v,{value:b,postState:function(e){return null!=e?e:""}}),j=(0,s.default)(T,2),C=j[0],k=j[1],A=m.useRef();m.useImperativeHandle(t,(function(){return{textArea:A.current}}));var D=m.useMemo((function(){return O&&"object"===(0,a.default)(O)?[O.minRows,O.maxRows]:[]}),[O]),L=(0,s.default)(D,2),R=L[0],M=L[1],I=!!O,N=m.useState(2),B=(0,s.default)(N,2),$=B[0],F=B[1],z=m.useState(),Q=(0,s.default)(z,2),V=Q[0],U=Q[1],G=function(){F(0)};(0,d.default)((function(){I&&G()}),[b,R,M,I]),(0,d.default)((function(){if(0===$)F(1);else if(1===$){var e=(0,g.default)(A.current,!1,R,M);F(2),U(e)}else!function(){try{if(document.activeElement===A.current){var e=A.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;A.current.setSelectionRange(t,n),A.current.scrollTop=r}}catch(e){}}()}),[$]);var W=m.useRef(),H=function(){h.default.cancel(W.current)};m.useEffect((function(){return H}),[]);var Z=I?V:null,X=(0,i.default)((0,i.default)({},x),Z);return 0!==$&&1!==$||(X.overflowY="hidden",X.overflowX="hidden"),m.createElement(f.default,{onResize:function(e){2===$&&(null==w||w(e),O&&(H(),W.current=(0,h.default)((function(){G()}))))},disabled:!(O||w)},m.createElement("textarea",(0,r.default)({},P,{ref:A,style:X,className:u()(c,S,(0,o.default)({},"".concat(c,"-disabled"),E)),disabled:E,value:C,onChange:function(e){k(e.target.value),null==_||_(e)}})))}))},15953:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(87462),o=n(4942),i=n(1413),a=n(89062),s=n(93324),l=n(45987),c=n(93967),u=n.n(c),f=n(10584),d=n(82234),p=n(87887),h=n(21770),m=n(36198),g=n(94782),y=["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"];const v=m.forwardRef((function(e,t){var n,c=e.defaultValue,v=e.value,b=e.onFocus,O=e.onBlur,w=e.onChange,S=e.allowClear,x=e.maxLength,E=e.onCompositionStart,_=e.onCompositionEnd,P=e.suffix,T=e.prefixCls,j=void 0===T?"rc-textarea":T,C=e.showCount,k=e.count,A=e.className,D=e.style,L=e.disabled,R=e.hidden,M=e.classNames,I=e.styles,N=e.onResize,B=e.onClear,$=e.onPressEnter,F=e.readOnly,z=e.autoSize,Q=e.onKeyDown,V=(0,l.default)(e,y),U=(0,h.default)(c,{value:v,defaultValue:c}),G=(0,s.default)(U,2),W=G[0],H=G[1],Z=null==W?"":String(W),X=m.useState(!1),q=(0,s.default)(X,2),Y=q[0],K=q[1],J=m.useRef(!1),ee=m.useState(null),te=(0,s.default)(ee,2),ne=te[0],re=te[1],oe=(0,m.useRef)(null),ie=(0,m.useRef)(null),ae=function(){var e;return null===(e=ie.current)||void 0===e?void 0:e.textArea},se=function(){ae().focus()};(0,m.useImperativeHandle)(t,(function(){var e;return{resizableTextArea:ie.current,focus:se,blur:function(){ae().blur()},nativeElement:(null===(e=oe.current)||void 0===e?void 0:e.nativeElement)||ae()}})),(0,m.useEffect)((function(){K((function(e){return!L&&e}))}),[L]);var le=m.useState(null),ce=(0,s.default)(le,2),ue=ce[0],fe=ce[1];m.useEffect((function(){var e;ue&&(e=ae()).setSelectionRange.apply(e,(0,a.default)(ue))}),[ue]);var de,pe=(0,d.default)(k,C),he=null!==(n=pe.max)&&void 0!==n?n:x,me=Number(he)>0,ge=pe.strategy(Z),ye=!!he&&ge>he,ve=function(e,t){var n=t;!J.current&&pe.exceedFormatter&&pe.max&&pe.strategy(t)>pe.max&&t!==(n=pe.exceedFormatter(t,{max:pe.max}))&&fe([ae().selectionStart||0,ae().selectionEnd||0]),H(n),(0,p.resolveOnChange)(e.currentTarget,e,w,n)},be=P;pe.show&&(de=pe.showFormatter?pe.showFormatter({value:Z,count:ge,maxLength:he}):"".concat(ge).concat(me?" / ".concat(he):""),be=m.createElement(m.Fragment,null,be,m.createElement("span",{className:u()("".concat(j,"-data-count"),null==M?void 0:M.count),style:null==I?void 0:I.count},de)));var Oe=!z&&!C&&!S;return m.createElement(f.BaseInput,{ref:oe,value:Z,allowClear:S,handleReset:function(e){H(""),se(),(0,p.resolveOnChange)(ae(),e,w)},suffix:be,prefixCls:j,classNames:(0,i.default)((0,i.default)({},M),{},{affixWrapper:u()(null==M?void 0:M.affixWrapper,(0,o.default)((0,o.default)({},"".concat(j,"-show-count"),C),"".concat(j,"-textarea-allow-clear"),S))}),disabled:L,focused:Y,className:u()(A,ye&&"".concat(j,"-out-of-range")),style:(0,i.default)((0,i.default)({},D),ne&&!Oe?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof de?de:void 0}},hidden:R,readOnly:F,onClear:B},m.createElement(g.default,(0,r.default)({},V,{autoSize:z,maxLength:x,onKeyDown:function(e){"Enter"===e.key&&$&&$(e),null==Q||Q(e)},onChange:function(e){ve(e,e.target.value)},onFocus:function(e){K(!0),null==b||b(e)},onBlur:function(e){K(!1),null==O||O(e)},onCompositionStart:function(e){J.current=!0,null==E||E(e)},onCompositionEnd:function(e){J.current=!1,ve(e,e.currentTarget.value),null==_||_(e)},className:u()(null==M?void 0:M.textarea),style:(0,i.default)((0,i.default)({},null==I?void 0:I.textarea),{},{resize:null==D?void 0:D.resize}),disabled:L,prefixCls:j,onResize:function(e){var t;null==N||N(e),null!==(t=ae())&&void 0!==t&&t.style.height&&re(!0)},ref:ie,readOnly:F})))}))},72801:(e,t,n)=>{"use strict";n.r(t),n.d(t,{calculateNodeStyling:()=>s,default:()=>l});var r,o="\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",i=["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"],a={};function s(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&&a[n])return a[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),s=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),l=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),c={sizingStyle:i.map((function(e){return"".concat(e,":").concat(r.getPropertyValue(e))})).join(";"),paddingSize:s,borderSize:l,boxSizing:o};return t&&n&&(a[n]=c),c}function l(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),r.setAttribute("name","hiddenTextarea"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var a=s(e,t),l=a.paddingSize,c=a.borderSize,u=a.boxSizing,f=a.sizingStyle;r.setAttribute("style","".concat(f,";").concat(o)),r.value=e.value||e.placeholder||"";var d,p=void 0,h=void 0,m=r.scrollHeight;if("border-box"===u?m+=c:"content-box"===u&&(m-=l),null!==n||null!==i){r.value=" ";var g=r.scrollHeight-l;null!==n&&(p=g*n,"border-box"===u&&(p=p+l+c),m=Math.max(p,m)),null!==i&&(h=g*i,"border-box"===u&&(h=h+l+c),d=m>h?"":"hidden",m=Math.min(h,m))}var y={height:m,overflowY:d,resize:"none"};return p&&(y.minHeight=p),h&&(y.maxHeight=h),y}},11682:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ResizableTextArea:()=>o.default,default:()=>i});var r=n(15953),o=n(94782);const i=r.default},50344:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(36198),o=n(11805);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(i(e)):(0,o.isFragment)(e)&&e.props?n=n.concat(i(e.props.children,t)):n.push(e))})),n}},98924:(e,t,n)=>{"use strict";function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.r(t),n.d(t,{default:()=>r})},94999:(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.r(t),n.d(t,{default:()=>r})},44958:(e,t,n)=>{"use strict";n.r(t),n.d(t,{clearContainerCache:()=>g,injectCSS:()=>p,removeCSS:()=>m,updateCSS:()=>y});var r=n(1413),o=n(98924),i=n(94999),a="data-rc-order",s="data-rc-priority",l="rc-util-key",c=new Map;function u(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):l}function f(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function d(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.default)())return null;var n=t.csp,r=t.prepend,i=t.priority,l=void 0===i?0:i,c=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r),u="prependQueue"===c,p=document.createElement("style");p.setAttribute(a,c),u&&l&&p.setAttribute(s,"".concat(l)),null!=n&&n.nonce&&(p.nonce=null==n?void 0:n.nonce),p.innerHTML=e;var h=f(t),m=h.firstChild;if(r){if(u){var g=(t.styles||d(h)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(a)))return!1;var t=Number(e.getAttribute(s)||0);return l>=t}));if(g.length)return h.insertBefore(p,g[g.length-1].nextSibling),p}h.insertBefore(p,m)}else h.appendChild(p);return p}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=f(t);return(t.styles||d(n)).find((function(n){return n.getAttribute(u(t))===e}))}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=h(e,t);n&&f(t).removeChild(n)}function g(){c.clear()}function y(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=f(n),a=d(o),s=(0,r.default)((0,r.default)({},n),{},{styles:a});!function(e,t){var n=c.get(e);if(!n||!(0,i.default)(document,n)){var r=p("",t),o=r.parentNode;c.set(e,o),e.removeChild(r)}}(o,s);var l=h(t,s);if(l){var m,g,y;if(null!==(m=s.csp)&&void 0!==m&&m.nonce&&l.nonce!==(null===(g=s.csp)||void 0===g?void 0:g.nonce))l.nonce=null===(y=s.csp)||void 0===y?void 0:y.nonce;return l.innerHTML!==e&&(l.innerHTML=e),l}var v=p(e,s);return v.setAttribute(u(s),t),v}},34203:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l,getDOM:()=>s,isDOM:()=>a});var r=n(71002),o=n(36198),i=n(18348);function a(e){return e instanceof HTMLElement||e instanceof SVGElement}function s(e){return e&&"object"===(0,r.default)(e)&&a(e.nativeElement)?e.nativeElement:a(e)?e:null}function l(e){var t,n=s(e);return n||(e instanceof o.Component?null===(t=i.findDOMNode)||void 0===t?void 0:t.call(i,e):null)}},5110:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const 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:(e,t,n)=>{"use strict";function r(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return r(e)instanceof ShadowRoot}function i(e){return o(e)?r(e):null}n.r(t),n.d(t,{getShadowRoot:()=>i,inShadow:()=>o})},15105:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>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)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-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}}};const o=r},38135:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{_r:()=>g,_u:()=>w,render:()=>y,unmount:()=>S});var o,i=n(74165),a=n(15861),s=n(71002),l=n(1413),c=n(18348),u=(0,l.default)({},r||(r=n.t(c,2))),f=u.version,d=u.render,p=u.unmountComponentAtNode;try{Number((f||"").split(".")[0])>=18&&(o=u.createRoot)}catch(e){}function h(e){var t=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,s.default)(t)&&(t.usingClientEntryPoint=e)}var m="__rc_react_root__";function g(e,t){0}function y(e,t){o?function(e,t){h(!0);var n=t[m]||o(t);h(!1),n.render(e),t[m]=n}(e,t):function(e,t){d(e,t)}(e,t)}function v(e){return b.apply(this,arguments)}function b(){return(b=(0,a.default)((0,i.default)().mark((function e(t){return(0,i.default)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[m])||void 0===e||e.unmount(),delete t[m]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){p(e)}function w(e){0}function S(e){return x.apply(this,arguments)}function x(){return(x=(0,a.default)((0,i.default)().mark((function e(t){return(0,i.default)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===o){e.next=2;break}return e.abrupt("return",v(t));case 2:O(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},66680:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(36198);function o(e){var t=r.useRef();t.current=e;var n=r.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o{"use strict";n.r(t),n.d(t,{default:()=>s,useLayoutUpdateEffect:()=>a});var r=n(36198),o=(0,n(98924).default)()?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)};const s=i},56982:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(36198);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:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(93324),o=n(66680),i=n(8410),a=n(30470);function s(e){return void 0!==e}function l(e,t){var n=t||{},l=n.defaultValue,c=n.value,u=n.onChange,f=n.postState,d=(0,a.default)((function(){return s(c)?c:s(l)?"function"==typeof l?l():l:"function"==typeof e?e():e})),p=(0,r.default)(d,2),h=p[0],m=p[1],g=void 0!==c?c:h,y=f?f(g):g,v=(0,o.default)(u),b=(0,a.default)([g]),O=(0,r.default)(b,2),w=O[0],S=O[1];return(0,i.useLayoutUpdateEffect)((function(){var e=w[0];h!==e&&v(h,e)}),[w]),(0,i.useLayoutUpdateEffect)((function(){s(c)||m(c)}),[c]),[y,(0,o.default)((function(e,t){m(e,t),S([g],t)}))]}},30470:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(93324),o=n(36198);function i(e){var t=o.useRef(!1),n=o.useState(e),i=(0,r.default)(n,2),a=i[0],s=i[1];return o.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[a,function(e,n){n&&t.current||s(e)}]}},61848:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(93324),o=n(36198),i=n(66680);function a(e){var t=o.useReducer((function(e){return e+1}),0),n=(0,r.default)(t,2)[1],a=o.useRef(e);return[(0,i.default)((function(){return a.current})),(0,i.default)((function(e){a.current="function"==typeof e?e(a.current):e,n()}))]}},56790:(e,t,n)=>{"use strict";n.r(t),n.d(t,{get:()=>a.default,set:()=>s.default,supportNodeRef:()=>i.supportNodeRef,supportRef:()=>i.supportRef,useComposeRef:()=>i.useComposeRef,useEvent:()=>r.default,useMergedState:()=>o.default,warning:()=>l.default});var r=n(66680),o=n(21770),i=n(42550),a=n(88306),s=n(8880),l=n(80334)},91881:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(71002),o=n(80334);const i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,l=i.has(t);if((0,o.default)(!l,"Warning: There may be circular references"),l)return!1;if(t===a)return!0;if(n&&s>1)return!1;i.add(t);var c=s+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var u=0;u{"use strict";function r(e,t){var n=Object.assign({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}n.r(t),n.d(t,{default:()=>r})},64217:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(1413),o="".concat("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"," ").concat("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").split(/[\s\n]+/),i="aria-",a="data-";function s(e,t){return 0===e.indexOf(t)}function l(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.default)({},n);var l={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||s(n,i))||t.data&&s(n,a)||t.attr&&o.includes(n))&&(l[n]=e[n])})),l}},75164:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>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 s(e){a.delete(e)}var l=function(e){var t=i+=1;return function n(o){if(0===o)s(t),e();else{var i=r((function(){n(o-1)}));a.set(t,i)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};l.cancel=function(e){var t=a.get(e);return s(e),o(t)};const c=l},42550:(e,t,n)=>{"use strict";n.r(t),n.d(t,{composeRef:()=>l,fillRef:()=>s,getNodeRef:()=>p,supportNodeRef:()=>d,supportRef:()=>u,useComposeRef:()=>c});var r=n(71002),o=n(36198),i=n(11805),a=n(56982),s=function(e,t){"function"==typeof e?e(t):"object"===(0,r.default)(e)&&e&&"current"in e&&(e.current=t)},l=function(){for(var e=arguments.length,t=new Array(e),n=0;n=19?function(e){return f(e)?e.props.ref:null}:function(e){return f(e)?e.ref:null}},88306:(e,t,n)=>{"use strict";function r(e,t){for(var n=e,r=0;rr})},8880:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c,merge:()=>d});var r=n(71002),o=n(1413),i=n(89062),a=n(84506),s=n(88306);function l(e,t,n,r){if(!t.length)return n;var s,c=(0,a.default)(t),u=c[0],f=c.slice(1);return s=e||"number"!=typeof u?Array.isArray(e)?(0,i.default)(e):(0,o.default)({},e):[],r&&void 0===n&&1===f.length?delete s[u][f[0]]:s[u]=l(s[u],f,n,r),s}function c(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!(0,s.default)(e,t.slice(0,-1))?e:l(e,t,n,r)}function u(e){return Array.isArray(e)?[]:{}}var f="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function d(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.r(t),n.d(t,{call:()=>c,default:()=>d,note:()=>s,noteOnce:()=>f,preMessage:()=>i,resetWarned:()=>l,warning:()=>a,warningOnce:()=>u});var r={},o=[],i=function(e){o.push(e)};function a(e,t){}function s(e,t){}function l(){r={}}function c(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function u(e,t){c(a,e,t)}function f(e,t){c(s,e,t)}u.preMessage=i,u.resetWarned=l,u.noteOnce=f;const d=u},51162:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case d:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case f:case m:case h:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=m,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=d,t.SuspenseList=p,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return y(e)===c},t.isContextProvider=function(e){return y(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return y(e)===f},t.isFragment=function(e){return y(e)===i},t.isLazy=function(e){return y(e)===m},t.isMemo=function(e){return y(e)===h},t.isPortal=function(e){return y(e)===o},t.isProfiler=function(e){return y(e)===s},t.isStrictMode=function(e){return y(e)===a},t.isSuspense=function(e){return y(e)===d},t.isSuspenseList=function(e){return y(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===s||e===a||e===d||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=y},11805:(e,t,n)=>{"use strict";e.exports=n(51162)},20745:(e,t,n)=>{"use strict";var r=n(18348);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},79655:(e,t,n)=>{"use strict";var r,o;n.r(t),n.d(t,{AbortedDeferredError:()=>s.AbortedDeferredError,Await:()=>s.Await,BrowserRouter:()=>I,Form:()=>V,HashRouter:()=>N,Link:()=>z,MemoryRouter:()=>s.MemoryRouter,NavLink:()=>Q,Navigate:()=>s.Navigate,NavigationType:()=>s.NavigationType,Outlet:()=>s.Outlet,Route:()=>s.Route,Router:()=>s.Router,RouterProvider:()=>L,Routes:()=>s.Routes,ScrollRestoration:()=>U,UNSAFE_DataRouterContext:()=>s.UNSAFE_DataRouterContext,UNSAFE_DataRouterStateContext:()=>s.UNSAFE_DataRouterStateContext,UNSAFE_ErrorResponseImpl:()=>l.UNSAFE_ErrorResponseImpl,UNSAFE_FetchersContext:()=>T,UNSAFE_LocationContext:()=>s.UNSAFE_LocationContext,UNSAFE_NavigationContext:()=>s.UNSAFE_NavigationContext,UNSAFE_RouteContext:()=>s.UNSAFE_RouteContext,UNSAFE_ViewTransitionContext:()=>P,UNSAFE_useRouteId:()=>s.UNSAFE_useRouteId,UNSAFE_useScrollRestoration:()=>ie,createBrowserRouter:()=>S,createHashRouter:()=>x,createMemoryRouter:()=>s.createMemoryRouter,createPath:()=>s.createPath,createRoutesFromChildren:()=>s.createRoutesFromChildren,createRoutesFromElements:()=>s.createRoutesFromElements,createSearchParams:()=>h,defer:()=>s.defer,generatePath:()=>s.generatePath,isRouteErrorResponse:()=>s.isRouteErrorResponse,json:()=>s.json,matchPath:()=>s.matchPath,matchRoutes:()=>s.matchRoutes,parsePath:()=>s.parsePath,redirect:()=>s.redirect,redirectDocument:()=>s.redirectDocument,renderMatches:()=>s.renderMatches,replace:()=>s.replace,resolvePath:()=>s.resolvePath,unstable_HistoryRouter:()=>B,unstable_usePrompt:()=>se,useActionData:()=>s.useActionData,useAsyncError:()=>s.useAsyncError,useAsyncValue:()=>s.useAsyncValue,useBeforeUnload:()=>ae,useBlocker:()=>s.useBlocker,useFetcher:()=>te,useFetchers:()=>ne,useFormAction:()=>ee,useHref:()=>s.useHref,useInRouterContext:()=>s.useInRouterContext,useLinkClickHandler:()=>X,useLoaderData:()=>s.useLoaderData,useLocation:()=>s.useLocation,useMatch:()=>s.useMatch,useMatches:()=>s.useMatches,useNavigate:()=>s.useNavigate,useNavigation:()=>s.useNavigation,useNavigationType:()=>s.useNavigationType,useOutlet:()=>s.useOutlet,useOutletContext:()=>s.useOutletContext,useParams:()=>s.useParams,useResolvedPath:()=>s.useResolvedPath,useRevalidator:()=>s.useRevalidator,useRouteError:()=>s.useRouteError,useRouteLoaderData:()=>s.useRouteLoaderData,useRoutes:()=>s.useRoutes,useSearchParams:()=>q,useSubmit:()=>J,useViewTransitionState:()=>le});var i=n(36198),a=n(18348),s=n(89250),l=n(12599);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}const f="get",d="application/x-www-form-urlencoded";function p(e){return null!=e&&"string"==typeof e.tagName}function h(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map((e=>[n,e])):[[n,r]])}),[]))}let m=null;const g=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function y(e){return null==e||g.has(e)?e:null}function v(e,t){let n,r,o,i,a;if(p(s=e)&&"form"===s.tagName.toLowerCase()){let a=e.getAttribute("action");r=a?(0,l.stripBasename)(a,t):null,n=e.getAttribute("method")||f,o=y(e.getAttribute("enctype"))||d,i=new FormData(e)}else if(function(e){return p(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return p(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let a=e.form;if(null==a)throw new Error('Cannot submit a