diff --git a/asset-manifest.json b/asset-manifest.json deleted file mode 100644 index 77dd3e518..000000000 --- a/asset-manifest.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "files": { - "main.css": "/static/css/main.eab7cba8.css", - "main.js": "/static/js/main.ea954f14.js", - "static/media/roboto-flex-latin-wght-normal.woff2": "/static/media/roboto-flex-latin-wght-normal.83de0d79c4a86cd0ff67.woff2", - "static/media/roboto-flex-latin-ext-wght-normal.woff2": "/static/media/roboto-flex-latin-ext-wght-normal.0a64156a046519332be3.woff2", - "static/media/roboto-flex-cyrillic-wght-normal.woff2": "/static/media/roboto-flex-cyrillic-wght-normal.e01e801d0da4e2c5c87d.woff2", - "static/media/roboto-flex-greek-wght-normal.woff2": "/static/media/roboto-flex-greek-wght-normal.8c7ed9a2be8db3cfb207.woff2", - "static/media/roboto-flex-cyrillic-ext-wght-normal.woff2": "/static/media/roboto-flex-cyrillic-ext-wght-normal.855aac27c348befd9126.woff2", - "static/media/roboto-flex-vietnamese-wght-normal.woff2": "/static/media/roboto-flex-vietnamese-wght-normal.3ee9d0e0273d21090dce.woff2", - "static/media/opencast-editor.svg": "/static/media/opencast-editor.5a20b5921fa97b59184dca01ca5eb529.svg", - "index.html": "/index.html", - "static/media/trash-restore.svg": "/static/media/trash-restore.4cc371110ef61af169066457b8c1885e.svg", - "static/media/subtitle.svg": "/static/media/subtitle.4743d81c98c89d2230930c419731ef9e.svg", - "main.eab7cba8.css.map": "/static/css/main.eab7cba8.css.map", - "main.ea954f14.js.map": "/static/js/main.ea954f14.js.map" - }, - "entrypoints": [ - "static/css/main.eab7cba8.css", - "static/js/main.ea954f14.js" - ] -} \ No newline at end of file diff --git a/assets/cs-CZ--okNJMLP.js b/assets/cs-CZ--okNJMLP.js new file mode 100644 index 000000000..26cafbc65 --- /dev/null +++ b/assets/cs-CZ--okNJMLP.js @@ -0,0 +1,9 @@ +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}}."},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","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":"Start processing","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 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}}. +`},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 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.","createSubtitleDropdown-label":"Pick a language",backButton:"Back","backButton-tooltip":"Return to subtitle selection","downloadButton-title":"Download","downloadButton-tooltip":"Download subtitle as vtt file",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"},A={selectVideoLabel:"Video Flavors"},f={overviewTimelineTooltip:"Timeline overview"},v={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"},E={appearance:"Appearance",dark:"Dark",light:"Light",auto:"Auto","dark-high-contrast":"Dark (High contrast)","light-high-contrast":"Light (High contrast)"},w={language:"Language"},N={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:A,subtitleTimeline:f,keyboardControls:v,theme:E,language:w};export{t as cuttingActions,N as default,n as discard,h as error,i as finishMenu,v as keyboardControls,g as landing,w as language,e as mainMenu,c as metadata,a as save,k as subtitleList,f as subtitleTimeline,A as subtitleVideoArea,S as subtitles,r as theEnd,E 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/assets/de-DE-vwhqblEz.js b/assets/de-DE-vwhqblEz.js new file mode 100644 index 000000000..e27fbf092 --- /dev/null +++ b/assets/de-DE-vwhqblEz.js @@ -0,0 +1,9 @@ +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":"Löschen und Wiederherstellen. Markieren oder entfernen Sie das Segment an der aktuellen Position zur Löschung. 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}}."},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","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":"Verarbeitung starten","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":`Das Video wird mit dem Workflow "{{workflow}}" geschnitten und verarbeitet. <3/> Dies wird einige Zeit dauern. +`,"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}}. +`},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 "},b={"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"},S={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 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.","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",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={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:b,trackSelection:S,subtitles:p,subtitleList:k,subtitleVideoArea:f,subtitleTimeline:E,keyboardControls:A,theme:N,language:w};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,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,S as trackSelection,b as various,n as video,u as workflowConfig,s as workflowSelection}; diff --git a/assets/el-GR-xAZUGXPa.js b/assets/el-GR-xAZUGXPa.js new file mode 100644 index 000000000..71ae50eff --- /dev/null +++ b/assets/el-GR-xAZUGXPa.js @@ -0,0 +1,9 @@ +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}}."},o={previewButton:"Λειτουργία προεπισκόπησης","previewButton-tooltip":"Παράλειψη διαγραμμένων τμημάτων κατά την αναπαραγωγή του βίντεο. Προς το παρόν {{status}}. Πλήκτρο συντόμευσης: {{hotkeyName}}","previewButton-aria":"Ενεργοποίηση ή απενεργοποίηση λειτουργίας προεπισκόπησης. Πλήκτρο συντόμευσης: {{hotkeyName}}.","playButton-tooltip":"Αναπαραγωγή βίντεο","pauseButton-tooltip":"Παύση του βίντεο","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}} +`},s={"generateWaveform-text":"Δημιουργία Κυματομορφής","segment-tooltip":"Τμήμα {{segment}}","scrubber-text-aria":`Δείκτης χρονοδιαγράμματος. {{currentTime}}. Ενεργό τμήμα: {{segment}}. {{segmentStatus}}. Έλεγχοι: {{moveLeft}} και {{moveRight}} για να μετακινήσετε το δείκτη χρονολογίου. {{increase}} και {{decrease}} για να αυξήσει/μειώσετε το δέλτα της κίνησης. +`,"segments-text-aria":`Τμήμα {{index}}. {{segmentStatus}}. Έναρξη: {{start}}. Τέλος: {{end}}. +`},u={"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":"Επόμενο"},b={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:"Δευτερεύων"},m={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":"Επιστροφή στο προηγούμενο σύστημα"},A={title:"Επιλογή κομματιού(ών) για επεξεργασία",trackInactive:"ανενεργό",deleteTrackText:"Διαγραφή Κομματιού",restoreTrackText:"Επαναφορά Κομματιού",cannotDeleteTrackText:"Αδυναμία Διαγραφής Κομματιού",deleteTrackTooltip:"Να μην κωδικοποιηθεί και δημοσιευτεί αυτό το κομμάτι.",restoreTrackTooltip:"Κωδικοποίηση και δημοσίευση αυτού του κομματιού.",cannotDeleteTrackTooltip:"Δεν είναι δυνατή η αφαίρεση αυτού του κομματιού από τη δημοσίευση."},N={"selectSubtitleButton-tooltip":"Επεξεργασία υποτίτλων για {{title}}","selectSubtitleButton-tooltip-aria":"Επιλέξτε {{title}} για επεξεργασία υποτίτλων","createSubtitleButton-tooltip":"Ανοίγει ένα διάλογο για τη δημιουργία νέων υποτίτλων","createSubtitleButton-clicked-tooltip-aria":"Περιέχει ένα διάλογο για τη δημιουργία νέων υποτίτλων","createSubtitleButton-createButton":"Δημιουργία","createSubtitleButton-createButton-tooltip":"Ξεκινήστε ένα νέο αρχείο υποτίτλων με τον επιλεγμένο τίτλο.","createSubtitleDropdown-label":"Επιλέξτε μια γλώσσα",backButton:"Επιστροφή","backButton-tooltip":"Επιστροφή στην επιλογή υποτίτλων","downloadButton-title":"Λήψη","downloadButton-tooltip":"Λήψη υποτίτλων ως αρχείο vtt",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:"Επισκόπηση χρονολογίου"},C={header:"Συντομεύσεις",defaultGroupName:"Γενικά",missingLabel:"Άγνωστο",groupVideoPlayer:"Αναπαραγωγή Βίντεο",groupCuttingView:"Περικοπή",groupCuttingViewScrubber:"Χρονολόγιο",groupSubtitleList:"Υπότιτλοι",sequenceSeparator:"ή",genericError:"Αποτυχία φόρτωσης επισκόπησης",videoPlayButton:"Αναπαραγωγή/Παύση Βίντεο",scrubberLeft:"Μετακίνηση αριστερά",scrubberRight:"Μετακίνηση δεξιά",scrubberIncrease:"Μετακίνηση γρηγορότερα",scrubberDecrease:"Μετακίνηση πιο αργά"},h={appearance:"Εμφάνιση",dark:"Σκοτεινό",light:"Φωτεινό",auto:"Αυτόματο","dark-high-contrast":"Σκοτεινό (Υψηλή αντίθεση)","light-high-contrast":"Φωτεινό (Υψηλή αντίθεση)"},L={language:"Γλώσσα"},T={mainMenu:t,cuttingActions:e,video:o,finishMenu:i,save:n,discard:a,theEnd:r,workflowSelection:l,timeline:s,workflowConfig:u,metadata:c,thumbnail:b,thumbnailSimple:m,error:d,landing:p,various:S,trackSelection:A,subtitles:N,subtitleList:E,subtitleVideoArea:g,subtitleTimeline:G,keyboardControls:C,theme:h,language:L};export{e as cuttingActions,T as default,a as discard,d as error,i as finishMenu,C as keyboardControls,p as landing,L as language,t as mainMenu,c as metadata,n as save,E as subtitleList,G as subtitleTimeline,g as subtitleVideoArea,N as subtitles,r as theEnd,h as theme,b as thumbnail,m as thumbnailSimple,s as timeline,A as trackSelection,S as various,o as video,u as workflowConfig,l as workflowSelection}; diff --git a/assets/en-US-_-ySsZ7d.js b/assets/en-US-_-ySsZ7d.js new file mode 100644 index 000000000..0b541b327 --- /dev/null +++ b/assets/en-US-_-ySsZ7d.js @@ -0,0 +1,9 @@ +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}}."},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","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":"Start processing","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 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}}. +`},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 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",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"},A={selectVideoLabel:"Video Flavors"},f={overviewTimelineTooltip:"Timeline overview"},v={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"},E={appearance:"Appearance",dark:"Dark",light:"Light",auto:"Auto","dark-high-contrast":"Dark (High contrast)","light-high-contrast":"Light (High contrast)"},w={language:"Language"},N={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:A,subtitleTimeline:f,keyboardControls:v,theme:E,language:w};export{t as cuttingActions,N as default,n as discard,h as error,i as finishMenu,v as keyboardControls,g as landing,w as language,e as mainMenu,c as metadata,a as save,k as subtitleList,f as subtitleTimeline,A as subtitleVideoArea,S as subtitles,r as theEnd,E 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/assets/es-ES-NI-qxCWZ.js b/assets/es-ES-NI-qxCWZ.js new file mode 100644 index 000000000..b9d49952f --- /dev/null +++ b/assets/es-ES-NI-qxCWZ.js @@ -0,0 +1,9 @@ +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":"Marcar o desmarcar el segmento en la posición actual para ser eliminado. Acceso Rápido:: {{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}}."},a={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","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"},o={"save-button":"Guardar cambios","start-button":"Iniciar proceso","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":`El vídeo se cortará y procesará con el flujo de trabajo "{{workflow}}". <3/> Esto tomará algún tiempo. +`,"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}}. +`},c={"headline-text":"Configuración del flujo de trabajo","satisfied-text":"¿Satisfecho con su configuración?","confirm-button":"Iniciar proceso"},u={"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."},A={"selectSubtitleButton-tooltip":"Editar subtítulos para {{title}}","selectSubtitleButton-tooltip-aria":"Seleccionar {{title}} para editar subtítulos","createSubtitleButton-tooltip":"Abre un diálogo para crear nuevos subtítulos","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.","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",editTitle:"Editor de subtítulos - {{title}}","editTitle-loading":"Cargando",generic:"Generico",autoGenerated:"Autogenerado"},v={"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"},E={selectVideoLabel:"Sabores del vídeo"},N={overviewTimelineTooltip:"Previsualización de la línea de tiempo"},C={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"},G={appearance:"Apariencia",dark:"Oscuro",light:"Claro",auto:"Auto","dark-high-contrast":"Oscuro (alto contraste)","light-high-contrast":"Claro (alto contraste)"},h={language:"Idioma"},f={mainMenu:e,cuttingActions:t,video:a,finishMenu:o,save:r,discard:i,theEnd:n,workflowSelection:s,timeline:l,workflowConfig:c,metadata:u,thumbnail:d,thumbnailSimple:m,error:p,landing:b,various:g,trackSelection:S,subtitles:A,subtitleList:v,subtitleVideoArea:E,subtitleTimeline:N,keyboardControls:C,theme:G,language:h};export{t as cuttingActions,f as default,i as discard,p as error,o as finishMenu,C as keyboardControls,b as landing,h as language,e as mainMenu,u as metadata,r as save,v as subtitleList,N as subtitleTimeline,E as subtitleVideoArea,A as subtitles,n as theEnd,G as theme,d as thumbnail,m as thumbnailSimple,l as timeline,S as trackSelection,g as various,a as video,c as workflowConfig,s as workflowSelection}; diff --git a/assets/fr-FR-e_f8XltA.js b/assets/fr-FR-e_f8XltA.js new file mode 100644 index 000000000..9ae1d43ee --- /dev/null +++ b/assets/fr-FR-e_f8XltA.js @@ -0,0 +1,9 @@ +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":"Supprimer et Restaurer. Sélectionner ou désélectionner un segment à la position actuelle pour suppression. Raccourci : {{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}}."},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","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":"Démarrer le traitement","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":`La vidéo sera coupée et traitée avec le workflow "{{workflow}}". <3/> Cela prendra un certain temps. +`,"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}}. +`},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."},S={"selectSubtitleButton-tooltip":"Edit subtitles for {{title}}","selectSubtitleButton-tooltip-aria":"Select {{title}} for subtitle editing","createSubtitleButton-tooltip":"Opens a dialog for creating 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.","createSubtitleDropdown-label":"Pick a language",backButton:"Back","backButton-tooltip":"Return to subtitle selection","downloadButton-title":"Download","downloadButton-tooltip":"Download subtitle as vtt file",editTitle:"Subtitle Editor - {{title}}","editTitle-loading":"Loading",generic:"Generic",autoGenerated:"Auto-generated"},v={"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"},E={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)"},k={language:"Langue"},C={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:S,subtitleList:v,subtitleVideoArea:f,subtitleTimeline:A,keyboardControls:E,theme:N,language:k};export{t as cuttingActions,C as default,n as discard,p as error,i as finishMenu,E as keyboardControls,g as landing,k as language,e as mainMenu,c as metadata,r as save,v as subtitleList,A as subtitleTimeline,f as subtitleVideoArea,S 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/assets/index-lFdZne_s.css b/assets/index-lFdZne_s.css new file mode 100644 index 000000000..3949cce98 --- /dev/null +++ b/assets/index-lFdZne_s.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(/assets/roboto-flex-cyrillic-ext-wght-normal-yzotEKkt.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(/assets/roboto-flex-cyrillic-wght-normal-QNnOWDn_.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(/assets/roboto-flex-greek-wght-normal-8SVPT--s.woff2) format("woff2-variations");unicode-range:U+0370-03FF}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/assets/roboto-flex-vietnamese-wght-normal-1KizgI4q.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(/assets/roboto-flex-latin-ext-wght-normal-DllcyRER.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-20CF,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(/assets/roboto-flex-latin-wght-normal-cfZiMlKg.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-danger1: #ffd2cd;--color-danger2: #feaba1;--color-danger4: #c22a2c;--color-danger5: #880e11;--color-accent9: #044a81;--color-accent8: #215D99;--color-accent7: #3073B8;--color-accent6: #3E8AD8;--color-accent5: #4DA1F7;--color-accent4: #71B4F9;--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-danger1: #462522;--color-danger2: #712f2a;--color-danger4: #e0584d;--color-danger5: #fb7c67;--color-accent9: #85ace3;--color-accent8: #7da4db;--color-accent7: #588ccd;--color-accent6: #1f72ba;--color-accent5: #1c619e;--color-accent4: #195483;--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-danger1: #fff;--color-danger2: #a50613;--color-danger4: #a50613;--color-danger5: #a50613;--color-accent8: #000099;--color-accent7: #000099;--color-accent6: #000099;--color-accent5: #000099;--color-accent4: #000099;--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-danger1: #000;--color-danger2: #eb1722;--color-danger4: #eb1722;--color-danger5: #eb1722;--color-accent8: #a6ffea;--color-accent7: #a6ffea;--color-accent6: #a6ffea;--color-accent5: #a6ffea;--color-accent4: #a6ffea;--color-focus: #a6ffea;color-scheme:dark} diff --git a/assets/index-yb8y1pMW.js b/assets/index-yb8y1pMW.js new file mode 100644 index 000000000..33e20550a --- /dev/null +++ b/assets/index-yb8y1pMW.js @@ -0,0 +1,405 @@ +var v_=Object.defineProperty;var y_=($,_e,et)=>_e in $?v_($,_e,{enumerable:!0,configurable:!0,writable:!0,value:et}):$[_e]=et;var Bu=($,_e,et)=>(y_($,typeof _e!="symbol"?_e+"":_e,et),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$6=Symbol.for("react.element"),n$7=Symbol.for("react.portal"),p$6=Symbol.for("react.fragment"),q$4=Symbol.for("react.strict_mode"),r$8=Symbol.for("react.profiler"),t$4=Symbol.for("react.provider"),u$2=Symbol.for("react.context"),v$4=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$1($,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$1(_e,position-1)+"*"+from($===47?$:next())}function identifier($){for(;!token(peek$1());)next();return slice$1($,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 lt=0,ct=0,ft=ot,dt=0,pt=0,ht=0,gt=1,yt=1,vt=1,Et=0,Ot="",Tt=nt,xt=rt,$t=tt,wt=Ot;yt;)switch(ht=Et,Et=next()){case 40:if(ht!=108&&charat(wt,ft-1)==58){indexof(wt+=replace(delimit(Et),"&","&\f"),"&\f")!=-1&&(vt=-1);break}case 34:case 39:case 91:wt+=delimit(Et);break;case 9:case 10:case 13:case 32:wt+=whitespace(ht);break;case 92:wt+=escaping(caret()-1,7);continue;case 47:switch(peek$1()){case 42:case 47:append(comment(commenter(next(),caret()),_e,et),st);break;default:wt+="/"}break;case 123*gt:it[lt++]=strlen(wt)*vt;case 125*gt:case 59:case 0:switch(Et){case 0:case 125:yt=0;case 59+ct:vt==-1&&(wt=replace(wt,/\f/g,"")),pt>0&&strlen(wt)-ft&&append(pt>32?declaration(wt+";",tt,et,ft-1):declaration(replace(wt," ","")+";",tt,et,ft-2),st);break;case 59:wt+=";";default:if(append($t=ruleset(wt,_e,et,lt,ct,nt,it,Ot,Tt=[],xt=[],ft),rt),Et===123)if(ct===0)parse$1(wt,_e,$t,$t,Tt,rt,ft,it,xt);else switch(dt===99&&charat(wt,3)===110?100:dt){case 100:case 108:case 109:case 115:parse$1($,$t,$t,tt&&append(ruleset($,$t,$t,0,0,nt,it,Ot,nt,Tt=[],ft),xt),nt,xt,ft,it,tt?Tt:xt);break;default:parse$1(wt,$t,$t,$t,[""],xt,0,it,xt)}}lt=ct=pt=0,gt=vt=1,Ot=wt="",ft=ot;break;case 58:ft=1+strlen(wt),pt=ht;default:if(gt<1){if(Et==123)--gt;else if(Et==125&>++==0&&prev()==125)continue}switch(wt+=from(Et),Et*gt){case 38:vt=ct>0?1:(wt+="\f",-1);break;case 44:it[lt++]=(strlen(wt)-1)*vt,vt=1;break;case 64:peek$1()===45&&(wt+=delimit(next())),dt=peek$1(),ct=ft=strlen(Ot=wt+=identifier(caret())),Et++;break;case 45:ht===45&&strlen(wt)==2&&(gt=0)}}return rt}function ruleset($,_e,et,tt,nt,rt,ot,it,st,lt,ct){for(var ft=nt-1,dt=nt===0?rt:[""],pt=sizeof(dt),ht=0,gt=0,yt=0;ht0?dt[vt]+" "+Et:replace(Et,/&\f/g,dt[vt])))&&(st[yt++]=Ot);return node$1($,_e,et,nt===0?RULESET:it,st,lt,ct)}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,Vt=Lt[Ut];if(0>>1;Utnt(qt,Bt))Jtnt(nn,qt)?(Lt[Ut]=nn,Lt[Jt]=Bt,Ut=Jt):(Lt[Ut]=qt,Lt[Gt]=Bt,Ut=Gt);else if(Jtnt(nn,Bt))Lt[Ut]=nn,Lt[Jt]=Bt,Ut=Jt;else break e}}return Dt}function nt(Lt,Dt){var Bt=Lt.sortIndex-Dt.sortIndex;return Bt!==0?Bt:Lt.id-Dt.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=[],lt=[],ct=1,ft=null,dt=3,pt=!1,ht=!1,gt=!1,yt=typeof setTimeout=="function"?setTimeout:null,vt=typeof clearTimeout=="function"?clearTimeout:null,Et=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Ot(Lt){for(var Dt=et(lt);Dt!==null;){if(Dt.callback===null)tt(lt);else if(Dt.startTime<=Lt)tt(lt),Dt.sortIndex=Dt.expirationTime,_e(st,Dt);else break;Dt=et(lt)}}function Tt(Lt){if(gt=!1,Ot(Lt),!ht)if(et(st)!==null)ht=!0,Nt(xt);else{var Dt=et(lt);Dt!==null&&Ft(Tt,Dt.startTime-Lt)}}function xt(Lt,Dt){ht=!1,gt&&(gt=!1,vt(mt),mt=-1),pt=!0;var Bt=dt;try{for(Ot(Dt),ft=et(st);ft!==null&&(!(ft.expirationTime>Dt)||Lt&&!Pt());){var Ut=ft.callback;if(typeof Ut=="function"){ft.callback=null,dt=ft.priorityLevel;var Vt=Ut(ft.expirationTime<=Dt);Dt=$.unstable_now(),typeof Vt=="function"?ft.callback=Vt:ft===et(st)&&tt(st),Ot(Dt)}else tt(st);ft=et(st)}if(ft!==null)var Ht=!0;else{var Gt=et(lt);Gt!==null&&Ft(Tt,Gt.startTime-Dt),Ht=!1}return Ht}finally{ft=null,dt=Bt,pt=!1}}var $t=!1,wt=null,mt=-1,Ct=5,St=-1;function Pt(){return!($.unstable_now()-StLt||125Ut?(Lt.sortIndex=Bt,_e(lt,Lt),et(st)===null&&Lt===et(lt)&&(gt?(vt(mt),mt=-1):gt=!0,Ft(Tt,Bt-Ut))):(Lt.sortIndex=Vt,_e(st,Lt),ht||pt||(ht=!0,Nt(xt))),Lt},$.unstable_shouldYield=Pt,$.unstable_wrapCallback=function(Lt){var Dt=dt;return function(){var Bt=dt;dt=Dt;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$3($){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$2($,_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$2($,0,!1,$,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function($){var _e=$[0];z[_e]=new v$2(_e,1,!1,$[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function($){z[$]=new v$2($,2,!1,$.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function($){z[$]=new v$2($,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$2($,3,!1,$.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function($){z[$]=new v$2($,3,!0,$,null,!1,!1)});["capture","download"].forEach(function($){z[$]=new v$2($,4,!1,$,null,!1,!1)});["cols","rows","size","span"].forEach(function($){z[$]=new v$2($,6,!1,$,null,!1,!1)});["rowSpan","start"].forEach(function($){z[$]=new v$2($,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$2(_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$2(_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$2(_e,1,!1,$,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function($){z[$]=new v$2($,1,!1,$.toLowerCase(),null,!1,!1)});z.xlinkHref=new v$2("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function($){z[$]=new v$2($,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(lt){var tt=lt}Reflect.construct($,[],_e)}else{try{_e.call()}catch(lt){tt=lt}$.call(_e.prototype)}else{try{throw Error()}catch(lt){tt=lt}$()}}catch(lt){if(lt&&tt&&typeof lt.stack=="string"){for(var nt=lt.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$3(137,$));if(_e.dangerouslySetInnerHTML!=null){if(_e.children!=null)throw Error(p$3(60));if(typeof _e.dangerouslySetInnerHTML!="object"||!("__html"in _e.dangerouslySetInnerHTML))throw Error(p$3(61))}if(_e.style!=null&&typeof _e.style!="object")throw Error(p$3(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$3(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$3(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 lt=Array.prototype.slice.call(arguments,3);try{_e.apply(et,lt)}catch(ct){this.onError(ct)}}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 lt=Pb;Ob=!1,Pb=null}else throw Error(p$3(198));Qb||(Qb=!0,Rb=lt)}}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$3(188))}function Yb($){var _e=$.alternate;if(!_e){if(_e=Vb($),_e===null)throw Error(p$3(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$3(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$3(189))}}if(et.alternate!==tt)throw Error(p$3(190))}if(et.tag!==3)throw Error(p$3(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$3(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$3(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$3(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=wt,wt=null):Ct=wt.sibling;var St=dt(vt,wt,Ot[mt],Tt);if(St===null){wt===null&&(wt=Ct);break}$&&wt&&St.alternate===null&&_e(vt,wt),Et=rt(St,Et,mt),$t===null?xt=St:$t.sibling=St,$t=St,wt=Ct}if(mt===Ot.length)return et(vt,wt),I&&tg(vt,mt),xt;if(wt===null){for(;mtmt?(Ct=wt,wt=null):Ct=wt.sibling;var Pt=dt(vt,wt,St.value,Tt);if(Pt===null){wt===null&&(wt=Ct);break}$&&wt&&Pt.alternate===null&&_e(vt,wt),Et=rt(Pt,Et,mt),$t===null?xt=Pt:$t.sibling=Pt,$t=Pt,wt=Ct}if(St.done)return et(vt,wt),I&&tg(vt,mt),xt;if(wt===null){for(;!St.done;mt++,St=Ot.next())St=ft(vt,St.value,Tt),St!==null&&(Et=rt(St,Et,mt),$t===null?xt=St:$t.sibling=St,$t=St);return I&&tg(vt,mt),xt}for(wt=tt(vt,wt);!St.done;mt++,St=Ot.next())St=pt(wt,vt,mt,St.value,Tt),St!==null&&($&&St.alternate!==null&&wt.delete(St.key===null?mt:St.key),Et=rt(St,Et,mt),$t===null?xt=St:$t.sibling=St,$t=St);return $&&wt.forEach(function(At){return _e(vt,At)}),I&&tg(vt,mt),xt}function yt(vt,Et,Ot,Tt){if(typeof Ot=="object"&&Ot!==null&&Ot.type===ya&&Ot.key===null&&(Ot=Ot.props.children),typeof Ot=="object"&&Ot!==null){switch(Ot.$$typeof){case va:e:{for(var xt=Ot.key,$t=Et;$t!==null;){if($t.key===xt){if(xt=Ot.type,xt===ya){if($t.tag===7){et(vt,$t.sibling),Et=nt($t,Ot.props.children),Et.return=vt,vt=Et;break e}}else if($t.elementType===xt||typeof xt=="object"&&xt!==null&&xt.$$typeof===Ha&&uh(xt)===$t.type){et(vt,$t.sibling),Et=nt($t,Ot.props),Et.ref=sh(vt,$t,Ot),Et.return=vt,vt=Et;break e}et(vt,$t);break}else _e(vt,$t);$t=$t.sibling}Ot.type===ya?(Et=Ah(Ot.props.children,vt.mode,Tt,Ot.key),Et.return=vt,vt=Et):(Tt=yh(Ot.type,Ot.key,Ot.props,null,vt.mode,Tt),Tt.ref=sh(vt,Et,Ot),Tt.return=vt,vt=Tt)}return ot(vt);case wa:e:{for($t=Ot.key;Et!==null;){if(Et.key===$t)if(Et.tag===4&&Et.stateNode.containerInfo===Ot.containerInfo&&Et.stateNode.implementation===Ot.implementation){et(vt,Et.sibling),Et=nt(Et,Ot.children||[]),Et.return=vt,vt=Et;break e}else{et(vt,Et);break}else _e(vt,Et);Et=Et.sibling}Et=zh(Ot,vt.mode,Tt),Et.return=vt,vt=Et}return ot(vt);case Ha:return $t=Ot._init,yt(vt,Et,$t(Ot._payload),Tt)}if(eb(Ot))return ht(vt,Et,Ot,Tt);if(Ka(Ot))return gt(vt,Et,Ot,Tt);th(vt,Ot)}return typeof Ot=="string"&&Ot!==""||typeof Ot=="number"?(Ot=""+Ot,Et!==null&&Et.tag===6?(et(vt,Et.sibling),Et=nt(Et,Ot),Et.return=vt,vt=Et):(et(vt,Et),Et=xh(Ot,vt.mode,Tt),Et.return=vt,vt=Et),ot(vt)):et(vt,Et)}return yt}var Bh=vh(!0),Ch=vh(!1),Dh={},Eh=Uf(Dh),Fh=Uf(Dh),Gh=Uf(Dh);function Hh($){if($===Dh)throw Error(p$3(174));return $}function Ih($,_e){switch(G(Gh,_e),G(Fh,$),G(Eh,Dh),$=_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(Eh),G(Eh,_e)}function Jh(){E(Eh),E(Fh),E(Gh)}function Kh($){Hh(Gh.current);var _e=Hh(Eh.current),et=lb(_e,$.type);_e!==et&&(G(Fh,$),G(Eh,et))}function Lh($){Fh.current===$&&(E(Eh),E(Fh))}var M=Uf(0);function Mh($){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 Nh=[];function Oh(){for(var $=0;$et?et:4,$(!0);var tt=Qh.transition;Qh.transition={};try{$(!1),_e()}finally{C=et,Qh.transition=tt}}function Fi(){return di().memoizedState}function Gi($,_e,et){var tt=lh($);if(et={lane:tt,action:et,hasEagerState:!1,eagerState:null,next:null},Hi($))Ii(_e,et);else if(et=Yg($,_e,et,tt),et!==null){var nt=L();mh(et,$,tt,nt),Ji(et,_e,tt)}}function ri($,_e,et){var tt=lh($),nt={lane:tt,action:et,hasEagerState:!1,eagerState:null,next:null};if(Hi($))Ii(_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,Xg(_e)):(nt.next=st.next,st.next=nt),_e.interleaved=nt;return}}catch{}finally{}et=Yg($,_e,nt,tt),et!==null&&(nt=L(),mh(et,$,tt,nt),Ji(et,_e,tt))}}function Hi($){var _e=$.alternate;return $===N||_e!==null&&_e===N}function Ii($,_e){Th=Sh=!0;var et=$.pending;et===null?_e.next=_e:(_e.next=et.next,et.next=_e),$.pending=_e}function Ji($,_e,et){if(et&4194240){var tt=_e.lanes;tt&=$.pendingLanes,et|=tt,_e.lanes=et,Cc($,et)}}var ai={readContext:Vg,useCallback:Q,useContext:Q,useEffect:Q,useImperativeHandle:Q,useInsertionEffect:Q,useLayoutEffect:Q,useMemo:Q,useReducer:Q,useRef:Q,useState:Q,useDebugValue:Q,useDeferredValue:Q,useTransition:Q,useMutableSource:Q,useSyncExternalStore:Q,useId:Q,unstable_isNewReconciler:!1},Yh={readContext:Vg,useCallback:function($,_e){return ci().memoizedState=[$,_e===void 0?null:_e],$},useContext:Vg,useEffect:vi,useImperativeHandle:function($,_e,et){return et=et!=null?et.concat([$]):null,ti(4194308,4,yi.bind(null,_e,$),et)},useLayoutEffect:function($,_e){return ti(4194308,4,$,_e)},useInsertionEffect:function($,_e){return ti(4,2,$,_e)},useMemo:function($,_e){var et=ci();return _e=_e===void 0?null:_e,$=$(),et.memoizedState=[$,_e],$},useReducer:function($,_e,et){var tt=ci();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=Gi.bind(null,N,$),[tt.memoizedState,$]},useRef:function($){var _e=ci();return $={current:$},_e.memoizedState=$},useState:qi,useDebugValue:Ai,useDeferredValue:function($){return ci().memoizedState=$},useTransition:function(){var $=qi(!1),_e=$[0];return $=Ei.bind(null,$[1]),ci().memoizedState=$,[_e,$]},useMutableSource:function(){},useSyncExternalStore:function($,_e,et){var tt=N,nt=ci();if(I){if(et===void 0)throw Error(p$3(407));et=et()}else{if(et=_e(),R===null)throw Error(p$3(349));Rh&30||ni(tt,_e,et)}nt.memoizedState=et;var rt={value:et,getSnapshot:_e};return nt.queue=rt,vi(ki.bind(null,tt,rt,$),[$]),tt.flags|=2048,li(9,mi.bind(null,tt,rt,et,_e),void 0,null),et},useId:function(){var $=ci(),_e=R.identifierPrefix;if(I){var et=sg,tt=rg;et=(tt&~(1<<32-oc(tt)-1)).toString(32)+et,_e=":"+_e+"R"+et,et=Uh++,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,Aj($,_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;ntHj&&(_e.flags|=128,tt=!0,Ej(rt,!1),_e.lanes=4194304)}else{if(!tt)if($=Mh(ot),$!==null){if(_e.flags|=128,tt=!0,et=$.updateQueue,et!==null&&(_e.updateQueue=et,_e.flags|=4),Ej(rt,!0),rt.tail===null&&rt.tailMode==="hidden"&&!ot.alternate&&!I)return S(_e),null}else 2*B()-rt.renderingStartTime>Hj&&et!==1073741824&&(_e.flags|=128,tt=!0,Ej(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=M.current,G(M,tt?et&1|2:et&1),_e):(S(_e),null);case 22:case 23:return Ij(),tt=_e.memoizedState!==null,$!==null&&$.memoizedState!==null!==tt&&(_e.flags|=8192),tt&&_e.mode&1?gj&1073741824&&(S(_e),_e.subtreeFlags&6&&(_e.flags|=8192)):S(_e),null;case 24:return null;case 25:return null}throw Error(p$3(156,_e.tag))}function Jj($,_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 Jh(),E(Wf),E(H),Oh(),$=_e.flags,$&65536&&!($&128)?(_e.flags=$&-65537|128,_e):null;case 5:return Lh(_e),null;case 13:if(E(M),$=_e.memoizedState,$!==null&&$.dehydrated!==null){if(_e.alternate===null)throw Error(p$3(340));Ig()}return $=_e.flags,$&65536?(_e.flags=$&-65537|128,_e):null;case 19:return E(M),null;case 4:return Jh(),null;case 10:return Rg(_e.type._context),null;case 22:case 23:return Ij(),null;case 24:return null;default:return null}}var Kj=!1,U=!1,Lj=typeof WeakSet=="function"?WeakSet:Set,V=null;function Mj($,_e){var et=$.ref;if(et!==null)if(typeof et=="function")try{et(null)}catch(tt){W($,_e,tt)}else et.current=null}function Nj($,_e,et){try{et()}catch(tt){W($,_e,tt)}}var Oj=!1;function Pj($,_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,lt=0,ct=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&&++lt===nt&&(it=ot),dt===rt&&++ct===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,Et=vt.getSnapshotBeforeUpdate(_e.elementType===_e.type?gt:Lg(_e.type,gt),yt);vt.__reactInternalSnapshotBeforeUpdate=Et}break;case 3:var Ot=_e.stateNode.containerInfo;Ot.nodeType===1?Ot.textContent="":Ot.nodeType===9&&Ot.documentElement&&Ot.removeChild(Ot.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p$3(163))}}catch(Tt){W(_e,_e.return,Tt)}if($=_e.sibling,$!==null){$.return=_e.return,V=$;break}V=_e.return}return ht=Oj,Oj=!1,ht}function Qj($,_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&&Nj(_e,et,rt)}nt=nt.next}while(nt!==tt)}}function Rj($,_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 Sj($){var _e=$.ref;if(_e!==null){var et=$.stateNode;switch($.tag){case 5:$=et;break;default:$=et}typeof _e=="function"?_e($):_e.current=$}}function Tj($){var _e=$.alternate;_e!==null&&($.alternate=null,Tj(_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 Uj($){return $.tag===5||$.tag===3||$.tag===4}function Vj($){e:for(;;){for(;$.sibling===null;){if($.return===null||Uj($.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 Wj($,_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(Wj($,_e,et),$=$.sibling;$!==null;)Wj($,_e,et),$=$.sibling}function Xj($,_e,et){var tt=$.tag;if(tt===5||tt===6)$=$.stateNode,_e?et.insertBefore($,_e):et.appendChild($);else if(tt!==4&&($=$.child,$!==null))for(Xj($,_e,et),$=$.sibling;$!==null;)Xj($,_e,et),$=$.sibling}var X=null,Yj=!1;function Zj($,_e,et){for(et=et.child;et!==null;)ak($,_e,et),et=et.sibling}function ak($,_e,et){if(lc&&typeof lc.onCommitFiberUnmount=="function")try{lc.onCommitFiberUnmount(kc,et)}catch{}switch(et.tag){case 5:U||Mj(et,_e);case 6:var tt=X,nt=Yj;X=null,Zj($,_e,et),X=tt,Yj=nt,X!==null&&(Yj?($=X,et=et.stateNode,$.nodeType===8?$.parentNode.removeChild(et):$.removeChild(et)):X.removeChild(et.stateNode));break;case 18:X!==null&&(Yj?($=X,et=et.stateNode,$.nodeType===8?Kf($.parentNode,et):$.nodeType===1&&Kf($,et),bd($)):Kf(X,et.stateNode));break;case 4:tt=X,nt=Yj,X=et.stateNode.containerInfo,Yj=!0,Zj($,_e,et),X=tt,Yj=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)&&Nj(et,_e,ot),nt=nt.next}while(nt!==tt)}Zj($,_e,et);break;case 1:if(!U&&(Mj(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)}Zj($,_e,et);break;case 21:Zj($,_e,et);break;case 22:et.mode&1?(U=(tt=U)||et.memoizedState!==null,Zj($,_e,et),U=tt):Zj($,_e,et);break;default:Zj($,_e,et)}}function bk($){var _e=$.updateQueue;if(_e!==null){$.updateQueue=null;var et=$.stateNode;et===null&&(et=$.stateNode=new Lj),_e.forEach(function(tt){var nt=ck.bind(null,$,tt);et.has(tt)||(et.add(tt),tt.then(nt,nt))})}}function dk($,_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*mk(tt/1960))-tt,10$?16:$,xk===null)var tt=!1;else{if($=xk,xk=null,yk=0,K&6)throw Error(p$3(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()-gk?Lk($,0):sk|=et),Ek($,_e)}function Zk($,_e){_e===0&&($.mode&1?(_e=sc,sc<<=1,!(sc&130023424)&&(sc=4194304)):_e=1);var et=L();$=Zg($,_e),$!==null&&(Ac($,_e,et),Ek($,et))}function vj($){var _e=$.memoizedState,et=0;_e!==null&&(et=_e.retryLane),Zk($,et)}function ck($,_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$3(314))}tt!==null&&tt.delete(_e),Zk($,et)}var Wk;Wk=function($,_e,et){if($!==null)if($.memoizedProps!==_e.pendingProps||Wf.current)Ug=!0;else{if(!($.lanes&et)&&!(_e.flags&128))return Ug=!1,zj($,_e,et);Ug=!!($.flags&131072)}else Ug=!1,I&&_e.flags&1048576&&ug(_e,ng,_e.index);switch(_e.lanes=0,_e.tag){case 2:var tt=_e.type;jj($,_e),$=_e.pendingProps;var nt=Yf(_e,H.current);Tg(_e,et),nt=Xh(null,_e,tt,$,nt,et);var rt=bi();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,ah(_e),nt.updater=nh,_e.stateNode=nt,nt._reactInternals=_e,rh(_e,tt,$,et),_e=kj(null,_e,tt,!0,rt,et)):(_e.tag=0,I&&rt&&vg(_e),Yi(null,_e,nt,et),_e=_e.child),_e;case 16:tt=_e.elementType;e:{switch(jj($,_e),$=_e.pendingProps,nt=tt._init,tt=nt(tt._payload),_e.type=tt,nt=_e.tag=$k(tt),$=Lg(tt,$),nt){case 0:_e=dj(null,_e,tt,$,et);break e;case 1:_e=ij(null,_e,tt,$,et);break e;case 11:_e=Zi(null,_e,tt,$,et);break e;case 14:_e=aj(null,_e,tt,Lg(tt.type,$),et);break e}throw Error(p$3(306,tt,""))}return _e;case 0:return tt=_e.type,nt=_e.pendingProps,nt=_e.elementType===tt?nt:Lg(tt,nt),dj($,_e,tt,nt,et);case 1:return tt=_e.type,nt=_e.pendingProps,nt=_e.elementType===tt?nt:Lg(tt,nt),ij($,_e,tt,nt,et);case 3:e:{if(lj(_e),$===null)throw Error(p$3(387));tt=_e.pendingProps,rt=_e.memoizedState,nt=rt.element,bh($,_e),gh(_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=Ki(Error(p$3(423)),_e),_e=mj($,_e,tt,et,nt);break e}else if(tt!==nt){nt=Ki(Error(p$3(424)),_e),_e=mj($,_e,tt,et,nt);break e}else for(yg=Lf(_e.stateNode.containerInfo.firstChild),xg=_e,I=!0,zg=null,et=Ch(_e,null,tt,et),_e.child=et;et;)et.flags=et.flags&-3|4096,et=et.sibling;else{if(Ig(),tt===nt){_e=$i($,_e,et);break e}Yi($,_e,tt,et)}_e=_e.child}return _e;case 5:return Kh(_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),hj($,_e),Yi($,_e,ot,et),_e.child;case 6:return $===null&&Eg(_e),null;case 13:return pj($,_e,et);case 4:return Ih(_e,_e.stateNode.containerInfo),tt=_e.pendingProps,$===null?_e.child=Bh(_e,null,tt,et):Yi($,_e,tt,et),_e.child;case 11:return tt=_e.type,nt=_e.pendingProps,nt=_e.elementType===tt?nt:Lg(tt,nt),Zi($,_e,tt,nt,et);case 7:return Yi($,_e,_e.pendingProps,et),_e.child;case 8:return Yi($,_e,_e.pendingProps.children,et),_e.child;case 12:return Yi($,_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(Mg,tt._currentValue),tt._currentValue=ot,rt!==null)if(He(rt.value,ot)){if(rt.children===nt.children&&!Wf.current){_e=$i($,_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=ch(-1,et&-et),st.tag=2;var lt=rt.updateQueue;if(lt!==null){lt=lt.shared;var ct=lt.pending;ct===null?st.next=st:(st.next=ct.next,ct.next=st),lt.pending=st}}rt.lanes|=et,st=rt.alternate,st!==null&&(st.lanes|=et),Sg(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$3(341));ot.lanes|=et,it=ot.alternate,it!==null&&(it.lanes|=et),Sg(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}Yi($,_e,nt.children,et),_e=_e.child}return _e;case 9:return nt=_e.type,tt=_e.pendingProps.children,Tg(_e,et),nt=Vg(nt),tt=tt(nt),_e.flags|=1,Yi($,_e,tt,et),_e.child;case 14:return tt=_e.type,nt=Lg(tt,_e.pendingProps),nt=Lg(tt.type,nt),aj($,_e,tt,nt,et);case 15:return cj($,_e,_e.type,_e.pendingProps,et);case 17:return tt=_e.type,nt=_e.pendingProps,nt=_e.elementType===tt?nt:Lg(tt,nt),jj($,_e),_e.tag=1,Zf(tt)?($=!0,cg(_e)):$=!1,Tg(_e,et),ph(_e,tt,nt),rh(_e,tt,nt,et),kj(null,_e,tt,!0,$,et);case 19:return yj($,_e,et);case 22:return ej($,_e,et)}throw Error(p$3(156,_e.tag))};function Gk($,_e){return ac($,_e)}function al($,_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 al($,_e,et,tt)}function bj($){return $=$.prototype,!(!$||!$.isReactComponent)}function $k($){if(typeof $=="function")return bj($)?1:0;if($!=null){if($=$.$$typeof,$===Da)return 11;if($===Ga)return 14}return 2}function wh($,_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 yh($,_e,et,tt,nt,rt){var ot=2;if(tt=$,typeof $=="function")bj($)&&(ot=1);else if(typeof $=="string")ot=5;else e:switch($){case ya:return Ah(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 qj(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$3(130,$==null?$:typeof $,""))}return _e=Bg(ot,et,_e,nt),_e.elementType=$,_e.type=tt,_e.lanes=rt,_e}function Ah($,_e,et,tt){return $=Bg(7,$,tt,_e),$.lanes=et,$}function qj($,_e,et,tt){return $=Bg(22,$,tt,_e),$.elementType=Ia,$.lanes=et,$.stateNode={isHidden:!1},$}function xh($,_e,et){return $=Bg(6,$,null,_e),$.lanes=et,$}function zh($,_e,et){return _e=Bg(4,$.children!==null?$.children:[],$.key,_e),_e.lanes=et,_e.stateNode={containerInfo:$.containerInfo,pendingChildren:null,implementation:$.implementation},_e}function bl($,_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 cl($,_e,et,tt,nt,rt,ot,it,st){return $=new bl($,_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},ah(rt),$}function dl($,_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$1=reactDomExports;client$1.createRoot=m$1.createRoot,client$1.hydrateRoot=m$1.hydrateRoot;var jsx=function(_e,et){var tt=arguments;if(et==null||!hasOwnProperty$2.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 lt(){ot===rt&&(ot=new Map,rt.forEach((yt,vt)=>{ot.set(vt,yt)}))}function ct(){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;lt();const Et=it++;return ot.set(Et,yt),function(){if(vt){if(st)throw new Error(formatProdErrorMessage$1(6));vt=!1,lt(),ot.delete(Et),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(Et=>{Et()}),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 Et(){const Tt=vt;Tt.next&&Tt.next(ct())}return Et(),{unsubscribe:yt(Et)}},[symbol_observable_default](){return this}}}return dt({type:actionTypes_default.INIT}),{dispatch:dt,subscribe:ft,getState:ct,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 lt={};for(let ct=0;ct"u")throw it&&it.type,new Error(formatProdErrorMessage$1(14));lt[ft]=ht,st=st||ht!==pt}return st=st||tt.length!==Object.keys(ot).length,st?lt: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,...lt)=>rt(st,...lt)},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,...lt){return ot.produce(st,ct=>et.call(this,ct,...lt))}}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={},lt=nt.pop();typeof lt=="object"&&(st=lt,lt=nt.pop()),assertIsFunction(lt,`createSelector expects an output function after the inputs, but received: [${typeof lt}]`);const ct={...et,...st},{memoize:ft,memoizeOptions:dt=[],argsMemoize:pt=weakMapMemoize,argsMemoizeOptions:ht=[],devModeChecks:gt={}}=ct,yt=ensureIsArray(dt),vt=ensureIsArray(ht),Et=getDependencies(nt),Ot=ft(function(){return rt++,lt.apply(null,arguments)},...yt),Tt=pt(function(){ot++;const $t=collectInputSelectorResults(Et,arguments);return it=Ot.apply(null,$t),it},...vt);return Object.assign(Tt,{resultFunc:lt,memoizedResultFunc:Ot,dependencies:Et,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(...$);return(...et)=>{const tt=_e(...et),nt=(rt,...ot)=>tt(isDraft(rt)?current(rt):rt,...ot);return Object.assign(nt,tt),nt}};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),lt=()=>{ot=!1,rt&&(rt=!1,it.forEach(ct=>ct()))};return Object.assign({},tt,{subscribe(ct){const ft=()=>nt&&ct(),dt=tt.subscribe(ft);return it.add(ct),()=>{dt(),it.delete(ct)}},dispatch(ct){var ft;try{return nt=!((ft=ct==null?void 0:ct.meta)!=null&&ft[SHOULD_AUTOBATCH]),rt=!nt,rt&&(ot||(ot=!0,st(lt))),tt.dispatch(ct)}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 lt=compose$1;nt&&(lt=composeWithDevTools({trace:!IS_PRODUCTION,...typeof nt=="object"&&nt}));const ct=applyMiddleware(...st),ft=buildGetDefaultEnhancers(ct);let dt=typeof ot=="function"?ot(ft):ft();const pt=lt(...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 lt=[et[st.type],...tt.filter(({matcher:ct})=>ct(st)).map(({reducer:ct})=>ct)];return lt.filter(ct=>!!ct).length===0&&(lt=[nt]),lt.reduce((ct,ft)=>{if(ft)if(isDraft(ct)){const pt=ft(ct,st);return pt===void 0?ct:pt}else{if(isDraftable(ct))return produce(ct,dt=>ft(dt,st));{const dt=ft(ct,st);if(dt===void 0){if(ct===null)return ct;throw new Error(formatProdErrorMessage(9))}return dt}}return ct},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=($,_e)=>hasMatchFunction($)?$.match(_e):$(_e);function isAnyOf(...$){return _e=>$.some(et=>matches(et,_e))}var commonProperties=["name","message","stack","code"],RejectWithValue=class{constructor($,_e){Bu(this,"_type");this.payload=$,this.meta=_e}},FulfillWithMeta=class{constructor($,_e){Bu(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,lt,ct,ft)=>({payload:st,meta:{...ft||{},arg:ct,requestId:lt,requestStatus:"fulfilled"}})),rt=createAction(_e+"/pending",(st,lt,ct)=>({payload:void 0,meta:{...ct||{},arg:lt,requestId:st,requestStatus:"pending"}})),ot=createAction(_e+"/rejected",(st,lt,ct,ft,dt)=>({payload:ft,error:(tt&&tt.serializeError||miniSerializeError)(st||"Rejected"),meta:{...dt||{},arg:ct,requestId:lt,rejectedWithValue:!!ft,requestStatus:"rejected",aborted:(st==null?void 0:st.name)==="AbortError",condition:(st==null?void 0:st.name)==="ConditionError"}}));function it(st){return(lt,ct,ft)=>{const dt=tt!=null&&tt.idGenerator?tt.idGenerator(st):nanoid(),pt=new AbortController;let ht;function gt(vt){ht=vt,pt.abort()}const yt=async function(){var Ot,Tt;let vt;try{let xt=(Ot=tt==null?void 0:tt.condition)==null?void 0:Ot.call(tt,st,{getState:ct,extra:ft});if(isThenable(xt)&&(xt=await xt),xt===!1||pt.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const $t=new Promise((wt,mt)=>pt.signal.addEventListener("abort",()=>mt({name:"AbortError",message:ht||"Aborted"})));lt(rt(dt,st,(Tt=tt==null?void 0:tt.getPendingMeta)==null?void 0:Tt.call(tt,{requestId:dt,arg:st},{getState:ct,extra:ft}))),vt=await Promise.race([$t,Promise.resolve(et(st,{dispatch:lt,getState:ct,extra:ft,requestId:dt,signal:pt.signal,abort:gt,rejectWithValue:(wt,mt)=>new RejectWithValue(wt,mt),fulfillWithValue:(wt,mt)=>new FulfillWithMeta(wt,mt)})).then(wt=>{if(wt instanceof RejectWithValue)throw wt;return wt instanceof FulfillWithMeta?nt(wt.payload,dt,st,wt.meta):nt(wt,dt,st)})])}catch(xt){vt=xt instanceof RejectWithValue?ot(null,dt,st,xt.payload,xt.meta):ot(xt,dt,st)}return tt&&!tt.dispatchConditionRejection&&ot.match(vt)&&vt.meta.condition||lt(vt),vt}();return Object.assign(yt,{abort:gt,requestId:dt,arg:st,unwrap(){return yt.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),lt={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},ct={addCase(yt,vt){const Et=typeof yt=="string"?yt:yt.type;if(!Et)throw new Error(formatProdErrorMessage(12));if(Et in lt.sliceCaseReducersByType)throw new Error(formatProdErrorMessage(13));return lt.sliceCaseReducersByType[Et]=vt,ct},addMatcher(yt,vt){return lt.sliceMatchers.push({matcher:yt,reducer:vt}),ct},exposeAction(yt,vt){return lt.actionCreators[yt]=vt,ct},exposeCaseReducer(yt,vt){return lt.sliceCaseReducersByName[yt]=vt,ct}};st.forEach(yt=>{const vt=it[yt],Et={reducerName:yt,type:getType(rt,yt),createNotation:typeof nt.reducers=="function"};isAsyncThunkSliceReducerDefinition(vt)?handleThunkCaseReducerDefinition(Et,vt,ct,_e):handleNormalReducerDefinition(Et,vt,ct)});function ft(){const[yt={},vt=[],Et=void 0]=typeof nt.extraReducers=="function"?executeReducerBuilderCallback(nt.extraReducers):[nt.extraReducers],Ot={...yt,...lt.sliceCaseReducersByType};return createReducer(nt.initialState,Tt=>{for(let xt in Ot)Tt.addCase(xt,Ot[xt]);for(let xt of lt.sliceMatchers)Tt.addMatcher(xt.matcher,xt.reducer);for(let xt of vt)Tt.addMatcher(xt.matcher,xt.reducer);Et&&Tt.addDefaultCase(Et)})}const dt=yt=>yt,pt=new WeakMap;let ht;const gt={name:rt,reducerPath:ot,reducer(yt,vt){return ht||(ht=ft()),ht(yt,vt)},actions:lt.actionCreators,caseReducers:lt.sliceCaseReducersByName,getInitialState(){return ht||(ht=ft()),ht.getInitialState()},getSelectors(yt=dt){const vt=emplace(pt,this,{insert:()=>new WeakMap});return emplace(vt,yt,{insert:()=>{const Et={};for(const[Ot,Tt]of Object.entries(nt.selectors??{}))Et[Ot]=wrapSelector(this,Tt,yt,this!==gt);return Et}})},selectSlice(yt){let vt=yt[this.reducerPath];return typeof vt>"u"&&this!==gt&&(vt=this.getInitialState()),vt},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(yt,{reducerPath:vt,...Et}={}){const Ot=vt??this.reducerPath;return yt.inject({reducerPath:Ot,reducer:this.reducer},Et),{...this,reducerPath:Ot}}};return gt}}function wrapSelector($,_e,et,tt){function nt(rt,...ot){let it=et.call($,rt);return typeof it>"u"&&tt&&(it=$.getInitialState()),_e(it,...ot)}return nt.unwrapped=_e,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:lt,options:ct}=et,ft=nt($,rt,ct);tt.exposeAction(_e,ft),ot&&tt.addCase(ft.fulfilled,ot),it&&tt.addCase(ft.pending,it),st&&tt.addCase(ft.rejected,st),lt&&tt.addMatcher(ft.settled,lt),tt.exposeCaseReducer(_e,{fulfilled:ot||noop$4,pending:it||noop$4,rejected:st||noop$4,settled:lt||noop$4})}function noop$4(){}var alm="listenerMiddleware";createAction(`${alm}/add`);createAction(`${alm}/removeAll`);createAction(`${alm}/remove`);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 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$3=formatNum;class FloatingDateTime extends Date{constructor(_e){super(_e+"Z"),this.isFloating=!0}toISOString(){const _e=`${this.getUTCFullYear()}-${f$3(2,this.getUTCMonth()+1)}-${f$3(2,this.getUTCDate())}`,et=`${f$3(2,this.getUTCHours())}:${f$3(2,this.getUTCMinutes())}:${f$3(2,this.getUTCSeconds())}.${f$3(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$2=formatNum,DateTime$1=globalThis.Date;let Date$1=class extends DateTime$1{constructor(_e){super(_e),this.isDate=!0}toISOString(){return`${this.getUTCFullYear()}-${f$2(2,this.getUTCMonth()+1)}-${f$2(2,this.getUTCDate())}`}};var createDate$1=$=>{const _e=new Date$1($);if(isNaN(_e))throw new TypeError("Invalid Datetime");return _e};const f$1=formatNum;class Time extends Date{constructor(_e){super(`0000-01-01T${_e}Z`),this.isTime=!0}toISOString(){return`${f$1(2,this.getUTCHours())}:${f$1(2,this.getUTCMinutes())}:${f$1(2,this.getUTCSeconds())}.${f$1(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$2(){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$2()),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$1(emptyTarget($),$,_e):$}function defaultArrayMerge($,_e,et){return $.concat(_e).map(function(tt){return cloneUnlessOtherwiseSpecified(tt,et)})}function getMergeFunction($,_e){if(!_e.customMerge)return deepmerge$1;var et=_e.customMerge($);return typeof et=="function"?et:deepmerge$1}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$1($,_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$1.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$1(tt,nt,et)},{})};var deepmerge_1=deepmerge$1,cjs$1=deepmerge_1;const deepmerge$2=getDefaultExportFromCjs(cjs$1);var define_import_meta_env_default={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};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 $=define_import_meta_env_default.PUBLIC_URL||"/";$.endsWith("/")||($+="/");const _e=define_import_meta_env_default.REACT_APP_SETTINGS_PATH||CONTEXT_SETTINGS_FILE,et=_e.startsWith("/")?"":$,tt=`${window.location.origin}${et}${_e}`;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,lt)=>typeof it=="function"?rt(it,st,lt):ot(it,st,lt),rt=(it,st,lt)=>{try{const ct=it(st,_e,et);return ct===void 0?st:ct}catch(ct){return console.warn(`Validation of setting "${lt}" (${tt}) with value "${st}" failed: ${ct}. Ignoring.`),null}},ot=(it,st,lt)=>{const ct={};for(const ft in st){const dt=lt?`${lt}.${ft}`:ft;if(ft in it){const pt=nt(it[ft],st[ft],dt);pt!==null&&(ct[ft]=pt)}else console.warn(`"${dt}" (${tt}) is not a valid settings key. Ignoring.`)}return ct};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$2($,_e,{arrayMerge});merge$1.all=$=>deepmerge$2.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(lt){return Promise.reject(st.status?"Status "+st.status+": "+it:lt.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,lt){st=st.replace(/\0/g,"�");var ct=/\r\n|\r|\n/,ft=Date.now(),dt=0,pt=st.split(ct),ht=!1,gt=[],yt=[],vt=[];function Et(kt,Nt){vt.push({message:kt,line:dt+1,col:Nt})}var Ot=pt[dt],Tt=Ot.length,xt="WEBVTT",$t=0,wt=xt.length;for(Ot[0]==="\uFEFF"&&($t=1,wt+=1),(Ttwt&&Ot[wt]!==" "&&Ot[wt]!==" ")&&Et('No valid signature. (File needs to start with "WEBVTT".)'),dt++;pt[dt]!=""&&pt[dt]!=null;){if(Et("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&&Et("Cannot have timestamp in a comment."),dt++;continue}if(/^STYLE($|[ \t])/.test(mt.id)){var St=[],Pt=!1;for(dt++;pt[dt]!=""&&pt[dt]!=null;)pt[dt].indexOf("-->")!=-1&&(Et("Cannot have timestamp in a style block."),Pt=!0),St.push(pt[dt]),dt++;if(yt.length){Et("Style blocks cannot appear after the first cue.");continue}Pt||gt.push(St.join(` +`));continue}if(dt++,pt[dt]==""||pt[dt]==null){Et("Cue identifier cannot be standalone.");continue}if(pt[dt].indexOf("-->")==-1){Ct=!1,Et("Cue identifier needs to be followed by timestamp.");continue}}ht=!1;var At=new tt(pt[dt],Et),Mt=0;if(yt.length>0&&(Mt=yt[yt.length-1].startTime),Ct&&!At.parse(mt,Mt)){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){Et("Blank line missing before cue."),ht=!0;break}mt.text!=""&&(mt.text+=` +`),mt.text+=pt[dt],dt++}var Rt=new nt(mt.text,Et,lt,it);mt.tree=Rt.parse(mt.startTime,mt.endTime),yt.push(mt)}return yt.sort(function(kt,Nt){return kt.startTimeNt.startTime?1:kt.endTime>Nt.endTime?-1:kt.endTime2||parseInt(Ot,10)>59)&&(Et="hours"),ft[dt]!=":"){pt("No time unit separator found.");return}if(dt++,Tt=gt(/\d/),Tt.length!=2){pt("Must be exactly two digits.");return}if(Et=="hours"||ft[dt]==":"){if(ft[dt]!=":"){pt("No seconds found or minutes is greater than 59.");return}if(dt++,xt=gt(/\d/),xt.length!=2){pt("Must be exactly two digits.");return}}else{if(Ot.length!=2){pt("Must be exactly two digits.");return}xt=Tt,Tt=Ot,Ot="0"}if(ft[dt]!="."){pt('No decimal separator (".") found.');return}if(dt++,$t=gt(/\d/),$t.length!=3){pt("Milliseconds must be given in three digits.");return}if(parseInt(Tt,10)>59){pt("You cannot have more than 59 minutes.");return}if(parseInt(xt,10)>59){pt("You cannot have more than 59 seconds.");return}return parseInt(Ot,10)*60*60+parseInt(Tt,10)*60+parseInt(xt,10)+parseInt($t,10)/1e3}function vt(Et,Ot){for(var Tt=Et.split(lt),xt=[],$t=0;$t100)){pt("Line position cannot be >100%.");continue}if(At===""||isNaN(At)||!isFinite(At)){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}Ot.lineAlign=Pt}Ot.snapToLines=!Mt,Ot.linePosition=parseFloat(At),parseFloat(At).toString()!==At&&(Ot.nonSerializable=!0)}else if(mt=="position"){if(/,/.test(Ct)){var St=Ct.split(",");Ct=St[0];var Rt=St[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(At=Ct.slice(0,Ct.length-1),At===""||isNaN(At)||!isFinite(At)){pt("Line position needs to be a number");continue}if(Rt!==void 0){if(!["line-left","center","line-right"].includes(Rt)){pt("Position alignment needs to be one of line-left, center or line-right");continue}Ot.positionAlign=Rt}Ot.textPosition=parseFloat(At)}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 kt=Ct.slice(0,Ct.length-1);if(kt===void 0||kt===""||isNaN(kt)){pt("Size needs to be a number"),kt=100;continue}else if(kt=parseFloat(kt),kt<0||kt>100){pt("Size needs to be between 0 and 100%.");continue}Ot.size=kt}else if(mt=="align"){var Nt=["start","center","end","left","right"];if(Nt.indexOf(Ct)==-1){pt("Alignment can only be set to one of "+Nt.join(", ")+".");continue}Ot.alignment=Ct}else pt("Invalid setting.")}}this.parse=function(Et,Ot){if(ht(lt),Et.startTime=yt(),Et.startTime!=null){if(Et.startTime' by whitespace."),ht(lt),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++,ct.test(ft[dt])&&pt("'-->' not separated from timestamp by whitespace."),ht(lt),Et.endTime=yt(),Et.endTime!=null)return Et.endTime<=Et.startTime&&pt("End timestamp is not greater than start timestamp."),ct.test(ft[dt]),ht(lt),vt(ft.substring(dt),Et),!0}},this.parseTimestamp=function(){var Et=yt();if(ft[dt]!=null){pt("Timestamp must not have trailing characters.");return}return Et}},nt=function(dt,st,lt,ct){this.entities=ct;var ft=this,dt=dt,pt=0,ht=function(yt){lt!="metadata"&&st(yt,pt+1)};this.parse=function(yt,vt){function Et(At){const Mt={...At};return At.children&&(Mt.children=At.children.map(Et)),Mt.parent&&delete Mt.parent,Mt}var Ot={children:[]},Tt=Ot,xt=[];function $t(At){Tt.children.push({type:"object",name:At[1],classes:At[2],children:[],parent:Tt}),Tt=Tt.children[Tt.children.length-1]}function wt(At){for(var Mt=Tt;Mt;){if(Mt.name==At)return!0;Mt=Mt.parent}}for(;dt[pt]!=null;){var mt=gt();if(mt[0]=="text")Tt.children.push({type:"text",value:mt[1],parent:Tt});else if(mt[0]=="start tag"){lt=="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"&&Tt.name=="ruby"?$t(mt):Ct=="v"?(wt("v")&&ht(" cannot be nested inside itself."),$t(mt),Tt.value=mt[3],mt[3]||ht(" requires an annotation.")):Ct=="lang"?($t(mt),Tt.value=mt[3]):ht("Incorrect start tag.")}else if(mt[0]=="end tag")lt=="chapters"&&ht("End tags not allowed in chapter title text."),mt[1]==Tt.name?Tt=Tt.parent:mt[1]=="ruby"&&Tt.name=="rt"?Tt=Tt.parent.parent:ht("Incorrect end tag.");else if(mt[0]=="timestamp"){lt=="chapters"&&ht("Timestamp not allowed in chapter title text.");var St=new tt(mt[1],ht),Pt=St.parseTimestamp();Pt!=null&&((Pt<=yt||Pt>=vt)&&ht("Timestamp must be between start timestamp and end timestamp."),xt.length>0&&xt[xt.length-1]>=Pt&&ht("Timestamp must be greater than any previous timestamp."),Tt.children.push({type:"timestamp",value:Pt,parent:Tt}),xt.push(Pt))}}for(;Tt.parent;)Tt.name!="v"&&ht("Required end tag missing."),Tt=Tt.parent;return Et(Ot)};function gt(){for(var yt="data",vt="",Et="",Ot=[];dt[pt-1]!=null||pt==0;){var Tt=dt[pt];if(yt=="data")if(Tt=="&")Et=Tt,yt="escape";else if(Tt=="<"&&vt=="")yt="tag";else{if(Tt=="<"||Tt==null)return["text",vt];vt+=Tt}else if(yt=="escape")if(Tt=="<"||Tt==null){ht("Incorrect escape.");let xt;return(xt=Et.match(/^&#([0-9]+)$/))?vt+=String.fromCharCode(xt[1]):ft.entities[Et]?vt+=ft.entities[Et]:vt+=Et,["text",vt]}else if(Tt=="&")ht("Incorrect escape."),vt+=Et,Et=Tt;else if(/[a-z#0-9]/i.test(Tt))Et+=Tt;else if(Tt==";"){let xt;(xt=Et.match(/^&#(x?[0-9]+)$/))?vt+=String.fromCharCode("0"+xt[1]):ft.entities[Et+Tt]?vt+=ft.entities[Et+Tt]:(xt=Object.keys(ct).find($t=>Et.startsWith($t)))?vt+=ft.entities[xt]+Et.slice(xt.length)+Tt:(ht("Incorrect escape."),vt+=Et+";"),yt="data"}else ht("Incorrect escape."),vt+=Et+Tt,yt="data";else if(yt=="tag")if(Tt==" "||Tt==` +`||Tt=="\f"||Tt==" ")yt="start tag annotation";else if(Tt==".")yt="start tag class";else if(Tt=="/")yt="end tag";else if(/\d/.test(Tt))vt=Tt,yt="timestamp tag";else{if(Tt==">"||Tt==null)return Tt==">"&&pt++,["start tag","",[],""];vt=Tt,yt="start tag"}else if(yt=="start tag")if(Tt==" "||Tt=="\f"||Tt==" ")yt="start tag annotation";else if(Tt==` +`)Et=Tt,yt="start tag annotation";else if(Tt==".")yt="start tag class";else{if(Tt==">"||Tt==null)return Tt==">"&&pt++,["start tag",vt,[],""];vt+=Tt}else if(yt=="start tag class")if(Tt==" "||Tt=="\f"||Tt==" ")Et&&Ot.push(Et),Et="",yt="start tag annotation";else if(Tt==` +`)Et&&Ot.push(Et),Et=Tt,yt="start tag annotation";else if(Tt==".")Et&&Ot.push(Et),Et="";else{if(Tt==">"||Tt==null)return Tt==">"&&pt++,Et&&Ot.push(Et),["start tag",vt,Ot,""];Et+=Tt}else if(yt=="start tag annotation"){if(Tt==">"||Tt==null)return Tt==">"&&pt++,Et=Et.split(/[\u0020\t\f\r\n]+/).filter(function(xt){if(xt)return!0}).join(" "),["start tag",vt,Ot,Et];Et+=Tt}else if(yt=="end tag"){if(Tt==">"||Tt==null)return Tt==">"&&pt++,["end tag",vt];vt+=Tt}else if(yt=="timestamp tag"){if(Tt==">"||Tt==null)return Tt==">"&&pt++,["timestamp",vt];vt+=Tt}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 lt(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 ct(dt){return(dt.id!==void 0?dt.id+` +`:"")+it(dt.startTime)+" --> "+it(dt.endTime)+st(dt)+` +`+lt(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("")};let flexGapIsSupported;function checkFlexGapSupport(){if(flexGapIsSupported!==void 0)return flexGapIsSupported;const $=document.createElement("div");return $.style.display="flex",$.style.flexDirection="column",$.style.rowGap="1px",$.style.position="absolute",$.appendChild(document.createElement("div")),$.appendChild(document.createElement("div")),document.body.appendChild($),flexGapIsSupported=$.scrollHeight===1,$.parentNode&&$.parentNode.removeChild($),flexGapIsSupported}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($){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,aspectRatios:[],hasChanges:!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},setCurrentlyAt:($,_e)=>{updateCurrentlyAt$1($,_e.payload)},setCurrentlyAtInSeconds:($,_e)=>{updateCurrentlyAt$1($,roundToDecimalPlace(_e.payload*1e3,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},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},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}},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,selectCurrentlyAt:$=>$.currentlyAt,selectCurrentlyAtInSeconds:$=>$.currentlyAt/1e3,selectSegments:$=>$.segments,selectActiveSegmentIndex:$=>$.activeSegmentIndex,selectIsCurrentSegmentAlive:$=>!$.segments[$.activeSegmentIndex].deleted,selectSelectedWorkflowId:$=>$.selectedWorkflowId,selectHasChanges:$=>$.hasChanges,selectWaveformImages:$=>$.waveformImages,selectOriginalThumbnails:$=>$.originalThumbnails,selectVideos:$=>$.tracks.filter(_e=>_e.video_stream.available===!0),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.findIndex(_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)},{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,markAsDeletedOrAlive,setSelectedWorkflowIndex,mergeLeft,mergeRight,mergeAll,setPreviewTriggered:setPreviewTriggered$1,setClickTriggered:setClickTriggered$1}=videoSlice.actions,{selectIsPlaying:selectIsPlaying$1,selectIsPlayPreview:selectIsPlayPreview$1,selectIsMuted,selectVolume,selectPreviewTriggered:selectPreviewTriggered$1,selectClickTriggered:selectClickTriggered$1,selectCurrentlyAt:selectCurrentlyAt$1,selectCurrentlyAtInSeconds:selectCurrentlyAtInSeconds$1,selectSegments,selectActiveSegmentIndex,selectIsCurrentSegmentAlive,selectSelectedWorkflowId,selectHasChanges:selectHasChanges$2,selectWaveformImages,selectOriginalThumbnails,selectVideos,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;function setCurrentlyAtAndTriggerPreview($){return(_e,et)=>{$=roundToDecimalPlace($,0),$<0&&($=0);const tt=et(),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$1=reactExports;function n$4($,_e){return $===_e&&($!==0||1/$===1/_e)||$!==$&&_e!==_e}var p$2=typeof Object.is=="function"?Object.is:n$4,q$1=g$1.useSyncExternalStore,r$6=g$1.useRef,t$2=g$1.useEffect,u$1=g$1.useMemo,v$1=g$1.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$1(function(){function st(pt){if(!lt){if(lt=!0,ct=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$2(ct,pt))return ht;var gt=tt(pt);return nt!==void 0&&nt(ht,gt)?ht:(ct=pt,ft=gt)}var lt=!1,ct,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$1($,rt[0],rt[1]);return t$2(function(){ot.hasValue=!0,ot.value=it},[it]),v$1(it),it};withSelector.exports=useSyncExternalStoreWithSelector_production_min;var withSelectorExports=withSelector.exports,React$4="default"in React$6?React$5:React$6,ContextKey=Symbol.for("react-redux-context"),gT=typeof globalThis<"u"?globalThis:{};function getContext(){if(!React$4.createContext)return{};const $=gT[ContextKey]??(gT[ContextKey]=new Map);let _e=$.get(React$4.createContext);return _e||(_e=React$4.createContext(null),$.set(React$4.createContext,_e)),_e}var ReactReduxContext=getContext(),notInitialized=()=>{throw new Error("uSES not initialized!")};function createReduxContextHook($=ReactReduxContext){return function(){return React$4.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:lt,stabilityCheck:ct,identityFunctionCheck:ft}=_e();React$4.useRef(!0);const dt=React$4.useCallback({[tt.name](ht){return tt(ht)}}[tt.name],[tt,ct,ot.stabilityCheck]),pt=useSyncExternalStoreWithSelector(st.addNestedSub,it.getState,lt||it.getState,dt,rt);return React$4.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){ct();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 lt(){return rt}function ct(){nt++,et||(et=_e?_e.addNestedSub(st):$.subscribe(st),tt=createListenerCollection())}function ft(){nt--,et&&nt===0&&(et(),et=void 0,tt.clear(),tt=nullListeners)}function dt(){rt||(rt=!0,ct())}function pt(){rt&&(rt=!1,ft())}const ht={addNestedSub:ot,notifyNestedSubs:it,handleChangeWrapper:st,isSubscribed:lt,trySubscribe:dt,tryUnsubscribe:pt,getListeners:()=>tt};return ht}var canUseDOM$1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",useIsomorphicLayoutEffect=canUseDOM$1?React$4.useLayoutEffect:React$4.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 lt=createSubscription($);return{store:$,subscription:lt,getServerState:tt?()=>tt:void 0,stabilityCheck:nt,identityFunctionCheck:rt}},[$,tt,nt,rt]),it=React$4.useMemo(()=>$.getState(),[$]);useIsomorphicLayoutEffect(()=>{const{subscription:lt}=ot;return lt.onStateChange=lt.notifyNestedSubs,lt.trySubscribe(),it!==$.getState()&<.notifyNestedSubs(),()=>{lt.tryUnsubscribe(),lt.onStateChange=void 0}},[ot,it]);const st=_e||ReactReduxContext;return React$4.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($){let _e="https://mui.com/production-error/?code="+$;for(let et=1;et=0)&&(et[nt]=$[nt]);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|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$1=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),lt=!st("as");return function(){var ct=arguments,ft=tt&&_e.__emotion_styles!==void 0?_e.__emotion_styles.slice(0):[];if(rt!==void 0&&ft.push("label:"+rt+";"),ct[0]==null||ct[0].raw===void 0)ft.push.apply(ft,ct);else{ft.push(ct[0][0]);for(var dt=ct.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))};function isPlainObject($){return $!==null&&typeof $=="object"&&$.constructor===Object}function deepClone($){if(!isPlainObject($))return $;const _e={};return Object.keys($).forEach(et=>{_e[et]=deepClone($[et])}),_e}function deepmerge($,_e,et={clone:!0}){const tt=et.clone?_extends$6({},$):$;return isPlainObject($)&&isPlainObject(_e)&&Object.keys(_e).forEach(nt=>{nt!=="__proto__"&&(isPlainObject(_e[nt])&&nt in $&&isPlainObject($[nt])?tt[nt]=deepmerge($[nt],_e[nt],et):et.clone?tt[nt]=isPlainObject(_e[nt])?deepClone(_e[nt]):_e[nt]:tt[nt]=_e[nt])}),tt}function capitalize$1($){if(typeof $!="string")throw new Error(formatMuiErrorMessage(7));return $.charAt(0).toUpperCase()+$.slice(1)}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)}const useEnhancedEffect=typeof window<"u"?reactExports.useLayoutEffect:reactExports.useEffect;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$6.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(lt=>{nt||ot(lt)},[]);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)})},$)}let hadKeyboardEvent=!0,hadFocusVisibleRecently=!1,hadFocusVisibleRecentlyTimeout;const 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,window.clearTimeout(hadFocusVisibleRecentlyTimeout),hadFocusVisibleRecentlyTimeout=window.setTimeout(()=>{hadFocusVisibleRecently=!1},100),_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:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},visuallyHidden$1=visuallyHidden;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 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 defaultGenerator=$=>$,createClassNameGenerator=()=>{let $=defaultGenerator;return{configure(_e){$=_e},generate(_e){return $(_e)},reset(){$=defaultGenerator}}},ClassNameGenerator=createClassNameGenerator(),globalStateClassesMapping={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function generateUtilityClass($,_e,et="Mui"){const tt=globalStateClassesMapping[_e];return tt?`${et}-${tt}`:`${ClassNameGenerator.generate($)}-${_e}`}function generateUtilityClasses($,_e,et="Mui"){const tt={};return _e.forEach(nt=>{tt[nt]=generateUtilityClass($,nt,et)}),tt}const _excluded$T=["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$T),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 lt(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 ct(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(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 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,lt=getPath$1(st,tt)||{};return handleBreakpoints(ot,it,ft=>{let dt=getStyleValue$1(lt,nt,ft);return ft===dt&&typeof ft=="string"&&(dt=getStyleValue$1(lt,nt,`${_e}${ft==="default"?"":capitalize$1(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"}},defaultSxConfig$1=defaultSxConfig;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:lt,transform:ct,style:ft}=it;if(tt==null)return null;if(lt==="typography"&&tt==="inherit")return{[et]:tt};const dt=getPath$1(nt,lt)||{};return ft?ft(ot):handleBreakpoints(ot,tt,ht=>{let gt=getStyleValue$1(dt,ct,ht);return ht===gt&&typeof ht=="string"&&(gt=getStyleValue$1(dt,ct,`${et}${ht==="default"?"":capitalize$1(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$1;function it(st){let lt=st;if(typeof st=="function")lt=st(rt);else if(typeof st!="object")return st;if(!lt)return null;const ct=createEmptyBreakpointObject(rt.breakpoints),ft=Object.keys(ct);let dt=ct;return Object.keys(lt).forEach(pt=>{const ht=callIfFn(lt[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=unstable_createStyleFunctionSx();styleFunctionSx.filterProps=["sx"];const _excluded$S=["breakpoints","palette","spacing","shape"];function createTheme$1($={},..._e){const{breakpoints:et={},palette:tt={},spacing:nt,shape:rt={}}=$,ot=_objectWithoutPropertiesLoose$4($,_excluded$S),it=createBreakpoints(et),st=createSpacing(nt);let lt=deepmerge({breakpoints:it,direction:"ltr",components:{},palette:_extends$6({mode:"light"},tt),spacing:st,shape:_extends$6({},shape$2,rt)},ot);return lt=_e.reduce((ct,ft)=>deepmerge(ct,ft),lt),lt.unstable_sxConfig=_extends$6({},defaultSxConfig$1,ot==null?void 0:ot.unstable_sxConfig),lt.unstable_sx=function(ft){return styleFunctionSx({sx:ft,theme:this})},lt}function isObjectEmpty($){return Object.keys($).length===0}function useTheme$4($=null){const _e=reactExports.useContext(ThemeContext$2);return!_e||isObjectEmpty(_e)?$:_e}const systemDefaultTheme$1=createTheme$1();function useTheme$3($=systemDefaultTheme$1){return useTheme$4($)}function GlobalStyles$1({styles:$,themeId:_e,defaultTheme:et={}}){const tt=useTheme$3(et),nt=typeof $=="function"?$(_e&&tt[_e]||tt):$;return jsxRuntimeExports.jsx(GlobalStyles$2,{styles:nt})}const _excluded$R=["sx"],splitProps=$=>{var _e,et;const tt={systemProps:{},otherProps:{}},nt=(_e=$==null||(et=$.theme)==null?void 0:et.unstable_sxConfig)!=null?_e:defaultSxConfig$1;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$R),{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})}function r$5($){var _e,et,tt="";if(typeof $=="string"||typeof $=="number")tt+=$;else if(typeof $=="object")if(Array.isArray($))for(_e=0;_e<$.length;_e++)$[_e]&&(et=r$5($[_e]))&&(tt&&(tt+=" "),tt+=et);else for(_e in $)$[_e]&&(tt&&(tt+=" "),tt+=_e);return tt}function clsx$3(){for(var $,_e,et=0,tt="";et{nt==="color"?tt+=isEmpty$3(tt)?$[nt]:capitalize$1($[nt]):tt+=`${isEmpty$3(tt)?nt:capitalize$1(nt)}${capitalize$1($[nt].toString())}`}),tt}const _excluded$P=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function isEmpty$2($){return Object.keys($).length===0}function isStringTag($){return typeof $=="string"&&$.charCodeAt(0)>96}const getStyleOverrides=($,_e)=>_e.components&&_e.components[$]&&_e.components[$].styleOverrides?_e.components[$].styleOverrides:null,transformVariants=$=>{let _e=0;const et={};return $&&$.forEach(tt=>{let nt="";typeof tt.props=="function"?(nt=`callback${_e}`,_e+=1):nt=propsToClassKey(tt.props),et[nt]=tt.style}),et},getVariantStyles=($,_e)=>{let et=[];return _e&&_e.components&&_e.components[$]&&_e.components[$].variants&&(et=_e.components[$].variants),transformVariants(et)},variantsResolver=($,_e,et)=>{const{ownerState:tt={}}=$,nt=[];let rt=0;return et&&et.forEach(ot=>{let it=!0;if(typeof ot.props=="function"){const st=_extends$6({},$,tt);it=ot.props(st)}else Object.keys(ot.props).forEach(st=>{tt[st]!==ot.props[st]&&$[st]!==ot.props[st]&&(it=!1)});it&&(typeof ot.props=="function"?nt.push(_e[`callback${rt}`]):nt.push(_e[propsToClassKey(ot.props)])),typeof ot.props=="function"&&(rt+=1)}),nt},themeVariantsResolver=($,_e,et,tt)=>{var nt;const rt=et==null||(nt=et.components)==null||(nt=nt[tt])==null?void 0:nt.variants;return variantsResolver($,_e,rt)};function shouldForwardProp($){return $!=="ownerState"&&$!=="theme"&&$!=="sx"&&$!=="as"}const systemDefaultTheme=createTheme$1(),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}const muiStyledFunctionResolver=({styledArg:$,props:_e,defaultTheme:et,themeId:tt})=>{const nt=$(_extends$6({},_e,{theme:resolveTheme(_extends$6({},_e,{defaultTheme:et,themeId:tt}))}));let rt;if(nt&&nt.variants&&(rt=nt.variants,delete nt.variants),rt){const ot=variantsResolver(_e,transformVariants(rt),rt);return[nt,...ot]}return nt};function createStyled($={}){const{themeId:_e,defaultTheme:et=systemDefaultTheme,rootShouldForwardProp:tt=shouldForwardProp,slotShouldForwardProp:nt=shouldForwardProp}=$,rt=ot=>styleFunctionSx(_extends$6({},ot,{theme:resolveTheme(_extends$6({},ot,{defaultTheme:et,themeId:_e}))}));return rt.__mui_systemSx=!0,(ot,it={})=>{internal_processStyles(ot,Tt=>Tt.filter(xt=>!(xt!=null&&xt.__mui_systemSx)));const{name:st,slot:lt,skipVariantsResolver:ct,skipSx:ft,overridesResolver:dt=defaultOverridesResolver(lowercaseFirstLetter(lt))}=it,pt=_objectWithoutPropertiesLoose$4(it,_excluded$P),ht=ct!==void 0?ct:lt&<!=="Root"&<!=="root"||!1,gt=ft||!1;let yt,vt=shouldForwardProp;lt==="Root"||lt==="root"?vt=tt:lt?vt=nt:isStringTag(ot)&&(vt=void 0);const Et=styled$2(ot,_extends$6({shouldForwardProp:vt,label:yt},pt)),Ot=(Tt,...xt)=>{const $t=xt?xt.map(St=>{if(typeof St=="function"&&St.__emotion_real!==St)return Pt=>muiStyledFunctionResolver({styledArg:St,props:Pt,defaultTheme:et,themeId:_e});if(isPlainObject(St)){let Pt=St,At;return St&&St.variants&&(At=St.variants,delete Pt.variants,Pt=Mt=>{let Rt=St;return variantsResolver(Mt,transformVariants(At),At).forEach(Nt=>{Rt=deepmerge(Rt,Nt)}),Rt}),Pt}return St}):[];let wt=Tt;if(isPlainObject(Tt)){let St;Tt&&Tt.variants&&(St=Tt.variants,delete wt.variants,wt=Pt=>{let At=Tt;return variantsResolver(Pt,transformVariants(St),St).forEach(Rt=>{At=deepmerge(At,Rt)}),At})}else typeof Tt=="function"&&Tt.__emotion_real!==Tt&&(wt=St=>muiStyledFunctionResolver({styledArg:Tt,props:St,defaultTheme:et,themeId:_e}));st&&dt&&$t.push(St=>{const Pt=resolveTheme(_extends$6({},St,{defaultTheme:et,themeId:_e})),At=getStyleOverrides(st,Pt);if(At){const Mt={};return Object.entries(At).forEach(([Rt,kt])=>{Mt[Rt]=typeof kt=="function"?kt(_extends$6({},St,{theme:Pt})):kt}),dt(St,Mt)}return null}),st&&!ht&&$t.push(St=>{const Pt=resolveTheme(_extends$6({},St,{defaultTheme:et,themeId:_e}));return themeVariantsResolver(St,getVariantStyles(st,Pt),Pt,st)}),gt||$t.push(rt);const mt=$t.length-xt.length;if(Array.isArray(Tt)&&mt>0){const St=new Array(mt).fill("");wt=[...Tt,...St],wt.raw=[...Tt.raw,...St]}const Ct=Et(wt,...$t);return ot.muiName&&(Ct.muiName=ot.muiName),Ct};return Et.withConfig&&(Ot.withConfig=Et.withConfig),Ot}}const styled$1=createStyled();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$1({props:$,name:_e,defaultTheme:et,themeId:tt}){let nt=useTheme$3(et);return tt&&(nt=nt[tt]||nt),getThemeProps({theme:nt,name:_e,props:$})}function clamp$2($,_e=0,et=1){return Math.min(Math.max(_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 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(formatMuiErrorMessage(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(formatMuiErrorMessage(10,nt))}else tt=tt.split(",");return tt=tt.map(rt=>parseFloat(rt)),{type:et,values:tt,colorSpace:nt}}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 hslToRgb($){$=decomposeColor($);const{values:_e}=$,et=_e[0],tt=_e[1]/100,nt=_e[2]/100,rt=tt*Math.min(nt,1-nt),ot=(lt,ct=(lt+et/30)%12)=>nt-rt*Math.max(Math.min(ct-3,9-ct,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=clamp$2(_e),($.type==="rgb"||$.type==="hsl")&&($.type+="a"),$.type==="color"?$.values[3]=`/${_e}`:$.values[3]=_e,recomposeColor($)}function darken($,_e){if($=decomposeColor($),_e=clamp$2(_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 lighten($,_e){if($=decomposeColor($),_e=clamp$2(_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($)}const ThemeContext=reactExports.createContext(null),ThemeContext$1=ThemeContext;function useTheme$2(){return reactExports.useContext(ThemeContext$1)}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$2(),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$1.Provider,{value:nt,children:_e})}const 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$4(EMPTY_THEME),rt=useTheme$2()||EMPTY_THEME,ot=useThemeScoping(tt,nt,et),it=useThemeScoping(tt,rt,et,!0);return jsxRuntimeExports.jsx(ThemeProvider$2,{theme:it,children:jsxRuntimeExports.jsx(ThemeContext$2.Provider,{value:ot,children:_e})})}const _excluded$O=["component","direction","spacing","divider","children","className","useFlexGap"],defaultTheme$3=createTheme$1(),defaultCreateStyledComponent=styled$1("div",{name:"MuiStack",slot:"Root",overridesResolver:($,_e)=>_e.root});function useThemePropsDefault($){return useThemeProps$1({props:$,name:"MuiStack",defaultTheme:defaultTheme$3})}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,lt)=>((typeof $.spacing=="object"&&$.spacing[lt]!=null||typeof $.direction=="object"&&$.direction[lt]!=null)&&(st[lt]=!0),st),{}),rt=resolveBreakpointValues({values:$.direction,base:nt}),ot=resolveBreakpointValues({values:$.spacing,base:nt});typeof rt=="object"&&Object.keys(rt).forEach((st,lt,ct)=>{if(!rt[st]){const dt=lt>0?rt[ct[lt-1]]:"column";rt[st]=dt}}),et=deepmerge(et,handleBreakpoints({theme:_e},ot,(st,lt)=>$.useFlexGap?{gap:getValue$1(tt,st)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${getSideFromDirection(lt?rt[lt]:$.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(tt,st),{}),rt=_e(style);return reactExports.forwardRef(function(st,lt){const ct=et(st),ft=extendSxProp(ct),{component:dt="div",direction:pt="column",spacing:ht=0,divider:gt,children:yt,className:vt,useFlexGap:Et=!1}=ft,Ot=_objectWithoutPropertiesLoose$4(ft,_excluded$O),Tt={direction:pt,spacing:ht,useFlexGap:Et},xt=nt();return jsxRuntimeExports.jsx(rt,_extends$6({as:dt,ownerState:Tt,ref:lt,className:clsx$3(xt.root,vt)},Ot,{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)}const common={black:"#000",white:"#fff"},common$1=common,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"},grey$1=grey,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"},purple$1=purple,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"},red$1=red,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"},orange$1=orange,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"},blue$1=blue,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"},lightBlue$1=lightBlue,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"},green$1=green,_excluded$N=["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$1.white,default:common$1.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$1.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$1.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($.main,nt):_e==="dark"&&($.dark=darken($.main,rt)))}function getDefaultPrimary($="light"){return $==="dark"?{main:blue$1[200],light:blue$1[50],dark:blue$1[400]}:{main:blue$1[700],light:blue$1[400],dark:blue$1[800]}}function getDefaultSecondary($="light"){return $==="dark"?{main:purple$1[200],light:purple$1[50],dark:purple$1[400]}:{main:purple$1[500],light:purple$1[300],dark:purple$1[700]}}function getDefaultError($="light"){return $==="dark"?{main:red$1[500],light:red$1[300],dark:red$1[700]}:{main:red$1[700],light:red$1[400],dark:red$1[800]}}function getDefaultInfo($="light"){return $==="dark"?{main:lightBlue$1[400],light:lightBlue$1[300],dark:lightBlue$1[700]}:{main:lightBlue$1[700],light:lightBlue$1[500],dark:lightBlue$1[900]}}function getDefaultSuccess($="light"){return $==="dark"?{main:green$1[400],light:green$1[300],dark:green$1[700]}:{main:green$1[800],light:green$1[500],dark:green$1[900]}}function getDefaultWarning($="light"){return $==="dark"?{main:orange$1[400],light:orange$1[300],dark:orange$1[700]}:{main:"#ed6c02",light:orange$1[500],dark:orange$1[900]}}function createPalette($){const{mode:_e="light",contrastThreshold:et=3,tonalOffset:tt=.2}=$,nt=_objectWithoutPropertiesLoose$4($,_excluded$N),rt=$.primary||getDefaultPrimary(_e),ot=$.secondary||getDefaultSecondary(_e),it=$.error||getDefaultError(_e),st=$.info||getDefaultInfo(_e),lt=$.success||getDefaultSuccess(_e),ct=$.warning||getDefaultWarning(_e);function ft(gt){return getContrastRatio(gt,dark.text.primary)>=et?dark.text.primary:light.text.primary}const dt=({color:gt,name:yt,mainShade:vt=500,lightShade:Et=300,darkShade:Ot=700})=>{if(gt=_extends$6({},gt),!gt.main&>[vt]&&(gt.main=gt[vt]),!gt.hasOwnProperty("main"))throw new Error(formatMuiErrorMessage(11,yt?` (${yt})`:"",vt));if(typeof gt.main!="string")throw new Error(formatMuiErrorMessage(12,yt?` (${yt})`:"",JSON.stringify(gt.main)));return addLightOrDark(gt,"light",Et,tt),addLightOrDark(gt,"dark",Ot,tt),gt.contrastText||(gt.contrastText=ft(gt.main)),gt},pt={dark,light};return deepmerge(_extends$6({common:_extends$6({},common$1),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:ct,name:"warning"}),info:dt({color:st,name:"info"}),success:dt({color:lt,name:"success"}),grey:grey$1,contrastThreshold:et,getContrastText:ft,augmentColor:dt,tonalOffset:tt},pt[_e]),nt)}const _excluded$M=["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:lt=16,allVariants:ct,pxToRem:ft}=et,dt=_objectWithoutPropertiesLoose$4(et,_excluded$M),pt=nt/14,ht=ft||(vt=>`${vt/lt*pt}rem`),gt=(vt,Et,Ot,Tt,xt)=>_extends$6({fontFamily:tt,fontWeight:vt,fontSize:ht(Et),lineHeight:Ot},tt===defaultFontFamily?{letterSpacing:`${round$3(Tt/Et)}em`}:{},xt,ct),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(_extends$6({htmlFontSize:lt,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$L=["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$L),(Array.isArray(nt)?nt:[nt]).map(lt=>`${lt} ${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},zIndex$1=zIndex,_excluded$K=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function createTheme($={},..._e){const{mixins:et={},palette:tt={},transitions:nt={},typography:rt={}}=$,ot=_objectWithoutPropertiesLoose$4($,_excluded$K);if($.vars)throw new Error(formatMuiErrorMessage(18));const it=createPalette(tt),st=createTheme$1($);let lt=deepmerge(st,{mixins:createMixins(st.breakpoints,et),palette:it,shadows:shadows.slice(),typography:createTypography(it,rt),transitions:createTransitions(nt),zIndex:_extends$6({},zIndex$1)});return lt=deepmerge(lt,ot),lt=_e.reduce((ct,ft)=>deepmerge(ct,ft),lt),lt.unstable_sxConfig=_extends$6({},defaultSxConfig$1,ot==null?void 0:ot.unstable_sxConfig),lt.unstable_sx=function(ft){return styleFunctionSx({sx:ft,theme:this})},lt}const defaultTheme$1=createTheme(),defaultTheme$2=defaultTheme$1;function useTheme$1(){const $=useTheme$3(defaultTheme$2);return $[THEME_ID]||$}function useThemeProps({props:$,name:_e}){return useThemeProps$1({props:$,name:_e,defaultTheme:defaultTheme$2,themeId:THEME_ID})}const rootShouldForwardProp=$=>shouldForwardProp($)&&$!=="classes",slotShouldForwardProp=shouldForwardProp,styled=createStyled({themeId:THEME_ID,defaultTheme:defaultTheme$2,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$5.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:$}));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($===void 0?_e:`${_e}: ${$}`)},COLOR_SCHEMES=["light","dark","light-high-contrast","dark-high-contrast"],LOCAL_STORAGE_KEY="colorScheme",ColorSchemeContext=React$5.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,lt]=reactExports.useState(!et(it)),ct={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),lt(ft==="auto");let 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:ct,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)",danger1:"var(--color-danger1)",danger2:"var(--color-danger2)",danger4:"var(--color-danger4)",danger5:"var(--color-danger5)",accent8:"var(--color-accent8)",accent7:"var(--color-accent7)",accent6:"var(--color-accent6)",accent5:"var(--color-accent5)",accent4:"var(--color-accent4)",focus:"var(--color-accent8)"},breakpoints:{small:450,medium:650,large:900}},Context=React$5.createContext(DEFAULT_CONFIG),useAppkitConfig=()=>reactExports.useContext(Context),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$1($,_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),lt=rt==="y",ct=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:ct,y:tt.y-nt.height};break;case"bottom":pt={x:ct,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&<?-1:1);break;case"end":pt[ot]+=dt*(et&<?-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 lt=await ot.getElementRects({reference:$,floating:_e,strategy:nt}),{x:ct,y:ft}=computeCoordsFromPlacement(lt,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:lt=0}=evaluate($,_e)||{};if(st==null)return{};const ct=getPaddingObject(lt),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",Et=gt?"clientHeight":"clientWidth",Ot=rt.reference[pt]+rt.reference[dt]-ft[dt]-rt.floating[pt],Tt=ft[dt]-rt.reference[dt],xt=await(ot.getOffsetParent==null?void 0:ot.getOffsetParent(st));let $t=xt?xt[Et]:0;(!$t||!await(ot.isElement==null?void 0:ot.isElement(xt)))&&($t=it.floating[Et]||rt.floating[pt]);const wt=Ot/2-Tt/2,mt=$t/2-ht[pt]/2-1,Ct=min$1(ct[yt],mt),St=min$1(ct[vt],mt),Pt=Ct,At=$t-ht[pt]-St,Mt=$t/2-ht[pt]/2+wt,Rt=clamp$1(Pt,Mt,At),Nt=getAlignment(nt)!=null&&Mt!=Rt&&rt.reference[pt]/2-(MtPt<=0)){var mt,Ct;const Pt=(((mt=nt.flip)==null?void 0:mt.index)||0)+1,At=Tt[Pt];if(At)return{data:{index:Pt,overflows:wt},reset:{placement:At}};let Mt=(Ct=wt.filter(Rt=>Rt.overflows[0]<=0).sort((Rt,kt)=>Rt.overflows[1]-kt.overflows[1])[0])==null?void 0:Ct.placement;if(!Mt)switch(dt){case"bestFit":{var St;const Rt=(St=wt.map(kt=>[kt.placement,kt.overflows.filter(Nt=>Nt>0).reduce((Nt,Ft)=>Nt+Ft,0)]).sort((kt,Nt)=>kt[1]-Nt[1])[0])==null?void 0:St[0];Rt&&(Mt=Rt);break}case"initialPlacement":Mt=ot;break}if(tt!==Mt)return{reset:{placement:Mt}}}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",lt=["left","top"].includes(ot)?-1:1,ct=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*ct,y:dt*lt}:{x:dt*lt,y:pt*ct}}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:Et}=yt;return{x:vt,y:Et}}},...st}=evaluate($,_e),lt={x:et,y:tt},ct=await detectOverflow$1(_e,st),ft=getSideAxis(getSide(nt)),dt=getOppositeAxis(ft);let pt=lt[dt],ht=lt[ft];if(rt){const yt=dt==="y"?"top":"left",vt=dt==="y"?"bottom":"right",Et=pt+ct[yt],Ot=pt-ct[vt];pt=clamp$1(Et,pt,Ot)}if(ot){const yt=ft==="y"?"top":"left",vt=ft==="y"?"bottom":"right",Et=ht+ct[yt],Ot=ht-ct[vt];ht=clamp$1(Et,ht,Ot)}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,lt=(nt.top+it.y)/ot.y,ct=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),Et=yt.left+(ht.clientLeft+parseFloat(vt.paddingLeft))*gt.x,Ot=yt.top+(ht.clientTop+parseFloat(vt.paddingTop))*gt.y;st*=gt.x,lt*=gt.y,ct*=gt.x,ft*=gt.y,st+=Et,lt+=Ot,ht=getWindow$2(ht).frameElement}}return rectToClientRect$1({width:ct,height:ft,x:st,y:lt})}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 lt=getBoundingClientRect$1(et);it=getScale$1(et),st.x=lt.x+et.clientLeft,st.y=lt.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 lt=isWebKit();(!lt||lt&&_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,lt=tt*rt.y;return{width:ot,height:it,x:st,y:lt}}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(ct=>ct!==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((lt,ct)=>{const ft=getClientRectFromClippingAncestor(_e,ct,nt);return lt.top=max$1(ft.top,lt.top),lt.right=min$1(ft.right,lt.right),lt.bottom=min$1(ft.bottom,lt.bottom),lt.left=max$1(ft.left,lt.left),lt},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 lt=getBoundingClientRect$1(_e,!0,rt,_e);st.x=lt.x+_e.clientLeft,st.y=lt.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:lt,top:ct,width:ft,height:dt}=$.getBoundingClientRect();if(it||_e(),!ft||!dt)return;const pt=floor(ct),ht=floor(nt.clientWidth-(lt+ft)),gt=floor(nt.clientHeight-(ct+dt)),yt=floor(lt),Et={rootMargin:-pt+"px "+-ht+"px "+-gt+"px "+-yt+"px",threshold:max$1(0,min$1(1,st))||1};let Ot=!0;function Tt(xt){const $t=xt[0].intersectionRatio;if($t!==st){if(!Ot)return ot();$t?ot(!1,$t):tt=setTimeout(()=>{ot(!1,1e-7)},100)}Ot=!1}try{et=new IntersectionObserver(Tt,{...Et,root:nt.ownerDocument})}catch{et=new IntersectionObserver(Tt,Et)}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,lt=unwrapElement($),ct=nt||rt?[...lt?getOverflowAncestors(lt):[],...getOverflowAncestors(_e)]:[];ct.forEach(vt=>{nt&&vt.addEventListener("scroll",et,{passive:!0}),rt&&vt.addEventListener("resize",et)});const ft=lt&&it?observeMove(lt,et):null;let dt=-1,pt=null;ot&&(pt=new ResizeObserver(vt=>{let[Et]=vt;Et&&Et.target===lt&&pt&&(pt.unobserve(_e),cancelAnimationFrame(dt),dt=requestAnimationFrame(()=>{pt&&pt.observe(_e)})),et()}),lt&&!st&&pt.observe(lt),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(),()=>{ct.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:lt}=$,[ct,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),Et=reactExports.useCallback(Nt=>{Nt!=$t.current&&($t.current=Nt,gt(Nt))},[gt]),Ot=reactExports.useCallback(Nt=>{Nt!==wt.current&&(wt.current=Nt,vt(Nt))},[vt]),Tt=rt||ht,xt=ot||yt,$t=reactExports.useRef(null),wt=reactExports.useRef(null),mt=reactExports.useRef(ct),Ct=useLatestRef$1(st),St=useLatestRef$1(nt),Pt=reactExports.useCallback(()=>{if(!$t.current||!wt.current)return;const Nt={placement:_e,strategy:et,middleware:dt};St.current&&(Nt.platform=St.current),computePosition($t.current,wt.current,Nt).then(Ft=>{const Lt={...Ft,isPositioned:!0};At.current&&!deepEqual$1(mt.current,Lt)&&(mt.current=Lt,reactDomExports.flushSync(()=>{ft(Lt)}))})},[dt,_e,et,St]);index$2(()=>{lt===!1&&mt.current.isPositioned&&(mt.current.isPositioned=!1,ft(Nt=>({...Nt,isPositioned:!1})))},[lt]);const At=reactExports.useRef(!1);index$2(()=>(At.current=!0,()=>{At.current=!1}),[]),index$2(()=>{if(Tt&&($t.current=Tt),xt&&(wt.current=xt),Tt&&xt){if(Ct.current)return Ct.current(Tt,xt,Pt);Pt()}},[Tt,xt,Pt,Ct]);const Mt=reactExports.useMemo(()=>({reference:$t,floating:wt,setReference:Et,setFloating:Ot}),[Et,Ot]),Rt=reactExports.useMemo(()=>({reference:Tt,floating:xt}),[Tt,xt]),kt=reactExports.useMemo(()=>{const Nt={position:et,left:0,top:0};if(!Rt.floating)return Nt;const Ft=roundByDPR(Rt.floating,ct.x),Lt=roundByDPR(Rt.floating,ct.y);return it?{...Nt,transform:"translate("+Ft+"px, "+Lt+"px)",...getDPR(Rt.floating)>=1.5&&{willChange:"transform"}}:{position:et,left:Ft,top:Lt}},[et,it,Rt.floating,ct.x,ct.y]);return reactExports.useMemo(()=>({...ct,update:Pt,refs:Mt,elements:Rt,floatingStyles:kt}),[ct,Pt,Mt,Rt,kt])}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$6.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 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:lt=!0,delay:ct=0,handleClose:ft=null,mouseOnly:dt=!1,restMs:pt=0,move:ht=!0}=_e,gt=useFloatingTree(),yt=useFloatingParentNodeId(),vt=useLatestRef(ft),Et=useLatestRef(ct),Ot=reactExports.useRef(),Tt=reactExports.useRef(),xt=reactExports.useRef(),$t=reactExports.useRef(),wt=reactExports.useRef(!0),mt=reactExports.useRef(!1),Ct=reactExports.useRef(()=>{}),St=reactExports.useCallback(()=>{var Rt;const kt=(Rt=nt.current.openEvent)==null?void 0:Rt.type;return(kt==null?void 0:kt.includes("mouse"))&&kt!=="mousedown"},[nt]);reactExports.useEffect(()=>{if(!lt)return;function Rt(){clearTimeout(Tt.current),clearTimeout($t.current),wt.current=!0}return rt.on("dismiss",Rt),()=>{rt.off("dismiss",Rt)}},[lt,rt]),reactExports.useEffect(()=>{if(!lt||!vt.current||!et)return;function Rt(Nt){St()&&tt(!1,Nt)}const kt=getDocument(it).documentElement;return kt.addEventListener("mouseleave",Rt),()=>{kt.removeEventListener("mouseleave",Rt)}},[it,et,tt,lt,vt,nt,St]);const Pt=reactExports.useCallback(function(Rt,kt){kt===void 0&&(kt=!0);const Nt=getDelay(Et.current,"close",Ot.current);Nt&&!xt.current?(clearTimeout(Tt.current),Tt.current=setTimeout(()=>tt(!1,Rt),Nt)):kt&&(clearTimeout(Tt.current),tt(!1,Rt))},[Et,tt]),At=reactExports.useCallback(()=>{Ct.current(),xt.current=void 0},[]),Mt=reactExports.useCallback(()=>{if(mt.current){const Rt=getDocument(st.floating.current).body;Rt.style.pointerEvents="",Rt.removeAttribute(safePolygonIdentifier),mt.current=!1}},[st]);return reactExports.useEffect(()=>{if(!lt)return;function Rt(){return nt.current.openEvent?["click","mousedown"].includes(nt.current.openEvent.type):!1}function kt(Lt){if(clearTimeout(Tt.current),wt.current=!1,dt&&!isMouseLikePointerType(Ot.current)||pt>0&&getDelay(Et.current,"open")===0)return;const Dt=getDelay(Et.current,"open",Ot.current);Dt?Tt.current=setTimeout(()=>{tt(!0,Lt)},Dt):tt(!0,Lt)}function Nt(Lt){if(Rt())return;Ct.current();const Dt=getDocument(it);if(clearTimeout($t.current),vt.current){et||clearTimeout(Tt.current),xt.current=vt.current({...$,tree:gt,x:Lt.clientX,y:Lt.clientY,onClose(){Mt(),At(),Pt(Lt)}});const Ut=xt.current;Dt.addEventListener("mousemove",Ut),Ct.current=()=>{Dt.removeEventListener("mousemove",Ut)};return}(Ot.current==="touch"?!contains$1(it,Lt.relatedTarget):!0)&&Pt(Lt)}function Ft(Lt){Rt()||vt.current==null||vt.current({...$,tree:gt,x:Lt.clientX,y:Lt.clientY,onClose(){Mt(),At(),Pt(Lt)}})(Lt)}if(isElement$1(ot)){const Lt=ot;return et&&Lt.addEventListener("mouseleave",Ft),it==null||it.addEventListener("mouseleave",Ft),ht&&Lt.addEventListener("mousemove",kt,{once:!0}),Lt.addEventListener("mouseenter",kt),Lt.addEventListener("mouseleave",Nt),()=>{et&&Lt.removeEventListener("mouseleave",Ft),it==null||it.removeEventListener("mouseleave",Ft),ht&&Lt.removeEventListener("mousemove",kt),Lt.removeEventListener("mouseenter",kt),Lt.removeEventListener("mouseleave",Nt)}}},[ot,it,lt,$,dt,pt,ht,Pt,At,Mt,tt,et,gt,Et,vt,nt]),index$1(()=>{var Rt;if(lt&&et&&(Rt=vt.current)!=null&&Rt.__options.blockPointerEvents&&St()){const Ft=getDocument(it).body;if(Ft.setAttribute(safePolygonIdentifier,""),Ft.style.pointerEvents="none",mt.current=!0,isElement$1(ot)&&it){var kt,Nt;const Lt=ot,Dt=gt==null||(kt=gt.nodesRef.current.find(Bt=>Bt.id===yt))==null||(Nt=kt.context)==null?void 0:Nt.elements.floating;return Dt&&(Dt.style.pointerEvents=""),Lt.style.pointerEvents="auto",it.style.pointerEvents="auto",()=>{Lt.style.pointerEvents="",it.style.pointerEvents=""}}}},[lt,et,yt,it,ot,gt,vt,nt,St]),index$1(()=>{et||(Ot.current=void 0,At(),Mt())},[et,At,Mt]),reactExports.useEffect(()=>()=>{At(),clearTimeout(Tt.current),clearTimeout($t.current),Mt()},[lt,At,Mt]),reactExports.useMemo(()=>{if(!lt)return{};function Rt(kt){Ot.current=kt.pointerType}return{reference:{onPointerDown:Rt,onPointerEnter:Rt,onMouseMove(kt){et||pt===0||(clearTimeout($t.current),$t.current=setTimeout(()=>{wt.current||tt(!0,kt.nativeEvent)},pt))}},floating:{onMouseEnter(){clearTimeout(Tt.current)},onMouseLeave(kt){rt.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),Pt(kt.nativeEvent,!1)}}}},[rt,lt,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}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 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:lt=!1,keyboardHandlers:ct=!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)&<||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)&<||(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||!ct||isButtonTarget(pt))&&(pt.key===" "&&!isSpaceIgnored(rt)&&(pt.preventDefault(),dt.current=!0),pt.key==="Enter"&&tt(!(et&&st),pt.nativeEvent))},onKeyUp(pt){pt.defaultPrevented||!ct||isButtonTarget(pt)||isSpaceIgnored(rt)||pt.key===" "&&dt.current&&(dt.current=!1,tt(!(et&&st),pt.nativeEvent))}}}:{},[ot,nt,it,lt,ct,rt,st,et,tt])}const useInsertionEffect=React$6.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:lt}=$,{enabled:ct=!0,escapeKey:ft=!0,outsidePress:dt=!0,outsidePressEvent:pt="pointerdown",referencePress:ht=!1,referencePressEvent:gt="pointerdown",ancestorScroll:yt=!1,bubbles:vt}=_e,Et=useFloatingTree(),Ot=useFloatingParentNodeId()!=null,Tt=useEffectEvent(typeof dt=="function"?dt:()=>!1),xt=typeof dt=="function"?Tt:dt,$t=reactExports.useRef(!1),{escapeKeyBubbles:wt,outsidePressBubbles:mt}=normalizeBubblesProp(vt),Ct=useEffectEvent(Pt=>{if(!et||!ct||!ft||Pt.key!=="Escape")return;const At=Et?getChildren$1(Et.nodesRef.current,rt):[];if(!wt&&(Pt.stopPropagation(),At.length>0)){let Mt=!0;if(At.forEach(Rt=>{var kt;if((kt=Rt.context)!=null&&kt.open&&!Rt.context.dataRef.current.__escapeKeyBubbles){Mt=!1;return}}),!Mt)return}nt.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),tt(!1,isReactEvent(Pt)?Pt.nativeEvent:Pt)}),St=useEffectEvent(Pt=>{const At=$t.current;if($t.current=!1,At||typeof xt=="function"&&!xt(Pt))return;const Mt=getTarget(Pt);if(isHTMLElement$2(Mt)&&st){const Nt=Mt.clientWidth>0&&Mt.scrollWidth>Mt.clientWidth,Ft=Mt.clientHeight>0&&Mt.scrollHeight>Mt.clientHeight;let Lt=Ft&&Pt.offsetX>Mt.clientWidth;if(Ft&&getWindow$1(st).getComputedStyle(Mt).direction==="rtl"&&(Lt=Pt.offsetX<=Mt.offsetWidth-Mt.clientWidth),Lt||Nt&&Pt.offsetY>Mt.clientHeight)return}const Rt=Et&&getChildren$1(Et.nodesRef.current,rt).some(Nt=>{var Ft;return isEventTargetWithin(Pt,(Ft=Nt.context)==null?void 0:Ft.elements.floating)});if(isEventTargetWithin(Pt,st)||isEventTargetWithin(Pt,it)||Rt)return;const kt=Et?getChildren$1(Et.nodesRef.current,rt):[];if(kt.length>0){let Nt=!0;if(kt.forEach(Ft=>{var Lt;if((Lt=Ft.context)!=null&&Lt.open&&!Ft.context.dataRef.current.__outsidePressBubbles){Nt=!1;return}}),!Nt)return}nt.emit("dismiss",{type:"outsidePress",data:{returnFocus:Ot?{preventScroll:!0}:isVirtualClick(Pt)||isVirtualPointerEvent(Pt)}}),tt(!1,Pt)});return reactExports.useEffect(()=>{if(!et||!ct)return;lt.current.__escapeKeyBubbles=wt,lt.current.__outsidePressBubbles=mt;function Pt(Rt){tt(!1,Rt)}const At=getDocument(st);ft&&At.addEventListener("keydown",Ct),xt&&At.addEventListener(pt,St);let Mt=[];return yt&&(isElement$1(it)&&(Mt=getOverflowAncestors(it)),isElement$1(st)&&(Mt=Mt.concat(getOverflowAncestors(st))),!isElement$1(ot)&&ot&&ot.contextElement&&(Mt=Mt.concat(getOverflowAncestors(ot.contextElement)))),Mt=Mt.filter(Rt=>{var kt;return Rt!==((kt=At.defaultView)==null?void 0:kt.visualViewport)}),Mt.forEach(Rt=>{Rt.addEventListener("scroll",Pt,{passive:!0})}),()=>{ft&&At.removeEventListener("keydown",Ct),xt&&At.removeEventListener(pt,St),Mt.forEach(Rt=>{Rt.removeEventListener("scroll",Pt)})}},[lt,st,it,ot,ft,xt,pt,et,tt,yt,ct,wt,mt,Ct,St]),reactExports.useEffect(()=>{$t.current=!1},[xt,pt]),reactExports.useMemo(()=>ct?{reference:{onKeyDown:Ct,[bubbleHandlerKeys[gt]]:Pt=>{ht&&(nt.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),tt(!1,Pt.nativeEvent))}},floating:{onKeyDown:Ct,[captureHandlerKeys[pt]]:()=>{$t.current=!0}}}:{},[ct,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($),lt=useFloatingTree(),ct=useEffectEvent((Tt,xt)=>{Tt&&(dt.current.openEvent=xt),tt==null||tt(Tt,xt)}),ft=reactExports.useRef(null),dt=reactExports.useRef({}),pt=reactExports.useState(()=>createPubSub())[0],ht=useId(),gt=reactExports.useCallback(Tt=>{const xt=isElement$1(Tt)?{getBoundingClientRect:()=>Tt.getBoundingClientRect(),contextElement:Tt}:Tt;st.refs.setReference(xt)},[st.refs]),yt=reactExports.useCallback(Tt=>{(isElement$1(Tt)||Tt===null)&&(ft.current=Tt,ot(Tt)),(isElement$1(st.refs.reference.current)||st.refs.reference.current===null||Tt!==null&&!isElement$1(Tt))&&st.refs.setReference(Tt)},[st.refs]),vt=reactExports.useMemo(()=>({...st.refs,setReference:yt,setPositionReference:gt,domReference:ft}),[st.refs,yt,gt]),Et=reactExports.useMemo(()=>({...st.elements,domReference:it}),[st.elements,it]),Ot=reactExports.useMemo(()=>({...st,refs:vt,elements:Et,dataRef:dt,nodeId:nt,floatingId:ht,events:pt,open:et,onOpenChange:ct}),[st,nt,ht,pt,et,ct,vt,Et]);return index$1(()=>{const Tt=lt==null?void 0:lt.nodesRef.current.find(xt=>xt.id===nt);Tt&&(Tt.context=Ot)}),reactExports.useMemo(()=>({...st,context:Ot,refs:vt,elements:Et}),[st,vt,Et,Ot])}function useFocus($,_e){_e===void 0&&(_e={});const{open:et,onOpenChange:tt,dataRef:nt,events:rt,refs:ot,elements:{floating:it,domReference:st}}=$,{enabled:lt=!0,keyboardOnly:ct=!0}=_e,ft=reactExports.useRef(""),dt=reactExports.useRef(!1),pt=reactExports.useRef();return reactExports.useEffect(()=>{if(!lt)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,lt]),reactExports.useEffect(()=>{if(!lt)return;function ht(gt){(gt.type==="referencePress"||gt.type==="escapeKey")&&(dt.current=!0)}return rt.on("dismiss",ht),()=>{rt.off("dismiss",ht)}},[rt,lt]),reactExports.useEffect(()=>()=>{clearTimeout(pt.current)},[]),reactExports.useMemo(()=>lt?{reference:{onPointerDown(ht){let{pointerType:gt}=ht;ft.current=gt,dt.current=!!(gt&&ct)},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)})}}}:{},[lt,ct,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 lt;(lt=tt.get(it))==null||lt.push(st),nt[it]=function(){for(var ct,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])}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<=(ct-st)*(tt-lt)/(ft-lt)+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 lt(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,Et=Math.sqrt(gt*gt+yt*yt)/ht;return ot=ft,it=dt,st=pt,Et}const ct=ft=>{let{x:dt,y:pt,placement:ht,elements:gt,onClose:yt,nodeId:vt,tree:Et}=ft;return function(Tt){function xt(){clearTimeout(nt),yt()}if(clearTimeout(nt),!gt.domReference||!gt.floating||ht==null||dt==null||pt==null)return;const{clientX:$t,clientY:wt}=Tt,mt=[$t,wt],Ct=getTarget(Tt),St=Tt.type==="mouseleave",Pt=contains$1(gt.floating,Ct),At=contains$1(gt.domReference,Ct),Mt=gt.domReference.getBoundingClientRect(),Rt=gt.floating.getBoundingClientRect(),kt=ht.split("-")[0],Nt=dt>Rt.right-Rt.width/2,Ft=pt>Rt.bottom-Rt.height/2,Lt=isInside(mt,Mt),Dt=Rt.width>Mt.width,Bt=Rt.height>Mt.height,Ut=(Dt?Mt:Rt).left,Vt=(Dt?Mt:Rt).right,Ht=(Bt?Mt:Rt).top,Gt=(Bt?Mt:Rt).bottom;if(Pt&&(rt=!0,!St))return;if(At&&(rt=!1),At&&!St){rt=!0;return}if(St&&isElement$1(Tt.relatedTarget)&&contains$1(gt.floating,Tt.relatedTarget)||Et&&getChildren$1(Et.nodesRef.current,vt).some(nn=>{let{context:Qt}=nn;return Qt==null?void 0:Qt.open}))return;if(kt==="top"&&pt>=Mt.bottom-1||kt==="bottom"&&pt<=Mt.top+1||kt==="left"&&dt>=Mt.right-1||kt==="right"&&dt<=Mt.left+1)return xt();let qt=[];switch(kt){case"top":qt=[[Ut,Mt.top+1],[Ut,Rt.bottom-1],[Vt,Rt.bottom-1],[Vt,Mt.top+1]];break;case"bottom":qt=[[Ut,Rt.top+1],[Ut,Mt.bottom-1],[Vt,Mt.bottom-1],[Vt,Rt.top+1]];break;case"left":qt=[[Rt.right-1,Gt],[Rt.right-1,Ht],[Mt.left+1,Ht],[Mt.left+1,Gt]];break;case"right":qt=[[Mt.right-1,Gt],[Mt.right-1,Ht],[Rt.left+1,Ht],[Rt.left+1,Gt]];break}function Jt(nn){let[Qt,on]=nn;switch(kt){case"top":{const mn=[Dt?Qt+_e/2:Nt?Qt+_e*4:Qt-_e*4,on+_e+1],dn=[Dt?Qt-_e/2:Nt?Qt+_e*4:Qt-_e*4,on+_e+1],fn=[[Rt.left,Nt||Dt?Rt.bottom-_e:Rt.top],[Rt.right,Nt?Dt?Rt.bottom-_e:Rt.top:Rt.bottom-_e]];return[mn,dn,...fn]}case"bottom":{const mn=[Dt?Qt+_e/2:Nt?Qt+_e*4:Qt-_e*4,on-_e],dn=[Dt?Qt-_e/2:Nt?Qt+_e*4:Qt-_e*4,on-_e],fn=[[Rt.left,Nt||Dt?Rt.top+_e:Rt.bottom],[Rt.right,Nt?Dt?Rt.top+_e:Rt.bottom:Rt.top+_e]];return[mn,dn,...fn]}case"left":{const mn=[Qt+_e+1,Bt?on+_e/2:Ft?on+_e*4:on-_e*4],dn=[Qt+_e+1,Bt?on-_e/2:Ft?on+_e*4:on-_e*4];return[...[[Ft||Bt?Rt.right-_e:Rt.left,Rt.top],[Ft?Bt?Rt.right-_e:Rt.left:Rt.right-_e,Rt.bottom]],mn,dn]}case"right":{const mn=[Qt-_e,Bt?on+_e/2:Ft?on+_e*4:on-_e*4],dn=[Qt-_e,Bt?on-_e/2:Ft?on+_e*4:on-_e*4],fn=[[Ft||Bt?Rt.left+_e:Rt.right,Rt.top],[Ft?Bt?Rt.left+_e:Rt.right:Rt.left+_e,Rt.bottom]];return[mn,dn,...fn]}}}if(!isPointInPolygon([$t,wt],qt)){if(rt&&!Lt)return xt();if(!St&&tt){const nn=lt(Tt.clientX,Tt.clientY);if(nn!==null&&nn<.1)return xt()}isPointInPolygon([$t,wt],Jt([dt,pt]))?!rt&&tt&&(nt=window.setTimeout(xt,40)):xt()}}};return ct.__options={blockPointerEvents:et},ct}function o$1($){return _e=>{$.forEach(et=>{typeof et=="function"?et(_e):et!=null&&(et.current=_e)})}}const FloatingContext=React$5.createContext(null),useFloatingContext=()=>{const $=React$5.useContext(FloatingContext);return $??bug("Missing context")},FloatingContainer=React$5.forwardRef(({children:$,placement:_e,arrowSize:et=8,distance:tt=4,borderRadius:nt=4,viewPortMargin:rt=8,ariaRole:ot="tooltip",onClose:it=()=>{},className:st,...lt},ct)=>{const[ft,dt]=reactExports.useState(!1),pt="open"in lt?lt.open:ft,ht=reactExports.useRef(null),gt=reactExports.useRef(null);reactExports.useImperativeHandle(ct,()=>Object.assign(gt.current??unreachable(),{open:()=>dt(!0),close:()=>dt(!1)}));const{x:yt,y:vt,placement:Et,refs:Ot,middlewareData:Tt,context:xt}=useFloating({open:pt,onOpenChange:Rt=>{"open"in lt||dt(Rt),Rt||it()},placement:_e,whileElementsMounted:autoUpdate,middleware:[offset$3(et+tt),flip$2(),shift({padding:rt}),arrow$2({element:ht,padding:nt*1.6})]}),$t=useHover(xt,{enabled:"trigger"in lt&<.trigger==="hover",handleClose:safePolygon(),move:!1}),wt=useFocus(xt,{enabled:"trigger"in lt&<.trigger==="hover"}),mt=useClick(xt,{enabled:"trigger"in lt&<.trigger==="click"}),Ct=useDismiss(xt,{referencePress:ot==="tooltip"}),St=useRole(xt,{role:ot}),{getReferenceProps:Pt,getFloatingProps:At}=useInteractions([$t,wt,mt,Ct,St]),Mt={open:pt,setOpen:ot==="tooltip"?dt:null,settings:{arrowSize:et,distance:tt,borderRadius:nt,viewPortMargin:rt},calculated:{x:yt,y:vt,placement:Et,arrow:Tt.arrow},refs:{arrowRef:ht,...Ot},getReferenceProps:Pt,getFloatingProps:At};return jsx$1(FloatingContext.Provider,{value:Mt,children:jsx$1("div",{ref:gt,css:{position:"relative"},className:st,children:$})})}),FloatingTrigger=({children:$})=>{const _e=useFloatingContext();return React$5.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$5.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},lt)=>{var Ot,Tt;const ct=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,Et=o$1([lt,pt.setFloating]);return jsxs("div",{...gt.getFloatingProps({ref:Et}),css:{"--floating-background-color":_e??ct.colors.neutral05,"--floating-border-color":et??ct.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(xt=>`${xt}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:(Ot=dt.arrow)==null?void 0:Ot.x,top:(Tt=dt.arrow)==null?void 0:Tt.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$5.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=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:it,borderWidth:rt!=="light"?1:0,padding:0,shadowBlur:ot?0:8,children:jsx$1("div",{onClick:st=>{st.target===st.currentTarget&&$()},onBlur:st=>{st.currentTarget.contains(st.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:it,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:st,...lt},ct)=>jsx$1(HeaderMenuItem,{...lt,onClick:ft=>{var dt;(dt=lt==null?void 0:lt.onClick)==null||dt.call(lt,ft),st||$()}},ct))]})})})},HeaderMenuItem=({icon:$,children:_e,wrapper:et,...tt})=>{const nt=useAppkitConfig(),rt=useColorScheme().isHighContrast?nt.colors.neutral90:nt.colors.neutral10,ot=useColorScheme().isHighContrast?nt.colors.neutral05:nt.colors.neutral90,it={display:"flex",gap:16,alignItems:"center",minWidth:160,padding:12,textDecoration:"none",color:nt.colors.neutral90,cursor:"pointer",whiteSpace:"nowrap","& > svg":{maxHeight:23,fontSize:23,width:24,strokeWidth:2,"& > path":{strokeWidth:"inherit"}},":hover, :focus":{backgroundColor:rt,color:ot},...focusStyle(nt,{inset:!0})},{className:st,...lt}=tt,ct=et??jsx$1(Fragment,{});return jsx$1("li",{role:"menuitem",...lt,css:{":not(:first-of-type)":{borderTop:`1px solid ${nt.colors.neutral30}`},...!et&&it},...!et&&{className:st},children:jsx(ct.type,{key:ct.key,...ct.props,children:jsxs(Fragment,{children:[$??jsx$1("svg",{}),jsx$1("div",{children:_e})]}),...et&&{className:st},...et&&{css:[it,{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})]})};React$5.forwardRef(({size:$="1em",..._e},et)=>jsx$1("svg",{ref:et,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:"currentcolor",strokeWidth:4,strokeDasharray:83,strokeLinecap:"round"}},..._e,children:jsx$1("circle",{cx:"25",cy:"25",r:"20"})}));function match$1($,_e,et){return et===void 0?_e[$]():(_e[$]??et)()}const 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=()=>{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,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:"",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,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",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",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",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",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",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();return jsx$1(Global,{styles:globalStyle($)})},globalStyle=$=>css({emotionNormalize,body:{backgroundColor:`${$.background}`,color:`${$.text}`,fontSize:"medium",minHeight:"100vh"}},"",""),BREAKPOINT_SMALL=450,BREAKPOINT_MEDIUM=650,flexGapReplacementStyle=($,_e)=>{const et=$/2,tt=$/4;return{...checkFlexGapSupport()&&{gap:`${$}px`},...!checkFlexGapSupport()&&{">*":{marginTop:`${tt}px`,marginBottom:`${tt}px`,marginRight:`${et}px`,marginLeft:`${et}px`},..._e&&{">*:first-of-type":{marginLeft:"0px"},">*:last-child":{marginRight:"0px"}}}}},basicButtonStyle=$=>css({borderRadius:"5px",cursor:"pointer","&:hover":{backgroundColor:`${$.button_color}`,color:`${$.inverted_text}`},"&:focus":{backgroundColor:`${$.button_color}`,color:`${$.inverted_text}`},display:"flex",justifyContent:"center",alignItems:"center",...flexGapReplacementStyle(10,!1),textAlign:"center",outline:`${$.button_outline}`},"",""),deactivatedButtonStyle=css({borderRadius:"10px",cursor:"pointer",opacity:"0.6",display:"flex",justifyContent:"center",alignItems:"center",...flexGapReplacementStyle(10,!1),textAlign:"center"},"",""),navigationButtonStyle=$=>css({width:"200px",padding:"16px",justifyContent:"space-around",boxShadow:`${$.boxShadow}`,background:`${$.element_bg}`},"",""),backOrContinueStyle=css({display:"flex",flexDirection:"row",...flexGapReplacementStyle(20,!1)},"",""),tileButtonStyle=$=>css({width:"290px",height:"220px",display:"flex",flexDirection:"column",fontWeight:"bold",...flexGapReplacementStyle(30,!1),boxShadow:`${$.boxShadow_tiles}`,background:`${$.element_bg}`,placeSelf:"center"},"",""),disableButtonAnimation={name:"1ywlbv8",styles:"&:hover{transform:none;}&:focus{transform:none;}&:active{transform:none;}"},titleStyle=$=>css({display:"inline-block",padding:"15px",whiteSpace:"nowrap",textOverflow:"ellipsis",maxWidth:"100%",color:`${$.text}`},"",""),titleStyleBold=$=>css({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({...!$&&{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({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({display:"flex",flexDirection:"column",width:"100%",background:`${$.menu_background}`,borderRadius:"5px",boxShadow:`${$.boxShadow_tiles}`,marginTop:"24px",boxSizing:"border-box",padding:"10px",...flexGapReplacementStyle(10,!1)},"",""),backgroundBoxStyle=$=>css({background:`${$.menu_background}`,borderRadius:"7px",boxShadow:`${$.boxShadow_tiles}`,boxSizing:"border-box",padding:"20px",...flexGapReplacementStyle(25,!1)},"","");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$2=/^\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,lt){if(ot){if(st!=="")return;ot=!1}var ct,ft=st.charAt(1)!=="/",dt=st.startsWith(" + + Opencast Editor + + + + + + +
+ +
+ + + +
+
+ + diff --git a/static/css/main.eab7cba8.css b/static/css/main.eab7cba8.css deleted file mode 100644 index f2b533a36..000000000 --- a/static/css/main.eab7cba8.css +++ /dev/null @@ -1,2 +0,0 @@ -body,input,textarea{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Roboto Flex Variable,Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root,.App,body,html{height:100%}.react-resizable{position:relative}.react-resizable-handle{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgd2lkdGg9IjYiIGhlaWdodD0iNiI+PHBhdGggZD0iTTYgNkgwVjQuMmg0LjJWMEg2djZaIiBvcGFjaXR5PSIuMzAyIi8+PC9zdmc+);background-origin:content-box;background-position:100% 100%;background-repeat:no-repeat;box-sizing:border-box;height:20px;padding:0 3px 3px 0;position:absolute;width:20px}.react-resizable-handle-sw{bottom:0;cursor:sw-resize;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;cursor:se-resize;right:0}.react-resizable-handle-nw{cursor:nw-resize;left:0;top:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.react-resizable-handle-ne{cursor:ne-resize;right:0;top:0;-webkit-transform:rotate(270deg);transform:rotate(270deg)}.react-resizable-handle-e,.react-resizable-handle-w{cursor:ew-resize;margin-top:-10px;top:50%}.react-resizable-handle-w{left:0;-webkit-transform:rotate(135deg);transform:rotate(135deg)}.react-resizable-handle-e{right:0;-webkit-transform:rotate(315deg);transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{cursor:ns-resize;left:50%;margin-left:-10px}.react-resizable-handle-n{top:0;-webkit-transform:rotate(225deg);transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}@font-face{font-display:swap;font-family:Roboto Flex Variable;font-style:normal;font-weight:100 1000;src:url(/static/media/roboto-flex-cyrillic-ext-wght-normal.855aac27c348befd9126.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-display:swap;font-family:Roboto Flex Variable;font-style:normal;font-weight:100 1000;src:url(/static/media/roboto-flex-cyrillic-wght-normal.e01e801d0da4e2c5c87d.woff2) format("woff2-variations");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:Roboto Flex Variable;font-style:normal;font-weight:100 1000;src:url(/static/media/roboto-flex-greek-wght-normal.8c7ed9a2be8db3cfb207.woff2) format("woff2-variations");unicode-range:u+0370-03ff}@font-face{font-display:swap;font-family:Roboto Flex Variable;font-style:normal;font-weight:100 1000;src:url(/static/media/roboto-flex-vietnamese-wght-normal.3ee9d0e0273d21090dce.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-display:swap;font-family:Roboto Flex Variable;font-style:normal;font-weight:100 1000;src:url(/static/media/roboto-flex-latin-ext-wght-normal.0a64156a046519332be3.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-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:Roboto Flex Variable;font-style:normal;font-weight:100 1000;src:url(/static/media/roboto-flex-latin-wght-normal.83de0d79c4a86cd0ff67.woff2) format("woff2-variations");unicode-range:u+00??,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:not([data-color-scheme]),html[data-color-scheme=light]{--color-neutral00:#fff;--color-neutral05:#fefefe;--color-neutral10:#f3f3f3;--color-neutral15:#e8e8e8;--color-neutral20:#ddd;--color-neutral25:#d1d1d1;--color-neutral30:#c1c1c1;--color-neutral40:#a3a3a3;--color-neutral50:#777;--color-neutral60:#575757;--color-neutral70:#404040;--color-neutral80:#2a2a2a;--color-neutral90:#181818;--color-danger0:#feedeb;--color-danger1:#ffd2cd;--color-danger2:#feaba1;--color-danger4:#c22a2c;--color-danger5:#880e11;--color-accent9:#044a81;--color-accent8:#215d99;--color-accent7:#3073b8;--color-accent6:#3e8ad8;--color-accent5:#4da1f7;--color-accent4:#71b4f9;--color-focus:#215d99;color-scheme:light}html[data-color-scheme=dark]{--color-neutral00:#111;--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-danger1:#462522;--color-danger2:#712f2a;--color-danger4:#e0584d;--color-danger5:#fb7c67;--color-accent9:#85ace3;--color-accent8:#7da4db;--color-accent7:#588ccd;--color-accent6:#1f72ba;--color-accent5:#1c619e;--color-accent4:#195483;--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-danger1:#fff;--color-danger2:#a50613;--color-danger4:#a50613;--color-danger5:#a50613;--color-accent8:#009;--color-accent7:#009;--color-accent6:#009;--color-accent5:#009;--color-accent4:#009;--color-focus:#009;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-danger1:#000;--color-danger2:#eb1722;--color-danger4:#eb1722;--color-danger5:#eb1722;--color-accent8:#a6ffea;--color-accent7:#a6ffea;--color-accent6:#a6ffea;--color-accent5:#a6ffea;--color-accent4:#a6ffea;--color-focus:#a6ffea;color-scheme:dark} -/*# sourceMappingURL=main.eab7cba8.css.map*/ \ No newline at end of file diff --git a/static/css/main.eab7cba8.css.map b/static/css/main.eab7cba8.css.map deleted file mode 100644 index 677a84af4..000000000 --- a/static/css/main.eab7cba8.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/css/main.eab7cba8.css","mappings":"AAAA,oBAKE,kCAAmC,CACnC,iCAAkC,CAJlC,wJAEY,CAHZ,QAMF,CAEA,KACE,uEAEF,CAGA,qBACE,WACF,CCjBA,iBACE,iBACF,CACA,wBAOE,wPAAuY,CAFvY,6BAA8B,CAG9B,6BAAiC,CAJjC,2BAA4B,CAE5B,qBAAsB,CAHtB,WAAY,CAMZ,mBAAoB,CARpB,iBAAkB,CAClB,UAQF,CACA,2BACE,QAAS,CAET,gBAAiB,CADjB,MAAO,CAEP,+BAAwB,CAAxB,uBACF,CACA,2BACE,QAAS,CAET,gBAAiB,CADjB,OAEF,CACA,2BAGE,gBAAiB,CADjB,MAAO,CADP,KAAM,CAGN,gCAAyB,CAAzB,wBACF,CACA,2BAGE,gBAAiB,CADjB,OAAQ,CADR,KAAM,CAGN,gCAAyB,CAAzB,wBACF,CACA,oDAIE,gBAAiB,CADjB,gBAAiB,CADjB,OAGF,CACA,0BACE,MAAO,CACP,gCAAyB,CAAzB,wBACF,CACA,0BACE,OAAQ,CACR,gCAAyB,CAAzB,wBACF,CACA,oDAIE,gBAAiB,CAFjB,QAAS,CACT,iBAEF,CACA,0BACE,KAAM,CACN,gCAAyB,CAAzB,wBACF,CACA,0BACE,QAAS,CACT,+BAAwB,CAAxB,uBACF,CC/DA,WAGE,iBAAkB,CAFlB,gCAAmC,CACnC,iBAAkB,CAElB,oBAAqB,CACrB,iHAAuF,CACvF,gFACF,CAGA,WAGE,iBAAkB,CAFlB,gCAAmC,CACnC,iBAAkB,CAElB,oBAAqB,CACrB,6GAAmF,CACnF,+DACF,CAGA,WAGE,iBAAkB,CAFlB,gCAAmC,CACnC,iBAAkB,CAElB,oBAAqB,CACrB,0GAAgF,CAChF,yBACF,CAGA,WAGE,iBAAkB,CAFlB,gCAAmC,CACnC,iBAAkB,CAElB,oBAAqB,CACrB,+GAAqF,CACrF,0JACF,CAGA,WAGE,iBAAkB,CAFlB,gCAAmC,CACnC,iBAAkB,CAElB,oBAAqB,CACrB,8GAAoF,CACpF,oIACF,CAGA,WAGE,iBAAkB,CAFlB,gCAAmC,CACnC,iBAAkB,CAElB,oBAAqB,CACrB,0GAAgF,CAChF,wKACF,CC1DA,4DACE,sBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAC1B,sBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAC1B,sBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAE1B,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CAExB,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CAExB,qBAAsB,CACtB,kBACF,CAEA,6BACE,sBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAC1B,yBAA0B,CAE1B,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CAExB,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CAExB,qBAAsB,CACtB,iBACF,CAEA,4CACE,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CAEvB,oBAAqB,CACrB,oBAAqB,CACrB,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CAExB,oBAAwB,CACxB,oBAAwB,CACxB,oBAAwB,CACxB,oBAAwB,CACxB,oBAAwB,CAExB,kBAAsB,CACtB,kBACF,CAEA,2CACE,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CACvB,sBAAuB,CAEvB,oBAAqB,CACrB,oBAAqB,CACrB,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CAExB,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CACxB,uBAAwB,CAExB,qBAAsB,CACtB,iBACF","sources":["index.css","../node_modules/react-resizable/css/styles.css","../node_modules/@fontsource-variable/roboto-flex/index.css","../node_modules/@opencast/appkit/dist/colors.css"],"sourcesContent":["body, textarea, input {\n margin: 0;\n font-family: \"Roboto Flex Variable\", \"Roboto\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Oxygen\",\n \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\",\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, \"Courier New\",\n monospace;\n}\n\n/* Make the Create React App fill the whole height */\nhtml, body, #root, .App {\n height: 100%;\n}\n",".react-resizable {\n position: relative;\n}\n.react-resizable-handle {\n position: absolute;\n width: 20px;\n height: 20px;\n background-repeat: no-repeat;\n background-origin: content-box;\n box-sizing: border-box;\n background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+');\n background-position: bottom right;\n padding: 0 3px 3px 0;\n}\n.react-resizable-handle-sw {\n bottom: 0;\n left: 0;\n cursor: sw-resize;\n transform: rotate(90deg);\n}\n.react-resizable-handle-se {\n bottom: 0;\n right: 0;\n cursor: se-resize;\n}\n.react-resizable-handle-nw {\n top: 0;\n left: 0;\n cursor: nw-resize;\n transform: rotate(180deg);\n}\n.react-resizable-handle-ne {\n top: 0;\n right: 0;\n cursor: ne-resize;\n transform: rotate(270deg);\n}\n.react-resizable-handle-w,\n.react-resizable-handle-e {\n top: 50%;\n margin-top: -10px;\n cursor: ew-resize;\n}\n.react-resizable-handle-w {\n left: 0;\n transform: rotate(135deg);\n}\n.react-resizable-handle-e {\n right: 0;\n transform: rotate(315deg);\n}\n.react-resizable-handle-n,\n.react-resizable-handle-s {\n left: 50%;\n margin-left: -10px;\n cursor: ns-resize;\n}\n.react-resizable-handle-n {\n top: 0;\n transform: rotate(225deg);\n}\n.react-resizable-handle-s {\n bottom: 0;\n transform: rotate(45deg);\n}","/* roboto-flex-cyrillic-ext-wght-normal */\n@font-face {\n font-family: 'Roboto Flex Variable';\n font-style: normal;\n font-display: swap;\n font-weight: 100 1000;\n src: url(./files/roboto-flex-cyrillic-ext-wght-normal.woff2) format('woff2-variations');\n unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;\n}\n\n/* roboto-flex-cyrillic-wght-normal */\n@font-face {\n font-family: 'Roboto Flex Variable';\n font-style: normal;\n font-display: swap;\n font-weight: 100 1000;\n src: url(./files/roboto-flex-cyrillic-wght-normal.woff2) format('woff2-variations');\n unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;\n}\n\n/* roboto-flex-greek-wght-normal */\n@font-face {\n font-family: 'Roboto Flex Variable';\n font-style: normal;\n font-display: swap;\n font-weight: 100 1000;\n src: url(./files/roboto-flex-greek-wght-normal.woff2) format('woff2-variations');\n unicode-range: U+0370-03FF;\n}\n\n/* roboto-flex-vietnamese-wght-normal */\n@font-face {\n font-family: 'Roboto Flex Variable';\n font-style: normal;\n font-display: swap;\n font-weight: 100 1000;\n src: url(./files/roboto-flex-vietnamese-wght-normal.woff2) format('woff2-variations');\n 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;\n}\n\n/* roboto-flex-latin-ext-wght-normal */\n@font-face {\n font-family: 'Roboto Flex Variable';\n font-style: normal;\n font-display: swap;\n font-weight: 100 1000;\n src: url(./files/roboto-flex-latin-ext-wght-normal.woff2) format('woff2-variations');\n unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;\n}\n\n/* roboto-flex-latin-wght-normal */\n@font-face {\n font-family: 'Roboto Flex Variable';\n font-style: normal;\n font-display: swap;\n font-weight: 100 1000;\n src: url(./files/roboto-flex-latin-wght-normal.woff2) format('woff2-variations');\n 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;\n}","html[data-color-scheme=\"light\"], html:not([data-color-scheme]) {\n --color-neutral00: #ffffff;\n --color-neutral05: #fefefe;\n --color-neutral10: #f3f3f3;\n --color-neutral15: #e8e8e8;\n --color-neutral20: #dddddd;\n --color-neutral25: #d1d1d1;\n --color-neutral30: #c1c1c1;\n --color-neutral40: #a3a3a3;\n --color-neutral50: #777777;\n --color-neutral60: #575757;\n --color-neutral70: #404040;\n --color-neutral80: #2a2a2a;\n --color-neutral90: #181818;\n\n --color-danger0: #feedeb;\n --color-danger1: #ffd2cd;\n --color-danger2: #feaba1;\n --color-danger4: #c22a2c;\n --color-danger5: #880e11;\n\n --color-accent9: #044a81;\n --color-accent8: #215D99;\n --color-accent7: #3073B8;\n --color-accent6: #3E8AD8;\n --color-accent5: #4DA1F7;\n --color-accent4: #71B4F9;\n\n --color-focus: #215D99;\n color-scheme: light;\n}\n\nhtml[data-color-scheme=\"dark\"] {\n --color-neutral00: #111111;\n --color-neutral05: #171717;\n --color-neutral10: #1e1e1e;\n --color-neutral15: #262626;\n --color-neutral20: #2e2e2e;\n --color-neutral25: #373737;\n --color-neutral30: #3f3f3f;\n --color-neutral40: #4d4d4d;\n --color-neutral50: #676767;\n --color-neutral60: #868686;\n --color-neutral70: #969696;\n --color-neutral80: #a6a6a6;\n --color-neutral90: #c4c4c4;\n\n --color-danger0: #361314;\n --color-danger1: #462522;\n --color-danger2: #712f2a;\n --color-danger4: #e0584d;\n --color-danger5: #fb7c67;\n\n --color-accent9: #85ace3;\n --color-accent8: #7da4db;\n --color-accent7: #588ccd;\n --color-accent6: #1f72ba;\n --color-accent5: #1c619e;\n --color-accent4: #195483;\n\n --color-focus: #B8D9FC;\n color-scheme: dark;\n}\n\nhtml[data-color-scheme=\"light-high-contrast\"] {\n --color-neutral00: #fff;\n --color-neutral05: #fff;\n --color-neutral10: #fff;\n --color-neutral15: #fff;\n --color-neutral20: #000;\n --color-neutral25: #000;\n --color-neutral30: #000;\n --color-neutral40: #000;\n --color-neutral50: #000;\n --color-neutral60: #000;\n --color-neutral70: #000;\n --color-neutral80: #000;\n --color-neutral90: #000;\n\n --color-danger0: #fff;\n --color-danger1: #fff;\n --color-danger2: #a50613;\n --color-danger4: #a50613;\n --color-danger5: #a50613;\n\n --color-accent8: #000099;\n --color-accent7: #000099;\n --color-accent6: #000099;\n --color-accent5: #000099;\n --color-accent4: #000099;\n\n --color-focus: #000099;\n color-scheme: light;\n}\n\nhtml[data-color-scheme=\"dark-high-contrast\"] {\n --color-neutral00: #000;\n --color-neutral05: #000;\n --color-neutral10: #000;\n --color-neutral15: #000;\n --color-neutral20: #fff;\n --color-neutral25: #fff;\n --color-neutral30: #fff;\n --color-neutral40: #fff;\n --color-neutral50: #fff;\n --color-neutral60: #fff;\n --color-neutral70: #fff;\n --color-neutral80: #fff;\n --color-neutral90: #fff;\n\n --color-danger0: #000;\n --color-danger1: #000;\n --color-danger2: #eb1722;\n --color-danger4: #eb1722;\n --color-danger5: #eb1722;\n\n --color-accent8: #a6ffea;\n --color-accent7: #a6ffea;\n --color-accent6: #a6ffea;\n --color-accent5: #a6ffea;\n --color-accent4: #a6ffea;\n\n --color-focus: #a6ffea;\n color-scheme: dark;\n}\n\n/** TODO: Improve colors for high contrast modes */\n/** TODO: Think about how we want to handle high contrast mode in general.\n High contrast mode mostly rely on pure white, pure black and a single\n highlight color. This leads to problems were non-high-contrast modes\n want to use a subtle neutral color, but the high-contrast modes want\n to use their highlight color.*/\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/main.ea954f14.js b/static/js/main.ea954f14.js deleted file mode 100644 index 5f1a38ca3..000000000 --- a/static/js/main.ea954f14.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see main.ea954f14.js.LICENSE.txt */ -(function(){var __webpack_modules__={3361:function(e,t,n){"use strict";n.d(t,{Z:function(){return oe}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?c(w,--y):0,m--,10===b&&(m=1,v--),b}function C(){return b=y2||T(b)>3?"":" "}function I(e,t){for(;--t&&C()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return O(e,_()+(t<6&&32==E()&&32==C()))}function j(e){for(;C();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&j(b);break;case 40:41===e&&j(e);break;case 92:C()}return y}function L(e,t){for(;C()&&e+b!==57&&(e+b!==84||47!==E()););return"/*"+O(t,y-1)+"*"+i(47===e?e:C())}function M(e){for(;!T(E());)C();return O(e,y)}var D="-ms-",F="-moz-",z="-webkit-",B="comm",V="rule",U="decl",H="@keyframes";function W(e,t){for(var n="",r=p(e),o=0;o0&&d(F)-g&&h(b>32?$(F+";",r,n,g-1):$(s(F," ","")+";",r,n,g-2),p);break;case 59:F+=";";default:if(h(D=Y(F,t,n,v,m,o,f,A,P=[],j=[],g),a),123===T)if(0===m)q(F,t,D,D,P,a,g,f,j);else switch(99===y&&110===c(F,3)?100:y){case 100:case 108:case 109:case 115:q(e,D,D,r&&h(Y(e,D,D,0,0,o,f,A,o,P=[],g),j),o,j,g,f,r?P:j);break;default:q(F,D,D,D,[""],j,0,f,j)}}v=m=b=0,x=O=1,A=F="",g=u;break;case 58:g=1+d(F),b=w;default:if(x<1)if(123==T)--x;else if(125==T&&0==x++&&125==S())continue;switch(F+=i(T),T*x){case 38:O=m>0?1:(F+="\f",-1);break;case 44:f[v++]=(d(F)-1)*O,O=1;break;case 64:45===E()&&(F+=N(C())),y=E(),m=g=d(A=F+=M(_())),T++;break;case 45:45===w&&2==d(F)&&(x=0)}}return a}function Y(e,t,n,r,i,a,l,c,d,h,v){for(var m=i-1,g=0===i?a:[""],y=p(g),b=0,w=0,k=0;b0?g[S]+" "+C:s(C,/&\f/g,g[S])))&&(d[k++]=E);return x(e,t,n,0===i?V:c,d,h,v)}function K(e,t,n){return x(e,t,n,B,i(b),f(e,2,-2),0)}function $(e,t,n,r){return x(e,t,n,U,f(e,0,r),f(e,r+1,-1),r)}var X=function(e,t,n){for(var r=0,o=0;r=o,o=E(),38===r&&12===o&&(t[n]=1),!T(o);)C();return O(e,y)},J=function(e,t){return P(function(e,t){var n=-1,r=44;do{switch(T(r)){case 0:38===r&&12===E()&&(t[n]=1),e[n]+=X(y-1,t,n);break;case 2:e[n]+=N(r);break;case 4:if(44===r){e[++n]=58===E()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=C());return e}(A(e),t))},Q=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Q.get(n))&&!r){Q.set(e,!0);for(var o=[],i=J(t,o),a=n.props,u=0,s=0;u6)switch(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+F+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~l(e,"stretch")?ne(s(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,d(e)-3-(~l(e,"!important")&&10))){case 107:return s(e,":",":"+z)+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(45===c(e,14)?"inline-":"")+"box$3$1"+z+"$2$3$1"+D+"$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return z+e+D+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+D+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+D+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+D+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case U:e.return=ne(e.value,e.length);break;case H:return W([k(e,{value:s(e.value,"@","@"+z)})],r);case V:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return W([k(e,{props:[s(t,/:(read-\w+)/,":"+F+"$1")]})],r);case"::placeholder":return W([k(e,{props:[s(t,/:(plac\w+)/,":"+z+"input-$1")]}),k(e,{props:[s(t,/:(plac\w+)/,":"+F+"$1")]}),k(e,{props:[s(t,/:(plac\w+)/,D+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||re;var i,a,u={},s=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:l,styles:o,next:d}}},2561:function(e,t,n){"use strict";var r;n.d(t,{L:function(){return a},j:function(){return u}});var o=n(2791),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},u=i||o.useLayoutEffect},5438:function(e,t,n){"use strict";n.d(t,{My:function(){return i},fp:function(){return r},hC:function(){return o}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},151:function(e,t,n){"use strict";var r=n(6690).default,o=n(9728).default,i=n(1655).default,a=n(6389).default,u=n(2738),s=function(e){i(n,e);var t=a(n);function n(e){var o;return r(this,n),(o=t.call(this,e)).isDate=!0,o}return o(n,[{key:"toISOString",value:function(){return"".concat(this.getUTCFullYear(),"-").concat(u(2,this.getUTCMonth()+1),"-").concat(u(2,this.getUTCDate()))}}]),n}(n.g.Date);e.exports=function(e){var t=new s(e);if(isNaN(t))throw new TypeError("Invalid Datetime");return t}},6760:function(e,t,n){"use strict";var r=n(6690).default,o=n(9728).default,i=n(1655).default,a=n(6389).default,u=n(3496).default,s=n(2738),l=function(e){i(n,e);var t=a(n);function n(e){var o;return r(this,n),(o=t.call(this,e+"Z")).isFloating=!0,o}return o(n,[{key:"toISOString",value:function(){var e="".concat(this.getUTCFullYear(),"-").concat(s(2,this.getUTCMonth()+1),"-").concat(s(2,this.getUTCDate())),t="".concat(s(2,this.getUTCHours()),":").concat(s(2,this.getUTCMinutes()),":").concat(s(2,this.getUTCSeconds()),".").concat(s(3,this.getUTCMilliseconds()));return"".concat(e,"T").concat(t)}}]),n}(u(Date));e.exports=function(e){var t=new l(e);if(isNaN(t))throw new TypeError("Invalid Datetime");return t}},5872:function(e){"use strict";e.exports=function(e){var t=new Date(e);if(isNaN(t))throw new TypeError("Invalid Datetime");return t}},3153:function(e,t,n){"use strict";var r=n(6690).default,o=n(9728).default,i=n(1655).default,a=n(6389).default,u=n(3496).default,s=n(2738),l=function(e){i(n,e);var t=a(n);function n(e){var o;return r(this,n),(o=t.call(this,"0000-01-01T".concat(e,"Z"))).isTime=!0,o}return o(n,[{key:"toISOString",value:function(){return"".concat(s(2,this.getUTCHours()),":").concat(s(2,this.getUTCMinutes()),":").concat(s(2,this.getUTCSeconds()),".").concat(s(3,this.getUTCMilliseconds()))}}]),n}(u(Date));e.exports=function(e){var t=new l(e);if(isNaN(t))throw new TypeError("Invalid Datetime");return t}},2738:function(e){"use strict";e.exports=function(e,t){for(t=String(t);t.length=CHAR_0&&e<=CHAR_9}function isHexit(e){return e>=CHAR_A&&e<=CHAR_F||e>=CHAR_a&&e<=CHAR_f||e>=CHAR_0&&e<=CHAR_9}function isBit(e){return e===CHAR_1||e===CHAR_0}function isOctit(e){return e>=CHAR_0&&e<=CHAR_7}function isAlphaNumQuoteHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_APOS||e===CHAR_QUOT||e===CHAR_LOWBAR||e===CHAR_HYPHEN}function isAlphaNumHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_LOWBAR||e===CHAR_HYPHEN}var _type=Symbol("type"),_declared=Symbol("declared"),hasOwnProperty=Object.prototype.hasOwnProperty,defineProperty=Object.defineProperty,descriptor={configurable:!0,enumerable:!0,writable:!0,value:void 0};function hasKey(e,t){return!!hasOwnProperty.call(e,t)||("__proto__"===t&&defineProperty(e,"__proto__",descriptor),!1)}var INLINE_TABLE=Symbol("inline-table");function InlineTable(){return Object.defineProperties({},_defineProperty({},_type,{value:INLINE_TABLE}))}function isInlineTable(e){return null!==e&&"object"===typeof e&&e[_type]===INLINE_TABLE}var TABLE=Symbol("table");function Table(){var e;return Object.defineProperties({},(_defineProperty(e={},_type,{value:TABLE}),_defineProperty(e,_declared,{value:!1,writable:!0}),e))}function isTable(e){return null!==e&&"object"===typeof e&&e[_type]===TABLE}var _contentType=Symbol("content-type"),INLINE_LIST=Symbol("inline-list");function InlineList(e){var t;return Object.defineProperties([],(_defineProperty(t={},_type,{value:INLINE_LIST}),_defineProperty(t,_contentType,{value:e}),t))}function isInlineList(e){return null!==e&&"object"===typeof e&&e[_type]===INLINE_LIST}var LIST=Symbol("list"),_custom;function List(){return Object.defineProperties([],_defineProperty({},_type,{value:LIST}))}function isList(e){return null!==e&&"object"===typeof e&&e[_type]===LIST}try{var utilInspect=eval("require('util').inspect");_custom=utilInspect.custom}catch(_){}var _inspect=_custom||"inspect",BoxedBigInt=function(){function e(t){_classCallCheck(this,e);try{this.value=__webpack_require__.g.BigInt.asIntN(64,t)}catch(_){this.value=null}Object.defineProperty(this,_type,{value:INTEGER})}return _createClass(e,[{key:"isNaN",value:function(){return null===this.value}},{key:"toString",value:function(){return String(this.value)}},{key:_inspect,value:function(){return"[BigInt: ".concat(this.toString(),"]}")}},{key:"valueOf",value:function(){return this.value}}]),e}(),INTEGER=Symbol("integer");function Integer(e){var t,n=Number(e);return Object.is(n,-0)&&(n=0),__webpack_require__.g.BigInt&&!Number.isSafeInteger(n)?new BoxedBigInt(e):Object.defineProperties(new Number(n),(_defineProperty(t={isNaN:{value:function(){return isNaN(this)}}},_type,{value:INTEGER}),_defineProperty(t,_inspect,{value:function(){return"[Integer: ".concat(e,"]")}}),t))}function isInteger(e){return null!==e&&"object"===typeof e&&e[_type]===INTEGER}var FLOAT=Symbol("float");function Float(e){var t;return Object.defineProperties(new Number(e),(_defineProperty(t={},_type,{value:FLOAT}),_defineProperty(t,_inspect,{value:function(){return"[Float: ".concat(e,"]")}}),t))}function isFloat(e){return null!==e&&"object"===typeof e&&e[_type]===FLOAT}function tomlType(e){var t=typeof e;if("object"===t){if(null===e)return"null";if(e instanceof Date)return"datetime";if(_type in e)switch(e[_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 t}function makeParserClass(e){return function(t){_inherits(r,t);var n=_createSuper(r);function r(){var e;return _classCallCheck(this,r),(e=n.call(this)).ctx=e.obj=Table(),e}return _createClass(r,[{key:"atEndOfWord",value:function(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine()}},{key:"atEndOfLine",value:function(){return this.char===e.END||this.char===CTRL_J||this.char===CTRL_M}},{key:"parseStart",value:function(){if(this.char===e.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 "'.concat(this.char,'"')))}},{key:"parseWhitespaceToEOL",value:function(){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===e.END||this.char===CTRL_J)return this.return();throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"))}},{key:"parseAssignStatement",value:function(){return this.callNow(this.parseAssign,this.recordAssignStatement)}},{key:"recordAssignStatement",value:function(e){var t,n=this.ctx,r=e.key.pop(),o=_createForOfIteratorHelper(e.key);try{for(o.s();!(t=o.n()).done;){var i=t.value;if(hasKey(n,i)&&(!isTable(n[i])||n[i][_declared]))throw this.error(new TomlError("Can't redefine existing key"));n=n[i]=n[i]||Table()}}catch(a){o.e(a)}finally{o.f()}if(hasKey(n,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?n[r]=e.value.valueOf():n[r]=e.value,this.goto(this.parseWhitespaceToEOL)}},{key:"parseAssign",value:function(){return this.callNow(this.parseKeyword,this.recordAssignKeyword)}},{key:"recordAssignKeyword",value:function(e){return this.state.resultTable?this.state.resultTable.push(e):this.state.resultTable=[e],this.goto(this.parseAssignKeywordPreDot)}},{key:"parseAssignKeywordPreDot",value:function(){return this.char===CHAR_PERIOD?this.next(this.parseAssignKeywordPostDot):this.char!==CHAR_SP&&this.char!==CTRL_I?this.goto(this.parseAssignEqual):void 0}},{key:"parseAssignKeywordPostDot",value:function(){if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.callNow(this.parseKeyword,this.recordAssignKeyword)}},{key:"parseAssignEqual",value:function(){if(this.char===CHAR_EQUALS)return this.next(this.parseAssignPreValue);throw this.error(new TomlError('Invalid character, expected "="'))}},{key:"parseAssignPreValue",value:function(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseValue,this.recordAssignValue)}},{key:"recordAssignValue",value:function(e){return this.returnNow({key:this.state.resultTable,value:e})}},{key:"parseComment",value:function(){do{if(this.char===e.END||this.char===CTRL_J)return this.return()}while(this.nextChar())}},{key:"parseTableOrList",value:function(){if(this.char!==CHAR_LSQB)return this.goto(this.parseTable);this.next(this.parseList)}},{key:"parseTable",value:function(){return this.ctx=this.obj,this.goto(this.parseTableNext)}},{key:"parseTableNext",value:function(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseTableMore)}},{key:"parseTableMore",value:function(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)&&(!isTable(this.ctx[e])||this.ctx[e][_declared]))throw this.error(new TomlError("Can't redefine existing key"));return this.ctx=this.ctx[e]=this.ctx[e]||Table(),this.ctx[_declared]=!0,this.next(this.parseWhitespaceToEOL)}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e))if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else{if(!isList(this.ctx[e]))throw this.error(new TomlError("Can't redefine existing key"));this.ctx=this.ctx[e][this.ctx[e].length-1]}else this.ctx=this.ctx[e]=Table();return this.next(this.parseTableNext)}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}},{key:"parseList",value:function(){return this.ctx=this.obj,this.goto(this.parseListNext)}},{key:"parseListNext",value:function(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseListMore)}},{key:"parseListMore",value:function(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)||(this.ctx[e]=List()),isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(!isList(this.ctx[e]))throw this.error(new TomlError("Can't redefine an existing key"));var t=Table();return this.ctx[e].push(t),this.ctx=t,this.next(this.parseListEnd)}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isInlineTable(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline table"));if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else{if(!isTable(this.ctx[e]))throw this.error(new TomlError("Can't redefine an existing key"));this.ctx=this.ctx[e]}}else this.ctx=this.ctx[e]=Table();return this.next(this.parseListNext)}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}},{key:"parseListEnd",value:function(e){if(this.char===CHAR_RSQB)return this.next(this.parseWhitespaceToEOL);throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}},{key:"parseValue",value:function(){if(this.char===e.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"))}},{key:"recordValue",value:function(e){return this.returnNow(e)}},{key:"parseInf",value:function(){if(this.char===CHAR_n)return this.next(this.parseInf2);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'))}},{key:"parseInf2",value:function(){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"'))}},{key:"parseNan",value:function(){if(this.char===CHAR_a)return this.next(this.parseNan2);throw this.error(new TomlError('Unexpected character, expected "nan"'))}},{key:"parseNan2",value:function(){if(this.char===CHAR_n)return this.return(NaN);throw this.error(new TomlError('Unexpected character, expected "nan"'))}},{key:"parseKeyword",value:function(){return this.char===CHAR_QUOT?this.next(this.parseBasicString):this.char===CHAR_APOS?this.next(this.parseLiteralString):this.goto(this.parseBareKey)}},{key:"parseBareKey",value:function(){do{if(this.char===e.END)throw this.error(new TomlError("Key ended without value"));if(!isAlphaNumHyphen(this.char)){if(0===this.state.buf.length)throw this.error(new TomlError("Empty bare keys are not allowed"));return this.returnNow()}this.consume()}while(this.nextChar())}},{key:"parseSingleString",value:function(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString)}},{key:"parseLiteralString",value:function(){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())}},{key:"parseLiteralMultiStringMaybe",value:function(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiString):this.returnNow()}},{key:"parseLiteralMultiString",value:function(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent)}},{key:"parseLiteralMultiStringContent",value:function(){do{if(this.char===CHAR_APOS)return this.next(this.parseLiteralMultiEnd);if(this.char===e.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())}},{key:"parseLiteralMultiEnd",value:function(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent))}},{key:"parseLiteralMultiEnd2",value:function(){return this.char===CHAR_APOS?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent))}},{key:"parseDoubleString",value:function(){return this.char===CHAR_QUOT?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString)}},{key:"parseBasicString",value:function(){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())}},{key:"recordEscapeReplacement",value:function(e){return this.state.buf+=e,this.goto(this.parseBasicString)}},{key:"parseMultiStringMaybe",value:function(){return this.char===CHAR_QUOT?this.next(this.parseMultiString):this.returnNow()}},{key:"parseMultiString",value:function(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent)}},{key:"parseMultiStringContent",value:function(){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===e.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())}},{key:"errorControlCharInString",value:function(){var e="\\u00";return this.char<16&&(e+="0"),e+=this.char.toString(16),this.error(new TomlError("Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ".concat(e," instead")))}},{key:"recordMultiEscapeReplacement",value:function(e){return this.state.buf+=e,this.goto(this.parseMultiStringContent)}},{key:"parseMultiEnd",value:function(){return this.char===CHAR_QUOT?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent))}},{key:"parseMultiEnd2",value:function(){return this.char===CHAR_QUOT?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent))}},{key:"parseMultiEscape",value:function(){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)}},{key:"parsePreMultiTrim",value:function(){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"))}},{key:"parseMultiTrim",value:function(){return this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M?null:this.returnNow()}},{key:"parseEscape",value:function(){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))}},{key:"parseUnicodeReturn",value:function(e){try{var t=parseInt(e,16);if(t>=SURROGATE_FIRST&&t<=SURROGATE_LAST)throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(t))}catch(n){throw this.error(TomlError.wrap(n))}}},{key:"parseSmallUnicode",value:function(){if(!isHexit(this.char))throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));if(this.consume(),this.state.buf.length>=4)return this.return()}},{key:"parseLargeUnicode",value:function(){if(!isHexit(this.char))throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));if(this.consume(),this.state.buf.length>=8)return this.return()}},{key:"parseNumberSign",value:function(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan)}},{key:"parseMaybeSignedInfOrNan",value:function(){return this.char===CHAR_i?this.next(this.parseInf):this.char===CHAR_n?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart)}},{key:"parseNumberIntegerStart",value:function(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger)}},{key:"parseNumberIntegerExponentOrDecimal",value:function(){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))}},{key:"parseNumberInteger",value:function(){if(!isDigit(this.char)){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);var e=Integer(this.state.buf);if(e.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(e)}this.consume()}},{key:"parseNoUnder",value:function(){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()}},{key:"parseNoUnderHexOctBinLiteral",value:function(){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()}},{key:"parseNumberFloat",value:function(){return this.char===CHAR_LOWBAR?this.call(this.parseNoUnder,this.parseNumberFloat):isDigit(this.char)?void this.consume():this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Float(this.state.buf))}},{key:"parseNumberExponentSign",value:function(){if(isDigit(this.char))return this.goto(this.parseNumberExponent);if(this.char!==CHAR_HYPHEN&&this.char!==CHAR_PLUS)throw this.error(new TomlError("Unexpected character, expected -, + or digit"));this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent)}},{key:"parseNumberExponent",value:function(){if(!isDigit(this.char))return this.char===CHAR_LOWBAR?this.call(this.parseNoUnder):this.returnNow(Float(this.state.buf));this.consume()}},{key:"parseNumberOrDateTime",value:function(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly)}},{key:"parseNumberOrDateTimeOnly",value:function(){return this.char===CHAR_LOWBAR?this.call(this.parseNoUnder,this.parseNumberInteger):isDigit(this.char)?(this.consume(),void(this.state.buf.length>4&&this.next(this.parseNumberInteger))):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))}},{key:"parseDateTimeOnly",value:function(){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"))}if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"))}},{key:"parseNumberBaseOrDateTime",value:function(){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))}},{key:"parseIntegerHex",value:function(){if(!isHexit(this.char)){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);var e=Integer(this.state.buf);if(e.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(e)}this.consume()}},{key:"parseIntegerOct",value:function(){if(!isOctit(this.char)){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);var e=Integer(this.state.buf);if(e.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(e)}this.consume()}},{key:"parseIntegerBin",value:function(){if(!isBit(this.char)){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);var e=Integer(this.state.buf);if(e.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(e)}this.consume()}},{key:"parseDateTime",value:function(){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)}},{key:"parseDateMonth",value:function(){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)}if(!isDigit(this.char))throw this.error(new TomlError("Incomplete datetime"));this.consume()}},{key:"parseDateDay",value:function(){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)}if(this.atEndOfWord())return this.returnNow(createDate(this.state.result+"-"+this.state.buf));if(!isDigit(this.char))throw this.error(new TomlError("Incomplete datetime"));this.consume()}},{key:"parseStartTimeHour",value:function(){return this.atEndOfWord()?this.returnNow(createDate(this.state.result)):this.goto(this.parseTimeHour)}},{key:"parseTimeHour",value:function(){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)}if(!isDigit(this.char))throw this.error(new TomlError("Incomplete datetime"));this.consume()}},{key:"parseTimeMin",value:function(){if(!(this.state.buf.length<2&&isDigit(this.char))){if(2===this.state.buf.length&&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"))}this.consume()}},{key:"parseTimeSec",value:function(){if(!isDigit(this.char))throw this.error(new TomlError("Incomplete datetime"));if(this.consume(),2===this.state.buf.length)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction)}},{key:"parseOnlyTimeHour",value:function(){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)}throw this.error(new TomlError("Incomplete time"))}},{key:"parseOnlyTimeMin",value:function(){if(!(this.state.buf.length<2&&isDigit(this.char))){if(2===this.state.buf.length&&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"))}this.consume()}},{key:"parseOnlyTimeSec",value:function(){if(!isDigit(this.char))throw this.error(new TomlError("Incomplete time"));if(this.consume(),2===this.state.buf.length)return this.next(this.parseOnlyTimeFractionMaybe)}},{key:"parseOnlyTimeFractionMaybe",value:function(){if(this.state.result+=":"+this.state.buf,this.char!==CHAR_PERIOD)return this.return(createTime(this.state.result));this.state.buf="",this.next(this.parseOnlyTimeFraction)}},{key:"parseOnlyTimeFraction",value:function(){if(!isDigit(this.char)){if(this.atEndOfWord()){if(0===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow(createTime(this.state.result+"."+this.state.buf))}throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}this.consume()}},{key:"parseTimeZoneOrFraction",value:function(){if(this.char===CHAR_PERIOD)this.consume(),this.next(this.parseDateTimeFraction);else{if(this.char!==CHAR_HYPHEN&&this.char!==CHAR_PLUS){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"))}this.consume(),this.next(this.parseTimeZoneHour)}}},{key:"parseDateTimeFraction",value:function(){if(isDigit(this.char))this.consume();else{if(1===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));if(this.char!==CHAR_HYPHEN&&this.char!==CHAR_PLUS){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"))}this.consume(),this.next(this.parseTimeZoneHour)}}},{key:"parseTimeZoneHour",value:function(){if(!isDigit(this.char))throw this.error(new TomlError("Unexpected character in datetime, expected digit"));if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep)}},{key:"parseTimeZoneSep",value:function(){if(this.char!==CHAR_COLON)throw this.error(new TomlError("Unexpected character in datetime, expected colon"));this.consume(),this.next(this.parseTimeZoneMin)}},{key:"parseTimeZoneMin",value:function(){if(!isDigit(this.char))throw this.error(new TomlError("Unexpected character in datetime, expected digit"));if(this.consume(),/\d\d$/.test(this.state.buf))return this.return(createDateTime(this.state.result+this.state.buf))}},{key:"parseBoolean",value:function(){return this.char===CHAR_t?(this.consume(),this.next(this.parseTrue_r)):this.char===CHAR_f?(this.consume(),this.next(this.parseFalse_a)):void 0}},{key:"parseTrue_r",value:function(){if(this.char===CHAR_r)return this.consume(),this.next(this.parseTrue_u);throw this.error(new TomlError("Invalid boolean, expected true or false"))}},{key:"parseTrue_u",value:function(){if(this.char===CHAR_u)return this.consume(),this.next(this.parseTrue_e);throw this.error(new TomlError("Invalid boolean, expected true or false"))}},{key:"parseTrue_e",value:function(){if(this.char===CHAR_e)return this.return(!0);throw this.error(new TomlError("Invalid boolean, expected true or false"))}},{key:"parseFalse_a",value:function(){if(this.char===CHAR_a)return this.consume(),this.next(this.parseFalse_l);throw this.error(new TomlError("Invalid boolean, expected true or false"))}},{key:"parseFalse_l",value:function(){if(this.char===CHAR_l)return this.consume(),this.next(this.parseFalse_s);throw this.error(new TomlError("Invalid boolean, expected true or false"))}},{key:"parseFalse_s",value:function(){if(this.char===CHAR_s)return this.consume(),this.next(this.parseFalse_e);throw this.error(new TomlError("Invalid boolean, expected true or false"))}},{key:"parseFalse_e",value:function(){if(this.char===CHAR_e)return this.return(!1);throw this.error(new TomlError("Invalid boolean, expected true or false"))}},{key:"parseInlineList",value:function(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===e.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)}},{key:"recordInlineListValue",value:function(e){if(this.state.resultArr){var t=this.state.resultArr[_contentType],n=tomlType(e);if(t!==n)throw this.error(new TomlError("Inline lists must be a single type, not a mix of ".concat(t," and ").concat(n)))}else this.state.resultArr=InlineList(tomlType(e));return isFloat(e)||isInteger(e)?this.state.resultArr.push(e.valueOf()):this.state.resultArr.push(e),this.goto(this.parseInlineListNext)}},{key:"parseInlineListNext",value:function(){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 (])"))}},{key:"parseInlineTable",value:function(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.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))}},{key:"recordInlineTableValue",value:function(e){var t,n=this.state.resultTable,r=e.key.pop(),o=_createForOfIteratorHelper(e.key);try{for(o.s();!(t=o.n()).done;){var i=t.value;if(hasKey(n,i)&&(!isTable(n[i])||n[i][_declared]))throw this.error(new TomlError("Can't redefine existing key"));n=n[i]=n[i]||Table()}}catch(a){o.e(a)}finally{o.f()}if(hasKey(n,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?n[r]=e.value.valueOf():n[r]=e.value,this.goto(this.parseInlineTableNext)}},{key:"parseInlineTableNext",value:function(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.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 (])"))}}]),r}(e)}},3442:function(e){"use strict";e.exports=function(e,t){if(null==e.pos||null==e.line)return e;var n=e.message;if(n+=" at row ".concat(e.line+1,", col ").concat(e.col+1,", pos ").concat(e.pos,":\n"),t&&t.split){for(var r=t.split(/\n/),o=String(Math.min(r.length,e.line+3)).length,i=" ";i.length "+r[a]+"\n",n+=i+" ";for(var s=0;s=t:y(n)>=t})),r=this._automationEvents[n];if(-1!==n&&(this._automationEvents=this._automationEvents.slice(0,n)),m(e)){var s=this._automationEvents[this._automationEvents.length-1];if(void 0!==r&&f(r)){if(void 0!==s&&S(s))throw new Error("The internal list is malformed.");var d=void 0===s?r.insertTime:p(s)?s.startTime+s.duration:y(s),h=void 0===s?this._defaultValue:p(s)?s.values[s.values.length-1]:s.value,v=l(r)?b(t,d,h,r):w(t,d,h,r),x=l(r)?o(v,t,this._currenTime):i(v,t,this._currenTime);this._automationEvents.push(x)}if(void 0!==s&&S(s)&&this._automationEvents.push(a(this.getValue(t),t)),void 0!==s&&p(s)&&s.startTime+s.duration>t){var k=t-s.startTime,C=(s.values.length-1)/s.duration,E=Math.max(2,1+Math.ceil(k*C)),_=k/(E-1)*C,O=s.values.slice(0,E);if(_<1)for(var T=1;Tt})),N=-1===P?this._automationEvents[this._automationEvents.length-1]:this._automationEvents[P-1];if(void 0!==N&&p(N)&&y(N)+N.duration>t)return!1;var R=l(e)?o(e.value,e.endTime,this._currenTime):c(e)?i(e.value,t,this._currenTime):e;if(-1===P)this._automationEvents.push(R);else{if(p(e)&&t+e.duration>y(this._automationEvents[P]))return!1;this._automationEvents.splice(P,0,R)}}return!0}},{key:"flush",value:function(e){var t=this._automationEvents.findIndex((function(t){return y(t)>e}));if(t>1){var n=this._automationEvents.slice(t-1),r=n[0];S(r)&&n.unshift(a(h(this._automationEvents,t-2,r.startTime,this._defaultValue),r.startTime)),this._automationEvents=n}}},{key:"getValue",value:function(e){if(0===this._automationEvents.length)return this._defaultValue;var n=this._automationEvents.findIndex((function(t){return y(t)>e})),r=this._automationEvents[n],o=(-1===n?this._automationEvents.length:n)-1,i=this._automationEvents[o];if(void 0!==i&&S(i)&&(void 0===r||!f(r)||r.insertTime>e))return s(e,h(this._automationEvents,o-1,i.startTime,this._defaultValue),i);if(void 0!==i&&d(i)&&(void 0===r||!f(r)))return i.value;if(void 0!==i&&p(i)&&(void 0===r||!f(r)||i.startTime+i.duration>e))return e"']/g,$=RegExp(Y.source),X=RegExp(K.source),J=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,ue=/\s/,se=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,le=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ve=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,we=/^(?:0|[1-9]\d*)$/,xe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ke=/($^)/,Se=/['\n\r\u2028\u2029\\]/g,Ce="\\ud800-\\udfff",Ee="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",_e="\\u2700-\\u27bf",Oe="a-z\\xdf-\\xf6\\xf8-\\xff",Te="A-Z\\xc0-\\xd6\\xd8-\\xde",Ae="\\ufe0e\\ufe0f",Pe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ne="['\u2019]",Re="["+Ce+"]",Ie="["+Pe+"]",je="["+Ee+"]",Le="\\d+",Me="["+_e+"]",De="["+Oe+"]",Fe="[^"+Ce+Pe+Le+_e+Oe+Te+"]",ze="\\ud83c[\\udffb-\\udfff]",Be="[^"+Ce+"]",Ve="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",He="["+Te+"]",We="\\u200d",Ge="(?:"+De+"|"+Fe+")",Ze="(?:"+He+"|"+Fe+")",qe="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ye="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Ke="(?:"+je+"|"+ze+")"+"?",$e="["+Ae+"]?",Xe=$e+Ke+("(?:"+We+"(?:"+[Be,Ve,Ue].join("|")+")"+$e+Ke+")*"),Je="(?:"+[Me,Ve,Ue].join("|")+")"+Xe,Qe="(?:"+[Be+je+"?",je,Ve,Ue,Re].join("|")+")",et=RegExp(Ne,"g"),tt=RegExp(je,"g"),nt=RegExp(ze+"(?="+ze+")|"+Qe+Xe,"g"),rt=RegExp([He+"?"+De+"+"+qe+"(?="+[Ie,He,"$"].join("|")+")",Ze+"+"+Ye+"(?="+[Ie,He+Ge,"$"].join("|")+")",He+"?"+Ge+"+"+qe,He+"+"+Ye,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Le,Je].join("|"),"g"),ot=RegExp("["+We+Ce+Ee+Ae+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ut=-1,st={};st[M]=st[D]=st[F]=st[z]=st[B]=st[V]=st[U]=st[H]=st[W]=!0,st[y]=st[b]=st[j]=st[w]=st[L]=st[x]=st[k]=st[S]=st[E]=st[_]=st[O]=st[A]=st[P]=st[N]=st[I]=!1;var lt={};lt[y]=lt[b]=lt[j]=lt[L]=lt[w]=lt[x]=lt[M]=lt[D]=lt[F]=lt[z]=lt[B]=lt[E]=lt[_]=lt[O]=lt[A]=lt[P]=lt[N]=lt[R]=lt[V]=lt[U]=lt[H]=lt[W]=!0,lt[k]=lt[S]=lt[I]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,dt=parseInt,pt="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ht="object"==typeof self&&self&&self.Object===Object&&self,vt=pt||ht||Function("return this")(),mt=t&&!t.nodeType&&t,gt=mt&&e&&!e.nodeType&&e,yt=gt&>.exports===mt,bt=yt&&pt.process,wt=function(){try{var e=gt&>.require&>.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(t){}}(),xt=wt&&wt.isArrayBuffer,kt=wt&&wt.isDate,St=wt&&wt.isMap,Ct=wt&&wt.isRegExp,Et=wt&&wt.isSet,_t=wt&&wt.isTypedArray;function Ot(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Tt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function jt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function rn(e,t){for(var n=e.length;n--&&Ht(t,e[n],0)>-1;);return n}var on=Yt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),an=Yt({"&":"&","<":"<",">":">",'"':""","'":"'"});function un(e){return"\\"+ct[e]}function sn(e){return ot.test(e)}function ln(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function cn(e,t){return function(n){return e(t(n))}}function fn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n",""":'"',"'":"'"});var yn=function e(t){var n=(t=null==t?vt:yn.defaults(vt.Object(),t,yn.pick(vt,at))).Array,r=t.Date,ue=t.Error,Ce=t.Function,Ee=t.Math,_e=t.Object,Oe=t.RegExp,Te=t.String,Ae=t.TypeError,Pe=n.prototype,Ne=Ce.prototype,Re=_e.prototype,Ie=t["__core-js_shared__"],je=Ne.toString,Le=Re.hasOwnProperty,Me=0,De=function(){var e=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Fe=Re.toString,ze=je.call(_e),Be=vt._,Ve=Oe("^"+je.call(Le).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ue=yt?t.Buffer:o,He=t.Symbol,We=t.Uint8Array,Ge=Ue?Ue.allocUnsafe:o,Ze=cn(_e.getPrototypeOf,_e),qe=_e.create,Ye=Re.propertyIsEnumerable,Ke=Pe.splice,$e=He?He.isConcatSpreadable:o,Xe=He?He.iterator:o,Je=He?He.toStringTag:o,Qe=function(){try{var e=di(_e,"defineProperty");return e({},"",{}),e}catch(t){}}(),nt=t.clearTimeout!==vt.clearTimeout&&t.clearTimeout,ot=r&&r.now!==vt.Date.now&&r.now,ct=t.setTimeout!==vt.setTimeout&&t.setTimeout,pt=Ee.ceil,ht=Ee.floor,mt=_e.getOwnPropertySymbols,gt=Ue?Ue.isBuffer:o,bt=t.isFinite,wt=Pe.join,Bt=cn(_e.keys,_e),Yt=Ee.max,bn=Ee.min,wn=r.now,xn=t.parseInt,kn=Ee.random,Sn=Pe.reverse,Cn=di(t,"DataView"),En=di(t,"Map"),_n=di(t,"Promise"),On=di(t,"Set"),Tn=di(t,"WeakMap"),An=di(_e,"create"),Pn=Tn&&new Tn,Nn={},Rn=Fi(Cn),In=Fi(En),jn=Fi(_n),Ln=Fi(On),Mn=Fi(Tn),Dn=He?He.prototype:o,Fn=Dn?Dn.valueOf:o,zn=Dn?Dn.toString:o;function Bn(e){if(tu(e)&&!Wa(e)&&!(e instanceof Wn)){if(e instanceof Hn)return e;if(Le.call(e,"__wrapped__"))return zi(e)}return new Hn(e)}var Vn=function(){function e(){}return function(t){if(!eu(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Un(){}function Hn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Wn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function sr(e,t,n,r,i,a){var u,s=1&t,l=2&t,c=4&t;if(n&&(u=i?n(e,r,i,a):n(e)),u!==o)return u;if(!eu(e))return e;var f=Wa(e);if(f){if(u=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return Po(e,u)}else{var d=vi(e),p=d==S||d==C;if(Ya(e))return Co(e,s);if(d==O||d==y||p&&!i){if(u=l||p?{}:gi(e),!s)return l?function(e,t){return No(e,hi(e),t)}(e,function(e,t){return e&&No(t,Ru(t),e)}(u,e)):function(e,t){return No(e,pi(e),t)}(e,or(u,e))}else{if(!lt[d])return i?e:{};u=function(e,t,n){var r=e.constructor;switch(t){case j:return Eo(e);case w:case x:return new r(+e);case L:return function(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case M:case D:case F:case z:case B:case V:case U:case H:case W:return _o(e,n);case E:return new r;case _:case N:return new r(e);case A:return function(e){var t=new e.constructor(e.source,ve.exec(e));return t.lastIndex=e.lastIndex,t}(e);case P:return new r;case R:return o=e,Fn?_e(Fn.call(o)):{}}var o}(e,d,s)}}a||(a=new Kn);var h=a.get(e);if(h)return h;a.set(e,u),au(e)?e.forEach((function(r){u.add(sr(r,t,n,r,e,a))})):nu(e)&&e.forEach((function(r,o){u.set(o,sr(r,t,n,o,e,a))}));var v=f?o:(c?l?ii:oi:l?Ru:Nu)(e);return At(v||e,(function(r,o){v&&(r=e[o=r]),tr(u,o,sr(r,t,n,o,e,a))})),u}function lr(e,t,n){var r=n.length;if(null==e)return!r;for(e=_e(e);r--;){var i=n[r],a=t[i],u=e[i];if(u===o&&!(i in e)||!a(u))return!1}return!0}function cr(e,t,n){if("function"!=typeof e)throw new Ae(i);return Ni((function(){e.apply(o,n)}),t)}function fr(e,t,n,r){var o=-1,i=It,a=!0,u=e.length,s=[],l=t.length;if(!u)return s;n&&(t=Lt(t,Qt(n))),r?(i=jt,a=!1):t.length>=200&&(i=tn,a=!1,t=new Yn(t));e:for(;++o-1},Zn.prototype.set=function(e,t){var n=this.__data__,r=nr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Gn,map:new(En||Zn),string:new Gn}},qn.prototype.delete=function(e){var t=ci(this,e).delete(e);return this.size-=t?1:0,t},qn.prototype.get=function(e){return ci(this,e).get(e)},qn.prototype.has=function(e){return ci(this,e).has(e)},qn.prototype.set=function(e,t){var n=ci(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Yn.prototype.add=Yn.prototype.push=function(e){return this.__data__.set(e,a),this},Yn.prototype.has=function(e){return this.__data__.has(e)},Kn.prototype.clear=function(){this.__data__=new Zn,this.size=0},Kn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Kn.prototype.get=function(e){return this.__data__.get(e)},Kn.prototype.has=function(e){return this.__data__.has(e)},Kn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Zn){var r=n.__data__;if(!En||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new qn(r)}return n.set(e,t),this.size=n.size,this};var dr=jo(wr),pr=jo(xr,!0);function hr(e,t){var n=!0;return dr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function vr(e,t,n){for(var r=-1,i=e.length;++r0&&n(u)?t>1?gr(u,t-1,n,r,o):Mt(o,u):r||(o[o.length]=u)}return o}var yr=Lo(),br=Lo(!0);function wr(e,t){return e&&yr(e,t,Nu)}function xr(e,t){return e&&br(e,t,Nu)}function kr(e,t){return Rt(t,(function(t){return Xa(e[t])}))}function Sr(e,t){for(var n=0,r=(t=wo(t,e)).length;null!=e&&nt}function Or(e,t){return null!=e&&Le.call(e,t)}function Tr(e,t){return null!=e&&t in _e(e)}function Ar(e,t,r){for(var i=r?jt:It,a=e[0].length,u=e.length,s=u,l=n(u),c=1/0,f=[];s--;){var d=e[s];s&&t&&(d=Lt(d,Qt(t))),c=bn(d.length,c),l[s]=!r&&(t||a>=120&&d.length>=120)?new Yn(s&&d):o}d=e[0];var p=-1,h=l[0];e:for(;++p=u?s:s*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Gr(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)u!==e&&Ke.call(u,s,1),Ke.call(e,s,1);return e}function qr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;bi(o)?Ke.call(e,o,1):fo(e,o)}}return e}function Yr(e,t){return e+ht(kn()*(t-e+1))}function Kr(e,t){var n="";if(!e||t<1||t>h)return n;do{t%2&&(n+=e),(t=ht(t/2))&&(e+=e)}while(t);return n}function $r(e,t){return Ri(Oi(e,t,rs),e+"")}function Xr(e){return Xn(Bu(e))}function Jr(e,t){var n=Bu(e);return Li(n,ur(t,0,n.length))}function Qr(e,t,n,r){if(!eu(e))return e;for(var i=-1,a=(t=wo(t,e)).length,u=a-1,s=e;null!=s&&++ii?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=n(i);++o>>1,a=e[i];null!==a&&!su(a)&&(n?a<=t:a=200){var l=t?null:$o(e);if(l)return dn(l);a=!1,o=tn,s=new Yn}else s=t?[]:u;e:for(;++r=r?e:ro(e,t,n)}var So=nt||function(e){return vt.clearTimeout(e)};function Co(e,t){if(t)return e.slice();var n=e.length,r=Ge?Ge(n):new e.constructor(n);return e.copy(r),r}function Eo(e){var t=new e.constructor(e.byteLength);return new We(t).set(new We(e)),t}function _o(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Oo(e,t){if(e!==t){var n=e!==o,r=null===e,i=e===e,a=su(e),u=t!==o,s=null===t,l=t===t,c=su(t);if(!s&&!c&&!a&&e>t||a&&u&&l&&!s&&!c||r&&u&&l||!n&&l||!i)return 1;if(!r&&!a&&!c&&e1?n[i-1]:o,u=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,u&&wi(n[0],n[1],u)&&(a=i<3?o:a,i=1),t=_e(t);++r-1?i[a?t[u]:u]:o}}function Bo(e){return ri((function(t){var n=t.length,r=n,a=Hn.prototype.thru;for(e&&t.reverse();r--;){var u=t[r];if("function"!=typeof u)throw new Ae(i);if(a&&!s&&"wrapper"==ui(u))var s=new Hn([],!0)}for(r=s?r:n;++r1&&w.reverse(),p&&cs))return!1;var c=a.get(e),f=a.get(t);if(c&&f)return c==t&&f==e;var d=-1,p=!0,h=2&n?new Yn:o;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(se,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return At(g,(function(n){var r="_."+n[0];t&n[1]&&!It(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(le);return t?t[1].split(ce):[]}(r),n)))}function ji(e){var t=0,n=0;return function(){var r=wn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Li(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,ia(e,n)}));function da(e){var t=Bn(e);return t.__chain__=!0,t}function pa(e,t){return t(e)}var ha=ri((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return ar(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Wn&&bi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:pa,args:[i],thisArg:o}),new Hn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var va=Ro((function(e,t,n){Le.call(e,n)?++e[n]:ir(e,n,1)}));var ma=zo(Hi),ga=zo(Wi);function ya(e,t){return(Wa(e)?At:dr)(e,li(t,3))}function ba(e,t){return(Wa(e)?Pt:pr)(e,li(t,3))}var wa=Ro((function(e,t,n){Le.call(e,n)?e[n].push(t):ir(e,n,[t])}));var xa=$r((function(e,t,r){var o=-1,i="function"==typeof t,a=Za(e)?n(e.length):[];return dr(e,(function(e){a[++o]=i?Ot(t,e,r):Pr(e,t,r)})),a})),ka=Ro((function(e,t,n){ir(e,n,t)}));function Sa(e,t){return(Wa(e)?Lt:zr)(e,li(t,3))}var Ca=Ro((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ea=$r((function(e,t){if(null==e)return[];var n=t.length;return n>1&&wi(e,t[0],t[1])?t=[]:n>2&&wi(t[0],t[1],t[2])&&(t=[t[0]]),Wr(e,gr(t,1),[])})),_a=ot||function(){return vt.Date.now()};function Oa(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Jo(e,f,o,o,o,o,t)}function Ta(e,t){var n;if("function"!=typeof t)throw new Ae(i);return e=hu(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Aa=$r((function(e,t,n){var r=1;if(n.length){var o=fn(n,si(Aa));r|=l}return Jo(e,r,t,n,o)})),Pa=$r((function(e,t,n){var r=3;if(n.length){var o=fn(n,si(Pa));r|=l}return Jo(t,r,e,n,o)}));function Na(e,t,n){var r,a,u,s,l,c,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new Ae(i);function v(t){var n=r,i=a;return r=a=o,f=t,s=e.apply(i,n)}function m(e){var n=e-c;return c===o||n>=t||n<0||p&&e-f>=u}function g(){var e=_a();if(m(e))return y(e);l=Ni(g,function(e){var n=t-(e-c);return p?bn(n,u-(e-f)):n}(e))}function y(e){return l=o,h&&r?v(e):(r=a=o,s)}function b(){var e=_a(),n=m(e);if(r=arguments,a=this,c=e,n){if(l===o)return function(e){return f=e,l=Ni(g,t),d?v(e):s}(c);if(p)return So(l),l=Ni(g,t),v(c)}return l===o&&(l=Ni(g,t)),s}return t=mu(t)||0,eu(n)&&(d=!!n.leading,u=(p="maxWait"in n)?Yt(mu(n.maxWait)||0,t):u,h="trailing"in n?!!n.trailing:h),b.cancel=function(){l!==o&&So(l),f=0,r=c=a=l=o},b.flush=function(){return l===o?s:y(_a())},b}var Ra=$r((function(e,t){return cr(e,1,t)})),Ia=$r((function(e,t,n){return cr(e,mu(t)||0,n)}));function ja(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(i);var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(ja.Cache||qn),n}function La(e){if("function"!=typeof e)throw new Ae(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ja.Cache=qn;var Ma=xo((function(e,t){var n=(t=1==t.length&&Wa(t[0])?Lt(t[0],Qt(li())):Lt(gr(t,1),Qt(li()))).length;return $r((function(r){for(var o=-1,i=bn(r.length,n);++o=t})),Ha=Nr(function(){return arguments}())?Nr:function(e){return tu(e)&&Le.call(e,"callee")&&!Ye.call(e,"callee")},Wa=n.isArray,Ga=xt?Qt(xt):function(e){return tu(e)&&Er(e)==j};function Za(e){return null!=e&&Qa(e.length)&&!Xa(e)}function qa(e){return tu(e)&&Za(e)}var Ya=gt||ms,Ka=kt?Qt(kt):function(e){return tu(e)&&Er(e)==x};function $a(e){if(!tu(e))return!1;var t=Er(e);return t==k||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ou(e)}function Xa(e){if(!eu(e))return!1;var t=Er(e);return t==S||t==C||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ja(e){return"number"==typeof e&&e==hu(e)}function Qa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function eu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function tu(e){return null!=e&&"object"==typeof e}var nu=St?Qt(St):function(e){return tu(e)&&vi(e)==E};function ru(e){return"number"==typeof e||tu(e)&&Er(e)==_}function ou(e){if(!tu(e)||Er(e)!=O)return!1;var t=Ze(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&je.call(n)==ze}var iu=Ct?Qt(Ct):function(e){return tu(e)&&Er(e)==A};var au=Et?Qt(Et):function(e){return tu(e)&&vi(e)==P};function uu(e){return"string"==typeof e||!Wa(e)&&tu(e)&&Er(e)==N}function su(e){return"symbol"==typeof e||tu(e)&&Er(e)==R}var lu=_t?Qt(_t):function(e){return tu(e)&&Qa(e.length)&&!!st[Er(e)]};var cu=qo(Fr),fu=qo((function(e,t){return e<=t}));function du(e){if(!e)return[];if(Za(e))return uu(e)?vn(e):Po(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=vi(e);return(t==E?ln:t==P?dn:Bu)(e)}function pu(e){return e?(e=mu(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function hu(e){var t=pu(e),n=t%1;return t===t?n?t-n:t:0}function vu(e){return e?ur(hu(e),0,m):0}function mu(e){if("number"==typeof e)return e;if(su(e))return v;if(eu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=eu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Jt(e);var n=ge.test(e);return n||be.test(e)?dt(e.slice(2),n?2:8):me.test(e)?v:+e}function gu(e){return No(e,Ru(e))}function yu(e){return null==e?"":lo(e)}var bu=Io((function(e,t){if(Ci(t)||Za(t))No(t,Nu(t),e);else for(var n in t)Le.call(t,n)&&tr(e,n,t[n])})),wu=Io((function(e,t){No(t,Ru(t),e)})),xu=Io((function(e,t,n,r){No(t,Ru(t),e,r)})),ku=Io((function(e,t,n,r){No(t,Nu(t),e,r)})),Su=ri(ar);var Cu=$r((function(e,t){e=_e(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&wi(t[0],t[1],i)&&(r=1);++n1),t})),No(e,ii(e),n),r&&(n=sr(n,7,ti));for(var o=t.length;o--;)fo(n,t[o]);return n}));var Mu=ri((function(e,t){return null==e?{}:function(e,t){return Gr(e,t,(function(t,n){return Ou(e,n)}))}(e,t)}));function Du(e,t){if(null==e)return{};var n=Lt(ii(e),(function(e){return[e]}));return t=li(t),Gr(e,n,(function(e,n){return t(e,n[0])}))}var Fu=Xo(Nu),zu=Xo(Ru);function Bu(e){return null==e?[]:en(e,Nu(e))}var Vu=Do((function(e,t,n){return t=t.toLowerCase(),e+(n?Uu(t):t)}));function Uu(e){return $u(yu(e).toLowerCase())}function Hu(e){return(e=yu(e))&&e.replace(xe,on).replace(tt,"")}var Wu=Do((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Gu=Do((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Zu=Mo("toLowerCase");var qu=Do((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Yu=Do((function(e,t,n){return e+(n?" ":"")+$u(t)}));var Ku=Do((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),$u=Mo("toUpperCase");function Xu(e,t,n){return e=yu(e),(t=n?o:t)===o?function(e){return it.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var Ju=$r((function(e,t){try{return Ot(e,o,t)}catch(n){return $a(n)?n:new ue(n)}})),Qu=ri((function(e,t){return At(t,(function(t){t=Di(t),ir(e,t,Aa(e[t],e))})),e}));function es(e){return function(){return e}}var ts=Bo(),ns=Bo(!0);function rs(e){return e}function os(e){return Lr("function"==typeof e?e:sr(e,1))}var is=$r((function(e,t){return function(n){return Pr(n,e,t)}})),as=$r((function(e,t){return function(n){return Pr(e,n,t)}}));function us(e,t,n){var r=Nu(t),o=kr(t,r);null!=n||eu(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=kr(t,Nu(t)));var i=!(eu(n)&&"chain"in n)||!!n.chain,a=Xa(e);return At(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Po(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Mt([this.value()],arguments))})})),e}function ss(){}var ls=Wo(Lt),cs=Wo(Nt),fs=Wo(zt);function ds(e){return xi(e)?qt(Di(e)):function(e){return function(t){return Sr(t,e)}}(e)}var ps=Zo(),hs=Zo(!0);function vs(){return[]}function ms(){return!1}var gs=Ho((function(e,t){return e+t}),0),ys=Ko("ceil"),bs=Ho((function(e,t){return e/t}),1),ws=Ko("floor");var xs=Ho((function(e,t){return e*t}),1),ks=Ko("round"),Ss=Ho((function(e,t){return e-t}),0);return Bn.after=function(e,t){if("function"!=typeof t)throw new Ae(i);return e=hu(e),function(){if(--e<1)return t.apply(this,arguments)}},Bn.ary=Oa,Bn.assign=bu,Bn.assignIn=wu,Bn.assignInWith=xu,Bn.assignWith=ku,Bn.at=Su,Bn.before=Ta,Bn.bind=Aa,Bn.bindAll=Qu,Bn.bindKey=Pa,Bn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Wa(e)?e:[e]},Bn.chain=da,Bn.chunk=function(e,t,r){t=(r?wi(e,t,r):t===o)?1:Yt(hu(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,u=0,s=n(pt(i/t));ai?0:i+n),(r=r===o||r>i?i:hu(r))<0&&(r+=i),r=n>r?0:vu(r);n>>0)?(e=yu(e))&&("string"==typeof t||null!=t&&!iu(t))&&!(t=lo(t))&&sn(e)?ko(vn(e),0,n):e.split(t,n):[]},Bn.spread=function(e,t){if("function"!=typeof e)throw new Ae(i);return t=null==t?0:Yt(hu(t),0),$r((function(n){var r=n[t],o=ko(n,0,t);return r&&Mt(o,r),Ot(e,this,o)}))},Bn.tail=function(e){var t=null==e?0:e.length;return t?ro(e,1,t):[]},Bn.take=function(e,t,n){return e&&e.length?ro(e,0,(t=n||t===o?1:hu(t))<0?0:t):[]},Bn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ro(e,(t=r-(t=n||t===o?1:hu(t)))<0?0:t,r):[]},Bn.takeRightWhile=function(e,t){return e&&e.length?ho(e,li(t,3),!1,!0):[]},Bn.takeWhile=function(e,t){return e&&e.length?ho(e,li(t,3)):[]},Bn.tap=function(e,t){return t(e),e},Bn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ae(i);return eu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Na(e,t,{leading:r,maxWait:t,trailing:o})},Bn.thru=pa,Bn.toArray=du,Bn.toPairs=Fu,Bn.toPairsIn=zu,Bn.toPath=function(e){return Wa(e)?Lt(e,Di):su(e)?[e]:Po(Mi(yu(e)))},Bn.toPlainObject=gu,Bn.transform=function(e,t,n){var r=Wa(e),o=r||Ya(e)||lu(e);if(t=li(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:eu(e)&&Xa(i)?Vn(Ze(e)):{}}return(o?At:wr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Bn.unary=function(e){return Oa(e,1)},Bn.union=ta,Bn.unionBy=na,Bn.unionWith=ra,Bn.uniq=function(e){return e&&e.length?co(e):[]},Bn.uniqBy=function(e,t){return e&&e.length?co(e,li(t,2)):[]},Bn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?co(e,o,t):[]},Bn.unset=function(e,t){return null==e||fo(e,t)},Bn.unzip=oa,Bn.unzipWith=ia,Bn.update=function(e,t,n){return null==e?e:po(e,t,bo(n))},Bn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:po(e,t,bo(n),r)},Bn.values=Bu,Bn.valuesIn=function(e){return null==e?[]:en(e,Ru(e))},Bn.without=aa,Bn.words=Xu,Bn.wrap=function(e,t){return Da(bo(t),e)},Bn.xor=ua,Bn.xorBy=sa,Bn.xorWith=la,Bn.zip=ca,Bn.zipObject=function(e,t){return go(e||[],t||[],tr)},Bn.zipObjectDeep=function(e,t){return go(e||[],t||[],Qr)},Bn.zipWith=fa,Bn.entries=Fu,Bn.entriesIn=zu,Bn.extend=wu,Bn.extendWith=xu,us(Bn,Bn),Bn.add=gs,Bn.attempt=Ju,Bn.camelCase=Vu,Bn.capitalize=Uu,Bn.ceil=ys,Bn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=mu(n))===n?n:0),t!==o&&(t=(t=mu(t))===t?t:0),ur(mu(e),t,n)},Bn.clone=function(e){return sr(e,4)},Bn.cloneDeep=function(e){return sr(e,5)},Bn.cloneDeepWith=function(e,t){return sr(e,5,t="function"==typeof t?t:o)},Bn.cloneWith=function(e,t){return sr(e,4,t="function"==typeof t?t:o)},Bn.conformsTo=function(e,t){return null==t||lr(e,t,Nu(t))},Bn.deburr=Hu,Bn.defaultTo=function(e,t){return null==e||e!==e?t:e},Bn.divide=bs,Bn.endsWith=function(e,t,n){e=yu(e),t=lo(t);var r=e.length,i=n=n===o?r:ur(hu(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Bn.eq=Ba,Bn.escape=function(e){return(e=yu(e))&&X.test(e)?e.replace(K,an):e},Bn.escapeRegExp=function(e){return(e=yu(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},Bn.every=function(e,t,n){var r=Wa(e)?Nt:hr;return n&&wi(e,t,n)&&(t=o),r(e,li(t,3))},Bn.find=ma,Bn.findIndex=Hi,Bn.findKey=function(e,t){return Vt(e,li(t,3),wr)},Bn.findLast=ga,Bn.findLastIndex=Wi,Bn.findLastKey=function(e,t){return Vt(e,li(t,3),xr)},Bn.floor=ws,Bn.forEach=ya,Bn.forEachRight=ba,Bn.forIn=function(e,t){return null==e?e:yr(e,li(t,3),Ru)},Bn.forInRight=function(e,t){return null==e?e:br(e,li(t,3),Ru)},Bn.forOwn=function(e,t){return e&&wr(e,li(t,3))},Bn.forOwnRight=function(e,t){return e&&xr(e,li(t,3))},Bn.get=_u,Bn.gt=Va,Bn.gte=Ua,Bn.has=function(e,t){return null!=e&&mi(e,t,Or)},Bn.hasIn=Ou,Bn.head=Zi,Bn.identity=rs,Bn.includes=function(e,t,n,r){e=Za(e)?e:Bu(e),n=n&&!r?hu(n):0;var o=e.length;return n<0&&(n=Yt(o+n,0)),uu(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Ht(e,t,n)>-1},Bn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:hu(n);return o<0&&(o=Yt(r+o,0)),Ht(e,t,o)},Bn.inRange=function(e,t,n){return t=pu(t),n===o?(n=t,t=0):n=pu(n),function(e,t,n){return e>=bn(t,n)&&e=-9007199254740991&&e<=h},Bn.isSet=au,Bn.isString=uu,Bn.isSymbol=su,Bn.isTypedArray=lu,Bn.isUndefined=function(e){return e===o},Bn.isWeakMap=function(e){return tu(e)&&vi(e)==I},Bn.isWeakSet=function(e){return tu(e)&&"[object WeakSet]"==Er(e)},Bn.join=function(e,t){return null==e?"":wt.call(e,t)},Bn.kebabCase=Wu,Bn.last=$i,Bn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=hu(n))<0?Yt(r+i,0):bn(i,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Ut(e,Gt,i,!0)},Bn.lowerCase=Gu,Bn.lowerFirst=Zu,Bn.lt=cu,Bn.lte=fu,Bn.max=function(e){return e&&e.length?vr(e,rs,_r):o},Bn.maxBy=function(e,t){return e&&e.length?vr(e,li(t,2),_r):o},Bn.mean=function(e){return Zt(e,rs)},Bn.meanBy=function(e,t){return Zt(e,li(t,2))},Bn.min=function(e){return e&&e.length?vr(e,rs,Fr):o},Bn.minBy=function(e,t){return e&&e.length?vr(e,li(t,2),Fr):o},Bn.stubArray=vs,Bn.stubFalse=ms,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=xs,Bn.nth=function(e,t){return e&&e.length?Hr(e,hu(t)):o},Bn.noConflict=function(){return vt._===this&&(vt._=Be),this},Bn.noop=ss,Bn.now=_a,Bn.pad=function(e,t,n){e=yu(e);var r=(t=hu(t))?hn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Go(ht(o),n)+e+Go(pt(o),n)},Bn.padEnd=function(e,t,n){e=yu(e);var r=(t=hu(t))?hn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=kn();return bn(e+i*(t-e+ft("1e-"+((i+"").length-1))),t)}return Yr(e,t)},Bn.reduce=function(e,t,n){var r=Wa(e)?Dt:Kt,o=arguments.length<3;return r(e,li(t,4),n,o,dr)},Bn.reduceRight=function(e,t,n){var r=Wa(e)?Ft:Kt,o=arguments.length<3;return r(e,li(t,4),n,o,pr)},Bn.repeat=function(e,t,n){return t=(n?wi(e,t,n):t===o)?1:hu(t),Kr(yu(e),t)},Bn.replace=function(){var e=arguments,t=yu(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Bn.result=function(e,t,n){var r=-1,i=(t=wo(t,e)).length;for(i||(i=1,e=o);++rh)return[];var n=m,r=bn(e,m);t=li(t),e-=m;for(var o=Xt(r,t);++n=a)return e;var s=n-hn(r);if(s<1)return r;var l=u?ko(u,0,s).join(""):e.slice(0,s);if(i===o)return l+r;if(u&&(s+=l.length-s),iu(i)){if(e.slice(s).search(i)){var c,f=l;for(i.global||(i=Oe(i.source,yu(ve.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var d=c.index;l=l.slice(0,d===o?s:d)}}else if(e.indexOf(lo(i),s)!=s){var p=l.lastIndexOf(i);p>-1&&(l=l.slice(0,p))}return l+r},Bn.unescape=function(e){return(e=yu(e))&&$.test(e)?e.replace(Y,gn):e},Bn.uniqueId=function(e){var t=++Me;return yu(e)+t},Bn.upperCase=Ku,Bn.upperFirst=$u,Bn.each=ya,Bn.eachRight=ba,Bn.first=Zi,us(Bn,function(){var e={};return wr(Bn,(function(t,n){Le.call(Bn.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Bn.VERSION="4.17.21",At(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Bn[e].placeholder=Bn})),At(["drop","take"],(function(e,t){Wn.prototype[e]=function(n){n=n===o?1:Yt(hu(n),0);var r=this.__filtered__&&!t?new Wn(this):this.clone();return r.__filtered__?r.__takeCount__=bn(n,r.__takeCount__):r.__views__.push({size:bn(n,m),type:e+(r.__dir__<0?"Right":"")}),r},Wn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),At(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Wn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:li(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),At(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Wn.prototype[e]=function(){return this[n](1).value()[0]}})),At(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Wn.prototype[e]=function(){return this.__filtered__?new Wn(this):this[n](1)}})),Wn.prototype.compact=function(){return this.filter(rs)},Wn.prototype.find=function(e){return this.filter(e).head()},Wn.prototype.findLast=function(e){return this.reverse().find(e)},Wn.prototype.invokeMap=$r((function(e,t){return"function"==typeof e?new Wn(this):this.map((function(n){return Pr(n,e,t)}))})),Wn.prototype.reject=function(e){return this.filter(La(li(e)))},Wn.prototype.slice=function(e,t){e=hu(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Wn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=hu(t))<0?n.dropRight(-t):n.take(t-e)),n)},Wn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Wn.prototype.toArray=function(){return this.take(m)},wr(Wn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Bn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Bn.prototype[t]=function(){var t=this.__wrapped__,u=r?[1]:arguments,s=t instanceof Wn,l=u[0],c=s||Wa(t),f=function(e){var t=i.apply(Bn,Mt([e],u));return r&&d?t[0]:t};c&&n&&"function"==typeof l&&1!=l.length&&(s=c=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,v=s&&!p;if(!a&&c){t=v?t:new Wn(this);var m=e.apply(t,u);return m.__actions__.push({func:pa,args:[f],thisArg:o}),new Hn(m,d)}return h&&v?e.apply(this,u):(m=this.thru(f),h?r?m.value()[0]:m.value():m)})})),At(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Bn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Wa(o)?o:[],e)}return this[n]((function(n){return t.apply(Wa(n)?n:[],e)}))}})),wr(Wn.prototype,(function(e,t){var n=Bn[t];if(n){var r=n.name+"";Le.call(Nn,r)||(Nn[r]=[]),Nn[r].push({name:t,func:n})}})),Nn[Vo(o,2).name]=[{name:"wrapper",func:o}],Wn.prototype.clone=function(){var e=new Wn(this.__wrapped__);return e.__actions__=Po(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Po(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Po(this.__views__),e},Wn.prototype.reverse=function(){if(this.__filtered__){var e=new Wn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Wn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Wa(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Bn.prototype.plant=function(e){for(var t,n=this;n instanceof Un;){var r=zi(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Bn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Wn){var t=e;return this.__actions__.length&&(t=new Wn(this)),(t=t.reverse()).__actions__.push({func:pa,args:[ea],thisArg:o}),new Hn(t,this.__chain__)}return this.thru(ea)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return vo(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,Xe&&(Bn.prototype[Xe]=function(){return this}),Bn}();vt._=yn,(r=function(){return yn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},5781:function(e,t,n){"use strict";n.r(t);var r=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(s){u=!0,o=s}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:"none")},z=function(){return!("undefined"===typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator)},B=function(e){var t=z();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},V=function(e,t,n,r){return function(e){for(var t=1;t1)&&!window.MSStream},Ee=function(){return B("iPad")},_e=function(){return B("iPhone")},Oe=function(){return B("iPod")},Te=function(e){return F(e)};function Ae(e){var t=e||m,n=t.device,r=t.browser,o=t.os,i=t.engine,a=t.ua;return{isSmartTV:G(n),isConsole:Y(n),isWearable:q(n),isEmbedded:K(n),isMobileSafari:de(r)||Ee(),isChromium:se(r),isMobile:W(n)||Ee(),isMobileOnly:U(n),isTablet:H(n)||Ee(),isBrowser:Z(n),isDesktop:Z(n),isAndroid:Q(o),isWinPhone:ne(o),isIOS:re(o)||Ee(),isChrome:ae(r),isFirefox:ue(r),isSafari:fe(r),isOpera:pe(r),isIE:he(r),osVersion:oe(o),osName:ie(o),fullBrowserVersion:ge(r),browserVersion:ye(r),browserName:be(r),mobileVendor:$(n),mobileModel:X(n),engineName:we(i),engineVersion:xe(i),getUA:Te(a),isEdge:le(r)||Se(a),isYandex:ce(r),deviceType:J(n),isIOS13:Ce(),isIPad13:Ee(),isIPhone13:_e(),isIPod13:Oe(),isElectron:ke(),isEdgeChromium:Se(a),isLegacyEdge:le(r)&&!Se(a),isWindows:ee(o),isMacOs:te(o),isMIUI:ve(r),isSamsungBrowser:me(r)}}var Pe=G(c),Ne=Y(c),Re=q(c),Ie=K(c),je=de(s)||Ee(),Le=se(s),Me=W(c)||Ee(),De=U(c),Fe=H(c)||Ee(),ze=Z(c),Be=Z(c),Ve=Q(d),Ue=ne(d),He=re(d)||Ee(),We=ae(s),Ge=ue(s),Ze=fe(s),qe=pe(s),Ye=he(s),Ke=oe(d),$e=ie(d),Xe=ge(s),Je=ye(s),Qe=be(s),et=$(c),tt=X(c),nt=we(f),rt=xe(f),ot=Te(p),it=le(s)||Se(p),at=ce(s),ut=J(c),st=Ce(),lt=Ee(),ct=_e(),ft=Oe(),dt=ke(),pt=Se(p),ht=le(s)&&!Se(p),vt=ee(d),mt=te(d),gt=ve(s),yt=me(s);function bt(e){var t=e||window.navigator.userAgent;return v(t)}t.Q5=mt},4463:function(e,t,n){"use strict";var r=n(2791),o=n(5296);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n