From 05d83bbdb3b1229d2139a05bd9f4d2259bf1f33c Mon Sep 17 00:00:00 2001 From: Editor Deployment Bot Date: Wed, 10 Jul 2024 12:12:04 +0000 Subject: [PATCH] Build 1419/2024-07-10_12-10-53/ --- .../assets/am-ET-B_KBN2vA.js | 10 + .../assets/cs-CZ-B_KBN2vA.js | 10 + .../assets/de-DE-DmeB9FxL.js | 10 + .../assets/el-GR-DmHsqO9T.js | 10 + .../assets/en-US-B_KBN2vA.js | 10 + .../assets/es-ES-kcISavJX.js | 10 + .../assets/fr-FR-C_TZ4bfC.js | 10 + .../assets/index-BKNHBDGD.css | 1 + .../assets/index-DT3fEJlv.js | 417 ++++++++++++++++++ .../assets/nl-NL-WSeTOK5r.js | 10 + ...ex-cyrillic-ext-wght-normal-DRTNI9VV.woff2 | Bin 0 -> 10368 bytes ...o-flex-cyrillic-wght-normal-C9LxQtoz.woff2 | Bin 0 -> 15528 bytes ...boto-flex-greek-wght-normal-DeN4rzfy.woff2 | Bin 0 -> 11436 bytes ...-flex-latin-ext-wght-normal-DdIPVSJ2.woff2 | Bin 0 -> 23236 bytes ...boto-flex-latin-wght-normal-C2pcyVKb.woff2 | Bin 0 -> 34412 bytes ...flex-vietnamese-wght-normal-Dfb42xSH.woff2 | Bin 0 -> 9828 bytes .../assets/zh-CN-D6wqM52I.js | 10 + .../assets/zh-TW-B7M4_oUs.js | 9 + 1419/2024-07-10_12-10-53/editor-settings.toml | 48 ++ 1419/2024-07-10_12-10-53/favicon.ico | Bin 0 -> 5430 bytes 1419/2024-07-10_12-10-53/index.html | 66 +++ 1419/2024-07-10_12-10-53/manifest.json | 15 + 1419/2024-07-10_12-10-53/opencast-editor.svg | 55 +++ 1419/2024-07-10_12-10-53/robots.txt | 3 + index.html | 1 + 25 files changed, 705 insertions(+) create mode 100644 1419/2024-07-10_12-10-53/assets/am-ET-B_KBN2vA.js create mode 100644 1419/2024-07-10_12-10-53/assets/cs-CZ-B_KBN2vA.js create mode 100644 1419/2024-07-10_12-10-53/assets/de-DE-DmeB9FxL.js create mode 100644 1419/2024-07-10_12-10-53/assets/el-GR-DmHsqO9T.js create mode 100644 1419/2024-07-10_12-10-53/assets/en-US-B_KBN2vA.js create mode 100644 1419/2024-07-10_12-10-53/assets/es-ES-kcISavJX.js create mode 100644 1419/2024-07-10_12-10-53/assets/fr-FR-C_TZ4bfC.js create mode 100644 1419/2024-07-10_12-10-53/assets/index-BKNHBDGD.css create mode 100644 1419/2024-07-10_12-10-53/assets/index-DT3fEJlv.js create mode 100644 1419/2024-07-10_12-10-53/assets/nl-NL-WSeTOK5r.js create mode 100644 1419/2024-07-10_12-10-53/assets/roboto-flex-cyrillic-ext-wght-normal-DRTNI9VV.woff2 create mode 100644 1419/2024-07-10_12-10-53/assets/roboto-flex-cyrillic-wght-normal-C9LxQtoz.woff2 create mode 100644 1419/2024-07-10_12-10-53/assets/roboto-flex-greek-wght-normal-DeN4rzfy.woff2 create mode 100644 1419/2024-07-10_12-10-53/assets/roboto-flex-latin-ext-wght-normal-DdIPVSJ2.woff2 create mode 100644 1419/2024-07-10_12-10-53/assets/roboto-flex-latin-wght-normal-C2pcyVKb.woff2 create mode 100644 1419/2024-07-10_12-10-53/assets/roboto-flex-vietnamese-wght-normal-Dfb42xSH.woff2 create mode 100644 1419/2024-07-10_12-10-53/assets/zh-CN-D6wqM52I.js create mode 100644 1419/2024-07-10_12-10-53/assets/zh-TW-B7M4_oUs.js create mode 100644 1419/2024-07-10_12-10-53/editor-settings.toml create mode 100644 1419/2024-07-10_12-10-53/favicon.ico create mode 100644 1419/2024-07-10_12-10-53/index.html create mode 100644 1419/2024-07-10_12-10-53/manifest.json create mode 100644 1419/2024-07-10_12-10-53/opencast-editor.svg create mode 100644 1419/2024-07-10_12-10-53/robots.txt diff --git a/1419/2024-07-10_12-10-53/assets/am-ET-B_KBN2vA.js b/1419/2024-07-10_12-10-53/assets/am-ET-B_KBN2vA.js new file mode 100644 index 00000000..2f5b4663 --- /dev/null +++ b/1419/2024-07-10_12-10-53/assets/am-ET-B_KBN2vA.js @@ -0,0 +1,10 @@ +const e={"cutting-button":"Cutting","finish-button":"Finish","select-tracks-button":"Tracks","subtitles-button":"Subtitles","thumbnail-button":"Thumbnail","metadata-button":"Metadata","keyboard-controls-button":"Keyboard Controls","tooltip-aria":"Main Navigation"},t={"cut-button":"Cut","cut-tooltip":"Split the segment at the current timeline marker position. Hotkey: {{hotkeyName}}","cut-tooltip-aria":"Cut. Split the segment at the current timeline marker position. Hotkey: {{hotkeyName}}.","delete-button":"Delete","delete-restore-tooltip":"Mark or unmark the segment at the current position as to be deleted. Hotkey: {{hotkeyName}}","delete-restore-tooltip-aria":"Delete and Restore. Mark or unmark the segment at the current position as to be deleted. Hotkey: {{hotkeyName}}.","merge-all-button":"Merge All","merge-all-tooltip":"Combine all segments into a single segment.","merge-all-tooltip-aria":"Merge All. Combine all segments into a single segment.","restore-button":"Restore","mergeLeft-button":"Merge Left","mergeLeft-tooltip":"Combine the currently active segment with the segment to its left. Hotkey: {{hotkeyName}}","mergeLeft-tooltip-aria":"Merge Left. Combine the currently active segment with the segment to its left. Hotkey: {{hotkeyName}}.","mergeRight-button":"Merge Right","mergeRight-tooltip":"Combine the currently active segment with the segment to its right. Hotkey: {{hotkeyName}}","mergeRight-tooltip-aria":"Merge Right. Combine the currently active segment with the segment to its right. Hotkey: {{hotkeyName}}.",zoom:"Zoom","zoomSlider-aria":"Zoom. Zoom in or out of the timeline. Hotkey for Zoom in: {{hotkeyNameIn}}. Hotkey for Zoom out: {{hotkeyNameOut}}.","zoomSlider-tooltip":"Zoom in or out of the timeline. Hotkey for Zoom in: {{hotkeyNameIn}}. Hotkey for Zoom out: {{hotkeyNameOut}}.",zoomIn:"Zoom in",zoomOut:"Zoom out"},o={previewButton:"Preview Mode","previewButton-tooltip":"Skips deleted segments when playing the video. Currently {{status}}. Hotkey: {{hotkeyName}}","previewButton-aria":"Enable or disable preview mode. Hotkey: {{hotkeyName}}.","playButton-tooltip":"Play video","pauseButton-tooltip":"Pause video",previousButton:"Back","previousButton-tooltip":"Back. Hotkey: {{hotkeyName}}.",nextButton:"Forward","nextButton-tooltip":"Forward. Hotkey: {{hotkeyName}}.","current-time-tooltip":"Current time","time-duration-tooltip":"Video duration","duration-aria":"Duration","time-aria":"Current time","mutebutton-tooltip":"Mute video","unmutebutton-tooltip":"Unmute video","volume-tooltip":"Adjust volume: {{current}}%","volumeSlider-aria":"Adjust the volume level of the video.","comError-text":"A problem occurred during communication with Opencast.","loadError-text":"An error has occurred loading this video.","durationError-text":"Opencast failed to provide the video duration.","title-tooltip":"Video Title","presenter-tooltip":"Video Presenters"},i={"save-button":"Save changes","start-button":"Save and process changes","discard-button":"Discard changes"},a={"headline-text":"Save current project","confirm-button":"Yes, save changes","confirmButton-attempting-tooltip":"Attempting to save","confirmButton-success-tooltip":"Saved successfully","confirmButton-failed-tooltip":"Save failed","info-text":"The video will not be processed but all cutting information will be stored in Opencast. You can continue your edit later.","success-text":"Changes saved successfully! You can now close the editor or continue working.","success-tooltip-aria":"Saved successfully","saveArea-tooltip":"Save Area","confirm-success":"Okay","cancel-save":"Don't save"},n={"headline-text":"Discard changes","confirm-button":"Yes, discard changes","info-text":"Are you sure you want to discard your changes? This cannot be undone!"},r={"discarded-text":"Your changes have been discarded. You can now close the editor.","startOver-button":"Let me start over!","startOver-tooltip":"Reload the page to start over","info-text":`Changes successfully saved to Opencast. Processing your changes may take quite some time so please be patient. You can now close the editor. +`},s={"saveAndProcess-text":"Save and Process","selectWF-text":"Select a workflow","noWorkflows-text":`There are no workflows to process your changes with. Please save your changes and contact an administrator. +`,"oneWorkflow-text":`The changes will be saved and the video will be cut and processed with the workflow "{{workflow}}". <3/> This will take some time. +`,"manyWorkflows-text":"Select which workflow Opencast should use for processing.","startProcessing-button":"Start processing","back-button":"Take me back","selectWF-button":"Click to select this workflow","selectWF-button-aria":`Press to select the workflow: {{stateName}} +`},l={"generateWaveform-text":"Generating Waveform","segment-tooltip":"Segment {{segment}}","scrubber-text-aria":`Timeline marker. {{currentTime}}. Active segment: {{segment}}. {{segmentStatus}}. Controls: {{moveLeft}} and {{moveRight}} to move the timeline marker. {{increase}} and {{decrease}} to increase/decrease the move delta. +`,"segments-text-aria":`Segment {{index}}. {{segmentStatus}}. Start: {{start}}. End: {{end}}. +`,"cut-text-aria":`Cut marker. {{time}}. Between segment {{leftSegment}} and {{rightSegment}}. +`},u={"headline-text":"Workflow Configuration","satisfied-text":"Satisfied with your configuration?","confirm-button":"Yes, start processing"},c={"EVENTS-EVENTS-DETAILS-CATALOG-EPISODE":"Episode Metadata","submit-button":"Submit","submit-button-tooltip":"Confirm your changes","reset-button":"Reset","reset-button-tooltip":"Undo all your changes","submit-helpertext":`Make changes as you like, then hit the {{buttonName}} button. +Note that you will still have to start processing for your changes to take effect.`,validation:{required:"Required","duration-format":"Format must be HH:MM:SS",datetime:"Invalid"},labels:{title:"Title",subject:"Subject",description:"Description",language:"Language",rightsHolder:"Rights",license:"License",isPartOf:"Series",creator:"Presenter(s)",contributor:"Contributor(s)",startDate:"Start date",duration:"Duration",location:"Location",source:"Source",created:"Created",publisher:"Publisher",identifier:"UID"},language:{"LANGUAGES-SLOVENIAN":"Slovenian","LANGUAGES-PORTUGESE":"Portuguese","LANGUAGES-ROMANSH":"Romansh","LANGUAGES-ARABIC":"Arabic","LANGUAGES-POLISH":"Polish","LANGUAGES-ITALIAN":"Italian","LANGUAGES-CHINESE":"Chinese","LANGUAGES-FINNISH":"Finnish","LANGUAGES-DANISH":"Danish","LANGUAGES-UKRAINIAN":"Ukrainian","LANGUAGES-FRENCH":"French","LANGUAGES-SPANISH":"Spanish","LANGUAGES-GERMAN_CH":"Swiss German","LANGUAGES-NORWEGIAN":"Norwegian","LANGUAGES-RUSSIAN":"Russian","LANGUAGES-JAPANESE":"Japanese","LANGUAGES-DUTCH":"Dutch","LANGUAGES-TURKISH":"Turkish","LANGUAGES-HINDI":"Hindi","LANGUAGES-SWEDISH":"Swedish","LANGUAGES-ENGLISH":"English","LANGUAGES-GERMAN":"German"},license:{"EVENTS-LICENSE-CC0":"CC0","EVENTS-LICENSE-CCBYND":"CC-BY-ND","EVENTS-LICENSE-CCBYNCND":"CC-BY-NC-ND","EVENTS-LICENSE-CCBYNCSA":"CC-BY-NC-SA","EVENTS-LICENSE-ALLRIGHTS":"All rights reserved","EVENTS-LICENSE-CCBYSA":"CC-BY-SA","EVENTS-LICENSE-CCBYNC":"CC-BY-NC","EVENTS-LICENSE-CCBY":"CC-BY"},"calendar-prev":"Previous","calendar-next":"Next"},d={title:"Thumbnail Editor",noThumbnailAvailable:"No Thumbnail available",previewImageAlt:"Thumbnail for track",buttonGenerate:"Generate","buttonGenerate-tooltip":"Generate a new thumbnail from the current timeline marker position","buttonGenerate-tooltip-aria":"Generate a new thumbnail from the current timeline marker position",buttonUpload:"Upload","buttonUpload-tooltip":"Upload an image","buttonUpload-tooltip-aria":"Upload an image",buttonUseForOtherThumbnails:"Use for all tracks","buttonUseForOtherThumbnails-tooltip":"Use the thumbnail for all tracks","buttonUseForOtherThumbnails-tooltip-aria":"Use the thumbnail for all tracks",buttonDiscard:"Discard","buttonDiscard-tooltip":"Discard the thumbnail for this track","buttonDiscard-tooltip-aria":"Discard the thumbnail for this track",buttonGenerateAll:"Generate All","buttonGenerateAll-tooltip":"Generate new thumbnails for all tracks from the current timeline marker position","buttonGenerateAll-tooltip-aria":"Generate new thumbnails for all tracks from the current timeline marker position",explanation:"Upload or generate a thumbnail for each track.",primary:"Primary",secondary:"Secondary"},m={rowTitle:"Change thumbnail here",from:"from"},h={"generic-message":"A critical error has occurred!",details:"Details: ","workflowActive-errorTitle":"Temporarily unavailable","workflowActive-errorMessage":"This event is being processed. Please wait until the process is finished."},g={"main-heading":"Welcome to the Video Editor","contact-admin":"If you were trying to edit a specific video but are seeing this page, please contact your administrator.","start-editing-1":"To start editing, specify the parameter ","start-editing-2":" with the media package id of the video you wish to edit.","link-to-documentation":"More information about configuring the video editor is available in the administration guide at "},b={"error-details-text":`Details: {{errorMessage}} +`,"error-text":"An error has occurred. Please wait a bit and try again.","goBack-button":"No, take me back","callback-button-system":"Back to {{system}}","callback-button-generic":"Back to previous system"},p={title:"Select track(s) for processing",trackInactive:"inactive",deleteTrackText:"Delete Track",restoreTrackText:"Restore Track",cannotDeleteTrackText:"Cannot Delete Track",deleteTrackTooltip:"Do not encode and publish this track.",restoreTrackTooltip:"Encode and publish this track.",cannotDeleteTrackTooltip:"Cannot remove this track from publication."},S={"selectSubtitleButton-tooltip":"Edit subtitles for {{title}}","selectSubtitleButton-tooltip-aria":"Select {{title}} for subtitle editing","createSubtitleButton-tooltip":"Opens a dialog for creating/uploading new subtitles","createSubtitleButton-clicked-tooltip-aria":"Contains a dialog for creating new subtitles","createSubtitleButton-createButton":"Create","createSubtitleButton-createButton-tooltip":"Start a new subtitle file with the chosen title.","createSubtitleButton-createButton-disabled-tooltip":"Please pick a language from the dropdown above.","createSubtitleDropdown-label":"Pick a language",backButton:"Back","backButton-tooltip":"Return to subtitle selection","downloadButton-title":"Download","downloadButton-tooltip":"Download subtitle as vtt file","uploadButton-title":"Upload","uploadButton-tooltip":"Upload subtitle as vtt file","uploadButton-warning-header":"Caution!","uploadButton-warning":"Uploading will overwrite the current subtitle. This cannot be undone. Are you sure?","uploadButton-error":"Upload failed.","uploadButton-error-filetype":"Wrong file type.","uploadButton-error-parse":"Could not parse subtitle file. Please ensure that the file contains valid WebVTT.",editTitle:"Subtitle Editor - {{title}}","editTitle-loading":"Loading",generic:"Generic",autoGenerated:"Auto-generated"},k={"startTime-tooltip":"Beginning of the segment","startTime-tooltip-aria":"Beginning at","endTime-tooltip":"End of the segment","endTime-tooltip-aria":"Ending at",addSegmentAbove:"Add segment above",addSegmentBelow:"Add segment below",jumpToSegmentAbove:"Jump to segment above",jumpToSegmentBelow:"Jump to segment below",deleteSegment:"Delete segment"},f={selectVideoLabel:"Video Flavors"},v={overviewTimelineTooltip:"Timeline overview"},A={header:"Shortcuts",defaultGroupName:"General",missingLabel:"Unknown",groupVideoPlayer:"Video Player",groupCuttingView:"Cutting",groupCuttingViewScrubber:"Timeline",groupSubtitleList:"Subtitles",sequenceSeparator:"or",genericError:"Failed to load overview",videoPlayButton:"Play/Pause Video",scrubberLeft:"Move left",scrubberRight:"Move right",scrubberIncrease:"Move faster",scrubberDecrease:"Move slower"},w={appearance:"Appearance",dark:"Dark",light:"Light",auto:"Auto","dark-high-contrast":"Dark (High contrast)","light-high-contrast":"Light (High contrast)"},N={language:"Language"},E={areYouSure:"Are you sure?",cancel:"Cancel",close:"Close",confirm:"Confirm"},C={mainMenu:e,cuttingActions:t,video:o,finishMenu:i,save:a,discard:n,theEnd:r,workflowSelection:s,timeline:l,workflowConfig:u,metadata:c,thumbnail:d,thumbnailSimple:m,error:h,landing:g,various:b,trackSelection:p,subtitles:S,subtitleList:k,subtitleVideoArea:f,subtitleTimeline:v,keyboardControls:A,theme:w,language:N,modal:E};export{t as cuttingActions,C as default,n as discard,h as error,i as finishMenu,A as keyboardControls,g as landing,N as language,e as mainMenu,c as metadata,E as modal,a as save,k as subtitleList,v as subtitleTimeline,f as subtitleVideoArea,S as subtitles,r as theEnd,w as theme,d as thumbnail,m as thumbnailSimple,l as timeline,p as trackSelection,b as various,o as video,u as workflowConfig,s as workflowSelection}; diff --git a/1419/2024-07-10_12-10-53/assets/cs-CZ-B_KBN2vA.js b/1419/2024-07-10_12-10-53/assets/cs-CZ-B_KBN2vA.js new file mode 100644 index 00000000..2f5b4663 --- /dev/null +++ b/1419/2024-07-10_12-10-53/assets/cs-CZ-B_KBN2vA.js @@ -0,0 +1,10 @@ +const e={"cutting-button":"Cutting","finish-button":"Finish","select-tracks-button":"Tracks","subtitles-button":"Subtitles","thumbnail-button":"Thumbnail","metadata-button":"Metadata","keyboard-controls-button":"Keyboard Controls","tooltip-aria":"Main Navigation"},t={"cut-button":"Cut","cut-tooltip":"Split the segment at the current timeline marker position. Hotkey: {{hotkeyName}}","cut-tooltip-aria":"Cut. Split the segment at the current timeline marker position. Hotkey: {{hotkeyName}}.","delete-button":"Delete","delete-restore-tooltip":"Mark or unmark the segment at the current position as to be deleted. Hotkey: {{hotkeyName}}","delete-restore-tooltip-aria":"Delete and Restore. Mark or unmark the segment at the current position as to be deleted. Hotkey: {{hotkeyName}}.","merge-all-button":"Merge All","merge-all-tooltip":"Combine all segments into a single segment.","merge-all-tooltip-aria":"Merge All. Combine all segments into a single segment.","restore-button":"Restore","mergeLeft-button":"Merge Left","mergeLeft-tooltip":"Combine the currently active segment with the segment to its left. Hotkey: {{hotkeyName}}","mergeLeft-tooltip-aria":"Merge Left. Combine the currently active segment with the segment to its left. Hotkey: {{hotkeyName}}.","mergeRight-button":"Merge Right","mergeRight-tooltip":"Combine the currently active segment with the segment to its right. Hotkey: {{hotkeyName}}","mergeRight-tooltip-aria":"Merge Right. Combine the currently active segment with the segment to its right. Hotkey: {{hotkeyName}}.",zoom:"Zoom","zoomSlider-aria":"Zoom. Zoom in or out of the timeline. Hotkey for Zoom in: {{hotkeyNameIn}}. Hotkey for Zoom out: {{hotkeyNameOut}}.","zoomSlider-tooltip":"Zoom in or out of the timeline. Hotkey for Zoom in: {{hotkeyNameIn}}. Hotkey for Zoom out: {{hotkeyNameOut}}.",zoomIn:"Zoom in",zoomOut:"Zoom out"},o={previewButton:"Preview Mode","previewButton-tooltip":"Skips deleted segments when playing the video. Currently {{status}}. Hotkey: {{hotkeyName}}","previewButton-aria":"Enable or disable preview mode. Hotkey: {{hotkeyName}}.","playButton-tooltip":"Play video","pauseButton-tooltip":"Pause video",previousButton:"Back","previousButton-tooltip":"Back. Hotkey: {{hotkeyName}}.",nextButton:"Forward","nextButton-tooltip":"Forward. Hotkey: {{hotkeyName}}.","current-time-tooltip":"Current time","time-duration-tooltip":"Video duration","duration-aria":"Duration","time-aria":"Current time","mutebutton-tooltip":"Mute video","unmutebutton-tooltip":"Unmute video","volume-tooltip":"Adjust volume: {{current}}%","volumeSlider-aria":"Adjust the volume level of the video.","comError-text":"A problem occurred during communication with Opencast.","loadError-text":"An error has occurred loading this video.","durationError-text":"Opencast failed to provide the video duration.","title-tooltip":"Video Title","presenter-tooltip":"Video Presenters"},i={"save-button":"Save changes","start-button":"Save and process changes","discard-button":"Discard changes"},a={"headline-text":"Save current project","confirm-button":"Yes, save changes","confirmButton-attempting-tooltip":"Attempting to save","confirmButton-success-tooltip":"Saved successfully","confirmButton-failed-tooltip":"Save failed","info-text":"The video will not be processed but all cutting information will be stored in Opencast. You can continue your edit later.","success-text":"Changes saved successfully! You can now close the editor or continue working.","success-tooltip-aria":"Saved successfully","saveArea-tooltip":"Save Area","confirm-success":"Okay","cancel-save":"Don't save"},n={"headline-text":"Discard changes","confirm-button":"Yes, discard changes","info-text":"Are you sure you want to discard your changes? This cannot be undone!"},r={"discarded-text":"Your changes have been discarded. You can now close the editor.","startOver-button":"Let me start over!","startOver-tooltip":"Reload the page to start over","info-text":`Changes successfully saved to Opencast. Processing your changes may take quite some time so please be patient. You can now close the editor. +`},s={"saveAndProcess-text":"Save and Process","selectWF-text":"Select a workflow","noWorkflows-text":`There are no workflows to process your changes with. Please save your changes and contact an administrator. +`,"oneWorkflow-text":`The changes will be saved and the video will be cut and processed with the workflow "{{workflow}}". <3/> This will take some time. +`,"manyWorkflows-text":"Select which workflow Opencast should use for processing.","startProcessing-button":"Start processing","back-button":"Take me back","selectWF-button":"Click to select this workflow","selectWF-button-aria":`Press to select the workflow: {{stateName}} +`},l={"generateWaveform-text":"Generating Waveform","segment-tooltip":"Segment {{segment}}","scrubber-text-aria":`Timeline marker. {{currentTime}}. Active segment: {{segment}}. {{segmentStatus}}. Controls: {{moveLeft}} and {{moveRight}} to move the timeline marker. {{increase}} and {{decrease}} to increase/decrease the move delta. +`,"segments-text-aria":`Segment {{index}}. {{segmentStatus}}. Start: {{start}}. End: {{end}}. +`,"cut-text-aria":`Cut marker. {{time}}. Between segment {{leftSegment}} and {{rightSegment}}. +`},u={"headline-text":"Workflow Configuration","satisfied-text":"Satisfied with your configuration?","confirm-button":"Yes, start processing"},c={"EVENTS-EVENTS-DETAILS-CATALOG-EPISODE":"Episode Metadata","submit-button":"Submit","submit-button-tooltip":"Confirm your changes","reset-button":"Reset","reset-button-tooltip":"Undo all your changes","submit-helpertext":`Make changes as you like, then hit the {{buttonName}} button. +Note that you will still have to start processing for your changes to take effect.`,validation:{required:"Required","duration-format":"Format must be HH:MM:SS",datetime:"Invalid"},labels:{title:"Title",subject:"Subject",description:"Description",language:"Language",rightsHolder:"Rights",license:"License",isPartOf:"Series",creator:"Presenter(s)",contributor:"Contributor(s)",startDate:"Start date",duration:"Duration",location:"Location",source:"Source",created:"Created",publisher:"Publisher",identifier:"UID"},language:{"LANGUAGES-SLOVENIAN":"Slovenian","LANGUAGES-PORTUGESE":"Portuguese","LANGUAGES-ROMANSH":"Romansh","LANGUAGES-ARABIC":"Arabic","LANGUAGES-POLISH":"Polish","LANGUAGES-ITALIAN":"Italian","LANGUAGES-CHINESE":"Chinese","LANGUAGES-FINNISH":"Finnish","LANGUAGES-DANISH":"Danish","LANGUAGES-UKRAINIAN":"Ukrainian","LANGUAGES-FRENCH":"French","LANGUAGES-SPANISH":"Spanish","LANGUAGES-GERMAN_CH":"Swiss German","LANGUAGES-NORWEGIAN":"Norwegian","LANGUAGES-RUSSIAN":"Russian","LANGUAGES-JAPANESE":"Japanese","LANGUAGES-DUTCH":"Dutch","LANGUAGES-TURKISH":"Turkish","LANGUAGES-HINDI":"Hindi","LANGUAGES-SWEDISH":"Swedish","LANGUAGES-ENGLISH":"English","LANGUAGES-GERMAN":"German"},license:{"EVENTS-LICENSE-CC0":"CC0","EVENTS-LICENSE-CCBYND":"CC-BY-ND","EVENTS-LICENSE-CCBYNCND":"CC-BY-NC-ND","EVENTS-LICENSE-CCBYNCSA":"CC-BY-NC-SA","EVENTS-LICENSE-ALLRIGHTS":"All rights reserved","EVENTS-LICENSE-CCBYSA":"CC-BY-SA","EVENTS-LICENSE-CCBYNC":"CC-BY-NC","EVENTS-LICENSE-CCBY":"CC-BY"},"calendar-prev":"Previous","calendar-next":"Next"},d={title:"Thumbnail Editor",noThumbnailAvailable:"No Thumbnail available",previewImageAlt:"Thumbnail for track",buttonGenerate:"Generate","buttonGenerate-tooltip":"Generate a new thumbnail from the current timeline marker position","buttonGenerate-tooltip-aria":"Generate a new thumbnail from the current timeline marker position",buttonUpload:"Upload","buttonUpload-tooltip":"Upload an image","buttonUpload-tooltip-aria":"Upload an image",buttonUseForOtherThumbnails:"Use for all tracks","buttonUseForOtherThumbnails-tooltip":"Use the thumbnail for all tracks","buttonUseForOtherThumbnails-tooltip-aria":"Use the thumbnail for all tracks",buttonDiscard:"Discard","buttonDiscard-tooltip":"Discard the thumbnail for this track","buttonDiscard-tooltip-aria":"Discard the thumbnail for this track",buttonGenerateAll:"Generate All","buttonGenerateAll-tooltip":"Generate new thumbnails for all tracks from the current timeline marker position","buttonGenerateAll-tooltip-aria":"Generate new thumbnails for all tracks from the current timeline marker position",explanation:"Upload or generate a thumbnail for each track.",primary:"Primary",secondary:"Secondary"},m={rowTitle:"Change thumbnail here",from:"from"},h={"generic-message":"A critical error has occurred!",details:"Details: ","workflowActive-errorTitle":"Temporarily unavailable","workflowActive-errorMessage":"This event is being processed. Please wait until the process is finished."},g={"main-heading":"Welcome to the Video Editor","contact-admin":"If you were trying to edit a specific video but are seeing this page, please contact your administrator.","start-editing-1":"To start editing, specify the parameter ","start-editing-2":" with the media package id of the video you wish to edit.","link-to-documentation":"More information about configuring the video editor is available in the administration guide at "},b={"error-details-text":`Details: {{errorMessage}} +`,"error-text":"An error has occurred. Please wait a bit and try again.","goBack-button":"No, take me back","callback-button-system":"Back to {{system}}","callback-button-generic":"Back to previous system"},p={title:"Select track(s) for processing",trackInactive:"inactive",deleteTrackText:"Delete Track",restoreTrackText:"Restore Track",cannotDeleteTrackText:"Cannot Delete Track",deleteTrackTooltip:"Do not encode and publish this track.",restoreTrackTooltip:"Encode and publish this track.",cannotDeleteTrackTooltip:"Cannot remove this track from publication."},S={"selectSubtitleButton-tooltip":"Edit subtitles for {{title}}","selectSubtitleButton-tooltip-aria":"Select {{title}} for subtitle editing","createSubtitleButton-tooltip":"Opens a dialog for creating/uploading new subtitles","createSubtitleButton-clicked-tooltip-aria":"Contains a dialog for creating new subtitles","createSubtitleButton-createButton":"Create","createSubtitleButton-createButton-tooltip":"Start a new subtitle file with the chosen title.","createSubtitleButton-createButton-disabled-tooltip":"Please pick a language from the dropdown above.","createSubtitleDropdown-label":"Pick a language",backButton:"Back","backButton-tooltip":"Return to subtitle selection","downloadButton-title":"Download","downloadButton-tooltip":"Download subtitle as vtt file","uploadButton-title":"Upload","uploadButton-tooltip":"Upload subtitle as vtt file","uploadButton-warning-header":"Caution!","uploadButton-warning":"Uploading will overwrite the current subtitle. This cannot be undone. Are you sure?","uploadButton-error":"Upload failed.","uploadButton-error-filetype":"Wrong file type.","uploadButton-error-parse":"Could not parse subtitle file. Please ensure that the file contains valid WebVTT.",editTitle:"Subtitle Editor - {{title}}","editTitle-loading":"Loading",generic:"Generic",autoGenerated:"Auto-generated"},k={"startTime-tooltip":"Beginning of the segment","startTime-tooltip-aria":"Beginning at","endTime-tooltip":"End of the segment","endTime-tooltip-aria":"Ending at",addSegmentAbove:"Add segment above",addSegmentBelow:"Add segment below",jumpToSegmentAbove:"Jump to segment above",jumpToSegmentBelow:"Jump to segment below",deleteSegment:"Delete segment"},f={selectVideoLabel:"Video Flavors"},v={overviewTimelineTooltip:"Timeline overview"},A={header:"Shortcuts",defaultGroupName:"General",missingLabel:"Unknown",groupVideoPlayer:"Video Player",groupCuttingView:"Cutting",groupCuttingViewScrubber:"Timeline",groupSubtitleList:"Subtitles",sequenceSeparator:"or",genericError:"Failed to load overview",videoPlayButton:"Play/Pause Video",scrubberLeft:"Move left",scrubberRight:"Move right",scrubberIncrease:"Move faster",scrubberDecrease:"Move slower"},w={appearance:"Appearance",dark:"Dark",light:"Light",auto:"Auto","dark-high-contrast":"Dark (High contrast)","light-high-contrast":"Light (High contrast)"},N={language:"Language"},E={areYouSure:"Are you sure?",cancel:"Cancel",close:"Close",confirm:"Confirm"},C={mainMenu:e,cuttingActions:t,video:o,finishMenu:i,save:a,discard:n,theEnd:r,workflowSelection:s,timeline:l,workflowConfig:u,metadata:c,thumbnail:d,thumbnailSimple:m,error:h,landing:g,various:b,trackSelection:p,subtitles:S,subtitleList:k,subtitleVideoArea:f,subtitleTimeline:v,keyboardControls:A,theme:w,language:N,modal:E};export{t as cuttingActions,C as default,n as discard,h as error,i as finishMenu,A as keyboardControls,g as landing,N as language,e as mainMenu,c as metadata,E as modal,a as save,k as subtitleList,v as subtitleTimeline,f as subtitleVideoArea,S as subtitles,r as theEnd,w as theme,d as thumbnail,m as thumbnailSimple,l as timeline,p as trackSelection,b as various,o as video,u as workflowConfig,s as workflowSelection}; diff --git a/1419/2024-07-10_12-10-53/assets/de-DE-DmeB9FxL.js b/1419/2024-07-10_12-10-53/assets/de-DE-DmeB9FxL.js new file mode 100644 index 00000000..d01e52fa --- /dev/null +++ b/1419/2024-07-10_12-10-53/assets/de-DE-DmeB9FxL.js @@ -0,0 +1,10 @@ +const e={"cutting-button":"Schneiden","finish-button":"Fertigstellen","select-tracks-button":"Spuren","subtitles-button":"Untertitel","thumbnail-button":"Vorschaubild","metadata-button":"Metadaten","keyboard-controls-button":"Tastatursteuerung","tooltip-aria":"Hauptnavigation"},t={"cut-button":"Schneiden","cut-tooltip":"Segment an der aktuellen Position der Zeitleiste teilen. Hotkey: {{hotkeyName}}","cut-tooltip-aria":"Schneiden. Teilt das Segment an der aktuellen Position des Zeitmarkers. Hotkey: {{hotkeyName}}.","delete-button":"Löschen","delete-restore-tooltip":"Markieren oder entfernen Sie das Segment an der aktuellen Position zur Löschung. Hotkey: {{hotkeyName}}","delete-restore-tooltip-aria":"Delete and Restore. Mark or unmark the segment at the current position as to be deleted. Hotkey: {{hotkeyName}}.","merge-all-button":"Alle zusammenführen","merge-all-tooltip":"Alle Segmente in ein einziges Segment zusammenführen.","merge-all-tooltip-aria":"Alle Segmente in ein einziges Segment zusammenführen.","restore-button":"Wiederherstellen","mergeLeft-button":"Links zusammenfügen","mergeLeft-tooltip":"Verbinde das aktuell aktive Segment mit dem Segment auf der linken Seite. Hotkey: {{hotkeyName}}","mergeLeft-tooltip-aria":"Links zusammenfügen. Verbinden Sie das aktuell aktive Segment mit dem Segment auf der linken Seite. Hotkey: {{hotkeyName}}.","mergeRight-button":"Rechts zusammenfügen","mergeRight-tooltip":"Verbinde das aktuell aktive Segment mit dem Segment auf der rechten Seite. Hotkey: {{hotkeyName}}","mergeRight-tooltip-aria":"Rechts zusammenfügen. Verbinden Sie das aktuell aktive Segment mit dem Segment auf der rechten Seite. Hotkey: {{hotkeyName}}.",zoom:"Zoom","zoomSlider-aria":"Zoomen. Zoome in die Zeitleiste herein oder aus ihr heraus. Hotkey fürs Hereinzoomen: {{hotkeyNameIn}}. Hotkey fürs Herauszoomen: {{hotkeyNameOut}}.","zoomSlider-tooltip":"Zoome in die Zeitleiste herein oder aus ihr heraus. Hotkey fürs Hereinzoomen: {{hotkeyNameIn}}. Hotkey fürs Herauszoomen: {{hotkeyNameOut}}.",zoomIn:"Hereinzoomen",zoomOut:"Herauszoomen"},n={previewButton:"Vorschaumodus","previewButton-tooltip":"Überspringt gelöschte Segmente bei der Wiedergabe des Videos. Derzeit {{status}}. Hotkey: {{hotkeyName}}","previewButton-aria":"Vorschaumodus aktivieren oder deaktivieren. Hotkey: {{hotkeyName}}.","playButton-tooltip":"Video wiedergeben","pauseButton-tooltip":"Video pausieren",previousButton:"Zurück","previousButton-tooltip":"Zurück. Hotkey: {{hotkeyName}}.",nextButton:"Vorwärts","nextButton-tooltip":"Vorwärts. Hotkey: {{hotkeyName}}.","current-time-tooltip":"Aktuelle Zeit","time-duration-tooltip":"Videodauer","duration-aria":"Dauer","time-aria":"Aktuelle Zeit","mutebutton-tooltip":"Video stumm schalten","unmutebutton-tooltip":"Videoton aktivieren","volume-tooltip":"Lautstärke anpassen: {{current}}%","volumeSlider-aria":"Lautstärke des Videos anpassen.","comError-text":"Bei der Kommunikation mit Opencast ist ein Problem aufgetreten.","loadError-text":"Beim Laden des Videos ist ein Fehler aufgetreten.","durationError-text":"Opencast konnte die Video-Dauer nicht angeben.","title-tooltip":"Videotitel","presenter-tooltip":"Vortragende"},i={"save-button":"Änderungen speichern","start-button":"Speichern und Änderungen verarbeiten","discard-button":"Änderungen verwerfen"},r={"headline-text":"Aktuelles Projekt speichern","confirm-button":"Ja, Änderungen speichern","confirmButton-attempting-tooltip":"Versuche zu speichern","confirmButton-success-tooltip":"Erfolgreich gespeichert","confirmButton-failed-tooltip":"Speichern fehlgeschlagen","info-text":"Das Video wird nicht verarbeitet, aber alle Schnittinformationen werden in Opencast gespeichert. Sie können Ihre Bearbeitung später fortsetzen.","success-text":"Änderungen erfolgreich gespeichert! Sie können den Editor nun schließen oder weiter arbeiten.","success-tooltip-aria":"Erfolgreich gespeichert","saveArea-tooltip":"Speicherbereich","confirm-success":"Okay","cancel-save":"Nicht speichern"},o={"headline-text":"Änderungen verwerfen","confirm-button":"Ja, Änderungen verwerfen","info-text":"Sind Sie sicher, dass Sie diese Änderung verwerfen möchten? Dies kann nicht rückgängig gemacht werden!"},a={"discarded-text":"Ihre Änderungen wurden verworfen. Sie können den Editor nun schließen.","startOver-button":"Von neuem beginnen!","startOver-tooltip":"Seite neu laden, um neu zu starten","info-text":`Änderungen erfolgreich in Opencast gespeichert. Die Bearbeitung Ihrer Änderungen kann einige Zeit dauern, bitte haben Sie etwas Geduld. Sie können nun den Editor schließen. +`},s={"saveAndProcess-text":"Speichern & verarbeiten","selectWF-text":"Workflow wählen","noWorkflows-text":`Es gibt keine Workflows zum Verarbeiten Ihrer Änderungen. Bitte speichern Sie Ihre Änderungen und kontaktieren Sie einen Administrator. +`,"oneWorkflow-text":`Die Änderungen werden gespeichert und das Video wird mit dem Workflow "{{workflow}}" geschnitten und verarbeitet. <3/> Dies wird einige Zeit in Anspruch nehmen. +`,"manyWorkflows-text":"Wählen Sie aus, welchen Workflow Opencast für die Verarbeitung verwenden soll.","startProcessing-button":"Verarbeitung starten","back-button":"Zurück","selectWF-button":"Klicken, um diesen Workflow auszuwählen","selectWF-button-aria":`Klicken, um den Workflow auszuwählen: {{stateName}} +`},l={"generateWaveform-text":"Waveform wird generiert","segment-tooltip":"Segment {{segment}}","scrubber-text-aria":`Zeitmarker. {{currentTime}}. Aktives Segment: {{segment}}. {{segmentStatus}}. Steuerung: {{moveLeft}} und {{moveRight}}, um den Zeitmarker zu bewegen. {{increase}} und {{decrease}}, um das Verschiebungdelta zu erhöhen/verringern. +`,"segments-text-aria":`Segment {{index}}. {{segmentStatus}}. Start: {{start}}. Ende: {{end}}. +`,"cut-text-aria":`Schnittmarke. {{time}}. Zwischen Segment {{leftSegment}} und {{rightSegment}}. +`},u={"headline-text":"Workflow Konfiguration","satisfied-text":"Sind Sie zufrieden mit Ihrer Konfiguration?","confirm-button":"Ja, Verarbeitung starten"},d={"EVENTS-EVENTS-DETAILS-CATALOG-EPISODE":"Video Metadaten","submit-button":"Abschicken","submit-button-tooltip":"Bestätigen Sie Ihre Änderungen","reset-button":"Zurücksetzen","reset-button-tooltip":"Alle Änderungen rückgängig machen","submit-helpertext":`Machen Sie so viele Änderungen, wie Sie möchten, dann drücken Sie den {{buttonName}} Button. +Beachten Sie, dass Sie noch die Verarbeitung starten müssen, damit Ihre Änderungen wirksam werden.`,validation:{required:"Erforderlich","duration-format":"Format muss HH:MM:SS sein",datetime:"Ungültig"},labels:{title:"Titel",subject:"Betreff",description:"Beschreibung",language:"Sprache",rightsHolder:"Rechte",license:"Lizenz",isPartOf:"Serie",creator:"Vortragende(r)",contributor:"Mitwirkende(r)",startDate:"Startdatum",duration:"Dauer",location:"Ort",source:"Quelle",created:"Erstellt am",publisher:"Herausgeber",identifier:"UID"},language:{"LANGUAGES-SLOVENIAN":"Slowenisch","LANGUAGES-PORTUGESE":"Portugiesisch","LANGUAGES-ROMANSH":"Rätoromanisch","LANGUAGES-ARABIC":"Arabisch","LANGUAGES-POLISH":"Polnisch","LANGUAGES-ITALIAN":"Italienisch","LANGUAGES-CHINESE":"Chinesisch","LANGUAGES-FINNISH":"Finnisch","LANGUAGES-DANISH":"Dänisch","LANGUAGES-UKRAINIAN":"Ukrainisch","LANGUAGES-FRENCH":"Französisch","LANGUAGES-SPANISH":"Spanisch","LANGUAGES-GERMAN_CH":"Schweizerdeutsch","LANGUAGES-NORWEGIAN":"Norwegisch","LANGUAGES-RUSSIAN":"Russisch","LANGUAGES-JAPANESE":"Japanisch","LANGUAGES-DUTCH":"Niederländisch","LANGUAGES-TURKISH":"Türkisch","LANGUAGES-HINDI":"Hindi","LANGUAGES-SWEDISH":"Schwedisch","LANGUAGES-ENGLISH":"Englisch","LANGUAGES-GERMAN":"Deutsch"},license:{"EVENTS-LICENSE-CC0":"CC0","EVENTS-LICENSE-CCBYND":"CC-BY-ND","EVENTS-LICENSE-CCBYNCND":"CC-BY-NC-ND","EVENTS-LICENSE-CCBYNCSA":"CC-BY-NC-SA","EVENTS-LICENSE-ALLRIGHTS":"Alle Rechte vorbehalten","EVENTS-LICENSE-CCBYSA":"CC-BY-SA","EVENTS-LICENSE-CCBYNC":"CC-BY-NC","EVENTS-LICENSE-CCBY":"CC-BY"},"calendar-prev":"Vorherige","calendar-next":"Nächste"},c={title:"Vorschaubildeditor",noThumbnailAvailable:"Kein Vorschaubild verfügbar",previewImageAlt:"Vorschaubild für Spur",buttonGenerate:"Generieren","buttonGenerate-tooltip":"Erstelle ein neues Vorschaubild aus der aktuellen Position des Zeitmarkers","buttonGenerate-tooltip-aria":"Erstelle ein neues Vorschaubild aus der aktuellen Position des Zeitmarkers",buttonUpload:"Hochladen","buttonUpload-tooltip":"Ein Bild hochladen","buttonUpload-tooltip-aria":"Ein Bild hochladen",buttonUseForOtherThumbnails:"Für alle Spuren verwenden","buttonUseForOtherThumbnails-tooltip":"Benutze das Vorschaubild für alle Spuren","buttonUseForOtherThumbnails-tooltip-aria":"Benutze das Vorschaubild für alle Spuren",buttonDiscard:"Verwerfen","buttonDiscard-tooltip":"Verwerfe Vorschaubild für diese Spur","buttonDiscard-tooltip-aria":"Verwerfe Vorschaubild für diese Spur",buttonGenerateAll:"Alle generieren","buttonGenerateAll-tooltip":"Erstelle ein neues Vorschaubild für alle Spuren aus der aktuellen Position des Zeitmarkers","buttonGenerateAll-tooltip-aria":"Erstelle ein neues Vorschaubild für alle Spuren aus der aktuellen Position des Zeitmarkers",explanation:"Erstelle oder lade ein Vorschaubild für jede Spur hoch.",primary:"Primär",secondary:"Sekundär"},h={rowTitle:"Vorschaubilder hier ändern",from:"von"},m={"generic-message":"Ein kritischer Fehler ist aufgetreten!",details:"Details: ","workflowActive-errorTitle":"Vorübergehend nicht verfügbar","workflowActive-errorMessage":"Dieses Video wird verarbeitet Bitte warten Sie, bis der Prozess abgeschlossen ist."},g={"main-heading":"Willkommen im Video-Editor","contact-admin":"Falls Sie versucht haben, ein bestimmtes Video zu bearbeiten, aber diese Seite sehen, wenden Sie sich bitte an Ihren Administrator.","start-editing-1":"Um mit der Bearbeitung zu beginnen, geben Sie den Parameter an ","start-editing-2":" mit der Mediapaket ID des Videos, das Sie bearbeiten möchten.","link-to-documentation":"Weitere Informationen zur Konfiguration des Video-Editors finden Sie im Administrationshandbuch unter "},S={"error-details-text":`Details: {{errorMessage}} +`,"error-text":"Ein Fehler ist aufgetreten. Bitte versuchen Sie es später noch einmal.","goBack-button":"Nein, zurück","callback-button-system":"Zurück zu {{system}}","callback-button-generic":"Zurück zu vorherigem System"},b={title:"Spur(en) für die Verarbeitung auswählen",trackInactive:"inaktiv",deleteTrackText:"Spur löschen",restoreTrackText:"Spur wiederherstellen",cannotDeleteTrackText:"Spur kann nicht gelöscht werden",deleteTrackTooltip:"Diese Spur nicht verarbeiten und veröffentlichen.",restoreTrackTooltip:"Diese Spur verarbeiten und veröffentlichen.",cannotDeleteTrackTooltip:"Diese Spur kann nicht entfernt werden."},p={"selectSubtitleButton-tooltip":"Untertitel für {{title}} bearbeiten","selectSubtitleButton-tooltip-aria":"{{title}} zur Bearbeitung von Untertiteln auswählen","createSubtitleButton-tooltip":"Öffnet einen Dialog zum Erstellen/Hochladen neuer Untertitel","createSubtitleButton-clicked-tooltip-aria":"Enthält einen Dialog zum Erstellen neuer Untertitel","createSubtitleButton-createButton":"Erstellen","createSubtitleButton-createButton-tooltip":"Beginne eine neue Untertiteldatei mit dem ausgewählten Titel.","createSubtitleButton-createButton-disabled-tooltip":"Bitte wählen Sie eine Sprache aus der Dropdown-Liste.","createSubtitleDropdown-label":"Wähle eine Sprache",backButton:"Zurück","backButton-tooltip":"Zurück zur Untertitelauswahl","downloadButton-title":"Herunterladen","downloadButton-tooltip":"Untertitel als vtt-Datei herunterladen","uploadButton-title":"Hochladen","uploadButton-tooltip":"Untertitel als vtt-Datei hochladen","uploadButton-warning-header":"Achtung!","uploadButton-warning":"Hochladen wird den aktuellen Untertitel überschreiben. Dies kann nicht rückgängig gemacht werden. Sind Sie sicher?","uploadButton-error":"Hochladen fehlgeschlagen.","uploadButton-error-filetype":"Falsches Dateiformat.","uploadButton-error-parse":"Untertiteldatei konnte nicht analysiert werden. Bitte stellen Sie sicher, dass die Datei gültiges WebVTT enthält.",editTitle:"Untertitel-Editor - {{title}}","editTitle-loading":"Lädt",generic:"Unspezifiziert",autoGenerated:"Automatisch generiert"},k={"startTime-tooltip":"Beginn des Segments","startTime-tooltip-aria":"Beginnt bei","endTime-tooltip":"Ende des Segments","endTime-tooltip-aria":"Endet bei",addSegmentAbove:"Segment oberhalb hinzufügen",addSegmentBelow:"Segment unterhalb hinzufügen",jumpToSegmentAbove:"Zum Segment oberhalb springen",jumpToSegmentBelow:"Zum Segment unterhalb springen",deleteSegment:"Segment löschen"},f={selectVideoLabel:"Video Flavors"},E={overviewTimelineTooltip:"Zeitleiste-Übersicht"},A={header:"Tastenkürzel",defaultGroupName:"Allgemein",missingLabel:"Unbekannt",groupVideoPlayer:"Videoplayer",groupCuttingView:"Schneiden",groupCuttingViewScrubber:"Zeitleiste",groupSubtitleList:"Untertitel",sequenceSeparator:"oder",genericError:"Fehler beim Laden der Übersicht",videoPlayButton:"Video abspielen/pausieren",scrubberLeft:"Nach links",scrubberRight:"Nach rechts",scrubberIncrease:"Schneller bewegen",scrubberDecrease:"Langsamer"},N={appearance:"Aussehen",dark:"Dunkel",light:"Hell",auto:"Auto","dark-high-contrast":"Dunkel (hoher Kontrast)","light-high-contrast":"Hell (hoher Kontrast)"},w={language:"Sprache"},V={areYouSure:"Sind Sie sicher?",cancel:"Abbrechen",close:"Schließen",confirm:"Bestätigen"},v={mainMenu:e,cuttingActions:t,video:n,finishMenu:i,save:r,discard:o,theEnd:a,workflowSelection:s,timeline:l,workflowConfig:u,metadata:d,thumbnail:c,thumbnailSimple:h,error:m,landing:g,various:S,trackSelection:b,subtitles:p,subtitleList:k,subtitleVideoArea:f,subtitleTimeline:E,keyboardControls:A,theme:N,language:w,modal:V};export{t as cuttingActions,v as default,o as discard,m as error,i as finishMenu,A as keyboardControls,g as landing,w as language,e as mainMenu,d as metadata,V as modal,r as save,k as subtitleList,E as subtitleTimeline,f as subtitleVideoArea,p as subtitles,a as theEnd,N as theme,c as thumbnail,h as thumbnailSimple,l as timeline,b as trackSelection,S as various,n as video,u as workflowConfig,s as workflowSelection}; diff --git a/1419/2024-07-10_12-10-53/assets/el-GR-DmHsqO9T.js b/1419/2024-07-10_12-10-53/assets/el-GR-DmHsqO9T.js new file mode 100644 index 00000000..1a900fad --- /dev/null +++ b/1419/2024-07-10_12-10-53/assets/el-GR-DmHsqO9T.js @@ -0,0 +1,10 @@ +const t={"cutting-button":"Περικοπή","finish-button":"Ολοκλήρωση","select-tracks-button":"Κομμάτια","subtitles-button":"Υπότιτλοι","thumbnail-button":"Μικρογραφία","metadata-button":"Μεταδεδομένα","keyboard-controls-button":"Έλεγχοι Πληκτρολογίου","tooltip-aria":"Κύρια Πλοήγηση"},e={"cut-button":"Αποκοπή","cut-tooltip":"Διαχωρισμός του τμήματος στην τρέχουσα θέση του χρονοδιαγράμματος. Πλήκτρο συντόμευσης: {{hotkeyName}}","cut-tooltip-aria":"Αποκοπή. Διαχωρίστε το τμήμα στην τρέχουσα θέση του χρονοδιαγράμματος. Πλήκτρο συντόμευσης: {{hotkeyName}}.","delete-button":"Διαγραφή","delete-restore-tooltip":"Σήμανση ή κατάργηση του τμήματος στην τρέχουσα θέση ως διαγραφή. Πλήκτρο συντόμευσης: {{hotkeyName}}","delete-restore-tooltip-aria":"Διαγραφή και Επαναφορά. Σήμανση ή κατάργηση επισήμανσης του τμήματος στην τρέχουσα θέση ως διαγραφή. Πλήκτρο συντόμευσης: {{hotkeyName}}.","merge-all-button":"Συγχώνευση Όλων","merge-all-tooltip":"Συνδυάστε όλα τα τμήματα σε ένα μόνο τμήμα.","merge-all-tooltip-aria":"Συγχώνευση Όλων. Συνδυάστε όλα τα τμήματα σε ένα μόνο τμήμα.","restore-button":"Επαναφορά","mergeLeft-button":"Συγχώνευση Αριστερά","mergeLeft-tooltip":"Συνδυάστε το τρέχον ενεργό τμήμα με το τμήμα στα αριστερά. Πλήκτρο συντόμευσης: {{hotkeyName}}","mergeLeft-tooltip-aria":"Συγχώνευση αριστερά. Συνδυάστε το τρέχον ενεργό τμήμα με το τμήμα στα αριστερά. Hotkey: {{hotkeyName}}.","mergeRight-button":"Συγχώνευση Δεξιά","mergeRight-tooltip":"Συνδυάστε το τρέχον ενεργό τμήμα με το τμήμα προς τα δεξιά. Πλήκτρο συντόμευσης: {{hotkeyName}}","mergeRight-tooltip-aria":"Συγχώνευση Δεξιά. Συνδυάστε το τρέχον ενεργό τμήμα με το τμήμα στα δεξιά. Πλήκτρο συντόμευσης: {{hotkeyName}}.",zoom:"Zoom","zoomSlider-aria":"Zoom. Zoom in or out of the timeline. Hotkey for Zoom in: {{hotkeyNameIn}}. Hotkey for Zoom out: {{hotkeyNameOut}}.","zoomSlider-tooltip":"Zoom in or out of the timeline. Hotkey for Zoom in: {{hotkeyNameIn}}. Hotkey for Zoom out: {{hotkeyNameOut}}.",zoomIn:"Zoom in",zoomOut:"Zoom out"},o={previewButton:"Λειτουργία προεπισκόπησης","previewButton-tooltip":"Παράλειψη διαγραμμένων τμημάτων κατά την αναπαραγωγή του βίντεο. Προς το παρόν {{status}}. Πλήκτρο συντόμευσης: {{hotkeyName}}","previewButton-aria":"Ενεργοποίηση ή απενεργοποίηση λειτουργίας προεπισκόπησης. Πλήκτρο συντόμευσης: {{hotkeyName}}.","playButton-tooltip":"Αναπαραγωγή βίντεο","pauseButton-tooltip":"Παύση του βίντεο",previousButton:"Επιστροφή","previousButton-tooltip":"Πίσω. Hotkey: {{hotkeyName}}.",nextButton:"Μπροστά","nextButton-tooltip":"Πίσω. Hotkey: {{hotkeyName}}.","current-time-tooltip":"Τρέχουσα ώρα","time-duration-tooltip":"Διάρκεια βίντεο","duration-aria":"Διάρκεια","time-aria":"Τρέχουσα ώρα","mutebutton-tooltip":"Σίγαση βίντεο","unmutebutton-tooltip":"Κατάργηση σίγασης βίντεο","volume-tooltip":"Προσαρμογή ήχου: {{current}}%","volumeSlider-aria":"Προσαρμόστε το επίπεδο έντασης του βίντεο.","comError-text":"Προέκυψε πρόβλημα κατά την επικοινωνία με το Opencast.","loadError-text":"Παρουσιάστηκε σφάλμα κατά τηn φόρτωση του βίντεο.","durationError-text":"Το Opencast απέτυχε να παρέχει τη διάρκεια του βίντεο.","title-tooltip":"Τίτλος Βίντεο","presenter-tooltip":"Παρουσιαστές Βίντεο"},i={"save-button":"Αποθήκευση αλλαγών","start-button":"Αποθήκευση και επεξεργασία αλλαγών","discard-button":"Απόρριψη αλλαγών"},n={"headline-text":"Αποθήκευση τρέχοντος project","confirm-button":"Ναι, αποθήκευση αλλαγών","confirmButton-attempting-tooltip":"Προσπάθεια αποθήκευσης","confirmButton-success-tooltip":"Αποθηκεύτηκε επιτυχώς","confirmButton-failed-tooltip":"Η αποθήκευση απέτυχε","info-text":"Το βίντεο δεν θα επεξεργαστεί, αλλά όλες οι πληροφορίες κοπής θα αποθηκευτούν στο Opencast. Μπορείτε να συνεχίσετε την επεξεργασία σας αργότερα.","success-text":"Οι αλλαγές αποθηκεύτηκαν επιτυχώς! Τώρα μπορείτε να κλείσετε τον επεξεργαστή βίντεο ή να συνεχίσετε να εργάζεστε στο βίντεο.","success-tooltip-aria":"Αποθηκεύτηκε επιτυχώς","saveArea-tooltip":"Αποθήκευση Περιοχής","confirm-success":"Εντάξει","cancel-save":"Να μην αποθηκεύτει"},a={"headline-text":"Απόρριψη αλλαγών","confirm-button":"Ναι, απόρριψη αλλαγών","info-text":"Είστε βέβαιοι ότι θέλετε να απορρίψετε τις αλλαγές σας? Αυτό δεν μπορεί να αναιρεθεί!"},r={"discarded-text":"Οι αλλαγές σας έχουν απορριφθεί. Τώρα μπορείτε να κλείσετε τον επεξεργαστή βίτεο.","startOver-button":"Επιτρέψτε μου να ξεκινήσω από την αρχή!","startOver-tooltip":"Ανανέωση της σελίδας για εκκίνηση από την αρχή","info-text":`Οι αλλαγές αποθηκεύτηκαν με επιτυχία στο Opencast. Η επεξεργασία των αλλαγών σας μπορεί να διαρκέσει αρκετό χρόνο, οπότε παρακαλώ να είστε υπομονετικοί. Τώρα μπορείτε να κλείσετε τον επεξεργαστή. +`},l={"saveAndProcess-text":"Αποθήκευση & επεξεργασία","selectWF-text":"Επιλέξτε ροή εργασίας","noWorkflows-text":`Δεν υπάρχουν ροές εργασίας για να επεξεργαστείτε τις αλλαγές σας. Παρακαλώ αποθηκεύστε τις αλλαγές σας και επικοινωνήστε με έναν διαχειριστή. +`,"oneWorkflow-text":`Το βίντεο θα κοπεί και θα επεξεργαστεί με τη ροή εργασίας "{{workflow}}". <3/> Αυτό θα πάρει κάποιο χρόνο. +`,"manyWorkflows-text":"Επιλέξτε ποια ροή εργασίας θα χρησιμοποιηθεί για επεξεργασία.","startProcessing-button":"Έναρξη επεξεργασίας","back-button":"Πήγαινε με πίσω","selectWF-button":"Κάντε κλικ για να επιλέξετε αυτήν τη ροή εργασίας","selectWF-button-aria":`Πατήστε για να επιλέξετε τη ροή εργασίας: {{stateName}} +`},u={"generateWaveform-text":"Δημιουργία Κυματομορφής","segment-tooltip":"Τμήμα {{segment}}","scrubber-text-aria":`Δείκτης χρονοδιαγράμματος. {{currentTime}}. Ενεργό τμήμα: {{segment}}. {{segmentStatus}}. Έλεγχοι: {{moveLeft}} και {{moveRight}} για να μετακινήσετε το δείκτη χρονολογίου. {{increase}} και {{decrease}} για να αυξήσει/μειώσετε το δέλτα της κίνησης. +`,"segments-text-aria":`Τμήμα {{index}}. {{segmentStatus}}. Έναρξη: {{start}}. Τέλος: {{end}}. +`,"cut-text-aria":`Δείκτης περικοπής. {{time}}. Μεταξύ του τμήματος {{leftSegment}} και του τμήματος {{rightSegment}}. +`},s={"headline-text":"Ρύθμισεις παραμέτρων ροής εργασίας","satisfied-text":"Ικανοποιημένος με τις ρυθμίσεις σας;","confirm-button":"Ναι, έναρξη επεξεργασίας"},c={"EVENTS-EVENTS-DETAILS-CATALOG-EPISODE":"Μεταδεδομένα επεισοδίου","submit-button":"Υποβολή","submit-button-tooltip":"Επιβεβαίωση αλλαγών","reset-button":"Επαναφορά","reset-button-tooltip":"Αναίρεση όλων των αλλαγών σας","submit-helpertext":`Κάντε αλλαγές όπως θέλετε και μετά πατήστε το κουμπί {{buttonName}}. +Σημειώστε ότι θα πρέπει να ξεκινήσετε την επεξεργασία για να τεθούν σε ισχύ οι αλλαγές σας.`,validation:{required:"Απαιτείται","duration-format":"Η μορφή πρέπει να είναι HH:MM:SS",datetime:"Μη έγκυρος"},labels:{title:"Τίτλος",subject:"Θέμα",description:"Περιγραφή",language:"Γλώσσα",rightsHolder:"Δικαιώματα",license:"Άδεια χρήσης",isPartOf:"Σειρά",creator:"Παρουσιαστής(ές)",contributor:"Χορηγός(οι)",startDate:"Ημερομηνία έναρξης",duration:"Διάρκεια",location:"Τοποθεσία",source:"Πηγή",created:"Δημιουργήθηκε",publisher:"Εκδότης",identifier:"UID"},language:{"LANGUAGES-SLOVENIAN":"Σλοβενικά","LANGUAGES-PORTUGESE":"Πορτογαλικά","LANGUAGES-ROMANSH":"Ρωμανικά","LANGUAGES-ARABIC":"Αραβικά","LANGUAGES-POLISH":"Πολωνικά","LANGUAGES-ITALIAN":"Ιταλικά","LANGUAGES-CHINESE":"Κινέζικα","LANGUAGES-FINNISH":"Φινλανδικά","LANGUAGES-DANISH":"Δανικά","LANGUAGES-UKRAINIAN":"Ουκρανικά","LANGUAGES-FRENCH":"Γαλλικά","LANGUAGES-SPANISH":"Ισπανικά","LANGUAGES-GERMAN_CH":"Ελβετικά Γερμανικά","LANGUAGES-NORWEGIAN":"Νορβηγικά","LANGUAGES-RUSSIAN":"Ρωσικά","LANGUAGES-JAPANESE":"Ιαπωνικά","LANGUAGES-DUTCH":"Ολλανδικά","LANGUAGES-TURKISH":"Τουρκικά","LANGUAGES-HINDI":"Χίντι","LANGUAGES-SWEDISH":"Σουηδικά","LANGUAGES-ENGLISH":"Αγγλικά","LANGUAGES-GERMAN":"Γερμανικά"},license:{"EVENTS-LICENSE-CC0":"CC0","EVENTS-LICENSE-CCBYND":"CC BY-ND","EVENTS-LICENSE-CCBYNCND":"CC BY-NC-ND","EVENTS-LICENSE-CCBYNCSA":"CC BY-NC-SA","EVENTS-LICENSE-ALLRIGHTS":"Με επιφύλαξη παντός δικαιώματος","EVENTS-LICENSE-CCBYSA":"CC-BY-SA","EVENTS-LICENSE-CCBYNC":"CC-BY-NC","EVENTS-LICENSE-CCBY":"CC-BY"},"calendar-prev":"Προηγούμενο","calendar-next":"Επόμενο"},m={title:"Επεξεργαστής μικρογραφίας",noThumbnailAvailable:"Δεν υπάρχει διαθέσιμη μικρογραφία",previewImageAlt:"Μικρογραφία για το κομμάτι",buttonGenerate:"Δημιουργία","buttonGenerate-tooltip":"Δημιουργία νέας μικρογραφίας από την τρέχουσα θέση σήμανσης χρονολογίου","buttonGenerate-tooltip-aria":"Δημιουργία νέας μικρογραφίας από την τρέχουσα θέση σήμανσης χρονολογίου",buttonUpload:"Ανέβασμα","buttonUpload-tooltip":"Ανέβασμα Εικόνας","buttonUpload-tooltip-aria":"Ανέβασμα Εικόνας",buttonUseForOtherThumbnails:"Χρήση για όλα τα κομμάτια","buttonUseForOtherThumbnails-tooltip":"Χρήση της μικρογραφίας για όλα τα κομμάτια","buttonUseForOtherThumbnails-tooltip-aria":"Χρήση της μικρογραφίας για όλα τα κομμάτια",buttonDiscard:"Απόρριψη","buttonDiscard-tooltip":"Απόρριψη της μικρογραφίας για αυτό το κομμάτι","buttonDiscard-tooltip-aria":"Απόρριψη της μικρογραφίας για αυτό το κομμάτι",buttonGenerateAll:"Δημιουργία Όλων","buttonGenerateAll-tooltip":"Δημιουργία νέων εικόνων επισκόπησης για όλα τα κομμάτια από την τρέχουσα θέση του χρονοδιαγράμματος","buttonGenerateAll-tooltip-aria":"Δημιουργία νέων εικόνων επισκόπησης για όλα τα κομμάτια από την τρέχουσα θέση του χρονοδιαγράμματος",explanation:"Ανεβάστε ή δημιουργήστε μια μικρογραφία για κάθε κομμάτι.",primary:"Κύριο",secondary:"Δευτερεύων"},b={rowTitle:"Αλλαγή μικρογραφίας εδώ",from:"απο"},d={"generic-message":"Παρουσιάστηκε ένα κρίσιμο σφάλμα",details:"Λεπτομέρειες: ","workflowActive-errorTitle":"Προσωρινά μη διαθέσιμη","workflowActive-errorMessage":"Αυτή η εκδήλωση επεξεργάζεται. Παρακαλώ περιμένετε μέχρι να ολοκληρωθεί η διαδικασία."},p={"main-heading":"Καλώς ήρθατε στον επεξεργαστή βίντεο","contact-admin":"Αν προσπαθούσατε να επεξεργαστείτε ένα συγκεκριμένο βίντεο, αλλά βλέπετε αυτή τη σελίδα, παρακαλούμε επικοινωνήστε με το διαχειριστή σας.","start-editing-1":"Για να ξεκινήσετε την επεξεργασία, καθορίστε την παράμετρο ","start-editing-2":" με το πακέτο πολυμέσων id του βίντεο που θέλετε να επεξεργαστείτε.","link-to-documentation":"Περισσότερες πληροφορίες για τη ρύθμιση παραμέτρων του επεξεργαστή βίντεο είναι διαθέσιμες στον οδηγό διαχείρισης στο "},S={"error-details-text":`Λεπτομέρειες: {{errorMessage}} +`,"error-text":"Παρουσιάστηκε σφάλμα. Παρακαλώ περιμένετε λίγο και προσπαθήστε ξανά.","goBack-button":"Όχι, πήγαινέ με πίσω","callback-button-system":"Επιστροφή στο {{system}}","callback-button-generic":"Επιστροφή στο προηγούμενο σύστημα"},N={title:"Επιλογή κομματιού(ών) για επεξεργασία",trackInactive:"ανενεργό",deleteTrackText:"Διαγραφή Κομματιού",restoreTrackText:"Επαναφορά Κομματιού",cannotDeleteTrackText:"Αδυναμία Διαγραφής Κομματιού",deleteTrackTooltip:"Να μην κωδικοποιηθεί και δημοσιευτεί αυτό το κομμάτι.",restoreTrackTooltip:"Κωδικοποίηση και δημοσίευση αυτού του κομματιού.",cannotDeleteTrackTooltip:"Δεν είναι δυνατή η αφαίρεση αυτού του κομματιού από τη δημοσίευση."},A={"selectSubtitleButton-tooltip":"Επεξεργασία υποτίτλων για {{title}}","selectSubtitleButton-tooltip-aria":"Επιλέξτε {{title}} για επεξεργασία υποτίτλων","createSubtitleButton-tooltip":"Ανοίγει ένα διάλογο για τη δημιουργία νέων υποτίτλων","createSubtitleButton-clicked-tooltip-aria":"Περιέχει ένα διάλογο για τη δημιουργία νέων υποτίτλων","createSubtitleButton-createButton":"Δημιουργία","createSubtitleButton-createButton-tooltip":"Ξεκινήστε ένα νέο αρχείο υποτίτλων με τον επιλεγμένο τίτλο.","createSubtitleButton-createButton-disabled-tooltip":"Παρακαλώ επιλέξτε μια γλώσσα από το αναπτυσσόμενο μενού.","createSubtitleDropdown-label":"Επιλέξτε μια γλώσσα",backButton:"Επιστροφή","backButton-tooltip":"Επιστροφή στην επιλογή υποτίτλων","downloadButton-title":"Λήψη","downloadButton-tooltip":"Λήψη υποτίτλων ως αρχείο vtt","uploadButton-title":"Ανέβασμα","uploadButton-tooltip":"Μεταφόρτωση υποτίτλων ως αρχείο vtt","uploadButton-warning-header":"Προσοχή!","uploadButton-warning":"Η μεταφόρτωση θα αντικαταστήσει τον τρέχοντα υπότιτλο. Αυτό δεν μπορεί να αναιρεθεί. Είστε σίγουροι;","uploadButton-error":"Αποτυχία φόρτωσης.","uploadButton-error-filetype":"Λανθασμένος τύπος αρχείου.","uploadButton-error-parse":"Δεν ήταν δυνατή η ανάλυση του αρχείου υποτίτλων. Βεβαιωθείτε ότι το αρχείο περιέχει έγκυρο WebVTT.",editTitle:"Επεξεργαστής υποτίτλων - {{title}}","editTitle-loading":"Φόρτωση",generic:"Γενικά",autoGenerated:"Αυτόματη δημιουργία"},E={"startTime-tooltip":"Έναρξη του τμήματος","startTime-tooltip-aria":"Ξεκινώντας από {0}","endTime-tooltip":"Τέλος του τμήματος","endTime-tooltip-aria":"Τελειώνει στις",addSegmentAbove:"Προσθήκη τμήματος πάνω",addSegmentBelow:"Προσθήκη τμήματος κάτω",jumpToSegmentAbove:"Μετάβαση στο τμήμα πάνω",jumpToSegmentBelow:"Μετάβαση στο τμήμα κάτω",deleteSegment:"Διαγραφή τμήματος"},g={selectVideoLabel:"Τύποι Βίντεο"},G={overviewTimelineTooltip:"Επισκόπηση χρονολογίου"},h={header:"Συντομεύσεις",defaultGroupName:"Γενικά",missingLabel:"Άγνωστο",groupVideoPlayer:"Αναπαραγωγή Βίντεο",groupCuttingView:"Περικοπή",groupCuttingViewScrubber:"Χρονολόγιο",groupSubtitleList:"Υπότιτλοι",sequenceSeparator:"ή",genericError:"Αποτυχία φόρτωσης επισκόπησης",videoPlayButton:"Αναπαραγωγή/Παύση Βίντεο",scrubberLeft:"Μετακίνηση αριστερά",scrubberRight:"Μετακίνηση δεξιά",scrubberIncrease:"Μετακίνηση γρηγορότερα",scrubberDecrease:"Μετακίνηση πιο αργά"},k={appearance:"Εμφάνιση",dark:"Σκοτεινό",light:"Φωτεινό",auto:"Αυτόματο","dark-high-contrast":"Σκοτεινό (Υψηλή αντίθεση)","light-high-contrast":"Φωτεινό (Υψηλή αντίθεση)"},C={language:"Γλώσσα"},B={areYouSure:"Είστε σίγουρος/η;",cancel:"Ακύρωση",close:"Κλείσιμο",confirm:"Επιβεβαίωση"},T={mainMenu:t,cuttingActions:e,video:o,finishMenu:i,save:n,discard:a,theEnd:r,workflowSelection:l,timeline:u,workflowConfig:s,metadata:c,thumbnail:m,thumbnailSimple:b,error:d,landing:p,various:S,trackSelection:N,subtitles:A,subtitleList:E,subtitleVideoArea:g,subtitleTimeline:G,keyboardControls:h,theme:k,language:C,modal:B};export{e as cuttingActions,T as default,a as discard,d as error,i as finishMenu,h as keyboardControls,p as landing,C as language,t as mainMenu,c as metadata,B as modal,n as save,E as subtitleList,G as subtitleTimeline,g as subtitleVideoArea,A as subtitles,r as theEnd,k as theme,m as thumbnail,b as thumbnailSimple,u as timeline,N as trackSelection,S as various,o as video,s as workflowConfig,l as workflowSelection}; diff --git a/1419/2024-07-10_12-10-53/assets/en-US-B_KBN2vA.js b/1419/2024-07-10_12-10-53/assets/en-US-B_KBN2vA.js new file mode 100644 index 00000000..2f5b4663 --- /dev/null +++ b/1419/2024-07-10_12-10-53/assets/en-US-B_KBN2vA.js @@ -0,0 +1,10 @@ +const e={"cutting-button":"Cutting","finish-button":"Finish","select-tracks-button":"Tracks","subtitles-button":"Subtitles","thumbnail-button":"Thumbnail","metadata-button":"Metadata","keyboard-controls-button":"Keyboard Controls","tooltip-aria":"Main Navigation"},t={"cut-button":"Cut","cut-tooltip":"Split the segment at the current timeline marker position. Hotkey: {{hotkeyName}}","cut-tooltip-aria":"Cut. Split the segment at the current timeline marker position. Hotkey: {{hotkeyName}}.","delete-button":"Delete","delete-restore-tooltip":"Mark or unmark the segment at the current position as to be deleted. Hotkey: {{hotkeyName}}","delete-restore-tooltip-aria":"Delete and Restore. Mark or unmark the segment at the current position as to be deleted. Hotkey: {{hotkeyName}}.","merge-all-button":"Merge All","merge-all-tooltip":"Combine all segments into a single segment.","merge-all-tooltip-aria":"Merge All. Combine all segments into a single segment.","restore-button":"Restore","mergeLeft-button":"Merge Left","mergeLeft-tooltip":"Combine the currently active segment with the segment to its left. Hotkey: {{hotkeyName}}","mergeLeft-tooltip-aria":"Merge Left. Combine the currently active segment with the segment to its left. Hotkey: {{hotkeyName}}.","mergeRight-button":"Merge Right","mergeRight-tooltip":"Combine the currently active segment with the segment to its right. Hotkey: {{hotkeyName}}","mergeRight-tooltip-aria":"Merge Right. Combine the currently active segment with the segment to its right. Hotkey: {{hotkeyName}}.",zoom:"Zoom","zoomSlider-aria":"Zoom. Zoom in or out of the timeline. Hotkey for Zoom in: {{hotkeyNameIn}}. Hotkey for Zoom out: {{hotkeyNameOut}}.","zoomSlider-tooltip":"Zoom in or out of the timeline. Hotkey for Zoom in: {{hotkeyNameIn}}. Hotkey for Zoom out: {{hotkeyNameOut}}.",zoomIn:"Zoom in",zoomOut:"Zoom out"},o={previewButton:"Preview Mode","previewButton-tooltip":"Skips deleted segments when playing the video. Currently {{status}}. Hotkey: {{hotkeyName}}","previewButton-aria":"Enable or disable preview mode. Hotkey: {{hotkeyName}}.","playButton-tooltip":"Play video","pauseButton-tooltip":"Pause video",previousButton:"Back","previousButton-tooltip":"Back. Hotkey: {{hotkeyName}}.",nextButton:"Forward","nextButton-tooltip":"Forward. Hotkey: {{hotkeyName}}.","current-time-tooltip":"Current time","time-duration-tooltip":"Video duration","duration-aria":"Duration","time-aria":"Current time","mutebutton-tooltip":"Mute video","unmutebutton-tooltip":"Unmute video","volume-tooltip":"Adjust volume: {{current}}%","volumeSlider-aria":"Adjust the volume level of the video.","comError-text":"A problem occurred during communication with Opencast.","loadError-text":"An error has occurred loading this video.","durationError-text":"Opencast failed to provide the video duration.","title-tooltip":"Video Title","presenter-tooltip":"Video Presenters"},i={"save-button":"Save changes","start-button":"Save and process changes","discard-button":"Discard changes"},a={"headline-text":"Save current project","confirm-button":"Yes, save changes","confirmButton-attempting-tooltip":"Attempting to save","confirmButton-success-tooltip":"Saved successfully","confirmButton-failed-tooltip":"Save failed","info-text":"The video will not be processed but all cutting information will be stored in Opencast. You can continue your edit later.","success-text":"Changes saved successfully! You can now close the editor or continue working.","success-tooltip-aria":"Saved successfully","saveArea-tooltip":"Save Area","confirm-success":"Okay","cancel-save":"Don't save"},n={"headline-text":"Discard changes","confirm-button":"Yes, discard changes","info-text":"Are you sure you want to discard your changes? This cannot be undone!"},r={"discarded-text":"Your changes have been discarded. You can now close the editor.","startOver-button":"Let me start over!","startOver-tooltip":"Reload the page to start over","info-text":`Changes successfully saved to Opencast. Processing your changes may take quite some time so please be patient. You can now close the editor. +`},s={"saveAndProcess-text":"Save and Process","selectWF-text":"Select a workflow","noWorkflows-text":`There are no workflows to process your changes with. Please save your changes and contact an administrator. +`,"oneWorkflow-text":`The changes will be saved and the video will be cut and processed with the workflow "{{workflow}}". <3/> This will take some time. +`,"manyWorkflows-text":"Select which workflow Opencast should use for processing.","startProcessing-button":"Start processing","back-button":"Take me back","selectWF-button":"Click to select this workflow","selectWF-button-aria":`Press to select the workflow: {{stateName}} +`},l={"generateWaveform-text":"Generating Waveform","segment-tooltip":"Segment {{segment}}","scrubber-text-aria":`Timeline marker. {{currentTime}}. Active segment: {{segment}}. {{segmentStatus}}. Controls: {{moveLeft}} and {{moveRight}} to move the timeline marker. {{increase}} and {{decrease}} to increase/decrease the move delta. +`,"segments-text-aria":`Segment {{index}}. {{segmentStatus}}. Start: {{start}}. End: {{end}}. +`,"cut-text-aria":`Cut marker. {{time}}. Between segment {{leftSegment}} and {{rightSegment}}. +`},u={"headline-text":"Workflow Configuration","satisfied-text":"Satisfied with your configuration?","confirm-button":"Yes, start processing"},c={"EVENTS-EVENTS-DETAILS-CATALOG-EPISODE":"Episode Metadata","submit-button":"Submit","submit-button-tooltip":"Confirm your changes","reset-button":"Reset","reset-button-tooltip":"Undo all your changes","submit-helpertext":`Make changes as you like, then hit the {{buttonName}} button. +Note that you will still have to start processing for your changes to take effect.`,validation:{required:"Required","duration-format":"Format must be HH:MM:SS",datetime:"Invalid"},labels:{title:"Title",subject:"Subject",description:"Description",language:"Language",rightsHolder:"Rights",license:"License",isPartOf:"Series",creator:"Presenter(s)",contributor:"Contributor(s)",startDate:"Start date",duration:"Duration",location:"Location",source:"Source",created:"Created",publisher:"Publisher",identifier:"UID"},language:{"LANGUAGES-SLOVENIAN":"Slovenian","LANGUAGES-PORTUGESE":"Portuguese","LANGUAGES-ROMANSH":"Romansh","LANGUAGES-ARABIC":"Arabic","LANGUAGES-POLISH":"Polish","LANGUAGES-ITALIAN":"Italian","LANGUAGES-CHINESE":"Chinese","LANGUAGES-FINNISH":"Finnish","LANGUAGES-DANISH":"Danish","LANGUAGES-UKRAINIAN":"Ukrainian","LANGUAGES-FRENCH":"French","LANGUAGES-SPANISH":"Spanish","LANGUAGES-GERMAN_CH":"Swiss German","LANGUAGES-NORWEGIAN":"Norwegian","LANGUAGES-RUSSIAN":"Russian","LANGUAGES-JAPANESE":"Japanese","LANGUAGES-DUTCH":"Dutch","LANGUAGES-TURKISH":"Turkish","LANGUAGES-HINDI":"Hindi","LANGUAGES-SWEDISH":"Swedish","LANGUAGES-ENGLISH":"English","LANGUAGES-GERMAN":"German"},license:{"EVENTS-LICENSE-CC0":"CC0","EVENTS-LICENSE-CCBYND":"CC-BY-ND","EVENTS-LICENSE-CCBYNCND":"CC-BY-NC-ND","EVENTS-LICENSE-CCBYNCSA":"CC-BY-NC-SA","EVENTS-LICENSE-ALLRIGHTS":"All rights reserved","EVENTS-LICENSE-CCBYSA":"CC-BY-SA","EVENTS-LICENSE-CCBYNC":"CC-BY-NC","EVENTS-LICENSE-CCBY":"CC-BY"},"calendar-prev":"Previous","calendar-next":"Next"},d={title:"Thumbnail Editor",noThumbnailAvailable:"No Thumbnail available",previewImageAlt:"Thumbnail for track",buttonGenerate:"Generate","buttonGenerate-tooltip":"Generate a new thumbnail from the current timeline marker position","buttonGenerate-tooltip-aria":"Generate a new thumbnail from the current timeline marker position",buttonUpload:"Upload","buttonUpload-tooltip":"Upload an image","buttonUpload-tooltip-aria":"Upload an image",buttonUseForOtherThumbnails:"Use for all tracks","buttonUseForOtherThumbnails-tooltip":"Use the thumbnail for all tracks","buttonUseForOtherThumbnails-tooltip-aria":"Use the thumbnail for all tracks",buttonDiscard:"Discard","buttonDiscard-tooltip":"Discard the thumbnail for this track","buttonDiscard-tooltip-aria":"Discard the thumbnail for this track",buttonGenerateAll:"Generate All","buttonGenerateAll-tooltip":"Generate new thumbnails for all tracks from the current timeline marker position","buttonGenerateAll-tooltip-aria":"Generate new thumbnails for all tracks from the current timeline marker position",explanation:"Upload or generate a thumbnail for each track.",primary:"Primary",secondary:"Secondary"},m={rowTitle:"Change thumbnail here",from:"from"},h={"generic-message":"A critical error has occurred!",details:"Details: ","workflowActive-errorTitle":"Temporarily unavailable","workflowActive-errorMessage":"This event is being processed. Please wait until the process is finished."},g={"main-heading":"Welcome to the Video Editor","contact-admin":"If you were trying to edit a specific video but are seeing this page, please contact your administrator.","start-editing-1":"To start editing, specify the parameter ","start-editing-2":" with the media package id of the video you wish to edit.","link-to-documentation":"More information about configuring the video editor is available in the administration guide at "},b={"error-details-text":`Details: {{errorMessage}} +`,"error-text":"An error has occurred. Please wait a bit and try again.","goBack-button":"No, take me back","callback-button-system":"Back to {{system}}","callback-button-generic":"Back to previous system"},p={title:"Select track(s) for processing",trackInactive:"inactive",deleteTrackText:"Delete Track",restoreTrackText:"Restore Track",cannotDeleteTrackText:"Cannot Delete Track",deleteTrackTooltip:"Do not encode and publish this track.",restoreTrackTooltip:"Encode and publish this track.",cannotDeleteTrackTooltip:"Cannot remove this track from publication."},S={"selectSubtitleButton-tooltip":"Edit subtitles for {{title}}","selectSubtitleButton-tooltip-aria":"Select {{title}} for subtitle editing","createSubtitleButton-tooltip":"Opens a dialog for creating/uploading new subtitles","createSubtitleButton-clicked-tooltip-aria":"Contains a dialog for creating new subtitles","createSubtitleButton-createButton":"Create","createSubtitleButton-createButton-tooltip":"Start a new subtitle file with the chosen title.","createSubtitleButton-createButton-disabled-tooltip":"Please pick a language from the dropdown above.","createSubtitleDropdown-label":"Pick a language",backButton:"Back","backButton-tooltip":"Return to subtitle selection","downloadButton-title":"Download","downloadButton-tooltip":"Download subtitle as vtt file","uploadButton-title":"Upload","uploadButton-tooltip":"Upload subtitle as vtt file","uploadButton-warning-header":"Caution!","uploadButton-warning":"Uploading will overwrite the current subtitle. This cannot be undone. Are you sure?","uploadButton-error":"Upload failed.","uploadButton-error-filetype":"Wrong file type.","uploadButton-error-parse":"Could not parse subtitle file. Please ensure that the file contains valid WebVTT.",editTitle:"Subtitle Editor - {{title}}","editTitle-loading":"Loading",generic:"Generic",autoGenerated:"Auto-generated"},k={"startTime-tooltip":"Beginning of the segment","startTime-tooltip-aria":"Beginning at","endTime-tooltip":"End of the segment","endTime-tooltip-aria":"Ending at",addSegmentAbove:"Add segment above",addSegmentBelow:"Add segment below",jumpToSegmentAbove:"Jump to segment above",jumpToSegmentBelow:"Jump to segment below",deleteSegment:"Delete segment"},f={selectVideoLabel:"Video Flavors"},v={overviewTimelineTooltip:"Timeline overview"},A={header:"Shortcuts",defaultGroupName:"General",missingLabel:"Unknown",groupVideoPlayer:"Video Player",groupCuttingView:"Cutting",groupCuttingViewScrubber:"Timeline",groupSubtitleList:"Subtitles",sequenceSeparator:"or",genericError:"Failed to load overview",videoPlayButton:"Play/Pause Video",scrubberLeft:"Move left",scrubberRight:"Move right",scrubberIncrease:"Move faster",scrubberDecrease:"Move slower"},w={appearance:"Appearance",dark:"Dark",light:"Light",auto:"Auto","dark-high-contrast":"Dark (High contrast)","light-high-contrast":"Light (High contrast)"},N={language:"Language"},E={areYouSure:"Are you sure?",cancel:"Cancel",close:"Close",confirm:"Confirm"},C={mainMenu:e,cuttingActions:t,video:o,finishMenu:i,save:a,discard:n,theEnd:r,workflowSelection:s,timeline:l,workflowConfig:u,metadata:c,thumbnail:d,thumbnailSimple:m,error:h,landing:g,various:b,trackSelection:p,subtitles:S,subtitleList:k,subtitleVideoArea:f,subtitleTimeline:v,keyboardControls:A,theme:w,language:N,modal:E};export{t as cuttingActions,C as default,n as discard,h as error,i as finishMenu,A as keyboardControls,g as landing,N as language,e as mainMenu,c as metadata,E as modal,a as save,k as subtitleList,v as subtitleTimeline,f as subtitleVideoArea,S as subtitles,r as theEnd,w as theme,d as thumbnail,m as thumbnailSimple,l as timeline,p as trackSelection,b as various,o as video,u as workflowConfig,s as workflowSelection}; diff --git a/1419/2024-07-10_12-10-53/assets/es-ES-kcISavJX.js b/1419/2024-07-10_12-10-53/assets/es-ES-kcISavJX.js new file mode 100644 index 00000000..f293ef78 --- /dev/null +++ b/1419/2024-07-10_12-10-53/assets/es-ES-kcISavJX.js @@ -0,0 +1,10 @@ +const e={"cutting-button":"Dividir","finish-button":"Finalizar","select-tracks-button":"Pistas","subtitles-button":"Subtítulos","thumbnail-button":"Miniatura","metadata-button":"Metadatos","keyboard-controls-button":"Controles del teclado","tooltip-aria":"Navegación principal"},t={"cut-button":"Cortar","cut-tooltip":"Dividir el segmento en la posición actual del marcador en la línea de tiempo. Acceso Rápido:: {{hotkeyName}}","cut-tooltip-aria":"Cortar. Dividir el segmento en la posición actual del marcador en la línea de tiempo. Acceso Rápido: {{hotkeyName}}.","delete-button":"Borrar","delete-restore-tooltip":"Marcar o desmarcar el segmento en la posición actual para ser eliminado. Acceso Rápido: {{hotkeyName}}","delete-restore-tooltip-aria":"Delete and Restore. Mark or unmark the segment at the current position as to be deleted. Hotkey: {{hotkeyName}}.","merge-all-button":"Combinarlo todo","merge-all-tooltip":"Combina todos los segmentos en un solo segmento.","merge-all-tooltip-aria":"Combinarlo todo. Combina todos los segmentos en un solo segmento.","restore-button":"Restaurar","mergeLeft-button":"Fusionar a la izquierda","mergeLeft-tooltip":"Combina el segmento actualmente activo con el segmento a su izquierda. Acceso rápido: {{hotkeyName}}","mergeLeft-tooltip-aria":"Combina el segmento actualmente activo con el segmento a su izquierda. Acceso rápido: {{hotkeyName}}.","mergeRight-button":"Fusionar a la derecha","mergeRight-tooltip":"Combina el segmento actualmente activo con el segmento a su izquierda. Acceso rápido: {{hotkeyName}}","mergeRight-tooltip-aria":"Combina el segmento actualmente activo con el segmento a su izquierda. Acceso rápido: {{hotkeyName}}.",zoom:"Zoom","zoomSlider-aria":"Zoom. Zoom in or out of the timeline. Hotkey for Zoom in: {{hotkeyNameIn}}. Hotkey for Zoom out: {{hotkeyNameOut}}.","zoomSlider-tooltip":"Zoom in or out of the timeline. Hotkey for Zoom in: {{hotkeyNameIn}}. Hotkey for Zoom out: {{hotkeyNameOut}}.",zoomIn:"Zoom in",zoomOut:"Zoom out"},o={previewButton:"Vista previa","previewButton-tooltip":"Salta los segmentos eliminados al reproducir el video. Actualmente {{status}}. Acceso rápido: {{hotkeyName}}","previewButton-aria":"Activa o desactiva el modo de vista previa. Tecla de acceso: {{hotkeyName}}.","playButton-tooltip":"Reproducir vídeo","pauseButton-tooltip":"Pausar vídeo",previousButton:"Atras","previousButton-tooltip":"Back. Hotkey: {{hotkeyName}}.",nextButton:"Forward","nextButton-tooltip":"Forward. Hotkey: {{hotkeyName}}.","current-time-tooltip":"Tiempo actual","time-duration-tooltip":"Duración del vídeo","duration-aria":"Duración","time-aria":"Tiempo actual","mutebutton-tooltip":"Silenciar vídeo","unmutebutton-tooltip":"Activar sonido del vídeo","volume-tooltip":"Ajustar el volumen: {{current}}%","volumeSlider-aria":"Ajustar el volumen del video.","comError-text":"Se ha producido un error al establecer comunicación con Opencast.","loadError-text":"Ocurrió un error al cargar el video.","durationError-text":"Opencast falló al proporcionar la duracion del vídeo.","title-tooltip":"Título del vídeo","presenter-tooltip":"Presentadores"},a={"save-button":"Guardar cambios","start-button":"Save and process changes","discard-button":"Descartar cambios"},r={"headline-text":"Guardar el proyecto actual","confirm-button":"Sí, guardar cambios","confirmButton-attempting-tooltip":"Intentando guardar","confirmButton-success-tooltip":"Guardado con éxito","confirmButton-failed-tooltip":"Falla al guardar","info-text":"El vídeo no será procesado, pero toda la información de corte será almacenada en Opencast. Puede continuar su edición más tarde.","success-text":"¡Cambios guardados con éxito! Ahora puede cerrar el editor o continuar trabajando.","success-tooltip-aria":"Guardado con éxito","saveArea-tooltip":"Guardar área","confirm-success":"De acuerdo","cancel-save":"No guardar"},i={"headline-text":"Descartar cambios","confirm-button":"Sí, descartar cambios","info-text":"¿Está seguro de que desea descartar los cambios? ¡Esto no se puede deshacer!"},n={"discarded-text":"Sus cambios han sido descartados. Ahora puede cerrar el editor.","startOver-button":"¡Déjame empezar de nuevo!","startOver-tooltip":"Recargar la página para empezar de nuevo","info-text":`Cambios guardados con éxito en Opencast. El procesamiento de los cambios puede tardar. Ahora puede cerrar el editor. +`},s={"saveAndProcess-text":"Guardar y procesar","selectWF-text":"Seleccione un flujo de trabajo","noWorkflows-text":`No hay ningún flujo de trabajo para procesar sus cambios. Guarde sus cambios y contacte con un administrador. +`,"oneWorkflow-text":`The changes will be saved and the video will be cut and processed with the workflow "{{workflow}}". <3/> This will take some time. +`,"manyWorkflows-text":"Seleccione qué flujo de trabajo debe usar Opencast para procesar.","startProcessing-button":"Iniciar proceso","back-button":"Llévame de vuelta","selectWF-button":"Haga clic para seleccionar este flujo de trabajo","selectWF-button-aria":`Pulsa para seleccionar el flujo de trabajo: {{stateName}} +`},l={"generateWaveform-text":"Generando forma de onda","segment-tooltip":"Segmento {{segment}}","scrubber-text-aria":`Marca de tiempo. {{currentTime}}. Segmento activo: {{segment}}. {{segmentStatus}}. Controles: {{moveLeft}} y {{moveRight}} para mover la marca de tiempo. {{increase}} y {{decrease}} para incrementar/decrementar el movimiento delta. +`,"segments-text-aria":`Segmento {{index}}. {{segmentStatus}}. Inicio: {{start}}. Final: {{end}}. +`,"cut-text-aria":`Cut marker. {{time}}. Between segment {{leftSegment}} and {{rightSegment}}. +`},u={"headline-text":"Configuración del flujo de trabajo","satisfied-text":"¿Satisfecho con su configuración?","confirm-button":"Iniciar proceso"},c={"EVENTS-EVENTS-DETAILS-CATALOG-EPISODE":"Metadatos de episodio","submit-button":"Enviar","submit-button-tooltip":"Confirmar cambios","reset-button":"Reestablecer","reset-button-tooltip":"Deshacer todos los cambios","submit-helpertext":`Haz cambios a su gusto, luego pulse el botón {{buttonName}}. +Tenga en cuenta que todavía tendrá que empezar el procesamiento para que los cambios surtan efecto.`,validation:{required:"Requerido","duration-format":"El formato debe ser HH:MM:SS",datetime:"Inválido"},labels:{title:"Título",subject:"Tema",description:"Descripción",language:"Idioma",rightsHolder:"Derechos",license:"Licencia",isPartOf:"Series",creator:"Ponente(s)",contributor:"Colaborador(es)",startDate:"Fecha de inicio",duration:"Duración",location:"Ubicación",source:"Fuente",created:"Creado el",publisher:"Editor",identifier:"UID"},language:{"LANGUAGES-SLOVENIAN":"Esloveno","LANGUAGES-PORTUGESE":"Portugués","LANGUAGES-ROMANSH":"Rumano","LANGUAGES-ARABIC":"Árabe","LANGUAGES-POLISH":"Polaco","LANGUAGES-ITALIAN":"Italiano","LANGUAGES-CHINESE":"Chino","LANGUAGES-FINNISH":"Finlandés","LANGUAGES-DANISH":"Danés","LANGUAGES-UKRAINIAN":"Ucraniano","LANGUAGES-FRENCH":"Francés","LANGUAGES-SPANISH":"Español","LANGUAGES-GERMAN_CH":"Alemán suizo","LANGUAGES-NORWEGIAN":"Noruego","LANGUAGES-RUSSIAN":"Ruso","LANGUAGES-JAPANESE":"Japonés","LANGUAGES-DUTCH":"Neerlandés","LANGUAGES-TURKISH":"Turco","LANGUAGES-HINDI":"Hindi","LANGUAGES-SWEDISH":"Sueco","LANGUAGES-ENGLISH":"Inglés","LANGUAGES-GERMAN":"Alemán"},license:{"EVENTS-LICENSE-CC0":"CC0","EVENTS-LICENSE-CCBYND":"CC BY-ND","EVENTS-LICENSE-CCBYNCND":"CC BY-NC-ND","EVENTS-LICENSE-CCBYNCSA":"CC BY-NC-SA","EVENTS-LICENSE-ALLRIGHTS":"Todos los derechos reservados","EVENTS-LICENSE-CCBYSA":"CC BY-SA","EVENTS-LICENSE-CCBYNC":"CC-BY-NC","EVENTS-LICENSE-CCBY":"CC-BY"},"calendar-prev":"Anterior","calendar-next":"Siguiente"},d={title:"Editor de miniatura",noThumbnailAvailable:"No hay miniaturas disponibles",previewImageAlt:"Miniatura de la pista",buttonGenerate:"Generar","buttonGenerate-tooltip":"Generar una nueva miniatura desde la posición actual del control deslizante","buttonGenerate-tooltip-aria":"Generar una nueva miniatura desde la posición actual del control deslizante",buttonUpload:"Cargar","buttonUpload-tooltip":"Cargar una imagen","buttonUpload-tooltip-aria":"Cargar una imagen",buttonUseForOtherThumbnails:"Usar para todas las pistas","buttonUseForOtherThumbnails-tooltip":"Usar la miniatura para todas las pistas","buttonUseForOtherThumbnails-tooltip-aria":"Usar la miniatura para todas las pistas",buttonDiscard:"Descartar","buttonDiscard-tooltip":"Descartar la miniatura de esta pista","buttonDiscard-tooltip-aria":"Descartar la miniatura de esta pista",buttonGenerateAll:"Generar todo","buttonGenerateAll-tooltip":"Generar una nueva miniatura desde la posición actual del control deslizante","buttonGenerateAll-tooltip-aria":"Generar una nueva miniatura desde la posición actual del control deslizante",explanation:"Subir o generar una miniatura para cada pista.",primary:"Primario",secondary:"Secundario"},m={rowTitle:"Cambiar miniatura",from:"desde"},p={"generic-message":"¡Un error critico ha ocurrido!",details:"Detalles: ","workflowActive-errorTitle":"No disponible temporalmente","workflowActive-errorMessage":"Este evento está siendo procesado. Por favor, espere hasta que el proceso haya terminado."},b={"main-heading":"Bienvenido al editor de vídeos","contact-admin":"Si intentas editar un vídeo específico pero estás viendo esta página, por favor contacta a tu administrador.","start-editing-1":"Para empezar a editar, especifique el parámetro ","start-editing-2":' con el "id" del paquete multimedia del vídeo que desea editar.',"link-to-documentation":"Más información sobre cómo configurar el editor de vídeo está disponible en la guía de administración en "},g={"error-details-text":`Detalles: {{errorMessage}} +`,"error-text":"Ha ocurrido un error. Por favor, espere un poco e inténtelo de nuevo.","goBack-button":"¡De ninguna manera! Volver atrás","callback-button-system":"Volver a {{system}}","callback-button-generic":"Back to previous system"},S={title:"Seleccionar la(s) pista(s) a procesar",trackInactive:"inactivo",deleteTrackText:"Eliminar pista",restoreTrackText:"Restaurar pista",cannotDeleteTrackText:"No se puede eliminar la pista",deleteTrackTooltip:"No procesar ni publicar esta pista.",restoreTrackTooltip:"Procesar y publicar esta pista.",cannotDeleteTrackTooltip:"No se puede eliminar esta pista de la publicación."},v={"selectSubtitleButton-tooltip":"Editar subtítulos para {{title}}","selectSubtitleButton-tooltip-aria":"Seleccionar {{title}} para editar subtítulos","createSubtitleButton-tooltip":"Opens a dialog for creating/uploading new subtitles","createSubtitleButton-clicked-tooltip-aria":"Contiene un diálogo para crear nuevos subtítulos","createSubtitleButton-createButton":"Crear","createSubtitleButton-createButton-tooltip":"Inicia un nuevo archivo de subtítulos con el título elegido.","createSubtitleButton-createButton-disabled-tooltip":"Por favor, elige un idioma del menú desplegable.","createSubtitleDropdown-label":"Seleccione un idioma",backButton:"Atras","backButton-tooltip":"Volver a la selección de subtítulos","downloadButton-title":"Descargar","downloadButton-tooltip":"Descargar subtítulo como un archivo vtt","uploadButton-title":"Cargar","uploadButton-tooltip":"Upload subtitle as vtt file","uploadButton-warning-header":"Caution!","uploadButton-warning":"Uploading will overwrite the current subtitle. This cannot be undone. Are you sure?","uploadButton-error":"Upload failed.","uploadButton-error-filetype":"Wrong file type.","uploadButton-error-parse":"Could not parse subtitle file. Please ensure that the file contains valid WebVTT.",editTitle:"Editor de subtítulos - {{title}}","editTitle-loading":"Cargando",generic:"Generico",autoGenerated:"Autogenerado"},A={"startTime-tooltip":"Inicio del segmento","startTime-tooltip-aria":"A partir de","endTime-tooltip":"Fin del segmento","endTime-tooltip-aria":"Finaliza en",addSegmentAbove:"Añadir segmento arriba",addSegmentBelow:"Añadir segmento debajo",jumpToSegmentAbove:"Saltar al segmento superior",jumpToSegmentBelow:"Saltar al segmento inferior",deleteSegment:"Eliminar segmento"},N={selectVideoLabel:"Sabores del vídeo"},E={overviewTimelineTooltip:"Previsualización de la línea de tiempo"},h={header:"Atajos",defaultGroupName:"General",missingLabel:"Desconocido",groupVideoPlayer:"Reproductor de vídeo",groupCuttingView:"Dividir",groupCuttingViewScrubber:"Línea de tiempo",groupSubtitleList:"Subtítulos",sequenceSeparator:"o",genericError:"Error al cargar la vista general",videoPlayButton:"Reproducir/Pausar vídeo",scrubberLeft:"Mover a la izquierda",scrubberRight:"Mover a la derecha",scrubberIncrease:"Mover más rápido",scrubberDecrease:"Mover más lento"},C={appearance:"Apariencia",dark:"Oscuro",light:"Claro",auto:"Auto","dark-high-contrast":"Oscuro (alto contraste)","light-high-contrast":"Claro (alto contraste)"},f={language:"Idioma"},G={areYouSure:"Are you sure?",cancel:"Cancel",close:"Close",confirm:"Confirm"},k={mainMenu:e,cuttingActions:t,video:o,finishMenu:a,save:r,discard:i,theEnd:n,workflowSelection:s,timeline:l,workflowConfig:u,metadata:c,thumbnail:d,thumbnailSimple:m,error:p,landing:b,various:g,trackSelection:S,subtitles:v,subtitleList:A,subtitleVideoArea:N,subtitleTimeline:E,keyboardControls:h,theme:C,language:f,modal:G};export{t as cuttingActions,k as default,i as discard,p as error,a as finishMenu,h as keyboardControls,b as landing,f as language,e as mainMenu,c as metadata,G as modal,r as save,A as subtitleList,E as subtitleTimeline,N as subtitleVideoArea,v as subtitles,n as theEnd,C as theme,d as thumbnail,m as thumbnailSimple,l as timeline,S as trackSelection,g as various,o as video,u as workflowConfig,s as workflowSelection}; diff --git a/1419/2024-07-10_12-10-53/assets/fr-FR-C_TZ4bfC.js b/1419/2024-07-10_12-10-53/assets/fr-FR-C_TZ4bfC.js new file mode 100644 index 00000000..177e346a --- /dev/null +++ b/1419/2024-07-10_12-10-53/assets/fr-FR-C_TZ4bfC.js @@ -0,0 +1,10 @@ +const e={"cutting-button":"Editer","finish-button":"Terminer","select-tracks-button":"Pistes","subtitles-button":"Subtitles","thumbnail-button":"Image de prévisualisation","metadata-button":"Metadonnées","keyboard-controls-button":"Controles clavier","tooltip-aria":"Navigation principale"},t={"cut-button":"Couper","cut-tooltip":"Split the segment at the current timeline marker position. Hotkey: {{hotkeyName}}","cut-tooltip-aria":"Cut. Split the segment at the current timeline marker position. Hotkey: {{hotkeyName}}.","delete-button":"Supprimer","delete-restore-tooltip":"Sélectionner ou désélectionner un segment à la position actuelle pour suppression. Raccourci : {{hotkeyName}}","delete-restore-tooltip-aria":"Delete and Restore. Mark or unmark the segment at the current position as to be deleted. Hotkey: {{hotkeyName}}.","merge-all-button":"Merge All","merge-all-tooltip":"Combine all segments into a single segment.","merge-all-tooltip-aria":"Merge All. Combine all segments into a single segment.","restore-button":"Restaurer","mergeLeft-button":"Fusionner à gauche","mergeLeft-tooltip":"Combine le segment actif avec le segment à sa gauche. Raccourci : {{hotkeyName}}","mergeLeft-tooltip-aria":"Fusionner à gauche. Combiner le segment actif avec le segment à gauche. Raccourci : {{hotkeyName}}.","mergeRight-button":"Fusionner à droite","mergeRight-tooltip":"Combine le segment actif avec le segment à sa droite. Raccourci : {{hotkeyName}}","mergeRight-tooltip-aria":"Fusionner à droite. Combiner le segment actif avec le segment à droite. Raccourci : {{hotkeyName}}.",zoom:"Zoom","zoomSlider-aria":"Zoom. Zoom in or out of the timeline. Hotkey for Zoom in: {{hotkeyNameIn}}. Hotkey for Zoom out: {{hotkeyNameOut}}.","zoomSlider-tooltip":"Zoom in or out of the timeline. Hotkey for Zoom in: {{hotkeyNameIn}}. Hotkey for Zoom out: {{hotkeyNameOut}}.",zoomIn:"Zoom in",zoomOut:"Zoom out"},o={previewButton:"Mode aperçu","previewButton-tooltip":"Ignore les segments supprimés lors de la lecture de la vidéo. Actuellement {{status}}. Raccourci : {{hotkeyName}}","previewButton-aria":"Activer ou désactiver le mode aperçu. Raccourci clavier : {{hotkeyName}}.","playButton-tooltip":"Play video","pauseButton-tooltip":"Pause video",previousButton:"Back","previousButton-tooltip":"Back. Hotkey: {{hotkeyName}}.",nextButton:"Forward","nextButton-tooltip":"Forward. Hotkey: {{hotkeyName}}.","current-time-tooltip":"Temps actuel","time-duration-tooltip":"Video duration","duration-aria":"Durée","time-aria":"Temps actuel","mutebutton-tooltip":"Mute video","unmutebutton-tooltip":"Unmute video","volume-tooltip":"Adjust volume: {{current}}%","volumeSlider-aria":"Adjust the volume level of the video.","comError-text":"Un problème est survenu lors de la communication avec Opencast.","loadError-text":"Une erreur s'est produite lors du chargement de cette vidéo.","durationError-text":"Opencast failed to provide the video duration.","title-tooltip":"Titre de la vidéo","presenter-tooltip":"Présentateurs vidéo"},i={"save-button":"Enregistrer les modifications","start-button":"Save and process changes","discard-button":"Ignorer les modifications"},r={"headline-text":"Enregtistrer le projet actuel","confirm-button":"Oui, enregistrer les modifications","confirmButton-attempting-tooltip":"Tentative de sauvegarde","confirmButton-success-tooltip":"Sauvegarde réussie","confirmButton-failed-tooltip":"Echec de l'enregistrement","info-text":"La vidéo ne sera pas traitée mais toutes les informations de coupe seront stockées dans Opencast. Vous pouvez continuer votre modification plus tard.","success-text":"Changes saved successfully! You can now close the editor or continue working.","success-tooltip-aria":"Sauvegarde réussie","saveArea-tooltip":"Enregistrer la zone","confirm-success":"Okay","cancel-save":"Don't save"},n={"headline-text":"Ignorer les modifications","confirm-button":"Oui, ignorer les modifications","info-text":"Are you sure you want to discard your changes? This cannot be undone!"},a={"discarded-text":"Your changes have been discarded. You can now close the editor.","startOver-button":"Laissez-moi recommencer!","startOver-tooltip":"Rechargez la page pour réessayer","info-text":`Changements enregistrés avec succès sur Opencast. Le traitement de vos modifications peut prendre un certain temps donc soyez patient. Vous pouvez maintenant fermer l'éditeur. +`},s={"saveAndProcess-text":"Enregistrer et traiter","selectWF-text":"Sélectionnez workflow","noWorkflows-text":`There are no workflows to process your changes with. Please save your changes and contact an administrator. +`,"oneWorkflow-text":`The changes will be saved and the video will be cut and processed with the workflow "{{workflow}}". <3/> This will take some time. +`,"manyWorkflows-text":"Sélectionnez quel workflow Opencast doit utiliser pour le traitement.","startProcessing-button":"Démarrer le traitement","back-button":"Revenir en arrière","selectWF-button":"Cliquez pour sélectionner ce workflow","selectWF-button-aria":`Appuyez pour sélectionner le flux de travail : {{stateName}} +`},l={"generateWaveform-text":"Génaration du Waveform","segment-tooltip":"Segment {{segment}}","scrubber-text-aria":`Timeline marker. {{currentTime}}. Active segment: {{segment}}. {{segmentStatus}}. Controls: {{moveLeft}} and {{moveRight}} to move the timeline marker. {{increase}} and {{decrease}} to increase/decrease the move delta. +`,"segments-text-aria":`Segment {{index}}. {{segmentStatus}}. Début : {{start}}. Fin : {{end}}. +`,"cut-text-aria":`Cut marker. {{time}}. Between segment {{leftSegment}} and {{rightSegment}}. +`},u={"headline-text":"Configuration du workflow","satisfied-text":"Satisfait de votre configuration ?","confirm-button":"Oui, commencer le traitement"},c={"EVENTS-EVENTS-DETAILS-CATALOG-EPISODE":"Métadonnées de l’épisode","submit-button":"Envoyer","submit-button-tooltip":"Valider les modifications","reset-button":"Réinitialiser","reset-button-tooltip":"Annuler tous les changements","submit-helpertext":`Faites des changements comme vous le souhaitez, puis cliquez sur le bouton {{buttonName}} . +Notez que vous devrez quand même commencer à traiter pour que vos changements prennent effet.`,validation:{required:"Requis","duration-format":"Le format doit être HH:MM:SS",datetime:"Invalide"},labels:{title:"Titre",subject:"Sujet",description:"Description",language:"Langue",rightsHolder:"Droits",license:"Licence",isPartOf:"Séries",creator:"Présentateur(s)",contributor:"Contributeur(s)",startDate:"Date de début ",duration:"Durée",location:"Lieu",source:"Source",created:"Créé le",publisher:"Editeur",identifier:"UID"},language:{"LANGUAGES-SLOVENIAN":"Slovaque","LANGUAGES-PORTUGESE":"Portuguese","LANGUAGES-ROMANSH":"Romanche","LANGUAGES-ARABIC":"Arabe","LANGUAGES-POLISH":"Polonais","LANGUAGES-ITALIAN":"Italien","LANGUAGES-CHINESE":"Chinois","LANGUAGES-FINNISH":"Finnois","LANGUAGES-DANISH":"Danois","LANGUAGES-UKRAINIAN":"Ukrainien","LANGUAGES-FRENCH":"Français","LANGUAGES-SPANISH":"Espagnol","LANGUAGES-GERMAN_CH":"Suisse-allemand","LANGUAGES-NORWEGIAN":"Norvégien","LANGUAGES-RUSSIAN":"Russe","LANGUAGES-JAPANESE":"Japonais","LANGUAGES-DUTCH":"Néerlandais","LANGUAGES-TURKISH":"Turc","LANGUAGES-HINDI":"Hindi","LANGUAGES-SWEDISH":"Suédois","LANGUAGES-ENGLISH":"Anglais","LANGUAGES-GERMAN":"Allemand"},license:{"EVENTS-LICENSE-CC0":"CC0","EVENTS-LICENSE-CCBYND":"CC BY-ND","EVENTS-LICENSE-CCBYNCND":"CC BY-NC-ND","EVENTS-LICENSE-CCBYNCSA":"CC BY-NC-SA","EVENTS-LICENSE-ALLRIGHTS":"Tous droits réservés","EVENTS-LICENSE-CCBYSA":"CC BY-SA","EVENTS-LICENSE-CCBYNC":"CC-BY-NC","EVENTS-LICENSE-CCBY":"CC BY"},"calendar-prev":"Previous","calendar-next":"Next"},d={title:"Thumbnail Editor",noThumbnailAvailable:"No Thumbnail available",previewImageAlt:"Thumbnail for track",buttonGenerate:"Generate","buttonGenerate-tooltip":"Generate a new thumbnail from the current timeline marker position","buttonGenerate-tooltip-aria":"Generate a new thumbnail from the current timeline marker position",buttonUpload:"Upload","buttonUpload-tooltip":"Upload an image","buttonUpload-tooltip-aria":"Upload an image",buttonUseForOtherThumbnails:"Use for all tracks","buttonUseForOtherThumbnails-tooltip":"Use the thumbnail for all tracks","buttonUseForOtherThumbnails-tooltip-aria":"Use the thumbnail for all tracks",buttonDiscard:"Discard","buttonDiscard-tooltip":"Discard the thumbnail for this track","buttonDiscard-tooltip-aria":"Discard the thumbnail for this track",buttonGenerateAll:"Generate All","buttonGenerateAll-tooltip":"Generate new thumbnails for all tracks from the current timeline marker position","buttonGenerateAll-tooltip-aria":"Generate new thumbnails for all tracks from the current timeline marker position",explanation:"Upload or generate a thumbnail for each track.",primary:"Primary",secondary:"Secondary"},m={rowTitle:"Change thumbnail here",from:"from"},p={"generic-message":"Une erreur critique s'est produite.",details:"Détails : ","workflowActive-errorTitle":"Temporairement indisponible","workflowActive-errorMessage":"This event is being processed. Please wait until the process is finished."},g={"main-heading":"Bienvenue dans l'éditeur de vidéo","contact-admin":"Si vous essayez de modifier une vidéo spécifique mais que vous voyez cette page, veuillez contacter votre administrateur.","start-editing-1":"Pour commencer à éditer, spécifiez le paramètre ","start-editing-2":" avec l'identifiant du média de la vidéo que vous souhaitez modifier.","link-to-documentation":"Plus d'informations sur la configuration de l'éditeur de vidéo sont disponibles dans le guide d'administration à "},b={"error-details-text":`Détails : {{errorMessage}} +`,"error-text":"Une erreur s\\'est produite. Veuillez réessayer.","goBack-button":"Non, laissez-moi revenir en arrière.","callback-button-system":"Back to {{system}}","callback-button-generic":"Back to previous system"},h={title:"Select track(s) for processing",trackInactive:"inactif",deleteTrackText:"Supprimer la piste",restoreTrackText:"Restaurer la piste",cannotDeleteTrackText:"Impossible de supprimer la piste",deleteTrackTooltip:"Ne pas encoder et publier cette piste.",restoreTrackTooltip:"Encoder et publier cette piste.",cannotDeleteTrackTooltip:"Impossible de supprimer cette piste de la publication."},v={"selectSubtitleButton-tooltip":"Edit subtitles for {{title}}","selectSubtitleButton-tooltip-aria":"Select {{title}} for subtitle editing","createSubtitleButton-tooltip":"Opens a dialog for creating/uploading new subtitles","createSubtitleButton-clicked-tooltip-aria":"Contains a dialog for creating new subtitles","createSubtitleButton-createButton":"Create","createSubtitleButton-createButton-tooltip":"Start a new subtitle file with the chosen title.","createSubtitleButton-createButton-disabled-tooltip":"Please pick a language from the dropdown above.","createSubtitleDropdown-label":"Pick a language",backButton:"Back","backButton-tooltip":"Return to subtitle selection","downloadButton-title":"Download","downloadButton-tooltip":"Download subtitle as vtt file","uploadButton-title":"Upload","uploadButton-tooltip":"Upload subtitle as vtt file","uploadButton-warning-header":"Caution!","uploadButton-warning":"Uploading will overwrite the current subtitle. This cannot be undone. Are you sure?","uploadButton-error":"Upload failed.","uploadButton-error-filetype":"Wrong file type.","uploadButton-error-parse":"Could not parse subtitle file. Please ensure that the file contains valid WebVTT.",editTitle:"Subtitle Editor - {{title}}","editTitle-loading":"Loading",generic:"Generic",autoGenerated:"Auto-generated"},S={"startTime-tooltip":"Beginning of the segment","startTime-tooltip-aria":"Beginning at","endTime-tooltip":"End of the segment","endTime-tooltip-aria":"Ending at",addSegmentAbove:"Add segment above",addSegmentBelow:"Add segment below",jumpToSegmentAbove:"Jump to segment above",jumpToSegmentBelow:"Jump to segment below",deleteSegment:"Delete segment"},f={selectVideoLabel:"Video Flavors"},A={overviewTimelineTooltip:"Timeline overview"},k={header:"Shortcuts",defaultGroupName:"Général",missingLabel:"Inconnu",groupVideoPlayer:"Video Player",groupCuttingView:"Editer",groupCuttingViewScrubber:"Timeline",groupSubtitleList:"Subtitles",sequenceSeparator:"or",genericError:"Impossible de charger l'aperçu",videoPlayButton:"Lecture/Pause de la vidéo",scrubberLeft:"Déplacer vers la gauche",scrubberRight:"Déplacer vers la droite",scrubberIncrease:"Move faster",scrubberDecrease:"Déplacement plus lent"},N={appearance:"Appearance",dark:"Dark",light:"Light",auto:"Auto","dark-high-contrast":"Dark (High contrast)","light-high-contrast":"Light (High contrast)"},E={language:"Langue"},C={areYouSure:"Are you sure?",cancel:"Cancel",close:"Close",confirm:"Confirm"},w={mainMenu:e,cuttingActions:t,video:o,finishMenu:i,save:r,discard:n,theEnd:a,workflowSelection:s,timeline:l,workflowConfig:u,metadata:c,thumbnail:d,thumbnailSimple:m,error:p,landing:g,various:b,trackSelection:h,subtitles:v,subtitleList:S,subtitleVideoArea:f,subtitleTimeline:A,keyboardControls:k,theme:N,language:E,modal:C};export{t as cuttingActions,w as default,n as discard,p as error,i as finishMenu,k as keyboardControls,g as landing,E as language,e as mainMenu,c as metadata,C as modal,r as save,S as subtitleList,A as subtitleTimeline,f as subtitleVideoArea,v as subtitles,a as theEnd,N as theme,d as thumbnail,m as thumbnailSimple,l as timeline,h as trackSelection,b as various,o as video,u as workflowConfig,s as workflowSelection}; diff --git a/1419/2024-07-10_12-10-53/assets/index-BKNHBDGD.css b/1419/2024-07-10_12-10-53/assets/index-BKNHBDGD.css new file mode 100644 index 00000000..71c19e1e --- /dev/null +++ b/1419/2024-07-10_12-10-53/assets/index-BKNHBDGD.css @@ -0,0 +1 @@ +body,textarea,input{margin:0;font-family:Roboto Flex Variable,Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}html,body,#root,.App{height:100%}.react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+);background-position:bottom right;padding:0 3px 3px 0}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-resizable-handle-w,.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/1419/2024-07-10_12-10-53/assets/roboto-flex-cyrillic-ext-wght-normal-DRTNI9VV.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/1419/2024-07-10_12-10-53/assets/roboto-flex-cyrillic-wght-normal-C9LxQtoz.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/1419/2024-07-10_12-10-53/assets/roboto-flex-greek-wght-normal-DeN4rzfy.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/1419/2024-07-10_12-10-53/assets/roboto-flex-vietnamese-wght-normal-Dfb42xSH.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/1419/2024-07-10_12-10-53/assets/roboto-flex-latin-ext-wght-normal-DdIPVSJ2.woff2) format("woff2-variations");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/1419/2024-07-10_12-10-53/assets/roboto-flex-latin-wght-normal-C2pcyVKb.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}html[data-color-scheme=light],html:not([data-color-scheme]){--color-neutral00: #ffffff;--color-neutral05: #fefefe;--color-neutral10: #f3f3f3;--color-neutral15: #e8e8e8;--color-neutral20: #dddddd;--color-neutral25: #d1d1d1;--color-neutral30: #c1c1c1;--color-neutral40: #a3a3a3;--color-neutral50: #777777;--color-neutral60: #575757;--color-neutral70: #404040;--color-neutral80: #2a2a2a;--color-neutral90: #181818;--color-danger0: #feedeb;--color-danger0-bw-inverted: #000;--color-danger1: #ffd2cd;--color-danger1-bw-inverted: #000;--color-danger2: #feaba1;--color-danger2-bw-inverted: #000;--color-danger4: #c22a2c;--color-danger4-bw-inverted: #fff;--color-danger5: #880e11;--color-danger5-bw-inverted: #fff;--color-accent9: #044a81;--color-accent9-bw-inverted: #fff;--color-accent8: #215D99;--color-accent8-bw-inverted: #fff;--color-accent7: #3073B8;--color-accent7-bw-inverted: #fff;--color-accent6: #3E8AD8;--color-accent6-bw-inverted: #000;--color-accent5: #4DA1F7;--color-accent5-bw-inverted: #000;--color-accent4: #71B4F9;--color-accent4-bw-inverted: #000;--color-focus: #215D99;color-scheme:light}html[data-color-scheme=dark]{--color-neutral00: #111111;--color-neutral05: #171717;--color-neutral10: #1e1e1e;--color-neutral15: #262626;--color-neutral20: #2e2e2e;--color-neutral25: #373737;--color-neutral30: #3f3f3f;--color-neutral40: #4d4d4d;--color-neutral50: #676767;--color-neutral60: #868686;--color-neutral70: #969696;--color-neutral80: #a6a6a6;--color-neutral90: #c4c4c4;--color-danger0: #361314;--color-danger0-bw-inverted: #fff;--color-danger1: #462522;--color-danger1-bw-inverted: #fff;--color-danger2: #712f2a;--color-danger2-bw-inverted: #fff;--color-danger4: #f2685b;--color-danger4-bw-inverted: #000;--color-danger5: #ff9581;--color-danger5-bw-inverted: #000;--color-accent9: #85ace3;--color-accent9-bw-inverted: #000;--color-accent8: #7da4db;--color-accent8-bw-inverted: #000;--color-accent7: #588ccd;--color-accent7-bw-inverted: #000;--color-accent6: #1f72ba;--color-accent6-bw-inverted: #fff;--color-accent5: #1c619e;--color-accent5-bw-inverted: #fff;--color-accent4: #195483;--color-accent4-bw-inverted: #fff;--color-focus: #B8D9FC;color-scheme:dark}html[data-color-scheme=light-high-contrast]{--color-neutral00: #fff;--color-neutral05: #fff;--color-neutral10: #fff;--color-neutral15: #fff;--color-neutral20: #000;--color-neutral25: #000;--color-neutral30: #000;--color-neutral40: #000;--color-neutral50: #000;--color-neutral60: #000;--color-neutral70: #000;--color-neutral80: #000;--color-neutral90: #000;--color-danger0: #fff;--color-danger0-bw-inverted: #000;--color-danger1: #fff;--color-danger1-bw-inverted: #000;--color-danger2: #a50613;--color-danger2-bw-inverted: #fff;--color-danger4: #a50613;--color-danger4-bw-inverted: #fff;--color-danger5: #a50613;--color-danger5-bw-inverted: #fff;--color-accent9: #000099;--color-accent9-bw-inverted: #fff;--color-accent8: #000099;--color-accent8-bw-inverted: #fff;--color-accent7: #000099;--color-accent7-bw-inverted: #fff;--color-accent6: #000099;--color-accent6-bw-inverted: #fff;--color-accent5: #000099;--color-accent5-bw-inverted: #fff;--color-accent4: #000099;--color-accent4-bw-inverted: #fff;--color-focus: #000099;color-scheme:light}html[data-color-scheme=dark-high-contrast]{--color-neutral00: #000;--color-neutral05: #000;--color-neutral10: #000;--color-neutral15: #000;--color-neutral20: #fff;--color-neutral25: #fff;--color-neutral30: #fff;--color-neutral40: #fff;--color-neutral50: #fff;--color-neutral60: #fff;--color-neutral70: #fff;--color-neutral80: #fff;--color-neutral90: #fff;--color-danger0: #000;--color-danger0-bw-inverted: #fff;--color-danger1: #000;--color-danger1-bw-inverted: #fff;--color-danger2: #ff9581;--color-danger2-bw-inverted: #000;--color-danger4: #ff9581;--color-danger4-bw-inverted: #000;--color-danger5: #ff9581;--color-danger5-bw-inverted: #000;--color-accent9: #a6ffea;--color-accent9-bw-inverted: #000;--color-accent8: #a6ffea;--color-accent8-bw-inverted: #000;--color-accent7: #a6ffea;--color-accent7-bw-inverted: #000;--color-accent6: #a6ffea;--color-accent6-bw-inverted: #000;--color-accent5: #a6ffea;--color-accent5-bw-inverted: #000;--color-accent4: #a6ffea;--color-accent4-bw-inverted: #000;--color-focus: #a6ffea;color-scheme:dark} diff --git a/1419/2024-07-10_12-10-53/assets/index-DT3fEJlv.js b/1419/2024-07-10_12-10-53/assets/index-DT3fEJlv.js new file mode 100644 index 00000000..ae5bf7d9 --- /dev/null +++ b/1419/2024-07-10_12-10-53/assets/index-DT3fEJlv.js @@ -0,0 +1,417 @@ +var g_=Object.defineProperty;var v_=($,_e,et)=>_e in $?g_($,_e,{enumerable:!0,configurable:!0,writable:!0,value:et}):$[_e]=et;var Fu=($,_e,et)=>v_($,typeof _e!="symbol"?_e+"":_e,et);function _mergeNamespaces($,_e){for(var et=0;et<_e.length;et++){const tt=_e[et];if(typeof tt!="string"&&!Array.isArray(tt)){for(const nt in tt)if(nt!=="default"&&!(nt in $)){const rt=Object.getOwnPropertyDescriptor(tt,nt);rt&&Object.defineProperty($,nt,rt.get?rt:{enumerable:!0,get:()=>tt[nt]})}}}return Object.freeze(Object.defineProperty($,Symbol.toStringTag,{value:"Module"}))}(function(){const _e=document.createElement("link").relList;if(_e&&_e.supports&&_e.supports("modulepreload"))return;for(const nt of document.querySelectorAll('link[rel="modulepreload"]'))tt(nt);new MutationObserver(nt=>{for(const rt of nt)if(rt.type==="childList")for(const ot of rt.addedNodes)ot.tagName==="LINK"&&ot.rel==="modulepreload"&&tt(ot)}).observe(document,{childList:!0,subtree:!0});function et(nt){const rt={};return nt.integrity&&(rt.integrity=nt.integrity),nt.referrerPolicy&&(rt.referrerPolicy=nt.referrerPolicy),nt.crossOrigin==="use-credentials"?rt.credentials="include":nt.crossOrigin==="anonymous"?rt.credentials="omit":rt.credentials="same-origin",rt}function tt(nt){if(nt.ep)return;nt.ep=!0;const rt=et(nt);fetch(nt.href,rt)}})();var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};function getDefaultExportFromCjs($){return $&&$.__esModule&&Object.prototype.hasOwnProperty.call($,"default")?$.default:$}function getAugmentedNamespace($){if($.__esModule)return $;var _e=$.default;if(typeof _e=="function"){var et=function tt(){return this instanceof tt?Reflect.construct(_e,arguments,this.constructor):_e.apply(this,arguments)};et.prototype=_e.prototype}else et={};return Object.defineProperty(et,"__esModule",{value:!0}),Object.keys($).forEach(function(tt){var nt=Object.getOwnPropertyDescriptor($,tt);Object.defineProperty(et,tt,nt.get?nt:{enumerable:!0,get:function(){return $[tt]}})}),et}var jsxRuntime={exports:{}},reactJsxRuntime_production_min={},react={exports:{}},react_production_min={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var l$7=Symbol.for("react.element"),n$8=Symbol.for("react.portal"),p$7=Symbol.for("react.fragment"),q$5=Symbol.for("react.strict_mode"),r$8=Symbol.for("react.profiler"),t$5=Symbol.for("react.provider"),u$3=Symbol.for("react.context"),v$5=Symbol.for("react.forward_ref"),w$2=Symbol.for("react.suspense"),x$1=Symbol.for("react.memo"),y$1=Symbol.for("react.lazy"),z$2=Symbol.iterator;function A$2($){return $===null||typeof $!="object"?null:($=z$2&&$[z$2]||$["@@iterator"],typeof $=="function"?$:null)}var B$1={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C$1=Object.assign,D$1={};function E$1($,_e,et){this.props=$,this.context=_e,this.refs=D$1,this.updater=et||B$1}E$1.prototype.isReactComponent={};E$1.prototype.setState=function($,_e){if(typeof $!="object"&&typeof $!="function"&&$!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,$,_e,"setState")};E$1.prototype.forceUpdate=function($){this.updater.enqueueForceUpdate(this,$,"forceUpdate")};function F(){}F.prototype=E$1.prototype;function G$1($,_e,et){this.props=$,this.context=_e,this.refs=D$1,this.updater=et||B$1}var H$1=G$1.prototype=new F;H$1.constructor=G$1;C$1(H$1,E$1.prototype);H$1.isPureReactComponent=!0;var I$1=Array.isArray,J=Object.prototype.hasOwnProperty,K$1={current:null},L$1={key:!0,ref:!0,__self:!0,__source:!0};function M$1($,_e,et){var tt,nt={},rt=null,ot=null;if(_e!=null)for(tt in _e.ref!==void 0&&(ot=_e.ref),_e.key!==void 0&&(rt=""+_e.key),_e)J.call(_e,tt)&&!L$1.hasOwnProperty(tt)&&(nt[tt]=_e[tt]);var it=arguments.length-2;if(it===1)nt.children=et;else if(10?charat(characters,--position):0,column--,character===10&&(column=1,line--),character}function next(){return character=position2||token(character)>3?"":" "}function escaping($,_e){for(;--_e&&next()&&!(character<48||character>102||character>57&&character<65||character>70&&character<97););return slice$2($,caret()+(_e<6&&peek$1()==32&&next()==32))}function delimiter($){for(;next();)switch(character){case $:return position;case 34:case 39:$!==34&&$!==39&&delimiter(character);break;case 40:$===41&&delimiter($);break;case 92:next();break}return position}function commenter($,_e){for(;next()&&$+character!==57;)if($+character===84&&peek$1()===47)break;return"/*"+slice$2(_e,position-1)+"*"+from($===47?$:next())}function identifier($){for(;!token(peek$1());)next();return slice$2($,position)}function compile($){return dealloc(parse$1("",null,null,null,[""],$=alloc($),0,[0],$))}function parse$1($,_e,et,tt,nt,rt,ot,it,st){for(var at=0,ut=0,ft=ot,dt=0,pt=0,ht=0,gt=1,yt=1,vt=1,St=0,Tt="",$t=nt,bt=rt,Ot=tt,Et=Tt;yt;)switch(ht=St,St=next()){case 40:if(ht!=108&&charat(Et,ft-1)==58){indexof(Et+=replace(delimit(St),"&","&\f"),"&\f")!=-1&&(vt=-1);break}case 34:case 39:case 91:Et+=delimit(St);break;case 9:case 10:case 13:case 32:Et+=whitespace(ht);break;case 92:Et+=escaping(caret()-1,7);continue;case 47:switch(peek$1()){case 42:case 47:append(comment(commenter(next(),caret()),_e,et),st);break;default:Et+="/"}break;case 123*gt:it[at++]=strlen(Et)*vt;case 125*gt:case 59:case 0:switch(St){case 0:case 125:yt=0;case 59+ut:vt==-1&&(Et=replace(Et,/\f/g,"")),pt>0&&strlen(Et)-ft&&append(pt>32?declaration(Et+";",tt,et,ft-1):declaration(replace(Et," ","")+";",tt,et,ft-2),st);break;case 59:Et+=";";default:if(append(Ot=ruleset(Et,_e,et,at,ut,nt,it,Tt,$t=[],bt=[],ft),rt),St===123)if(ut===0)parse$1(Et,_e,Ot,Ot,$t,rt,ft,it,bt);else switch(dt===99&&charat(Et,3)===110?100:dt){case 100:case 108:case 109:case 115:parse$1($,Ot,Ot,tt&&append(ruleset($,Ot,Ot,0,0,nt,it,Tt,nt,$t=[],ft),bt),nt,bt,ft,it,tt?$t:bt);break;default:parse$1(Et,Ot,Ot,Ot,[""],bt,0,it,bt)}}at=ut=pt=0,gt=vt=1,Tt=Et="",ft=ot;break;case 58:ft=1+strlen(Et),pt=ht;default:if(gt<1){if(St==123)--gt;else if(St==125&>++==0&&prev()==125)continue}switch(Et+=from(St),St*gt){case 38:vt=ut>0?1:(Et+="\f",-1);break;case 44:it[at++]=(strlen(Et)-1)*vt,vt=1;break;case 64:peek$1()===45&&(Et+=delimit(next())),dt=peek$1(),ut=ft=strlen(Tt=Et+=identifier(caret())),St++;break;case 45:ht===45&&strlen(Et)==2&&(gt=0)}}return rt}function ruleset($,_e,et,tt,nt,rt,ot,it,st,at,ut){for(var ft=nt-1,dt=nt===0?rt:[""],pt=sizeof(dt),ht=0,gt=0,yt=0;ht0?dt[vt]+" "+St:replace(St,/&\f/g,dt[vt])))&&(st[yt++]=Tt);return node$1($,_e,et,nt===0?RULESET:it,st,at,ut)}function comment($,_e,et){return node$1($,_e,et,COMMENT,from(char()),substr($,2,-2),0)}function declaration($,_e,et,tt){return node$1($,_e,et,DECLARATION,substr($,0,tt),substr($,tt+1,-1),tt)}function serialize($,_e){for(var et="",tt=sizeof($),nt=0;nt6)switch(charat($,_e+1)){case 109:if(charat($,_e+4)!==45)break;case 102:return replace($,/(.+:)(.+)-([^]+)/,"$1"+WEBKIT+"$2-$3$1"+MOZ+(charat($,_e+3)==108?"$3":"$2-$3"))+$;case 115:return~indexof($,"stretch")?prefix(replace($,"stretch","fill-available"),_e)+$:$}break;case 4949:if(charat($,_e+1)!==115)break;case 6444:switch(charat($,strlen($)-3-(~indexof($,"!important")&&10))){case 107:return replace($,":",":"+WEBKIT)+$;case 101:return replace($,/(.+:)([^;!]+)(;|!.+)?/,"$1"+WEBKIT+(charat($,14)===45?"inline-":"")+"box$3$1"+WEBKIT+"$2$3$1"+MS+"$2box$3")+$}break;case 5936:switch(charat($,_e+11)){case 114:return WEBKIT+$+MS+replace($,/[svh]\w+-[tblr]{2}/,"tb")+$;case 108:return WEBKIT+$+MS+replace($,/[svh]\w+-[tblr]{2}/,"tb-rl")+$;case 45:return WEBKIT+$+MS+replace($,/[svh]\w+-[tblr]{2}/,"lr")+$}return WEBKIT+$+MS+$+$}return $}var prefixer=function(_e,et,tt,nt){if(_e.length>-1&&!_e.return)switch(_e.type){case DECLARATION:_e.return=prefix(_e.value,_e.length);break;case KEYFRAMES:return serialize([copy$1(_e,{value:replace(_e.value,"@","@"+WEBKIT)})],nt);case RULESET:if(_e.length)return combine(_e.props,function(rt){switch(match$2(rt,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return serialize([copy$1(_e,{props:[replace(rt,/:(read-\w+)/,":"+MOZ+"$1")]})],nt);case"::placeholder":return serialize([copy$1(_e,{props:[replace(rt,/:(plac\w+)/,":"+WEBKIT+"input-$1")]}),copy$1(_e,{props:[replace(rt,/:(plac\w+)/,":"+MOZ+"$1")]}),copy$1(_e,{props:[replace(rt,/:(plac\w+)/,MS+"input-$1")]})],nt)}return""})}},defaultStylisPlugins=[prefixer],createCache=function(_e){var et=_e.key;if(et==="css"){var tt=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(tt,function(gt){var yt=gt.getAttribute("data-emotion");yt.indexOf(" ")!==-1&&(document.head.appendChild(gt),gt.setAttribute("data-s",""))})}var nt=_e.stylisPlugins||defaultStylisPlugins,rt={},ot,it=[];ot=_e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+et+' "]'),function(gt){for(var yt=gt.getAttribute("data-emotion").split(" "),vt=1;vt=4;++tt,nt-=4)et=$.charCodeAt(tt)&255|($.charCodeAt(++tt)&255)<<8|($.charCodeAt(++tt)&255)<<16|($.charCodeAt(++tt)&255)<<24,et=(et&65535)*1540483477+((et>>>16)*59797<<16),et^=et>>>24,_e=(et&65535)*1540483477+((et>>>16)*59797<<16)^(_e&65535)*1540483477+((_e>>>16)*59797<<16);switch(nt){case 3:_e^=($.charCodeAt(tt+2)&255)<<16;case 2:_e^=($.charCodeAt(tt+1)&255)<<8;case 1:_e^=$.charCodeAt(tt)&255,_e=(_e&65535)*1540483477+((_e>>>16)*59797<<16)}return _e^=_e>>>13,_e=(_e&65535)*1540483477+((_e>>>16)*59797<<16),((_e^_e>>>15)>>>0).toString(36)}var unitlessKeys={animationIterationCount:1,aspectRatio: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},hyphenateRegex=/[A-Z]|^ms/g,animationRegex=/_EMO_([^_]+?)_([^]*?)_EMO_/g,isCustomProperty=function(_e){return _e.charCodeAt(1)===45},isProcessableValue=function(_e){return _e!=null&&typeof _e!="boolean"},processStyleName=memoize$2(function($){return isCustomProperty($)?$:$.replace(hyphenateRegex,"-$&").toLowerCase()}),processStyleValue=function(_e,et){switch(_e){case"animation":case"animationName":if(typeof et=="string")return et.replace(animationRegex,function(tt,nt,rt){return cursor={name:nt,styles:rt,next:cursor},nt})}return unitlessKeys[_e]!==1&&!isCustomProperty(_e)&&typeof et=="number"&&et!==0?et+"px":et},noComponentSelectorMessage="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function handleInterpolation($,_e,et){if(et==null)return"";if(et.__emotion_styles!==void 0)return et;switch(typeof et){case"boolean":return"";case"object":{if(et.anim===1)return cursor={name:et.name,styles:et.styles,next:cursor},et.name;if(et.styles!==void 0){var tt=et.next;if(tt!==void 0)for(;tt!==void 0;)cursor={name:tt.name,styles:tt.styles,next:cursor},tt=tt.next;var nt=et.styles+";";return nt}return createStringFromObject($,_e,et)}case"function":{if($!==void 0){var rt=cursor,ot=et($);return cursor=rt,handleInterpolation($,_e,ot)}break}}if(_e==null)return et;var it=_e[et];return it!==void 0?it:et}function createStringFromObject($,_e,et){var tt="";if(Array.isArray(et))for(var nt=0;nt>>1,Wt=Lt[Ut];if(0>>1;Utnt(Gt,Bt))tnnt(Jt,Gt)?(Lt[Ut]=Jt,Lt[tn]=Bt,Ut=tn):(Lt[Ut]=Gt,Lt[qt]=Bt,Ut=qt);else if(tnnt(Jt,Bt))Lt[Ut]=Jt,Lt[tn]=Bt,Ut=tn;else break e}}return Ft}function nt(Lt,Ft){var Bt=Lt.sortIndex-Ft.sortIndex;return Bt!==0?Bt:Lt.id-Ft.id}if(typeof performance=="object"&&typeof performance.now=="function"){var rt=performance;$.unstable_now=function(){return rt.now()}}else{var ot=Date,it=ot.now();$.unstable_now=function(){return ot.now()-it}}var st=[],at=[],ut=1,ft=null,dt=3,pt=!1,ht=!1,gt=!1,yt=typeof setTimeout=="function"?setTimeout:null,vt=typeof clearTimeout=="function"?clearTimeout:null,St=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Tt(Lt){for(var Ft=et(at);Ft!==null;){if(Ft.callback===null)tt(at);else if(Ft.startTime<=Lt)tt(at),Ft.sortIndex=Ft.expirationTime,_e(st,Ft);else break;Ft=et(at)}}function $t(Lt){if(gt=!1,Tt(Lt),!ht)if(et(st)!==null)ht=!0,Mt(bt);else{var Ft=et(at);Ft!==null&&Dt($t,Ft.startTime-Lt)}}function bt(Lt,Ft){ht=!1,gt&&(gt=!1,vt(mt),mt=-1),pt=!0;var Bt=dt;try{for(Tt(Ft),ft=et(st);ft!==null&&(!(ft.expirationTime>Ft)||Lt&&!Pt());){var Ut=ft.callback;if(typeof Ut=="function"){ft.callback=null,dt=ft.priorityLevel;var Wt=Ut(ft.expirationTime<=Ft);Ft=$.unstable_now(),typeof Wt=="function"?ft.callback=Wt:ft===et(st)&&tt(st),Tt(Ft)}else tt(st);ft=et(st)}if(ft!==null)var Ht=!0;else{var qt=et(at);qt!==null&&Dt($t,qt.startTime-Ft),Ht=!1}return Ht}finally{ft=null,dt=Bt,pt=!1}}var Ot=!1,Et=null,mt=-1,Ct=5,wt=-1;function Pt(){return!($.unstable_now()-wtLt||125Ut?(Lt.sortIndex=Bt,_e(at,Lt),et(st)===null&&Lt===et(at)&&(gt?(vt(mt),mt=-1):gt=!0,Dt($t,Bt-Ut))):(Lt.sortIndex=Wt,_e(st,Lt),ht||pt||(ht=!0,Mt(bt))),Lt},$.unstable_shouldYield=Pt,$.unstable_wrapCallback=function(Lt){var Ft=dt;return function(){var Bt=dt;dt=Ft;try{return Lt.apply(this,arguments)}finally{dt=Bt}}}})(scheduler_production_min);scheduler.exports=scheduler_production_min;var schedulerExports=scheduler.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var aa=reactExports,ca=schedulerExports;function p$4($){for(var _e="https://reactjs.org/docs/error-decoder.html?invariant="+$,et=1;et"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ja=Object.prototype.hasOwnProperty,ka=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,la={},ma={};function oa($){return ja.call(ma,$)?!0:ja.call(la,$)?!1:ka.test($)?ma[$]=!0:(la[$]=!0,!1)}function pa($,_e,et,tt){if(et!==null&&et.type===0)return!1;switch(typeof _e){case"function":case"symbol":return!0;case"boolean":return tt?!1:et!==null?!et.acceptsBooleans:($=$.toLowerCase().slice(0,5),$!=="data-"&&$!=="aria-");default:return!1}}function qa($,_e,et,tt){if(_e===null||typeof _e>"u"||pa($,_e,et,tt))return!0;if(tt)return!1;if(et!==null)switch(et.type){case 3:return!_e;case 4:return _e===!1;case 5:return isNaN(_e);case 6:return isNaN(_e)||1>_e}return!1}function v$3($,_e,et,tt,nt,rt,ot){this.acceptsBooleans=_e===2||_e===3||_e===4,this.attributeName=tt,this.attributeNamespace=nt,this.mustUseProperty=et,this.propertyName=$,this.type=_e,this.sanitizeURL=rt,this.removeEmptyString=ot}var z={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function($){z[$]=new v$3($,0,!1,$,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function($){var _e=$[0];z[_e]=new v$3(_e,1,!1,$[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function($){z[$]=new v$3($,2,!1,$.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function($){z[$]=new v$3($,2,!1,$,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function($){z[$]=new v$3($,3,!1,$.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function($){z[$]=new v$3($,3,!0,$,null,!1,!1)});["capture","download"].forEach(function($){z[$]=new v$3($,4,!1,$,null,!1,!1)});["cols","rows","size","span"].forEach(function($){z[$]=new v$3($,6,!1,$,null,!1,!1)});["rowSpan","start"].forEach(function($){z[$]=new v$3($,5,!1,$.toLowerCase(),null,!1,!1)});var ra=/[\-:]([a-z])/g;function sa($){return $[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function($){var _e=$.replace(ra,sa);z[_e]=new v$3(_e,1,!1,$,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function($){var _e=$.replace(ra,sa);z[_e]=new v$3(_e,1,!1,$,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function($){var _e=$.replace(ra,sa);z[_e]=new v$3(_e,1,!1,$,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function($){z[$]=new v$3($,1,!1,$.toLowerCase(),null,!1,!1)});z.xlinkHref=new v$3("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function($){z[$]=new v$3($,1,!1,$.toLowerCase(),null,!0,!0)});function ta($,_e,et,tt){var nt=z.hasOwnProperty(_e)?z[_e]:null;(nt!==null?nt.type!==0:tt||!(2<_e.length)||_e[0]!=="o"&&_e[0]!=="O"||_e[1]!=="n"&&_e[1]!=="N")&&(qa(_e,et,nt,tt)&&(et=null),tt||nt===null?oa(_e)&&(et===null?$.removeAttribute(_e):$.setAttribute(_e,""+et)):nt.mustUseProperty?$[nt.propertyName]=et===null?nt.type===3?!1:"":et:(_e=nt.attributeName,tt=nt.attributeNamespace,et===null?$.removeAttribute(_e):(nt=nt.type,et=nt===3||nt===4&&et===!0?"":""+et,tt?$.setAttributeNS(tt,_e,et):$.setAttribute(_e,et))))}var ua$1=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,va=Symbol.for("react.element"),wa=Symbol.for("react.portal"),ya=Symbol.for("react.fragment"),za=Symbol.for("react.strict_mode"),Aa=Symbol.for("react.profiler"),Ba=Symbol.for("react.provider"),Ca=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),Ea=Symbol.for("react.suspense"),Fa=Symbol.for("react.suspense_list"),Ga=Symbol.for("react.memo"),Ha=Symbol.for("react.lazy"),Ia=Symbol.for("react.offscreen"),Ja=Symbol.iterator;function Ka($){return $===null||typeof $!="object"?null:($=Ja&&$[Ja]||$["@@iterator"],typeof $=="function"?$:null)}var A=Object.assign,La;function Ma($){if(La===void 0)try{throw Error()}catch(et){var _e=et.stack.trim().match(/\n( *(at )?)/);La=_e&&_e[1]||""}return` +`+La+$}var Na=!1;function Oa($,_e){if(!$||Na)return"";Na=!0;var et=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(_e)if(_e=function(){throw Error()},Object.defineProperty(_e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_e,[])}catch(at){var tt=at}Reflect.construct($,[],_e)}else{try{_e.call()}catch(at){tt=at}$.call(_e.prototype)}else{try{throw Error()}catch(at){tt=at}$()}}catch(at){if(at&&tt&&typeof at.stack=="string"){for(var nt=at.stack.split(` +`),rt=tt.stack.split(` +`),ot=nt.length-1,it=rt.length-1;1<=ot&&0<=it&&nt[ot]!==rt[it];)it--;for(;1<=ot&&0<=it;ot--,it--)if(nt[ot]!==rt[it]){if(ot!==1||it!==1)do if(ot--,it--,0>it||nt[ot]!==rt[it]){var st=` +`+nt[ot].replace(" at new "," at ");return $.displayName&&st.includes("")&&(st=st.replace("",$.displayName)),st}while(1<=ot&&0<=it);break}}}finally{Na=!1,Error.prepareStackTrace=et}return($=$?$.displayName||$.name:"")?Ma($):""}function Pa($){switch($.tag){case 5:return Ma($.type);case 16:return Ma("Lazy");case 13:return Ma("Suspense");case 19:return Ma("SuspenseList");case 0:case 2:case 15:return $=Oa($.type,!1),$;case 11:return $=Oa($.type.render,!1),$;case 1:return $=Oa($.type,!0),$;default:return""}}function Qa($){if($==null)return null;if(typeof $=="function")return $.displayName||$.name||null;if(typeof $=="string")return $;switch($){case ya:return"Fragment";case wa:return"Portal";case Aa:return"Profiler";case za:return"StrictMode";case Ea:return"Suspense";case Fa:return"SuspenseList"}if(typeof $=="object")switch($.$$typeof){case Ca:return($.displayName||"Context")+".Consumer";case Ba:return($._context.displayName||"Context")+".Provider";case Da:var _e=$.render;return $=$.displayName,$||($=_e.displayName||_e.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case Ga:return _e=$.displayName||null,_e!==null?_e:Qa($.type)||"Memo";case Ha:_e=$._payload,$=$._init;try{return Qa($(_e))}catch{}}return null}function Ra($){var _e=$.type;switch($.tag){case 24:return"Cache";case 9:return(_e.displayName||"Context")+".Consumer";case 10:return(_e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return $=_e.render,$=$.displayName||$.name||"",_e.displayName||($!==""?"ForwardRef("+$+")":"ForwardRef");case 7:return"Fragment";case 5:return _e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Qa(_e);case 8:return _e===za?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof _e=="function")return _e.displayName||_e.name||null;if(typeof _e=="string")return _e}return null}function Sa($){switch(typeof $){case"boolean":case"number":case"string":case"undefined":return $;case"object":return $;default:return""}}function Ta($){var _e=$.type;return($=$.nodeName)&&$.toLowerCase()==="input"&&(_e==="checkbox"||_e==="radio")}function Ua($){var _e=Ta($)?"checked":"value",et=Object.getOwnPropertyDescriptor($.constructor.prototype,_e),tt=""+$[_e];if(!$.hasOwnProperty(_e)&&typeof et<"u"&&typeof et.get=="function"&&typeof et.set=="function"){var nt=et.get,rt=et.set;return Object.defineProperty($,_e,{configurable:!0,get:function(){return nt.call(this)},set:function(ot){tt=""+ot,rt.call(this,ot)}}),Object.defineProperty($,_e,{enumerable:et.enumerable}),{getValue:function(){return tt},setValue:function(ot){tt=""+ot},stopTracking:function(){$._valueTracker=null,delete $[_e]}}}}function Va($){$._valueTracker||($._valueTracker=Ua($))}function Wa($){if(!$)return!1;var _e=$._valueTracker;if(!_e)return!0;var et=_e.getValue(),tt="";return $&&(tt=Ta($)?$.checked?"true":"false":$.value),$=tt,$!==et?(_e.setValue($),!0):!1}function Xa($){if($=$||(typeof document<"u"?document:void 0),typeof $>"u")return null;try{return $.activeElement||$.body}catch{return $.body}}function Ya($,_e){var et=_e.checked;return A({},_e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:et??$._wrapperState.initialChecked})}function Za($,_e){var et=_e.defaultValue==null?"":_e.defaultValue,tt=_e.checked!=null?_e.checked:_e.defaultChecked;et=Sa(_e.value!=null?_e.value:et),$._wrapperState={initialChecked:tt,initialValue:et,controlled:_e.type==="checkbox"||_e.type==="radio"?_e.checked!=null:_e.value!=null}}function ab($,_e){_e=_e.checked,_e!=null&&ta($,"checked",_e,!1)}function bb($,_e){ab($,_e);var et=Sa(_e.value),tt=_e.type;if(et!=null)tt==="number"?(et===0&&$.value===""||$.value!=et)&&($.value=""+et):$.value!==""+et&&($.value=""+et);else if(tt==="submit"||tt==="reset"){$.removeAttribute("value");return}_e.hasOwnProperty("value")?cb($,_e.type,et):_e.hasOwnProperty("defaultValue")&&cb($,_e.type,Sa(_e.defaultValue)),_e.checked==null&&_e.defaultChecked!=null&&($.defaultChecked=!!_e.defaultChecked)}function db($,_e,et){if(_e.hasOwnProperty("value")||_e.hasOwnProperty("defaultValue")){var tt=_e.type;if(!(tt!=="submit"&&tt!=="reset"||_e.value!==void 0&&_e.value!==null))return;_e=""+$._wrapperState.initialValue,et||_e===$.value||($.value=_e),$.defaultValue=_e}et=$.name,et!==""&&($.name=""),$.defaultChecked=!!$._wrapperState.initialChecked,et!==""&&($.name=et)}function cb($,_e,et){(_e!=="number"||Xa($.ownerDocument)!==$)&&(et==null?$.defaultValue=""+$._wrapperState.initialValue:$.defaultValue!==""+et&&($.defaultValue=""+et))}var eb=Array.isArray;function fb($,_e,et,tt){if($=$.options,_e){_e={};for(var nt=0;nt"+_e.valueOf().toString()+"",_e=mb.firstChild;$.firstChild;)$.removeChild($.firstChild);for(;_e.firstChild;)$.appendChild(_e.firstChild)}});function ob($,_e){if(_e){var et=$.firstChild;if(et&&et===$.lastChild&&et.nodeType===3){et.nodeValue=_e;return}}$.textContent=_e}var pb={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qb=["Webkit","ms","Moz","O"];Object.keys(pb).forEach(function($){qb.forEach(function(_e){_e=_e+$.charAt(0).toUpperCase()+$.substring(1),pb[_e]=pb[$]})});function rb($,_e,et){return _e==null||typeof _e=="boolean"||_e===""?"":et||typeof _e!="number"||_e===0||pb.hasOwnProperty($)&&pb[$]?(""+_e).trim():_e+"px"}function sb($,_e){$=$.style;for(var et in _e)if(_e.hasOwnProperty(et)){var tt=et.indexOf("--")===0,nt=rb(et,_e[et],tt);et==="float"&&(et="cssFloat"),tt?$.setProperty(et,nt):$[et]=nt}}var tb=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ub($,_e){if(_e){if(tb[$]&&(_e.children!=null||_e.dangerouslySetInnerHTML!=null))throw Error(p$4(137,$));if(_e.dangerouslySetInnerHTML!=null){if(_e.children!=null)throw Error(p$4(60));if(typeof _e.dangerouslySetInnerHTML!="object"||!("__html"in _e.dangerouslySetInnerHTML))throw Error(p$4(61))}if(_e.style!=null&&typeof _e.style!="object")throw Error(p$4(62))}}function vb($,_e){if($.indexOf("-")===-1)return typeof _e.is=="string";switch($){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var wb=null;function xb($){return $=$.target||$.srcElement||window,$.correspondingUseElement&&($=$.correspondingUseElement),$.nodeType===3?$.parentNode:$}var yb=null,zb=null,Ab=null;function Bb($){if($=Cb($)){if(typeof yb!="function")throw Error(p$4(280));var _e=$.stateNode;_e&&(_e=Db(_e),yb($.stateNode,$.type,_e))}}function Eb($){zb?Ab?Ab.push($):Ab=[$]:zb=$}function Fb(){if(zb){var $=zb,_e=Ab;if(Ab=zb=null,Bb($),_e)for($=0;$<_e.length;$++)Bb(_e[$])}}function Gb($,_e){return $(_e)}function Hb(){}var Ib=!1;function Jb($,_e,et){if(Ib)return $(_e,et);Ib=!0;try{return Gb($,_e,et)}finally{Ib=!1,(zb!==null||Ab!==null)&&(Hb(),Fb())}}function Kb($,_e){var et=$.stateNode;if(et===null)return null;var tt=Db(et);if(tt===null)return null;et=tt[_e];e:switch(_e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(tt=!tt.disabled)||($=$.type,tt=!($==="button"||$==="input"||$==="select"||$==="textarea")),$=!tt;break e;default:$=!1}if($)return null;if(et&&typeof et!="function")throw Error(p$4(231,_e,typeof et));return et}var Lb=!1;if(ia)try{var Mb={};Object.defineProperty(Mb,"passive",{get:function(){Lb=!0}}),window.addEventListener("test",Mb,Mb),window.removeEventListener("test",Mb,Mb)}catch{Lb=!1}function Nb($,_e,et,tt,nt,rt,ot,it,st){var at=Array.prototype.slice.call(arguments,3);try{_e.apply(et,at)}catch(ut){this.onError(ut)}}var Ob=!1,Pb=null,Qb=!1,Rb=null,Sb={onError:function($){Ob=!0,Pb=$}};function Tb($,_e,et,tt,nt,rt,ot,it,st){Ob=!1,Pb=null,Nb.apply(Sb,arguments)}function Ub($,_e,et,tt,nt,rt,ot,it,st){if(Tb.apply(this,arguments),Ob){if(Ob){var at=Pb;Ob=!1,Pb=null}else throw Error(p$4(198));Qb||(Qb=!0,Rb=at)}}function Vb($){var _e=$,et=$;if($.alternate)for(;_e.return;)_e=_e.return;else{$=_e;do _e=$,_e.flags&4098&&(et=_e.return),$=_e.return;while($)}return _e.tag===3?et:null}function Wb($){if($.tag===13){var _e=$.memoizedState;if(_e===null&&($=$.alternate,$!==null&&(_e=$.memoizedState)),_e!==null)return _e.dehydrated}return null}function Xb($){if(Vb($)!==$)throw Error(p$4(188))}function Yb($){var _e=$.alternate;if(!_e){if(_e=Vb($),_e===null)throw Error(p$4(188));return _e!==$?null:$}for(var et=$,tt=_e;;){var nt=et.return;if(nt===null)break;var rt=nt.alternate;if(rt===null){if(tt=nt.return,tt!==null){et=tt;continue}break}if(nt.child===rt.child){for(rt=nt.child;rt;){if(rt===et)return Xb(nt),$;if(rt===tt)return Xb(nt),_e;rt=rt.sibling}throw Error(p$4(188))}if(et.return!==tt.return)et=nt,tt=rt;else{for(var ot=!1,it=nt.child;it;){if(it===et){ot=!0,et=nt,tt=rt;break}if(it===tt){ot=!0,tt=nt,et=rt;break}it=it.sibling}if(!ot){for(it=rt.child;it;){if(it===et){ot=!0,et=rt,tt=nt;break}if(it===tt){ot=!0,tt=rt,et=nt;break}it=it.sibling}if(!ot)throw Error(p$4(189))}}if(et.alternate!==tt)throw Error(p$4(190))}if(et.tag!==3)throw Error(p$4(188));return et.stateNode.current===et?$:_e}function Zb($){return $=Yb($),$!==null?$b($):null}function $b($){if($.tag===5||$.tag===6)return $;for($=$.child;$!==null;){var _e=$b($);if(_e!==null)return _e;$=$.sibling}return null}var ac=ca.unstable_scheduleCallback,bc=ca.unstable_cancelCallback,cc=ca.unstable_shouldYield,dc=ca.unstable_requestPaint,B=ca.unstable_now,ec=ca.unstable_getCurrentPriorityLevel,fc=ca.unstable_ImmediatePriority,gc=ca.unstable_UserBlockingPriority,hc=ca.unstable_NormalPriority,ic=ca.unstable_LowPriority,jc=ca.unstable_IdlePriority,kc=null,lc=null;function mc($){if(lc&&typeof lc.onCommitFiberRoot=="function")try{lc.onCommitFiberRoot(kc,$,void 0,($.current.flags&128)===128)}catch{}}var oc=Math.clz32?Math.clz32:nc,pc=Math.log,qc=Math.LN2;function nc($){return $>>>=0,$===0?32:31-(pc($)/qc|0)|0}var rc=64,sc=4194304;function tc($){switch($&-$){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return $&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return $&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return $}}function uc($,_e){var et=$.pendingLanes;if(et===0)return 0;var tt=0,nt=$.suspendedLanes,rt=$.pingedLanes,ot=et&268435455;if(ot!==0){var it=ot&~nt;it!==0?tt=tc(it):(rt&=ot,rt!==0&&(tt=tc(rt)))}else ot=et&~nt,ot!==0?tt=tc(ot):rt!==0&&(tt=tc(rt));if(tt===0)return 0;if(_e!==0&&_e!==tt&&!(_e&nt)&&(nt=tt&-tt,rt=_e&-_e,nt>=rt||nt===16&&(rt&4194240)!==0))return _e;if(tt&4&&(tt|=et&16),_e=$.entangledLanes,_e!==0)for($=$.entanglements,_e&=tt;0<_e;)et=31-oc(_e),nt=1<et;et++)_e.push($);return _e}function Ac($,_e,et){$.pendingLanes|=_e,_e!==536870912&&($.suspendedLanes=0,$.pingedLanes=0),$=$.eventTimes,_e=31-oc(_e),$[_e]=et}function Bc($,_e){var et=$.pendingLanes&~_e;$.pendingLanes=_e,$.suspendedLanes=0,$.pingedLanes=0,$.expiredLanes&=_e,$.mutableReadLanes&=_e,$.entangledLanes&=_e,_e=$.entanglements;var tt=$.eventTimes;for($=$.expirationTimes;0=be),ee=" ",fe=!1;function ge($,_e){switch($){case"keyup":return $d.indexOf(_e.keyCode)!==-1;case"keydown":return _e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function he($){return $=$.detail,typeof $=="object"&&"data"in $?$.data:null}var ie=!1;function je($,_e){switch($){case"compositionend":return he(_e);case"keypress":return _e.which!==32?null:(fe=!0,ee);case"textInput":return $=_e.data,$===ee&&fe?null:$;default:return null}}function ke($,_e){if(ie)return $==="compositionend"||!ae&&ge($,_e)?($=nd(),md=ld=kd=null,ie=!1,$):null;switch($){case"paste":return null;case"keypress":if(!(_e.ctrlKey||_e.altKey||_e.metaKey)||_e.ctrlKey&&_e.altKey){if(_e.char&&1<_e.char.length)return _e.char;if(_e.which)return String.fromCharCode(_e.which)}return null;case"compositionend":return de&&_e.locale!=="ko"?null:_e.data;default:return null}}var le={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function me($){var _e=$&&$.nodeName&&$.nodeName.toLowerCase();return _e==="input"?!!le[$.type]:_e==="textarea"}function ne($,_e,et,tt){Eb(tt),_e=oe(_e,"onChange"),0<_e.length&&(et=new td("onChange","change",null,et,tt),$.push({event:et,listeners:_e}))}var pe=null,qe=null;function re($){se($,0)}function te($){var _e=ue($);if(Wa(_e))return $}function ve($,_e){if($==="change")return _e}var we=!1;if(ia){var xe;if(ia){var ye="oninput"in document;if(!ye){var ze=document.createElement("div");ze.setAttribute("oninput","return;"),ye=typeof ze.oninput=="function"}xe=ye}else xe=!1;we=xe&&(!document.documentMode||9=_e)return{node:et,offset:_e-$};$=tt}e:{for(;et;){if(et.nextSibling){et=et.nextSibling;break e}et=et.parentNode}et=void 0}et=Je(et)}}function Le($,_e){return $&&_e?$===_e?!0:$&&$.nodeType===3?!1:_e&&_e.nodeType===3?Le($,_e.parentNode):"contains"in $?$.contains(_e):$.compareDocumentPosition?!!($.compareDocumentPosition(_e)&16):!1:!1}function Me(){for(var $=window,_e=Xa();_e instanceof $.HTMLIFrameElement;){try{var et=typeof _e.contentWindow.location.href=="string"}catch{et=!1}if(et)$=_e.contentWindow;else break;_e=Xa($.document)}return _e}function Ne($){var _e=$&&$.nodeName&&$.nodeName.toLowerCase();return _e&&(_e==="input"&&($.type==="text"||$.type==="search"||$.type==="tel"||$.type==="url"||$.type==="password")||_e==="textarea"||$.contentEditable==="true")}function Oe($){var _e=Me(),et=$.focusedElem,tt=$.selectionRange;if(_e!==et&&et&&et.ownerDocument&&Le(et.ownerDocument.documentElement,et)){if(tt!==null&&Ne(et)){if(_e=tt.start,$=tt.end,$===void 0&&($=_e),"selectionStart"in et)et.selectionStart=_e,et.selectionEnd=Math.min($,et.value.length);else if($=(_e=et.ownerDocument||document)&&_e.defaultView||window,$.getSelection){$=$.getSelection();var nt=et.textContent.length,rt=Math.min(tt.start,nt);tt=tt.end===void 0?rt:Math.min(tt.end,nt),!$.extend&&rt>tt&&(nt=tt,tt=rt,rt=nt),nt=Ke(et,rt);var ot=Ke(et,tt);nt&&ot&&($.rangeCount!==1||$.anchorNode!==nt.node||$.anchorOffset!==nt.offset||$.focusNode!==ot.node||$.focusOffset!==ot.offset)&&(_e=_e.createRange(),_e.setStart(nt.node,nt.offset),$.removeAllRanges(),rt>tt?($.addRange(_e),$.extend(ot.node,ot.offset)):(_e.setEnd(ot.node,ot.offset),$.addRange(_e)))}}for(_e=[],$=et;$=$.parentNode;)$.nodeType===1&&_e.push({element:$,left:$.scrollLeft,top:$.scrollTop});for(typeof et.focus=="function"&&et.focus(),et=0;et<_e.length;et++)$=_e[et],$.element.scrollLeft=$.left,$.element.scrollTop=$.top}}var Pe=ia&&"documentMode"in document&&11>=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;function Ue($,_e,et){var tt=et.window===et?et.document:et.nodeType===9?et:et.ownerDocument;Te||Qe==null||Qe!==Xa(tt)||(tt=Qe,"selectionStart"in tt&&Ne(tt)?tt={start:tt.selectionStart,end:tt.selectionEnd}:(tt=(tt.ownerDocument&&tt.ownerDocument.defaultView||window).getSelection(),tt={anchorNode:tt.anchorNode,anchorOffset:tt.anchorOffset,focusNode:tt.focusNode,focusOffset:tt.focusOffset}),Se&&Ie(Se,tt)||(Se=tt,tt=oe(Re,"onSelect"),0Tf||($.current=Sf[Tf],Sf[Tf]=null,Tf--)}function G($,_e){Tf++,Sf[Tf]=$.current,$.current=_e}var Vf={},H=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf($,_e){var et=$.type.contextTypes;if(!et)return Vf;var tt=$.stateNode;if(tt&&tt.__reactInternalMemoizedUnmaskedChildContext===_e)return tt.__reactInternalMemoizedMaskedChildContext;var nt={},rt;for(rt in et)nt[rt]=_e[rt];return tt&&($=$.stateNode,$.__reactInternalMemoizedUnmaskedChildContext=_e,$.__reactInternalMemoizedMaskedChildContext=nt),nt}function Zf($){return $=$.childContextTypes,$!=null}function $f(){E(Wf),E(H)}function ag($,_e,et){if(H.current!==Vf)throw Error(p$4(168));G(H,_e),G(Wf,et)}function bg($,_e,et){var tt=$.stateNode;if(_e=_e.childContextTypes,typeof tt.getChildContext!="function")return et;tt=tt.getChildContext();for(var nt in tt)if(!(nt in _e))throw Error(p$4(108,Ra($)||"Unknown",nt));return A({},et,tt)}function cg($){return $=($=$.stateNode)&&$.__reactInternalMemoizedMergedChildContext||Vf,Xf=H.current,G(H,$),G(Wf,Wf.current),!0}function dg($,_e,et){var tt=$.stateNode;if(!tt)throw Error(p$4(169));et?($=bg($,_e,Xf),tt.__reactInternalMemoizedMergedChildContext=$,E(Wf),E(H),G(H,$)):E(Wf),G(Wf,et)}var eg=null,fg=!1,gg=!1;function hg($){eg===null?eg=[$]:eg.push($)}function ig($){fg=!0,hg($)}function jg(){if(!gg&&eg!==null){gg=!0;var $=0,_e=C;try{var et=eg;for(C=1;$>=ot,nt-=ot,rg=1<<32-oc(_e)+nt|et<mt?(Ct=Et,Et=null):Ct=Et.sibling;var wt=dt(vt,Et,Tt[mt],$t);if(wt===null){Et===null&&(Et=Ct);break}$&&Et&&wt.alternate===null&&_e(vt,Et),St=rt(wt,St,mt),Ot===null?bt=wt:Ot.sibling=wt,Ot=wt,Et=Ct}if(mt===Tt.length)return et(vt,Et),I&&tg(vt,mt),bt;if(Et===null){for(;mtmt?(Ct=Et,Et=null):Ct=Et.sibling;var Pt=dt(vt,Et,wt.value,$t);if(Pt===null){Et===null&&(Et=Ct);break}$&&Et&&Pt.alternate===null&&_e(vt,Et),St=rt(Pt,St,mt),Ot===null?bt=Pt:Ot.sibling=Pt,Ot=Pt,Et=Ct}if(wt.done)return et(vt,Et),I&&tg(vt,mt),bt;if(Et===null){for(;!wt.done;mt++,wt=Tt.next())wt=ft(vt,wt.value,$t),wt!==null&&(St=rt(wt,St,mt),Ot===null?bt=wt:Ot.sibling=wt,Ot=wt);return I&&tg(vt,mt),bt}for(Et=tt(vt,Et);!wt.done;mt++,wt=Tt.next())wt=pt(Et,vt,mt,wt.value,$t),wt!==null&&($&&wt.alternate!==null&&Et.delete(wt.key===null?mt:wt.key),St=rt(wt,St,mt),Ot===null?bt=wt:Ot.sibling=wt,Ot=wt);return $&&Et.forEach(function(Rt){return _e(vt,Rt)}),I&&tg(vt,mt),bt}function yt(vt,St,Tt,$t){if(typeof Tt=="object"&&Tt!==null&&Tt.type===ya&&Tt.key===null&&(Tt=Tt.props.children),typeof Tt=="object"&&Tt!==null){switch(Tt.$$typeof){case va:e:{for(var bt=Tt.key,Ot=St;Ot!==null;){if(Ot.key===bt){if(bt=Tt.type,bt===ya){if(Ot.tag===7){et(vt,Ot.sibling),St=nt(Ot,Tt.props.children),St.return=vt,vt=St;break e}}else if(Ot.elementType===bt||typeof bt=="object"&&bt!==null&&bt.$$typeof===Ha&&Ng(bt)===Ot.type){et(vt,Ot.sibling),St=nt(Ot,Tt.props),St.ref=Lg(vt,Ot,Tt),St.return=vt,vt=St;break e}et(vt,Ot);break}else _e(vt,Ot);Ot=Ot.sibling}Tt.type===ya?(St=Tg(Tt.props.children,vt.mode,$t,Tt.key),St.return=vt,vt=St):($t=Rg(Tt.type,Tt.key,Tt.props,null,vt.mode,$t),$t.ref=Lg(vt,St,Tt),$t.return=vt,vt=$t)}return ot(vt);case wa:e:{for(Ot=Tt.key;St!==null;){if(St.key===Ot)if(St.tag===4&&St.stateNode.containerInfo===Tt.containerInfo&&St.stateNode.implementation===Tt.implementation){et(vt,St.sibling),St=nt(St,Tt.children||[]),St.return=vt,vt=St;break e}else{et(vt,St);break}else _e(vt,St);St=St.sibling}St=Sg(Tt,vt.mode,$t),St.return=vt,vt=St}return ot(vt);case Ha:return Ot=Tt._init,yt(vt,St,Ot(Tt._payload),$t)}if(eb(Tt))return ht(vt,St,Tt,$t);if(Ka(Tt))return gt(vt,St,Tt,$t);Mg(vt,Tt)}return typeof Tt=="string"&&Tt!==""||typeof Tt=="number"?(Tt=""+Tt,St!==null&&St.tag===6?(et(vt,St.sibling),St=nt(St,Tt),St.return=vt,vt=St):(et(vt,St),St=Qg(Tt,vt.mode,$t),St.return=vt,vt=St),ot(vt)):et(vt,St)}return yt}var Ug=Og(!0),Vg=Og(!1),Wg=Uf(null),Xg=null,Yg=null,Zg=null;function $g(){Zg=Yg=Xg=null}function ah($){var _e=Wg.current;E(Wg),$._currentValue=_e}function bh($,_e,et){for(;$!==null;){var tt=$.alternate;if(($.childLanes&_e)!==_e?($.childLanes|=_e,tt!==null&&(tt.childLanes|=_e)):tt!==null&&(tt.childLanes&_e)!==_e&&(tt.childLanes|=_e),$===et)break;$=$.return}}function ch($,_e){Xg=$,Zg=Yg=null,$=$.dependencies,$!==null&&$.firstContext!==null&&($.lanes&_e&&(dh=!0),$.firstContext=null)}function eh($){var _e=$._currentValue;if(Zg!==$)if($={context:$,memoizedValue:_e,next:null},Yg===null){if(Xg===null)throw Error(p$4(308));Yg=$,Xg.dependencies={lanes:0,firstContext:$}}else Yg=Yg.next=$;return _e}var fh=null;function gh($){fh===null?fh=[$]:fh.push($)}function hh($,_e,et,tt){var nt=_e.interleaved;return nt===null?(et.next=et,gh(_e)):(et.next=nt.next,nt.next=et),_e.interleaved=et,ih($,tt)}function ih($,_e){$.lanes|=_e;var et=$.alternate;for(et!==null&&(et.lanes|=_e),et=$,$=$.return;$!==null;)$.childLanes|=_e,et=$.alternate,et!==null&&(et.childLanes|=_e),et=$,$=$.return;return et.tag===3?et.stateNode:null}var jh=!1;function kh($){$.updateQueue={baseState:$.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function lh($,_e){$=$.updateQueue,_e.updateQueue===$&&(_e.updateQueue={baseState:$.baseState,firstBaseUpdate:$.firstBaseUpdate,lastBaseUpdate:$.lastBaseUpdate,shared:$.shared,effects:$.effects})}function mh($,_e){return{eventTime:$,lane:_e,tag:0,payload:null,callback:null,next:null}}function nh($,_e,et){var tt=$.updateQueue;if(tt===null)return null;if(tt=tt.shared,K&2){var nt=tt.pending;return nt===null?_e.next=_e:(_e.next=nt.next,nt.next=_e),tt.pending=_e,ih($,et)}return nt=tt.interleaved,nt===null?(_e.next=_e,gh(tt)):(_e.next=nt.next,nt.next=_e),tt.interleaved=_e,ih($,et)}function oh($,_e,et){if(_e=_e.updateQueue,_e!==null&&(_e=_e.shared,(et&4194240)!==0)){var tt=_e.lanes;tt&=$.pendingLanes,et|=tt,_e.lanes=et,Cc($,et)}}function ph($,_e){var et=$.updateQueue,tt=$.alternate;if(tt!==null&&(tt=tt.updateQueue,et===tt)){var nt=null,rt=null;if(et=et.firstBaseUpdate,et!==null){do{var ot={eventTime:et.eventTime,lane:et.lane,tag:et.tag,payload:et.payload,callback:et.callback,next:null};rt===null?nt=rt=ot:rt=rt.next=ot,et=et.next}while(et!==null);rt===null?nt=rt=_e:rt=rt.next=_e}else nt=rt=_e;et={baseState:tt.baseState,firstBaseUpdate:nt,lastBaseUpdate:rt,shared:tt.shared,effects:tt.effects},$.updateQueue=et;return}$=et.lastBaseUpdate,$===null?et.firstBaseUpdate=_e:$.next=_e,et.lastBaseUpdate=_e}function qh($,_e,et,tt){var nt=$.updateQueue;jh=!1;var rt=nt.firstBaseUpdate,ot=nt.lastBaseUpdate,it=nt.shared.pending;if(it!==null){nt.shared.pending=null;var st=it,at=st.next;st.next=null,ot===null?rt=at:ot.next=at,ot=st;var ut=$.alternate;ut!==null&&(ut=ut.updateQueue,it=ut.lastBaseUpdate,it!==ot&&(it===null?ut.firstBaseUpdate=at:it.next=at,ut.lastBaseUpdate=st))}if(rt!==null){var ft=nt.baseState;ot=0,ut=at=st=null,it=rt;do{var dt=it.lane,pt=it.eventTime;if((tt&dt)===dt){ut!==null&&(ut=ut.next={eventTime:pt,lane:0,tag:it.tag,payload:it.payload,callback:it.callback,next:null});e:{var ht=$,gt=it;switch(dt=_e,pt=et,gt.tag){case 1:if(ht=gt.payload,typeof ht=="function"){ft=ht.call(pt,ft,dt);break e}ft=ht;break e;case 3:ht.flags=ht.flags&-65537|128;case 0:if(ht=gt.payload,dt=typeof ht=="function"?ht.call(pt,ft,dt):ht,dt==null)break e;ft=A({},ft,dt);break e;case 2:jh=!0}}it.callback!==null&&it.lane!==0&&($.flags|=64,dt=nt.effects,dt===null?nt.effects=[it]:dt.push(it))}else pt={eventTime:pt,lane:dt,tag:it.tag,payload:it.payload,callback:it.callback,next:null},ut===null?(at=ut=pt,st=ft):ut=ut.next=pt,ot|=dt;if(it=it.next,it===null){if(it=nt.shared.pending,it===null)break;dt=it,it=dt.next,dt.next=null,nt.lastBaseUpdate=dt,nt.shared.pending=null}}while(!0);if(ut===null&&(st=ft),nt.baseState=st,nt.firstBaseUpdate=at,nt.lastBaseUpdate=ut,_e=nt.shared.interleaved,_e!==null){nt=_e;do ot|=nt.lane,nt=nt.next;while(nt!==_e)}else rt===null&&(nt.shared.lanes=0);rh|=ot,$.lanes=ot,$.memoizedState=ft}}function sh($,_e,et){if($=_e.effects,_e.effects=null,$!==null)for(_e=0;_e<$.length;_e++){var tt=$[_e],nt=tt.callback;if(nt!==null){if(tt.callback=null,tt=et,typeof nt!="function")throw Error(p$4(191,nt));nt.call(tt)}}}var th={},uh=Uf(th),vh=Uf(th),wh=Uf(th);function xh($){if($===th)throw Error(p$4(174));return $}function yh($,_e){switch(G(wh,_e),G(vh,$),G(uh,th),$=_e.nodeType,$){case 9:case 11:_e=(_e=_e.documentElement)?_e.namespaceURI:lb(null,"");break;default:$=$===8?_e.parentNode:_e,_e=$.namespaceURI||null,$=$.tagName,_e=lb(_e,$)}E(uh),G(uh,_e)}function zh(){E(uh),E(vh),E(wh)}function Ah($){xh(wh.current);var _e=xh(uh.current),et=lb(_e,$.type);_e!==et&&(G(vh,$),G(uh,et))}function Bh($){vh.current===$&&(E(uh),E(vh))}var L=Uf(0);function Ch($){for(var _e=$;_e!==null;){if(_e.tag===13){var et=_e.memoizedState;if(et!==null&&(et=et.dehydrated,et===null||et.data==="$?"||et.data==="$!"))return _e}else if(_e.tag===19&&_e.memoizedProps.revealOrder!==void 0){if(_e.flags&128)return _e}else if(_e.child!==null){_e.child.return=_e,_e=_e.child;continue}if(_e===$)break;for(;_e.sibling===null;){if(_e.return===null||_e.return===$)return null;_e=_e.return}_e.sibling.return=_e.return,_e=_e.sibling}return null}var Dh=[];function Eh(){for(var $=0;$et?et:4,$(!0);var tt=Gh.transition;Gh.transition={};try{$(!1),_e()}finally{C=et,Gh.transition=tt}}function wi(){return Uh().memoizedState}function xi($,_e,et){var tt=yi($);if(et={lane:tt,action:et,hasEagerState:!1,eagerState:null,next:null},zi($))Ai(_e,et);else if(et=hh($,_e,et,tt),et!==null){var nt=R();gi(et,$,tt,nt),Bi(et,_e,tt)}}function ii($,_e,et){var tt=yi($),nt={lane:tt,action:et,hasEagerState:!1,eagerState:null,next:null};if(zi($))Ai(_e,nt);else{var rt=$.alternate;if($.lanes===0&&(rt===null||rt.lanes===0)&&(rt=_e.lastRenderedReducer,rt!==null))try{var ot=_e.lastRenderedState,it=rt(ot,et);if(nt.hasEagerState=!0,nt.eagerState=it,He(it,ot)){var st=_e.interleaved;st===null?(nt.next=nt,gh(_e)):(nt.next=st.next,st.next=nt),_e.interleaved=nt;return}}catch{}finally{}et=hh($,_e,nt,tt),et!==null&&(nt=R(),gi(et,$,tt,nt),Bi(et,_e,tt))}}function zi($){var _e=$.alternate;return $===M||_e!==null&&_e===M}function Ai($,_e){Jh=Ih=!0;var et=$.pending;et===null?_e.next=_e:(_e.next=et.next,et.next=_e),$.pending=_e}function Bi($,_e,et){if(et&4194240){var tt=_e.lanes;tt&=$.pendingLanes,et|=tt,_e.lanes=et,Cc($,et)}}var Rh={readContext:eh,useCallback:P,useContext:P,useEffect:P,useImperativeHandle:P,useInsertionEffect:P,useLayoutEffect:P,useMemo:P,useReducer:P,useRef:P,useState:P,useDebugValue:P,useDeferredValue:P,useTransition:P,useMutableSource:P,useSyncExternalStore:P,useId:P,unstable_isNewReconciler:!1},Oh={readContext:eh,useCallback:function($,_e){return Th().memoizedState=[$,_e===void 0?null:_e],$},useContext:eh,useEffect:mi,useImperativeHandle:function($,_e,et){return et=et!=null?et.concat([$]):null,ki(4194308,4,pi.bind(null,_e,$),et)},useLayoutEffect:function($,_e){return ki(4194308,4,$,_e)},useInsertionEffect:function($,_e){return ki(4,2,$,_e)},useMemo:function($,_e){var et=Th();return _e=_e===void 0?null:_e,$=$(),et.memoizedState=[$,_e],$},useReducer:function($,_e,et){var tt=Th();return _e=et!==void 0?et(_e):_e,tt.memoizedState=tt.baseState=_e,$={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:$,lastRenderedState:_e},tt.queue=$,$=$.dispatch=xi.bind(null,M,$),[tt.memoizedState,$]},useRef:function($){var _e=Th();return $={current:$},_e.memoizedState=$},useState:hi,useDebugValue:ri,useDeferredValue:function($){return Th().memoizedState=$},useTransition:function(){var $=hi(!1),_e=$[0];return $=vi.bind(null,$[1]),Th().memoizedState=$,[_e,$]},useMutableSource:function(){},useSyncExternalStore:function($,_e,et){var tt=M,nt=Th();if(I){if(et===void 0)throw Error(p$4(407));et=et()}else{if(et=_e(),Q===null)throw Error(p$4(349));Hh&30||di(tt,_e,et)}nt.memoizedState=et;var rt={value:et,getSnapshot:_e};return nt.queue=rt,mi(ai.bind(null,tt,rt,$),[$]),tt.flags|=2048,bi(9,ci.bind(null,tt,rt,et,_e),void 0,null),et},useId:function(){var $=Th(),_e=Q.identifierPrefix;if(I){var et=sg,tt=rg;et=(tt&~(1<<32-oc(tt)-1)).toString(32)+et,_e=":"+_e+"R"+et,et=Kh++,0<\/script>",$=$.removeChild($.firstChild)):typeof tt.is=="string"?$=ot.createElement(et,{is:tt.is}):($=ot.createElement(et),et==="select"&&(ot=$,tt.multiple?ot.multiple=!0:tt.size&&(ot.size=tt.size))):$=ot.createElementNS($,et),$[Of]=_e,$[Pf]=tt,zj($,_e,!1,!1),_e.stateNode=$;e:{switch(ot=vb(et,tt),et){case"dialog":D("cancel",$),D("close",$),nt=tt;break;case"iframe":case"object":case"embed":D("load",$),nt=tt;break;case"video":case"audio":for(nt=0;ntGj&&(_e.flags|=128,tt=!0,Dj(rt,!1),_e.lanes=4194304)}else{if(!tt)if($=Ch(ot),$!==null){if(_e.flags|=128,tt=!0,et=$.updateQueue,et!==null&&(_e.updateQueue=et,_e.flags|=4),Dj(rt,!0),rt.tail===null&&rt.tailMode==="hidden"&&!ot.alternate&&!I)return S(_e),null}else 2*B()-rt.renderingStartTime>Gj&&et!==1073741824&&(_e.flags|=128,tt=!0,Dj(rt,!1),_e.lanes=4194304);rt.isBackwards?(ot.sibling=_e.child,_e.child=ot):(et=rt.last,et!==null?et.sibling=ot:_e.child=ot,rt.last=ot)}return rt.tail!==null?(_e=rt.tail,rt.rendering=_e,rt.tail=_e.sibling,rt.renderingStartTime=B(),_e.sibling=null,et=L.current,G(L,tt?et&1|2:et&1),_e):(S(_e),null);case 22:case 23:return Hj(),tt=_e.memoizedState!==null,$!==null&&$.memoizedState!==null!==tt&&(_e.flags|=8192),tt&&_e.mode&1?fj&1073741824&&(S(_e),_e.subtreeFlags&6&&(_e.flags|=8192)):S(_e),null;case 24:return null;case 25:return null}throw Error(p$4(156,_e.tag))}function Ij($,_e){switch(wg(_e),_e.tag){case 1:return Zf(_e.type)&&$f(),$=_e.flags,$&65536?(_e.flags=$&-65537|128,_e):null;case 3:return zh(),E(Wf),E(H),Eh(),$=_e.flags,$&65536&&!($&128)?(_e.flags=$&-65537|128,_e):null;case 5:return Bh(_e),null;case 13:if(E(L),$=_e.memoizedState,$!==null&&$.dehydrated!==null){if(_e.alternate===null)throw Error(p$4(340));Ig()}return $=_e.flags,$&65536?(_e.flags=$&-65537|128,_e):null;case 19:return E(L),null;case 4:return zh(),null;case 10:return ah(_e.type._context),null;case 22:case 23:return Hj(),null;case 24:return null;default:return null}}var Jj=!1,U=!1,Kj=typeof WeakSet=="function"?WeakSet:Set,V=null;function Lj($,_e){var et=$.ref;if(et!==null)if(typeof et=="function")try{et(null)}catch(tt){W($,_e,tt)}else et.current=null}function Mj($,_e,et){try{et()}catch(tt){W($,_e,tt)}}var Nj=!1;function Oj($,_e){if(Cf=dd,$=Me(),Ne($)){if("selectionStart"in $)var et={start:$.selectionStart,end:$.selectionEnd};else e:{et=(et=$.ownerDocument)&&et.defaultView||window;var tt=et.getSelection&&et.getSelection();if(tt&&tt.rangeCount!==0){et=tt.anchorNode;var nt=tt.anchorOffset,rt=tt.focusNode;tt=tt.focusOffset;try{et.nodeType,rt.nodeType}catch{et=null;break e}var ot=0,it=-1,st=-1,at=0,ut=0,ft=$,dt=null;t:for(;;){for(var pt;ft!==et||nt!==0&&ft.nodeType!==3||(it=ot+nt),ft!==rt||tt!==0&&ft.nodeType!==3||(st=ot+tt),ft.nodeType===3&&(ot+=ft.nodeValue.length),(pt=ft.firstChild)!==null;)dt=ft,ft=pt;for(;;){if(ft===$)break t;if(dt===et&&++at===nt&&(it=ot),dt===rt&&++ut===tt&&(st=ot),(pt=ft.nextSibling)!==null)break;ft=dt,dt=ft.parentNode}ft=pt}et=it===-1||st===-1?null:{start:it,end:st}}else et=null}et=et||{start:0,end:0}}else et=null;for(Df={focusedElem:$,selectionRange:et},dd=!1,V=_e;V!==null;)if(_e=V,$=_e.child,(_e.subtreeFlags&1028)!==0&&$!==null)$.return=_e,V=$;else for(;V!==null;){_e=V;try{var ht=_e.alternate;if(_e.flags&1024)switch(_e.tag){case 0:case 11:case 15:break;case 1:if(ht!==null){var gt=ht.memoizedProps,yt=ht.memoizedState,vt=_e.stateNode,St=vt.getSnapshotBeforeUpdate(_e.elementType===_e.type?gt:Ci(_e.type,gt),yt);vt.__reactInternalSnapshotBeforeUpdate=St}break;case 3:var Tt=_e.stateNode.containerInfo;Tt.nodeType===1?Tt.textContent="":Tt.nodeType===9&&Tt.documentElement&&Tt.removeChild(Tt.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p$4(163))}}catch($t){W(_e,_e.return,$t)}if($=_e.sibling,$!==null){$.return=_e.return,V=$;break}V=_e.return}return ht=Nj,Nj=!1,ht}function Pj($,_e,et){var tt=_e.updateQueue;if(tt=tt!==null?tt.lastEffect:null,tt!==null){var nt=tt=tt.next;do{if((nt.tag&$)===$){var rt=nt.destroy;nt.destroy=void 0,rt!==void 0&&Mj(_e,et,rt)}nt=nt.next}while(nt!==tt)}}function Qj($,_e){if(_e=_e.updateQueue,_e=_e!==null?_e.lastEffect:null,_e!==null){var et=_e=_e.next;do{if((et.tag&$)===$){var tt=et.create;et.destroy=tt()}et=et.next}while(et!==_e)}}function Rj($){var _e=$.ref;if(_e!==null){var et=$.stateNode;switch($.tag){case 5:$=et;break;default:$=et}typeof _e=="function"?_e($):_e.current=$}}function Sj($){var _e=$.alternate;_e!==null&&($.alternate=null,Sj(_e)),$.child=null,$.deletions=null,$.sibling=null,$.tag===5&&(_e=$.stateNode,_e!==null&&(delete _e[Of],delete _e[Pf],delete _e[of],delete _e[Qf],delete _e[Rf])),$.stateNode=null,$.return=null,$.dependencies=null,$.memoizedProps=null,$.memoizedState=null,$.pendingProps=null,$.stateNode=null,$.updateQueue=null}function Tj($){return $.tag===5||$.tag===3||$.tag===4}function Uj($){e:for(;;){for(;$.sibling===null;){if($.return===null||Tj($.return))return null;$=$.return}for($.sibling.return=$.return,$=$.sibling;$.tag!==5&&$.tag!==6&&$.tag!==18;){if($.flags&2||$.child===null||$.tag===4)continue e;$.child.return=$,$=$.child}if(!($.flags&2))return $.stateNode}}function Vj($,_e,et){var tt=$.tag;if(tt===5||tt===6)$=$.stateNode,_e?et.nodeType===8?et.parentNode.insertBefore($,_e):et.insertBefore($,_e):(et.nodeType===8?(_e=et.parentNode,_e.insertBefore($,et)):(_e=et,_e.appendChild($)),et=et._reactRootContainer,et!=null||_e.onclick!==null||(_e.onclick=Bf));else if(tt!==4&&($=$.child,$!==null))for(Vj($,_e,et),$=$.sibling;$!==null;)Vj($,_e,et),$=$.sibling}function Wj($,_e,et){var tt=$.tag;if(tt===5||tt===6)$=$.stateNode,_e?et.insertBefore($,_e):et.appendChild($);else if(tt!==4&&($=$.child,$!==null))for(Wj($,_e,et),$=$.sibling;$!==null;)Wj($,_e,et),$=$.sibling}var X=null,Xj=!1;function Yj($,_e,et){for(et=et.child;et!==null;)Zj($,_e,et),et=et.sibling}function Zj($,_e,et){if(lc&&typeof lc.onCommitFiberUnmount=="function")try{lc.onCommitFiberUnmount(kc,et)}catch{}switch(et.tag){case 5:U||Lj(et,_e);case 6:var tt=X,nt=Xj;X=null,Yj($,_e,et),X=tt,Xj=nt,X!==null&&(Xj?($=X,et=et.stateNode,$.nodeType===8?$.parentNode.removeChild(et):$.removeChild(et)):X.removeChild(et.stateNode));break;case 18:X!==null&&(Xj?($=X,et=et.stateNode,$.nodeType===8?Kf($.parentNode,et):$.nodeType===1&&Kf($,et),bd($)):Kf(X,et.stateNode));break;case 4:tt=X,nt=Xj,X=et.stateNode.containerInfo,Xj=!0,Yj($,_e,et),X=tt,Xj=nt;break;case 0:case 11:case 14:case 15:if(!U&&(tt=et.updateQueue,tt!==null&&(tt=tt.lastEffect,tt!==null))){nt=tt=tt.next;do{var rt=nt,ot=rt.destroy;rt=rt.tag,ot!==void 0&&(rt&2||rt&4)&&Mj(et,_e,ot),nt=nt.next}while(nt!==tt)}Yj($,_e,et);break;case 1:if(!U&&(Lj(et,_e),tt=et.stateNode,typeof tt.componentWillUnmount=="function"))try{tt.props=et.memoizedProps,tt.state=et.memoizedState,tt.componentWillUnmount()}catch(it){W(et,_e,it)}Yj($,_e,et);break;case 21:Yj($,_e,et);break;case 22:et.mode&1?(U=(tt=U)||et.memoizedState!==null,Yj($,_e,et),U=tt):Yj($,_e,et);break;default:Yj($,_e,et)}}function ak($){var _e=$.updateQueue;if(_e!==null){$.updateQueue=null;var et=$.stateNode;et===null&&(et=$.stateNode=new Kj),_e.forEach(function(tt){var nt=bk.bind(null,$,tt);et.has(tt)||(et.add(tt),tt.then(nt,nt))})}}function ck($,_e){var et=_e.deletions;if(et!==null)for(var tt=0;ttnt&&(nt=ot),tt&=~rt}if(tt=nt,tt=B()-tt,tt=(120>tt?120:480>tt?480:1080>tt?1080:1920>tt?1920:3e3>tt?3e3:4320>tt?4320:1960*lk(tt/1960))-tt,10$?16:$,wk===null)var tt=!1;else{if($=wk,wk=null,xk=0,K&6)throw Error(p$4(331));var nt=K;for(K|=4,V=$.current;V!==null;){var rt=V,ot=rt.child;if(V.flags&16){var it=rt.deletions;if(it!==null){for(var st=0;stB()-fk?Kk($,0):rk|=et),Dk($,_e)}function Yk($,_e){_e===0&&($.mode&1?(_e=sc,sc<<=1,!(sc&130023424)&&(sc=4194304)):_e=1);var et=R();$=ih($,_e),$!==null&&(Ac($,_e,et),Dk($,et))}function uj($){var _e=$.memoizedState,et=0;_e!==null&&(et=_e.retryLane),Yk($,et)}function bk($,_e){var et=0;switch($.tag){case 13:var tt=$.stateNode,nt=$.memoizedState;nt!==null&&(et=nt.retryLane);break;case 19:tt=$.stateNode;break;default:throw Error(p$4(314))}tt!==null&&tt.delete(_e),Yk($,et)}var Vk;Vk=function($,_e,et){if($!==null)if($.memoizedProps!==_e.pendingProps||Wf.current)dh=!0;else{if(!($.lanes&et)&&!(_e.flags&128))return dh=!1,yj($,_e,et);dh=!!($.flags&131072)}else dh=!1,I&&_e.flags&1048576&&ug(_e,ng,_e.index);switch(_e.lanes=0,_e.tag){case 2:var tt=_e.type;ij($,_e),$=_e.pendingProps;var nt=Yf(_e,H.current);ch(_e,et),nt=Nh(null,_e,tt,$,nt,et);var rt=Sh();return _e.flags|=1,typeof nt=="object"&&nt!==null&&typeof nt.render=="function"&&nt.$$typeof===void 0?(_e.tag=1,_e.memoizedState=null,_e.updateQueue=null,Zf(tt)?(rt=!0,cg(_e)):rt=!1,_e.memoizedState=nt.state!==null&&nt.state!==void 0?nt.state:null,kh(_e),nt.updater=Ei,_e.stateNode=nt,nt._reactInternals=_e,Ii(_e,tt,$,et),_e=jj(null,_e,tt,!0,rt,et)):(_e.tag=0,I&&rt&&vg(_e),Xi(null,_e,nt,et),_e=_e.child),_e;case 16:tt=_e.elementType;e:{switch(ij($,_e),$=_e.pendingProps,nt=tt._init,tt=nt(tt._payload),_e.type=tt,nt=_e.tag=Zk(tt),$=Ci(tt,$),nt){case 0:_e=cj(null,_e,tt,$,et);break e;case 1:_e=hj(null,_e,tt,$,et);break e;case 11:_e=Yi(null,_e,tt,$,et);break e;case 14:_e=$i(null,_e,tt,Ci(tt.type,$),et);break e}throw Error(p$4(306,tt,""))}return _e;case 0:return tt=_e.type,nt=_e.pendingProps,nt=_e.elementType===tt?nt:Ci(tt,nt),cj($,_e,tt,nt,et);case 1:return tt=_e.type,nt=_e.pendingProps,nt=_e.elementType===tt?nt:Ci(tt,nt),hj($,_e,tt,nt,et);case 3:e:{if(kj(_e),$===null)throw Error(p$4(387));tt=_e.pendingProps,rt=_e.memoizedState,nt=rt.element,lh($,_e),qh(_e,tt,null,et);var ot=_e.memoizedState;if(tt=ot.element,rt.isDehydrated)if(rt={element:tt,isDehydrated:!1,cache:ot.cache,pendingSuspenseBoundaries:ot.pendingSuspenseBoundaries,transitions:ot.transitions},_e.updateQueue.baseState=rt,_e.memoizedState=rt,_e.flags&256){nt=Ji(Error(p$4(423)),_e),_e=lj($,_e,tt,et,nt);break e}else if(tt!==nt){nt=Ji(Error(p$4(424)),_e),_e=lj($,_e,tt,et,nt);break e}else for(yg=Lf(_e.stateNode.containerInfo.firstChild),xg=_e,I=!0,zg=null,et=Vg(_e,null,tt,et),_e.child=et;et;)et.flags=et.flags&-3|4096,et=et.sibling;else{if(Ig(),tt===nt){_e=Zi($,_e,et);break e}Xi($,_e,tt,et)}_e=_e.child}return _e;case 5:return Ah(_e),$===null&&Eg(_e),tt=_e.type,nt=_e.pendingProps,rt=$!==null?$.memoizedProps:null,ot=nt.children,Ef(tt,nt)?ot=null:rt!==null&&Ef(tt,rt)&&(_e.flags|=32),gj($,_e),Xi($,_e,ot,et),_e.child;case 6:return $===null&&Eg(_e),null;case 13:return oj($,_e,et);case 4:return yh(_e,_e.stateNode.containerInfo),tt=_e.pendingProps,$===null?_e.child=Ug(_e,null,tt,et):Xi($,_e,tt,et),_e.child;case 11:return tt=_e.type,nt=_e.pendingProps,nt=_e.elementType===tt?nt:Ci(tt,nt),Yi($,_e,tt,nt,et);case 7:return Xi($,_e,_e.pendingProps,et),_e.child;case 8:return Xi($,_e,_e.pendingProps.children,et),_e.child;case 12:return Xi($,_e,_e.pendingProps.children,et),_e.child;case 10:e:{if(tt=_e.type._context,nt=_e.pendingProps,rt=_e.memoizedProps,ot=nt.value,G(Wg,tt._currentValue),tt._currentValue=ot,rt!==null)if(He(rt.value,ot)){if(rt.children===nt.children&&!Wf.current){_e=Zi($,_e,et);break e}}else for(rt=_e.child,rt!==null&&(rt.return=_e);rt!==null;){var it=rt.dependencies;if(it!==null){ot=rt.child;for(var st=it.firstContext;st!==null;){if(st.context===tt){if(rt.tag===1){st=mh(-1,et&-et),st.tag=2;var at=rt.updateQueue;if(at!==null){at=at.shared;var ut=at.pending;ut===null?st.next=st:(st.next=ut.next,ut.next=st),at.pending=st}}rt.lanes|=et,st=rt.alternate,st!==null&&(st.lanes|=et),bh(rt.return,et,_e),it.lanes|=et;break}st=st.next}}else if(rt.tag===10)ot=rt.type===_e.type?null:rt.child;else if(rt.tag===18){if(ot=rt.return,ot===null)throw Error(p$4(341));ot.lanes|=et,it=ot.alternate,it!==null&&(it.lanes|=et),bh(ot,et,_e),ot=rt.sibling}else ot=rt.child;if(ot!==null)ot.return=rt;else for(ot=rt;ot!==null;){if(ot===_e){ot=null;break}if(rt=ot.sibling,rt!==null){rt.return=ot.return,ot=rt;break}ot=ot.return}rt=ot}Xi($,_e,nt.children,et),_e=_e.child}return _e;case 9:return nt=_e.type,tt=_e.pendingProps.children,ch(_e,et),nt=eh(nt),tt=tt(nt),_e.flags|=1,Xi($,_e,tt,et),_e.child;case 14:return tt=_e.type,nt=Ci(tt,_e.pendingProps),nt=Ci(tt.type,nt),$i($,_e,tt,nt,et);case 15:return bj($,_e,_e.type,_e.pendingProps,et);case 17:return tt=_e.type,nt=_e.pendingProps,nt=_e.elementType===tt?nt:Ci(tt,nt),ij($,_e),_e.tag=1,Zf(tt)?($=!0,cg(_e)):$=!1,ch(_e,et),Gi(_e,tt,nt),Ii(_e,tt,nt,et),jj(null,_e,tt,!0,$,et);case 19:return xj($,_e,et);case 22:return dj($,_e,et)}throw Error(p$4(156,_e.tag))};function Fk($,_e){return ac($,_e)}function $k($,_e,et,tt){this.tag=$,this.key=et,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=_e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=tt,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bg($,_e,et,tt){return new $k($,_e,et,tt)}function aj($){return $=$.prototype,!(!$||!$.isReactComponent)}function Zk($){if(typeof $=="function")return aj($)?1:0;if($!=null){if($=$.$$typeof,$===Da)return 11;if($===Ga)return 14}return 2}function Pg($,_e){var et=$.alternate;return et===null?(et=Bg($.tag,_e,$.key,$.mode),et.elementType=$.elementType,et.type=$.type,et.stateNode=$.stateNode,et.alternate=$,$.alternate=et):(et.pendingProps=_e,et.type=$.type,et.flags=0,et.subtreeFlags=0,et.deletions=null),et.flags=$.flags&14680064,et.childLanes=$.childLanes,et.lanes=$.lanes,et.child=$.child,et.memoizedProps=$.memoizedProps,et.memoizedState=$.memoizedState,et.updateQueue=$.updateQueue,_e=$.dependencies,et.dependencies=_e===null?null:{lanes:_e.lanes,firstContext:_e.firstContext},et.sibling=$.sibling,et.index=$.index,et.ref=$.ref,et}function Rg($,_e,et,tt,nt,rt){var ot=2;if(tt=$,typeof $=="function")aj($)&&(ot=1);else if(typeof $=="string")ot=5;else e:switch($){case ya:return Tg(et.children,nt,rt,_e);case za:ot=8,nt|=8;break;case Aa:return $=Bg(12,et,_e,nt|2),$.elementType=Aa,$.lanes=rt,$;case Ea:return $=Bg(13,et,_e,nt),$.elementType=Ea,$.lanes=rt,$;case Fa:return $=Bg(19,et,_e,nt),$.elementType=Fa,$.lanes=rt,$;case Ia:return pj(et,nt,rt,_e);default:if(typeof $=="object"&&$!==null)switch($.$$typeof){case Ba:ot=10;break e;case Ca:ot=9;break e;case Da:ot=11;break e;case Ga:ot=14;break e;case Ha:ot=16,tt=null;break e}throw Error(p$4(130,$==null?$:typeof $,""))}return _e=Bg(ot,et,_e,nt),_e.elementType=$,_e.type=tt,_e.lanes=rt,_e}function Tg($,_e,et,tt){return $=Bg(7,$,tt,_e),$.lanes=et,$}function pj($,_e,et,tt){return $=Bg(22,$,tt,_e),$.elementType=Ia,$.lanes=et,$.stateNode={isHidden:!1},$}function Qg($,_e,et){return $=Bg(6,$,null,_e),$.lanes=et,$}function Sg($,_e,et){return _e=Bg(4,$.children!==null?$.children:[],$.key,_e),_e.lanes=et,_e.stateNode={containerInfo:$.containerInfo,pendingChildren:null,implementation:$.implementation},_e}function al($,_e,et,tt,nt){this.tag=_e,this.containerInfo=$,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zc(0),this.expirationTimes=zc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zc(0),this.identifierPrefix=tt,this.onRecoverableError=nt,this.mutableSourceEagerHydrationData=null}function bl($,_e,et,tt,nt,rt,ot,it,st){return $=new al($,_e,et,it,st),_e===1?(_e=1,rt===!0&&(_e|=8)):_e=0,rt=Bg(3,null,null,_e),$.current=rt,rt.stateNode=$,rt.memoizedState={element:tt,isDehydrated:et,cache:null,transitions:null,pendingSuspenseBoundaries:null},kh(rt),$}function cl($,_e,et){var tt=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch($){console.error($)}}checkDCE(),reactDom.exports=reactDom_production_min;var reactDomExports=reactDom.exports;const ReactDOM=getDefaultExportFromCjs(reactDomExports);var m$2=reactDomExports;client$1.createRoot=m$2.createRoot,client$1.hydrateRoot=m$2.hydrateRoot;var jsx=function(_e,et){var tt=arguments;if(et==null||!hasOwn.call(et,"css"))return reactExports.createElement.apply(void 0,tt);var nt=tt.length,rt=new Array(nt);rt[0]=Emotion$1,rt[1]=createEmotionProps(_e,et);for(var ot=2;otreactExports.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-mail",...$},reactExports.createElement("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}),reactExports.createElement("polyline",{points:"11 16 18 16"}),reactExports.createElement("polyline",{points:"6 16 8 16"}),reactExports.createElement("polyline",{points:"6 12 13 12"}),reactExports.createElement("polyline",{points:"16 12 18 12"}));function formatProdErrorMessage$1($){return`Minified Redux error #${$}; visit https://redux.js.org/Errors?code=${$} for the full message or use the non-minified dev environment for full errors. `}var $$observable=typeof Symbol=="function"&&Symbol.observable||"@@observable",symbol_observable_default=$$observable,randomString$1=()=>Math.random().toString(36).substring(7).split("").join("."),ActionTypes={INIT:`@@redux/INIT${randomString$1()}`,REPLACE:`@@redux/REPLACE${randomString$1()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${randomString$1()}`},actionTypes_default=ActionTypes;function isPlainObject$2($){if(typeof $!="object"||$===null)return!1;let _e=$;for(;Object.getPrototypeOf(_e)!==null;)_e=Object.getPrototypeOf(_e);return Object.getPrototypeOf($)===_e||Object.getPrototypeOf($)===null}function createStore($,_e,et){if(typeof $!="function")throw new Error(formatProdErrorMessage$1(2));if(typeof _e=="function"&&typeof et=="function"||typeof et=="function"&&typeof arguments[3]=="function")throw new Error(formatProdErrorMessage$1(0));if(typeof _e=="function"&&typeof et>"u"&&(et=_e,_e=void 0),typeof et<"u"){if(typeof et!="function")throw new Error(formatProdErrorMessage$1(1));return et(createStore)($,_e)}let tt=$,nt=_e,rt=new Map,ot=rt,it=0,st=!1;function at(){ot===rt&&(ot=new Map,rt.forEach((yt,vt)=>{ot.set(vt,yt)}))}function ut(){if(st)throw new Error(formatProdErrorMessage$1(3));return nt}function ft(yt){if(typeof yt!="function")throw new Error(formatProdErrorMessage$1(4));if(st)throw new Error(formatProdErrorMessage$1(5));let vt=!0;at();const St=it++;return ot.set(St,yt),function(){if(vt){if(st)throw new Error(formatProdErrorMessage$1(6));vt=!1,at(),ot.delete(St),rt=null}}}function dt(yt){if(!isPlainObject$2(yt))throw new Error(formatProdErrorMessage$1(7));if(typeof yt.type>"u")throw new Error(formatProdErrorMessage$1(8));if(typeof yt.type!="string")throw new Error(formatProdErrorMessage$1(17));if(st)throw new Error(formatProdErrorMessage$1(9));try{st=!0,nt=tt(nt,yt)}finally{st=!1}return(rt=ot).forEach(St=>{St()}),yt}function pt(yt){if(typeof yt!="function")throw new Error(formatProdErrorMessage$1(10));tt=yt,dt({type:actionTypes_default.REPLACE})}function ht(){const yt=ft;return{subscribe(vt){if(typeof vt!="object"||vt===null)throw new Error(formatProdErrorMessage$1(11));function St(){const $t=vt;$t.next&&$t.next(ut())}return St(),{unsubscribe:yt(St)}},[symbol_observable_default](){return this}}}return dt({type:actionTypes_default.INIT}),{dispatch:dt,subscribe:ft,getState:ut,replaceReducer:pt,[symbol_observable_default]:ht}}function assertReducerShape($){Object.keys($).forEach(_e=>{const et=$[_e];if(typeof et(void 0,{type:actionTypes_default.INIT})>"u")throw new Error(formatProdErrorMessage$1(12));if(typeof et(void 0,{type:actionTypes_default.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(formatProdErrorMessage$1(13))})}function combineReducers($){const _e=Object.keys($),et={};for(let rt=0;rt<_e.length;rt++){const ot=_e[rt];typeof $[ot]=="function"&&(et[ot]=$[ot])}const tt=Object.keys(et);let nt;try{assertReducerShape(et)}catch(rt){nt=rt}return function(ot={},it){if(nt)throw nt;let st=!1;const at={};for(let ut=0;ut"u")throw it&&it.type,new Error(formatProdErrorMessage$1(14));at[ft]=ht,st=st||ht!==pt}return st=st||tt.length!==Object.keys(ot).length,st?at:ot}}function compose$1(...$){return $.length===0?_e=>_e:$.length===1?$[0]:$.reduce((_e,et)=>(...tt)=>_e(et(...tt)))}function applyMiddleware(...$){return _e=>(et,tt)=>{const nt=_e(et,tt);let rt=()=>{throw new Error(formatProdErrorMessage$1(15))};const ot={getState:nt.getState,dispatch:(st,...at)=>rt(st,...at)},it=$.map(st=>st(ot));return rt=compose$1(...it)(nt.dispatch),{...nt,dispatch:rt}}}function isAction($){return isPlainObject$2($)&&"type"in $&&typeof $.type=="string"}var NOTHING=Symbol.for("immer-nothing"),DRAFTABLE=Symbol.for("immer-draftable"),DRAFT_STATE=Symbol.for("immer-state");function die($,..._e){throw new Error(`[Immer] minified error nr: ${$}. Full error at: https://bit.ly/3cXEKWf`)}var getPrototypeOf=Object.getPrototypeOf;function isDraft($){return!!$&&!!$[DRAFT_STATE]}function isDraftable($){var _e;return $?isPlainObject$1($)||Array.isArray($)||!!$[DRAFTABLE]||!!((_e=$.constructor)!=null&&_e[DRAFTABLE])||isMap($)||isSet($):!1}var objectCtorString=Object.prototype.constructor.toString();function isPlainObject$1($){if(!$||typeof $!="object")return!1;const _e=getPrototypeOf($);if(_e===null)return!0;const et=Object.hasOwnProperty.call(_e,"constructor")&&_e.constructor;return et===Object?!0:typeof et=="function"&&Function.toString.call(et)===objectCtorString}function each$1($,_e){getArchtype($)===0?Object.entries($).forEach(([et,tt])=>{_e(et,tt,$)}):$.forEach((et,tt)=>_e(tt,et,$))}function getArchtype($){const _e=$[DRAFT_STATE];return _e?_e.type_:Array.isArray($)?1:isMap($)?2:isSet($)?3:0}function has($,_e){return getArchtype($)===2?$.has(_e):Object.prototype.hasOwnProperty.call($,_e)}function set($,_e,et){const tt=getArchtype($);tt===2?$.set(_e,et):tt===3?$.add(et):$[_e]=et}function is$1($,_e){return $===_e?$!==0||1/$===1/_e:$!==$&&_e!==_e}function isMap($){return $ instanceof Map}function isSet($){return $ instanceof Set}function latest($){return $.copy_||$.base_}function shallowCopy($,_e){if(isMap($))return new Map($);if(isSet($))return new Set($);if(Array.isArray($))return Array.prototype.slice.call($);if(!_e&&isPlainObject$1($))return getPrototypeOf($)?{...$}:Object.assign(Object.create(null),$);const et=Object.getOwnPropertyDescriptors($);delete et[DRAFT_STATE];let tt=Reflect.ownKeys(et);for(let nt=0;nt1&&($.set=$.add=$.clear=$.delete=dontMutateFrozenCollections),Object.freeze($),_e&&each$1($,(et,tt)=>freeze(tt,!0))),$}function dontMutateFrozenCollections(){die(2)}function isFrozen($){return Object.isFrozen($)}var plugins={};function getPlugin($){const _e=plugins[$];return _e||die(0,$),_e}var currentScope;function getCurrentScope(){return currentScope}function createScope($,_e){return{drafts_:[],parent_:$,immer_:_e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function usePatchesInScope($,_e){_e&&(getPlugin("Patches"),$.patches_=[],$.inversePatches_=[],$.patchListener_=_e)}function revokeScope($){leaveScope($),$.drafts_.forEach(revokeDraft),$.drafts_=null}function leaveScope($){$===currentScope&&(currentScope=$.parent_)}function enterScope($){return currentScope=createScope(currentScope,$)}function revokeDraft($){const _e=$[DRAFT_STATE];_e.type_===0||_e.type_===1?_e.revoke_():_e.revoked_=!0}function processResult($,_e){_e.unfinalizedDrafts_=_e.drafts_.length;const et=_e.drafts_[0];return $!==void 0&&$!==et?(et[DRAFT_STATE].modified_&&(revokeScope(_e),die(4)),isDraftable($)&&($=finalize(_e,$),_e.parent_||maybeFreeze(_e,$)),_e.patches_&&getPlugin("Patches").generateReplacementPatches_(et[DRAFT_STATE].base_,$,_e.patches_,_e.inversePatches_)):$=finalize(_e,et,[]),revokeScope(_e),_e.patches_&&_e.patchListener_(_e.patches_,_e.inversePatches_),$!==NOTHING?$:void 0}function finalize($,_e,et){if(isFrozen(_e))return _e;const tt=_e[DRAFT_STATE];if(!tt)return each$1(_e,(nt,rt)=>finalizeProperty($,tt,_e,nt,rt,et)),_e;if(tt.scope_!==$)return _e;if(!tt.modified_)return maybeFreeze($,tt.base_,!0),tt.base_;if(!tt.finalized_){tt.finalized_=!0,tt.scope_.unfinalizedDrafts_--;const nt=tt.copy_;let rt=nt,ot=!1;tt.type_===3&&(rt=new Set(nt),nt.clear(),ot=!0),each$1(rt,(it,st)=>finalizeProperty($,tt,nt,it,st,et,ot)),maybeFreeze($,nt,!1),et&&$.patches_&&getPlugin("Patches").generatePatches_(tt,et,$.patches_,$.inversePatches_)}return tt.copy_}function finalizeProperty($,_e,et,tt,nt,rt,ot){if(isDraft(nt)){const it=rt&&_e&&_e.type_!==3&&!has(_e.assigned_,tt)?rt.concat(tt):void 0,st=finalize($,nt,it);if(set(et,tt,st),isDraft(st))$.canAutoFreeze_=!1;else return}else ot&&et.add(nt);if(isDraftable(nt)&&!isFrozen(nt)){if(!$.immer_.autoFreeze_&&$.unfinalizedDrafts_<1)return;finalize($,nt),(!_e||!_e.scope_.parent_)&&maybeFreeze($,nt)}}function maybeFreeze($,_e,et=!1){!$.parent_&&$.immer_.autoFreeze_&&$.canAutoFreeze_&&freeze(_e,et)}function createProxyProxy($,_e){const et=Array.isArray($),tt={type_:et?1:0,scope_:_e?_e.scope_:getCurrentScope(),modified_:!1,finalized_:!1,assigned_:{},parent_:_e,base_:$,draft_:null,copy_:null,revoke_:null,isManual_:!1};let nt=tt,rt=objectTraps;et&&(nt=[tt],rt=arrayTraps);const{revoke:ot,proxy:it}=Proxy.revocable(nt,rt);return tt.draft_=it,tt.revoke_=ot,it}var objectTraps={get($,_e){if(_e===DRAFT_STATE)return $;const et=latest($);if(!has(et,_e))return readPropFromProto($,et,_e);const tt=et[_e];return $.finalized_||!isDraftable(tt)?tt:tt===peek($.base_,_e)?(prepareCopy($),$.copy_[_e]=createProxy(tt,$)):tt},has($,_e){return _e in latest($)},ownKeys($){return Reflect.ownKeys(latest($))},set($,_e,et){const tt=getDescriptorFromProto(latest($),_e);if(tt!=null&&tt.set)return tt.set.call($.draft_,et),!0;if(!$.modified_){const nt=peek(latest($),_e),rt=nt==null?void 0:nt[DRAFT_STATE];if(rt&&rt.base_===et)return $.copy_[_e]=et,$.assigned_[_e]=!1,!0;if(is$1(et,nt)&&(et!==void 0||has($.base_,_e)))return!0;prepareCopy($),markChanged($)}return $.copy_[_e]===et&&(et!==void 0||_e in $.copy_)||Number.isNaN(et)&&Number.isNaN($.copy_[_e])||($.copy_[_e]=et,$.assigned_[_e]=!0),!0},deleteProperty($,_e){return peek($.base_,_e)!==void 0||_e in $.base_?($.assigned_[_e]=!1,prepareCopy($),markChanged($)):delete $.assigned_[_e],$.copy_&&delete $.copy_[_e],!0},getOwnPropertyDescriptor($,_e){const et=latest($),tt=Reflect.getOwnPropertyDescriptor(et,_e);return tt&&{writable:!0,configurable:$.type_!==1||_e!=="length",enumerable:tt.enumerable,value:et[_e]}},defineProperty(){die(11)},getPrototypeOf($){return getPrototypeOf($.base_)},setPrototypeOf(){die(12)}},arrayTraps={};each$1(objectTraps,($,_e)=>{arrayTraps[$]=function(){return arguments[0]=arguments[0][0],_e.apply(this,arguments)}});arrayTraps.deleteProperty=function($,_e){return arrayTraps.set.call(this,$,_e,void 0)};arrayTraps.set=function($,_e,et){return objectTraps.set.call(this,$[0],_e,et,$[0])};function peek($,_e){const et=$[DRAFT_STATE];return(et?latest(et):$)[_e]}function readPropFromProto($,_e,et){var nt;const tt=getDescriptorFromProto(_e,et);return tt?"value"in tt?tt.value:(nt=tt.get)==null?void 0:nt.call($.draft_):void 0}function getDescriptorFromProto($,_e){if(!(_e in $))return;let et=getPrototypeOf($);for(;et;){const tt=Object.getOwnPropertyDescriptor(et,_e);if(tt)return tt;et=getPrototypeOf(et)}}function markChanged($){$.modified_||($.modified_=!0,$.parent_&&markChanged($.parent_))}function prepareCopy($){$.copy_||($.copy_=shallowCopy($.base_,$.scope_.immer_.useStrictShallowCopy_))}var Immer2=class{constructor($){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(_e,et,tt)=>{if(typeof _e=="function"&&typeof et!="function"){const rt=et;et=_e;const ot=this;return function(st=rt,...at){return ot.produce(st,ut=>et.call(this,ut,...at))}}typeof et!="function"&&die(6),tt!==void 0&&typeof tt!="function"&&die(7);let nt;if(isDraftable(_e)){const rt=enterScope(this),ot=createProxy(_e,void 0);let it=!0;try{nt=et(ot),it=!1}finally{it?revokeScope(rt):leaveScope(rt)}return usePatchesInScope(rt,tt),processResult(nt,rt)}else if(!_e||typeof _e!="object"){if(nt=et(_e),nt===void 0&&(nt=_e),nt===NOTHING&&(nt=void 0),this.autoFreeze_&&freeze(nt,!0),tt){const rt=[],ot=[];getPlugin("Patches").generateReplacementPatches_(_e,nt,rt,ot),tt(rt,ot)}return nt}else die(1,_e)},this.produceWithPatches=(_e,et)=>{if(typeof _e=="function")return(ot,...it)=>this.produceWithPatches(ot,st=>_e(st,...it));let tt,nt;return[this.produce(_e,et,(ot,it)=>{tt=ot,nt=it}),tt,nt]},typeof($==null?void 0:$.autoFreeze)=="boolean"&&this.setAutoFreeze($.autoFreeze),typeof($==null?void 0:$.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy($.useStrictShallowCopy)}createDraft($){isDraftable($)||die(8),isDraft($)&&($=current($));const _e=enterScope(this),et=createProxy($,void 0);return et[DRAFT_STATE].isManual_=!0,leaveScope(_e),et}finishDraft($,_e){const et=$&&$[DRAFT_STATE];(!et||!et.isManual_)&&die(9);const{scope_:tt}=et;return usePatchesInScope(tt,_e),processResult(void 0,tt)}setAutoFreeze($){this.autoFreeze_=$}setUseStrictShallowCopy($){this.useStrictShallowCopy_=$}applyPatches($,_e){let et;for(et=_e.length-1;et>=0;et--){const nt=_e[et];if(nt.path.length===0&&nt.op==="replace"){$=nt.value;break}}et>-1&&(_e=_e.slice(et+1));const tt=getPlugin("Patches").applyPatches_;return isDraft($)?tt($,_e):this.produce($,nt=>tt(nt,_e))}};function createProxy($,_e){const et=isMap($)?getPlugin("MapSet").proxyMap_($,_e):isSet($)?getPlugin("MapSet").proxySet_($,_e):createProxyProxy($,_e);return(_e?_e.scope_:getCurrentScope()).drafts_.push(et),et}function current($){return isDraft($)||die(10,$),currentImpl($)}function currentImpl($){if(!isDraftable($)||isFrozen($))return $;const _e=$[DRAFT_STATE];let et;if(_e){if(!_e.modified_)return _e.base_;_e.finalized_=!0,et=shallowCopy($,_e.scope_.immer_.useStrictShallowCopy_)}else et=shallowCopy($,!0);return each$1(et,(tt,nt)=>{set(et,tt,currentImpl(nt))}),_e&&(_e.finalized_=!1),et}var immer=new Immer2,produce=immer.produce;immer.produceWithPatches.bind(immer);immer.setAutoFreeze.bind(immer);immer.setUseStrictShallowCopy.bind(immer);immer.applyPatches.bind(immer);immer.createDraft.bind(immer);immer.finishDraft.bind(immer);function assertIsFunction($,_e=`expected a function, instead received ${typeof $}`){if(typeof $!="function")throw new TypeError(_e)}function assertIsObject($,_e=`expected an object, instead received ${typeof $}`){if(typeof $!="object")throw new TypeError(_e)}function assertIsArrayOfFunctions($,_e="expected all items to be functions, instead received the following types: "){if(!$.every(et=>typeof et=="function")){const et=$.map(tt=>typeof tt=="function"?`function ${tt.name||"unnamed"}()`:typeof tt).join(", ");throw new TypeError(`${_e}[${et}]`)}}var ensureIsArray=$=>Array.isArray($)?$:[$];function getDependencies($){const _e=Array.isArray($[0])?$[0]:$;return assertIsArrayOfFunctions(_e,"createSelector expects all input-selectors to be functions, but received the following types: "),_e}function collectInputSelectorResults($,_e){const et=[],{length:tt}=$;for(let nt=0;nt{et=createCacheNode(),ot.resetResultsCount()},ot.resultsCount=()=>rt,ot.resetResultsCount=()=>{rt=0},ot}function createSelectorCreator($,..._e){const et=typeof $=="function"?{memoize:$,memoizeOptions:_e}:$,tt=(...nt)=>{let rt=0,ot=0,it,st={},at=nt.pop();typeof at=="object"&&(st=at,at=nt.pop()),assertIsFunction(at,`createSelector expects an output function after the inputs, but received: [${typeof at}]`);const ut={...et,...st},{memoize:ft,memoizeOptions:dt=[],argsMemoize:pt=weakMapMemoize,argsMemoizeOptions:ht=[],devModeChecks:gt={}}=ut,yt=ensureIsArray(dt),vt=ensureIsArray(ht),St=getDependencies(nt),Tt=ft(function(){return rt++,at.apply(null,arguments)},...yt),$t=pt(function(){ot++;const Ot=collectInputSelectorResults(St,arguments);return it=Tt.apply(null,Ot),it},...vt);return Object.assign($t,{resultFunc:at,memoizedResultFunc:Tt,dependencies:St,dependencyRecomputations:()=>ot,resetDependencyRecomputations:()=>{ot=0},lastResult:()=>it,recomputations:()=>rt,resetRecomputations:()=>{rt=0},memoize:ft,argsMemoize:pt})};return Object.assign(tt,{withTypes:()=>tt}),tt}var createSelector=createSelectorCreator(weakMapMemoize),createStructuredSelector=Object.assign(($,_e=createSelector)=>{assertIsObject($,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof $}`);const et=Object.keys($),tt=et.map(rt=>$[rt]);return _e(tt,(...rt)=>rt.reduce((ot,it,st)=>(ot[et[st]]=it,ot),{}))},{withTypes:()=>createStructuredSelector});function createThunkMiddleware($){return({dispatch:et,getState:tt})=>nt=>rt=>typeof rt=="function"?rt(et,tt,$):nt(rt)}var thunk=createThunkMiddleware(),withExtraArgument=createThunkMiddleware,createDraftSafeSelectorCreator=(...$)=>{const _e=createSelectorCreator(...$),et=Object.assign((...tt)=>{const nt=_e(...tt),rt=(ot,...it)=>nt(isDraft(ot)?current(ot):ot,...it);return Object.assign(rt,nt),rt},{withTypes:()=>et});return et};createDraftSafeSelectorCreator(weakMapMemoize);var composeWithDevTools=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?compose$1:compose$1.apply(null,arguments)},hasMatchFunction=$=>$&&typeof $.match=="function";function createAction($,_e){function et(...tt){if(_e){let nt=_e(...tt);if(!nt)throw new Error(formatProdErrorMessage(0));return{type:$,payload:nt.payload,..."meta"in nt&&{meta:nt.meta},..."error"in nt&&{error:nt.error}}}return{type:$,payload:tt[0]}}return et.toString=()=>`${$}`,et.type=$,et.match=tt=>isAction(tt)&&tt.type===$,et}var Tuple=class ws extends Array{constructor(..._e){super(..._e),Object.setPrototypeOf(this,ws.prototype)}static get[Symbol.species](){return ws}concat(..._e){return super.concat.apply(this,_e)}prepend(..._e){return _e.length===1&&Array.isArray(_e[0])?new ws(..._e[0].concat(this)):new ws(..._e.concat(this))}};function freezeDraftable($){return isDraftable($)?produce($,()=>{}):$}function emplace($,_e,et){if($.has(_e)){let nt=$.get(_e);return et.update&&(nt=et.update(nt,_e,$),$.set(_e,nt)),nt}if(!et.insert)throw new Error(formatProdErrorMessage(10));const tt=et.insert(_e,$);return $.set(_e,tt),tt}function isBoolean($){return typeof $=="boolean"}var buildGetDefaultMiddleware=()=>function(_e){const{thunk:et=!0,immutableCheck:tt=!0,serializableCheck:nt=!0,actionCreatorCheck:rt=!0}=_e??{};let ot=new Tuple;return et&&(isBoolean(et)?ot.push(thunk):ot.push(withExtraArgument(et.extraArgument))),ot},SHOULD_AUTOBATCH="RTK_autoBatch",createQueueWithTimer=$=>_e=>{setTimeout(_e,$)},rAF=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:createQueueWithTimer(10),autoBatchEnhancer=($={type:"raf"})=>_e=>(...et)=>{const tt=_e(...et);let nt=!0,rt=!1,ot=!1;const it=new Set,st=$.type==="tick"?queueMicrotask:$.type==="raf"?rAF:$.type==="callback"?$.queueNotification:createQueueWithTimer($.timeout),at=()=>{ot=!1,rt&&(rt=!1,it.forEach(ut=>ut()))};return Object.assign({},tt,{subscribe(ut){const ft=()=>nt&&ut(),dt=tt.subscribe(ft);return it.add(ut),()=>{dt(),it.delete(ut)}},dispatch(ut){var ft;try{return nt=!((ft=ut==null?void 0:ut.meta)!=null&&ft[SHOULD_AUTOBATCH]),rt=!nt,rt&&(ot||(ot=!0,st(at))),tt.dispatch(ut)}finally{nt=!0}}})},buildGetDefaultEnhancers=$=>function(et){const{autoBatch:tt=!0}=et??{};let nt=new Tuple($);return tt&&nt.push(autoBatchEnhancer(typeof tt=="object"?tt:void 0)),nt},IS_PRODUCTION=!0;function configureStore($){const _e=buildGetDefaultMiddleware(),{reducer:et=void 0,middleware:tt,devTools:nt=!0,preloadedState:rt=void 0,enhancers:ot=void 0}=$||{};let it;if(typeof et=="function")it=et;else if(isPlainObject$2(et))it=combineReducers(et);else throw new Error(formatProdErrorMessage(1));let st;typeof tt=="function"?st=tt(_e):st=_e();let at=compose$1;nt&&(at=composeWithDevTools({trace:!IS_PRODUCTION,...typeof nt=="object"&&nt}));const ut=applyMiddleware(...st),ft=buildGetDefaultEnhancers(ut);let dt=typeof ot=="function"?ot(ft):ft();const pt=at(...dt);return createStore(it,rt,pt)}function executeReducerBuilderCallback($){const _e={},et=[];let tt;const nt={addCase(rt,ot){const it=typeof rt=="string"?rt:rt.type;if(!it)throw new Error(formatProdErrorMessage(28));if(it in _e)throw new Error(formatProdErrorMessage(29));return _e[it]=ot,nt},addMatcher(rt,ot){return et.push({matcher:rt,reducer:ot}),nt},addDefaultCase(rt){return tt=rt,nt}};return $(nt),[_e,et,tt]}function isStateFunction($){return typeof $=="function"}function createReducer($,_e){let[et,tt,nt]=executeReducerBuilderCallback(_e),rt;if(isStateFunction($))rt=()=>freezeDraftable($());else{const it=freezeDraftable($);rt=()=>it}function ot(it=rt(),st){let at=[et[st.type],...tt.filter(({matcher:ut})=>ut(st)).map(({reducer:ut})=>ut)];return at.filter(ut=>!!ut).length===0&&(at=[nt]),at.reduce((ut,ft)=>{if(ft)if(isDraft(ut)){const pt=ft(ut,st);return pt===void 0?ut:pt}else{if(isDraftable(ut))return produce(ut,dt=>ft(dt,st));{const dt=ft(ut,st);if(dt===void 0){if(ut===null)return ut;throw new Error(formatProdErrorMessage(9))}return dt}}return ut},it)}return ot.getInitialState=rt,ot}var urlAlphabet="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",nanoid=($=21)=>{let _e="",et=$;for(;et--;)_e+=urlAlphabet[Math.random()*64|0];return _e},matches$1=($,_e)=>hasMatchFunction($)?$.match(_e):$(_e);function isAnyOf(...$){return _e=>$.some(et=>matches$1(et,_e))}var commonProperties=["name","message","stack","code"],RejectWithValue=class{constructor($,_e){Fu(this,"_type");this.payload=$,this.meta=_e}},FulfillWithMeta=class{constructor($,_e){Fu(this,"_type");this.payload=$,this.meta=_e}},miniSerializeError=$=>{if(typeof $=="object"&&$!==null){const _e={};for(const et of commonProperties)typeof $[et]=="string"&&(_e[et]=$[et]);return _e}return{message:String($)}},createAsyncThunk=(()=>{function $(_e,et,tt){const nt=createAction(_e+"/fulfilled",(st,at,ut,ft)=>({payload:st,meta:{...ft||{},arg:ut,requestId:at,requestStatus:"fulfilled"}})),rt=createAction(_e+"/pending",(st,at,ut)=>({payload:void 0,meta:{...ut||{},arg:at,requestId:st,requestStatus:"pending"}})),ot=createAction(_e+"/rejected",(st,at,ut,ft,dt)=>({payload:ft,error:(tt&&tt.serializeError||miniSerializeError)(st||"Rejected"),meta:{...dt||{},arg:ut,requestId:at,rejectedWithValue:!!ft,requestStatus:"rejected",aborted:(st==null?void 0:st.name)==="AbortError",condition:(st==null?void 0:st.name)==="ConditionError"}}));function it(st){return(at,ut,ft)=>{const dt=tt!=null&&tt.idGenerator?tt.idGenerator(st):nanoid(),pt=new AbortController;let ht,gt;function yt(St){gt=St,pt.abort()}const vt=async function(){var $t,bt;let St;try{let Ot=($t=tt==null?void 0:tt.condition)==null?void 0:$t.call(tt,st,{getState:ut,extra:ft});if(isThenable(Ot)&&(Ot=await Ot),Ot===!1||pt.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const Et=new Promise((mt,Ct)=>{ht=()=>{Ct({name:"AbortError",message:gt||"Aborted"})},pt.signal.addEventListener("abort",ht)});at(rt(dt,st,(bt=tt==null?void 0:tt.getPendingMeta)==null?void 0:bt.call(tt,{requestId:dt,arg:st},{getState:ut,extra:ft}))),St=await Promise.race([Et,Promise.resolve(et(st,{dispatch:at,getState:ut,extra:ft,requestId:dt,signal:pt.signal,abort:yt,rejectWithValue:(mt,Ct)=>new RejectWithValue(mt,Ct),fulfillWithValue:(mt,Ct)=>new FulfillWithMeta(mt,Ct)})).then(mt=>{if(mt instanceof RejectWithValue)throw mt;return mt instanceof FulfillWithMeta?nt(mt.payload,dt,st,mt.meta):nt(mt,dt,st)})])}catch(Ot){St=Ot instanceof RejectWithValue?ot(null,dt,st,Ot.payload,Ot.meta):ot(Ot,dt,st)}finally{ht&&pt.signal.removeEventListener("abort",ht)}return tt&&!tt.dispatchConditionRejection&&ot.match(St)&&St.meta.condition||at(St),St}();return Object.assign(vt,{abort:yt,requestId:dt,arg:st,unwrap(){return vt.then(unwrapResult)}})}}return Object.assign(it,{pending:rt,rejected:ot,fulfilled:nt,settled:isAnyOf(ot,nt),typePrefix:_e})}return $.withTypes=()=>$,$})();function unwrapResult($){if($.meta&&$.meta.rejectedWithValue)throw $.payload;if($.error)throw $.error;return $.payload}function isThenable($){return $!==null&&typeof $=="object"&&typeof $.then=="function"}var asyncThunkSymbol=Symbol.for("rtk-slice-createasyncthunk");function getType($,_e){return`${$}/${_e}`}function buildCreateSlice({creators:$}={}){var et;const _e=(et=$==null?void 0:$.asyncThunk)==null?void 0:et[asyncThunkSymbol];return function(nt){const{name:rt,reducerPath:ot=rt}=nt;if(!rt)throw new Error(formatProdErrorMessage(11));typeof process<"u";const it=(typeof nt.reducers=="function"?nt.reducers(buildReducerCreators()):nt.reducers)||{},st=Object.keys(it),at={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},ut={addCase(Tt,$t){const bt=typeof Tt=="string"?Tt:Tt.type;if(!bt)throw new Error(formatProdErrorMessage(12));if(bt in at.sliceCaseReducersByType)throw new Error(formatProdErrorMessage(13));return at.sliceCaseReducersByType[bt]=$t,ut},addMatcher(Tt,$t){return at.sliceMatchers.push({matcher:Tt,reducer:$t}),ut},exposeAction(Tt,$t){return at.actionCreators[Tt]=$t,ut},exposeCaseReducer(Tt,$t){return at.sliceCaseReducersByName[Tt]=$t,ut}};st.forEach(Tt=>{const $t=it[Tt],bt={reducerName:Tt,type:getType(rt,Tt),createNotation:typeof nt.reducers=="function"};isAsyncThunkSliceReducerDefinition($t)?handleThunkCaseReducerDefinition(bt,$t,ut,_e):handleNormalReducerDefinition(bt,$t,ut)});function ft(){const[Tt={},$t=[],bt=void 0]=typeof nt.extraReducers=="function"?executeReducerBuilderCallback(nt.extraReducers):[nt.extraReducers],Ot={...Tt,...at.sliceCaseReducersByType};return createReducer(nt.initialState,Et=>{for(let mt in Ot)Et.addCase(mt,Ot[mt]);for(let mt of at.sliceMatchers)Et.addMatcher(mt.matcher,mt.reducer);for(let mt of $t)Et.addMatcher(mt.matcher,mt.reducer);bt&&Et.addDefaultCase(bt)})}const dt=Tt=>Tt,pt=new Map;let ht;function gt(Tt,$t){return ht||(ht=ft()),ht(Tt,$t)}function yt(){return ht||(ht=ft()),ht.getInitialState()}function vt(Tt,$t=!1){function bt(Et){let mt=Et[Tt];return typeof mt>"u"&&$t&&(mt=yt()),mt}function Ot(Et=dt){const mt=emplace(pt,$t,{insert:()=>new WeakMap});return emplace(mt,Et,{insert:()=>{const Ct={};for(const[wt,Pt]of Object.entries(nt.selectors??{}))Ct[wt]=wrapSelector(Pt,Et,yt,$t);return Ct}})}return{reducerPath:Tt,getSelectors:Ot,get selectors(){return Ot(bt)},selectSlice:bt}}const St={name:rt,reducer:gt,actions:at.actionCreators,caseReducers:at.sliceCaseReducersByName,getInitialState:yt,...vt(ot),injectInto(Tt,{reducerPath:$t,...bt}={}){const Ot=$t??ot;return Tt.inject({reducerPath:Ot,reducer:gt},bt),{...St,...vt(Ot,!0)}}};return St}}function wrapSelector($,_e,et,tt){function nt(rt,...ot){let it=_e(rt);return typeof it>"u"&&tt&&(it=et()),$(it,...ot)}return nt.unwrapped=$,nt}var createSlice=buildCreateSlice();function buildReducerCreators(){function $(_e,et){return{_reducerDefinitionType:"asyncThunk",payloadCreator:_e,...et}}return $.withTypes=()=>$,{reducer(_e){return Object.assign({[_e.name](...et){return _e(...et)}}[_e.name],{_reducerDefinitionType:"reducer"})},preparedReducer(_e,et){return{_reducerDefinitionType:"reducerWithPrepare",prepare:_e,reducer:et}},asyncThunk:$}}function handleNormalReducerDefinition({type:$,reducerName:_e,createNotation:et},tt,nt){let rt,ot;if("reducer"in tt){if(et&&!isCaseReducerWithPrepareDefinition(tt))throw new Error(formatProdErrorMessage(17));rt=tt.reducer,ot=tt.prepare}else rt=tt;nt.addCase($,rt).exposeCaseReducer(_e,rt).exposeAction(_e,ot?createAction($,ot):createAction($))}function isAsyncThunkSliceReducerDefinition($){return $._reducerDefinitionType==="asyncThunk"}function isCaseReducerWithPrepareDefinition($){return $._reducerDefinitionType==="reducerWithPrepare"}function handleThunkCaseReducerDefinition({type:$,reducerName:_e},et,tt,nt){if(!nt)throw new Error(formatProdErrorMessage(18));const{payloadCreator:rt,fulfilled:ot,pending:it,rejected:st,settled:at,options:ut}=et,ft=nt($,rt,ut);tt.exposeAction(_e,ft),ot&&tt.addCase(ft.fulfilled,ot),it&&tt.addCase(ft.pending,it),st&&tt.addCase(ft.rejected,st),at&&tt.addMatcher(ft.settled,at),tt.exposeCaseReducer(_e,{fulfilled:ot||noop$4,pending:it||noop$4,rejected:st||noop$4,settled:at||noop$4})}function noop$4(){}var assertFunction=($,_e)=>{if(typeof $!="function")throw new Error(formatProdErrorMessage(32))},alm="listenerMiddleware",getListenerEntryPropsFrom=$=>{let{type:_e,actionCreator:et,matcher:tt,predicate:nt,effect:rt}=$;if(_e)nt=createAction(_e).match;else if(et)_e=et.type,nt=et.match;else if(tt)nt=tt;else if(!nt)throw new Error(formatProdErrorMessage(21));return assertFunction(rt),{predicate:nt,type:_e,effect:rt}},createListenerEntry=Object.assign($=>{const{type:_e,predicate:et,effect:tt}=getListenerEntryPropsFrom($);return{id:nanoid(),effect:tt,type:_e,predicate:et,pending:new Set,unsubscribe:()=>{throw new Error(formatProdErrorMessage(22))}}},{withTypes:()=>createListenerEntry}),addListener=Object.assign(createAction(`${alm}/add`),{withTypes:()=>addListener});createAction(`${alm}/removeAll`);var removeListener=Object.assign(createAction(`${alm}/remove`),{withTypes:()=>removeListener});function formatProdErrorMessage($){return`Minified Redux Toolkit error #${$}; visit https://redux-toolkit.js.org/Errors?code=${$} for the full message or use the non-minified dev environment for full errors. `}var MainMenuStateNames=($=>($.cutting="mainMenu.cutting-button",$.metadata="mainMenu.metadata-button",$.trackSelection="mainMenu.select-tracks-button",$.subtitles="mainMenu.subtitles-button",$.thumbnail="mainMenu.thumbnail-button",$.finish="mainMenu.finish-button",$.keyboardControls="mainMenu.keyboard-controls-button",$))(MainMenuStateNames||{});const initialState$8={value:MainMenuStateNames.cutting},mainMenuSlice=createSlice({name:"mainMenuState",initialState:initialState$8,reducers:{setState:($,_e)=>{$.value=_e.payload}},selectors:{selectMainMenuState:$=>$.value}}),{setState:setState$1}=mainMenuSlice.actions,{selectMainMenuState}=mainMenuSlice.selectors,mainMenuStateReducer=mainMenuSlice.reducer,initialState$7={value:"Start processing",pageNumber:0},finishSlice=createSlice({name:"finishState",initialState:initialState$7,reducers:{setState:($,_e)=>{$.value=_e.payload},setPageNumber:($,_e)=>{$.pageNumber=_e.payload}},selectors:{selectFinishState:$=>$.value,selectPageNumber:$=>$.pageNumber}}),{setState,setPageNumber}=finishSlice.actions,{selectFinishState,selectPageNumber}=finishSlice.selectors,finishStateReducer=finishSlice.reducer;var lodash={exports:{}};/** + * @license + * Lodash + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */lodash.exports;(function($,_e){(function(){var et,tt="4.17.21",nt=200,rt="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",ot="Expected a function",it="Invalid `variable` option passed into `_.template`",st="__lodash_hash_undefined__",at=500,ut="__lodash_placeholder__",ft=1,dt=2,pt=4,ht=1,gt=2,yt=1,vt=2,St=4,Tt=8,$t=16,bt=32,Ot=64,Et=128,mt=256,Ct=512,wt=30,Pt="...",Rt=800,At=16,It=1,Nt=2,Mt=3,Dt=1/0,Lt=9007199254740991,Ft=17976931348623157e292,Bt=NaN,Ut=4294967295,Wt=Ut-1,Ht=Ut>>>1,qt=[["ary",Et],["bind",yt],["bindKey",vt],["curry",Tt],["curryRight",$t],["flip",Ct],["partial",bt],["partialRight",Ot],["rearg",mt]],Gt="[object Arguments]",tn="[object Array]",Jt="[object AsyncFunction]",Zt="[object Boolean]",nn="[object Date]",un="[object DOMException]",fn="[object Error]",sn="[object Function]",vn="[object GeneratorFunction]",mn="[object Map]",on="[object Number]",pn="[object Null]",Cn="[object Object]",_n="[object Promise]",zn="[object Proxy]",xn="[object RegExp]",Tn="[object Set]",Ln="[object String]",En="[object Symbol]",bn="[object Undefined]",wn="[object WeakMap]",In="[object WeakSet]",$n="[object ArrayBuffer]",an="[object DataView]",en="[object Float32Array]",yn="[object Float64Array]",Rn="[object Int8Array]",An="[object Int16Array]",gn="[object Int32Array]",Fn="[object Uint8Array]",Kn="[object Uint8ClampedArray]",Dn="[object Uint16Array]",or="[object Uint32Array]",Wr=/\b__p \+= '';/g,Bo=/\b(__p \+=) '' \+/g,Wo=/(__e\(.*?\)|\b__t\)) \+\n'';/g,To=/&(?:amp|lt|gt|quot|#39);/g,Xr=/[&<>"']/g,uo=RegExp(To.source),Co=RegExp(Xr.source),co=/<%-([\s\S]+?)%>/g,ns=/<%([\s\S]+?)%>/g,fo=/<%=([\s\S]+?)%>/g,$o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Qr=/^\w*$/,rs=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Vr=/[\\^$.*+?()[\]{}|]/g,Oo=RegExp(Vr.source),pr=/^\s+/,Jr=/\s/,ss=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ur=/\{\n\/\* \[wrapped with (.+)\] \*/,Po=/,? & /,po=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ho=/[()=,{}\[\]\/\s]/,Vo=/\\(\\)?/g,tr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sr=/\w*$/,Ro=/^[-+]0x[0-9a-f]+$/i,mo=/^0b[01]+$/i,Cr=/^\[object .+?Constructor\]$/,Hn=/^0o[0-7]+$/i,yr=/^(?:0|[1-9]\d*)$/,av=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Es=/($^)/,lv=/['\n\r\u2028\u2029\\]/g,Ts="\\ud800-\\udfff",uv="\\u0300-\\u036f",cv="\\ufe20-\\ufe2f",dv="\\u20d0-\\u20ff",ju=uv+cv+dv,Bu="\\u2700-\\u27bf",Wu="a-z\\xdf-\\xf6\\xf8-\\xff",fv="\\xac\\xb1\\xd7\\xf7",pv="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",hv="\\u2000-\\u206f",mv=" \\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",Vu="A-Z\\xc0-\\xd6\\xd8-\\xde",Uu="\\ufe0e\\ufe0f",zu=fv+pv+hv+mv,Tl="['’]",gv="["+Ts+"]",Hu="["+zu+"]",Cs="["+ju+"]",Ku="\\d+",vv="["+Bu+"]",qu="["+Wu+"]",Gu="[^"+Ts+zu+Ku+Bu+Wu+Vu+"]",Cl="\\ud83c[\\udffb-\\udfff]",yv="(?:"+Cs+"|"+Cl+")",Yu="[^"+Ts+"]",$l="(?:\\ud83c[\\udde6-\\uddff]){2}",Ol="[\\ud800-\\udbff][\\udc00-\\udfff]",Uo="["+Vu+"]",Zu="\\u200d",Xu="(?:"+qu+"|"+Gu+")",bv="(?:"+Uo+"|"+Gu+")",Qu="(?:"+Tl+"(?:d|ll|m|re|s|t|ve))?",Ju="(?:"+Tl+"(?:D|LL|M|RE|S|T|VE))?",_c=yv+"?",_d="["+Uu+"]?",Sv="(?:"+Zu+"(?:"+[Yu,$l,Ol].join("|")+")"+_d+_c+")*",xv="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",wv="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",_f=_d+_c+Sv,_v="(?:"+[vv,$l,Ol].join("|")+")"+_f,Ev="(?:"+[Yu+Cs+"?",Cs,$l,Ol,gv].join("|")+")",Tv=RegExp(Tl,"g"),Cv=RegExp(Cs,"g"),Pl=RegExp(Cl+"(?="+Cl+")|"+Ev+_f,"g"),$v=RegExp([Uo+"?"+qu+"+"+Qu+"(?="+[Hu,Uo,"$"].join("|")+")",bv+"+"+Ju+"(?="+[Hu,Uo+Xu,"$"].join("|")+")",Uo+"?"+Xu+"+"+Qu,Uo+"+"+Ju,wv,xv,Ku,_v].join("|"),"g"),Ov=RegExp("["+Zu+Ts+ju+Uu+"]"),Pv=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Rv=["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"],Iv=-1,nr={};nr[en]=nr[yn]=nr[Rn]=nr[An]=nr[gn]=nr[Fn]=nr[Kn]=nr[Dn]=nr[or]=!0,nr[Gt]=nr[tn]=nr[$n]=nr[Zt]=nr[an]=nr[nn]=nr[fn]=nr[sn]=nr[mn]=nr[on]=nr[Cn]=nr[xn]=nr[Tn]=nr[Ln]=nr[wn]=!1;var er={};er[Gt]=er[tn]=er[$n]=er[an]=er[Zt]=er[nn]=er[en]=er[yn]=er[Rn]=er[An]=er[gn]=er[mn]=er[on]=er[Cn]=er[xn]=er[Tn]=er[Ln]=er[En]=er[Fn]=er[Kn]=er[Dn]=er[or]=!0,er[fn]=er[sn]=er[wn]=!1;var kv={À:"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"},Av={"&":"&","<":"<",">":">",'"':""","'":"'"},Nv={"&":"&","<":"<",">":">",""":'"',"'":"'"},Mv={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Lv=parseFloat,Dv=parseInt,ep=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,Fv=typeof self=="object"&&self&&self.Object===Object&&self,hr=ep||Fv||Function("return this")(),Rl=_e&&!_e.nodeType&&_e,Io=Rl&&!0&&$&&!$.nodeType&&$,tp=Io&&Io.exports===Rl,Il=tp&&ep.process,Ar=function(){try{var Xt=Io&&Io.require&&Io.require("util").types;return Xt||Il&&Il.binding&&Il.binding("util")}catch{}}(),np=Ar&&Ar.isArrayBuffer,rp=Ar&&Ar.isDate,op=Ar&&Ar.isMap,ip=Ar&&Ar.isRegExp,sp=Ar&&Ar.isSet,ap=Ar&&Ar.isTypedArray;function $r(Xt,ln,rn){switch(rn.length){case 0:return Xt.call(ln);case 1:return Xt.call(ln,rn[0]);case 2:return Xt.call(ln,rn[0],rn[1]);case 3:return Xt.call(ln,rn[0],rn[1],rn[2])}return Xt.apply(ln,rn)}function jv(Xt,ln,rn,On){for(var jn=-1,Zn=Xt==null?0:Xt.length;++jn-1}function Al(Xt,ln,rn){for(var On=-1,jn=Xt==null?0:Xt.length;++On-1;);return rn}function mp(Xt,ln){for(var rn=Xt.length;rn--&&zo(ln,Xt[rn],0)>-1;);return rn}function Gv(Xt,ln){for(var rn=Xt.length,On=0;rn--;)Xt[rn]===ln&&++On;return On}var Yv=Dl(kv),Zv=Dl(Av);function Xv(Xt){return"\\"+Mv[Xt]}function Qv(Xt,ln){return Xt==null?et:Xt[ln]}function Ho(Xt){return Ov.test(Xt)}function Jv(Xt){return Pv.test(Xt)}function ey(Xt){for(var ln,rn=[];!(ln=Xt.next()).done;)rn.push(ln.value);return rn}function Vl(Xt){var ln=-1,rn=Array(Xt.size);return Xt.forEach(function(On,jn){rn[++ln]=[jn,On]}),rn}function gp(Xt,ln){return function(rn){return Xt(ln(rn))}}function yo(Xt,ln){for(var rn=-1,On=Xt.length,jn=0,Zn=[];++rn-1}function Wy(lt,ct){var xt=this.__data__,kt=zs(xt,lt);return kt<0?(++this.size,xt.push([lt,ct])):xt[kt][1]=ct,this}eo.prototype.clear=Dy,eo.prototype.delete=Fy,eo.prototype.get=jy,eo.prototype.has=By,eo.prototype.set=Wy;function to(lt){var ct=-1,xt=lt==null?0:lt.length;for(this.clear();++ct=ct?lt:ct)),lt}function Dr(lt,ct,xt,kt,jt,zt){var Kt,Yt=ct&ft,Qt=ct&dt,cn=ct&pt;if(xt&&(Kt=jt?xt(lt,kt,jt,zt):xt(lt)),Kt!==et)return Kt;if(!ir(lt))return lt;var dn=Bn(lt);if(dn){if(Kt=z0(lt),!Yt)return wr(lt,Kt)}else{var hn=vr(lt),Sn=hn==sn||hn==vn;if(Eo(lt))return Qp(lt,Yt);if(hn==Cn||hn==Gt||Sn&&!jt){if(Kt=Qt||Sn?{}:gm(lt),!Yt)return Qt?A0(lt,n0(Kt,lt)):k0(lt,Op(Kt,lt))}else{if(!er[hn])return jt?lt:{};Kt=H0(lt,hn,Yt)}}zt||(zt=new Hr);var Pn=zt.get(lt);if(Pn)return Pn;zt.set(lt,Kt),Hm(lt)?lt.forEach(function(Mn){Kt.add(Dr(Mn,ct,xt,Mn,lt,zt))}):Um(lt)&<.forEach(function(Mn,qn){Kt.set(qn,Dr(Mn,ct,xt,qn,lt,zt))});var Nn=cn?Qt?mu:hu:Qt?Er:fr,Vn=dn?et:Nn(lt);return Nr(Vn||lt,function(Mn,qn){Vn&&(qn=Mn,Mn=lt[qn]),ps(Kt,qn,Dr(Mn,ct,xt,qn,lt,zt))}),Kt}function r0(lt){var ct=fr(lt);return function(xt){return Pp(xt,lt,ct)}}function Pp(lt,ct,xt){var kt=xt.length;if(lt==null)return!kt;for(lt=Jn(lt);kt--;){var jt=xt[kt],zt=ct[jt],Kt=lt[jt];if(Kt===et&&!(jt in lt)||!zt(Kt))return!1}return!0}function Rp(lt,ct,xt){if(typeof lt!="function")throw new Mr(ot);return Ss(function(){lt.apply(et,xt)},ct)}function hs(lt,ct,xt,kt){var jt=-1,zt=$s,Kt=!0,Yt=lt.length,Qt=[],cn=ct.length;if(!Yt)return Qt;xt&&(ct=rr(ct,Or(xt))),kt?(zt=Al,Kt=!1):ct.length>=nt&&(zt=as,Kt=!1,ct=new No(ct));e:for(;++jtjt?0:jt+xt),kt=kt===et||kt>jt?jt:Wn(kt),kt<0&&(kt+=jt),kt=xt>kt?0:qm(kt);xt0&&xt(Yt)?ct>1?mr(Yt,ct-1,xt,kt,jt):vo(jt,Yt):kt||(jt[jt.length]=Yt)}return jt}var Zl=rm(),Ap=rm(!0);function Gr(lt,ct){return lt&&Zl(lt,ct,fr)}function Xl(lt,ct){return lt&&Ap(lt,ct,fr)}function Ks(lt,ct){return go(ct,function(xt){return so(lt[xt])})}function Lo(lt,ct){ct=wo(ct,lt);for(var xt=0,kt=ct.length;lt!=null&&xtct}function s0(lt,ct){return lt!=null&&Qn.call(lt,ct)}function a0(lt,ct){return lt!=null&&ct in Jn(lt)}function l0(lt,ct,xt){return lt>=gr(ct,xt)&<=120&&dn.length>=120)?new No(Kt&&dn):et}dn=lt[0];var hn=-1,Sn=Yt[0];e:for(;++hn-1;)Yt!==lt&&Ds.call(Yt,Qt,1),Ds.call(lt,Qt,1);return lt}function zp(lt,ct){for(var xt=lt?ct.length:0,kt=xt-1;xt--;){var jt=ct[xt];if(xt==kt||jt!==zt){var zt=jt;io(jt)?Ds.call(lt,jt,1):au(lt,jt)}}return lt}function ou(lt,ct){return lt+Bs(Ep()*(ct-lt+1))}function x0(lt,ct,xt,kt){for(var jt=-1,zt=dr(js((ct-lt)/(xt||1)),0),Kt=rn(zt);zt--;)Kt[kt?zt:++jt]=lt,lt+=xt;return Kt}function iu(lt,ct){var xt="";if(!lt||ct<1||ct>Lt)return xt;do ct%2&&(xt+=lt),ct=Bs(ct/2),ct&&(lt+=lt);while(ct);return xt}function Un(lt,ct){return wu(bm(lt,ct,Tr),lt+"")}function w0(lt){return $p(ts(lt))}function _0(lt,ct){var xt=ts(lt);return xa(xt,Mo(ct,0,xt.length))}function vs(lt,ct,xt,kt){if(!ir(lt))return lt;ct=wo(ct,lt);for(var jt=-1,zt=ct.length,Kt=zt-1,Yt=lt;Yt!=null&&++jtjt?0:jt+ct),xt=xt>jt?jt:xt,xt<0&&(xt+=jt),jt=ct>xt?0:xt-ct>>>0,ct>>>=0;for(var zt=rn(jt);++kt>>1,Kt=lt[zt];Kt!==null&&!Rr(Kt)&&(xt?Kt<=ct:Kt=nt){var cn=ct?null:D0(lt);if(cn)return Ps(cn);Kt=!1,jt=as,Qt=new No}else Qt=ct?[]:Yt;e:for(;++kt=kt?lt:Fr(lt,ct,xt)}var Xp=my||function(lt){return hr.clearTimeout(lt)};function Qp(lt,ct){if(ct)return lt.slice();var xt=lt.length,kt=bp?bp(xt):new lt.constructor(xt);return lt.copy(kt),kt}function du(lt){var ct=new lt.constructor(lt.byteLength);return new Ms(ct).set(new Ms(lt)),ct}function O0(lt,ct){var xt=ct?du(lt.buffer):lt.buffer;return new lt.constructor(xt,lt.byteOffset,lt.byteLength)}function P0(lt){var ct=new lt.constructor(lt.source,sr.exec(lt));return ct.lastIndex=lt.lastIndex,ct}function R0(lt){return fs?Jn(fs.call(lt)):{}}function Jp(lt,ct){var xt=ct?du(lt.buffer):lt.buffer;return new lt.constructor(xt,lt.byteOffset,lt.length)}function _h(lt,ct){if(lt!==ct){var xt=lt!==et,kt=lt===null,jt=lt===lt,zt=Rr(lt),Kt=ct!==et,Yt=ct===null,Qt=ct===ct,cn=Rr(ct);if(!Yt&&!cn&&!zt&<>ct||zt&&Kt&&Qt&&!Yt&&!cn||kt&&Kt&&Qt||!xt&&Qt||!jt)return 1;if(!kt&&!zt&&!cn&<=Yt)return Qt;var cn=xt[kt];return Qt*(cn=="desc"?-1:1)}}return lt.index-ct.index}function em(lt,ct,xt,kt){for(var jt=-1,zt=lt.length,Kt=xt.length,Yt=-1,Qt=ct.length,cn=dr(zt-Kt,0),dn=rn(Qt+cn),hn=!kt;++Yt1?xt[jt-1]:et,Kt=jt>2?xt[2]:et;for(zt=lt.length>3&&typeof zt=="function"?(jt--,zt):et,Kt&&Sr(xt[0],xt[1],Kt)&&(zt=jt<3?et:zt,jt=1),ct=Jn(ct);++kt-1?jt[zt?ct[Kt]:Kt]:et}}function sm(lt){return oo(function(ct){var xt=ct.length,kt=xt,jt=Lr.prototype.thru;for(lt&&ct.reverse();kt--;){var zt=ct[kt];if(typeof zt!="function")throw new Mr(ot);if(jt&&!Kt&&ga(zt)=="wrapper")var Kt=new Lr([],!0)}for(kt=Kt?kt:xt;++kt1&&Yn.reverse(),dn&&QtYt))return!1;var cn=zt.get(lt),dn=zt.get(ct);if(cn&&dn)return cn==ct&&dn==lt;var hn=-1,Sn=!0,Pn=xt>?new No:et;for(zt.set(lt,ct),zt.set(ct,lt);++hn1?"& ":"")+ct[kt],ct=ct.join(xt>2?", ":" "),lt.replace(ss,`{ +/* [wrapped with `+ct+`] */ +`)}function q0(lt){return Bn(lt)||jo(lt)||!!(wp&<&<[wp])}function io(lt,ct){var xt=typeof lt;return ct=ct??Lt,!!ct&&(xt=="number"||xt!="symbol"&&yr.test(lt))&<>-1&<%1==0&<0){if(++ct>=Rt)return arguments[0]}else ct=0;return lt.apply(et,arguments)}}function xa(lt,ct){var xt=-1,kt=lt.length,jt=kt-1;for(ct=ct===et?kt:ct;++xt1?lt[ct-1]:et;return xt=typeof xt=="function"?(lt.pop(),xt):et,Im(lt,xt)});function km(lt){var ct=Vt(lt);return ct.__chain__=!0,ct}function ix(lt,ct){return ct(lt),lt}function _a(lt,ct){return ct(lt)}var sx=oo(function(lt){var ct=lt.length,xt=ct?lt[0]:0,kt=this.__wrapped__,jt=function(zt){return Yl(zt,lt)};return ct>1||this.__actions__.length||!(kt instanceof Gn)||!io(xt)?this.thru(jt):(kt=kt.slice(xt,+xt+(ct?1:0)),kt.__actions__.push({func:_a,args:[jt],thisArg:et}),new Lr(kt,this.__chain__).thru(function(zt){return ct&&!zt.length&&zt.push(et),zt}))});function ax(){return km(this)}function lx(){return new Lr(this.value(),this.__chain__)}function ux(){this.__values__===et&&(this.__values__=Km(this.value()));var lt=this.__index__>=this.__values__.length,ct=lt?et:this.__values__[this.__index__++];return{done:lt,value:ct}}function cx(){return this}function dx(lt){for(var ct,xt=this;xt instanceof Us;){var kt=Tm(xt);kt.__index__=0,kt.__values__=et,ct?jt.__wrapped__=kt:ct=kt;var jt=kt;xt=xt.__wrapped__}return jt.__wrapped__=lt,ct}function fx(){var lt=this.__wrapped__;if(lt instanceof Gn){var ct=lt;return this.__actions__.length&&(ct=new Gn(this)),ct=ct.reverse(),ct.__actions__.push({func:_a,args:[_u],thisArg:et}),new Lr(ct,this.__chain__)}return this.thru(_u)}function px(){return Yp(this.__wrapped__,this.__actions__)}var hx=Zs(function(lt,ct,xt){Qn.call(lt,xt)?++lt[xt]:no(lt,xt,1)});function mx(lt,ct,xt){var kt=Bn(lt)?lp:o0;return xt&&Sr(lt,ct,xt)&&(ct=et),kt(lt,kn(ct,3))}function gx(lt,ct){var xt=Bn(lt)?go:kp;return xt(lt,kn(ct,3))}var vx=im(Cm),yx=im($m);function bx(lt,ct){return mr($a(lt,ct),1)}function Sx(lt,ct){return mr($a(lt,ct),Dt)}function xx(lt,ct,xt){return xt=xt===et?1:Wn(xt),mr($a(lt,ct),xt)}function Am(lt,ct){var xt=Bn(lt)?Nr:So;return xt(lt,kn(ct,3))}function Nm(lt,ct){var xt=Bn(lt)?Bv:Ip;return xt(lt,kn(ct,3))}var wx=Zs(function(lt,ct,xt){Qn.call(lt,xt)?lt[xt].push(ct):no(lt,xt,[ct])});function _x(lt,ct,xt,kt){lt=_r(lt)?lt:ts(lt),xt=xt&&!kt?Wn(xt):0;var jt=lt.length;return xt<0&&(xt=dr(jt+xt,0)),_l(lt)?xt<=jt&<.indexOf(ct,xt)>-1:!!jt&&zo(lt,ct,xt)>-1}var Ex=Un(function(lt,ct,xt){var kt=-1,jt=typeof ct=="function",zt=_r(lt)?rn(lt.length):[];return So(lt,function(Kt){zt[++kt]=jt?$r(ct,Kt,xt):ms(Kt,ct,xt)}),zt}),Tx=Zs(function(lt,ct,xt){no(lt,xt,ct)});function $a(lt,ct){var xt=Bn(lt)?rr:Fp;return xt(lt,kn(ct,3))}function Cx(lt,ct,xt,kt){return lt==null?[]:(Bn(ct)||(ct=ct==null?[]:[ct]),xt=kt?et:xt,Bn(xt)||(xt=xt==null?[]:[xt]),Vp(lt,ct,xt))}var $x=Zs(function(lt,ct,xt){lt[xt?0:1].push(ct)},function(){return[[],[]]});function Ox(lt,ct,xt){var kt=Bn(lt)?Nl:fp,jt=arguments.length<3;return kt(lt,kn(ct,4),xt,jt,So)}function Px(lt,ct,xt){var kt=Bn(lt)?Wv:fp,jt=arguments.length<3;return kt(lt,kn(ct,4),xt,jt,Ip)}function Rx(lt,ct){var xt=Bn(lt)?go:kp;return xt(lt,xl(kn(ct,3)))}function Ix(lt){var ct=Bn(lt)?$p:w0;return ct(lt)}function kx(lt,ct,xt){(xt?Sr(lt,ct,xt):ct===et)?ct=1:ct=Wn(ct);var kt=Bn(lt)?_b:_0;return kt(lt,ct)}function Ax(lt){var ct=Bn(lt)?e0:T0;return ct(lt)}function Nx(lt){if(lt==null)return 0;if(_r(lt))return _l(lt)?Ko(lt):lt.length;var ct=vr(lt);return ct==mn||ct==Tn?lt.size:tu(lt).length}function Mx(lt,ct,xt){var kt=Bn(lt)?Ml:C0;return xt&&Sr(lt,ct,xt)&&(ct=et),kt(lt,kn(ct,3))}var Lx=Un(function(lt,ct){if(lt==null)return[];var xt=ct.length;return xt>1&&Sr(lt,ct[0],ct[1])?ct=[]:xt>2&&Sr(ct[0],ct[1],ct[2])&&(ct=[ct[0]]),Vp(lt,mr(ct,1),[])}),yl=gy||function(){return hr.Date.now()};function Dx(lt,ct){if(typeof ct!="function")throw new Mr(ot);return lt=Wn(lt),function(){if(--lt<1)return ct.apply(this,arguments)}}function Mm(lt,ct,xt){return ct=xt?et:ct,ct=lt&&ct==null?lt.length:ct,ro(lt,Et,et,et,et,et,ct)}function Lm(lt,ct){var xt;if(typeof ct!="function")throw new Mr(ot);return lt=Wn(lt),function(){return--lt>0&&(xt=ct.apply(this,arguments)),lt<=1&&(ct=et),xt}}var Tu=Un(function(lt,ct,xt){var kt=yt;if(xt.length){var jt=yo(xt,_i(Tu));kt|=bt}return ro(lt,kt,ct,xt,jt)}),Dm=Un(function(lt,ct,xt){var kt=yt|vt;if(xt.length){var jt=yo(xt,_i(Dm));kt|=bt}return ro(ct,kt,lt,xt,jt)});function Fm(lt,ct,xt){ct=xt?et:ct;var kt=ro(lt,Tt,et,et,et,et,et,ct);return kt.placeholder=Fm.placeholder,kt}function jm(lt,ct,xt){ct=xt?et:ct;var kt=ro(lt,$t,et,et,et,et,et,ct);return kt.placeholder=jm.placeholder,kt}function Bm(lt,ct,xt){var kt,jt,zt,Kt,Yt,Qt,cn=0,dn=!1,hn=!1,Sn=!0;if(typeof lt!="function")throw new Mr(ot);ct=Br(ct)||0,ir(xt)&&(dn=!!xt.leading,hn="maxWait"in xt,zt=hn?dr(Br(xt.maxWait)||0,ct):zt,Sn="trailing"in xt?!!xt.trailing:Sn);function Pn(ur){var qr=kt,lo=jt;return kt=jt=et,cn=ur,Kt=lt.apply(lo,qr),Kt}function Nn(ur){return cn=ur,Yt=Ss(qn,ct),dn?Pn(ur):Kt}function Vn(ur){var qr=ur-Qt,lo=ur-cn,ov=ct-qr;return hn?gr(ov,zt-lo):ov}function Mn(ur){var qr=ur-Qt,lo=ur-cn;return Qt===et||qr>=ct||qr<0||hn&&lo>=zt}function qn(){var ur=yl();if(Mn(ur))return Yn(ur);Yt=Ss(qn,Vn(ur))}function Yn(ur){return Yt=et,Sn&&kt?Pn(ur):(kt=jt=et,Kt)}function Ir(){Yt!==et&&Xp(Yt),cn=0,kt=Qt=jt=Yt=et}function xr(){return Yt===et?Kt:Yn(yl())}function kr(){var ur=yl(),qr=Mn(ur);if(kt=arguments,jt=this,Qt=ur,qr){if(Yt===et)return Nn(Qt);if(hn)return Xp(Yt),Yt=Ss(qn,ct),Pn(Qt)}return Yt===et&&(Yt=Ss(qn,ct)),Kt}return kr.cancel=Ir,kr.flush=xr,kr}var Fx=Un(function(lt,ct){return Rp(lt,1,ct)}),jx=Un(function(lt,ct,xt){return Rp(lt,Br(ct)||0,xt)});function Bx(lt){return ro(lt,Ct)}function Sl(lt,ct){if(typeof lt!="function"||ct!=null&&typeof ct!="function")throw new Mr(ot);var xt=function(){var kt=arguments,jt=ct?ct.apply(this,kt):kt[0],zt=xt.cache;if(zt.has(jt))return zt.get(jt);var Kt=lt.apply(this,kt);return xt.cache=zt.set(jt,Kt)||zt,Kt};return xt.cache=new(Sl.Cache||to),xt}Sl.Cache=to;function xl(lt){if(typeof lt!="function")throw new Mr(ot);return function(){var ct=arguments;switch(ct.length){case 0:return!lt.call(this);case 1:return!lt.call(this,ct[0]);case 2:return!lt.call(this,ct[0],ct[1]);case 3:return!lt.call(this,ct[0],ct[1],ct[2])}return!lt.apply(this,ct)}}function Wx(lt){return Lm(2,lt)}var Vx=$0(function(lt,ct){ct=ct.length==1&&Bn(ct[0])?rr(ct[0],Or(kn())):rr(mr(ct,1),Or(kn()));var xt=ct.length;return Un(function(kt){for(var jt=-1,zt=gr(kt.length,xt);++jt=ct}),jo=Mp(function(){return arguments}())?Mp:function(lt){return ar(lt)&&Qn.call(lt,"callee")&&!xp.call(lt,"callee")},Bn=rn.isArray,r1=np?Or(np):c0;function _r(lt){return lt!=null&&wl(lt.length)&&!so(lt)}function lr(lt){return ar(lt)&&_r(lt)}function o1(lt){return lt===!0||lt===!1||ar(lt)&&br(lt)==Zt}var Eo=yy||Du,i1=rp?Or(rp):d0;function s1(lt){return ar(lt)&<.nodeType===1&&!xs(lt)}function a1(lt){if(lt==null)return!0;if(_r(lt)&&(Bn(lt)||typeof lt=="string"||typeof lt.splice=="function"||Eo(lt)||es(lt)||jo(lt)))return!lt.length;var ct=vr(lt);if(ct==mn||ct==Tn)return!lt.size;if(bs(lt))return!tu(lt).length;for(var xt in lt)if(Qn.call(lt,xt))return!1;return!0}function l1(lt,ct){return gs(lt,ct)}function u1(lt,ct,xt){xt=typeof xt=="function"?xt:et;var kt=xt?xt(lt,ct):et;return kt===et?gs(lt,ct,et,xt):!!kt}function $u(lt){if(!ar(lt))return!1;var ct=br(lt);return ct==fn||ct==un||typeof lt.message=="string"&&typeof lt.name=="string"&&!xs(lt)}function c1(lt){return typeof lt=="number"&&_p(lt)}function so(lt){if(!ir(lt))return!1;var ct=br(lt);return ct==sn||ct==vn||ct==Jt||ct==zn}function Vm(lt){return typeof lt=="number"&<==Wn(lt)}function wl(lt){return typeof lt=="number"&<>-1&<%1==0&<<=Lt}function ir(lt){var ct=typeof lt;return lt!=null&&(ct=="object"||ct=="function")}function ar(lt){return lt!=null&&typeof lt=="object"}var Um=op?Or(op):p0;function d1(lt,ct){return lt===ct||eu(lt,ct,vu(ct))}function f1(lt,ct,xt){return xt=typeof xt=="function"?xt:et,eu(lt,ct,vu(ct),xt)}function p1(lt){return zm(lt)&<!=+lt}function h1(lt){if(Z0(lt))throw new jn(rt);return Lp(lt)}function m1(lt){return lt===null}function g1(lt){return lt==null}function zm(lt){return typeof lt=="number"||ar(lt)&&br(lt)==on}function xs(lt){if(!ar(lt)||br(lt)!=Cn)return!1;var ct=Ls(lt);if(ct===null)return!0;var xt=Qn.call(ct,"constructor")&&ct.constructor;return typeof xt=="function"&&xt instanceof xt&&ks.call(xt)==fy}var Ou=ip?Or(ip):h0;function v1(lt){return Vm(lt)&<>=-Lt&<<=Lt}var Hm=sp?Or(sp):m0;function _l(lt){return typeof lt=="string"||!Bn(lt)&&ar(lt)&&br(lt)==Ln}function Rr(lt){return typeof lt=="symbol"||ar(lt)&&br(lt)==En}var es=ap?Or(ap):g0;function y1(lt){return lt===et}function b1(lt){return ar(lt)&&vr(lt)==wn}function S1(lt){return ar(lt)&&br(lt)==In}var x1=na(nu),w1=na(function(lt,ct){return lt<=ct});function Km(lt){if(!lt)return[];if(_r(lt))return _l(lt)?zr(lt):wr(lt);if(ls&<[ls])return ey(lt[ls]());var ct=vr(lt),xt=ct==mn?Vl:ct==Tn?Ps:ts;return xt(lt)}function ao(lt){if(!lt)return lt===0?lt:0;if(lt=Br(lt),lt===Dt||lt===-Dt){var ct=lt<0?-1:1;return ct*Ft}return lt===lt?lt:0}function Wn(lt){var ct=ao(lt),xt=ct%1;return ct===ct?xt?ct-xt:ct:0}function qm(lt){return lt?Mo(Wn(lt),0,Ut):0}function Br(lt){if(typeof lt=="number")return lt;if(Rr(lt))return Bt;if(ir(lt)){var ct=typeof lt.valueOf=="function"?lt.valueOf():lt;lt=ir(ct)?ct+"":ct}if(typeof lt!="string")return lt===0?lt:+lt;lt=pp(lt);var xt=mo.test(lt);return xt||Hn.test(lt)?Dv(lt.slice(2),xt?2:8):Ro.test(lt)?Bt:+lt}function Gm(lt){return Yr(lt,Er(lt))}function _1(lt){return lt?Mo(Wn(lt),-Lt,Lt):lt===0?lt:0}function Xn(lt){return lt==null?"":Pr(lt)}var E1=Qo(function(lt,ct){if(bs(ct)||_r(ct)){Yr(ct,fr(ct),lt);return}for(var xt in ct)Qn.call(ct,xt)&&ps(lt,xt,ct[xt])}),Ym=Qo(function(lt,ct){Yr(ct,Er(ct),lt)}),El=Qo(function(lt,ct,xt,kt){Yr(ct,Er(ct),lt,kt)}),T1=Qo(function(lt,ct,xt,kt){Yr(ct,fr(ct),lt,kt)}),C1=oo(Yl);function $1(lt,ct){var xt=Xo(lt);return ct==null?xt:Op(xt,ct)}var O1=Un(function(lt,ct){lt=Jn(lt);var xt=-1,kt=ct.length,jt=kt>2?ct[2]:et;for(jt&&Sr(ct[0],ct[1],jt)&&(kt=1);++xt1),zt}),Yr(lt,mu(lt),xt),kt&&(xt=Dr(xt,ft|dt|pt,F0));for(var jt=ct.length;jt--;)au(xt,ct[jt]);return xt});function K1(lt,ct){return Xm(lt,xl(kn(ct)))}var q1=oo(function(lt,ct){return lt==null?{}:b0(lt,ct)});function Xm(lt,ct){if(lt==null)return{};var xt=rr(mu(lt),function(kt){return[kt]});return ct=kn(ct),Up(lt,xt,function(kt,jt){return ct(kt,jt[0])})}function G1(lt,ct,xt){ct=wo(ct,lt);var kt=-1,jt=ct.length;for(jt||(jt=1,lt=et);++ktct){var kt=lt;lt=ct,ct=kt}if(xt||lt%1||ct%1){var jt=Ep();return gr(lt+jt*(ct-lt+Lv("1e-"+((jt+"").length-1))),ct)}return ou(lt,ct)}var iw=Jo(function(lt,ct,xt){return ct=ct.toLowerCase(),lt+(xt?_g(ct):ct)});function _g(lt){return Iu(Xn(lt).toLowerCase())}function ev(lt){return lt=Xn(lt),lt&<.replace(av,Yv).replace(Cv,"")}function sw(lt,ct,xt){lt=Xn(lt),ct=Pr(ct);var kt=lt.length;xt=xt===et?kt:Mo(Wn(xt),0,kt);var jt=xt;return xt-=ct.length,xt>=0&<.slice(xt,jt)==ct}function aw(lt){return lt=Xn(lt),lt&&Co.test(lt)?lt.replace(Xr,Zv):lt}function lw(lt){return lt=Xn(lt),lt&&Oo.test(lt)?lt.replace(Vr,"\\$&"):lt}var uw=Jo(function(lt,ct,xt){return lt+(xt?"-":"")+ct.toLowerCase()}),cw=Jo(function(lt,ct,xt){return lt+(xt?" ":"")+ct.toLowerCase()}),dw=om("toLowerCase");function fw(lt,ct,xt){lt=Xn(lt),ct=Wn(ct);var kt=ct?Ko(lt):0;if(!ct||kt>=ct)return lt;var jt=(ct-kt)/2;return Js(Bs(jt),xt)+lt+Js(js(jt),xt)}function pw(lt,ct,xt){lt=Xn(lt),ct=Wn(ct);var kt=ct?Ko(lt):0;return ct&&kt>>0,xt?(lt=Xn(lt),lt&&(typeof ct=="string"||ct!=null&&!Ou(ct))&&(ct=Pr(ct),!ct&&Ho(lt))?_o(zr(lt),0,xt):lt.split(ct,xt)):[]}var Sw=Jo(function(lt,ct,xt){return lt+(xt?" ":"")+Iu(ct)});function xw(lt,ct,xt){return lt=Xn(lt),xt=xt==null?0:Mo(Wn(xt),0,lt.length),ct=Pr(ct),lt.slice(xt,xt+ct.length)==ct}function ww(lt,ct,xt){var kt=Vt.templateSettings;xt&&Sr(lt,ct,xt)&&(ct=et),lt=Xn(lt),ct=El({},ct,kt,dm);var jt=El({},ct.imports,kt.imports,dm),zt=fr(jt),Kt=Wl(jt,zt),Yt,Qt,cn=0,dn=ct.interpolate||Es,hn="__p += '",Sn=Ul((ct.escape||Es).source+"|"+dn.source+"|"+(dn===fo?tr:Es).source+"|"+(ct.evaluate||Es).source+"|$","g"),Pn="//# sourceURL="+(Qn.call(ct,"sourceURL")?(ct.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Iv+"]")+` +`;lt.replace(Sn,function(Mn,qn,Yn,Ir,xr,kr){return Yn||(Yn=Ir),hn+=lt.slice(cn,kr).replace(lv,Xv),qn&&(Yt=!0,hn+=`' + +__e(`+qn+`) + +'`),xr&&(Qt=!0,hn+=`'; +`+xr+`; +__p += '`),Yn&&(hn+=`' + +((__t = (`+Yn+`)) == null ? '' : __t) + +'`),cn=kr+Mn.length,Mn}),hn+=`'; +`;var Nn=Qn.call(ct,"variable")&&ct.variable;if(!Nn)hn=`with (obj) { +`+hn+` +} +`;else if(ho.test(Nn))throw new jn(it);hn=(Qt?hn.replace(Wr,""):hn).replace(Bo,"$1").replace(Wo,"$1;"),hn="function("+(Nn||"obj")+`) { +`+(Nn?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(Yt?", __e = _.escape":"")+(Qt?`, __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +`:`; +`)+hn+`return __p +}`;var Vn=nv(function(){return Zn(zt,Pn+"return "+hn).apply(et,Kt)});if(Vn.source=hn,$u(Vn))throw Vn;return Vn}function _w(lt){return Xn(lt).toLowerCase()}function Ew(lt){return Xn(lt).toUpperCase()}function Tw(lt,ct,xt){if(lt=Xn(lt),lt&&(xt||ct===et))return pp(lt);if(!lt||!(ct=Pr(ct)))return lt;var kt=zr(lt),jt=zr(ct),zt=hp(kt,jt),Kt=mp(kt,jt)+1;return _o(kt,zt,Kt).join("")}function Cw(lt,ct,xt){if(lt=Xn(lt),lt&&(xt||ct===et))return lt.slice(0,vp(lt)+1);if(!lt||!(ct=Pr(ct)))return lt;var kt=zr(lt),jt=mp(kt,zr(ct))+1;return _o(kt,0,jt).join("")}function $w(lt,ct,xt){if(lt=Xn(lt),lt&&(xt||ct===et))return lt.replace(pr,"");if(!lt||!(ct=Pr(ct)))return lt;var kt=zr(lt),jt=hp(kt,zr(ct));return _o(kt,jt).join("")}function Ow(lt,ct){var xt=wt,kt=Pt;if(ir(ct)){var jt="separator"in ct?ct.separator:jt;xt="length"in ct?Wn(ct.length):xt,kt="omission"in ct?Pr(ct.omission):kt}lt=Xn(lt);var zt=lt.length;if(Ho(lt)){var Kt=zr(lt);zt=Kt.length}if(xt>=zt)return lt;var Yt=xt-Ko(kt);if(Yt<1)return kt;var Qt=Kt?_o(Kt,0,Yt).join(""):lt.slice(0,Yt);if(jt===et)return Qt+kt;if(Kt&&(Yt+=Qt.length-Yt),Ou(jt)){if(lt.slice(Yt).search(jt)){var cn,dn=Qt;for(jt.global||(jt=Ul(jt.source,Xn(sr.exec(jt))+"g")),jt.lastIndex=0;cn=jt.exec(dn);)var hn=cn.index;Qt=Qt.slice(0,hn===et?Yt:hn)}}else if(lt.indexOf(Pr(jt),Yt)!=Yt){var Sn=Qt.lastIndexOf(jt);Sn>-1&&(Qt=Qt.slice(0,Sn))}return Qt+kt}function Pw(lt){return lt=Xn(lt),lt&&uo.test(lt)?lt.replace(To,oy):lt}var Rw=Jo(function(lt,ct,xt){return lt+(xt?" ":"")+ct.toUpperCase()}),Iu=om("toUpperCase");function tv(lt,ct,xt){return lt=Xn(lt),ct=xt?et:ct,ct===et?Jv(lt)?ay(lt):zv(lt):lt.match(ct)||[]}var nv=Un(function(lt,ct){try{return $r(lt,et,ct)}catch(xt){return $u(xt)?xt:new jn(xt)}}),Iw=oo(function(lt,ct){return Nr(ct,function(xt){xt=Zr(xt),no(lt,xt,Tu(lt[xt],lt))}),lt});function kw(lt){var ct=lt==null?0:lt.length,xt=kn();return lt=ct?rr(lt,function(kt){if(typeof kt[1]!="function")throw new Mr(ot);return[xt(kt[0]),kt[1]]}):[],Un(function(kt){for(var jt=-1;++jtLt)return[];var xt=Ut,kt=gr(lt,Ut);ct=kn(ct),lt-=Ut;for(var jt=Bl(kt,ct);++xt0||ct<0)?new Gn(xt):(lt<0?xt=xt.takeRight(-lt):lt&&(xt=xt.drop(lt)),ct!==et&&(ct=Wn(ct),xt=ct<0?xt.dropRight(-ct):xt.take(ct-lt)),xt)},Gn.prototype.takeRightWhile=function(lt){return this.reverse().takeWhile(lt).reverse()},Gn.prototype.toArray=function(){return this.take(Ut)},Gr(Gn.prototype,function(lt,ct){var xt=/^(?:filter|find|map|reject)|While$/.test(ct),kt=/^(?:head|last)$/.test(ct),jt=Vt[kt?"take"+(ct=="last"?"Right":""):ct],zt=kt||/^find/.test(ct);jt&&(Vt.prototype[ct]=function(){var Kt=this.__wrapped__,Yt=kt?[1]:arguments,Qt=Kt instanceof Gn,cn=Yt[0],dn=Qt||Bn(Kt),hn=function(qn){var Yn=jt.apply(Vt,vo([qn],Yt));return kt&&Sn?Yn[0]:Yn};dn&&xt&&typeof cn=="function"&&cn.length!=1&&(Qt=dn=!1);var Sn=this.__chain__,Pn=!!this.__actions__.length,Nn=zt&&!Sn,Vn=Qt&&!Pn;if(!zt&&dn){Kt=Vn?Kt:new Gn(this);var Mn=lt.apply(Kt,Yt);return Mn.__actions__.push({func:_a,args:[hn],thisArg:et}),new Lr(Mn,Sn)}return Nn&&Vn?lt.apply(this,Yt):(Mn=this.thru(hn),Nn?kt?Mn.value()[0]:Mn.value():Mn)})}),Nr(["pop","push","shift","sort","splice","unshift"],function(lt){var ct=Rs[lt],xt=/^(?:push|sort|unshift)$/.test(lt)?"tap":"thru",kt=/^(?:pop|shift)$/.test(lt);Vt.prototype[lt]=function(){var jt=arguments;if(kt&&!this.__chain__){var zt=this.value();return ct.apply(Bn(zt)?zt:[],jt)}return this[xt](function(Kt){return ct.apply(Bn(Kt)?Kt:[],jt)})}}),Gr(Gn.prototype,function(lt,ct){var xt=Vt[ct];if(xt){var kt=xt.name+"";Qn.call(Zo,kt)||(Zo[kt]=[]),Zo[kt].push({name:ct,func:xt})}}),Zo[Xs(et,vt).name]=[{name:"wrapper",func:et}],Gn.prototype.clone=Py,Gn.prototype.reverse=Ry,Gn.prototype.value=Iy,Vt.prototype.at=sx,Vt.prototype.chain=ax,Vt.prototype.commit=lx,Vt.prototype.next=ux,Vt.prototype.plant=dx,Vt.prototype.reverse=fx,Vt.prototype.toJSON=Vt.prototype.valueOf=Vt.prototype.value=px,Vt.prototype.first=Vt.prototype.head,ls&&(Vt.prototype[ls]=cx),Vt},qo=ly();Io?((Io.exports=qo)._=qo,Rl._=qo):hr._=qo}).call(commonjsGlobal)})(lodash,lodash.exports);var lodashExports=lodash.exports,tomlParser={exports:{}};const ParserEND=1114112;class ParserError extends Error{constructor(_e,et,tt){super("[ParserError] "+_e,et,tt),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,ParserError)}}class State{constructor(_e){this.parser=_e,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null}}class Parser{constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new State(this.parseStart)}parse(_e){if(_e.length===0||_e.length==null)return;this._buf=String(_e),this.ii=-1,this.char=-1;let et;for(;et===!1||this.nextChar();)et=this.runOne();this._buf=null}nextChar(){return this.char===10&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer()}haveBuffer(){return this.ii{const _e=new Date($);if(isNaN(_e))throw new TypeError("Invalid Datetime");return _e},formatNum=($,_e)=>{for(_e=String(_e);_e.length<$;)_e="0"+_e;return _e};const f$4=formatNum;class FloatingDateTime extends Date{constructor(_e){super(_e+"Z"),this.isFloating=!0}toISOString(){const _e=`${this.getUTCFullYear()}-${f$4(2,this.getUTCMonth()+1)}-${f$4(2,this.getUTCDate())}`,et=`${f$4(2,this.getUTCHours())}:${f$4(2,this.getUTCMinutes())}:${f$4(2,this.getUTCSeconds())}.${f$4(3,this.getUTCMilliseconds())}`;return`${_e}T${et}`}}var createDatetimeFloat=$=>{const _e=new FloatingDateTime($);if(isNaN(_e))throw new TypeError("Invalid Datetime");return _e};const f$3=formatNum,DateTime$1=globalThis.Date;let Date$1=class extends DateTime$1{constructor(_e){super(_e),this.isDate=!0}toISOString(){return`${this.getUTCFullYear()}-${f$3(2,this.getUTCMonth()+1)}-${f$3(2,this.getUTCDate())}`}};var createDate$1=$=>{const _e=new Date$1($);if(isNaN(_e))throw new TypeError("Invalid Datetime");return _e};const f$2=formatNum;class Time extends Date{constructor(_e){super(`0000-01-01T${_e}Z`),this.isTime=!0}toISOString(){return`${f$2(2,this.getUTCHours())}:${f$2(2,this.getUTCMinutes())}:${f$2(2,this.getUTCSeconds())}.${f$2(3,this.getUTCMilliseconds())}`}}var createTime$1=$=>{const _e=new Time($);if(isNaN(_e))throw new TypeError("Invalid Datetime");return _e};tomlParser.exports=makeParserClass(parser$1);tomlParser.exports.makeParserClass=makeParserClass;class TomlError extends Error{constructor(_e){super(_e),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,TomlError),this.fromTOML=!0,this.wrapped=null}}TomlError.wrap=$=>{const _e=new TomlError($.message);return _e.code=$.code,_e.wrapped=$,_e};tomlParser.exports.TomlError=TomlError;const createDateTime=createDatetime,createDateTimeFloat=createDatetimeFloat,createDate=createDate$1,createTime=createTime$1,CTRL_I=9,CTRL_J=10,CTRL_M=13,CTRL_CHAR_BOUNDARY=31,CHAR_SP=32,CHAR_QUOT=34,CHAR_NUM=35,CHAR_APOS=39,CHAR_PLUS=43,CHAR_COMMA=44,CHAR_HYPHEN=45,CHAR_PERIOD=46,CHAR_0=48,CHAR_1=49,CHAR_7=55,CHAR_9=57,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_A=65,CHAR_E=69,CHAR_F=70,CHAR_T=84,CHAR_U=85,CHAR_Z=90,CHAR_LOWBAR=95,CHAR_a=97,CHAR_b=98,CHAR_e=101,CHAR_f=102,CHAR_i=105,CHAR_l=108,CHAR_n=110,CHAR_o=111,CHAR_r=114,CHAR_s=115,CHAR_t=116,CHAR_u=117,CHAR_x=120,CHAR_z=122,CHAR_LCUB=123,CHAR_RCUB=125,CHAR_LSQB=91,CHAR_BSOL=92,CHAR_RSQB=93,CHAR_DEL=127,SURROGATE_FIRST=55296,SURROGATE_LAST=57343,escapes={[CHAR_b]:"\b",[CHAR_t]:" ",[CHAR_n]:` +`,[CHAR_f]:"\f",[CHAR_r]:"\r",[CHAR_QUOT]:'"',[CHAR_BSOL]:"\\"};function isDigit($){return $>=CHAR_0&&$<=CHAR_9}function isHexit($){return $>=CHAR_A&&$<=CHAR_F||$>=CHAR_a&&$<=CHAR_f||$>=CHAR_0&&$<=CHAR_9}function isBit($){return $===CHAR_1||$===CHAR_0}function isOctit($){return $>=CHAR_0&&$<=CHAR_7}function isAlphaNumQuoteHyphen($){return $>=CHAR_A&&$<=CHAR_Z||$>=CHAR_a&&$<=CHAR_z||$>=CHAR_0&&$<=CHAR_9||$===CHAR_APOS||$===CHAR_QUOT||$===CHAR_LOWBAR||$===CHAR_HYPHEN}function isAlphaNumHyphen($){return $>=CHAR_A&&$<=CHAR_Z||$>=CHAR_a&&$<=CHAR_z||$>=CHAR_0&&$<=CHAR_9||$===CHAR_LOWBAR||$===CHAR_HYPHEN}const _type=Symbol("type"),_declared=Symbol("declared"),hasOwnProperty$1=Object.prototype.hasOwnProperty,defineProperty=Object.defineProperty,descriptor={configurable:!0,enumerable:!0,writable:!0,value:void 0};function hasKey($,_e){return hasOwnProperty$1.call($,_e)?!0:(_e==="__proto__"&&defineProperty($,"__proto__",descriptor),!1)}const INLINE_TABLE=Symbol("inline-table");function InlineTable(){return Object.defineProperties({},{[_type]:{value:INLINE_TABLE}})}function isInlineTable($){return $===null||typeof $!="object"?!1:$[_type]===INLINE_TABLE}const TABLE=Symbol("table");function Table(){return Object.defineProperties({},{[_type]:{value:TABLE},[_declared]:{value:!1,writable:!0}})}function isTable($){return $===null||typeof $!="object"?!1:$[_type]===TABLE}const _contentType=Symbol("content-type"),INLINE_LIST=Symbol("inline-list");function InlineList($){return Object.defineProperties([],{[_type]:{value:INLINE_LIST},[_contentType]:{value:$}})}function isInlineList($){return $===null||typeof $!="object"?!1:$[_type]===INLINE_LIST}const LIST=Symbol("list");function List$1(){return Object.defineProperties([],{[_type]:{value:LIST}})}function isList($){return $===null||typeof $!="object"?!1:$[_type]===LIST}let _custom;try{const utilInspect=eval("require('util').inspect");_custom=utilInspect.custom}catch($){}const _inspect=_custom||"inspect";class BoxedBigInt{constructor(_e){try{this.value=globalThis.BigInt.asIntN(64,_e)}catch{this.value=null}Object.defineProperty(this,_type,{value:INTEGER})}isNaN(){return this.value===null}toString(){return String(this.value)}[_inspect](){return`[BigInt: ${this.toString()}]}`}valueOf(){return this.value}}const INTEGER=Symbol("integer");function Integer($){let _e=Number($);return Object.is(_e,-0)&&(_e=0),globalThis.BigInt&&!Number.isSafeInteger(_e)?new BoxedBigInt($):Object.defineProperties(new Number(_e),{isNaN:{value:function(){return isNaN(this)}},[_type]:{value:INTEGER},[_inspect]:{value:()=>`[Integer: ${$}]`}})}function isInteger$1($){return $===null||typeof $!="object"?!1:$[_type]===INTEGER}const FLOAT=Symbol("float");function Float($){return Object.defineProperties(new Number($),{[_type]:{value:FLOAT},[_inspect]:{value:()=>`[Float: ${$}]`}})}function isFloat($){return $===null||typeof $!="object"?!1:$[_type]===FLOAT}function tomlType($){const _e=typeof $;if(_e==="object"){if($===null)return"null";if($ instanceof Date)return"datetime";if(_type in $)switch($[_type]){case INLINE_TABLE:return"inline-table";case INLINE_LIST:return"inline-list";case TABLE:return"table";case LIST:return"list";case FLOAT:return"float";case INTEGER:return"integer"}}return _e}function makeParserClass($){class _e extends ${constructor(){super(),this.ctx=this.obj=Table()}atEndOfWord(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine()}atEndOfLine(){return this.char===$.END||this.char===CTRL_J||this.char===CTRL_M}parseStart(){if(this.char===$.END)return null;if(this.char===CHAR_LSQB)return this.call(this.parseTableOrList);if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(isAlphaNumQuoteHyphen(this.char))return this.callNow(this.parseAssignStatement);throw this.error(new TomlError(`Unknown character "${this.char}"`))}parseWhitespaceToEOL(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(this.char===CHAR_NUM)return this.goto(this.parseComment);if(this.char===$.END||this.char===CTRL_J)return this.return();throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"))}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement)}recordAssignStatement(tt){let nt=this.ctx,rt=tt.key.pop();for(let ot of tt.key){if(hasKey(nt,ot)&&(!isTable(nt[ot])||nt[ot][_declared]))throw this.error(new TomlError("Can't redefine existing key"));nt=nt[ot]=nt[ot]||Table()}if(hasKey(nt,rt))throw this.error(new TomlError("Can't redefine existing key"));return isInteger$1(tt.value)||isFloat(tt.value)?nt[rt]=tt.value.valueOf():nt[rt]=tt.value,this.goto(this.parseWhitespaceToEOL)}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword)}recordAssignKeyword(tt){return this.state.resultTable?this.state.resultTable.push(tt):this.state.resultTable=[tt],this.goto(this.parseAssignKeywordPreDot)}parseAssignKeywordPreDot(){if(this.char===CHAR_PERIOD)return this.next(this.parseAssignKeywordPostDot);if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.goto(this.parseAssignEqual)}parseAssignKeywordPostDot(){if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.callNow(this.parseKeyword,this.recordAssignKeyword)}parseAssignEqual(){if(this.char===CHAR_EQUALS)return this.next(this.parseAssignPreValue);throw this.error(new TomlError('Invalid character, expected "="'))}parseAssignPreValue(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseValue,this.recordAssignValue)}recordAssignValue(tt){return this.returnNow({key:this.state.resultTable,value:tt})}parseComment(){do if(this.char===$.END||this.char===CTRL_J)return this.return();while(this.nextChar())}parseTableOrList(){if(this.char===CHAR_LSQB)this.next(this.parseList);else return this.goto(this.parseTable)}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext)}parseTableNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseTableMore)}parseTableMore(tt){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,tt)&&(!isTable(this.ctx[tt])||this.ctx[tt][_declared]))throw this.error(new TomlError("Can't redefine existing key"));return this.ctx=this.ctx[tt]=this.ctx[tt]||Table(),this.ctx[_declared]=!0,this.next(this.parseWhitespaceToEOL)}else if(this.char===CHAR_PERIOD){if(!hasKey(this.ctx,tt))this.ctx=this.ctx[tt]=Table();else if(isTable(this.ctx[tt]))this.ctx=this.ctx[tt];else if(isList(this.ctx[tt]))this.ctx=this.ctx[tt][this.ctx[tt].length-1];else throw this.error(new TomlError("Can't redefine existing key"));return this.next(this.parseTableNext)}else throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext)}parseListNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseListMore)}parseListMore(tt){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,tt)||(this.ctx[tt]=List$1()),isInlineList(this.ctx[tt]))throw this.error(new TomlError("Can't extend an inline array"));if(isList(this.ctx[tt])){const nt=Table();this.ctx[tt].push(nt),this.ctx=nt}else throw this.error(new TomlError("Can't redefine an existing key"));return this.next(this.parseListEnd)}else if(this.char===CHAR_PERIOD){if(!hasKey(this.ctx,tt))this.ctx=this.ctx[tt]=Table();else{if(isInlineList(this.ctx[tt]))throw this.error(new TomlError("Can't extend an inline array"));if(isInlineTable(this.ctx[tt]))throw this.error(new TomlError("Can't extend an inline table"));if(isList(this.ctx[tt]))this.ctx=this.ctx[tt][this.ctx[tt].length-1];else if(isTable(this.ctx[tt]))this.ctx=this.ctx[tt];else throw this.error(new TomlError("Can't redefine an existing key"))}return this.next(this.parseListNext)}else throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseListEnd(tt){if(this.char===CHAR_RSQB)return this.next(this.parseWhitespaceToEOL);throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseValue(){if(this.char===$.END)throw this.error(new TomlError("Key without value"));if(this.char===CHAR_QUOT)return this.next(this.parseDoubleString);if(this.char===CHAR_APOS)return this.next(this.parseSingleString);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)return this.goto(this.parseNumberSign);if(this.char===CHAR_i)return this.next(this.parseInf);if(this.char===CHAR_n)return this.next(this.parseNan);if(isDigit(this.char))return this.goto(this.parseNumberOrDateTime);if(this.char===CHAR_t||this.char===CHAR_f)return this.goto(this.parseBoolean);if(this.char===CHAR_LSQB)return this.call(this.parseInlineList,this.recordValue);if(this.char===CHAR_LCUB)return this.call(this.parseInlineTable,this.recordValue);throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"))}recordValue(tt){return this.returnNow(tt)}parseInf(){if(this.char===CHAR_n)return this.next(this.parseInf2);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseInf2(){if(this.char===CHAR_f)return this.state.buf==="-"?this.return(-1/0):this.return(1/0);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseNan(){if(this.char===CHAR_a)return this.next(this.parseNan2);throw this.error(new TomlError('Unexpected character, expected "nan"'))}parseNan2(){if(this.char===CHAR_n)return this.return(NaN);throw this.error(new TomlError('Unexpected character, expected "nan"'))}parseKeyword(){return this.char===CHAR_QUOT?this.next(this.parseBasicString):this.char===CHAR_APOS?this.next(this.parseLiteralString):this.goto(this.parseBareKey)}parseBareKey(){do{if(this.char===$.END)throw this.error(new TomlError("Key ended without value"));if(isAlphaNumHyphen(this.char))this.consume();else{if(this.state.buf.length===0)throw this.error(new TomlError("Empty bare keys are not allowed"));return this.returnNow()}}while(this.nextChar())}parseSingleString(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString)}parseLiteralString(){do{if(this.char===CHAR_APOS)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiStringMaybe(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiString):this.returnNow()}parseLiteralMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent)}parseLiteralMultiStringContent(){do{if(this.char===CHAR_APOS)return this.next(this.parseLiteralMultiEnd);if(this.char===$.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiEnd(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent))}parseLiteralMultiEnd2(){return this.char===CHAR_APOS?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent))}parseDoubleString(){return this.char===CHAR_QUOT?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString)}parseBasicString(){do{if(this.char===CHAR_BSOL)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===CHAR_QUOT)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}recordEscapeReplacement(tt){return this.state.buf+=tt,this.goto(this.parseBasicString)}parseMultiStringMaybe(){return this.char===CHAR_QUOT?this.next(this.parseMultiString):this.returnNow()}parseMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent)}parseMultiStringContent(){do{if(this.char===CHAR_BSOL)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===CHAR_QUOT)return this.next(this.parseMultiEnd);if(this.char===$.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}errorControlCharInString(){let tt="\\u00";return this.char<16&&(tt+="0"),tt+=this.char.toString(16),this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${tt} instead`))}recordMultiEscapeReplacement(tt){return this.state.buf+=tt,this.goto(this.parseMultiStringContent)}parseMultiEnd(){return this.char===CHAR_QUOT?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent))}parseMultiEnd2(){return this.char===CHAR_QUOT?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent))}parseMultiEscape(){return this.char===CTRL_M||this.char===CTRL_J?this.next(this.parseMultiTrim):this.char===CHAR_SP||this.char===CTRL_I?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape)}parsePreMultiTrim(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CTRL_M||this.char===CTRL_J)return this.next(this.parseMultiTrim);throw this.error(new TomlError("Can't escape whitespace"))}parseMultiTrim(){return this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M?null:this.returnNow()}parseEscape(){if(this.char in escapes)return this.return(escapes[this.char]);if(this.char===CHAR_u)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===CHAR_U)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new TomlError("Unknown escape character: "+this.char))}parseUnicodeReturn(tt){try{const nt=parseInt(tt,16);if(nt>=SURROGATE_FIRST&&nt<=SURROGATE_LAST)throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(nt))}catch(nt){throw this.error(TomlError.wrap(nt))}}parseSmallUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=4)return this.return()}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"))}parseLargeUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=8)return this.return()}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"))}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan)}parseMaybeSignedInfOrNan(){return this.char===CHAR_i?this.next(this.parseInf):this.char===CHAR_n?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart)}parseNumberIntegerStart(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger)}parseNumberIntegerExponentOrDecimal(){return this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Integer(this.state.buf))}parseNumberInteger(){if(isDigit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);{const tt=Integer(this.state.buf);if(tt.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(tt)}}}parseNoUnder(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD||this.char===CHAR_E||this.char===CHAR_e)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow()}parseNoUnderHexOctBinLiteral(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow()}parseNumberFloat(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberFloat);if(isDigit(this.char))this.consume();else return this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Float(this.state.buf))}parseNumberExponentSign(){if(isDigit(this.char))return this.goto(this.parseNumberExponent);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent);else throw this.error(new TomlError("Unexpected character, expected -, + or digit"))}parseNumberExponent(){if(isDigit(this.char))this.consume();else return this.char===CHAR_LOWBAR?this.call(this.parseNoUnder):this.returnNow(Float(this.state.buf))}parseNumberOrDateTime(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly)}parseNumberOrDateTimeOnly(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberInteger);if(isDigit(this.char))this.consume(),this.state.buf.length>4&&this.next(this.parseNumberInteger);else return this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_HYPHEN?this.goto(this.parseDateTime):this.char===CHAR_COLON?this.goto(this.parseOnlyTimeHour):this.returnNow(Integer(this.state.buf))}parseDateTimeOnly(){if(this.state.buf.length<4){if(isDigit(this.char))return this.consume();if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);throw this.error(new TomlError("Expected digit while parsing year part of a date"))}else{if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"))}}parseNumberBaseOrDateTime(){return this.char===CHAR_b?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin)):this.char===CHAR_o?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct)):this.char===CHAR_x?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex)):this.char===CHAR_PERIOD?this.goto(this.parseNumberInteger):isDigit(this.char)?this.goto(this.parseDateTimeOnly):this.returnNow(Integer(this.state.buf))}parseIntegerHex(){if(isHexit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{const tt=Integer(this.state.buf);if(tt.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(tt)}}}parseIntegerOct(){if(isOctit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{const tt=Integer(this.state.buf);if(tt.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(tt)}}}parseIntegerBin(){if(isBit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{const tt=Integer(this.state.buf);if(tt.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(tt)}}}parseDateTime(){if(this.state.buf.length<4)throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth)}parseDateMonth(){if(this.char===CHAR_HYPHEN){if(this.state.buf.length<2)throw this.error(new TomlError("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay)}else if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}parseDateDay(){if(this.char===CHAR_T||this.char===CHAR_SP){if(this.state.buf.length<2)throw this.error(new TomlError("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour)}else{if(this.atEndOfWord())return this.returnNow(createDate(this.state.result+"-"+this.state.buf));if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow(createDate(this.state.result)):this.goto(this.parseTimeHour)}parseTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin)}else if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}parseTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else{if(this.state.buf.length===2&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);throw this.error(new TomlError("Incomplete datetime"))}}parseTimeSec(){if(isDigit(this.char)){if(this.consume(),this.state.buf.length===2)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction)}else throw this.error(new TomlError("Incomplete datetime"))}parseOnlyTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin)}else throw this.error(new TomlError("Incomplete time"))}parseOnlyTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else{if(this.state.buf.length===2&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);throw this.error(new TomlError("Incomplete time"))}}parseOnlyTimeSec(){if(isDigit(this.char)){if(this.consume(),this.state.buf.length===2)return this.next(this.parseOnlyTimeFractionMaybe)}else throw this.error(new TomlError("Incomplete time"))}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char===CHAR_PERIOD)this.state.buf="",this.next(this.parseOnlyTimeFraction);else return this.return(createTime(this.state.result))}parseOnlyTimeFraction(){if(isDigit(this.char))this.consume();else if(this.atEndOfWord()){if(this.state.buf.length===0)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow(createTime(this.state.result+"."+this.state.buf))}else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}parseTimeZoneOrFraction(){if(this.char===CHAR_PERIOD)this.consume(),this.next(this.parseDateTimeFraction);else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else{if(this.char===CHAR_Z)return this.consume(),this.return(createDateTime(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(createDateTimeFloat(this.state.result+this.state.buf));throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}parseDateTimeFraction(){if(isDigit(this.char))this.consume();else{if(this.state.buf.length===1)throw this.error(new TomlError("Expected digit in milliseconds"));if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else{if(this.char===CHAR_Z)return this.consume(),this.return(createDateTime(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(createDateTimeFloat(this.state.result+this.state.buf));throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}}parseTimeZoneHour(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep)}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"))}parseTimeZoneSep(){if(this.char===CHAR_COLON)this.consume(),this.next(this.parseTimeZoneMin);else throw this.error(new TomlError("Unexpected character in datetime, expected colon"))}parseTimeZoneMin(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.return(createDateTime(this.state.result+this.state.buf))}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"))}parseBoolean(){if(this.char===CHAR_t)return this.consume(),this.next(this.parseTrue_r);if(this.char===CHAR_f)return this.consume(),this.next(this.parseFalse_a)}parseTrue_r(){if(this.char===CHAR_r)return this.consume(),this.next(this.parseTrue_u);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseTrue_u(){if(this.char===CHAR_u)return this.consume(),this.next(this.parseTrue_e);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseTrue_e(){if(this.char===CHAR_e)return this.return(!0);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_a(){if(this.char===CHAR_a)return this.consume(),this.next(this.parseFalse_l);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_l(){if(this.char===CHAR_l)return this.consume(),this.next(this.parseFalse_s);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_s(){if(this.char===CHAR_s)return this.consume(),this.next(this.parseFalse_e);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_e(){if(this.char===CHAR_e)return this.return(!1);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseInlineList(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===$.END)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_NUM?this.call(this.parseComment):this.char===CHAR_RSQB?this.return(this.state.resultArr||InlineList()):this.callNow(this.parseValue,this.recordInlineListValue)}recordInlineListValue(tt){if(this.state.resultArr){const nt=this.state.resultArr[_contentType],rt=tomlType(tt);if(nt!==rt)throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${nt} and ${rt}`))}else this.state.resultArr=InlineList(tomlType(tt));return isFloat(tt)||isInteger$1(tt)?this.state.resultArr.push(tt.valueOf()):this.state.resultArr.push(tt),this.goto(this.parseInlineListNext)}parseInlineListNext(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CHAR_COMMA)return this.next(this.parseInlineList);if(this.char===CHAR_RSQB)return this.goto(this.parseInlineList);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"))}parseInlineTable(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===$.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_RCUB?this.return(this.state.resultTable||InlineTable()):(this.state.resultTable||(this.state.resultTable=InlineTable()),this.callNow(this.parseAssign,this.recordInlineTableValue))}recordInlineTableValue(tt){let nt=this.state.resultTable,rt=tt.key.pop();for(let ot of tt.key){if(hasKey(nt,ot)&&(!isTable(nt[ot])||nt[ot][_declared]))throw this.error(new TomlError("Can't redefine existing key"));nt=nt[ot]=nt[ot]||Table()}if(hasKey(nt,rt))throw this.error(new TomlError("Can't redefine existing key"));return isInteger$1(tt.value)||isFloat(tt.value)?nt[rt]=tt.value.valueOf():nt[rt]=tt.value,this.goto(this.parseInlineTableNext)}parseInlineTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===$.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));if(this.char===CHAR_COMMA)return this.next(this.parseInlineTable);if(this.char===CHAR_RCUB)return this.goto(this.parseInlineTable);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"))}}return _e}var tomlParserExports=tomlParser.exports,parsePrettyError=prettyError$1;function prettyError$1($,_e){if($.pos==null||$.line==null)return $;let et=$.message;if(et+=` at row ${$.line+1}, col ${$.col+1}, pos ${$.pos}: +`,_e&&_e.split){const tt=_e.split(/\n/),nt=String(Math.min(tt.length,$.line+3)).length;let rt=" ";for(;rt.length "+tt[ot]+` +`,et+=rt+" ";for(let st=0;st<$.col;++st)et+=" ";et+=`^ +`}else et+=it+": "+tt[ot]+` +`}}return $.message=et+` +`,$}var parseString_1=parseString;const TOMLParser=tomlParserExports,prettyError=parsePrettyError;function parseString($){globalThis.Buffer&&globalThis.Buffer.isBuffer($)&&($=$.toString("utf8"));const _e=new TOMLParser;try{return _e.parse($),_e.finish()}catch(et){throw prettyError(et,$)}}const parseToml=getDefaultExportFromCjs(parseString_1);var isMergeableObject=function $(_e){return isNonNullObject(_e)&&!isSpecial(_e)};function isNonNullObject($){return!!$&&typeof $=="object"}function isSpecial($){var _e=Object.prototype.toString.call($);return _e==="[object RegExp]"||_e==="[object Date]"||isReactElement($)}var canUseSymbol=typeof Symbol=="function"&&Symbol.for,REACT_ELEMENT_TYPE=canUseSymbol?Symbol.for("react.element"):60103;function isReactElement($){return $.$$typeof===REACT_ELEMENT_TYPE}function emptyTarget($){return Array.isArray($)?[]:{}}function cloneUnlessOtherwiseSpecified($,_e){return _e.clone!==!1&&_e.isMergeableObject($)?deepmerge$2(emptyTarget($),$,_e):$}function defaultArrayMerge($,_e,et){return $.concat(_e).map(function(tt){return cloneUnlessOtherwiseSpecified(tt,et)})}function getMergeFunction($,_e){if(!_e.customMerge)return deepmerge$2;var et=_e.customMerge($);return typeof et=="function"?et:deepmerge$2}function getEnumerableOwnPropertySymbols($){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols($).filter(function(_e){return Object.propertyIsEnumerable.call($,_e)}):[]}function getKeys($){return Object.keys($).concat(getEnumerableOwnPropertySymbols($))}function propertyIsOnObject($,_e){try{return _e in $}catch{return!1}}function propertyIsUnsafe($,_e){return propertyIsOnObject($,_e)&&!(Object.hasOwnProperty.call($,_e)&&Object.propertyIsEnumerable.call($,_e))}function mergeObject($,_e,et){var tt={};return et.isMergeableObject($)&&getKeys($).forEach(function(nt){tt[nt]=cloneUnlessOtherwiseSpecified($[nt],et)}),getKeys(_e).forEach(function(nt){propertyIsUnsafe($,nt)||(propertyIsOnObject($,nt)&&et.isMergeableObject(_e[nt])?tt[nt]=getMergeFunction(nt,et)($[nt],_e[nt],et):tt[nt]=cloneUnlessOtherwiseSpecified(_e[nt],et))}),tt}function deepmerge$2($,_e,et){et=et||{},et.arrayMerge=et.arrayMerge||defaultArrayMerge,et.isMergeableObject=et.isMergeableObject||isMergeableObject,et.cloneUnlessOtherwiseSpecified=cloneUnlessOtherwiseSpecified;var tt=Array.isArray(_e),nt=Array.isArray($),rt=tt===nt;return rt?tt?et.arrayMerge($,_e,et):mergeObject($,_e,et):cloneUnlessOtherwiseSpecified(_e,et)}deepmerge$2.all=function $(_e,et){if(!Array.isArray(_e))throw new Error("first argument should be an array");return _e.reduce(function(tt,nt){return deepmerge$2(tt,nt,et)},{})};var deepmerge_1=deepmerge$2,cjs$1=deepmerge_1;const deepmerge$3=getDefaultExportFromCjs(cjs$1);var define_import_meta_env_default={BASE_URL:"/1419/2024-07-10_12-10-53/",MODE:"production",DEV:!1,PROD:!0,SSR:!1,VITE_GIT_COMMIT_HASH:"352f882a75d8ba6eef61e56565e6f9fcc86a8681",VITE_APP_BUILD_DATE:"2024-07-10T12:11:08.578Z"};const CONTEXT_SETTINGS_FILE="editor-settings.toml",SRC_SERVER="src-server",SRC_URL="src-url",defaultSettings={id:void 0,allowedCallbackPrefixes:[],callbackUrl:void 0,callbackSystem:void 0,opencast:{url:window.location.origin,name:void 0,password:void 0,local:!0},metadata:{show:!0,configureFields:void 0},trackSelection:{show:!0},thumbnail:{show:!1,simpleMode:!1},subtitles:{show:!1,mainFlavor:"captions",languages:{},icons:void 0,defaultVideoFlavor:void 0}};let configFileSettings,urlParameterSettings,settings;const init=async()=>{let $=window.localStorage.getItem("colorScheme");if($===null||!["light","dark","light-high-contrast","dark-high-contrast"].includes($)){const tt=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",nt=window.matchMedia("(prefers-contrast: more)").matches?"-high-contrast":"";$=`${tt}${nt}`}document.documentElement.dataset.colorScheme=$,await loadContextSettings().then(tt=>{configFileSettings=validate(tt,!1,SRC_SERVER,"from server settings file")});const _e=new URLSearchParams(window.location.search),et={};_e.forEach((tt,nt)=>{let rt=et;if(nt.startsWith("opencast.")||nt==="allowedCallbackPrefixes")return;nt==="mediaPackageId"&&(nt="id");const ot=nt.split(".");ot.slice(0,-1).forEach(it=>{it in rt||(rt[it]={}),rt=rt[it]}),rt[ot[ot.length-1]]=tt}),urlParameterSettings=validate(et,!0,SRC_URL,"given as URL GET parameter"),settings=merge$1.all([defaultSettings,configFileSettings,urlParameterSettings]),settings.opencast.local=settings.opencast.local&&settings.opencast.url===window.location.origin,settings.callbackUrl=settings.allowedCallbackPrefixes.some(tt=>{var nt;return(nt=settings.callbackUrl)==null?void 0:nt.startsWith(tt)})?settings.callbackUrl:void 0},loadContextSettings=async()=>{var rt;let $="/1419/2024-07-10_12-10-53/";$.endsWith("/")||($+="/");const _e=define_import_meta_env_default.VITE_APP_SETTINGS_PATH||CONTEXT_SETTINGS_FILE,et=_e.startsWith("/")?"":$,tt=new URL(et.concat(_e),window.location.origin);let nt;try{nt=await fetch(tt)}catch(ot){return console.warn(`Could not access "${_e}" due to network error!`,ot||""),null}if(nt.status===404)return console.debug(`"${_e}" returned 404: ignoring`),null;if(!nt.ok)return console.error(`Fetching "${_e}" failed: ${nt.status} ${nt.statusText}`),null;if((rt=nt.headers.get("Content-Type"))!=null&&rt.startsWith("text/html"))return console.warn(`"${_e}" request has "Content-Type: text/html" -> ignoring...`),null;try{return parseToml(await nt.text())}catch(ot){throw console.error(`Could not parse "${_e}" as TOML: `,ot),new SyntaxError(`Could not parse "${_e}" as TOML: ${ot}`)}},validate=($,_e,et,tt)=>{const nt=(it,st,at)=>typeof it=="function"?rt(it,st,at):ot(it,st,at),rt=(it,st,at)=>{try{const ut=it(st,_e,et);return ut===void 0?st:ut}catch(ut){return console.warn(`Validation of setting "${at}" (${tt}) with value "${st}" failed: ${ut}. Ignoring.`),null}},ot=(it,st,at)=>{const ut={};for(const ft in st){const dt=at?`${at}.${ft}`:ft;if(ft in it){const pt=nt(it[ft],st[ft],dt);pt!==null&&(ut[ft]=pt)}else console.warn(`"${dt}" (${tt}) is not a valid settings key. Ignoring.`)}return ut};return nt(SCHEMA,$,"")},types={string:($,_e)=>{if(typeof $!="string")throw new Error("is not a string, but should be")},boolean:($,_e)=>{if(typeof $!="boolean")if(_e){if($==="true")return!0;if($==="false")return!1;throw new Error("cant be parsed as boolean")}else throw new Error("is not a boolean")},array:($,_e)=>{if(!Array.isArray($))throw new Error("is not an array, but should be");for(const et in $)if(typeof et!="string")throw new Error("is not a string, but should be")},map:($,_e)=>{for(const et in $){if(typeof et!="string")throw new Error("is not a string, but should be");if(typeof $[et]!="string")throw new Error("is not a string, but should be")}},objectsWithinObjects:($,_e)=>{for(const et in $){if(typeof et!="string")throw new Error("is not a string, but should be");for(const tt in $[et]){if(typeof tt!="string")throw new Error("is not a string, but should be");for(const nt in $[et][tt]){if(typeof nt!="string")throw new Error("is not a string, but should be");if(nt==="show"&&typeof $[et][tt][nt]!="boolean")throw new Error("is not a boolean");if(nt==="readonly"&&typeof $[et][tt][nt]!="boolean")throw new Error("is not a boolean")}}}}},SCHEMA={id:types.string,allowedCallbackPrefixes:types.array,callbackUrl:types.string,callbackSystem:types.string,opencast:{url:types.string,name:types.string,password:types.string},metadata:{show:types.boolean,configureFields:types.objectsWithinObjects},trackSelection:{show:types.boolean},subtitles:{show:types.boolean,mainFlavor:types.string,languages:types.objectsWithinObjects,icons:types.map,defaultVideoFlavor:types.map},thumbnail:{show:types.boolean,simpleMode:types.boolean}},merge$1=($,_e)=>deepmerge$3($,_e,{arrayMerge});merge$1.all=$=>deepmerge$3.all($,{arrayMerge});const arrayMerge=($,_e,et)=>_e;async function client($,{body:_e,...et}={}){const tt={"Content-Type":"application/json"};let nt={};settings.opencast.name&&settings.opencast.password&&(nt={Authorization:`Basic ${btoa(unescape(encodeURIComponent(settings.opencast.name+":"+settings.opencast.password)))}`});const rt={method:_e?"POST":"GET",...et,headers:{...tt,...et.headers,...nt}};_e&&(rt.headers["Content-Type"].includes("urlencoded")?rt.body=_e:rt.body=JSON.stringify(_e));let ot,it,st;try{if(st=await window.fetch($,rt),it=await st.text(),st.url.includes("login.html"))throw new Error("Got redirected to login page, authentification failed.");if(st.ok)return ot=it.length?it:"",ot;throw new Error(st.statusText)}catch(at){return Promise.reject(st.status?"Status "+st.status+": "+it:at.message)}}client.get=function($,_e={}){return client($,{..._e,method:"GET"})};client.post=function($,_e,et={}){return client($,{...et,body:_e})};client.delete=function($,_e={}){return client($,{..._e,method:"DELETE"})};var parser={};(function($){(function(){var _e={direction:"horizontal",snapToLines:!0,linePosition:"auto",lineAlign:"start",textPosition:"auto",positionAlign:"auto",size:100,alignment:"center"},et=function(it){it||(it={"&":"&","<":"<",">":">","&lrm":"‎","&rlm":"‏"," ":" "}),this.entities=it,this.parse=function(st,at){st=st.replace(/\0/g,"�");var ut=/\r\n|\r|\n/,ft=Date.now(),dt=0,pt=st.split(ut),ht=!1,gt=[],yt=[],vt=[];function St(Nt,Mt){vt.push({message:Nt,line:dt+1,col:Mt})}var Tt=pt[dt],$t=Tt.length,bt="WEBVTT",Ot=0,Et=bt.length;for(Tt[0]==="\uFEFF"&&(Ot=1,Et+=1),($tEt&&Tt[Et]!==" "&&Tt[Et]!==" ")&&St('No valid signature. (File needs to start with "WEBVTT".)'),dt++;pt[dt]!=""&&pt[dt]!=null;){if(St("No blank line after the signature."),pt[dt].indexOf("-->")!=-1){ht=!0;break}dt++}for(;pt[dt]!=null;){for(var mt;!ht&&pt[dt]=="";)dt++;if(!ht&&pt[dt]==null)break;mt=Object.assign({},_e,{id:"",startTime:0,endTime:0,pauseOnExit:!1,direction:"horizontal",snapToLines:!0,linePosition:"auto",lineAlign:"start",textPosition:"auto",positionAlign:"auto",size:100,alignment:"center",text:"",tree:null});var Ct=!0;if(pt[dt].indexOf("-->")==-1){if(mt.id=pt[dt],/^NOTE($|[ \t])/.test(mt.id)){for(dt++;pt[dt]!=""&&pt[dt]!=null;)pt[dt].indexOf("-->")!=-1&&St("Cannot have timestamp in a comment."),dt++;continue}if(/^STYLE($|[ \t])/.test(mt.id)){var wt=[],Pt=!1;for(dt++;pt[dt]!=""&&pt[dt]!=null;)pt[dt].indexOf("-->")!=-1&&(St("Cannot have timestamp in a style block."),Pt=!0),wt.push(pt[dt]),dt++;if(yt.length){St("Style blocks cannot appear after the first cue.");continue}Pt||gt.push(wt.join(` +`));continue}if(dt++,pt[dt]==""||pt[dt]==null){St("Cue identifier cannot be standalone.");continue}if(pt[dt].indexOf("-->")==-1){Ct=!1,St("Cue identifier needs to be followed by timestamp.");continue}}ht=!1;var Rt=new tt(pt[dt],St),At=0;if(yt.length>0&&(At=yt[yt.length-1].startTime),Ct&&!Rt.parse(mt,At)){for(mt=null,dt++;pt[dt]!=""&&pt[dt]!=null;){if(pt[dt].indexOf("-->")!=-1){ht=!0;break}dt++}continue}for(dt++;pt[dt]!=""&&pt[dt]!=null;){if(pt[dt].indexOf("-->")!=-1){St("Blank line missing before cue."),ht=!0;break}mt.text!=""&&(mt.text+=` +`),mt.text+=pt[dt],dt++}var It=new nt(mt.text,St,at,it);mt.tree=It.parse(mt.startTime,mt.endTime),yt.push(mt)}return yt.sort(function(Nt,Mt){return Nt.startTimeMt.startTime?1:Nt.endTime>Mt.endTime?-1:Nt.endTime2||parseInt(Tt,10)>59)&&(St="hours"),ft[dt]!=":"){pt("No time unit separator found.");return}if(dt++,$t=gt(/\d/),$t.length!=2){pt("Must be exactly two digits.");return}if(St=="hours"||ft[dt]==":"){if(ft[dt]!=":"){pt("No seconds found or minutes is greater than 59.");return}if(dt++,bt=gt(/\d/),bt.length!=2){pt("Must be exactly two digits.");return}}else{if(Tt.length!=2){pt("Must be exactly two digits.");return}bt=$t,$t=Tt,Tt="0"}if(ft[dt]!="."){pt('No decimal separator (".") found.');return}if(dt++,Ot=gt(/\d/),Ot.length!=3){pt("Milliseconds must be given in three digits.");return}if(parseInt($t,10)>59){pt("You cannot have more than 59 minutes.");return}if(parseInt(bt,10)>59){pt("You cannot have more than 59 seconds.");return}return parseInt(Tt,10)*60*60+parseInt($t,10)*60+parseInt(bt,10)+parseInt(Ot,10)/1e3}function vt(St,Tt){for(var $t=St.split(at),bt=[],Ot=0;Ot<$t.length;Ot++)if($t[Ot]!=""){var Et=$t[Ot].indexOf(":"),mt=$t[Ot].slice(0,Et),Ct=$t[Ot].slice(Et+1);if(bt.indexOf(mt)!=-1&&pt("Duplicate setting."),bt.push(mt),Ct==""){pt("No value for setting defined.");return}if(mt=="vertical"){if(Ct!="rl"&&Ct!="lr"){pt("Writing direction can only be set to 'rl' or 'rl'.");continue}Tt.direction=Ct}else if(mt=="line"){if(/,/.test(Ct)){var wt=Ct.split(",");Ct=wt[0];var Pt=wt[1]}if(!/^[-\d](\d*)(\.\d+)?%?$/.test(Ct)){pt("Line position takes a number or percentage.");continue}if(Ct.indexOf("-",1)!=-1){pt("Line position can only have '-' at the start.");continue}if(Ct.indexOf("%")!=-1&&Ct.indexOf("%")!=Ct.length-1){pt("Line position can only have '%' at the end.");continue}if(Ct[0]=="-"&&Ct[Ct.length-1]=="%"){pt("Line position cannot be a negative percentage.");continue}var Rt=Ct,At=!1;if(Ct[Ct.length-1]=="%"&&(At=!0,Rt=Ct.slice(0,Ct.length-1),parseInt(Ct,10)>100)){pt("Line position cannot be >100%.");continue}if(Rt===""||isNaN(Rt)||!isFinite(Rt)){pt("Line position needs to be a number");continue}if(Pt!==void 0){if(!["start","center","end"].includes(Pt)){pt("Line alignment needs to be one of start, center or end");continue}Tt.lineAlign=Pt}Tt.snapToLines=!At,Tt.linePosition=parseFloat(Rt),parseFloat(Rt).toString()!==Rt&&(Tt.nonSerializable=!0)}else if(mt=="position"){if(/,/.test(Ct)){var wt=Ct.split(",");Ct=wt[0];var It=wt[1]}if(Ct[Ct.length-1]!="%"){pt("Text position must be a percentage.");continue}if(parseInt(Ct,10)>100||parseInt(Ct,10)<0){pt("Text position needs to be between 0 and 100%.");continue}if(Rt=Ct.slice(0,Ct.length-1),Rt===""||isNaN(Rt)||!isFinite(Rt)){pt("Line position needs to be a number");continue}if(It!==void 0){if(!["line-left","center","line-right"].includes(It)){pt("Position alignment needs to be one of line-left, center or line-right");continue}Tt.positionAlign=It}Tt.textPosition=parseFloat(Rt)}else if(mt=="size"){if(Ct[Ct.length-1]!="%"){pt("Size must be a percentage.");continue}if(parseInt(Ct,10)>100){pt("Size cannot be >100%.");continue}var Nt=Ct.slice(0,Ct.length-1);if(Nt===void 0||Nt===""||isNaN(Nt)){pt("Size needs to be a number"),Nt=100;continue}else if(Nt=parseFloat(Nt),Nt<0||Nt>100){pt("Size needs to be between 0 and 100%.");continue}Tt.size=Nt}else if(mt=="align"){var Mt=["start","center","end","left","right"];if(Mt.indexOf(Ct)==-1){pt("Alignment can only be set to one of "+Mt.join(", ")+".");continue}Tt.alignment=Ct}else pt("Invalid setting.")}}this.parse=function(St,Tt){if(ht(at),St.startTime=yt(),St.startTime!=null){if(St.startTime' by whitespace."),ht(at),ft[dt]!="-"){pt("No valid timestamp separator found.");return}if(dt++,ft[dt]!="-"){pt("No valid timestamp separator found.");return}if(dt++,ft[dt]!=">"){pt("No valid timestamp separator found.");return}if(dt++,ut.test(ft[dt])&&pt("'-->' not separated from timestamp by whitespace."),ht(at),St.endTime=yt(),St.endTime!=null)return St.endTime<=St.startTime&&pt("End timestamp is not greater than start timestamp."),ut.test(ft[dt]),ht(at),vt(ft.substring(dt),St),!0}},this.parseTimestamp=function(){var St=yt();if(ft[dt]!=null){pt("Timestamp must not have trailing characters.");return}return St}},nt=function(dt,st,at,ut){this.entities=ut;var ft=this,dt=dt,pt=0,ht=function(yt){at!="metadata"&&st(yt,pt+1)};this.parse=function(yt,vt){function St(Rt){const At={...Rt};return Rt.children&&(At.children=Rt.children.map(St)),At.parent&&delete At.parent,At}var Tt={children:[]},$t=Tt,bt=[];function Ot(Rt){$t.children.push({type:"object",name:Rt[1],classes:Rt[2],children:[],parent:$t}),$t=$t.children[$t.children.length-1]}function Et(Rt){for(var At=$t;At;){if(At.name==Rt)return!0;At=At.parent}}for(;dt[pt]!=null;){var mt=gt();if(mt[0]=="text")$t.children.push({type:"text",value:mt[1],parent:$t});else if(mt[0]=="start tag"){at=="chapters"&&ht("Start tags not allowed in chapter title text.");var Ct=mt[1];Ct!="v"&&Ct!="lang"&&mt[3]!=""&&ht("Only and can have an annotation."),Ct=="c"||Ct=="i"||Ct=="b"||Ct=="u"||Ct=="ruby"||Ct=="rt"&&$t.name=="ruby"?Ot(mt):Ct=="v"?(Et("v")&&ht(" cannot be nested inside itself."),Ot(mt),$t.value=mt[3],mt[3]||ht(" requires an annotation.")):Ct=="lang"?(Ot(mt),$t.value=mt[3]):ht("Incorrect start tag.")}else if(mt[0]=="end tag")at=="chapters"&&ht("End tags not allowed in chapter title text."),mt[1]==$t.name?$t=$t.parent:mt[1]=="ruby"&&$t.name=="rt"?$t=$t.parent.parent:ht("Incorrect end tag.");else if(mt[0]=="timestamp"){at=="chapters"&&ht("Timestamp not allowed in chapter title text.");var wt=new tt(mt[1],ht),Pt=wt.parseTimestamp();Pt!=null&&((Pt<=yt||Pt>=vt)&&ht("Timestamp must be between start timestamp and end timestamp."),bt.length>0&&bt[bt.length-1]>=Pt&&ht("Timestamp must be greater than any previous timestamp."),$t.children.push({type:"timestamp",value:Pt,parent:$t}),bt.push(Pt))}}for(;$t.parent;)$t.name!="v"&&ht("Required end tag missing."),$t=$t.parent;return St(Tt)};function gt(){for(var yt="data",vt="",St="",Tt=[];dt[pt-1]!=null||pt==0;){var $t=dt[pt];if(yt=="data")if($t=="&")St=$t,yt="escape";else if($t=="<"&&vt=="")yt="tag";else{if($t=="<"||$t==null)return["text",vt];vt+=$t}else if(yt=="escape")if($t=="<"||$t==null){ht("Incorrect escape.");let bt;return(bt=St.match(/^&#([0-9]+)$/))?vt+=String.fromCharCode(bt[1]):ft.entities[St]?vt+=ft.entities[St]:vt+=St,["text",vt]}else if($t=="&")ht("Incorrect escape."),vt+=St,St=$t;else if(/[a-z#0-9]/i.test($t))St+=$t;else if($t==";"){let bt;(bt=St.match(/^&#(x?[0-9]+)$/))?vt+=String.fromCharCode("0"+bt[1]):ft.entities[St+$t]?vt+=ft.entities[St+$t]:(bt=Object.keys(ut).find(Ot=>St.startsWith(Ot)))?vt+=ft.entities[bt]+St.slice(bt.length)+$t:(ht("Incorrect escape."),vt+=St+";"),yt="data"}else ht("Incorrect escape."),vt+=St+$t,yt="data";else if(yt=="tag")if($t==" "||$t==` +`||$t=="\f"||$t==" ")yt="start tag annotation";else if($t==".")yt="start tag class";else if($t=="/")yt="end tag";else if(/\d/.test($t))vt=$t,yt="timestamp tag";else{if($t==">"||$t==null)return $t==">"&&pt++,["start tag","",[],""];vt=$t,yt="start tag"}else if(yt=="start tag")if($t==" "||$t=="\f"||$t==" ")yt="start tag annotation";else if($t==` +`)St=$t,yt="start tag annotation";else if($t==".")yt="start tag class";else{if($t==">"||$t==null)return $t==">"&&pt++,["start tag",vt,[],""];vt+=$t}else if(yt=="start tag class")if($t==" "||$t=="\f"||$t==" ")St&&Tt.push(St),St="",yt="start tag annotation";else if($t==` +`)St&&Tt.push(St),St=$t,yt="start tag annotation";else if($t==".")St&&Tt.push(St),St="";else{if($t==">"||$t==null)return $t==">"&&pt++,St&&Tt.push(St),["start tag",vt,Tt,""];St+=$t}else if(yt=="start tag annotation"){if($t==">"||$t==null)return $t==">"&&pt++,St=St.split(/[\u0020\t\f\r\n]+/).filter(function(bt){if(bt)return!0}).join(" "),["start tag",vt,Tt,St];St+=$t}else if(yt=="end tag"){if($t==">"||$t==null)return $t==">"&&pt++,["end tag",vt];vt+=$t}else if(yt=="timestamp tag"){if($t==">"||$t==null)return $t==">"&&pt++,["timestamp",vt];vt+=$t}else ht("Never happens.");pt++}}},rt=function(){function it(dt){const pt=("00"+(dt-Math.floor(dt)).toFixed(3)*1e3).slice(-3);let ht=0,gt=0,yt=0;return dt>=3600&&(ht=Math.floor(dt/3600)),gt=Math.floor((dt-3600*ht)/60),yt=Math.floor(dt-3600*ht-60*gt),(ht?ht+":":"")+(""+gt).padStart(2,"0")+":"+(""+yt).padStart(2,"0")+"."+pt}function st(dt){var pt="";const ht=Object.keys(_e).filter(gt=>dt[gt]!==_e[gt]);return ht.includes("direction")&&(pt+=" vertical:"+dt.direction),ht.includes("alignment")&&(pt+=" align:"+dt.alignment),ht.includes("size")&&(pt+=" size:"+dt.size+"%"),(ht.includes("lineAlign")||ht.includes("linePosition"))&&(pt+=" line:"+dt.linePosition+(dt.snapToLines?"":"%")+(dt.lineAlign&&dt.lineAlign!=_e.lineAlign?","+dt.lineAlign:"")),(ht.includes("textPosition")||ht.includes("positionAlign"))&&(pt+=" position:"+dt.textPosition+"%"+(dt.positionAlign&&dt.positionAlign!==_e.positionAlign?","+dt.positionAlign:"")),pt}function at(dt){for(var pt="",ht=0;ht/g,">");else if(gt.type=="object"){if(pt+="<"+gt.name,gt.classes)for(var yt=0;yt"}else gt.type=="timestamp"?pt+="<"+it(gt.value)+">":pt+="<"+gt.value+">"}return pt}function ut(dt){return(dt.id!==void 0?dt.id+` +`:"")+it(dt.startTime)+" --> "+it(dt.endTime)+st(dt)+` +`+at(dt.tree.children)+` + +`}function ft(dt){return`STYLE +`+dt+` + +`}this.serialize=function(dt,pt){var ht=`WEBVTT + +`;if(pt)for(var gt=0;gt{const et=Math.pow(10,_e);return Math.round(($+Number.EPSILON)*et)/et},sleep=$=>new Promise((_e,et)=>setTimeout(_e,$)),convertMsToReadableString=$=>{const _e=new Date($||0).toISOString().substr(11,2),et=new Date($||0).toISOString().substr(14,2),tt=new Date($||0).toISOString().substr(17,2),nt=[];return parseInt(_e)>0&&nt.push(_e+" hours, "),(parseInt(et)>0||parseInt(_e)>0)&&nt.push(et+" minutes, "),nt.push(tt+" seconds"),nt.join("")};function serializeSubtitle($){const _e=new parser.WebVTTSerializer;let et=0;const tt=[...$];for(let nt of $)nt={...nt},nt.startTime=nt.startTime/1e3,nt.endTime=nt.endTime/1e3,nt={id:nt.id?nt.id:void 0,idInternal:nt.idInternal,text:nt.text,startTime:nt.startTime,endTime:nt.endTime,tree:nt.tree,alignment:"center",direction:"horizontal",lineAlign:"start",linePosition:"auto",positionAlign:"auto",size:100,textPosition:"auto"},tt[et]=nt,et++;return _e.serialize(tt)}function parseSubtitle($){if($==="")throw new Error("File is empty");const et=new parser.WebVTTParser().parse($,"metadata");if(et.errors.length!==0){const nt=[];for(const rt of et.errors)nt.push("On line: "+rt.line+" col: "+rt.col+" error occured: "+rt.message);throw new Error(nt.join(` +`))}let tt=0;for(const nt of et.cues)nt.id||(nt.idInternal=nanoid(),et.cues[tt]=nt),nt.startTime=nt.startTime*1e3,nt.endTime=nt.endTime*1e3,et.cues[tt]=nt,tt++;return et.cues}function languageCodeToName($){if(!$)return;const _e=window.navigator.language,et=new Intl.DisplayNames(_e,{type:"language"});try{return et.of($.trim())}catch{return}}function useInterval($,_e){const et=reactExports.useRef(null);reactExports.useEffect(()=>{et.current=$}),reactExports.useEffect(()=>{function tt(){et.current!==null&&et.current()}if(_e!==null){const nt=setInterval(tt,_e);return()=>{clearInterval(nt)}}},[$,_e])}const initialState$6={isPlaying:!1,isPlayPreview:!0,isMuted:!1,volume:1,currentlyAt:0,segments:[{id:nanoid(),start:0,end:1,deleted:!1}],tracks:[],subtitlesFromOpencast:[],activeSegmentIndex:0,selectedWorkflowId:"",previewTriggered:!1,clickTriggered:!1,jumpTriggered:!1,aspectRatios:[],hasChanges:!1,timelineZoom:1,waveformImages:[],originalThumbnails:[],videoURLs:[],videoCount:0,duration:0,title:"",presenters:[],workflows:[],lockingActive:!1,lockRefresh:null,lockState:!1,lock:{uuid:"",user:""},status:"idle",error:void 0,errorReason:"unknown"},fetchVideoInformation=createAsyncThunk("video/fetchVideoInformation",async()=>{if(!settings.id)throw new Error("Missing media package identifier");const $=await client.get(`${settings.opencast.url}/editor/${settings.id}/edit.json`);return JSON.parse($)}),updateCurrentlyAt$1=($,_e)=>{$.currentlyAt=roundToDecimalPlace(_e,0),$.currentlyAt<0&&($.currentlyAt=0),$.duration!==0&&$.duration<$.currentlyAt&&($.currentlyAt=$.duration),updateActiveSegment($),skipDeletedSegments($)},videoSlice=createSlice({name:"videoState",initialState:initialState$6,reducers:{setTrackEnabled:($,_e)=>{for(const et of $.tracks)et.id===_e.payload.id&&(et.audio_stream.enabled=_e.payload.enabled,et.video_stream.enabled=_e.payload.enabled);$.hasChanges=!0},setIsPlaying:($,_e)=>{$.isPlaying=_e.payload},setIsPlayPreview:($,_e)=>{$.isPlayPreview=_e.payload},setIsMuted:($,_e)=>{$.isMuted=_e.payload},setVolume:($,_e)=>{$.volume=_e.payload},setPreviewTriggered:($,_e)=>{$.previewTriggered=_e.payload},setClickTriggered:($,_e)=>{$.clickTriggered=_e.payload},setJumpTriggered:($,_e)=>{$.jumpTriggered=_e.payload},setCurrentlyAt:($,_e)=>{updateCurrentlyAt$1($,_e.payload)},setCurrentlyAtInSeconds:($,_e)=>{updateCurrentlyAt$1($,roundToDecimalPlace(_e.payload*1e3,0))},jumpToPreviousSegment:$=>{let _e=$.activeSegmentIndex-1;const et=Math.max(Math.min($.duration/100,3e3),500);$.currentlyAt>=$.segments[$.activeSegmentIndex].start+et&&(_e=$.activeSegmentIndex),$.activeSegmentIndex==0&&(_e=0),updateCurrentlyAt$1($,$.segments[_e].start),$.jumpTriggered=!0},jumpToNextSegment:$=>{let _e=$.activeSegmentIndex+1;$.activeSegmentIndex+1>=$.segments.length&&(_e=$.activeSegmentIndex),updateCurrentlyAt$1($,$.segments[_e].start),$.jumpTriggered=!0},addSegment:($,_e)=>{$.segments.push(_e.payload)},setAspectRatio:($,_e)=>{$.aspectRatios[_e.payload.dataKey]={width:_e.payload.width,height:_e.payload.height}},setHasChanges:($,_e)=>{$.hasChanges=_e.payload},setTimelineZoom:($,_e)=>{$.timelineZoom=lodashExports.clamp(_e.payload,1,timelineZoomMax($))},setWaveformImages:($,_e)=>{$.waveformImages=_e.payload},setThumbnail:($,_e)=>{setThumbnailHelper($,_e.payload.id,_e.payload.uri)},setThumbnails:($,_e)=>{for(const et of _e.payload)setThumbnailHelper($,et.id,et.uri)},removeThumbnail:($,_e)=>{const et=$.tracks.findIndex(tt=>tt.id===_e.payload);$.tracks[et].thumbnailUri=void 0},setLock:($,_e)=>{$.lockState=_e.payload},cut:$=>{if($.segments[$.activeSegmentIndex].start===$.currentlyAt||$.segments[$.activeSegmentIndex].end===$.currentlyAt)return;const _e={id:nanoid(),start:$.segments[$.activeSegmentIndex].start,end:$.currentlyAt,deleted:$.segments[$.activeSegmentIndex].deleted},et={id:nanoid(),start:$.currentlyAt,end:$.segments[$.activeSegmentIndex].end,deleted:$.segments[$.activeSegmentIndex].deleted};$.segments.splice($.activeSegmentIndex,1,_e,et),$.hasChanges=!0},moveCut:($,_e)=>{const et=_e.payload.leftSegmentIndex,tt=_e.payload.leftSegmentIndex+1,nt=roundToDecimalPlace(_e.payload.time,0);if(!(et<0||tt>=$.segments.length)){if(nt<=$.segments[et].start){mergeSegments($,tt,et),$.hasChanges=!0;return}if(nt>=$.segments[tt].end){mergeSegments($,et,tt),$.hasChanges=!0;return}$.segments[et].end=nt,$.segments[tt].start=nt,$.hasChanges=!0}},markAsDeletedOrAlive:$=>{$.segments[$.activeSegmentIndex].deleted=!$.segments[$.activeSegmentIndex].deleted,$.hasChanges=!0},setSelectedWorkflowIndex:($,_e)=>{$.selectedWorkflowId=_e.payload},mergeLeft:$=>{mergeSegments($,$.activeSegmentIndex,$.activeSegmentIndex-1),$.hasChanges=!0},mergeRight:$=>{mergeSegments($,$.activeSegmentIndex,$.activeSegmentIndex+1),$.hasChanges=!0},mergeAll:$=>{mergeSegments($,$.activeSegmentIndex,0),mergeSegments($,$.activeSegmentIndex,$.segments.length-1),$.hasChanges=!0},timelineZoomIn:$=>{$.timelineZoom=lodashExports.clamp($.timelineZoom+1,1,timelineZoomMax($))},timelineZoomOut:$=>{$.timelineZoom=lodashExports.clamp($.timelineZoom-1,1,timelineZoomMax($))}},extraReducers:$=>{$.addCase(fetchVideoInformation.pending,(_e,et)=>{_e.status="loading"}),$.addCase(fetchVideoInformation.fulfilled,(_e,et)=>{_e.status="success",et.payload.workflow_active&&(_e.status="failed",_e.errorReason="workflowActive",_e.error="This event is being processed. Please wait until the process is finished."),_e.tracks=et.payload.tracks.sort((nt,rt)=>nt.thumbnailPriority-rt.thumbnailPriority).map(nt=>(et.payload.local&&settings.opencast.local&&(console.debug("Replacing track URL"),nt.uri=nt.uri.replace(/https?:\/\/[^/]*/g,window.location.origin)),nt));const tt=_e.tracks.filter(nt=>nt.video_stream.available===!0);_e.videoURLs=tt.reduce((nt,rt)=>(nt.push(rt.uri),nt),[]),_e.videoCount=_e.videoURLs.length,_e.subtitlesFromOpencast=et.payload.subtitles?_e.subtitlesFromOpencast=et.payload.subtitles:[],_e.duration=et.payload.duration,_e.title=et.payload.title,_e.segments=parseSegments(et.payload.segments,et.payload.duration),_e.workflows=et.payload.workflows,_e.waveformImages=et.payload.waveformURIs?et.payload.waveformURIs:_e.waveformImages,_e.originalThumbnails=_e.tracks.map(nt=>({id:nt.id,uri:nt.thumbnailUri})),_e.aspectRatios=new Array(_e.videoCount),_e.lockingActive=et.payload.locking_active,_e.lockRefresh=et.payload.lock_refresh,_e.lock.uuid=et.payload.lock_uuid,_e.lock.user=et.payload.lock_user}),$.addCase(fetchVideoInformation.rejected,(_e,et)=>{_e.status="failed",_e.error=et.error.message})},selectors:{selectIsPlaying:$=>$.isPlaying,selectIsPlayPreview:$=>$.isPlayPreview,selectIsMuted:$=>$.isMuted,selectVolume:$=>$.volume,selectPreviewTriggered:$=>$.previewTriggered,selectClickTriggered:$=>$.clickTriggered,selectJumpTriggered:$=>$.jumpTriggered,selectCurrentlyAt:$=>$.currentlyAt,selectCurrentlyAtInSeconds:$=>$.currentlyAt/1e3,selectSegments:$=>$.segments,selectActiveSegmentIndex:$=>$.activeSegmentIndex,selectIsCurrentSegmentAlive:$=>!$.segments[$.activeSegmentIndex].deleted,selectSelectedWorkflowId:$=>$.selectedWorkflowId,selectHasChanges:$=>$.hasChanges,selectTimelineZoom:$=>$.timelineZoom,selectTimelineZoomMax:timelineZoomMax,selectWaveformImages:$=>$.waveformImages,selectOriginalThumbnails:$=>$.originalThumbnails,selectVideoURL:$=>$.videoURLs,selectVideoCount:$=>$.videoCount,selectDuration:$=>$.duration,selectDurationInSeconds:$=>$.duration/1e3,selectTitle:$=>$.title,selectTracks:$=>$.tracks,selectWorkflows:$=>$.workflows,selectAspectRatio:$=>calculateTotalAspectRatio($.aspectRatios),selectSubtitlesFromOpencast:$=>$.subtitlesFromOpencast,selectSubtitlesFromOpencastById:($,_e)=>{for(const et of $.subtitlesFromOpencast)if(et.id===_e)return et}}}),updateActiveSegment=$=>{$.activeSegmentIndex=$.segments.findLastIndex(_e=>_e.start<=$.currentlyAt&&_e.end>=$.currentlyAt),$.activeSegmentIndex<0&&($.activeSegmentIndex=0)},parseSegments=($,_e)=>{const et=[];return $.length===0&&et.push({id:nanoid(),start:0,end:_e,deleted:!1}),$.forEach(tt=>{et.push({id:nanoid(),start:tt.start,end:tt.end,deleted:tt.deleted})}),et},mergeSegments=($,_e,et)=>{et<0||et>$.segments.length-1||($.segments[_e].start=Math.min($.segments[_e].start,$.segments[et].start),$.segments[_e].end=Math.max($.segments[_e].end,$.segments[et].end),$.segments.splice(_e{if($.isPlaying&&$.segments[$.activeSegmentIndex].deleted&&$.isPlayPreview){let _e=$.segments[$.activeSegmentIndex].end;for(let et=$.activeSegmentIndex;et<$.segments.length;et++){if(_e=$.segments[et].end,!$.segments[et].deleted){_e=$.segments[et].start+1;break}if(et+1===$.segments.length){$.isPlaying=!1;for(let tt=0;tt<$.segments.length;tt++)if(!$.segments[tt].deleted){_e=$.segments[tt].start;break}}}$.currentlyAt=_e,$.previewTriggered=!0,updateActiveSegment($)}},calculateTotalAspectRatio=$=>{let _e=Math.min(...$.map(tt=>tt.height)),et=Math.min(...$.map(tt=>tt.width));return(!_e||!et)&&(_e=720,et=1280),et*=$.length,Math.min(_e/et*100,9/32*100)},setThumbnailHelper=($,_e,et)=>{const tt=$.tracks.findIndex(nt=>nt.id===_e);tt>=0&&($.tracks[tt].thumbnailUri=et)},ZOOM_SECONDS_VISIBLE=20*1e3;function timelineZoomMax($){const _e=$.duration/ZOOM_SECONDS_VISIBLE;return Math.max(2,Math.ceil(_e))}const{setTrackEnabled,setIsPlaying:setIsPlaying$1,setIsPlayPreview:setIsPlayPreview$1,setIsMuted,setVolume,setCurrentlyAt:setCurrentlyAt$1,setCurrentlyAtInSeconds:setCurrentlyAtInSeconds$1,addSegment,setAspectRatio:setAspectRatio$1,setHasChanges:setHasChanges$2,setWaveformImages,setThumbnails,setThumbnail,removeThumbnail,setLock,cut,moveCut,markAsDeletedOrAlive,setSelectedWorkflowIndex,mergeLeft,mergeRight,mergeAll,setPreviewTriggered:setPreviewTriggered$1,setClickTriggered:setClickTriggered$1,setTimelineZoom,timelineZoomIn,timelineZoomOut,setJumpTriggered,jumpToPreviousSegment,jumpToNextSegment}=videoSlice.actions,selectVideos=createSelector([$=>$.videoState.tracks],$=>$.filter(_e=>_e.video_stream.available===!0)),{selectIsPlaying:selectIsPlaying$1,selectIsPlayPreview:selectIsPlayPreview$1,selectIsMuted,selectVolume,selectPreviewTriggered:selectPreviewTriggered$1,selectClickTriggered:selectClickTriggered$1,selectJumpTriggered,selectCurrentlyAt:selectCurrentlyAt$1,selectCurrentlyAtInSeconds:selectCurrentlyAtInSeconds$1,selectSegments,selectActiveSegmentIndex,selectIsCurrentSegmentAlive,selectSelectedWorkflowId,selectHasChanges:selectHasChanges$2,selectTimelineZoom,selectTimelineZoomMax,selectWaveformImages,selectOriginalThumbnails,selectVideoURL,selectVideoCount,selectDuration,selectDurationInSeconds,selectTitle,selectTracks,selectWorkflows,selectAspectRatio:selectAspectRatio$1,selectSubtitlesFromOpencast,selectSubtitlesFromOpencastById}=videoSlice.selectors,videoReducer=videoSlice.reducer,initialState$5={status:"idle",error:void 0,errorReason:"unknown"},postVideoInformation=createAsyncThunk("video/postVideoInformation",async $=>{if(!settings.id)throw new Error("Missing media package id");return await client.post(`${settings.opencast.url}/editor/${settings.id}/edit.json`,{segments:convertSegments($.segments),tracks:$.tracks,subtitles:$.subtitles})}),workflowPostSlice=createSlice({name:"workflowPostState",initialState:initialState$5,reducers:{resetPostRequestState:$=>{$.status="idle"}},extraReducers:$=>{$.addCase(postVideoInformation.pending,(_e,et)=>{_e.status="loading"}),$.addCase(postVideoInformation.fulfilled,(_e,et)=>{_e.status="success"}),$.addCase(postVideoInformation.rejected,(_e,et)=>{_e.status="failed",_e.error=et.error.message})},selectors:{selectStatus:$=>$.status,selectError:$=>$.error}}),convertSegments=$=>{const _e=[];return $.forEach(et=>{_e.push({start:et.start,end:et.end,deleted:et.deleted,selected:!1})}),_e},{resetPostRequestState:resetPostRequestState$1}=workflowPostSlice.actions,{selectStatus:selectStatus$1,selectError:selectError$1}=workflowPostSlice.selectors,workflowPostReducer=workflowPostSlice.reducer,initialState$4={status:"idle",error:void 0,errorReason:"unknown"},postVideoInformationWithWorkflow=createAsyncThunk("video/postVideoInformationWithWorkflow",async $=>{if(!settings.id)throw new Error("Missing media package identifier");return await client.post(`${settings.opencast.url}/editor/${settings.id}/edit.json`,{segments:convertSegments($.segments),tracks:$.tracks,subtitles:$.subtitles,workflows:$.workflow})}),workflowPostAndProcessSlice=createSlice({name:"workflowPostAndProcessState",initialState:initialState$4,reducers:{},extraReducers:$=>{$.addCase(postVideoInformationWithWorkflow.pending,(_e,et)=>{_e.status="loading"}),$.addCase(postVideoInformationWithWorkflow.fulfilled,(_e,et)=>{_e.status="success"}),$.addCase(postVideoInformationWithWorkflow.rejected,(_e,et)=>{_e.status="failed",_e.error=et.error.message})},selectors:{selectStatus:$=>$.status,selectError:$=>$.error}}),{selectStatus,selectError}=workflowPostAndProcessSlice.selectors,workflowPostAndProcessReducer=workflowPostAndProcessSlice.reducer,initialState$3={end:!1,value:"success"},endSlice=createSlice({name:"endState",initialState:initialState$3,reducers:{setEnd:($,_e)=>{$.end=_e.payload.hasEnded,$.value=_e.payload.value}},selectors:{selectIsEnd:$=>$.end,selectEndState:$=>$.value}}),{setEnd}=endSlice.actions,{selectIsEnd,selectEndState}=endSlice.selectors,endReducer=endSlice.reducer,initialState$2={catalogs:[],hasChanges:!1,status:"idle",error:void 0,errorReason:"unknown",postStatus:"idle",postError:void 0,postErrorReason:"unknown"},fetchMetadata=createAsyncThunk("metadata/fetchMetadata",async()=>{if(!settings.id)throw new Error("Missing media package identifier");const $=await client.get(`${settings.opencast.url}/editor/${settings.id}/metadata.json`);return JSON.parse($)}),postMetadata=createAsyncThunk("metadata/postMetadata",async($,{getState:_e})=>{if(!settings.id)throw new Error("Missing media package identifier");const et=_e();await client.post(`${settings.opencast.url}/editor/${settings.id}/metadata.json`,et.metadataState.catalogs)}),metadataSlice=createSlice({name:"metadataState",initialState:initialState$2,reducers:{setFieldValue:($,_e)=>{$.catalogs[_e.payload.catalogIndex].fields[_e.payload.fieldIndex].value=_e.payload.value,$.hasChanges=!0},setFieldReadonly:($,_e)=>{$.catalogs[_e.payload.catalogIndex].fields[_e.payload.fieldIndex].readOnly=_e.payload.value},setHasChanges:($,_e)=>{$.hasChanges=_e.payload},resetPostRequestState:$=>{$.postStatus="idle"}},extraReducers:$=>{$.addCase(fetchMetadata.pending,(_e,et)=>{_e.status="loading"}),$.addCase(fetchMetadata.fulfilled,(_e,et)=>{_e.catalogs=et.payload,_e.status="success"}),$.addCase(fetchMetadata.rejected,(_e,et)=>{_e.status="failed",_e.error=et.error.message}),$.addCase(postMetadata.pending,(_e,et)=>{_e.postStatus="loading"}),$.addCase(postMetadata.fulfilled,(_e,et)=>{_e.postStatus="success"}),$.addCase(postMetadata.rejected,(_e,et)=>{_e.postStatus="failed",_e.postError=et.error.message})},selectors:{selectCatalogs:$=>$.catalogs,selectHasChanges:$=>$.hasChanges,selectGetStatus:$=>$.status,selectGetError:$=>$.error,selectPostStatus:$=>$.postStatus,selectPostError:$=>$.postError,selectTitleFromEpisodeDc:$=>{for(const _e of $.catalogs)if(_e.flavor==="dublincore/episode"){for(const et of _e.fields)if(et.id==="title")return et.value}}}}),{setFieldValue,setHasChanges:setHasChanges$1,setFieldReadonly,resetPostRequestState}=metadataSlice.actions,{selectCatalogs,selectHasChanges:selectHasChanges$1,selectGetStatus,selectGetError,selectPostStatus,selectPostError,selectTitleFromEpisodeDc}=metadataSlice.selectors,metadataReducer=metadataSlice.reducer,initialState$1={isDisplayEditView:!1,isPlaying:!1,isPlayPreview:!0,previewTriggered:!1,currentlyAt:0,clickTriggered:!1,subtitles:{},selectedSubtitleId:"",focusSegmentTriggered:!1,focusSegmentId:"",focusSegmentTriggered2:!1,aspectRatios:[],hasChanges:!1},updateCurrentlyAt=($,_e)=>{$.currentlyAt=roundToDecimalPlace(_e,0),$.currentlyAt<0&&($.currentlyAt=0)},subtitleSlice=createSlice({name:"subtitleState",initialState:initialState$1,reducers:{setIsDisplayEditView:($,_e)=>{$.isDisplayEditView=_e.payload},setIsPlaying:($,_e)=>{$.isPlaying=_e.payload},setIsPlayPreview:($,_e)=>{$.isPlayPreview=_e.payload},setPreviewTriggered:($,_e)=>{$.previewTriggered=_e.payload},setCurrentlyAt:($,_e)=>{updateCurrentlyAt($,_e.payload)},setCurrentlyAtInSeconds:($,_e)=>{updateCurrentlyAt($,roundToDecimalPlace(_e.payload*1e3,0))},setClickTriggered:($,_e)=>{$.clickTriggered=_e.payload},setSubtitle:($,_e)=>{$.subtitles[_e.payload.identifier]=_e.payload.subtitles},setCueAtIndex:($,_e)=>{if(_e.payload.cueIndex<0||_e.payload.cueIndex>=$.subtitles[_e.payload.identifier].cues.length){console.warn("Tried to set segment for subtitle "+_e.payload.identifier+" but was out of range");return}const et=$.subtitles[_e.payload.identifier].cues[_e.payload.cueIndex];et.id=_e.payload.newCue.id,et.idInternal=_e.payload.newCue.idInternal,et.text=_e.payload.newCue.text,et.startTime=Math.round(_e.payload.newCue.startTime),et.endTime=Math.round(_e.payload.newCue.endTime),et.tree.children.length<=0&&(et.tree.children[0]={type:"text",value:_e.payload.newCue.text}),et.tree.children[0].value=_e.payload.newCue.text,$.subtitles[_e.payload.identifier].cues[_e.payload.cueIndex]=et,sortSubtitle($,_e.payload.identifier),$.hasChanges=!0},addCueAtIndex:($,_e)=>{const et=_e.payload.startTime>=0?_e.payload.startTime:0,tt={id:void 0,idInternal:nanoid(),text:_e.payload.text,startTime:Math.round(et),endTime:Math.round(_e.payload.endTime),tree:{children:[{type:"text",value:_e.payload.text}]}};$.focusSegmentTriggered=!0,$.focusSegmentTriggered2=!0,$.focusSegmentId=tt.idInternal,_e.payload.cueIndex<0&&$.subtitles[_e.payload.identifier].cues.splice(0,0,tt),(_e.payload.cueIndex>=0||_e.payload.cueIndex<$.subtitles[_e.payload.identifier].cues.length)&&$.subtitles[_e.payload.identifier].cues.splice(_e.payload.cueIndex,0,tt),_e.payload.cueIndex>=$.subtitles[_e.payload.identifier].cues.length&&$.subtitles[_e.payload.identifier].cues.push(tt),sortSubtitle($,_e.payload.identifier),$.hasChanges=!0},removeCue:($,_e)=>{const et=$.subtitles[_e.payload.identifier].cues.findIndex(tt=>tt.idInternal===_e.payload.cue.idInternal);et>-1&&$.subtitles[_e.payload.identifier].cues.splice(et,1),sortSubtitle($,_e.payload.identifier),$.hasChanges=!0},setSelectedSubtitleId:($,_e)=>{$.selectedSubtitleId=_e.payload},setFocusSegmentTriggered:($,_e)=>{$.focusSegmentTriggered=_e.payload,$.focusSegmentTriggered2=_e.payload},setFocusSegmentId:($,_e)=>{$.focusSegmentId=_e.payload},setFocusSegmentTriggered2:($,_e)=>{$.focusSegmentTriggered2=_e.payload},setFocusToSegmentAboveId:($,_e)=>{let et=$.subtitles[_e.payload.identifier].cues.findIndex(tt=>tt.idInternal===_e.payload.segmentId);et=et-1,et<0&&(et=0),$.focusSegmentId=$.subtitles[_e.payload.identifier].cues[et].idInternal},setFocusToSegmentBelowId:($,_e)=>{let et=$.subtitles[_e.payload.identifier].cues.findIndex(tt=>tt.idInternal===_e.payload.segmentId);et=et+1,et>=$.subtitles[_e.payload.identifier].cues.length&&(et=$.subtitles[_e.payload.identifier].cues.length-1),$.focusSegmentId=$.subtitles[_e.payload.identifier].cues[et].idInternal},setAspectRatio:($,_e)=>{$.aspectRatios[_e.payload.dataKey]={width:_e.payload.width,height:_e.payload.height}},setHasChanges:($,_e)=>{$.hasChanges=_e.payload}},selectors:{selectIsDisplayEditView:$=>$.isDisplayEditView,selectIsPlaying:$=>$.isPlaying,selectIsPlayPreview:$=>$.isPlayPreview,selectPreviewTriggered:$=>$.previewTriggered,selectCurrentlyAt:$=>$.currentlyAt,selectCurrentlyAtInSeconds:$=>$.currentlyAt/1e3,selectClickTriggered:$=>$.clickTriggered,selectFocusSegmentTriggered:$=>$.focusSegmentTriggered,selectFocusSegmentId:$=>$.focusSegmentId,selectFocusSegmentTriggered2:$=>$.focusSegmentTriggered2,selectAspectRatio:()=>50,selectSubtitles:$=>$.subtitles,selectSelectedSubtitleId:$=>$.selectedSubtitleId,selectSelectedSubtitleById:$=>$.subtitles[$.selectedSubtitleId],selectHasChanges:$=>$.hasChanges}}),sortSubtitle=($,_e)=>{$.subtitles[_e].cues.sort((et,tt)=>et.startTime-tt.startTime)},{setIsDisplayEditView,setIsPlaying,setIsPlayPreview,setPreviewTriggered,setCurrentlyAt,setCurrentlyAtInSeconds,setClickTriggered,setSubtitle,setCueAtIndex,addCueAtIndex,removeCue,setSelectedSubtitleId,setFocusSegmentTriggered,setFocusSegmentId,setFocusSegmentTriggered2,setFocusToSegmentAboveId,setFocusToSegmentBelowId,setAspectRatio,setHasChanges}=subtitleSlice.actions,{selectIsDisplayEditView,selectIsPlaying,selectIsPlayPreview,selectPreviewTriggered,selectCurrentlyAt,selectCurrentlyAtInSeconds,selectClickTriggered,selectFocusSegmentTriggered,selectFocusSegmentId,selectFocusSegmentTriggered2,selectAspectRatio,selectSubtitles,selectSelectedSubtitleId,selectSelectedSubtitleById,selectHasChanges}=subtitleSlice.selectors,setCurrentlyAtAndTriggerPreview=createAsyncThunk("subtitleState/setCurrentlyAtAndTriggerPreview",async($,{getState:_e,dispatch:et})=>{$=roundToDecimalPlace($,0),$<0&&($=0);const tt=_e(),nt=tt.videoState.segments;let rt=!1;if(tt.subtitleState.isPlayPreview){for(let ot=0;ot$){if(nt[ot].deleted){$=nt[ot].end+1;for(let it=ot;it{$.error=_e.payload.error,$.errorTitle=_e.payload.errorTitle,$.errorMessage=_e.payload.errorMessage,$.errorDetails=_e.payload.errorDetails,$.errorIcon=_e.payload.errorIcon}},selectors:{selectIsError:$=>$.error,selectErrorTitle:$=>$.errorTitle,selectErrorMessage:$=>$.errorMessage,selectErrorDetails:$=>$.errorDetails,selectErrorIcon:$=>$.errorIcon}}),{setError}=errorSlice.actions,{selectIsError,selectErrorTitle,selectErrorMessage,selectErrorDetails,selectErrorIcon}=errorSlice.selectors,errorReducer=errorSlice.reducer;var withSelector={exports:{}},useSyncExternalStoreWithSelector_production_min={};/** + * @license React + * use-sync-external-store-with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var g$2=reactExports;function n$5($,_e){return $===_e&&($!==0||1/$===1/_e)||$!==$&&_e!==_e}var p$3=typeof Object.is=="function"?Object.is:n$5,q$2=g$2.useSyncExternalStore,r$6=g$2.useRef,t$3=g$2.useEffect,u$2=g$2.useMemo,v$2=g$2.useDebugValue;useSyncExternalStoreWithSelector_production_min.useSyncExternalStoreWithSelector=function($,_e,et,tt,nt){var rt=r$6(null);if(rt.current===null){var ot={hasValue:!1,value:null};rt.current=ot}else ot=rt.current;rt=u$2(function(){function st(pt){if(!at){if(at=!0,ut=pt,pt=tt(pt),nt!==void 0&&ot.hasValue){var ht=ot.value;if(nt(ht,pt))return ft=ht}return ft=pt}if(ht=ft,p$3(ut,pt))return ht;var gt=tt(pt);return nt!==void 0&&nt(ht,gt)?ht:(ut=pt,ft=gt)}var at=!1,ut,ft,dt=et===void 0?null:et;return[function(){return st(_e())},dt===null?void 0:function(){return st(dt())}]},[_e,et,tt,nt]);var it=q$2($,rt[0],rt[1]);return t$3(function(){ot.hasValue=!0,ot.value=it},[it]),v$2(it),it};withSelector.exports=useSyncExternalStoreWithSelector_production_min;var withSelectorExports=withSelector.exports,React$6="default"in React$8?React$7:React$8,ContextKey=Symbol.for("react-redux-context"),gT=typeof globalThis<"u"?globalThis:{};function getContext(){if(!React$6.createContext)return{};const $=gT[ContextKey]??(gT[ContextKey]=new Map);let _e=$.get(React$6.createContext);return _e||(_e=React$6.createContext(null),$.set(React$6.createContext,_e)),_e}var ReactReduxContext=getContext(),notInitialized=()=>{throw new Error("uSES not initialized!")};function createReduxContextHook($=ReactReduxContext){return function(){return React$6.useContext($)}}var useReduxContext=createReduxContextHook(),useSyncExternalStoreWithSelector=notInitialized,initializeUseSelector=$=>{useSyncExternalStoreWithSelector=$},refEquality=($,_e)=>$===_e;function createSelectorHook($=ReactReduxContext){const _e=$===ReactReduxContext?useReduxContext:createReduxContextHook($),et=(tt,nt={})=>{const{equalityFn:rt=refEquality,devModeChecks:ot={}}=typeof nt=="function"?{equalityFn:nt}:nt,{store:it,subscription:st,getServerState:at,stabilityCheck:ut,identityFunctionCheck:ft}=_e();React$6.useRef(!0);const dt=React$6.useCallback({[tt.name](ht){return tt(ht)}}[tt.name],[tt,ut,ot.stabilityCheck]),pt=useSyncExternalStoreWithSelector(st.addNestedSub,it.getState,at||it.getState,dt,rt);return React$6.useDebugValue(pt),pt};return Object.assign(et,{withTypes:()=>et}),et}var useSelector=createSelectorHook();function defaultNoopBatch($){$()}function createListenerCollection(){let $=null,_e=null;return{clear(){$=null,_e=null},notify(){defaultNoopBatch(()=>{let et=$;for(;et;)et.callback(),et=et.next})},get(){const et=[];let tt=$;for(;tt;)et.push(tt),tt=tt.next;return et},subscribe(et){let tt=!0;const nt=_e={callback:et,next:null,prev:_e};return nt.prev?nt.prev.next=nt:$=nt,function(){!tt||$===null||(tt=!1,nt.next?nt.next.prev=nt.prev:_e=nt.prev,nt.prev?nt.prev.next=nt.next:$=nt.next)}}}}var nullListeners={notify(){},get:()=>[]};function createSubscription($,_e){let et,tt=nullListeners,nt=0,rt=!1;function ot(gt){ut();const yt=tt.subscribe(gt);let vt=!1;return()=>{vt||(vt=!0,yt(),ft())}}function it(){tt.notify()}function st(){ht.onStateChange&&ht.onStateChange()}function at(){return rt}function ut(){nt++,et||(et=$.subscribe(st),tt=createListenerCollection())}function ft(){nt--,et&&nt===0&&(et(),et=void 0,tt.clear(),tt=nullListeners)}function dt(){rt||(rt=!0,ut())}function pt(){rt&&(rt=!1,ft())}const ht={addNestedSub:ot,notifyNestedSubs:it,handleChangeWrapper:st,isSubscribed:at,trySubscribe:dt,tryUnsubscribe:pt,getListeners:()=>tt};return ht}var canUseDOM$1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",isReactNative$1=typeof navigator<"u"&&navigator.product==="ReactNative",useIsomorphicLayoutEffect=canUseDOM$1||isReactNative$1?React$6.useLayoutEffect:React$6.useEffect;function is($,_e){return $===_e?$!==0||_e!==0||1/$===1/_e:$!==$&&_e!==_e}function shallowEqual$2($,_e){if(is($,_e))return!0;if(typeof $!="object"||$===null||typeof _e!="object"||_e===null)return!1;const et=Object.keys($),tt=Object.keys(_e);if(et.length!==tt.length)return!1;for(let nt=0;nt{const at=createSubscription($);return{store:$,subscription:at,getServerState:tt?()=>tt:void 0,stabilityCheck:nt,identityFunctionCheck:rt}},[$,tt,nt,rt]),it=React$6.useMemo(()=>$.getState(),[$]);useIsomorphicLayoutEffect(()=>{const{subscription:at}=ot;return at.onStateChange=at.notifyNestedSubs,at.trySubscribe(),it!==$.getState()&&at.notifyNestedSubs(),()=>{at.tryUnsubscribe(),at.onStateChange=void 0}},[ot,it]);const st=_e||ReactReduxContext;return React$6.createElement(st.Provider,{value:ot},et)}var Provider_default=Provider;function createStoreHook($=ReactReduxContext){const _e=$===ReactReduxContext?useReduxContext:createReduxContextHook($),et=()=>{const{store:tt}=_e();return tt};return Object.assign(et,{withTypes:()=>et}),et}var useStore=createStoreHook();function createDispatchHook($=ReactReduxContext){const _e=$===ReactReduxContext?useStore:createStoreHook($),et=()=>_e().dispatch;return Object.assign(et,{withTypes:()=>et}),et}var useDispatch=createDispatchHook();initializeUseSelector(withSelectorExports.useSyncExternalStoreWithSelector);const store=configureStore({reducer:{mainMenuState:mainMenuStateReducer,finishState:finishStateReducer,videoState:videoReducer,workflowPostState:workflowPostReducer,workflowPostAndProcessState:workflowPostAndProcessReducer,endState:endReducer,metadataState:metadataReducer,subtitleState:subtitleReducer,errorState:errorReducer}}),useAppDispatch=useDispatch,useAppSelector=useSelector;var dist={};const require$$0=getAugmentedNamespace(emotionReact_browser_esm);(function($){Object.defineProperty($,"__esModule",{value:!0}),$.default=void 0;var _e=require$$0;function et(){var ot=tt([` +html { + line-height: 1.15; + -webkit-text-size-adjust: 100%; +} +body { + margin: 0; +} +main { + display: block; +} +h1 { + font-size: 2em; + margin: 0.67em 0; +} +hr { + box-sizing: content-box; + height: 0; + overflow: visible; +} +pre { + font-family: monospace, monospace; + font-size: 1em; +} +a { + background-color: transparent; +} +abbr[title] { + border-bottom: none; + text-decoration: underline; + text-decoration: underline dotted; +} +b, +strong { + font-weight: bolder; +} +code, +kbd, +samp { + font-family: monospace, monospace; + font-size: 1em; +} +small { + font-size: 80%; +} +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} +sub { + bottom: -0.25em; +} +sup { + top: -0.5em; +} +img { + border-style: none; +} +button, +input, +optgroup, +select, +textarea { + font-family: inherit; + font-size: 100%; + line-height: 1.15; + margin: 0; +} +button, +input { + overflow: visible; +} +button, +select { + text-transform: none; +} +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} +fieldset { + padding: 0.35em 0.75em 0.625em; +} +legend { + box-sizing: border-box; + color: inherit; + display: table; + max-width: 100%; + padding: 0; + white-space: normal; +} +progress { + vertical-align: baseline; +} +textarea { + overflow: auto; +} +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; + padding: 0; +} +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} +[type="search"] { + -webkit-appearance: textfield; + outline-offset: -2px; +} +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} +::-webkit-file-upload-button { + -webkit-appearance: button; + font: inherit; +} +details { + display: block; +} +summary { + display: list-item; +} +template { + display: none; +} +[hidden] { + display: none; +} +`]);return et=function(){return ot},ot}function tt(ot,it){return it||(it=ot.slice(0)),Object.freeze(Object.defineProperties(ot,{raw:{value:Object.freeze(it)}}))}var nt=(0,_e.css)(et()),rt=nt;$.default=rt})(dist);const emotionNormalize=getDefaultExportFromCjs(dist);function formatMuiErrorMessage$1($){let _e="https://mui.com/production-error/?code="+$;for(let et=1;et=0)continue;et[tt]=$[tt]}return et}var reactPropsRegex=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,isPropValid=memoize$2(function($){return reactPropsRegex.test($)||$.charCodeAt(0)===111&&$.charCodeAt(1)===110&&$.charCodeAt(2)<91}),testOmitPropsOnStringTag=isPropValid,testOmitPropsOnComponent=function $(_e){return _e!=="theme"},getDefaultShouldForwardProp=function $(_e){return typeof _e=="string"&&_e.charCodeAt(0)>96?testOmitPropsOnStringTag:testOmitPropsOnComponent},composeShouldForwardProps=function $(_e,et,tt){var nt;if(et){var rt=et.shouldForwardProp;nt=_e.__emotion_forwardProp&&rt?function(ot){return _e.__emotion_forwardProp(ot)&&rt(ot)}:rt}return typeof nt!="function"&&tt&&(nt=_e.__emotion_forwardProp),nt},Insertion=function $(_e){var et=_e.cache,tt=_e.serialized,nt=_e.isStringTag;return registerStyles(et,tt,nt),useInsertionEffectAlwaysWithSyncFallback(function(){return insertStyles(et,tt,nt)}),null},createStyled$3=function $(_e,et){var tt=_e.__emotion_real===_e,nt=tt&&_e.__emotion_base||_e,rt,ot;et!==void 0&&(rt=et.label,ot=et.target);var it=composeShouldForwardProps(_e,et,tt),st=it||getDefaultShouldForwardProp(nt),at=!st("as");return function(){var ut=arguments,ft=tt&&_e.__emotion_styles!==void 0?_e.__emotion_styles.slice(0):[];if(rt!==void 0&&ft.push("label:"+rt+";"),ut[0]==null||ut[0].raw===void 0)ft.push.apply(ft,ut);else{ft.push(ut[0][0]);for(var dt=ut.length,pt=1;pt_e(isEmpty$4(nt)?et:nt):_e;return jsxRuntimeExports.jsx(Global,{styles:tt})}function styled$2($,_e){return newStyled($,_e)}const internal_processStyles=($,_e)=>{Array.isArray($.__emotion_styles)&&($.__emotion_styles=_e($.__emotion_styles))},styledEngine=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:GlobalStyles$2,StyledEngineProvider,ThemeContext:ThemeContext$1,css:css$2,default:styled$2,internal_processStyles,keyframes},Symbol.toStringTag,{value:"Module"}));function isPlainObject($){if(typeof $!="object"||$===null)return!1;const _e=Object.getPrototypeOf($);return(_e===null||_e===Object.prototype||Object.getPrototypeOf(_e)===null)&&!(Symbol.toStringTag in $)&&!(Symbol.iterator in $)}function deepClone($){if(!isPlainObject($))return $;const _e={};return Object.keys($).forEach(et=>{_e[et]=deepClone($[et])}),_e}function deepmerge$1($,_e,et={clone:!0}){const tt=et.clone?_extends$6({},$):$;return isPlainObject($)&&isPlainObject(_e)&&Object.keys(_e).forEach(nt=>{isPlainObject(_e[nt])&&Object.prototype.hasOwnProperty.call($,nt)&&isPlainObject($[nt])?tt[nt]=deepmerge$1($[nt],_e[nt],et):et.clone?tt[nt]=isPlainObject(_e[nt])?deepClone(_e[nt]):_e[nt]:tt[nt]=_e[nt]}),tt}const deepmerge=Object.freeze(Object.defineProperty({__proto__:null,default:deepmerge$1,isPlainObject},Symbol.toStringTag,{value:"Module"})),_excluded$U=["values","unit","step"],sortBreakpointsValues=$=>{const _e=Object.keys($).map(et=>({key:et,val:$[et]}))||[];return _e.sort((et,tt)=>et.val-tt.val),_e.reduce((et,tt)=>_extends$6({},et,{[tt.key]:tt.val}),{})};function createBreakpoints($){const{values:_e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:et="px",step:tt=5}=$,nt=_objectWithoutPropertiesLoose$4($,_excluded$U),rt=sortBreakpointsValues(_e),ot=Object.keys(rt);function it(dt){return`@media (min-width:${typeof _e[dt]=="number"?_e[dt]:dt}${et})`}function st(dt){return`@media (max-width:${(typeof _e[dt]=="number"?_e[dt]:dt)-tt/100}${et})`}function at(dt,pt){const ht=ot.indexOf(pt);return`@media (min-width:${typeof _e[dt]=="number"?_e[dt]:dt}${et}) and (max-width:${(ht!==-1&&typeof _e[ot[ht]]=="number"?_e[ot[ht]]:pt)-tt/100}${et})`}function ut(dt){return ot.indexOf(dt)+1`@media (min-width:${values$1[$]}px)`};function handleBreakpoints($,_e,et){const tt=$.theme||{};if(Array.isArray(_e)){const rt=tt.breakpoints||defaultBreakpoints;return _e.reduce((ot,it,st)=>(ot[rt.up(rt.keys[st])]=et(_e[st]),ot),{})}if(typeof _e=="object"){const rt=tt.breakpoints||defaultBreakpoints;return Object.keys(_e).reduce((ot,it)=>{if(Object.keys(rt.values||values$1).indexOf(it)!==-1){const st=rt.up(it);ot[st]=et(_e[it],it)}else{const st=it;ot[st]=_e[st]}return ot},{})}return et(_e)}function createEmptyBreakpointObject($={}){var _e;return((_e=$.keys)==null?void 0:_e.reduce((tt,nt)=>{const rt=$.up(nt);return tt[rt]={},tt},{}))||{}}function removeUnusedBreakpoints($,_e){return $.reduce((et,tt)=>{const nt=et[tt];return(!nt||Object.keys(nt).length===0)&&delete et[tt],et},_e)}function mergeBreakpointsInOrder($,..._e){const et=createEmptyBreakpointObject($),tt=[et,..._e].reduce((nt,rt)=>deepmerge$1(nt,rt),{});return removeUnusedBreakpoints(Object.keys(et),tt)}function computeBreakpointsBase($,_e){if(typeof $!="object")return{};const et={},tt=Object.keys(_e);return Array.isArray($)?tt.forEach((nt,rt)=>{rt<$.length&&(et[nt]=!0)}):tt.forEach(nt=>{$[nt]!=null&&(et[nt]=!0)}),et}function resolveBreakpointValues({values:$,breakpoints:_e,base:et}){const tt=et||computeBreakpointsBase($,_e),nt=Object.keys(tt);if(nt.length===0)return $;let rt;return nt.reduce((ot,it,st)=>(Array.isArray($)?(ot[it]=$[st]!=null?$[st]:$[rt],rt=st):typeof $=="object"?(ot[it]=$[it]!=null?$[it]:$[rt],rt=it):ot[it]=$,ot),{})}function capitalize$2($){if(typeof $!="string")throw new Error(formatMuiErrorMessage$1(7));return $.charAt(0).toUpperCase()+$.slice(1)}const capitalize$1=Object.freeze(Object.defineProperty({__proto__:null,default:capitalize$2},Symbol.toStringTag,{value:"Module"}));function getPath$1($,_e,et=!0){if(!_e||typeof _e!="string")return null;if($&&$.vars&&et){const tt=`vars.${_e}`.split(".").reduce((nt,rt)=>nt&&nt[rt]?nt[rt]:null,$);if(tt!=null)return tt}return _e.split(".").reduce((tt,nt)=>tt&&tt[nt]!=null?tt[nt]:null,$)}function getStyleValue$1($,_e,et,tt=et){let nt;return typeof $=="function"?nt=$(et):Array.isArray($)?nt=$[et]||tt:nt=getPath$1($,et)||tt,_e&&(nt=_e(nt,tt,$)),nt}function style$2($){const{prop:_e,cssProperty:et=$.prop,themeKey:tt,transform:nt}=$,rt=ot=>{if(ot[_e]==null)return null;const it=ot[_e],st=ot.theme,at=getPath$1(st,tt)||{};return handleBreakpoints(ot,it,ft=>{let dt=getStyleValue$1(at,nt,ft);return ft===dt&&typeof ft=="string"&&(dt=getStyleValue$1(at,nt,`${_e}${ft==="default"?"":capitalize$2(ft)}`,ft)),et===!1?dt:{[et]:dt}})};return rt.propTypes={},rt.filterProps=[_e],rt}function memoize$1($){const _e={};return et=>(_e[et]===void 0&&(_e[et]=$(et)),_e[et])}const properties={m:"margin",p:"padding"},directions={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},aliases={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},getCssProperties=memoize$1($=>{if($.length>2)if(aliases[$])$=aliases[$];else return[$];const[_e,et]=$.split(""),tt=properties[_e],nt=directions[et]||"";return Array.isArray(nt)?nt.map(rt=>tt+rt):[tt+nt]}),marginKeys=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],paddingKeys=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...marginKeys,...paddingKeys];function createUnaryUnit($,_e,et,tt){var nt;const rt=(nt=getPath$1($,_e,!1))!=null?nt:et;return typeof rt=="number"?ot=>typeof ot=="string"?ot:rt*ot:Array.isArray(rt)?ot=>typeof ot=="string"?ot:rt[ot]:typeof rt=="function"?rt:()=>{}}function createUnarySpacing($){return createUnaryUnit($,"spacing",8)}function getValue$1($,_e){if(typeof _e=="string"||_e==null)return _e;const et=Math.abs(_e),tt=$(et);return _e>=0?tt:typeof tt=="number"?-tt:`-${tt}`}function getStyleFromPropValue($,_e){return et=>$.reduce((tt,nt)=>(tt[nt]=getValue$1(_e,et),tt),{})}function resolveCssProperty($,_e,et,tt){if(_e.indexOf(et)===-1)return null;const nt=getCssProperties(et),rt=getStyleFromPropValue(nt,tt),ot=$[et];return handleBreakpoints($,ot,rt)}function style$1($,_e){const et=createUnarySpacing($.theme);return Object.keys($).map(tt=>resolveCssProperty($,_e,tt,et)).reduce(merge,{})}function margin($){return style$1($,marginKeys)}margin.propTypes={};margin.filterProps=marginKeys;function padding($){return style$1($,paddingKeys)}padding.propTypes={};padding.filterProps=paddingKeys;function createSpacing($=8){if($.mui)return $;const _e=createUnarySpacing({spacing:$}),et=(...tt)=>(tt.length===0?[1]:tt).map(rt=>{const ot=_e(rt);return typeof ot=="number"?`${ot}px`:ot}).join(" ");return et.mui=!0,et}function compose(...$){const _e=$.reduce((tt,nt)=>(nt.filterProps.forEach(rt=>{tt[rt]=nt}),tt),{}),et=tt=>Object.keys(tt).reduce((nt,rt)=>_e[rt]?merge(nt,_e[rt](tt)):nt,{});return et.propTypes={},et.filterProps=$.reduce((tt,nt)=>tt.concat(nt.filterProps),[]),et}function borderTransform($){return typeof $!="number"?$:`${$}px solid`}function createBorderStyle($,_e){return style$2({prop:$,themeKey:"borders",transform:_e})}const border=createBorderStyle("border",borderTransform),borderTop=createBorderStyle("borderTop",borderTransform),borderRight=createBorderStyle("borderRight",borderTransform),borderBottom=createBorderStyle("borderBottom",borderTransform),borderLeft=createBorderStyle("borderLeft",borderTransform),borderColor=createBorderStyle("borderColor"),borderTopColor=createBorderStyle("borderTopColor"),borderRightColor=createBorderStyle("borderRightColor"),borderBottomColor=createBorderStyle("borderBottomColor"),borderLeftColor=createBorderStyle("borderLeftColor"),outline=createBorderStyle("outline",borderTransform),outlineColor=createBorderStyle("outlineColor"),borderRadius$1=$=>{if($.borderRadius!==void 0&&$.borderRadius!==null){const _e=createUnaryUnit($.theme,"shape.borderRadius",4),et=tt=>({borderRadius:getValue$1(_e,tt)});return handleBreakpoints($,$.borderRadius,et)}return null};borderRadius$1.propTypes={};borderRadius$1.filterProps=["borderRadius"];compose(border,borderTop,borderRight,borderBottom,borderLeft,borderColor,borderTopColor,borderRightColor,borderBottomColor,borderLeftColor,borderRadius$1,outline,outlineColor);const gap=$=>{if($.gap!==void 0&&$.gap!==null){const _e=createUnaryUnit($.theme,"spacing",8),et=tt=>({gap:getValue$1(_e,tt)});return handleBreakpoints($,$.gap,et)}return null};gap.propTypes={};gap.filterProps=["gap"];const columnGap=$=>{if($.columnGap!==void 0&&$.columnGap!==null){const _e=createUnaryUnit($.theme,"spacing",8),et=tt=>({columnGap:getValue$1(_e,tt)});return handleBreakpoints($,$.columnGap,et)}return null};columnGap.propTypes={};columnGap.filterProps=["columnGap"];const rowGap=$=>{if($.rowGap!==void 0&&$.rowGap!==null){const _e=createUnaryUnit($.theme,"spacing",8),et=tt=>({rowGap:getValue$1(_e,tt)});return handleBreakpoints($,$.rowGap,et)}return null};rowGap.propTypes={};rowGap.filterProps=["rowGap"];const gridColumn=style$2({prop:"gridColumn"}),gridRow=style$2({prop:"gridRow"}),gridAutoFlow=style$2({prop:"gridAutoFlow"}),gridAutoColumns=style$2({prop:"gridAutoColumns"}),gridAutoRows=style$2({prop:"gridAutoRows"}),gridTemplateColumns=style$2({prop:"gridTemplateColumns"}),gridTemplateRows=style$2({prop:"gridTemplateRows"}),gridTemplateAreas=style$2({prop:"gridTemplateAreas"}),gridArea=style$2({prop:"gridArea"});compose(gap,columnGap,rowGap,gridColumn,gridRow,gridAutoFlow,gridAutoColumns,gridAutoRows,gridTemplateColumns,gridTemplateRows,gridTemplateAreas,gridArea);function paletteTransform($,_e){return _e==="grey"?_e:$}const color=style$2({prop:"color",themeKey:"palette",transform:paletteTransform}),bgcolor=style$2({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:paletteTransform}),backgroundColor=style$2({prop:"backgroundColor",themeKey:"palette",transform:paletteTransform});compose(color,bgcolor,backgroundColor);function sizingTransform($){return $<=1&&$!==0?`${$*100}%`:$}const width=style$2({prop:"width",transform:sizingTransform}),maxWidth=$=>{if($.maxWidth!==void 0&&$.maxWidth!==null){const _e=et=>{var tt,nt;const rt=((tt=$.theme)==null||(tt=tt.breakpoints)==null||(tt=tt.values)==null?void 0:tt[et])||values$1[et];return rt?((nt=$.theme)==null||(nt=nt.breakpoints)==null?void 0:nt.unit)!=="px"?{maxWidth:`${rt}${$.theme.breakpoints.unit}`}:{maxWidth:rt}:{maxWidth:sizingTransform(et)}};return handleBreakpoints($,$.maxWidth,_e)}return null};maxWidth.filterProps=["maxWidth"];const minWidth=style$2({prop:"minWidth",transform:sizingTransform}),height=style$2({prop:"height",transform:sizingTransform}),maxHeight=style$2({prop:"maxHeight",transform:sizingTransform}),minHeight=style$2({prop:"minHeight",transform:sizingTransform});style$2({prop:"size",cssProperty:"width",transform:sizingTransform});style$2({prop:"size",cssProperty:"height",transform:sizingTransform});const boxSizing=style$2({prop:"boxSizing"});compose(width,maxWidth,minWidth,height,maxHeight,minHeight,boxSizing);const defaultSxConfig={border:{themeKey:"borders",transform:borderTransform},borderTop:{themeKey:"borders",transform:borderTransform},borderRight:{themeKey:"borders",transform:borderTransform},borderBottom:{themeKey:"borders",transform:borderTransform},borderLeft:{themeKey:"borders",transform:borderTransform},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:borderTransform},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:borderRadius$1},color:{themeKey:"palette",transform:paletteTransform},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:paletteTransform},backgroundColor:{themeKey:"palette",transform:paletteTransform},p:{style:padding},pt:{style:padding},pr:{style:padding},pb:{style:padding},pl:{style:padding},px:{style:padding},py:{style:padding},padding:{style:padding},paddingTop:{style:padding},paddingRight:{style:padding},paddingBottom:{style:padding},paddingLeft:{style:padding},paddingX:{style:padding},paddingY:{style:padding},paddingInline:{style:padding},paddingInlineStart:{style:padding},paddingInlineEnd:{style:padding},paddingBlock:{style:padding},paddingBlockStart:{style:padding},paddingBlockEnd:{style:padding},m:{style:margin},mt:{style:margin},mr:{style:margin},mb:{style:margin},ml:{style:margin},mx:{style:margin},my:{style:margin},margin:{style:margin},marginTop:{style:margin},marginRight:{style:margin},marginBottom:{style:margin},marginLeft:{style:margin},marginX:{style:margin},marginY:{style:margin},marginInline:{style:margin},marginInlineStart:{style:margin},marginInlineEnd:{style:margin},marginBlock:{style:margin},marginBlockStart:{style:margin},marginBlockEnd:{style:margin},displayPrint:{cssProperty:!1,transform:$=>({"@media print":{display:$}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:gap},rowGap:{style:rowGap},columnGap:{style:columnGap},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:sizingTransform},maxWidth:{style:maxWidth},minWidth:{transform:sizingTransform},height:{transform:sizingTransform},maxHeight:{transform:sizingTransform},minHeight:{transform:sizingTransform},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function objectsHaveSameKeys(...$){const _e=$.reduce((tt,nt)=>tt.concat(Object.keys(nt)),[]),et=new Set(_e);return $.every(tt=>et.size===Object.keys(tt).length)}function callIfFn($,_e){return typeof $=="function"?$(_e):$}function unstable_createStyleFunctionSx(){function $(et,tt,nt,rt){const ot={[et]:tt,theme:nt},it=rt[et];if(!it)return{[et]:tt};const{cssProperty:st=et,themeKey:at,transform:ut,style:ft}=it;if(tt==null)return null;if(at==="typography"&&tt==="inherit")return{[et]:tt};const dt=getPath$1(nt,at)||{};return ft?ft(ot):handleBreakpoints(ot,tt,ht=>{let gt=getStyleValue$1(dt,ut,ht);return ht===gt&&typeof ht=="string"&&(gt=getStyleValue$1(dt,ut,`${et}${ht==="default"?"":capitalize$2(ht)}`,ht)),st===!1?gt:{[st]:gt}})}function _e(et){var tt;const{sx:nt,theme:rt={}}=et||{};if(!nt)return null;const ot=(tt=rt.unstable_sxConfig)!=null?tt:defaultSxConfig;function it(st){let at=st;if(typeof st=="function")at=st(rt);else if(typeof st!="object")return st;if(!at)return null;const ut=createEmptyBreakpointObject(rt.breakpoints),ft=Object.keys(ut);let dt=ut;return Object.keys(at).forEach(pt=>{const ht=callIfFn(at[pt],rt);if(ht!=null)if(typeof ht=="object")if(ot[pt])dt=merge(dt,$(pt,ht,rt,ot));else{const gt=handleBreakpoints({theme:rt},ht,yt=>({[pt]:yt}));objectsHaveSameKeys(gt,ht)?dt[pt]=_e({sx:ht,theme:rt}):dt=merge(dt,gt)}else dt=merge(dt,$(pt,ht,rt,ot))}),removeUnusedBreakpoints(ft,dt)}return Array.isArray(nt)?nt.map(it):it(nt)}return _e}const styleFunctionSx$1=unstable_createStyleFunctionSx();styleFunctionSx$1.filterProps=["sx"];function applyStyles$2($,_e){const et=this;return et.vars&&typeof et.getColorSchemeSelector=="function"?{[et.getColorSchemeSelector($).replace(/(\[[^\]]+\])/,"*:where($1)")]:_e}:et.palette.mode===$?_e:{}}const _excluded$T=["breakpoints","palette","spacing","shape"];function createTheme$2($={},..._e){const{breakpoints:et={},palette:tt={},spacing:nt,shape:rt={}}=$,ot=_objectWithoutPropertiesLoose$4($,_excluded$T),it=createBreakpoints(et),st=createSpacing(nt);let at=deepmerge$1({breakpoints:it,direction:"ltr",components:{},palette:_extends$6({mode:"light"},tt),spacing:st,shape:_extends$6({},shape$1,rt)},ot);return at.applyStyles=applyStyles$2,at=_e.reduce((ut,ft)=>deepmerge$1(ut,ft),at),at.unstable_sxConfig=_extends$6({},defaultSxConfig,ot==null?void 0:ot.unstable_sxConfig),at.unstable_sx=function(ft){return styleFunctionSx$1({sx:ft,theme:this})},at}const createTheme$1=Object.freeze(Object.defineProperty({__proto__:null,default:createTheme$2,private_createBreakpoints:createBreakpoints,unstable_applyStyles:applyStyles$2},Symbol.toStringTag,{value:"Module"}));function isObjectEmpty$1($){return Object.keys($).length===0}function useTheme$5($=null){const _e=reactExports.useContext(ThemeContext$1);return!_e||isObjectEmpty$1(_e)?$:_e}const systemDefaultTheme$2=createTheme$2();function useTheme$4($=systemDefaultTheme$2){return useTheme$5($)}function GlobalStyles$1({styles:$,themeId:_e,defaultTheme:et={}}){const tt=useTheme$4(et),nt=typeof $=="function"?$(_e&&tt[_e]||tt):$;return jsxRuntimeExports.jsx(GlobalStyles$2,{styles:nt})}const _excluded$S=["sx"],splitProps=$=>{var _e,et;const tt={systemProps:{},otherProps:{}},nt=(_e=$==null||(et=$.theme)==null?void 0:et.unstable_sxConfig)!=null?_e:defaultSxConfig;return Object.keys($).forEach(rt=>{nt[rt]?tt.systemProps[rt]=$[rt]:tt.otherProps[rt]=$[rt]}),tt};function extendSxProp($){const{sx:_e}=$,et=_objectWithoutPropertiesLoose$4($,_excluded$S),{systemProps:tt,otherProps:nt}=splitProps(et);let rt;return Array.isArray(_e)?rt=[tt,..._e]:typeof _e=="function"?rt=(...ot)=>{const it=_e(...ot);return isPlainObject(it)?_extends$6({},tt,it):tt}:rt=_extends$6({},tt,_e),_extends$6({},nt,{sx:rt})}const styleFunctionSx=Object.freeze(Object.defineProperty({__proto__:null,default:styleFunctionSx$1,extendSxProp,unstable_createStyleFunctionSx,unstable_defaultSxConfig:defaultSxConfig},Symbol.toStringTag,{value:"Module"})),defaultGenerator=$=>$,createClassNameGenerator=()=>{let $=defaultGenerator;return{configure(_e){$=_e},generate(_e){return $(_e)},reset(){$=defaultGenerator}}},ClassNameGenerator=createClassNameGenerator();function r$5($){var _e,et,tt="";if(typeof $=="string"||typeof $=="number")tt+=$;else if(typeof $=="object")if(Array.isArray($)){var nt=$.length;for(_e=0;_e{tt[nt]=generateUtilityClass$1($,nt,et)}),tt}var reactIs={exports:{}},reactIs_production_min$1={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var b$1=Symbol.for("react.element"),c$3=Symbol.for("react.portal"),d$1=Symbol.for("react.fragment"),e$2=Symbol.for("react.strict_mode"),f$1=Symbol.for("react.profiler"),g$1=Symbol.for("react.provider"),h$1=Symbol.for("react.context"),k$1=Symbol.for("react.server_context"),l$4=Symbol.for("react.forward_ref"),m$1=Symbol.for("react.suspense"),n$4=Symbol.for("react.suspense_list"),p$2=Symbol.for("react.memo"),q$1=Symbol.for("react.lazy"),t$2=Symbol.for("react.offscreen"),u$1;u$1=Symbol.for("react.module.reference");function v$1($){if(typeof $=="object"&&$!==null){var _e=$.$$typeof;switch(_e){case b$1:switch($=$.type,$){case d$1:case f$1:case e$2:case m$1:case n$4:return $;default:switch($=$&&$.$$typeof,$){case k$1:case h$1:case l$4:case q$1:case p$2:case g$1:return $;default:return _e}}case c$3:return _e}}}reactIs_production_min$1.ContextConsumer=h$1;reactIs_production_min$1.ContextProvider=g$1;reactIs_production_min$1.Element=b$1;reactIs_production_min$1.ForwardRef=l$4;reactIs_production_min$1.Fragment=d$1;reactIs_production_min$1.Lazy=q$1;reactIs_production_min$1.Memo=p$2;reactIs_production_min$1.Portal=c$3;reactIs_production_min$1.Profiler=f$1;reactIs_production_min$1.StrictMode=e$2;reactIs_production_min$1.Suspense=m$1;reactIs_production_min$1.SuspenseList=n$4;reactIs_production_min$1.isAsyncMode=function(){return!1};reactIs_production_min$1.isConcurrentMode=function(){return!1};reactIs_production_min$1.isContextConsumer=function($){return v$1($)===h$1};reactIs_production_min$1.isContextProvider=function($){return v$1($)===g$1};reactIs_production_min$1.isElement=function($){return typeof $=="object"&&$!==null&&$.$$typeof===b$1};reactIs_production_min$1.isForwardRef=function($){return v$1($)===l$4};reactIs_production_min$1.isFragment=function($){return v$1($)===d$1};reactIs_production_min$1.isLazy=function($){return v$1($)===q$1};reactIs_production_min$1.isMemo=function($){return v$1($)===p$2};reactIs_production_min$1.isPortal=function($){return v$1($)===c$3};reactIs_production_min$1.isProfiler=function($){return v$1($)===f$1};reactIs_production_min$1.isStrictMode=function($){return v$1($)===e$2};reactIs_production_min$1.isSuspense=function($){return v$1($)===m$1};reactIs_production_min$1.isSuspenseList=function($){return v$1($)===n$4};reactIs_production_min$1.isValidElementType=function($){return typeof $=="string"||typeof $=="function"||$===d$1||$===f$1||$===e$2||$===m$1||$===n$4||$===t$2||typeof $=="object"&&$!==null&&($.$$typeof===q$1||$.$$typeof===p$2||$.$$typeof===g$1||$.$$typeof===h$1||$.$$typeof===l$4||$.$$typeof===u$1||$.getModuleId!==void 0)};reactIs_production_min$1.typeOf=v$1;reactIs.exports=reactIs_production_min$1;var reactIsExports=reactIs.exports;const fnNameMatchRegex=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function getFunctionName($){const _e=`${$}`.match(fnNameMatchRegex);return _e&&_e[1]||""}function getFunctionComponentName($,_e=""){return $.displayName||$.name||getFunctionName($)||_e}function getWrappedName($,_e,et){const tt=getFunctionComponentName(_e);return $.displayName||(tt!==""?`${et}(${tt})`:et)}function getDisplayName$1($){if($!=null){if(typeof $=="string")return $;if(typeof $=="function")return getFunctionComponentName($,"Component");if(typeof $=="object")switch($.$$typeof){case reactIsExports.ForwardRef:return getWrappedName($,$.render,"ForwardRef");case reactIsExports.Memo:return getWrappedName($,$.type,"memo");default:return}}}const getDisplayName=Object.freeze(Object.defineProperty({__proto__:null,default:getDisplayName$1,getFunctionName},Symbol.toStringTag,{value:"Module"})),_excluded$R=["ownerState"],_excluded2$7=["variants"],_excluded3$2=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function isEmpty$3($){return Object.keys($).length===0}function isStringTag$1($){return typeof $=="string"&&$.charCodeAt(0)>96}function shouldForwardProp$1($){return $!=="ownerState"&&$!=="theme"&&$!=="sx"&&$!=="as"}const systemDefaultTheme$1=createTheme$2(),lowercaseFirstLetter$1=$=>$&&$.charAt(0).toLowerCase()+$.slice(1);function resolveTheme$1({defaultTheme:$,theme:_e,themeId:et}){return isEmpty$3(_e)?$:_e[et]||_e}function defaultOverridesResolver$1($){return $?(_e,et)=>et[$]:null}function processStyleArg$1($,_e){let{ownerState:et}=_e,tt=_objectWithoutPropertiesLoose$4(_e,_excluded$R);const nt=typeof $=="function"?$(_extends$6({ownerState:et},tt)):$;if(Array.isArray(nt))return nt.flatMap(rt=>processStyleArg$1(rt,_extends$6({ownerState:et},tt)));if(nt&&typeof nt=="object"&&Array.isArray(nt.variants)){const{variants:rt=[]}=nt;let it=_objectWithoutPropertiesLoose$4(nt,_excluded2$7);return rt.forEach(st=>{let at=!0;typeof st.props=="function"?at=st.props(_extends$6({ownerState:et},tt,et)):Object.keys(st.props).forEach(ut=>{(et==null?void 0:et[ut])!==st.props[ut]&&tt[ut]!==st.props[ut]&&(at=!1)}),at&&(Array.isArray(it)||(it=[it]),it.push(typeof st.style=="function"?st.style(_extends$6({ownerState:et},tt,et)):st.style))}),it}return nt}function createStyled$2($={}){const{themeId:_e,defaultTheme:et=systemDefaultTheme$1,rootShouldForwardProp:tt=shouldForwardProp$1,slotShouldForwardProp:nt=shouldForwardProp$1}=$,rt=ot=>styleFunctionSx$1(_extends$6({},ot,{theme:resolveTheme$1(_extends$6({},ot,{defaultTheme:et,themeId:_e}))}));return rt.__mui_systemSx=!0,(ot,it={})=>{internal_processStyles(ot,bt=>bt.filter(Ot=>!(Ot!=null&&Ot.__mui_systemSx)));const{name:st,slot:at,skipVariantsResolver:ut,skipSx:ft,overridesResolver:dt=defaultOverridesResolver$1(lowercaseFirstLetter$1(at))}=it,pt=_objectWithoutPropertiesLoose$4(it,_excluded3$2),ht=ut!==void 0?ut:at&&at!=="Root"&&at!=="root"||!1,gt=ft||!1;let yt,vt=shouldForwardProp$1;at==="Root"||at==="root"?vt=tt:at?vt=nt:isStringTag$1(ot)&&(vt=void 0);const St=styled$2(ot,_extends$6({shouldForwardProp:vt,label:yt},pt)),Tt=bt=>typeof bt=="function"&&bt.__emotion_real!==bt||isPlainObject(bt)?Ot=>processStyleArg$1(bt,_extends$6({},Ot,{theme:resolveTheme$1({theme:Ot.theme,defaultTheme:et,themeId:_e})})):bt,$t=(bt,...Ot)=>{let Et=Tt(bt);const mt=Ot?Ot.map(Tt):[];st&&dt&&mt.push(Pt=>{const Rt=resolveTheme$1(_extends$6({},Pt,{defaultTheme:et,themeId:_e}));if(!Rt.components||!Rt.components[st]||!Rt.components[st].styleOverrides)return null;const At=Rt.components[st].styleOverrides,It={};return Object.entries(At).forEach(([Nt,Mt])=>{It[Nt]=processStyleArg$1(Mt,_extends$6({},Pt,{theme:Rt}))}),dt(Pt,It)}),st&&!ht&&mt.push(Pt=>{var Rt;const At=resolveTheme$1(_extends$6({},Pt,{defaultTheme:et,themeId:_e})),It=At==null||(Rt=At.components)==null||(Rt=Rt[st])==null?void 0:Rt.variants;return processStyleArg$1({variants:It},_extends$6({},Pt,{theme:At}))}),gt||mt.push(rt);const Ct=mt.length-Ot.length;if(Array.isArray(bt)&&Ct>0){const Pt=new Array(Ct).fill("");Et=[...bt,...Pt],Et.raw=[...bt.raw,...Pt]}const wt=St(Et,...mt);return ot.muiName&&(wt.muiName=ot.muiName),wt};return St.withConfig&&($t.withConfig=St.withConfig),$t}}const styled$1=createStyled$2();function resolveProps($,_e){const et=_extends$6({},_e);return Object.keys($).forEach(tt=>{if(tt.toString().match(/^(components|slots)$/))et[tt]=_extends$6({},$[tt],et[tt]);else if(tt.toString().match(/^(componentsProps|slotProps)$/)){const nt=$[tt]||{},rt=_e[tt];et[tt]={},!rt||!Object.keys(rt)?et[tt]=nt:!nt||!Object.keys(nt)?et[tt]=rt:(et[tt]=_extends$6({},rt),Object.keys(nt).forEach(ot=>{et[tt][ot]=resolveProps(nt[ot],rt[ot])}))}else et[tt]===void 0&&(et[tt]=$[tt])}),et}function getThemeProps($){const{theme:_e,name:et,props:tt}=$;return!_e||!_e.components||!_e.components[et]||!_e.components[et].defaultProps?tt:resolveProps(_e.components[et].defaultProps,tt)}function useThemeProps$2({props:$,name:_e,defaultTheme:et,themeId:tt}){let nt=useTheme$4(et);return tt&&(nt=nt[tt]||nt),getThemeProps({theme:nt,name:_e,props:$})}const useEnhancedEffect=typeof window<"u"?reactExports.useLayoutEffect:reactExports.useEffect;function clamp$2($,_e=Number.MIN_SAFE_INTEGER,et=Number.MAX_SAFE_INTEGER){return Math.max(_e,Math.min($,et))}const clamp$1=Object.freeze(Object.defineProperty({__proto__:null,default:clamp$2},Symbol.toStringTag,{value:"Module"}));function createChainedFunction(...$){return $.reduce((_e,et)=>et==null?_e:function(...nt){_e.apply(this,nt),et.apply(this,nt)},()=>{})}function debounce$1($,_e=166){let et;function tt(...nt){const rt=()=>{$.apply(this,nt)};clearTimeout(et),et=setTimeout(rt,_e)}return tt.clear=()=>{clearTimeout(et)},tt}function isMuiElement($,_e){var et,tt;return reactExports.isValidElement($)&&_e.indexOf((et=$.type.muiName)!=null?et:(tt=$.type)==null||(tt=tt._payload)==null||(tt=tt.value)==null?void 0:tt.muiName)!==-1}function ownerDocument($){return $&&$.ownerDocument||document}function ownerWindow($){return ownerDocument($).defaultView||window}function setRef($,_e){typeof $=="function"?$(_e):$&&($.current=_e)}let globalId=0;function useGlobalId($){const[_e,et]=reactExports.useState($),tt=$||_e;return reactExports.useEffect(()=>{_e==null&&(globalId+=1,et(`mui-${globalId}`))},[_e]),tt}const maybeReactUseId=React$8.useId;function useId$1($){if(maybeReactUseId!==void 0){const _e=maybeReactUseId();return $??_e}return useGlobalId($)}function useControlled({controlled:$,default:_e,name:et,state:tt="value"}){const{current:nt}=reactExports.useRef($!==void 0),[rt,ot]=reactExports.useState(_e),it=nt?$:rt,st=reactExports.useCallback(at=>{nt||ot(at)},[]);return[it,st]}function useEventCallback($){const _e=reactExports.useRef($);return useEnhancedEffect(()=>{_e.current=$}),reactExports.useRef((...et)=>(0,_e.current)(...et)).current}function useForkRef(...$){return reactExports.useMemo(()=>$.every(_e=>_e==null)?null:_e=>{$.forEach(et=>{setRef(et,_e)})},$)}const UNINITIALIZED={};function useLazyRef($,_e){const et=reactExports.useRef(UNINITIALIZED);return et.current===UNINITIALIZED&&(et.current=$(_e)),et}const EMPTY=[];function useOnMount($){reactExports.useEffect($,EMPTY)}class Timeout{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Timeout}start(_e,et){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,et()},_e)}}function useTimeout(){const $=useLazyRef(Timeout.create).current;return useOnMount($.disposeEffect),$}let hadKeyboardEvent=!0,hadFocusVisibleRecently=!1;const hadFocusVisibleRecentlyTimeout=new Timeout,inputTypesWhitelist={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function focusTriggersKeyboardModality($){const{type:_e,tagName:et}=$;return!!(et==="INPUT"&&inputTypesWhitelist[_e]&&!$.readOnly||et==="TEXTAREA"&&!$.readOnly||$.isContentEditable)}function handleKeyDown($){$.metaKey||$.altKey||$.ctrlKey||(hadKeyboardEvent=!0)}function handlePointerDown(){hadKeyboardEvent=!1}function handleVisibilityChange(){this.visibilityState==="hidden"&&hadFocusVisibleRecently&&(hadKeyboardEvent=!0)}function prepare($){$.addEventListener("keydown",handleKeyDown,!0),$.addEventListener("mousedown",handlePointerDown,!0),$.addEventListener("pointerdown",handlePointerDown,!0),$.addEventListener("touchstart",handlePointerDown,!0),$.addEventListener("visibilitychange",handleVisibilityChange,!0)}function isFocusVisible($){const{target:_e}=$;try{return _e.matches(":focus-visible")}catch{}return hadKeyboardEvent||focusTriggersKeyboardModality(_e)}function useIsFocusVisible(){const $=reactExports.useCallback(nt=>{nt!=null&&prepare(nt.ownerDocument)},[]),_e=reactExports.useRef(!1);function et(){return _e.current?(hadFocusVisibleRecently=!0,hadFocusVisibleRecentlyTimeout.start(100,()=>{hadFocusVisibleRecently=!1}),_e.current=!1,!0):!1}function tt(nt){return isFocusVisible(nt)?(_e.current=!0,!0):!1}return{isFocusVisibleRef:_e,onFocus:tt,onBlur:et,ref:$}}function getScrollbarSize$1($){const _e=$.documentElement.clientWidth;return Math.abs(window.innerWidth-_e)}const visuallyHidden={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function composeClasses($,_e,et=void 0){const tt={};return Object.keys($).forEach(nt=>{tt[nt]=$[nt].reduce((rt,ot)=>{if(ot){const it=_e(ot);it!==""&&rt.push(it),et&&et[ot]&&rt.push(et[ot])}return rt},[]).join(" ")}),tt}const ThemeContext=reactExports.createContext(null);function useTheme$3(){return reactExports.useContext(ThemeContext)}const hasSymbol=typeof Symbol=="function"&&Symbol.for,nested=hasSymbol?Symbol.for("mui.nested"):"__THEME_NESTED__";function mergeOuterLocalTheme($,_e){return typeof _e=="function"?_e($):_extends$6({},$,_e)}function ThemeProvider$2($){const{children:_e,theme:et}=$,tt=useTheme$3(),nt=reactExports.useMemo(()=>{const rt=tt===null?et:mergeOuterLocalTheme(tt,et);return rt!=null&&(rt[nested]=tt!==null),rt},[et,tt]);return jsxRuntimeExports.jsx(ThemeContext.Provider,{value:nt,children:_e})}const _excluded$Q=["value"],RtlContext=reactExports.createContext();function RtlProvider($){let{value:_e}=$,et=_objectWithoutPropertiesLoose$4($,_excluded$Q);return jsxRuntimeExports.jsx(RtlContext.Provider,_extends$6({value:_e??!0},et))}const useRtl=()=>{const $=reactExports.useContext(RtlContext);return $??!1},EMPTY_THEME={};function useThemeScoping($,_e,et,tt=!1){return reactExports.useMemo(()=>{const nt=$&&_e[$]||_e;if(typeof et=="function"){const rt=et(nt),ot=$?_extends$6({},_e,{[$]:rt}):rt;return tt?()=>ot:ot}return $?_extends$6({},_e,{[$]:et}):_extends$6({},_e,et)},[$,_e,et,tt])}function ThemeProvider$1($){const{children:_e,theme:et,themeId:tt}=$,nt=useTheme$5(EMPTY_THEME),rt=useTheme$3()||EMPTY_THEME,ot=useThemeScoping(tt,nt,et),it=useThemeScoping(tt,rt,et,!0),st=ot.direction==="rtl";return jsxRuntimeExports.jsx(ThemeProvider$2,{theme:it,children:jsxRuntimeExports.jsx(ThemeContext$1.Provider,{value:ot,children:jsxRuntimeExports.jsx(RtlProvider,{value:st,children:_e})})})}function _typeof$3($){"@babel/helpers - typeof";return _typeof$3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_e){return typeof _e}:function(_e){return _e&&typeof Symbol=="function"&&_e.constructor===Symbol&&_e!==Symbol.prototype?"symbol":typeof _e},_typeof$3($)}function toPrimitive($,_e){if(_typeof$3($)!="object"||!$)return $;var et=$[Symbol.toPrimitive];if(et!==void 0){var tt=et.call($,_e);if(_typeof$3(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return String($)}function toPropertyKey($){var _e=toPrimitive($,"string");return _typeof$3(_e)=="symbol"?_e:_e+""}const _excluded$P=["component","direction","spacing","divider","children","className","useFlexGap"],defaultTheme$2=createTheme$2(),defaultCreateStyledComponent=styled$1("div",{name:"MuiStack",slot:"Root",overridesResolver:($,_e)=>_e.root});function useThemePropsDefault($){return useThemeProps$2({props:$,name:"MuiStack",defaultTheme:defaultTheme$2})}function joinChildren($,_e){const et=reactExports.Children.toArray($).filter(Boolean);return et.reduce((tt,nt,rt)=>(tt.push(nt),rt({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[$],style=({ownerState:$,theme:_e})=>{let et=_extends$6({display:"flex",flexDirection:"column"},handleBreakpoints({theme:_e},resolveBreakpointValues({values:$.direction,breakpoints:_e.breakpoints.values}),tt=>({flexDirection:tt})));if($.spacing){const tt=createUnarySpacing(_e),nt=Object.keys(_e.breakpoints.values).reduce((st,at)=>((typeof $.spacing=="object"&&$.spacing[at]!=null||typeof $.direction=="object"&&$.direction[at]!=null)&&(st[at]=!0),st),{}),rt=resolveBreakpointValues({values:$.direction,base:nt}),ot=resolveBreakpointValues({values:$.spacing,base:nt});typeof rt=="object"&&Object.keys(rt).forEach((st,at,ut)=>{if(!rt[st]){const dt=at>0?rt[ut[at-1]]:"column";rt[st]=dt}}),et=deepmerge$1(et,handleBreakpoints({theme:_e},ot,(st,at)=>$.useFlexGap?{gap:getValue$1(tt,st)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${getSideFromDirection(at?rt[at]:$.direction)}`]:getValue$1(tt,st)}}))}return et=mergeBreakpointsInOrder(_e.breakpoints,et),et};function createStack($={}){const{createStyledComponent:_e=defaultCreateStyledComponent,useThemeProps:et=useThemePropsDefault,componentName:tt="MuiStack"}=$,nt=()=>composeClasses({root:["root"]},st=>generateUtilityClass$1(tt,st),{}),rt=_e(style);return reactExports.forwardRef(function(st,at){const ut=et(st),ft=extendSxProp(ut),{component:dt="div",direction:pt="column",spacing:ht=0,divider:gt,children:yt,className:vt,useFlexGap:St=!1}=ft,Tt=_objectWithoutPropertiesLoose$4(ft,_excluded$P),$t={direction:pt,spacing:ht,useFlexGap:St},bt=nt();return jsxRuntimeExports.jsx(rt,_extends$6({as:dt,ownerState:$t,ref:at,className:clsx$3(bt.root,vt)},Tt,{children:gt?joinChildren(yt,gt):yt}))})}function createMixins($,_e){return _extends$6({toolbar:{minHeight:56,[$.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[$.up("sm")]:{minHeight:64}}},_e)}var colorManipulator={},interopRequireDefault={exports:{}};(function($){function _e(et){return et&&et.__esModule?et:{default:et}}$.exports=_e,$.exports.__esModule=!0,$.exports.default=$.exports})(interopRequireDefault);var interopRequireDefaultExports=interopRequireDefault.exports;const require$$1$2=getAugmentedNamespace(formatMuiErrorMessage),require$$2$2=getAugmentedNamespace(clamp$1);var _interopRequireDefault$8=interopRequireDefaultExports;Object.defineProperty(colorManipulator,"__esModule",{value:!0});var alpha_1=colorManipulator.alpha=alpha;colorManipulator.blend=blend;colorManipulator.colorChannel=void 0;var darken_1=colorManipulator.darken=darken;colorManipulator.decomposeColor=decomposeColor;colorManipulator.emphasize=emphasize;var getContrastRatio_1=colorManipulator.getContrastRatio=getContrastRatio;colorManipulator.getLuminance=getLuminance;colorManipulator.hexToRgb=hexToRgb;colorManipulator.hslToRgb=hslToRgb;var lighten_1=colorManipulator.lighten=lighten;colorManipulator.private_safeAlpha=private_safeAlpha;colorManipulator.private_safeColorChannel=void 0;colorManipulator.private_safeDarken=private_safeDarken;colorManipulator.private_safeEmphasize=private_safeEmphasize;colorManipulator.private_safeLighten=private_safeLighten;colorManipulator.recomposeColor=recomposeColor;colorManipulator.rgbToHex=rgbToHex;var _formatMuiErrorMessage2=_interopRequireDefault$8(require$$1$2),_clamp=_interopRequireDefault$8(require$$2$2);function clampWrapper($,_e=0,et=1){return(0,_clamp.default)($,_e,et)}function hexToRgb($){$=$.slice(1);const _e=new RegExp(`.{1,${$.length>=6?2:1}}`,"g");let et=$.match(_e);return et&&et[0].length===1&&(et=et.map(tt=>tt+tt)),et?`rgb${et.length===4?"a":""}(${et.map((tt,nt)=>nt<3?parseInt(tt,16):Math.round(parseInt(tt,16)/255*1e3)/1e3).join(", ")})`:""}function intToHex($){const _e=$.toString(16);return _e.length===1?`0${_e}`:_e}function decomposeColor($){if($.type)return $;if($.charAt(0)==="#")return decomposeColor(hexToRgb($));const _e=$.indexOf("("),et=$.substring(0,_e);if(["rgb","rgba","hsl","hsla","color"].indexOf(et)===-1)throw new Error((0,_formatMuiErrorMessage2.default)(9,$));let tt=$.substring(_e+1,$.length-1),nt;if(et==="color"){if(tt=tt.split(" "),nt=tt.shift(),tt.length===4&&tt[3].charAt(0)==="/"&&(tt[3]=tt[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(nt)===-1)throw new Error((0,_formatMuiErrorMessage2.default)(10,nt))}else tt=tt.split(",");return tt=tt.map(rt=>parseFloat(rt)),{type:et,values:tt,colorSpace:nt}}const colorChannel=$=>{const _e=decomposeColor($);return _e.values.slice(0,3).map((et,tt)=>_e.type.indexOf("hsl")!==-1&&tt!==0?`${et}%`:et).join(" ")};colorManipulator.colorChannel=colorChannel;const private_safeColorChannel=($,_e)=>{try{return colorChannel($)}catch{return $}};colorManipulator.private_safeColorChannel=private_safeColorChannel;function recomposeColor($){const{type:_e,colorSpace:et}=$;let{values:tt}=$;return _e.indexOf("rgb")!==-1?tt=tt.map((nt,rt)=>rt<3?parseInt(nt,10):nt):_e.indexOf("hsl")!==-1&&(tt[1]=`${tt[1]}%`,tt[2]=`${tt[2]}%`),_e.indexOf("color")!==-1?tt=`${et} ${tt.join(" ")}`:tt=`${tt.join(", ")}`,`${_e}(${tt})`}function rgbToHex($){if($.indexOf("#")===0)return $;const{values:_e}=decomposeColor($);return`#${_e.map((et,tt)=>intToHex(tt===3?Math.round(255*et):et)).join("")}`}function hslToRgb($){$=decomposeColor($);const{values:_e}=$,et=_e[0],tt=_e[1]/100,nt=_e[2]/100,rt=tt*Math.min(nt,1-nt),ot=(at,ut=(at+et/30)%12)=>nt-rt*Math.max(Math.min(ut-3,9-ut,1),-1);let it="rgb";const st=[Math.round(ot(0)*255),Math.round(ot(8)*255),Math.round(ot(4)*255)];return $.type==="hsla"&&(it+="a",st.push(_e[3])),recomposeColor({type:it,values:st})}function getLuminance($){$=decomposeColor($);let _e=$.type==="hsl"||$.type==="hsla"?decomposeColor(hslToRgb($)).values:$.values;return _e=_e.map(et=>($.type!=="color"&&(et/=255),et<=.03928?et/12.92:((et+.055)/1.055)**2.4)),Number((.2126*_e[0]+.7152*_e[1]+.0722*_e[2]).toFixed(3))}function getContrastRatio($,_e){const et=getLuminance($),tt=getLuminance(_e);return(Math.max(et,tt)+.05)/(Math.min(et,tt)+.05)}function alpha($,_e){return $=decomposeColor($),_e=clampWrapper(_e),($.type==="rgb"||$.type==="hsl")&&($.type+="a"),$.type==="color"?$.values[3]=`/${_e}`:$.values[3]=_e,recomposeColor($)}function private_safeAlpha($,_e,et){try{return alpha($,_e)}catch{return $}}function darken($,_e){if($=decomposeColor($),_e=clampWrapper(_e),$.type.indexOf("hsl")!==-1)$.values[2]*=1-_e;else if($.type.indexOf("rgb")!==-1||$.type.indexOf("color")!==-1)for(let et=0;et<3;et+=1)$.values[et]*=1-_e;return recomposeColor($)}function private_safeDarken($,_e,et){try{return darken($,_e)}catch{return $}}function lighten($,_e){if($=decomposeColor($),_e=clampWrapper(_e),$.type.indexOf("hsl")!==-1)$.values[2]+=(100-$.values[2])*_e;else if($.type.indexOf("rgb")!==-1)for(let et=0;et<3;et+=1)$.values[et]+=(255-$.values[et])*_e;else if($.type.indexOf("color")!==-1)for(let et=0;et<3;et+=1)$.values[et]+=(1-$.values[et])*_e;return recomposeColor($)}function private_safeLighten($,_e,et){try{return lighten($,_e)}catch{return $}}function emphasize($,_e=.15){return getLuminance($)>.5?darken($,_e):lighten($,_e)}function private_safeEmphasize($,_e,et){try{return emphasize($,_e)}catch{return $}}function blend($,_e,et,tt=1){const nt=(st,at)=>Math.round((st**(1/tt)*(1-et)+at**(1/tt)*et)**tt),rt=decomposeColor($),ot=decomposeColor(_e),it=[nt(rt.values[0],ot.values[0]),nt(rt.values[1],ot.values[1]),nt(rt.values[2],ot.values[2])];return recomposeColor({type:"rgb",values:it})}const common={black:"#000",white:"#fff"},grey={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},purple={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},red={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},orange={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},blue={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},lightBlue={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},green={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},_excluded$O=["mode","contrastThreshold","tonalOffset"],light={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:common.white,default:common.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},dark={text:{primary:common.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:common.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function addLightOrDark($,_e,et,tt){const nt=tt.light||tt,rt=tt.dark||tt*1.5;$[_e]||($.hasOwnProperty(et)?$[_e]=$[et]:_e==="light"?$.light=lighten_1($.main,nt):_e==="dark"&&($.dark=darken_1($.main,rt)))}function getDefaultPrimary($="light"){return $==="dark"?{main:blue[200],light:blue[50],dark:blue[400]}:{main:blue[700],light:blue[400],dark:blue[800]}}function getDefaultSecondary($="light"){return $==="dark"?{main:purple[200],light:purple[50],dark:purple[400]}:{main:purple[500],light:purple[300],dark:purple[700]}}function getDefaultError($="light"){return $==="dark"?{main:red[500],light:red[300],dark:red[700]}:{main:red[700],light:red[400],dark:red[800]}}function getDefaultInfo($="light"){return $==="dark"?{main:lightBlue[400],light:lightBlue[300],dark:lightBlue[700]}:{main:lightBlue[700],light:lightBlue[500],dark:lightBlue[900]}}function getDefaultSuccess($="light"){return $==="dark"?{main:green[400],light:green[300],dark:green[700]}:{main:green[800],light:green[500],dark:green[900]}}function getDefaultWarning($="light"){return $==="dark"?{main:orange[400],light:orange[300],dark:orange[700]}:{main:"#ed6c02",light:orange[500],dark:orange[900]}}function createPalette($){const{mode:_e="light",contrastThreshold:et=3,tonalOffset:tt=.2}=$,nt=_objectWithoutPropertiesLoose$4($,_excluded$O),rt=$.primary||getDefaultPrimary(_e),ot=$.secondary||getDefaultSecondary(_e),it=$.error||getDefaultError(_e),st=$.info||getDefaultInfo(_e),at=$.success||getDefaultSuccess(_e),ut=$.warning||getDefaultWarning(_e);function ft(gt){return getContrastRatio_1(gt,dark.text.primary)>=et?dark.text.primary:light.text.primary}const dt=({color:gt,name:yt,mainShade:vt=500,lightShade:St=300,darkShade:Tt=700})=>{if(gt=_extends$6({},gt),!gt.main&>[vt]&&(gt.main=gt[vt]),!gt.hasOwnProperty("main"))throw new Error(formatMuiErrorMessage$1(11,yt?` (${yt})`:"",vt));if(typeof gt.main!="string")throw new Error(formatMuiErrorMessage$1(12,yt?` (${yt})`:"",JSON.stringify(gt.main)));return addLightOrDark(gt,"light",St,tt),addLightOrDark(gt,"dark",Tt,tt),gt.contrastText||(gt.contrastText=ft(gt.main)),gt},pt={dark,light};return deepmerge$1(_extends$6({common:_extends$6({},common),mode:_e,primary:dt({color:rt,name:"primary"}),secondary:dt({color:ot,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:dt({color:it,name:"error"}),warning:dt({color:ut,name:"warning"}),info:dt({color:st,name:"info"}),success:dt({color:at,name:"success"}),grey,contrastThreshold:et,getContrastText:ft,augmentColor:dt,tonalOffset:tt},pt[_e]),nt)}const _excluded$N=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function round$3($){return Math.round($*1e5)/1e5}const caseAllCaps={textTransform:"uppercase"},defaultFontFamily='"Roboto", "Helvetica", "Arial", sans-serif';function createTypography($,_e){const et=typeof _e=="function"?_e($):_e,{fontFamily:tt=defaultFontFamily,fontSize:nt=14,fontWeightLight:rt=300,fontWeightRegular:ot=400,fontWeightMedium:it=500,fontWeightBold:st=700,htmlFontSize:at=16,allVariants:ut,pxToRem:ft}=et,dt=_objectWithoutPropertiesLoose$4(et,_excluded$N),pt=nt/14,ht=ft||(vt=>`${vt/at*pt}rem`),gt=(vt,St,Tt,$t,bt)=>_extends$6({fontFamily:tt,fontWeight:vt,fontSize:ht(St),lineHeight:Tt},tt===defaultFontFamily?{letterSpacing:`${round$3($t/St)}em`}:{},bt,ut),yt={h1:gt(rt,96,1.167,-1.5),h2:gt(rt,60,1.2,-.5),h3:gt(ot,48,1.167,0),h4:gt(ot,34,1.235,.25),h5:gt(ot,24,1.334,0),h6:gt(it,20,1.6,.15),subtitle1:gt(ot,16,1.75,.15),subtitle2:gt(it,14,1.57,.1),body1:gt(ot,16,1.5,.15),body2:gt(ot,14,1.43,.15),button:gt(it,14,1.75,.4,caseAllCaps),caption:gt(ot,12,1.66,.4),overline:gt(ot,12,2.66,1,caseAllCaps),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return deepmerge$1(_extends$6({htmlFontSize:at,pxToRem:ht,fontFamily:tt,fontSize:nt,fontWeightLight:rt,fontWeightRegular:ot,fontWeightMedium:it,fontWeightBold:st},yt),dt,{clone:!1})}const shadowKeyUmbraOpacity=.2,shadowKeyPenumbraOpacity=.14,shadowAmbientShadowOpacity=.12;function createShadow(...$){return[`${$[0]}px ${$[1]}px ${$[2]}px ${$[3]}px rgba(0,0,0,${shadowKeyUmbraOpacity})`,`${$[4]}px ${$[5]}px ${$[6]}px ${$[7]}px rgba(0,0,0,${shadowKeyPenumbraOpacity})`,`${$[8]}px ${$[9]}px ${$[10]}px ${$[11]}px rgba(0,0,0,${shadowAmbientShadowOpacity})`].join(",")}const shadows=["none",createShadow(0,2,1,-1,0,1,1,0,0,1,3,0),createShadow(0,3,1,-2,0,2,2,0,0,1,5,0),createShadow(0,3,3,-2,0,3,4,0,0,1,8,0),createShadow(0,2,4,-1,0,4,5,0,0,1,10,0),createShadow(0,3,5,-1,0,5,8,0,0,1,14,0),createShadow(0,3,5,-1,0,6,10,0,0,1,18,0),createShadow(0,4,5,-2,0,7,10,1,0,2,16,1),createShadow(0,5,5,-3,0,8,10,1,0,3,14,2),createShadow(0,5,6,-3,0,9,12,1,0,3,16,2),createShadow(0,6,6,-3,0,10,14,1,0,4,18,3),createShadow(0,6,7,-4,0,11,15,1,0,4,20,3),createShadow(0,7,8,-4,0,12,17,2,0,5,22,4),createShadow(0,7,8,-4,0,13,19,2,0,5,24,4),createShadow(0,7,9,-4,0,14,21,2,0,5,26,4),createShadow(0,8,9,-5,0,15,22,2,0,6,28,5),createShadow(0,8,10,-5,0,16,24,2,0,6,30,5),createShadow(0,8,11,-5,0,17,26,2,0,6,32,5),createShadow(0,9,11,-5,0,18,28,2,0,7,34,6),createShadow(0,9,12,-6,0,19,29,2,0,7,36,6),createShadow(0,10,13,-6,0,20,31,3,0,8,38,7),createShadow(0,10,13,-6,0,21,33,3,0,8,40,7),createShadow(0,10,14,-6,0,22,35,3,0,8,42,7),createShadow(0,11,14,-7,0,23,36,3,0,9,44,8),createShadow(0,11,15,-7,0,24,38,3,0,9,46,8)],_excluded$M=["duration","easing","delay"],easing={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function formatMs($){return`${Math.round($)}ms`}function getAutoHeightDuration($){if(!$)return 0;const _e=$/36;return Math.round((4+15*_e**.25+_e/5)*10)}function createTransitions($){const _e=_extends$6({},easing,$.easing),et=_extends$6({},duration,$.duration);return _extends$6({getAutoHeightDuration,create:(nt=["all"],rt={})=>{const{duration:ot=et.standard,easing:it=_e.easeInOut,delay:st=0}=rt;return _objectWithoutPropertiesLoose$4(rt,_excluded$M),(Array.isArray(nt)?nt:[nt]).map(at=>`${at} ${typeof ot=="string"?ot:formatMs(ot)} ${it} ${typeof st=="string"?st:formatMs(st)}`).join(",")}},$,{easing:_e,duration:et})}const zIndex={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},_excluded$L=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function createTheme($={},..._e){const{mixins:et={},palette:tt={},transitions:nt={},typography:rt={}}=$,ot=_objectWithoutPropertiesLoose$4($,_excluded$L);if($.vars)throw new Error(formatMuiErrorMessage$1(18));const it=createPalette(tt),st=createTheme$2($);let at=deepmerge$1(st,{mixins:createMixins(st.breakpoints,et),palette:it,shadows:shadows.slice(),typography:createTypography(it,rt),transitions:createTransitions(nt),zIndex:_extends$6({},zIndex)});return at=deepmerge$1(at,ot),at=_e.reduce((ut,ft)=>deepmerge$1(ut,ft),at),at.unstable_sxConfig=_extends$6({},defaultSxConfig,ot==null?void 0:ot.unstable_sxConfig),at.unstable_sx=function(ft){return styleFunctionSx$1({sx:ft,theme:this})},at}const defaultTheme$1=createTheme();function useTheme$2(){const $=useTheme$4(defaultTheme$1);return $[THEME_ID]||$}function useThemeProps$1({props:$,name:_e}){return useThemeProps$2({props:$,name:_e,defaultTheme:defaultTheme$1,themeId:THEME_ID})}var createStyled$1={};const require$$1$1=getAugmentedNamespace(_extends$7);var objectWithoutPropertiesLoose={exports:{}},hasRequiredObjectWithoutPropertiesLoose;function requireObjectWithoutPropertiesLoose(){return hasRequiredObjectWithoutPropertiesLoose||(hasRequiredObjectWithoutPropertiesLoose=1,function($){function _e(et,tt){if(et==null)return{};var nt={};for(var rt in et)if({}.hasOwnProperty.call(et,rt)){if(tt.indexOf(rt)>=0)continue;nt[rt]=et[rt]}return nt}$.exports=_e,$.exports.__esModule=!0,$.exports.default=$.exports}(objectWithoutPropertiesLoose)),objectWithoutPropertiesLoose.exports}const require$$1=getAugmentedNamespace(styledEngine),require$$4=getAugmentedNamespace(deepmerge),require$$5=getAugmentedNamespace(capitalize$1),require$$6=getAugmentedNamespace(getDisplayName),require$$7=getAugmentedNamespace(createTheme$1),require$$8=getAugmentedNamespace(styleFunctionSx);var _interopRequireDefault$7=interopRequireDefaultExports;Object.defineProperty(createStyled$1,"__esModule",{value:!0});var _default=createStyled$1.default=createStyled;createStyled$1.shouldForwardProp=shouldForwardProp;createStyled$1.systemDefaultTheme=void 0;var _extends2=_interopRequireDefault$7(require$$1$1),_objectWithoutPropertiesLoose2=_interopRequireDefault$7(requireObjectWithoutPropertiesLoose()),_styledEngine$1=_interopRequireWildcard$6(require$$1),_deepmerge$2=require$$4;_interopRequireDefault$7(require$$5);_interopRequireDefault$7(require$$6);var _createTheme=_interopRequireDefault$7(require$$7),_styleFunctionSx=_interopRequireDefault$7(require$$8);const _excluded$K=["ownerState"],_excluded2$6=["variants"],_excluded3$1=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function _getRequireWildcardCache$6($){if(typeof WeakMap!="function")return null;var _e=new WeakMap,et=new WeakMap;return(_getRequireWildcardCache$6=function(tt){return tt?et:_e})($)}function _interopRequireWildcard$6($,_e){if($&&$.__esModule)return $;if($===null||typeof $!="object"&&typeof $!="function")return{default:$};var et=_getRequireWildcardCache$6(_e);if(et&&et.has($))return et.get($);var tt={__proto__:null},nt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var rt in $)if(rt!=="default"&&Object.prototype.hasOwnProperty.call($,rt)){var ot=nt?Object.getOwnPropertyDescriptor($,rt):null;ot&&(ot.get||ot.set)?Object.defineProperty(tt,rt,ot):tt[rt]=$[rt]}return tt.default=$,et&&et.set($,tt),tt}function isEmpty$2($){return Object.keys($).length===0}function isStringTag($){return typeof $=="string"&&$.charCodeAt(0)>96}function shouldForwardProp($){return $!=="ownerState"&&$!=="theme"&&$!=="sx"&&$!=="as"}const systemDefaultTheme=createStyled$1.systemDefaultTheme=(0,_createTheme.default)(),lowercaseFirstLetter=$=>$&&$.charAt(0).toLowerCase()+$.slice(1);function resolveTheme({defaultTheme:$,theme:_e,themeId:et}){return isEmpty$2(_e)?$:_e[et]||_e}function defaultOverridesResolver($){return $?(_e,et)=>et[$]:null}function processStyleArg($,_e){let{ownerState:et}=_e,tt=(0,_objectWithoutPropertiesLoose2.default)(_e,_excluded$K);const nt=typeof $=="function"?$((0,_extends2.default)({ownerState:et},tt)):$;if(Array.isArray(nt))return nt.flatMap(rt=>processStyleArg(rt,(0,_extends2.default)({ownerState:et},tt)));if(nt&&typeof nt=="object"&&Array.isArray(nt.variants)){const{variants:rt=[]}=nt;let it=(0,_objectWithoutPropertiesLoose2.default)(nt,_excluded2$6);return rt.forEach(st=>{let at=!0;typeof st.props=="function"?at=st.props((0,_extends2.default)({ownerState:et},tt,et)):Object.keys(st.props).forEach(ut=>{(et==null?void 0:et[ut])!==st.props[ut]&&tt[ut]!==st.props[ut]&&(at=!1)}),at&&(Array.isArray(it)||(it=[it]),it.push(typeof st.style=="function"?st.style((0,_extends2.default)({ownerState:et},tt,et)):st.style))}),it}return nt}function createStyled($={}){const{themeId:_e,defaultTheme:et=systemDefaultTheme,rootShouldForwardProp:tt=shouldForwardProp,slotShouldForwardProp:nt=shouldForwardProp}=$,rt=ot=>(0,_styleFunctionSx.default)((0,_extends2.default)({},ot,{theme:resolveTheme((0,_extends2.default)({},ot,{defaultTheme:et,themeId:_e}))}));return rt.__mui_systemSx=!0,(ot,it={})=>{(0,_styledEngine$1.internal_processStyles)(ot,bt=>bt.filter(Ot=>!(Ot!=null&&Ot.__mui_systemSx)));const{name:st,slot:at,skipVariantsResolver:ut,skipSx:ft,overridesResolver:dt=defaultOverridesResolver(lowercaseFirstLetter(at))}=it,pt=(0,_objectWithoutPropertiesLoose2.default)(it,_excluded3$1),ht=ut!==void 0?ut:at&&at!=="Root"&&at!=="root"||!1,gt=ft||!1;let yt,vt=shouldForwardProp;at==="Root"||at==="root"?vt=tt:at?vt=nt:isStringTag(ot)&&(vt=void 0);const St=(0,_styledEngine$1.default)(ot,(0,_extends2.default)({shouldForwardProp:vt,label:yt},pt)),Tt=bt=>typeof bt=="function"&&bt.__emotion_real!==bt||(0,_deepmerge$2.isPlainObject)(bt)?Ot=>processStyleArg(bt,(0,_extends2.default)({},Ot,{theme:resolveTheme({theme:Ot.theme,defaultTheme:et,themeId:_e})})):bt,$t=(bt,...Ot)=>{let Et=Tt(bt);const mt=Ot?Ot.map(Tt):[];st&&dt&&mt.push(Pt=>{const Rt=resolveTheme((0,_extends2.default)({},Pt,{defaultTheme:et,themeId:_e}));if(!Rt.components||!Rt.components[st]||!Rt.components[st].styleOverrides)return null;const At=Rt.components[st].styleOverrides,It={};return Object.entries(At).forEach(([Nt,Mt])=>{It[Nt]=processStyleArg(Mt,(0,_extends2.default)({},Pt,{theme:Rt}))}),dt(Pt,It)}),st&&!ht&&mt.push(Pt=>{var Rt;const At=resolveTheme((0,_extends2.default)({},Pt,{defaultTheme:et,themeId:_e})),It=At==null||(Rt=At.components)==null||(Rt=Rt[st])==null?void 0:Rt.variants;return processStyleArg({variants:It},(0,_extends2.default)({},Pt,{theme:At}))}),gt||mt.push(rt);const Ct=mt.length-Ot.length;if(Array.isArray(bt)&&Ct>0){const Pt=new Array(Ct).fill("");Et=[...bt,...Pt],Et.raw=[...bt.raw,...Pt]}const wt=St(Et,...mt);return ot.muiName&&(wt.muiName=ot.muiName),wt};return St.withConfig&&($t.withConfig=St.withConfig),$t}}function slotShouldForwardProp($){return $!=="ownerState"&&$!=="theme"&&$!=="sx"&&$!=="as"}const rootShouldForwardProp=$=>slotShouldForwardProp($)&&$!=="classes",styled=_default({themeId:THEME_ID,defaultTheme:defaultTheme$1,rootShouldForwardProp}),_excluded$J=["theme"];function ThemeProvider($){let{theme:_e}=$,et=_objectWithoutPropertiesLoose$4($,_excluded$J);const tt=_e[THEME_ID];return jsxRuntimeExports.jsx(ThemeProvider$1,_extends$6({},et,{themeId:tt?THEME_ID:void 0,theme:tt||_e}))}const getOverlayAlpha=$=>{let _e;return $<1?_e=5.11916*$**2:_e=4.5*Math.log($+1)+2,(_e/100).toFixed(2)},ProtoButton=React$7.forwardRef(({children:$,..._e},et)=>jsx$1("button",{type:"button",ref:et,css:{border:"none",padding:0,background:"none",color:"inherit",":not([disabled])":{cursor:"pointer"}},..._e,children:$})),Button=React$7.forwardRef(({kind:$="normal",extraCss:_e,children:et,...tt},nt)=>{const rt=useAppkitConfig(),{isHighContrast:ot}=useColorScheme();return jsx$1("button",{ref:nt,type:"button",css:css(rt,$,ot,_e),...tt,children:et})}),css=($,_e,et,tt={})=>{const nt=match$1(_e,{normal:()=>({border:`1px solid ${$.colors.neutral40}`,color:$.colors.neutral90,"&:hover, &:focus-visible":{border:`1px solid ${$.colors.neutral60}`,backgroundColor:$.colors.neutral15}}),danger:()=>({border:`1px solid ${$.colors.danger4}`,color:$.colors.danger4,fontWeight:et?"bold":"inherit","&:hover, &:focus-visible":{border:`1px solid ${$.colors.danger5}`,backgroundColor:$.colors.danger4,color:$.colors.danger4BwInverted}}),"call-to-action":()=>({border:`1px solid ${$.colors.happy8}`,color:$.colors.happy7BwInverted,backgroundColor:$.colors.happy7,"&:hover, &:focus-visible":{border:`1px solid ${$.colors.happy9}`,backgroundColor:$.colors.happy8,color:$.colors.happy8BwInverted}})});return{borderRadius:8,display:"inline-flex",alignItems:"center",padding:"7px 14px",gap:12,whiteSpace:"nowrap",backgroundColor:$.colors.neutral10,transition:"background-color 0.15s, border-color 0.15s",textDecoration:"none","& > svg":{fontSize:20},"&:disabled":{border:`1px solid ${$.colors.neutral25}`,color:$.colors.neutral40},"&:not([disabled])":{cursor:"pointer",...nt,...focusStyle($,{offset:-1})},...tt}},Card=({kind:$,iconPos:_e="left",children:et,...tt})=>{const nt=useAppkitConfig();return jsxs("div",{css:{display:"inline-flex",flexDirection:_e==="left"?"row":"column",borderRadius:4,padding:"8px 16px",gap:16,alignItems:"center","& > svg":{fontSize:24,minWidth:24},...match$1($,{error:()=>({backgroundColor:nt.colors.danger0,border:`1.5px solid ${nt.colors.danger0}`,color:nt.colors.danger0BwInverted}),info:()=>({backgroundColor:nt.colors.neutral10})})},...tt,children:[match$1($,{error:()=>jsx$1(LuAlertTriangle,{}),info:()=>jsx$1(LuInfo,{css:{color:nt.colors.neutral60}})}),jsx$1("div",{children:et})]})};class Bug extends Error{constructor(_e){super(`${_e} (this is a bug in this application)`),this.name="Bug"}}const bug=$=>{throw new Bug($)},unreachable=$=>{const _e="reached unreachable code";throw new Bug(_e)},COLOR_SCHEMES=["light","dark","light-high-contrast","dark-high-contrast"],LOCAL_STORAGE_KEY="colorScheme",ColorSchemeContext=React$7.createContext(null),useColorScheme=()=>reactExports.useContext(ColorSchemeContext)??bug("missing color scheme context provider"),ColorSchemeProvider=({allowedSchemes:$=COLOR_SCHEMES,children:_e})=>{if($.length<2)return bug("`allowedSchemes` for ColorSchemeProvider need to have at least 2 schemes");if(!$.includes("light")&&!$.includes("dark"))return bug("`allowedSchemes` must contain either 'light' or 'dark'");const et=ft=>!!ft&&$.includes(ft),tt=document.documentElement.dataset.colorScheme,nt=et(tt)?tt:"light",[rt,ot]=reactExports.useState(nt),it=window.localStorage.getItem(LOCAL_STORAGE_KEY),[st,at]=reactExports.useState(!et(it)),ut={scheme:rt,isAuto:st,isHighContrast:rt.includes("high-contrast"),update:ft=>{if(ft!=="auto"&&!et(ft))return bug("Passed forbidden color scheme to `update`");window.localStorage.setItem(LOCAL_STORAGE_KEY,ft),at(ft==="auto");const dt=ft!=="auto"?ft:(()=>{const pt=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",ht=window.matchMedia("(prefers-contrast: more)").matches?"-high-contrast":"",gt=`${pt}${ht}`;if($.includes(gt))return gt;const vt=`${pt==="light"?"dark":"light"}${ht}`;return $.includes(vt)?vt:pt})();ot(dt),document.documentElement.dataset.colorScheme=dt}};return jsx$1(ColorSchemeContext.Provider,{value:ut,children:_e})},DEFAULT_CONFIG={colors:{neutral00:"var(--color-neutral00)",neutral05:"var(--color-neutral05)",neutral10:"var(--color-neutral10)",neutral15:"var(--color-neutral15)",neutral20:"var(--color-neutral20)",neutral25:"var(--color-neutral25)",neutral30:"var(--color-neutral30)",neutral40:"var(--color-neutral40)",neutral50:"var(--color-neutral50)",neutral60:"var(--color-neutral60)",neutral70:"var(--color-neutral70)",neutral80:"var(--color-neutral80)",neutral90:"var(--color-neutral90)",danger0:"var(--color-danger0)",danger0BwInverted:"var(--color-danger0-bw-inverted)",danger1:"var(--color-danger1)",danger1BwInverted:"var(--color-danger1-bw-inverted)",danger2:"var(--color-danger2)",danger2BwInverted:"var(--color-danger2-bw-inverted)",danger4:"var(--color-danger4)",danger4BwInverted:"var(--color-danger4-bw-inverted)",danger5:"var(--color-danger5)",danger5BwInverted:"var(--color-danger5-bw-inverted)",happy4:"var(--color-accent4)",happy4BwInverted:"var(--color-accent4-bw-inverted)",happy5:"var(--color-accent5)",happy5BwInverted:"var(--color-accent5-bw-inverted)",happy6:"var(--color-accent6)",happy6BwInverted:"var(--color-accent6-bw-inverted)",happy7:"var(--color-accent7)",happy7BwInverted:"var(--color-accent7-bw-inverted)",happy8:"var(--color-accent8)",happy8BwInverted:"var(--color-accent8-bw-inverted)",happy9:"var(--color-accent9)",happy9BwInverted:"var(--color-accent9-bw-inverted)",accent9:"var(--color-accent9)",accent9BwInverted:"var(--color-accent9-bw-inverted)",accent8:"var(--color-accent8)",accent8BwInverted:"var(--color-accent8-bw-inverted)",accent7:"var(--color-accent7)",accent7BwInverted:"var(--color-accent7-bw-inverted)",accent6:"var(--color-accent6)",accent6BwInverted:"var(--color-accent6-bw-inverted)",accent5:"var(--color-accent5)",accent5BwInverted:"var(--color-accent5-bw-inverted)",accent4:"var(--color-accent4)",accent4BwInverted:"var(--color-accent4-bw-inverted)",focus:"var(--color-accent8)"},breakpoints:{small:450,medium:650,large:900}},Context=React$7.createContext(DEFAULT_CONFIG),useAppkitConfig=()=>reactExports.useContext(Context);function match$1($,_e,et){return _e[$]()}const currentRef=$=>$.current??bug("ref unexpectedly unbound"),ConfirmationModal=reactExports.forwardRef(({title:$,buttonContent:_e,onSubmit:et,text:tt,children:nt},rt)=>{const ot=$??tt.areYouSure,[it,st]=reactExports.useState(!1),[at,ut]=reactExports.useState(),ft=reactExports.useRef(null);return reactExports.useImperativeHandle(rt,()=>({open:()=>{st(!1),ut(void 0),currentRef(ft).open()},done:()=>{var pt,ht;(ht=(pt=currentRef(ft)).close)==null||ht.call(pt)},reportError:pt=>{st(!1),ut(pt)}})),jsxs(Modal$1,{title:ot,closable:!it,ref:ft,text:tt,children:[nt,jsxs("form",{onSubmit:pt=>{pt.preventDefault(),pt.stopPropagation(),st(!0),ut(void 0),et==null||et()},css:{marginTop:32},children:[jsxs("div",{css:{display:"flex",gap:12,justifyContent:"center",flexWrap:"wrap"},children:[jsx$1(Button,{disabled:it,onClick:()=>{var pt,ht;return(ht=(pt=currentRef(ft)).close)==null?void 0:ht.call(pt)},children:tt.cancel}),jsx$1(Button,{disabled:it,type:"submit",kind:"danger",css:{whiteSpace:"normal"},children:_e})]}),it&&jsx$1("div",{css:{marginTop:16},children:jsx$1(Spinner,{size:20})})]}),boxError(at)]})}),ErrorBox=({children:$})=>jsx$1("div",{css:{marginTop:8},children:jsx$1(Card,{kind:"error",children:$})}),boxError=$=>$==null?null:jsx$1(ErrorBox,{children:$}),min$1=Math.min,max$1=Math.max,round$2=Math.round,floor=Math.floor,createCoords=$=>({x:$,y:$}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp($,_e,et){return max$1($,min$1(_e,et))}function evaluate($,_e){return typeof $=="function"?$(_e):$}function getSide($){return $.split("-")[0]}function getAlignment($){return $.split("-")[1]}function getOppositeAxis($){return $==="x"?"y":"x"}function getAxisLength($){return $==="y"?"height":"width"}function getSideAxis($){return["top","bottom"].includes(getSide($))?"y":"x"}function getAlignmentAxis($){return getOppositeAxis(getSideAxis($))}function getAlignmentSides($,_e,et){et===void 0&&(et=!1);const tt=getAlignment($),nt=getAlignmentAxis($),rt=getAxisLength(nt);let ot=nt==="x"?tt===(et?"end":"start")?"right":"left":tt==="start"?"bottom":"top";return _e.reference[rt]>_e.floating[rt]&&(ot=getOppositePlacement$1(ot)),[ot,getOppositePlacement$1(ot)]}function getExpandedPlacements($){const _e=getOppositePlacement$1($);return[getOppositeAlignmentPlacement($),_e,getOppositeAlignmentPlacement(_e)]}function getOppositeAlignmentPlacement($){return $.replace(/start|end/g,_e=>oppositeAlignmentMap[_e])}function getSideList($,_e,et){const tt=["left","right"],nt=["right","left"],rt=["top","bottom"],ot=["bottom","top"];switch($){case"top":case"bottom":return et?_e?nt:tt:_e?tt:nt;case"left":case"right":return _e?rt:ot;default:return[]}}function getOppositeAxisPlacements($,_e,et,tt){const nt=getAlignment($);let rt=getSideList(getSide($),et==="start",tt);return nt&&(rt=rt.map(ot=>ot+"-"+nt),_e&&(rt=rt.concat(rt.map(getOppositeAlignmentPlacement)))),rt}function getOppositePlacement$1($){return $.replace(/left|right|bottom|top/g,_e=>oppositeSideMap[_e])}function expandPaddingObject($){return{top:0,right:0,bottom:0,left:0,...$}}function getPaddingObject($){return typeof $!="number"?expandPaddingObject($):{top:$,right:$,bottom:$,left:$}}function rectToClientRect$1($){return{...$,top:$.y,left:$.x,right:$.x+$.width,bottom:$.y+$.height}}function computeCoordsFromPlacement($,_e,et){let{reference:tt,floating:nt}=$;const rt=getSideAxis(_e),ot=getAlignmentAxis(_e),it=getAxisLength(ot),st=getSide(_e),at=rt==="y",ut=tt.x+tt.width/2-nt.width/2,ft=tt.y+tt.height/2-nt.height/2,dt=tt[it]/2-nt[it]/2;let pt;switch(st){case"top":pt={x:ut,y:tt.y-nt.height};break;case"bottom":pt={x:ut,y:tt.y+tt.height};break;case"right":pt={x:tt.x+tt.width,y:ft};break;case"left":pt={x:tt.x-nt.width,y:ft};break;default:pt={x:tt.x,y:tt.y}}switch(getAlignment(_e)){case"start":pt[ot]-=dt*(et&&at?-1:1);break;case"end":pt[ot]+=dt*(et&&at?-1:1);break}return pt}const computePosition$1=async($,_e,et)=>{const{placement:tt="bottom",strategy:nt="absolute",middleware:rt=[],platform:ot}=et,it=rt.filter(Boolean),st=await(ot.isRTL==null?void 0:ot.isRTL(_e));let at=await ot.getElementRects({reference:$,floating:_e,strategy:nt}),{x:ut,y:ft}=computeCoordsFromPlacement(at,tt,st),dt=tt,pt={},ht=0;for(let gt=0;gt({name:"arrow",options:$,async fn(_e){const{x:et,y:tt,placement:nt,rects:rt,platform:ot,elements:it}=_e,{element:st,padding:at=0}=evaluate($,_e)||{};if(st==null)return{};const ut=getPaddingObject(at),ft={x:et,y:tt},dt=getAlignmentAxis(nt),pt=getAxisLength(dt),ht=await ot.getDimensions(st),gt=dt==="y",yt=gt?"top":"left",vt=gt?"bottom":"right",St=gt?"clientHeight":"clientWidth",Tt=rt.reference[pt]+rt.reference[dt]-ft[dt]-rt.floating[pt],$t=ft[dt]-rt.reference[dt],bt=await(ot.getOffsetParent==null?void 0:ot.getOffsetParent(st));let Ot=bt?bt[St]:0;(!Ot||!await(ot.isElement==null?void 0:ot.isElement(bt)))&&(Ot=it.floating[St]||rt.floating[pt]);const Et=Tt/2-$t/2,mt=Ot/2-ht[pt]/2-1,Ct=min$1(ut[yt],mt),wt=min$1(ut[vt],mt),Pt=Ct,Rt=Ot-ht[pt]-wt,At=Ot/2-ht[pt]/2+Et,It=clamp(Pt,At,Rt),Mt=getAlignment(nt)!=null&&At!=It&&rt.reference[pt]/2-(AtPt<=0)){var mt,Ct;const Pt=(((mt=nt.flip)==null?void 0:mt.index)||0)+1,Rt=$t[Pt];if(Rt)return{data:{index:Pt,overflows:Et},reset:{placement:Rt}};let At=(Ct=Et.filter(It=>It.overflows[0]<=0).sort((It,Nt)=>It.overflows[1]-Nt.overflows[1])[0])==null?void 0:Ct.placement;if(!At)switch(dt){case"bestFit":{var wt;const It=(wt=Et.map(Nt=>[Nt.placement,Nt.overflows.filter(Mt=>Mt>0).reduce((Mt,Dt)=>Mt+Dt,0)]).sort((Nt,Mt)=>Nt[1]-Mt[1])[0])==null?void 0:wt[0];It&&(At=It);break}case"initialPlacement":At=ot;break}if(tt!==At)return{reset:{placement:At}}}return{}}}};async function convertValueToCoords($,_e){const{placement:et,platform:tt,elements:nt}=$,rt=await(tt.isRTL==null?void 0:tt.isRTL(nt.floating)),ot=getSide(et),it=getAlignment(et),st=getSideAxis(et)==="y",at=["left","top"].includes(ot)?-1:1,ut=rt&&st?-1:1,ft=evaluate(_e,$);let{mainAxis:dt,crossAxis:pt,alignmentAxis:ht}=typeof ft=="number"?{mainAxis:ft,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...ft};return it&&typeof ht=="number"&&(pt=it==="end"?ht*-1:ht),st?{x:pt*ut,y:dt*at}:{x:dt*at,y:pt*ut}}const offset$3=function($){return $===void 0&&($=0),{name:"offset",options:$,async fn(_e){const{x:et,y:tt}=_e,nt=await convertValueToCoords(_e,$);return{x:et+nt.x,y:tt+nt.y,data:nt}}}},shift=function($){return $===void 0&&($={}),{name:"shift",options:$,async fn(_e){const{x:et,y:tt,placement:nt}=_e,{mainAxis:rt=!0,crossAxis:ot=!1,limiter:it={fn:yt=>{let{x:vt,y:St}=yt;return{x:vt,y:St}}},...st}=evaluate($,_e),at={x:et,y:tt},ut=await detectOverflow$1(_e,st),ft=getSideAxis(getSide(nt)),dt=getOppositeAxis(ft);let pt=at[dt],ht=at[ft];if(rt){const yt=dt==="y"?"top":"left",vt=dt==="y"?"bottom":"right",St=pt+ut[yt],Tt=pt-ut[vt];pt=clamp(St,pt,Tt)}if(ot){const yt=ft==="y"?"top":"left",vt=ft==="y"?"bottom":"right",St=ht+ut[yt],Tt=ht-ut[vt];ht=clamp(St,ht,Tt)}const gt=it.fn({..._e,[dt]:pt,[ft]:ht});return{...gt,data:{x:gt.x-et,y:gt.y-tt}}}}};function getNodeName$1($){return isNode($)?($.nodeName||"").toLowerCase():"#document"}function getWindow$2($){var _e;return($==null||(_e=$.ownerDocument)==null?void 0:_e.defaultView)||window}function getDocumentElement$1($){var _e;return(_e=(isNode($)?$.ownerDocument:$.document)||window.document)==null?void 0:_e.documentElement}function isNode($){return $ instanceof Node||$ instanceof getWindow$2($).Node}function isElement$2($){return $ instanceof Element||$ instanceof getWindow$2($).Element}function isHTMLElement$3($){return $ instanceof HTMLElement||$ instanceof getWindow$2($).HTMLElement}function isShadowRoot$2($){return typeof ShadowRoot>"u"?!1:$ instanceof ShadowRoot||$ instanceof getWindow$2($).ShadowRoot}function isOverflowElement($){const{overflow:_e,overflowX:et,overflowY:tt,display:nt}=getComputedStyle$2($);return/auto|scroll|overlay|hidden|clip/.test(_e+tt+et)&&!["inline","contents"].includes(nt)}function isTableElement$1($){return["table","td","th"].includes(getNodeName$1($))}function isContainingBlock($){const _e=isWebKit(),et=getComputedStyle$2($);return et.transform!=="none"||et.perspective!=="none"||(et.containerType?et.containerType!=="normal":!1)||!_e&&(et.backdropFilter?et.backdropFilter!=="none":!1)||!_e&&(et.filter?et.filter!=="none":!1)||["transform","perspective","filter"].some(tt=>(et.willChange||"").includes(tt))||["paint","layout","strict","content"].some(tt=>(et.contain||"").includes(tt))}function getContainingBlock$1($){let _e=getParentNode$1($);for(;isHTMLElement$3(_e)&&!isLastTraversableNode(_e);){if(isContainingBlock(_e))return _e;_e=getParentNode$1(_e)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode($){return["html","body","#document"].includes(getNodeName$1($))}function getComputedStyle$2($){return getWindow$2($).getComputedStyle($)}function getNodeScroll$1($){return isElement$2($)?{scrollLeft:$.scrollLeft,scrollTop:$.scrollTop}:{scrollLeft:$.pageXOffset,scrollTop:$.pageYOffset}}function getParentNode$1($){if(getNodeName$1($)==="html")return $;const _e=$.assignedSlot||$.parentNode||isShadowRoot$2($)&&$.host||getDocumentElement$1($);return isShadowRoot$2(_e)?_e.host:_e}function getNearestOverflowAncestor($){const _e=getParentNode$1($);return isLastTraversableNode(_e)?$.ownerDocument?$.ownerDocument.body:$.body:isHTMLElement$3(_e)&&isOverflowElement(_e)?_e:getNearestOverflowAncestor(_e)}function getOverflowAncestors($,_e){var et;_e===void 0&&(_e=[]);const tt=getNearestOverflowAncestor($),nt=tt===((et=$.ownerDocument)==null?void 0:et.body),rt=getWindow$2(tt);return nt?_e.concat(rt,rt.visualViewport||[],isOverflowElement(tt)?tt:[]):_e.concat(tt,getOverflowAncestors(tt))}function getCssDimensions($){const _e=getComputedStyle$2($);let et=parseFloat(_e.width)||0,tt=parseFloat(_e.height)||0;const nt=isHTMLElement$3($),rt=nt?$.offsetWidth:et,ot=nt?$.offsetHeight:tt,it=round$2(et)!==rt||round$2(tt)!==ot;return it&&(et=rt,tt=ot),{width:et,height:tt,$:it}}function unwrapElement($){return isElement$2($)?$:$.contextElement}function getScale$1($){const _e=unwrapElement($);if(!isHTMLElement$3(_e))return createCoords(1);const et=_e.getBoundingClientRect(),{width:tt,height:nt,$:rt}=getCssDimensions(_e);let ot=(rt?round$2(et.width):et.width)/tt,it=(rt?round$2(et.height):et.height)/nt;return(!ot||!Number.isFinite(ot))&&(ot=1),(!it||!Number.isFinite(it))&&(it=1),{x:ot,y:it}}const noOffsets=createCoords(0);function getVisualOffsets($){const _e=getWindow$2($);return!isWebKit()||!_e.visualViewport?noOffsets:{x:_e.visualViewport.offsetLeft,y:_e.visualViewport.offsetTop}}function shouldAddVisualOffsets($,_e,et){return _e===void 0&&(_e=!1),!et||_e&&et!==getWindow$2($)?!1:_e}function getBoundingClientRect$1($,_e,et,tt){_e===void 0&&(_e=!1),et===void 0&&(et=!1);const nt=$.getBoundingClientRect(),rt=unwrapElement($);let ot=createCoords(1);_e&&(tt?isElement$2(tt)&&(ot=getScale$1(tt)):ot=getScale$1($));const it=shouldAddVisualOffsets(rt,et,tt)?getVisualOffsets(rt):createCoords(0);let st=(nt.left+it.x)/ot.x,at=(nt.top+it.y)/ot.y,ut=nt.width/ot.x,ft=nt.height/ot.y;if(rt){const dt=getWindow$2(rt),pt=tt&&isElement$2(tt)?getWindow$2(tt):tt;let ht=dt.frameElement;for(;ht&&tt&&pt!==dt;){const gt=getScale$1(ht),yt=ht.getBoundingClientRect(),vt=getComputedStyle$2(ht),St=yt.left+(ht.clientLeft+parseFloat(vt.paddingLeft))*gt.x,Tt=yt.top+(ht.clientTop+parseFloat(vt.paddingTop))*gt.y;st*=gt.x,at*=gt.y,ut*=gt.x,ft*=gt.y,st+=St,at+=Tt,ht=getWindow$2(ht).frameElement}}return rectToClientRect$1({width:ut,height:ft,x:st,y:at})}function convertOffsetParentRelativeRectToViewportRelativeRect($){let{rect:_e,offsetParent:et,strategy:tt}=$;const nt=isHTMLElement$3(et),rt=getDocumentElement$1(et);if(et===rt)return _e;let ot={scrollLeft:0,scrollTop:0},it=createCoords(1);const st=createCoords(0);if((nt||!nt&&tt!=="fixed")&&((getNodeName$1(et)!=="body"||isOverflowElement(rt))&&(ot=getNodeScroll$1(et)),isHTMLElement$3(et))){const at=getBoundingClientRect$1(et);it=getScale$1(et),st.x=at.x+et.clientLeft,st.y=at.y+et.clientTop}return{width:_e.width*it.x,height:_e.height*it.y,x:_e.x*it.x-ot.scrollLeft*it.x+st.x,y:_e.y*it.y-ot.scrollTop*it.y+st.y}}function getClientRects($){return Array.from($.getClientRects())}function getWindowScrollBarX$1($){return getBoundingClientRect$1(getDocumentElement$1($)).left+getNodeScroll$1($).scrollLeft}function getDocumentRect$1($){const _e=getDocumentElement$1($),et=getNodeScroll$1($),tt=$.ownerDocument.body,nt=max$1(_e.scrollWidth,_e.clientWidth,tt.scrollWidth,tt.clientWidth),rt=max$1(_e.scrollHeight,_e.clientHeight,tt.scrollHeight,tt.clientHeight);let ot=-et.scrollLeft+getWindowScrollBarX$1($);const it=-et.scrollTop;return getComputedStyle$2(tt).direction==="rtl"&&(ot+=max$1(_e.clientWidth,tt.clientWidth)-nt),{width:nt,height:rt,x:ot,y:it}}function getViewportRect$1($,_e){const et=getWindow$2($),tt=getDocumentElement$1($),nt=et.visualViewport;let rt=tt.clientWidth,ot=tt.clientHeight,it=0,st=0;if(nt){rt=nt.width,ot=nt.height;const at=isWebKit();(!at||at&&_e==="fixed")&&(it=nt.offsetLeft,st=nt.offsetTop)}return{width:rt,height:ot,x:it,y:st}}function getInnerBoundingClientRect$1($,_e){const et=getBoundingClientRect$1($,!0,_e==="fixed"),tt=et.top+$.clientTop,nt=et.left+$.clientLeft,rt=isHTMLElement$3($)?getScale$1($):createCoords(1),ot=$.clientWidth*rt.x,it=$.clientHeight*rt.y,st=nt*rt.x,at=tt*rt.y;return{width:ot,height:it,x:st,y:at}}function getClientRectFromClippingAncestor($,_e,et){let tt;if(_e==="viewport")tt=getViewportRect$1($,et);else if(_e==="document")tt=getDocumentRect$1(getDocumentElement$1($));else if(isElement$2(_e))tt=getInnerBoundingClientRect$1(_e,et);else{const nt=getVisualOffsets($);tt={..._e,x:_e.x-nt.x,y:_e.y-nt.y}}return rectToClientRect$1(tt)}function hasFixedPositionAncestor($,_e){const et=getParentNode$1($);return et===_e||!isElement$2(et)||isLastTraversableNode(et)?!1:getComputedStyle$2(et).position==="fixed"||hasFixedPositionAncestor(et,_e)}function getClippingElementAncestors($,_e){const et=_e.get($);if(et)return et;let tt=getOverflowAncestors($).filter(it=>isElement$2(it)&&getNodeName$1(it)!=="body"),nt=null;const rt=getComputedStyle$2($).position==="fixed";let ot=rt?getParentNode$1($):$;for(;isElement$2(ot)&&!isLastTraversableNode(ot);){const it=getComputedStyle$2(ot),st=isContainingBlock(ot);!st&&it.position==="fixed"&&(nt=null),(rt?!st&&!nt:!st&&it.position==="static"&&!!nt&&["absolute","fixed"].includes(nt.position)||isOverflowElement(ot)&&!st&&hasFixedPositionAncestor($,ot))?tt=tt.filter(ut=>ut!==ot):nt=it,ot=getParentNode$1(ot)}return _e.set($,tt),tt}function getClippingRect$1($){let{element:_e,boundary:et,rootBoundary:tt,strategy:nt}=$;const ot=[...et==="clippingAncestors"?getClippingElementAncestors(_e,this._c):[].concat(et),tt],it=ot[0],st=ot.reduce((at,ut)=>{const ft=getClientRectFromClippingAncestor(_e,ut,nt);return at.top=max$1(ft.top,at.top),at.right=min$1(ft.right,at.right),at.bottom=min$1(ft.bottom,at.bottom),at.left=max$1(ft.left,at.left),at},getClientRectFromClippingAncestor(_e,it,nt));return{width:st.right-st.left,height:st.bottom-st.top,x:st.left,y:st.top}}function getDimensions($){return getCssDimensions($)}function getRectRelativeToOffsetParent($,_e,et){const tt=isHTMLElement$3(_e),nt=getDocumentElement$1(_e),rt=et==="fixed",ot=getBoundingClientRect$1($,!0,rt,_e);let it={scrollLeft:0,scrollTop:0};const st=createCoords(0);if(tt||!tt&&!rt)if((getNodeName$1(_e)!=="body"||isOverflowElement(nt))&&(it=getNodeScroll$1(_e)),tt){const at=getBoundingClientRect$1(_e,!0,rt,_e);st.x=at.x+_e.clientLeft,st.y=at.y+_e.clientTop}else nt&&(st.x=getWindowScrollBarX$1(nt));return{x:ot.left+it.scrollLeft-st.x,y:ot.top+it.scrollTop-st.y,width:ot.width,height:ot.height}}function getTrueOffsetParent$1($,_e){return!isHTMLElement$3($)||getComputedStyle$2($).position==="fixed"?null:_e?_e($):$.offsetParent}function getOffsetParent$1($,_e){const et=getWindow$2($);if(!isHTMLElement$3($))return et;let tt=getTrueOffsetParent$1($,_e);for(;tt&&isTableElement$1(tt)&&getComputedStyle$2(tt).position==="static";)tt=getTrueOffsetParent$1(tt,_e);return tt&&(getNodeName$1(tt)==="html"||getNodeName$1(tt)==="body"&&getComputedStyle$2(tt).position==="static"&&!isContainingBlock(tt))?et:tt||getContainingBlock$1($)||et}const getElementRects=async function($){let{reference:_e,floating:et,strategy:tt}=$;const nt=this.getOffsetParent||getOffsetParent$1,rt=this.getDimensions;return{reference:getRectRelativeToOffsetParent(_e,await nt(et),tt),floating:{x:0,y:0,...await rt(et)}}};function isRTL($){return getComputedStyle$2($).direction==="rtl"}const platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement:getDocumentElement$1,getClippingRect:getClippingRect$1,getOffsetParent:getOffsetParent$1,getElementRects,getClientRects,getDimensions,getScale:getScale$1,isElement:isElement$2,isRTL};function observeMove($,_e){let et=null,tt;const nt=getDocumentElement$1($);function rt(){clearTimeout(tt),et&&et.disconnect(),et=null}function ot(it,st){it===void 0&&(it=!1),st===void 0&&(st=1),rt();const{left:at,top:ut,width:ft,height:dt}=$.getBoundingClientRect();if(it||_e(),!ft||!dt)return;const pt=floor(ut),ht=floor(nt.clientWidth-(at+ft)),gt=floor(nt.clientHeight-(ut+dt)),yt=floor(at),St={rootMargin:-pt+"px "+-ht+"px "+-gt+"px "+-yt+"px",threshold:max$1(0,min$1(1,st))||1};let Tt=!0;function $t(bt){const Ot=bt[0].intersectionRatio;if(Ot!==st){if(!Tt)return ot();Ot?ot(!1,Ot):tt=setTimeout(()=>{ot(!1,1e-7)},100)}Tt=!1}try{et=new IntersectionObserver($t,{...St,root:nt.ownerDocument})}catch{et=new IntersectionObserver($t,St)}et.observe($)}return ot(!0),rt}function autoUpdate($,_e,et,tt){tt===void 0&&(tt={});const{ancestorScroll:nt=!0,ancestorResize:rt=!0,elementResize:ot=typeof ResizeObserver=="function",layoutShift:it=typeof IntersectionObserver=="function",animationFrame:st=!1}=tt,at=unwrapElement($),ut=nt||rt?[...at?getOverflowAncestors(at):[],...getOverflowAncestors(_e)]:[];ut.forEach(vt=>{nt&&vt.addEventListener("scroll",et,{passive:!0}),rt&&vt.addEventListener("resize",et)});const ft=at&&it?observeMove(at,et):null;let dt=-1,pt=null;ot&&(pt=new ResizeObserver(vt=>{let[St]=vt;St&&St.target===at&&pt&&(pt.unobserve(_e),cancelAnimationFrame(dt),dt=requestAnimationFrame(()=>{pt&&pt.observe(_e)})),et()}),at&&!st&&pt.observe(at),pt.observe(_e));let ht,gt=st?getBoundingClientRect$1($):null;st&&yt();function yt(){const vt=getBoundingClientRect$1($);gt&&(vt.x!==gt.x||vt.y!==gt.y||vt.width!==gt.width||vt.height!==gt.height)&&et(),gt=vt,ht=requestAnimationFrame(yt)}return et(),()=>{ut.forEach(vt=>{nt&&vt.removeEventListener("scroll",et),rt&&vt.removeEventListener("resize",et)}),ft&&ft(),pt&&pt.disconnect(),pt=null,st&&cancelAnimationFrame(ht)}}const computePosition=($,_e,et)=>{const tt=new Map,nt={platform,...et},rt={...nt.platform,_c:tt};return computePosition$1($,_e,{...nt,platform:rt})},arrow$2=$=>{function _e(et){return{}.hasOwnProperty.call(et,"current")}return{name:"arrow",options:$,fn(et){const{element:tt,padding:nt}=typeof $=="function"?$(et):$;return tt&&_e(tt)?tt.current!=null?arrow$3({element:tt.current,padding:nt}).fn(et):{}:tt?arrow$3({element:tt,padding:nt}).fn(et):{}}}};var index$2=typeof document<"u"?reactExports.useLayoutEffect:reactExports.useEffect;function deepEqual$1($,_e){if($===_e)return!0;if(typeof $!=typeof _e)return!1;if(typeof $=="function"&&$.toString()===_e.toString())return!0;let et,tt,nt;if($&&_e&&typeof $=="object"){if(Array.isArray($)){if(et=$.length,et!==_e.length)return!1;for(tt=et;tt--!==0;)if(!deepEqual$1($[tt],_e[tt]))return!1;return!0}if(nt=Object.keys($),et=nt.length,et!==Object.keys(_e).length)return!1;for(tt=et;tt--!==0;)if(!{}.hasOwnProperty.call(_e,nt[tt]))return!1;for(tt=et;tt--!==0;){const rt=nt[tt];if(!(rt==="_owner"&&$.$$typeof)&&!deepEqual$1($[rt],_e[rt]))return!1}return!0}return $!==$&&_e!==_e}function getDPR($){return typeof window>"u"?1:($.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR($,_e){const et=getDPR($);return Math.round(_e*et)/et}function useLatestRef$1($){const _e=reactExports.useRef($);return index$2(()=>{_e.current=$}),_e}function useFloating$1($){$===void 0&&($={});const{placement:_e="bottom",strategy:et="absolute",middleware:tt=[],platform:nt,elements:{reference:rt,floating:ot}={},transform:it=!0,whileElementsMounted:st,open:at}=$,[ut,ft]=reactExports.useState({x:0,y:0,strategy:et,placement:_e,middlewareData:{},isPositioned:!1}),[dt,pt]=reactExports.useState(tt);deepEqual$1(dt,tt)||pt(tt);const[ht,gt]=reactExports.useState(null),[yt,vt]=reactExports.useState(null),St=reactExports.useCallback(Dt=>{Dt!==Ot.current&&(Ot.current=Dt,gt(Dt))},[]),Tt=reactExports.useCallback(Dt=>{Dt!==Et.current&&(Et.current=Dt,vt(Dt))},[]),$t=rt||ht,bt=ot||yt,Ot=reactExports.useRef(null),Et=reactExports.useRef(null),mt=reactExports.useRef(ut),Ct=st!=null,wt=useLatestRef$1(st),Pt=useLatestRef$1(nt),Rt=reactExports.useCallback(()=>{if(!Ot.current||!Et.current)return;const Dt={placement:_e,strategy:et,middleware:dt};Pt.current&&(Dt.platform=Pt.current),computePosition(Ot.current,Et.current,Dt).then(Lt=>{const Ft={...Lt,isPositioned:!0};At.current&&!deepEqual$1(mt.current,Ft)&&(mt.current=Ft,reactDomExports.flushSync(()=>{ft(Ft)}))})},[dt,_e,et,Pt]);index$2(()=>{at===!1&&mt.current.isPositioned&&(mt.current.isPositioned=!1,ft(Dt=>({...Dt,isPositioned:!1})))},[at]);const At=reactExports.useRef(!1);index$2(()=>(At.current=!0,()=>{At.current=!1}),[]),index$2(()=>{if($t&&(Ot.current=$t),bt&&(Et.current=bt),$t&&bt){if(wt.current)return wt.current($t,bt,Rt);Rt()}},[$t,bt,Rt,wt,Ct]);const It=reactExports.useMemo(()=>({reference:Ot,floating:Et,setReference:St,setFloating:Tt}),[St,Tt]),Nt=reactExports.useMemo(()=>({reference:$t,floating:bt}),[$t,bt]),Mt=reactExports.useMemo(()=>{const Dt={position:et,left:0,top:0};if(!Nt.floating)return Dt;const Lt=roundByDPR(Nt.floating,ut.x),Ft=roundByDPR(Nt.floating,ut.y);return it?{...Dt,transform:"translate("+Lt+"px, "+Ft+"px)",...getDPR(Nt.floating)>=1.5&&{willChange:"transform"}}:{position:et,left:Lt,top:Ft}},[et,it,Nt.floating,ut.x,ut.y]);return reactExports.useMemo(()=>({...ut,update:Rt,refs:It,elements:Nt,floatingStyles:Mt}),[ut,Rt,It,Nt,Mt])}/*! +* tabbable 6.2.0 +* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE +*/var candidateSelectors=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],candidateSelector=candidateSelectors.join(","),NoElement=typeof Element>"u",matches=NoElement?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,getRootNode=!NoElement&&Element.prototype.getRootNode?function($){var _e;return $==null||(_e=$.getRootNode)===null||_e===void 0?void 0:_e.call($)}:function($){return $==null?void 0:$.ownerDocument},isInert=function $(_e,et){var tt;et===void 0&&(et=!0);var nt=_e==null||(tt=_e.getAttribute)===null||tt===void 0?void 0:tt.call(_e,"inert"),rt=nt===""||nt==="true",ot=rt||et&&_e&&$(_e.parentNode);return ot},isContentEditable=function $(_e){var et,tt=_e==null||(et=_e.getAttribute)===null||et===void 0?void 0:et.call(_e,"contenteditable");return tt===""||tt==="true"},getCandidates=function $(_e,et,tt){if(isInert(_e))return[];var nt=Array.prototype.slice.apply(_e.querySelectorAll(candidateSelector));return et&&matches.call(_e,candidateSelector)&&nt.unshift(_e),nt=nt.filter(tt),nt},getCandidatesIteratively=function $(_e,et,tt){for(var nt=[],rt=Array.from(_e);rt.length;){var ot=rt.shift();if(!isInert(ot,!1))if(ot.tagName==="SLOT"){var it=ot.assignedElements(),st=it.length?it:ot.children,at=$(st,!0,tt);tt.flatten?nt.push.apply(nt,at):nt.push({scopeParent:ot,candidates:at})}else{var ut=matches.call(ot,candidateSelector);ut&&tt.filter(ot)&&(et||!_e.includes(ot))&&nt.push(ot);var ft=ot.shadowRoot||typeof tt.getShadowRoot=="function"&&tt.getShadowRoot(ot),dt=!isInert(ft,!1)&&(!tt.shadowRootFilter||tt.shadowRootFilter(ot));if(ft&&dt){var pt=$(ft===!0?ot.children:ft.children,!0,tt);tt.flatten?nt.push.apply(nt,pt):nt.push({scopeParent:ot,candidates:pt})}else rt.unshift.apply(rt,ot.children)}}return nt},hasTabIndex=function $(_e){return!isNaN(parseInt(_e.getAttribute("tabindex"),10))},getTabIndex$1=function $(_e){if(!_e)throw new Error("No node provided");return _e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(_e.tagName)||isContentEditable(_e))&&!hasTabIndex(_e)?0:_e.tabIndex},getSortOrderTabIndex=function $(_e,et){var tt=getTabIndex$1(_e);return tt<0&&et&&!hasTabIndex(_e)?0:tt},sortOrderedTabbables=function $(_e,et){return _e.tabIndex===et.tabIndex?_e.documentOrder-et.documentOrder:_e.tabIndex-et.tabIndex},isInput=function $(_e){return _e.tagName==="INPUT"},isHiddenInput=function $(_e){return isInput(_e)&&_e.type==="hidden"},isDetailsWithSummary=function $(_e){var et=_e.tagName==="DETAILS"&&Array.prototype.slice.apply(_e.children).some(function(tt){return tt.tagName==="SUMMARY"});return et},getCheckedRadio=function $(_e,et){for(var tt=0;tt<_e.length;tt++)if(_e[tt].checked&&_e[tt].form===et)return _e[tt]},isTabbableRadio=function $(_e){if(!_e.name)return!0;var et=_e.form||getRootNode(_e),tt=function(it){return et.querySelectorAll('input[type="radio"][name="'+it+'"]')},nt;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")nt=tt(window.CSS.escape(_e.name));else try{nt=tt(_e.name)}catch(ot){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",ot.message),!1}var rt=getCheckedRadio(nt,_e.form);return!rt||rt===_e},isRadio=function $(_e){return isInput(_e)&&_e.type==="radio"},isNonTabbableRadio$1=function $(_e){return isRadio(_e)&&!isTabbableRadio(_e)},isNodeAttached=function $(_e){var et,tt=_e&&getRootNode(_e),nt=(et=tt)===null||et===void 0?void 0:et.host,rt=!1;if(tt&&tt!==_e){var ot,it,st;for(rt=!!((ot=nt)!==null&&ot!==void 0&&(it=ot.ownerDocument)!==null&&it!==void 0&&it.contains(nt)||_e!=null&&(st=_e.ownerDocument)!==null&&st!==void 0&&st.contains(_e));!rt&&nt;){var at,ut,ft;tt=getRootNode(nt),nt=(at=tt)===null||at===void 0?void 0:at.host,rt=!!((ut=nt)!==null&&ut!==void 0&&(ft=ut.ownerDocument)!==null&&ft!==void 0&&ft.contains(nt))}}return rt},isZeroArea=function $(_e){var et=_e.getBoundingClientRect(),tt=et.width,nt=et.height;return tt===0&&nt===0},isHidden=function $(_e,et){var tt=et.displayCheck,nt=et.getShadowRoot;if(getComputedStyle(_e).visibility==="hidden")return!0;var rt=matches.call(_e,"details>summary:first-of-type"),ot=rt?_e.parentElement:_e;if(matches.call(ot,"details:not([open]) *"))return!0;if(!tt||tt==="full"||tt==="legacy-full"){if(typeof nt=="function"){for(var it=_e;_e;){var st=_e.parentElement,at=getRootNode(_e);if(st&&!st.shadowRoot&&nt(st)===!0)return isZeroArea(_e);_e.assignedSlot?_e=_e.assignedSlot:!st&&at!==_e.ownerDocument?_e=at.host:_e=st}_e=it}if(isNodeAttached(_e))return!_e.getClientRects().length;if(tt!=="legacy-full")return!0}else if(tt==="non-zero-area")return isZeroArea(_e);return!1},isDisabledFromFieldset=function $(_e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(_e.tagName))for(var et=_e.parentElement;et;){if(et.tagName==="FIELDSET"&&et.disabled){for(var tt=0;tt=0)},sortByOrder=function $(_e){var et=[],tt=[];return _e.forEach(function(nt,rt){var ot=!!nt.scopeParent,it=ot?nt.scopeParent:nt,st=getSortOrderTabIndex(it,ot),at=ot?$(nt.candidates):it;st===0?ot?et.push.apply(et,at):et.push(it):tt.push({documentOrder:rt,tabIndex:st,item:nt,isScope:ot,content:at})}),tt.sort(sortOrderedTabbables).reduce(function(nt,rt){return rt.isScope?nt.push.apply(nt,rt.content):nt.push(rt.content),nt},[]).concat(et)},tabbable=function $(_e,et){et=et||{};var tt;return et.getShadowRoot?tt=getCandidatesIteratively([_e],et.includeContainer,{filter:isNodeMatchingSelectorTabbable.bind(null,et),flatten:!1,getShadowRoot:et.getShadowRoot,shadowRootFilter:isValidShadowRootTabbable}):tt=getCandidates(_e,et.includeContainer,isNodeMatchingSelectorTabbable.bind(null,et)),sortByOrder(tt)},focusable=function $(_e,et){et=et||{};var tt;return et.getShadowRoot?tt=getCandidatesIteratively([_e],et.includeContainer,{filter:isNodeMatchingSelectorFocusable$1.bind(null,et),flatten:!0,getShadowRoot:et.getShadowRoot}):tt=getCandidates(_e,et.includeContainer,isNodeMatchingSelectorFocusable$1.bind(null,et)),tt},isTabbable=function $(_e,et){if(et=et||{},!_e)throw new Error("No node provided");return matches.call(_e,candidateSelector)===!1?!1:isNodeMatchingSelectorTabbable(et,_e)},focusableCandidateSelector=candidateSelectors.concat("iframe").join(","),isFocusable$2=function $(_e,et){if(et=et||{},!_e)throw new Error("No node provided");return matches.call(_e,focusableCandidateSelector)===!1?!1:isNodeMatchingSelectorFocusable$1(et,_e)};const index_esm=Object.freeze(Object.defineProperty({__proto__:null,focusable,getTabIndex:getTabIndex$1,isFocusable:isFocusable$2,isTabbable,tabbable},Symbol.toStringTag,{value:"Module"}));var index$1=typeof document<"u"?reactExports.useLayoutEffect:reactExports.useEffect;let serverHandoffComplete=!1,count=0;const genId=()=>"floating-ui-"+count++;function useFloatingId(){const[$,_e]=reactExports.useState(()=>serverHandoffComplete?genId():void 0);return index$1(()=>{$==null&&_e(genId())},[]),reactExports.useEffect(()=>{serverHandoffComplete||(serverHandoffComplete=!0)},[]),$}const useReactId=React$8.useId,useId=useReactId||useFloatingId;function createPubSub(){const $=new Map;return{emit(_e,et){var tt;(tt=$.get(_e))==null||tt.forEach(nt=>nt(et))},on(_e,et){$.set(_e,[...$.get(_e)||[],et])},off(_e,et){var tt;$.set(_e,((tt=$.get(_e))==null?void 0:tt.filter(nt=>nt!==et))||[])}}}const FloatingNodeContext=reactExports.createContext(null),FloatingTreeContext=reactExports.createContext(null),useFloatingParentNodeId=()=>{var $;return(($=reactExports.useContext(FloatingNodeContext))==null?void 0:$.id)||null},useFloatingTree=()=>reactExports.useContext(FloatingTreeContext);function getDocument($){return($==null?void 0:$.ownerDocument)||document}function getPlatform(){const $=navigator.userAgentData;return $!=null&&$.platform?$.platform:navigator.platform}function getUserAgent(){const $=navigator.userAgentData;return $&&Array.isArray($.brands)?$.brands.map(_e=>{let{brand:et,version:tt}=_e;return et+"/"+tt}).join(" "):navigator.userAgent}function getWindow$1($){return getDocument($).defaultView||window}function isElement$1($){return $?$ instanceof Element||$ instanceof getWindow$1($).Element:!1}function isHTMLElement$2($){return $?$ instanceof HTMLElement||$ instanceof getWindow$1($).HTMLElement:!1}function isShadowRoot$1($){if(typeof ShadowRoot>"u")return!1;const _e=getWindow$1($).ShadowRoot;return $ instanceof _e||$ instanceof ShadowRoot}function isVirtualClick($){if($.mozInputSource===0&&$.isTrusted)return!0;const _e=/Android/i;return(_e.test(getPlatform())||_e.test(getUserAgent()))&&$.pointerType?$.type==="click"&&$.buttons===1:$.detail===0&&!$.pointerType}function isVirtualPointerEvent($){return $.width===0&&$.height===0||$.width===1&&$.height===1&&$.pressure===0&&$.detail===0&&$.pointerType!=="mouse"||$.width<1&&$.height<1&&$.pressure===0&&$.detail===0}function isSafari$1(){return/apple/i.test(navigator.vendor)}function isMac$1(){return getPlatform().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function isMouseLikePointerType($,_e){const et=["mouse","pen"];return _e||et.push("",void 0),et.includes($)}function isReactEvent($){return"nativeEvent"in $}function contains$1($,_e){if(!$||!_e)return!1;const et=_e.getRootNode&&_e.getRootNode();if($.contains(_e))return!0;if(et&&isShadowRoot$1(et)){let tt=_e;for(;tt;){if($===tt)return!0;tt=tt.parentNode||tt.host}}return!1}function createAttribute($){return"data-floating-ui-"+$}function useLatestRef($){const _e=reactExports.useRef($);return index$1(()=>{_e.current=$}),_e}const safePolygonIdentifier=createAttribute("safe-polygon");function getDelay($,_e,et){return et&&!isMouseLikePointerType(et)?0:typeof $=="number"?$:$==null?void 0:$[_e]}function useHover($,_e){_e===void 0&&(_e={});const{open:et,onOpenChange:tt,dataRef:nt,events:rt,elements:{domReference:ot,floating:it},refs:st}=$,{enabled:at=!0,delay:ut=0,handleClose:ft=null,mouseOnly:dt=!1,restMs:pt=0,move:ht=!0}=_e,gt=useFloatingTree(),yt=useFloatingParentNodeId(),vt=useLatestRef(ft),St=useLatestRef(ut),Tt=reactExports.useRef(),$t=reactExports.useRef(),bt=reactExports.useRef(),Ot=reactExports.useRef(),Et=reactExports.useRef(!0),mt=reactExports.useRef(!1),Ct=reactExports.useRef(()=>{}),wt=reactExports.useCallback(()=>{var It;const Nt=(It=nt.current.openEvent)==null?void 0:It.type;return(Nt==null?void 0:Nt.includes("mouse"))&&Nt!=="mousedown"},[nt]);reactExports.useEffect(()=>{if(!at)return;function It(){clearTimeout($t.current),clearTimeout(Ot.current),Et.current=!0}return rt.on("dismiss",It),()=>{rt.off("dismiss",It)}},[at,rt]),reactExports.useEffect(()=>{if(!at||!vt.current||!et)return;function It(Mt){wt()&&tt(!1,Mt)}const Nt=getDocument(it).documentElement;return Nt.addEventListener("mouseleave",It),()=>{Nt.removeEventListener("mouseleave",It)}},[it,et,tt,at,vt,nt,wt]);const Pt=reactExports.useCallback(function(It,Nt){Nt===void 0&&(Nt=!0);const Mt=getDelay(St.current,"close",Tt.current);Mt&&!bt.current?(clearTimeout($t.current),$t.current=setTimeout(()=>tt(!1,It),Mt)):Nt&&(clearTimeout($t.current),tt(!1,It))},[St,tt]),Rt=reactExports.useCallback(()=>{Ct.current(),bt.current=void 0},[]),At=reactExports.useCallback(()=>{if(mt.current){const It=getDocument(st.floating.current).body;It.style.pointerEvents="",It.removeAttribute(safePolygonIdentifier),mt.current=!1}},[st]);return reactExports.useEffect(()=>{if(!at)return;function It(){return nt.current.openEvent?["click","mousedown"].includes(nt.current.openEvent.type):!1}function Nt(Lt){if(clearTimeout($t.current),Et.current=!1,dt&&!isMouseLikePointerType(Tt.current)||pt>0&&getDelay(St.current,"open")===0)return;const Ft=getDelay(St.current,"open",Tt.current);Ft?$t.current=setTimeout(()=>{tt(!0,Lt)},Ft):tt(!0,Lt)}function Mt(Lt){if(It())return;Ct.current();const Ft=getDocument(it);if(clearTimeout(Ot.current),vt.current){et||clearTimeout($t.current),bt.current=vt.current({...$,tree:gt,x:Lt.clientX,y:Lt.clientY,onClose(){At(),Rt(),Pt(Lt)}});const Ut=bt.current;Ft.addEventListener("mousemove",Ut),Ct.current=()=>{Ft.removeEventListener("mousemove",Ut)};return}(Tt.current==="touch"?!contains$1(it,Lt.relatedTarget):!0)&&Pt(Lt)}function Dt(Lt){It()||vt.current==null||vt.current({...$,tree:gt,x:Lt.clientX,y:Lt.clientY,onClose(){At(),Rt(),Pt(Lt)}})(Lt)}if(isElement$1(ot)){const Lt=ot;return et&&Lt.addEventListener("mouseleave",Dt),it==null||it.addEventListener("mouseleave",Dt),ht&&Lt.addEventListener("mousemove",Nt,{once:!0}),Lt.addEventListener("mouseenter",Nt),Lt.addEventListener("mouseleave",Mt),()=>{et&&Lt.removeEventListener("mouseleave",Dt),it==null||it.removeEventListener("mouseleave",Dt),ht&&Lt.removeEventListener("mousemove",Nt),Lt.removeEventListener("mouseenter",Nt),Lt.removeEventListener("mouseleave",Mt)}}},[ot,it,at,$,dt,pt,ht,Pt,Rt,At,tt,et,gt,St,vt,nt]),index$1(()=>{var It;if(at&&et&&(It=vt.current)!=null&&It.__options.blockPointerEvents&&wt()){const Dt=getDocument(it).body;if(Dt.setAttribute(safePolygonIdentifier,""),Dt.style.pointerEvents="none",mt.current=!0,isElement$1(ot)&&it){var Nt,Mt;const Lt=ot,Ft=gt==null||(Nt=gt.nodesRef.current.find(Bt=>Bt.id===yt))==null||(Mt=Nt.context)==null?void 0:Mt.elements.floating;return Ft&&(Ft.style.pointerEvents=""),Lt.style.pointerEvents="auto",it.style.pointerEvents="auto",()=>{Lt.style.pointerEvents="",it.style.pointerEvents=""}}}},[at,et,yt,it,ot,gt,vt,nt,wt]),index$1(()=>{et||(Tt.current=void 0,Rt(),At())},[et,Rt,At]),reactExports.useEffect(()=>()=>{Rt(),clearTimeout($t.current),clearTimeout(Ot.current),At()},[at,Rt,At]),reactExports.useMemo(()=>{if(!at)return{};function It(Nt){Tt.current=Nt.pointerType}return{reference:{onPointerDown:It,onPointerEnter:It,onMouseMove(Nt){et||pt===0||(clearTimeout(Ot.current),Ot.current=setTimeout(()=>{Et.current||tt(!0,Nt.nativeEvent)},pt))}},floating:{onMouseEnter(){clearTimeout($t.current)},onMouseLeave(Nt){rt.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),Pt(Nt.nativeEvent,!1)}}}},[rt,at,pt,et,tt,Pt])}function activeElement($){let _e=$.activeElement;for(;((et=_e)==null||(tt=et.shadowRoot)==null?void 0:tt.activeElement)!=null;){var et,tt;_e=_e.shadowRoot.activeElement}return _e}let rafId=0;function enqueueFocus($,_e){_e===void 0&&(_e={});const{preventScroll:et=!1,cancelPrevious:tt=!0,sync:nt=!1}=_e;tt&&cancelAnimationFrame(rafId);const rt=()=>$==null?void 0:$.focus({preventScroll:et});nt?rt():rafId=requestAnimationFrame(rt)}function getChildren$1($,_e){let et=$.filter(nt=>{var rt;return nt.parentId===_e&&((rt=nt.context)==null?void 0:rt.open)}),tt=et;for(;tt.length;)tt=$.filter(nt=>{var rt;return(rt=tt)==null?void 0:rt.some(ot=>{var it;return nt.parentId===ot.id&&((it=nt.context)==null?void 0:it.open)})}),et=et.concat(tt);return et}function getTarget($){return"composedPath"in $?$.composedPath()[0]:$.target}const TYPEABLE_SELECTOR="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function isTypeableElement($){return isHTMLElement$2($)&&$.matches(TYPEABLE_SELECTOR)}function stopEvent($){$.preventDefault(),$.stopPropagation()}function isButtonTarget($){return isHTMLElement$2($.target)&&$.target.tagName==="BUTTON"}function isSpaceIgnored($){return isTypeableElement($)}function useClick($,_e){_e===void 0&&(_e={});const{open:et,onOpenChange:tt,dataRef:nt,elements:{domReference:rt}}=$,{enabled:ot=!0,event:it="click",toggle:st=!0,ignoreMouse:at=!1,keyboardHandlers:ut=!0}=_e,ft=reactExports.useRef(),dt=reactExports.useRef(!1);return reactExports.useMemo(()=>ot?{reference:{onPointerDown(pt){ft.current=pt.pointerType},onMouseDown(pt){pt.button===0&&(isMouseLikePointerType(ft.current,!0)&&at||it!=="click"&&(et&&st&&(!nt.current.openEvent||nt.current.openEvent.type==="mousedown")?tt(!1,pt.nativeEvent):(pt.preventDefault(),tt(!0,pt.nativeEvent))))},onClick(pt){if(it==="mousedown"&&ft.current){ft.current=void 0;return}isMouseLikePointerType(ft.current,!0)&&at||(et&&st&&(!nt.current.openEvent||nt.current.openEvent.type==="click")?tt(!1,pt.nativeEvent):tt(!0,pt.nativeEvent))},onKeyDown(pt){ft.current=void 0,!(pt.defaultPrevented||!ut||isButtonTarget(pt))&&(pt.key===" "&&!isSpaceIgnored(rt)&&(pt.preventDefault(),dt.current=!0),pt.key==="Enter"&&tt(!(et&&st),pt.nativeEvent))},onKeyUp(pt){pt.defaultPrevented||!ut||isButtonTarget(pt)||isSpaceIgnored(rt)||pt.key===" "&&dt.current&&(dt.current=!1,tt(!(et&&st),pt.nativeEvent))}}}:{},[ot,nt,it,at,ut,rt,st,et,tt])}const useInsertionEffect=React$8.useInsertionEffect,useSafeInsertionEffect=useInsertionEffect||($=>$());function useEffectEvent($){const _e=reactExports.useRef(()=>{});return useSafeInsertionEffect(()=>{_e.current=$}),reactExports.useCallback(function(){for(var et=arguments.length,tt=new Array(et),nt=0;nt{var _e,et;return{escapeKeyBubbles:typeof $=="boolean"?$:(_e=$==null?void 0:$.escapeKey)!=null?_e:!1,outsidePressBubbles:typeof $=="boolean"?$:(et=$==null?void 0:$.outsidePress)!=null?et:!0}};function useDismiss($,_e){_e===void 0&&(_e={});const{open:et,onOpenChange:tt,events:nt,nodeId:rt,elements:{reference:ot,domReference:it,floating:st},dataRef:at}=$,{enabled:ut=!0,escapeKey:ft=!0,outsidePress:dt=!0,outsidePressEvent:pt="pointerdown",referencePress:ht=!1,referencePressEvent:gt="pointerdown",ancestorScroll:yt=!1,bubbles:vt}=_e,St=useFloatingTree(),Tt=useFloatingParentNodeId()!=null,$t=useEffectEvent(typeof dt=="function"?dt:()=>!1),bt=typeof dt=="function"?$t:dt,Ot=reactExports.useRef(!1),{escapeKeyBubbles:Et,outsidePressBubbles:mt}=normalizeBubblesProp(vt),Ct=useEffectEvent(Pt=>{if(!et||!ut||!ft||Pt.key!=="Escape")return;const Rt=St?getChildren$1(St.nodesRef.current,rt):[];if(!Et&&(Pt.stopPropagation(),Rt.length>0)){let At=!0;if(Rt.forEach(It=>{var Nt;if((Nt=It.context)!=null&&Nt.open&&!It.context.dataRef.current.__escapeKeyBubbles){At=!1;return}}),!At)return}nt.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),tt(!1,isReactEvent(Pt)?Pt.nativeEvent:Pt)}),wt=useEffectEvent(Pt=>{const Rt=Ot.current;if(Ot.current=!1,Rt||typeof bt=="function"&&!bt(Pt))return;const At=getTarget(Pt);if(isHTMLElement$2(At)&&st){const Mt=At.clientWidth>0&&At.scrollWidth>At.clientWidth,Dt=At.clientHeight>0&&At.scrollHeight>At.clientHeight;let Lt=Dt&&Pt.offsetX>At.clientWidth;if(Dt&&getWindow$1(st).getComputedStyle(At).direction==="rtl"&&(Lt=Pt.offsetX<=At.offsetWidth-At.clientWidth),Lt||Mt&&Pt.offsetY>At.clientHeight)return}const It=St&&getChildren$1(St.nodesRef.current,rt).some(Mt=>{var Dt;return isEventTargetWithin(Pt,(Dt=Mt.context)==null?void 0:Dt.elements.floating)});if(isEventTargetWithin(Pt,st)||isEventTargetWithin(Pt,it)||It)return;const Nt=St?getChildren$1(St.nodesRef.current,rt):[];if(Nt.length>0){let Mt=!0;if(Nt.forEach(Dt=>{var Lt;if((Lt=Dt.context)!=null&&Lt.open&&!Dt.context.dataRef.current.__outsidePressBubbles){Mt=!1;return}}),!Mt)return}nt.emit("dismiss",{type:"outsidePress",data:{returnFocus:Tt?{preventScroll:!0}:isVirtualClick(Pt)||isVirtualPointerEvent(Pt)}}),tt(!1,Pt)});return reactExports.useEffect(()=>{if(!et||!ut)return;at.current.__escapeKeyBubbles=Et,at.current.__outsidePressBubbles=mt;function Pt(It){tt(!1,It)}const Rt=getDocument(st);ft&&Rt.addEventListener("keydown",Ct),bt&&Rt.addEventListener(pt,wt);let At=[];return yt&&(isElement$1(it)&&(At=getOverflowAncestors(it)),isElement$1(st)&&(At=At.concat(getOverflowAncestors(st))),!isElement$1(ot)&&ot&&ot.contextElement&&(At=At.concat(getOverflowAncestors(ot.contextElement)))),At=At.filter(It=>{var Nt;return It!==((Nt=Rt.defaultView)==null?void 0:Nt.visualViewport)}),At.forEach(It=>{It.addEventListener("scroll",Pt,{passive:!0})}),()=>{ft&&Rt.removeEventListener("keydown",Ct),bt&&Rt.removeEventListener(pt,wt),At.forEach(It=>{It.removeEventListener("scroll",Pt)})}},[at,st,it,ot,ft,bt,pt,et,tt,yt,ut,Et,mt,Ct,wt]),reactExports.useEffect(()=>{Ot.current=!1},[bt,pt]),reactExports.useMemo(()=>ut?{reference:{onKeyDown:Ct,[bubbleHandlerKeys[gt]]:Pt=>{ht&&(nt.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),tt(!1,Pt.nativeEvent))}},floating:{onKeyDown:Ct,[captureHandlerKeys[pt]]:()=>{Ot.current=!0}}}:{},[ut,nt,ht,pt,gt,tt,Ct])}function useFloating($){var _e;$===void 0&&($={});const{open:et=!1,onOpenChange:tt,nodeId:nt}=$,[rt,ot]=reactExports.useState(null),it=((_e=$.elements)==null?void 0:_e.reference)||rt,st=useFloating$1($),at=useFloatingTree(),ut=useEffectEvent(($t,bt)=>{$t&&(dt.current.openEvent=bt),tt==null||tt($t,bt)}),ft=reactExports.useRef(null),dt=reactExports.useRef({}),pt=reactExports.useState(()=>createPubSub())[0],ht=useId(),gt=reactExports.useCallback($t=>{const bt=isElement$1($t)?{getBoundingClientRect:()=>$t.getBoundingClientRect(),contextElement:$t}:$t;st.refs.setReference(bt)},[st.refs]),yt=reactExports.useCallback($t=>{(isElement$1($t)||$t===null)&&(ft.current=$t,ot($t)),(isElement$1(st.refs.reference.current)||st.refs.reference.current===null||$t!==null&&!isElement$1($t))&&st.refs.setReference($t)},[st.refs]),vt=reactExports.useMemo(()=>({...st.refs,setReference:yt,setPositionReference:gt,domReference:ft}),[st.refs,yt,gt]),St=reactExports.useMemo(()=>({...st.elements,domReference:it}),[st.elements,it]),Tt=reactExports.useMemo(()=>({...st,refs:vt,elements:St,dataRef:dt,nodeId:nt,floatingId:ht,events:pt,open:et,onOpenChange:ut}),[st,nt,ht,pt,et,ut,vt,St]);return index$1(()=>{const $t=at==null?void 0:at.nodesRef.current.find(bt=>bt.id===nt);$t&&($t.context=Tt)}),reactExports.useMemo(()=>({...st,context:Tt,refs:vt,elements:St}),[st,vt,St,Tt])}function useFocus($,_e){_e===void 0&&(_e={});const{open:et,onOpenChange:tt,dataRef:nt,events:rt,refs:ot,elements:{floating:it,domReference:st}}=$,{enabled:at=!0,keyboardOnly:ut=!0}=_e,ft=reactExports.useRef(""),dt=reactExports.useRef(!1),pt=reactExports.useRef();return reactExports.useEffect(()=>{if(!at)return;const gt=getDocument(it).defaultView||window;function yt(){!et&&isHTMLElement$2(st)&&st===activeElement(getDocument(st))&&(dt.current=!0)}return gt.addEventListener("blur",yt),()=>{gt.removeEventListener("blur",yt)}},[it,st,et,at]),reactExports.useEffect(()=>{if(!at)return;function ht(gt){(gt.type==="referencePress"||gt.type==="escapeKey")&&(dt.current=!0)}return rt.on("dismiss",ht),()=>{rt.off("dismiss",ht)}},[rt,at]),reactExports.useEffect(()=>()=>{clearTimeout(pt.current)},[]),reactExports.useMemo(()=>at?{reference:{onPointerDown(ht){let{pointerType:gt}=ht;ft.current=gt,dt.current=!!(gt&&ut)},onMouseLeave(){dt.current=!1},onFocus(ht){var gt;dt.current||ht.type==="focus"&&((gt=nt.current.openEvent)==null?void 0:gt.type)==="mousedown"&&isEventTargetWithin(nt.current.openEvent,st)||tt(!0,ht.nativeEvent)},onBlur(ht){dt.current=!1;const gt=ht.relatedTarget,yt=isElement$1(gt)&>.hasAttribute(createAttribute("focus-guard"))&>.getAttribute("data-type")==="outside";pt.current=setTimeout(()=>{contains$1(ot.floating.current,gt)||contains$1(st,gt)||yt||tt(!1,ht.nativeEvent)})}}}:{},[at,ut,st,ot,nt,tt])}function mergeProps$1($,_e,et){const tt=new Map;return{...et==="floating"&&{tabIndex:-1},...$,..._e.map(nt=>nt?nt[et]:null).concat($).reduce((nt,rt)=>(rt&&Object.entries(rt).forEach(ot=>{let[it,st]=ot;if(it.indexOf("on")===0){if(tt.has(it)||tt.set(it,[]),typeof st=="function"){var at;(at=tt.get(it))==null||at.push(st),nt[it]=function(){for(var ut,ft=arguments.length,dt=new Array(ft),pt=0;ptht(...dt)).find(ht=>ht!==void 0)}}}else nt[it]=st}),nt),{})}}function useInteractions($){$===void 0&&($=[]);const _e=$,et=reactExports.useCallback(rt=>mergeProps$1(rt,$,"reference"),_e),tt=reactExports.useCallback(rt=>mergeProps$1(rt,$,"floating"),_e),nt=reactExports.useCallback(rt=>mergeProps$1(rt,$,"item"),$.map(rt=>rt==null?void 0:rt.item));return reactExports.useMemo(()=>({getReferenceProps:et,getFloatingProps:tt,getItemProps:nt}),[et,tt,nt])}let isPreventScrollSupported=!1;const ARROW_UP="ArrowUp",ARROW_DOWN="ArrowDown",ARROW_LEFT="ArrowLeft",ARROW_RIGHT="ArrowRight";function isDifferentRow($,_e,et){return Math.floor($/_e)!==et}function isIndexOutOfBounds($,_e){return _e<0||_e>=$.current.length}function findNonDisabledIndex($,_e){let{startingIndex:et=-1,decrement:tt=!1,disabledIndices:nt,amount:rt=1}=_e===void 0?{}:_e;const ot=$.current;let it=et;do{var st,at;it=it+(tt?-rt:rt)}while(it>=0&&it<=ot.length-1&&(nt?nt.includes(it):ot[it]==null||(st=ot[it])!=null&&st.hasAttribute("disabled")||((at=ot[it])==null?void 0:at.getAttribute("aria-disabled"))==="true"));return it}function doSwitch($,_e,et){switch($){case"vertical":return _e;case"horizontal":return et;default:return _e||et}}function isMainOrientationKey($,_e){return doSwitch(_e,$===ARROW_UP||$===ARROW_DOWN,$===ARROW_LEFT||$===ARROW_RIGHT)}function isMainOrientationToEndKey($,_e,et){return doSwitch(_e,$===ARROW_DOWN,et?$===ARROW_LEFT:$===ARROW_RIGHT)||$==="Enter"||$==" "||$===""}function isCrossOrientationOpenKey($,_e,et){return doSwitch(_e,et?$===ARROW_LEFT:$===ARROW_RIGHT,$===ARROW_DOWN)}function isCrossOrientationCloseKey($,_e,et){return doSwitch(_e,et?$===ARROW_RIGHT:$===ARROW_LEFT,$===ARROW_UP)}function getMinIndex($,_e){return findNonDisabledIndex($,{disabledIndices:_e})}function getMaxIndex($,_e){return findNonDisabledIndex($,{decrement:!0,startingIndex:$.current.length,disabledIndices:_e})}function useListNavigation($,_e){const{open:et,onOpenChange:tt,refs:nt,elements:{domReference:rt,floating:ot}}=$,{listRef:it,activeIndex:st,onNavigate:at=()=>{},enabled:ut=!0,selectedIndex:ft=null,allowEscape:dt=!1,loop:pt=!1,nested:ht=!1,rtl:gt=!1,virtual:yt=!1,focusItemOnOpen:vt="auto",focusItemOnHover:St=!0,openOnArrowKeyDown:Tt=!0,disabledIndices:$t=void 0,orientation:bt="vertical",cols:Ot=1,scrollItemIntoView:Et=!0}=_e,mt=useFloatingParentNodeId(),Ct=useFloatingTree(),wt=useEffectEvent(at),Pt=reactExports.useRef(vt),Rt=reactExports.useRef(ft??-1),At=reactExports.useRef(null),It=reactExports.useRef(!0),Nt=reactExports.useRef(wt),Mt=reactExports.useRef(!!ot),Dt=reactExports.useRef(!1),Lt=reactExports.useRef(!1),Ft=useLatestRef($t),Bt=useLatestRef(et),Ut=useLatestRef(Et),[Wt,Ht]=reactExports.useState(),qt=useEffectEvent(function(Jt,Zt,nn){nn===void 0&&(nn=!1);const un=Jt.current[Zt.current];un&&(yt?Ht(un.id):enqueueFocus(un,{preventScroll:!0,sync:isMac$1()&&isSafari$1()?isPreventScrollSupported||Dt.current:!1}),requestAnimationFrame(()=>{const fn=Ut.current;fn&&un&&(nn||!It.current)&&(un.scrollIntoView==null||un.scrollIntoView(typeof fn=="boolean"?{block:"nearest",inline:"nearest"}:fn))}))});index$1(()=>{document.createElement("div").focus({get preventScroll(){return isPreventScrollSupported=!0,!1}})},[]),index$1(()=>{ut&&(et&&ot?Pt.current&&ft!=null&&(Lt.current=!0,wt(ft)):Mt.current&&(Rt.current=-1,Nt.current(null)))},[ut,et,ot,ft,wt]),index$1(()=>{if(ut&&et&&ot)if(st==null){if(Dt.current=!1,ft!=null)return;if(Mt.current&&(Rt.current=-1,qt(it,Rt)),!Mt.current&&Pt.current&&(At.current!=null||Pt.current===!0&&At.current==null)){let Jt=0;const Zt=()=>{it.current[0]==null?(Jt<2&&(Jt?requestAnimationFrame:queueMicrotask)(Zt),Jt++):(Rt.current=At.current==null||isMainOrientationToEndKey(At.current,bt,gt)||ht?getMinIndex(it,Ft.current):getMaxIndex(it,Ft.current),At.current=null,wt(Rt.current))};Zt()}}else isIndexOutOfBounds(it,st)||(Rt.current=st,qt(it,Rt,Lt.current),Lt.current=!1)},[ut,et,ot,st,ft,ht,it,bt,gt,wt,qt,Ft]),index$1(()=>{if(ut&&Mt.current&&!ot&&Ct){var Jt,Zt;const nn=Ct.nodesRef.current,un=(Jt=nn.find(vn=>vn.id===mt))==null||(Zt=Jt.context)==null?void 0:Zt.elements.floating,fn=activeElement(getDocument(ot)),sn=nn.some(vn=>vn.context&&contains$1(vn.context.elements.floating,fn));un&&!sn&&un.focus({preventScroll:!0})}},[ut,ot,Ct,mt]),index$1(()=>{Nt.current=wt,Mt.current=!!ot}),index$1(()=>{et||(At.current=null)},[et]);const Gt=st!=null,tn=reactExports.useMemo(()=>{function Jt(nn){if(!et)return;const un=it.current.indexOf(nn);un!==-1&&wt(un)}return{onFocus(nn){let{currentTarget:un}=nn;Jt(un)},onClick:nn=>{let{currentTarget:un}=nn;return un.focus({preventScroll:!0})},...St&&{onMouseMove(nn){let{currentTarget:un}=nn;Jt(un)},onPointerLeave(nn){let{pointerType:un}=nn;!It.current||un==="touch"||(Rt.current=-1,qt(it,Rt),wt(null),yt||enqueueFocus(nt.floating.current,{preventScroll:!0}))}}}},[et,nt,qt,St,it,wt,yt]);return reactExports.useMemo(()=>{if(!ut)return{};const Jt=Ft.current;function Zt(sn){if(It.current=!1,Dt.current=!0,!Bt.current&&sn.currentTarget===nt.floating.current)return;if(ht&&isCrossOrientationCloseKey(sn.key,bt,gt)){stopEvent(sn),tt(!1,sn.nativeEvent),isHTMLElement$2(rt)&&rt.focus();return}const vn=Rt.current,mn=getMinIndex(it,Jt),on=getMaxIndex(it,Jt);if(sn.key==="Home"&&(stopEvent(sn),Rt.current=mn,wt(Rt.current)),sn.key==="End"&&(stopEvent(sn),Rt.current=on,wt(Rt.current)),Ot>1){const pn=Rt.current;if(sn.key===ARROW_UP){if(stopEvent(sn),pn===-1)Rt.current=on;else if(Rt.current=findNonDisabledIndex(it,{startingIndex:pn,amount:Ot,decrement:!0,disabledIndices:Jt}),pt&&(pn-OtCn?zn:zn-Ot}isIndexOutOfBounds(it,Rt.current)&&(Rt.current=pn),wt(Rt.current)}if(sn.key===ARROW_DOWN&&(stopEvent(sn),pn===-1?Rt.current=mn:(Rt.current=findNonDisabledIndex(it,{startingIndex:pn,amount:Ot,disabledIndices:Jt}),pt&&pn+Ot>on&&(Rt.current=findNonDisabledIndex(it,{startingIndex:pn%Ot-Ot,amount:Ot,disabledIndices:Jt}))),isIndexOutOfBounds(it,Rt.current)&&(Rt.current=pn),wt(Rt.current)),bt==="both"){const Cn=Math.floor(pn/Ot);sn.key===ARROW_RIGHT&&(stopEvent(sn),pn%Ot!==Ot-1?(Rt.current=findNonDisabledIndex(it,{startingIndex:pn,disabledIndices:Jt}),pt&&isDifferentRow(Rt.current,Ot,Cn)&&(Rt.current=findNonDisabledIndex(it,{startingIndex:pn-pn%Ot-1,disabledIndices:Jt}))):pt&&(Rt.current=findNonDisabledIndex(it,{startingIndex:pn-pn%Ot-1,disabledIndices:Jt})),isDifferentRow(Rt.current,Ot,Cn)&&(Rt.current=pn)),sn.key===ARROW_LEFT&&(stopEvent(sn),pn%Ot!==0?(Rt.current=findNonDisabledIndex(it,{startingIndex:pn,disabledIndices:Jt,decrement:!0}),pt&&isDifferentRow(Rt.current,Ot,Cn)&&(Rt.current=findNonDisabledIndex(it,{startingIndex:pn+(Ot-pn%Ot),decrement:!0,disabledIndices:Jt}))):pt&&(Rt.current=findNonDisabledIndex(it,{startingIndex:pn+(Ot-pn%Ot),decrement:!0,disabledIndices:Jt})),isDifferentRow(Rt.current,Ot,Cn)&&(Rt.current=pn));const _n=Math.floor(on/Ot)===Cn;isIndexOutOfBounds(it,Rt.current)&&(pt&&_n?Rt.current=sn.key===ARROW_LEFT?on:findNonDisabledIndex(it,{startingIndex:pn-pn%Ot-1,disabledIndices:Jt}):Rt.current=pn),wt(Rt.current);return}}if(isMainOrientationKey(sn.key,bt)){if(stopEvent(sn),et&&!yt&&activeElement(sn.currentTarget.ownerDocument)===sn.currentTarget){Rt.current=isMainOrientationToEndKey(sn.key,bt,gt)?mn:on,wt(Rt.current);return}isMainOrientationToEndKey(sn.key,bt,gt)?pt?Rt.current=vn>=on?dt&&vn!==it.current.length?-1:mn:findNonDisabledIndex(it,{startingIndex:vn,disabledIndices:Jt}):Rt.current=Math.min(on,findNonDisabledIndex(it,{startingIndex:vn,disabledIndices:Jt})):pt?Rt.current=vn<=mn?dt&&vn!==-1?it.current.length:on:findNonDisabledIndex(it,{startingIndex:vn,decrement:!0,disabledIndices:Jt}):Rt.current=Math.max(mn,findNonDisabledIndex(it,{startingIndex:vn,decrement:!0,disabledIndices:Jt})),isIndexOutOfBounds(it,Rt.current)?wt(null):wt(Rt.current)}}function nn(sn){vt==="auto"&&isVirtualClick(sn.nativeEvent)&&(Pt.current=!0)}function un(sn){Pt.current=vt,vt==="auto"&&isVirtualPointerEvent(sn.nativeEvent)&&(Pt.current=!0)}const fn=yt&&et&&Gt&&{"aria-activedescendant":Wt};return{reference:{...fn,onKeyDown(sn){It.current=!1;const vn=sn.key.indexOf("Arrow")===0;if(yt&&et)return Zt(sn);if(!et&&!Tt&&vn)return;const mn=vn||sn.key==="Enter"||sn.key.trim()==="",on=isMainOrientationKey(sn.key,bt),pn=isCrossOrientationOpenKey(sn.key,bt,gt);if(mn&&(At.current=ht&&on?null:sn.key),ht){pn&&(stopEvent(sn),et?(Rt.current=getMinIndex(it,Jt),wt(Rt.current)):tt(!0,sn.nativeEvent));return}on&&(ft!=null&&(Rt.current=ft),stopEvent(sn),!et&&Tt?tt(!0,sn.nativeEvent):Zt(sn),et&&wt(Rt.current))},onFocus(){et&&wt(null)},onPointerDown:un,onMouseDown:nn,onClick:nn},floating:{"aria-orientation":bt==="both"?void 0:bt,...fn,onKeyDown:Zt,onPointerMove(){It.current=!0}},item:tn}},[rt,nt,Wt,Ft,Bt,it,ut,bt,gt,yt,et,Gt,ht,ft,Tt,dt,Ot,pt,vt,wt,tt,tn])}function useRole($,_e){_e===void 0&&(_e={});const{open:et,floatingId:tt}=$,{enabled:nt=!0,role:rt="dialog"}=_e,ot=useId();return reactExports.useMemo(()=>{const it={id:tt,role:rt};return nt?rt==="tooltip"?{reference:{"aria-describedby":et?tt:void 0},floating:it}:{reference:{"aria-expanded":et?"true":"false","aria-haspopup":rt==="alertdialog"?"dialog":rt,"aria-controls":et?tt:void 0,...rt==="listbox"&&{role:"combobox"},...rt==="menu"&&{id:ot}},floating:{...it,...rt==="menu"&&{"aria-labelledby":ot}}}:{}},[nt,rt,et,tt,ot])}function isPointInPolygon($,_e){const[et,tt]=$;let nt=!1;const rt=_e.length;for(let ot=0,it=rt-1;ot=tt!=ft>=tt&&et<=(ut-st)*(tt-at)/(ft-at)+st&&(nt=!nt)}return nt}function isInside($,_e){return $[0]>=_e.x&&$[0]<=_e.x+_e.width&&$[1]>=_e.y&&$[1]<=_e.y+_e.height}function safePolygon($){$===void 0&&($={});const{buffer:_e=.5,blockPointerEvents:et=!1,requireIntent:tt=!0}=$;let nt,rt=!1,ot=null,it=null,st=performance.now();function at(ft,dt){const pt=performance.now(),ht=pt-st;if(ot===null||it===null||ht===0)return ot=ft,it=dt,st=pt,null;const gt=ft-ot,yt=dt-it,St=Math.sqrt(gt*gt+yt*yt)/ht;return ot=ft,it=dt,st=pt,St}const ut=ft=>{let{x:dt,y:pt,placement:ht,elements:gt,onClose:yt,nodeId:vt,tree:St}=ft;return function($t){function bt(){clearTimeout(nt),yt()}if(clearTimeout(nt),!gt.domReference||!gt.floating||ht==null||dt==null||pt==null)return;const{clientX:Ot,clientY:Et}=$t,mt=[Ot,Et],Ct=getTarget($t),wt=$t.type==="mouseleave",Pt=contains$1(gt.floating,Ct),Rt=contains$1(gt.domReference,Ct),At=gt.domReference.getBoundingClientRect(),It=gt.floating.getBoundingClientRect(),Nt=ht.split("-")[0],Mt=dt>It.right-It.width/2,Dt=pt>It.bottom-It.height/2,Lt=isInside(mt,At),Ft=It.width>At.width,Bt=It.height>At.height,Ut=(Ft?At:It).left,Wt=(Ft?At:It).right,Ht=(Bt?At:It).top,qt=(Bt?At:It).bottom;if(Pt&&(rt=!0,!wt))return;if(Rt&&(rt=!1),Rt&&!wt){rt=!0;return}if(wt&&isElement$1($t.relatedTarget)&&contains$1(gt.floating,$t.relatedTarget)||St&&getChildren$1(St.nodesRef.current,vt).some(Jt=>{let{context:Zt}=Jt;return Zt==null?void 0:Zt.open}))return;if(Nt==="top"&&pt>=At.bottom-1||Nt==="bottom"&&pt<=At.top+1||Nt==="left"&&dt>=At.right-1||Nt==="right"&&dt<=At.left+1)return bt();let Gt=[];switch(Nt){case"top":Gt=[[Ut,At.top+1],[Ut,It.bottom-1],[Wt,It.bottom-1],[Wt,At.top+1]];break;case"bottom":Gt=[[Ut,It.top+1],[Ut,At.bottom-1],[Wt,At.bottom-1],[Wt,It.top+1]];break;case"left":Gt=[[It.right-1,qt],[It.right-1,Ht],[At.left+1,Ht],[At.left+1,qt]];break;case"right":Gt=[[At.right-1,qt],[At.right-1,Ht],[It.left+1,Ht],[It.left+1,qt]];break}function tn(Jt){let[Zt,nn]=Jt;switch(Nt){case"top":{const un=[Ft?Zt+_e/2:Mt?Zt+_e*4:Zt-_e*4,nn+_e+1],fn=[Ft?Zt-_e/2:Mt?Zt+_e*4:Zt-_e*4,nn+_e+1],sn=[[It.left,Mt||Ft?It.bottom-_e:It.top],[It.right,Mt?Ft?It.bottom-_e:It.top:It.bottom-_e]];return[un,fn,...sn]}case"bottom":{const un=[Ft?Zt+_e/2:Mt?Zt+_e*4:Zt-_e*4,nn-_e],fn=[Ft?Zt-_e/2:Mt?Zt+_e*4:Zt-_e*4,nn-_e],sn=[[It.left,Mt||Ft?It.top+_e:It.bottom],[It.right,Mt?Ft?It.top+_e:It.bottom:It.top+_e]];return[un,fn,...sn]}case"left":{const un=[Zt+_e+1,Bt?nn+_e/2:Dt?nn+_e*4:nn-_e*4],fn=[Zt+_e+1,Bt?nn-_e/2:Dt?nn+_e*4:nn-_e*4];return[...[[Dt||Bt?It.right-_e:It.left,It.top],[Dt?Bt?It.right-_e:It.left:It.right-_e,It.bottom]],un,fn]}case"right":{const un=[Zt-_e,Bt?nn+_e/2:Dt?nn+_e*4:nn-_e*4],fn=[Zt-_e,Bt?nn-_e/2:Dt?nn+_e*4:nn-_e*4],sn=[[Dt||Bt?It.left+_e:It.right,It.top],[Dt?Bt?It.left+_e:It.right:It.left+_e,It.bottom]];return[un,fn,...sn]}}}if(!isPointInPolygon([Ot,Et],Gt)){if(rt&&!Lt)return bt();if(!wt&&tt){const Jt=at($t.clientX,$t.clientY);if(Jt!==null&&Jt<.1)return bt()}isPointInPolygon([Ot,Et],tn([dt,pt]))?!rt&&tt&&(nt=window.setTimeout(bt,40)):bt()}}};return ut.__options={blockPointerEvents:et},ut}function o$1($){return _e=>{$.forEach(et=>{typeof et=="function"?et(_e):et!=null&&(et.current=_e)})}}const FloatingContext=React$7.createContext(null),useFloatingContext=()=>{const $=React$7.useContext(FloatingContext);return $??bug("Missing context")},useFloatingItemProps=()=>{const $=useFloatingContext();return _e=>({tabIndex:$.activeIndex===_e?0:-1,ref:et=>{$.refs.listRef.current!==null&&($.refs.listRef.current[_e]=et)},...$.getItemProps()})},FloatingContainer=React$7.forwardRef(({children:$,placement:_e,arrowSize:et=8,distance:tt=4,borderRadius:nt=4,viewPortMargin:rt=8,ariaRole:ot="tooltip",onClose:it=()=>{},className:st,...at},ut)=>{const[ft,dt]=reactExports.useState(null),[pt,ht]=reactExports.useState(!1),gt="open"in at?at.open:pt,yt=reactExports.useRef(null),vt=reactExports.useRef(null),St=reactExports.useRef([]);reactExports.useImperativeHandle(ut,()=>Object.assign(vt.current??unreachable(),{open:()=>ht(!0),close:()=>ht(!1)}));const{x:Tt,y:$t,placement:bt,refs:Ot,middlewareData:Et,context:mt}=useFloating({open:gt,onOpenChange:Ft=>{"open"in at||ht(Ft),Ft||it()},placement:_e,whileElementsMounted:autoUpdate,middleware:[offset$3(et+tt),flip$2(),shift({padding:rt}),arrow$2({element:yt,padding:nt*1.6})]}),Ct=useHover(mt,{enabled:"trigger"in at&&at.trigger==="hover",handleClose:safePolygon(),move:!1}),wt=useFocus(mt,{enabled:"trigger"in at&&at.trigger==="hover"}),Pt=useClick(mt,{enabled:"trigger"in at&&at.trigger==="click"}),Rt=useDismiss(mt,{referencePress:ot==="tooltip"}),At=useRole(mt,{role:ot}),It=useListNavigation(mt,{listRef:St,activeIndex:ft,loop:!0,focusItemOnHover:!1,onNavigate:dt}),{getReferenceProps:Nt,getFloatingProps:Mt,getItemProps:Dt}=useInteractions([Ct,wt,Pt,Rt,At,It]),Lt={activeIndex:ft,open:gt,setOpen:ot==="tooltip"?ht:null,settings:{arrowSize:et,distance:tt,borderRadius:nt,viewPortMargin:rt},calculated:{x:Tt,y:$t,placement:bt,arrow:Et.arrow},refs:{arrowRef:yt,listRef:St,...Ot},getReferenceProps:Nt,getFloatingProps:Mt,getItemProps:Dt};return jsx$1(FloatingContext.Provider,{value:Lt,children:jsx$1("div",{ref:vt,css:{position:"relative"},className:st,children:$})})}),FloatingTrigger=({children:$})=>{const _e=useFloatingContext();return React$7.cloneElement($,{"data-floating-state":_e.open?"open":"closed",..._e.getReferenceProps({ref:_e.refs.setReference,onClick:()=>{var et;return _e.open&&((et=_e.setOpen)==null?void 0:et.call(_e,!1))},...$.props})})},Floating=React$7.forwardRef(({children:$,backgroundColor:_e,borderColor:et,borderWidth:tt=1,shadowColor:nt="rgba(0, 0, 0, 20%)",shadowBlur:rt=4,padding:ot=[4,8],className:it,hideArrowTip:st=!1},at)=>{var Tt,$t;const ut=useAppkitConfig(),{open:ft,calculated:dt,refs:pt,settings:ht,...gt}=useFloatingContext();if(!ft)return null;const yt=sideOfPlacement(dt.placement),vt=Math.SQRT2*ht.arrowSize,St=o$1([at,pt.setFloating]);return jsxs("div",{...gt.getFloatingProps({ref:St}),css:{"--floating-background-color":_e??ut.colors.neutral05,"--floating-border-color":et??ut.colors.neutral40,"--floating-border-width":`${tt}px`,"--floating-shadow-blur":`${rt}px`,"--floating-shadow-color":nt,position:"absolute",...dt.x!=null&&dt.y!=null?{left:dt.x,top:dt.y}:{[invSide(yt)]:"100%"},width:"max-content",maxWidth:`calc(100vw - ${2*ht.viewPortMargin}px)`,zIndex:1e4,backgroundColor:"var(--floating-background-color)",borderRadius:ht.borderRadius,boxShadow:"0 0 var(--floating-shadow-blur) var(--floating-shadow-color)",outline:"var(--floating-border-width) solid var(--floating-border-color)"},children:[jsx$1("div",{className:it,css:{overflow:"hidden",borderRadius:ht.borderRadius,padding:(Array.isArray(ot)?ot:[ot]).map(bt=>`${bt}px`).join(" ")},children:$}),jsx$1("div",{css:{position:"absolute",display:st?"none":"block",...yt==="top"||yt==="bottom"?{left:0,right:0,height:ht.arrowSize+rt}:{top:0,bottom:0,width:ht.arrowSize+rt},[yt]:"100%",pointerEvents:"none",overflow:"hidden"},children:jsx$1("div",{ref:pt.arrowRef,css:{position:"absolute",left:(Tt=dt.arrow)==null?void 0:Tt.x,top:($t=dt.arrow)==null?void 0:$t.y,[yt]:-vt/2,height:vt,width:vt,transform:"rotate(45deg)",backgroundColor:"var(--floating-background-color)",boxShadow:`${rt/6}px ${rt/6}px var(--floating-shadow-blur) ${rt/12}px var(--floating-shadow-color)`,outline:"var(--floating-border-width) solid var(--floating-border-color)"}})})]})});React$7.forwardRef(({children:$,tooltip:_e,tooltipCss:et,...tt},nt)=>{const rt=useAppkitConfig();return jsxs(FloatingContainer,{ref:nt,...tt,trigger:"hover",placement:tt.placement??"top",children:[jsx$1(Floating,{css:{color:rt.colors.neutral80,fontSize:14,maxWidth:"100%",...et},children:_e}),jsx$1(FloatingTrigger,{children:$})]})});const invSide=$=>({top:"bottom",right:"left",bottom:"top",left:"right"})[$],sideOfPlacement=$=>$.split("-")[0];function FiArrowLeft($){return GenIcon({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"19",y1:"12",x2:"5",y2:"12"}},{tag:"polyline",attr:{points:"12 19 5 12 12 5"}}]})($)}function FiCheck($){return GenIcon({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"20 6 9 17 4 12"}}]})($)}const WithHeaderMenu=({children:$,menu:_e,floatingContainer:et})=>{const tt=reactExports.useRef(null);return jsxs(FloatingContainer,{ref:tt,placement:"bottom",trigger:"click",ariaRole:"menu",arrowSize:12,viewPortMargin:12,borderRadius:8,distance:6,...et,children:[jsx$1(FloatingTrigger,{children:$}),jsx$1(HeaderMenu,{close:()=>{var nt;return(nt=tt.current)==null?void 0:nt.close()},..._e})]})},HeaderMenu=({close:$,items:_e,label:et,breakpoint:tt})=>{const nt=useAppkitConfig(),{scheme:rt,isHighContrast:ot}=useColorScheme(),it=useFloatingItemProps(),st=match$1(rt,{light:()=>nt.colors.neutral05,dark:()=>nt.colors.neutral15,"dark-high-contrast":()=>nt.colors.neutral05,"light-high-contrast":()=>nt.colors.neutral05});return jsx$1(Floating,{backgroundColor:st,borderWidth:rt!=="light"?1:0,padding:0,shadowBlur:ot?0:8,children:jsx$1("div",{onClick:at=>{at.target===at.currentTarget&&$()},onBlur:at=>{at.currentTarget.contains(at.relatedTarget)||$()},css:{position:"relative",[`@media (max-width: ${tt}px)`]:{position:"fixed",top:0,bottom:0,left:0,right:0,zIndex:1001,backgroundColor:"#000000a0"}},children:jsxs("ul",{css:{borderRadius:8,right:0,margin:0,paddingLeft:0,overflow:"hidden",listStyle:"none",li:{":first-of-type":{borderRadius:"8px 8px 0 0"},":last-of-type":{borderRadius:"0 0 8px 8px"}},[`@media (max-width: ${tt}px)`]:{backgroundColor:st,borderRadius:"0 0 8px 8px",marginTop:0,position:"fixed",left:0,top:0,li:{":not(:first-of-type)":{borderRadius:0}}}},children:[jsx$1(ReturnButton,{onClick:$,breakpoint:tt,children:et}),_e.map(({keepOpenAfterClick:at,...ut},ft)=>jsx$1(HeaderMenuItem,{...it(ft),...ut,onClick:dt=>{var pt;(pt=ut==null?void 0:ut.onClick)==null||pt.call(ut,dt),at||$()}},ft))]})})})},HeaderMenuItem=reactExports.forwardRef(({icon:$,children:_e,wrapper:et,...tt},nt)=>{const rt=useAppkitConfig(),ot=useColorScheme().isHighContrast?rt.colors.neutral90:rt.colors.neutral10,it=useColorScheme().isHighContrast?rt.colors.neutral05:rt.colors.neutral90,st={display:"flex",gap:16,alignItems:"center",minWidth:160,padding:12,textDecoration:"none",color:rt.colors.neutral90,cursor:"pointer",whiteSpace:"nowrap","& > svg":{maxHeight:23,fontSize:23,width:24,strokeWidth:2,"& > path":{strokeWidth:"inherit"}},":hover, :focus":{backgroundColor:ot,color:it},...focusStyle(rt,{inset:!0})},{className:at,...ut}=tt,ft=et??jsx$1(Fragment,{});return jsx$1("li",{role:"menuitem",...ut,css:{":not(:first-of-type)":{borderTop:`1px solid ${rt.colors.neutral30}`},...!et&&st},...!et&&{className:at,ref:dt=>typeof nt=="function"?nt(dt):nt?nt.current=dt:{}},children:jsx(ft.type,{key:ft.key,...ft.props,children:jsxs(Fragment,{children:[$??jsx$1("svg",{}),jsx$1("div",{children:_e})]}),...et&&{className:at,ref:dt=>typeof nt=="function"?nt(dt):nt?nt.current=dt:{}},...et&&{css:[st,{borderRadius:"inherit"}]}})})}),checkboxMenuItem=({checked:$,onClick:_e,children:et})=>({icon:$?jsx$1(FiCheck,{}):void 0,onClick:_e,onKeyDown:tt=>{document.activeElement===tt.currentTarget&&tt.key==="Enter"&&_e()},tabIndex:0,children:et,role:"checkbox","aria-checked":$,css:{...$&&{cursor:"default"}}}),ReturnButton=({onClick:$,breakpoint:_e,children:et})=>{const tt=useAppkitConfig();return jsxs("div",{css:{borderBottom:`1px solid ${tt.colors.neutral40}`,display:"flex",alignItems:"center",[`@media not all and (max-width: ${_e}px)`]:{display:"none"}},children:[jsx$1(ProtoButton,{onClick:$,tabIndex:0,css:{display:"flex",alignItems:"center",cursor:"pointer",padding:"24px 12px",opacity:.75,":hover, :focus":{opacity:1},...focusStyle(tt,{inset:!0}),"> svg":{maxHeight:23,fontSize:23,width:24,strokeWidth:2}},children:jsx$1(FiArrowLeft,{})}),jsx$1("span",{css:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",color:tt.colors.neutral60},children:et})]})},Spinner=React$7.forwardRef(({size:$="1em",strokeColor:_e="currentcolor",...et},tt)=>jsx$1("svg",{ref:tt,viewBox:"0 0 50 50",css:{width:$,height:$,animation:`2s linear infinite none ${keyframes({"0%":{transform:"rotate(0)"},"100%":{transform:"rotate(360deg)"}})}`,"& > circle":{fill:"none",stroke:_e,strokeWidth:4,strokeDasharray:83,strokeLinecap:"round"}},...et,children:jsx$1("circle",{cx:"25",cy:"25",r:"20"})}));/*! +* focus-trap 7.5.4 +* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE +*/function ownKeys$6($,_e){var et=Object.keys($);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols($);_e&&(tt=tt.filter(function(nt){return Object.getOwnPropertyDescriptor($,nt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread2$2($){for(var _e=1;_e0){var tt=_e[_e.length-1];tt!==et&&tt.pause()}var nt=_e.indexOf(et);nt===-1||_e.splice(nt,1),_e.push(et)},deactivateTrap:function $(_e,et){var tt=_e.indexOf(et);tt!==-1&&_e.splice(tt,1),_e.length>0&&_e[_e.length-1].unpause()}},isSelectableInput=function $(_e){return _e.tagName&&_e.tagName.toLowerCase()==="input"&&typeof _e.select=="function"},isEscapeEvent=function $(_e){return(_e==null?void 0:_e.key)==="Escape"||(_e==null?void 0:_e.key)==="Esc"||(_e==null?void 0:_e.keyCode)===27},isTabEvent=function $(_e){return(_e==null?void 0:_e.key)==="Tab"||(_e==null?void 0:_e.keyCode)===9},isKeyForward=function $(_e){return isTabEvent(_e)&&!_e.shiftKey},isKeyBackward=function $(_e){return isTabEvent(_e)&&_e.shiftKey},delay=function $(_e){return setTimeout(_e,0)},findIndex=function $(_e,et){var tt=-1;return _e.every(function(nt,rt){return et(nt)?(tt=rt,!1):!0}),tt},valueOrHandler=function $(_e){for(var et=arguments.length,tt=new Array(et>1?et-1:0),nt=1;nt1?It-1:0),Mt=1;Mt=0)Rt=tt.activeElement;else{var At=ot.tabbableGroups[0],It=At&&At.firstTabbableNode;Rt=It||ut("fallbackFocus")}if(!Rt)throw new Error("Your focus-trap needs to have at least one focusable element");return Rt},dt=function(){if(ot.containerGroups=ot.containers.map(function(Rt){var At=tabbable(Rt,rt.tabbableOptions),It=focusable(Rt,rt.tabbableOptions),Nt=At.length>0?At[0]:void 0,Mt=At.length>0?At[At.length-1]:void 0,Dt=It.find(function(Bt){return isTabbable(Bt)}),Lt=It.slice().reverse().find(function(Bt){return isTabbable(Bt)}),Ft=!!At.find(function(Bt){return getTabIndex$1(Bt)>0});return{container:Rt,tabbableNodes:At,focusableNodes:It,posTabIndexesFound:Ft,firstTabbableNode:Nt,lastTabbableNode:Mt,firstDomTabbableNode:Dt,lastDomTabbableNode:Lt,nextTabbableNode:function(Ut){var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Ht=At.indexOf(Ut);return Ht<0?Wt?It.slice(It.indexOf(Ut)+1).find(function(qt){return isTabbable(qt)}):It.slice(0,It.indexOf(Ut)).reverse().find(function(qt){return isTabbable(qt)}):At[Ht+(Wt?1:-1)]}}}),ot.tabbableGroups=ot.containerGroups.filter(function(Rt){return Rt.tabbableNodes.length>0}),ot.tabbableGroups.length<=0&&!ut("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(ot.containerGroups.find(function(Rt){return Rt.posTabIndexesFound})&&ot.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},pt=function Pt(Rt){var At=Rt.activeElement;if(At)return At.shadowRoot&&At.shadowRoot.activeElement!==null?Pt(At.shadowRoot):At},ht=function Pt(Rt){if(Rt!==!1&&Rt!==pt(document)){if(!Rt||!Rt.focus){Pt(ft());return}Rt.focus({preventScroll:!!rt.preventScroll}),ot.mostRecentlyFocusedNode=Rt,isSelectableInput(Rt)&&Rt.select()}},gt=function(Rt){var At=ut("setReturnFocus",Rt);return At||(At===!1?!1:Rt)},yt=function(Rt){var At=Rt.target,It=Rt.event,Nt=Rt.isBackward,Mt=Nt===void 0?!1:Nt;At=At||getActualTarget(It),dt();var Dt=null;if(ot.tabbableGroups.length>0){var Lt=at(At,It),Ft=Lt>=0?ot.containerGroups[Lt]:void 0;if(Lt<0)Mt?Dt=ot.tabbableGroups[ot.tabbableGroups.length-1].lastTabbableNode:Dt=ot.tabbableGroups[0].firstTabbableNode;else if(Mt){var Bt=findIndex(ot.tabbableGroups,function(tn){var Jt=tn.firstTabbableNode;return At===Jt});if(Bt<0&&(Ft.container===At||isFocusable$2(At,rt.tabbableOptions)&&!isTabbable(At,rt.tabbableOptions)&&!Ft.nextTabbableNode(At,!1))&&(Bt=Lt),Bt>=0){var Ut=Bt===0?ot.tabbableGroups.length-1:Bt-1,Wt=ot.tabbableGroups[Ut];Dt=getTabIndex$1(At)>=0?Wt.lastTabbableNode:Wt.lastDomTabbableNode}else isTabEvent(It)||(Dt=Ft.nextTabbableNode(At,!1))}else{var Ht=findIndex(ot.tabbableGroups,function(tn){var Jt=tn.lastTabbableNode;return At===Jt});if(Ht<0&&(Ft.container===At||isFocusable$2(At,rt.tabbableOptions)&&!isTabbable(At,rt.tabbableOptions)&&!Ft.nextTabbableNode(At))&&(Ht=Lt),Ht>=0){var qt=Ht===ot.tabbableGroups.length-1?0:Ht+1,Gt=ot.tabbableGroups[qt];Dt=getTabIndex$1(At)>=0?Gt.firstTabbableNode:Gt.firstDomTabbableNode}else isTabEvent(It)||(Dt=Ft.nextTabbableNode(At))}}else Dt=ut("fallbackFocus");return Dt},vt=function(Rt){var At=getActualTarget(Rt);if(!(at(At,Rt)>=0)){if(valueOrHandler(rt.clickOutsideDeactivates,Rt)){it.deactivate({returnFocus:rt.returnFocusOnDeactivate});return}valueOrHandler(rt.allowOutsideClick,Rt)||Rt.preventDefault()}},St=function(Rt){var At=getActualTarget(Rt),It=at(At,Rt)>=0;if(It||At instanceof Document)It&&(ot.mostRecentlyFocusedNode=At);else{Rt.stopImmediatePropagation();var Nt,Mt=!0;if(ot.mostRecentlyFocusedNode)if(getTabIndex$1(ot.mostRecentlyFocusedNode)>0){var Dt=at(ot.mostRecentlyFocusedNode),Lt=ot.containerGroups[Dt].tabbableNodes;if(Lt.length>0){var Ft=Lt.findIndex(function(Bt){return Bt===ot.mostRecentlyFocusedNode});Ft>=0&&(rt.isKeyForward(ot.recentNavEvent)?Ft+1=0&&(Nt=Lt[Ft-1],Mt=!1))}}else ot.containerGroups.some(function(Bt){return Bt.tabbableNodes.some(function(Ut){return getTabIndex$1(Ut)>0})})||(Mt=!1);else Mt=!1;Mt&&(Nt=yt({target:ot.mostRecentlyFocusedNode,isBackward:rt.isKeyBackward(ot.recentNavEvent)})),ht(Nt||ot.mostRecentlyFocusedNode||ft())}ot.recentNavEvent=void 0},Tt=function(Rt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ot.recentNavEvent=Rt;var It=yt({event:Rt,isBackward:At});It&&(isTabEvent(Rt)&&Rt.preventDefault(),ht(It))},$t=function(Rt){if(isEscapeEvent(Rt)&&valueOrHandler(rt.escapeDeactivates,Rt)!==!1){Rt.preventDefault(),it.deactivate();return}(rt.isKeyForward(Rt)||rt.isKeyBackward(Rt))&&Tt(Rt,rt.isKeyBackward(Rt))},bt=function(Rt){var At=getActualTarget(Rt);at(At,Rt)>=0||valueOrHandler(rt.clickOutsideDeactivates,Rt)||valueOrHandler(rt.allowOutsideClick,Rt)||(Rt.preventDefault(),Rt.stopImmediatePropagation())},Ot=function(){if(ot.active)return activeFocusTraps.activateTrap(nt,it),ot.delayInitialFocusTimer=rt.delayInitialFocus?delay(function(){ht(ft())}):ht(ft()),tt.addEventListener("focusin",St,!0),tt.addEventListener("mousedown",vt,{capture:!0,passive:!1}),tt.addEventListener("touchstart",vt,{capture:!0,passive:!1}),tt.addEventListener("click",bt,{capture:!0,passive:!1}),tt.addEventListener("keydown",$t,{capture:!0,passive:!1}),it},Et=function(){if(ot.active)return tt.removeEventListener("focusin",St,!0),tt.removeEventListener("mousedown",vt,!0),tt.removeEventListener("touchstart",vt,!0),tt.removeEventListener("click",bt,!0),tt.removeEventListener("keydown",$t,!0),it},mt=function(Rt){var At=Rt.some(function(It){var Nt=Array.from(It.removedNodes);return Nt.some(function(Mt){return Mt===ot.mostRecentlyFocusedNode})});At&&ht(ft())},Ct=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(mt):void 0,wt=function(){Ct&&(Ct.disconnect(),ot.active&&!ot.paused&&ot.containers.map(function(Rt){Ct.observe(Rt,{subtree:!0,childList:!0})}))};return it={get active(){return ot.active},get paused(){return ot.paused},activate:function(Rt){if(ot.active)return this;var At=st(Rt,"onActivate"),It=st(Rt,"onPostActivate"),Nt=st(Rt,"checkCanFocusTrap");Nt||dt(),ot.active=!0,ot.paused=!1,ot.nodeFocusedBeforeActivation=tt.activeElement,At==null||At();var Mt=function(){Nt&&dt(),Ot(),wt(),It==null||It()};return Nt?(Nt(ot.containers.concat()).then(Mt,Mt),this):(Mt(),this)},deactivate:function(Rt){if(!ot.active)return this;var At=_objectSpread2$2({onDeactivate:rt.onDeactivate,onPostDeactivate:rt.onPostDeactivate,checkCanReturnFocus:rt.checkCanReturnFocus},Rt);clearTimeout(ot.delayInitialFocusTimer),ot.delayInitialFocusTimer=void 0,Et(),ot.active=!1,ot.paused=!1,wt(),activeFocusTraps.deactivateTrap(nt,it);var It=st(At,"onDeactivate"),Nt=st(At,"onPostDeactivate"),Mt=st(At,"checkCanReturnFocus"),Dt=st(At,"returnFocus","returnFocusOnDeactivate");It==null||It();var Lt=function(){delay(function(){Dt&&ht(gt(ot.nodeFocusedBeforeActivation)),Nt==null||Nt()})};return Dt&&Mt?(Mt(gt(ot.nodeFocusedBeforeActivation)).then(Lt,Lt),this):(Lt(),this)},pause:function(Rt){if(ot.paused||!ot.active)return this;var At=st(Rt,"onPause"),It=st(Rt,"onPostPause");return ot.paused=!0,At==null||At(),Et(),wt(),It==null||It(),this},unpause:function(Rt){if(!ot.paused||!ot.active)return this;var At=st(Rt,"onUnpause"),It=st(Rt,"onPostUnpause");return ot.paused=!1,At==null||At(),dt(),Ot(),wt(),It==null||It(),this},updateContainerElements:function(Rt){var At=[].concat(Rt).filter(Boolean);return ot.containers=At.map(function(It){return typeof It=="string"?tt.querySelector(It):It}),ot.active&&dt(),wt(),this}},it.updateContainerElements(_e),it};const focusTrap_esm=Object.freeze(Object.defineProperty({__proto__:null,createFocusTrap:createFocusTrap$1},Symbol.toStringTag,{value:"Module"})),require$$2$1=getAugmentedNamespace(focusTrap_esm),require$$3$1=getAugmentedNamespace(index_esm);function _typeof$2($){"@babel/helpers - typeof";return _typeof$2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_e){return typeof _e}:function(_e){return _e&&typeof Symbol=="function"&&_e.constructor===Symbol&&_e!==Symbol.prototype?"symbol":typeof _e},_typeof$2($)}function _classCallCheck$3($,_e){if(!($ instanceof _e))throw new TypeError("Cannot call a class as a function")}function _defineProperties$3($,_e){for(var et=0;et<_e.length;et++){var tt=_e[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty($,_toPropertyKey$5(tt.key),tt)}}function _createClass$3($,_e,et){return _e&&_defineProperties$3($.prototype,_e),Object.defineProperty($,"prototype",{writable:!1}),$}function _inherits$3($,_e){if(typeof _e!="function"&&_e!==null)throw new TypeError("Super expression must either be null or a function");$.prototype=Object.create(_e&&_e.prototype,{constructor:{value:$,writable:!0,configurable:!0}}),Object.defineProperty($,"prototype",{writable:!1}),_e&&_setPrototypeOf$5($,_e)}function _setPrototypeOf$5($,_e){return _setPrototypeOf$5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,nt){return tt.__proto__=nt,tt},_setPrototypeOf$5($,_e)}function _createSuper$2($){var _e=_isNativeReflectConstruct$2();return function(){var tt=_getPrototypeOf$3($),nt;if(_e){var rt=_getPrototypeOf$3(this).constructor;nt=Reflect.construct(tt,arguments,rt)}else nt=tt.apply(this,arguments);return _possibleConstructorReturn$3(this,nt)}}function _possibleConstructorReturn$3($,_e){if(_e&&(_typeof$2(_e)==="object"||typeof _e=="function"))return _e;if(_e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$3($)}function _assertThisInitialized$3($){if($===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $}function _isNativeReflectConstruct$2(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _getPrototypeOf$3($){return _getPrototypeOf$3=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$3($)}function _defineProperty$7($,_e,et){return _e=_toPropertyKey$5(_e),_e in $?Object.defineProperty($,_e,{value:et,enumerable:!0,configurable:!0,writable:!0}):$[_e]=et,$}function _toPropertyKey$5($){var _e=_toPrimitive$5($,"string");return _typeof$2(_e)==="symbol"?_e:String(_e)}function _toPrimitive$5($,_e){if(_typeof$2($)!=="object"||$===null)return $;var et=$[Symbol.toPrimitive];if(et!==void 0){var tt=et.call($,_e||"default");if(_typeof$2(tt)!=="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(_e==="string"?String:Number)($)}var React$5=reactExports,PropTypes=propTypesExports,_require=require$$2$1,createFocusTrap=_require.createFocusTrap,_require2=require$$3$1,isFocusable$1=_require2.isFocusable,FocusTrap$1=function($){_inherits$3(et,$);var _e=_createSuper$2(et);function et(tt){var nt;_classCallCheck$3(this,et),nt=_e.call(this,tt),_defineProperty$7(_assertThisInitialized$3(nt),"getNodeForOption",function(it){var st,at=(st=this.internalOptions[it])!==null&&st!==void 0?st:this.originalOptions[it];if(typeof at=="function"){for(var ut=arguments.length,ft=new Array(ut>1?ut-1:0),dt=1;dt element.");var ot=function(at){var ut=nt.props.containerElements;rt&&(typeof rt.ref=="function"?rt.ref(at):rt.ref&&(rt.ref.current=at)),nt.focusTrapElements=ut||[at]},it=React$5.cloneElement(rt,{ref:ot});return it}return null}}]),et}(React$5.Component),ElementType=typeof Element>"u"?Function:Element;FocusTrap$1.propTypes={active:PropTypes.bool,paused:PropTypes.bool,focusTrapOptions:PropTypes.shape({document:PropTypes.object,onActivate:PropTypes.func,onPostActivate:PropTypes.func,checkCanFocusTrap:PropTypes.func,onPause:PropTypes.func,onPostPause:PropTypes.func,onUnpause:PropTypes.func,onPostUnpause:PropTypes.func,onDeactivate:PropTypes.func,onPostDeactivate:PropTypes.func,checkCanReturnFocus:PropTypes.func,initialFocus:PropTypes.oneOfType([PropTypes.instanceOf(ElementType),PropTypes.string,PropTypes.bool,PropTypes.func]),fallbackFocus:PropTypes.oneOfType([PropTypes.instanceOf(ElementType),PropTypes.string,PropTypes.func]),escapeDeactivates:PropTypes.oneOfType([PropTypes.bool,PropTypes.func]),clickOutsideDeactivates:PropTypes.oneOfType([PropTypes.bool,PropTypes.func]),returnFocusOnDeactivate:PropTypes.bool,setReturnFocus:PropTypes.oneOfType([PropTypes.instanceOf(ElementType),PropTypes.string,PropTypes.bool,PropTypes.func]),allowOutsideClick:PropTypes.oneOfType([PropTypes.bool,PropTypes.func]),preventScroll:PropTypes.bool,tabbableOptions:PropTypes.shape({displayCheck:PropTypes.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:PropTypes.oneOfType([PropTypes.bool,PropTypes.func])}),trapStack:PropTypes.array,isKeyForward:PropTypes.func,isKeyBackward:PropTypes.func}),containerElements:PropTypes.arrayOf(PropTypes.instanceOf(ElementType)),children:PropTypes.oneOfType([PropTypes.element,PropTypes.instanceOf(ElementType)])};FocusTrap$1.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:createFocusTrap};var focusTrapReact=FocusTrap$1;const FocusTrap$2=getDefaultExportFromCjs(focusTrapReact),Modal$1=reactExports.forwardRef(({title:$,closable:_e=!0,children:et,className:tt,closeOnOutsideClick:nt=!1,open:rt=!1,initialFocus:ot,text:it},st)=>{const at=useAppkitConfig(),[ut,ft]=reactExports.useState(rt),dt=useColorScheme().scheme==="dark";return reactExports.useImperativeHandle(st,()=>({isOpen:()=>ut,open:()=>ft(!0),close:()=>ft(!1)}),[ut]),reactExports.useEffect(()=>{const pt=ht=>{_e&&ht.key==="Escape"&&ft(!1)};return window.addEventListener("keydown",pt),()=>window.removeEventListener("keydown",pt)},[_e]),ReactDOM.createPortal(ut&&jsx$1(FocusTrap$2,{focusTrapOptions:{initialFocus:ot},children:jsx$1("div",{..._e&&nt&&{onClick:pt=>{pt.target===pt.currentTarget&&ft(!1)}},css:{position:"fixed",top:0,bottom:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.8)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:10001},children:jsxs("div",{className:tt,css:{backgroundColor:at.colors.neutral05,borderRadius:4,minWidth:"clamp(300px, 90%, 400px)",margin:16,...dt&&{border:`1px solid ${at.colors.neutral25}`}},children:[jsxs("div",{css:{padding:"12px 16px",borderBottom:`1px solid ${at.colors.neutral25}`,display:"flex",alignItems:"center"},children:[jsx$1("h2",{css:{flex:1},children:$}),_e&&jsx$1(ProtoButton,{"aria-label":it.close,tabIndex:0,onClick:()=>ft(!1),css:{fontSize:32,cursor:"pointer",display:"inline-flex",borderRadius:4,...focusStyle(at)},children:jsx$1(LuX,{})})]}),jsx$1("div",{css:{padding:16},children:et})]})})}),document.body)}),focusStyle=($,_e)=>{const et=(_e==null?void 0:_e.width)??2.5,tt=(_e==null?void 0:_e.inset)??!1,nt=(_e==null?void 0:_e.offset)??0;return{"&:focus-visible":{outline:`${et}px solid ${$.colors.focus}`,outlineOffset:`${tt?-et:nt}px`}}},COLORS=DEFAULT_CONFIG.colors,useTheme$1=()=>{const $=useColorScheme();return match$1($.scheme,{light:()=>lightMode,dark:()=>darkMode,"light-high-contrast":()=>highContrastLightMode,"dark-high-contrast":()=>highContrastDarkMode})},lightMode={background:COLORS.neutral10,menu_background:COLORS.neutral05,text:COLORS.neutral90,error:"#ed1741",element_bg:COLORS.neutral05,multiValue:COLORS.neutral15,focused:COLORS.neutral15,focus_text:COLORS.neutral90,selected:COLORS.neutral25,disabled:"rgba(0, 0, 0, 0.55)",menuBorder:`1px solid ${COLORS.neutral30}`,boxShadow:`0 0 2px 2px ${COLORS.neutral30}`,boxShadow_tiles:"0 5px 10px 0px rgba(150, 150, 150, 0.5)",singleKey_bg:COLORS.neutral10,singleKey_border:COLORS.neutral20,singleKey_boxShadow:"0 2px 2px 0px rgba(150, 150, 150, 0.2)",invert_wave:"invert(0%)",inverted_text:COLORS.neutral90,tooltip:COLORS.neutral80,tooltip_text:COLORS.neutral05,contextMenu:COLORS.neutral10,element_outline:"2px solid transparent",selected_text:COLORS.neutral90,dropdown_border:`1px solid ${COLORS.neutral40}`,menuButton_outline:"2px solid transparent",button_outline:"none",button_color:COLORS.neutral10,indicator_color:COLORS.neutral60,icon_color:COLORS.neutral05,slider_thumb_color:COLORS.neutral70,slider_thumb_shadow:`0 0 0 8px ${COLORS.neutral30}`,slider_track_color:COLORS.neutral30,background_finish_menu_icon:COLORS.neutral15,background_play_icon:COLORS.neutral70,background_preview_icon:COLORS.neutral70,waveform_filter:"invert(44%) sepia(8%) saturate(3893%) hue-rotate(169deg) brightness(99%) contrast(90%)",waveform_bg:"",cut:COLORS.neutral60,scrubber:COLORS.neutral60,scrubber_handle:COLORS.neutral05,scrubber_icon:COLORS.neutral60,subtitle_segment_bg:"rgba(0, 0, 0, 0.4)",subtitle_segment_border:`1px solid ${COLORS.neutral80}`,subtitle_segment_text:COLORS.neutral05,header_bg:COLORS.neutral60,header_text:COLORS.neutral05,header_button_hover_bg:COLORS.neutral70,metadata_highlight:COLORS.neutral50,clock_bg:COLORS.neutral15,clock_border:"2px solid transparent",clock_hands:COLORS.neutral50,clock_focus:COLORS.neutral90,digit_selected:COLORS.neutral90,text_shadow:`2px 0 ${COLORS.neutral15}, -2px 0 ${COLORS.neutral15},0 2px ${COLORS.neutral15}, 0 -2px ${COLORS.neutral15},1px 1px ${COLORS.neutral15}, -1px -1px ${COLORS.neutral15},1px -1px ${COLORS.neutral15}, -1px 1px ${COLORS.neutral15}`},darkMode={background:COLORS.neutral10,menu_background:COLORS.neutral05,text:COLORS.neutral90,error:"rgba(237, 23, 65, 0.8)",element_bg:COLORS.neutral05,multiValue:COLORS.neutral15,focused:COLORS.neutral15,focus_text:COLORS.neutral90,selected:COLORS.neutral25,disabled:"rgba(255, 255, 255, 0.5)",menuBorder:`1px solid ${COLORS.neutral30}`,boxShadow:`0 0 5px ${COLORS.neutral05}`,boxShadow_tiles:"0 5px 10px 0px rgba(0, 0, 0, 0.3)",singleKey_bg:"linear-gradient(180deg, rgba(40,40,40,1) 0%, rgba(30,30,30,1) 100%)",singleKey_border:COLORS.neutral20,singleKey_boxShadow:"0 2px 2px 0px rgba(0, 0, 0, 1.0)",invert_wave:"invert(100%)",inverted_text:COLORS.neutral90,tooltip:COLORS.neutral80,tooltip_text:COLORS.neutral05,contextMenu:COLORS.neutral20,element_outline:"2px solid transparent",selected_text:COLORS.neutral90,dropdown_border:`1px solid ${COLORS.neutral40}`,menuButton_outline:"2px solid transparent",button_outline:"0px solid transparent",button_color:COLORS.neutral20,indicator_color:COLORS.neutral60,icon_color:"rgba(255, 255, 255, 0.87)",slider_thumb_color:COLORS.neutral70,slider_thumb_shadow:"0 0 0 8px rgba(255, 255, 255, 0.2)",slider_track_color:COLORS.neutral90,background_finish_menu_icon:COLORS.neutral15,background_play_icon:COLORS.neutral70,background_preview_icon:COLORS.neutral70,waveform_filter:"invert(11%)",waveform_bg:"#fff",cut:COLORS.neutral60,scrubber:COLORS.neutral60,scrubber_handle:COLORS.neutral70,scrubber_icon:COLORS.neutral20,subtitle_segment_bg:"rgba(0, 0, 0, 0.4)",subtitle_segment_border:`1px solid ${COLORS.neutral80}`,subtitle_segment_text:COLORS.neutral90,header_bg:COLORS.neutral20,header_text:COLORS.neutral90,header_button_hover_bg:COLORS.neutral10,metadata_highlight:COLORS.neutral50,clock_bg:COLORS.neutral15,clock_border:"2px solid transparent",clock_hands:COLORS.neutral50,clock_focus:COLORS.neutral90,digit_selected:COLORS.neutral90,text_shadow:`2px 0 ${COLORS.neutral15}, -2px 0 ${COLORS.neutral15},0 2px ${COLORS.neutral15}, 0 -2px ${COLORS.neutral15},1px 1px ${COLORS.neutral15}, -1px -1px ${COLORS.neutral15},1px -1px ${COLORS.neutral15}, -1px 1px ${COLORS.neutral15}`},highContrastDarkMode={background:"#000",menu_background:"#000",text:"#fff",error:"#ED1741",element_bg:"none",multiValue:"#c4c4c4",focused:"#a6ffea",focus_text:"#000",selected:"#fff",disabled:"rgba(255, 255, 255, 0.6)",menuBorder:"2px solid #fff",boxShadow:"0 0 0 rgba(255, 255, 255, 0.3)",boxShadow_tiles:"0 0 0 rgba(255, 255, 255, 0.3)",singleKey_bg:"none",singleKey_border:"#fff",singleKey_boxShadow:"0 2px 2px 0px rgba(150, 150, 150, 0.2)",invert_wave:"invert(100%)",inverted_text:"#000",tooltip:"#fff",tooltip_text:"#000",contextMenu:"#000",element_outline:"2px solid #fff",selected_text:"#000",dropdown_border:"2px solid #fff",menuButton_outline:"2px solid transparent",button_outline:"2px solid #a6ffea",button_color:"#a6ffea",indicator_color:"#a6ffea",icon_color:"#000",slider_thumb_color:"#fff",slider_thumb_shadow:"0 0 0 8px rgba(166, 255, 234, 0.8)",slider_track_color:"#fff",background_finish_menu_icon:"#000",background_play_icon:"#fff",background_preview_icon:"#fff",waveform_filter:"invert(100%)",waveform_bg:"#80B8AC",cut:"#fff",scrubber:"#fff",scrubber_handle:"#fff",scrubber_icon:"#000",subtitle_segment_bg:"none",subtitle_segment_border:"2px solid #fff",subtitle_segment_text:"#fff",header_bg:"#000",header_text:"#fff",header_button_hover_bg:"#000",metadata_highlight:"rgb(38, 132, 255)",clock_bg:"#000",clock_border:"2px solid #a6ffea",clock_hands:"#fff",clock_focus:"#000",digit_selected:"#000",text_shadow:"2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000, 1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000"},highContrastLightMode={background:"snow",menu_background:"snow",text:"#000",error:"#a5102d",element_bg:"none",multiValue:"#2e2e2e",focused:"#000099",focus_text:"#fff",selected:"#4646b5",disabled:"rgba(0, 0, 0, 0.6)",menuBorder:"2px solid #000",boxShadow:"0 0 0 rgba(0, 0, 0, 0.3)",boxShadow_tiles:"0 0 0 rgba(0, 0, 0, 0.3)",singleKey_bg:"none",singleKey_border:"#000",singleKey_boxShadow:"0 2px 2px 0px rgba(150, 150, 150, 0.2)",invert_wave:"invert(0%)",inverted_text:"#fff",tooltip:"#000",tooltip_text:"#fff",contextMenu:"snow",element_outline:"2px solid #000",selected_text:"#fff",dropdown_border:"2px solid #000",menuButton_outline:"2px solid transparent",button_outline:"3px solid #000099",button_color:"#000099",indicator_color:"#000099",icon_color:"#fff",slider_thumb_color:"#000",slider_thumb_shadow:"0 0 0 8px rgba(0, 0, 153, 0.6)",slider_track_color:"#000",background_finish_menu_icon:"snow",background_play_icon:"#000",background_preview_icon:"#000",waveform_filter:"invert(0%)",waveform_bg:"#fff",cut:"#000",scrubber:"#000",scrubber_handle:"#000",scrubber_icon:"#fff",subtitle_segment_bg:"none",subtitle_segment_border:"2px solid #000",subtitle_segment_text:"#000",header_bg:"#000",header_text:"#fff",header_button_hover_bg:"#000",metadata_highlight:"rgb(38, 132, 255)",clock_bg:"snow",clock_border:"2px solid #000099",clock_hands:"#4646b5",clock_focus:"#fff",digit_selected:"#fff",text_shadow:"2px 0 snow, -2px 0 snow, 0 2px snow, 0 -2px snow, 1px 1px snow, -1px -1px snow, 1px -1px snow, -1px 1px snow"},GlobalStyle=()=>{const $=useTheme$1();return jsx$1(Global,{styles:globalStyle($)})},globalStyle=$=>css$2({emotionNormalize,body:{backgroundColor:`${$.background}`,color:`${$.text}`,fontSize:"medium",minHeight:"100vh"}},"",""),BREAKPOINT_SMALL=450,BREAKPOINT_MEDIUM=650,basicButtonStyle=$=>css$2({borderRadius:"5px",cursor:"pointer","&:hover":{backgroundColor:`${$.button_color}`,color:`${$.inverted_text}`},"&:focus":{backgroundColor:`${$.button_color}`,color:`${$.inverted_text}`},display:"flex",justifyContent:"center",alignItems:"center",gap:"10px",textAlign:"center",outline:`${$.button_outline}`},"",""),deactivatedButtonStyle=css$2({borderRadius:"10px",cursor:"pointer",opacity:"0.6",display:"flex",justifyContent:"center",alignItems:"center",gap:"10px",textAlign:"center"},"",""),navigationButtonStyle=$=>css$2({width:"200px",padding:"16px",justifyContent:"space-around",boxShadow:`${$.boxShadow}`,background:`${$.element_bg}`},"",""),backOrContinueStyle={name:"127p6l8",styles:"display:flex;flex-direction:row;gap:20px"},tileButtonStyle=$=>css$2({width:"290px",height:"220px",display:"flex",flexDirection:"column",fontWeight:"bold",gap:"30px",boxShadow:`${$.boxShadow_tiles}`,background:`${$.element_bg}`,placeSelf:"center"},"",""),disableButtonAnimation={name:"1ywlbv8",styles:"&:hover{transform:none;}&:focus{transform:none;}&:active{transform:none;}"},titleStyle=$=>css$2({display:"inline-block",padding:"15px",whiteSpace:"nowrap",textOverflow:"ellipsis",maxWidth:"100%",color:`${$.text}`},"",""),titleStyleBold=$=>css$2({fontWeight:"bold",fontSize:"24px",verticalAlign:"-2.5px",color:`${$.text}`},"",""),ariaLive={name:"651ll8",styles:"position:absolute;left:-99999px;height:1px;width:1px;overflow:hidden"},errorBoxStyle=($,_e)=>css$2({...!$&&{display:"none"},borderColor:`${_e.error}`,borderStyle:"dashed",fontWeight:"bold",padding:"10px"},"","");function selectFieldStyle($){return{control:(_e,et)=>({..._e,background:$.menu_background,...et.isFocused&&{borderColor:$.metadata_highlight},...et.isFocused&&{boxShadow:`0 0 0 1px ${$.metadata_highlight}`},"&:hover":{borderColor:$.menu_background,boxShadow:`0 0 0 1px ${$.metadata_highlight}`}}),menu:_e=>({..._e,background:$.menu_background,outline:$.dropdown_border,marginTop:0}),singleValue:_e=>({..._e,color:$.text}),multiValue:_e=>({..._e,color:$.inverted_text,background:$.multiValue,cursor:"default"}),multiValueLabel:_e=>({..._e,color:$.inverted_text}),option:(_e,et)=>({..._e,background:et.isFocused?$.focused:$.menu_background&&et.isSelected?$.selected:$.menu_background,...et.isFocused&&{color:$.focus_text},color:et.isFocused?$.focus_text:$.text&&et.isSelected?$.selected_text:$.text}),placeholder:_e=>({..._e,color:$.text}),clearIndicator:_e=>({..._e,color:$.indicator_color}),dropdownIndicator:_e=>({..._e,color:$.indicator_color}),valueContainer:_e=>({..._e,cursor:"text"}),input:_e=>({..._e,color:$.text})}}const calendarStyle=$=>createTheme({components:{MuiPaper:{styleOverrides:{root:{outline:`${$.dropdown_border} !important`,background:`${$.menu_background}`,color:`${$.text}`,".MuiYearPicker-root":{".PrivatePickersYear-yearButton:hover, .Mui-selected:hover":{background:`${$.focused}`,color:`${$.focus_text}`},".Mui-selected":{background:`${$.selected}`,color:`${$.selected_text}`}},"& .MuiClock-clock":{background:`${$.clock_bg}`,outline:`${$.clock_border}`,"-webkitTextFillColor":`${$.text}`,textShadow:`${$.text_shadow}`},"& .MuiClockPicker-root .Mui-selected":{"-webkitTextFillColor":`${$.digit_selected}`,fontWeight:"bold",textShadow:"none"},"& .MuiClock-pin, .MuiClockPointer-root":{background:`${$.clock_hands}`},"& .MuiClockPointer-thumb":{background:`${$.clock_hands}`,border:`16px solid ${$.clock_hands}`}}}},MuiButtonBase:{styleOverrides:{root:{color:`${$.text} !important`,"&.MuiPickersDay-root":{background:"transparent !important",color:`${$.text} !important`},"&:hover, &.Mui-selected:hover":{background:`${$.focused} !important`,color:`${$.focus_text} !important`},"&.Mui-selected":{background:`${$.selected} !important`,color:`${$.selected_text} !important`},"&:not(.Mui-selected)":{borderColor:`${$.focused} !important`},"&.Mui-disabled":{color:`${$.disabled} !important`},"&.MuiClock-amButton, &.MuiClock-pmButton":{"-webkitTextFillColor":`${$.text} !important`,"&:hover":{"-webkitTextFillColor":`${$.clock_focus} !important`}}}}},MuiTypography:{styleOverrides:{root:{color:`${$.disabled} !important`}}}}}),subtitleSelectStyle=$=>createTheme({components:{MuiInputLabel:{styleOverrides:{root:{color:`${$.text} !important`}}},MuiOutlinedInput:{styleOverrides:{notchedOutline:{border:`${$.dropdown_border} !important`}}},MuiSelect:{styleOverrides:{select:{background:`${$.element_bg}`,color:`${$.text} !important`},icon:{color:`${$.indicator_color}`}}},MuiMenu:{styleOverrides:{list:{background:`${$.background}`,color:`${$.text}`,border:`${$.dropdown_border}`}}},MuiMenuItem:{styleOverrides:{root:{"&:hover, &.Mui-selected:hover":{color:`${$.focus_text}`,background:`${$.focused}`},"&.Mui-selected":{color:`${$.selected_text}`,background:`${$.selected}`}}}}}}),spinningStyle=css$2({animation:`2s linear infinite none ${keyframes({"0%":{transform:"rotate(0)"},"100%":{transform:"rotate(360deg)"}})}`},"",""),customIconStyle={name:"161cgbi",styles:"max-width:16px;height:auto"},videosStyle=$=>css$2({display:"flex",flexDirection:"column",width:"100%",background:`${$.menu_background}`,borderRadius:"5px",boxShadow:`${$.boxShadow_tiles}`,marginTop:"24px",boxSizing:"border-box",padding:"10px",gap:"10px"},"",""),backgroundBoxStyle=$=>css$2({background:`${$.menu_background}`,borderRadius:"7px",boxShadow:`${$.boxShadow_tiles}`,boxSizing:"border-box",padding:"20px",gap:"25px"},"","");var voidElements={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};const e$1=getDefaultExportFromCjs(voidElements);var t$1=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function n$3($){var _e={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},et=$.match(/<\/?([^\s]+?)[/\s>]/);if(et&&(_e.name=et[1],(e$1[et[1]]||$.charAt($.length-2)==="/")&&(_e.voidElement=!0),_e.name.startsWith("!--"))){var tt=$.indexOf("-->");return{type:"comment",comment:tt!==-1?$.slice(4,tt):""}}for(var nt=new RegExp(t$1),rt=null;(rt=nt.exec($))!==null;)if(rt[0].trim())if(rt[1]){var ot=rt[1].trim(),it=[ot,""];ot.indexOf("=")>-1&&(it=ot.split("=")),_e.attrs[it[0]]=it[1],nt.lastIndex--}else rt[2]&&(_e.attrs[rt[2]]=rt[3].trim().substring(1,rt[3].length-1));return _e}var r$4=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,i$3=/^\s*$/,s$2=Object.create(null);function a$1($,_e){switch(_e.type){case"text":return $+_e.content;case"tag":return $+="<"+_e.name+(_e.attrs?function(et){var tt=[];for(var nt in et)tt.push(nt+'="'+et[nt]+'"');return tt.length?" "+tt.join(" "):""}(_e.attrs):"")+(_e.voidElement?"/>":">"),_e.voidElement?$:$+_e.children.reduce(a$1,"")+"";case"comment":return $+""}}var c$2={parse:function($,_e){_e||(_e={}),_e.components||(_e.components=s$2);var et,tt=[],nt=[],rt=-1,ot=!1;if($.indexOf("<")!==0){var it=$.indexOf("<");tt.push({type:"text",content:it===-1?$:$.substring(0,it)})}return $.replace(r$4,function(st,at){if(ot){if(st!=="")return;ot=!1}var ut,ft=st.charAt(1)!=="/",dt=st.startsWith(" + + Opencast Editor + + + + + + +
+ +
+ + + +
+
+ + diff --git a/1419/2024-07-10_12-10-53/manifest.json b/1419/2024-07-10_12-10-53/manifest.json new file mode 100644 index 00000000..0e65d8e0 --- /dev/null +++ b/1419/2024-07-10_12-10-53/manifest.json @@ -0,0 +1,15 @@ +{ + "short_name": "Opencast Editor", + "name": "Web-based cutting tool for Opencast", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + } + ], + "start_url": ".", + "display": "minimal-ui", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/1419/2024-07-10_12-10-53/opencast-editor.svg b/1419/2024-07-10_12-10-53/opencast-editor.svg new file mode 100644 index 00000000..ae5702bb --- /dev/null +++ b/1419/2024-07-10_12-10-53/opencast-editor.svg @@ -0,0 +1,55 @@ + + + diff --git a/1419/2024-07-10_12-10-53/robots.txt b/1419/2024-07-10_12-10-53/robots.txt new file mode 100644 index 00000000..e9e57dc4 --- /dev/null +++ b/1419/2024-07-10_12-10-53/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: diff --git a/index.html b/index.html index 41e69e5a..699dffa3 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,7 @@